Пример #1
0
        public override Bitmap processImage(Bitmap sourceImage, BackgroundWorker worker)
        {
            Dilation dil  = new Dilation(kernel);
            Erosion  eros = new Erosion(kernel);

            return(eros.processImage(dil.processImage(sourceImage, worker), worker));
        }
Пример #2
0
        private void СужениеToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter = new Erosion(se);

            backgroundWorker1.RunWorkerAsync(filter);
        }