예제 #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 Dilation(se);

            backgroundWorker1.RunWorkerAsync(filter);
        }