Пример #1
0
        public override Bitmap processImage(Bitmap sourceImage, BackgroundWorker bgWorker)
        {
            OpeningFilter of = new OpeningFilter(_kwidth, _kheight, _kmatrix);

            openedImage = of.processImage(sourceImage, bgWorker);

            return(base.processImage(sourceImage, bgWorker));
        }
Пример #2
0
        private void openingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpeningFilter of = new OpeningFilter(mmkWidth, mmkHeight, mmkMatrix);

            backgroundWorker1.RunWorkerAsync(of);
        }
Пример #3
0
        //морфологические

        private void открытиеToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            Filters filter = new OpeningFilter();

            backgroundWorker1.RunWorkerAsync(filter);
        }