Beispiel #1
0
        public override Bitmap processImage(Bitmap sourceImage, BackgroundWorker worker)
        {
            dilation dilat;
            erosion  eros;

            dilat = new dilation();
            eros  = new erosion();
            return(dilat.processImage(eros.processImage(sourceImage, worker), worker));
        }
Beispiel #2
0
        private void erosionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter = new erosion();

            backgroundWorker1.RunWorkerAsync(filter);
        }