Example #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));
        }
Example #2
0
        private void dilationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter = new dilation();

            backgroundWorker1.RunWorkerAsync(filter);
        }