Ejemplo n.º 1
0
            public override Bitmap ProcessImage(Bitmap im, BackgroundWorker bw)
            {
                OpeningFilter op  = new OpeningFilter();
                Substraction  sub = new Substraction(op.ProcessImage(im, bw));

                return(sub.ProcessImage(im, bw));
            }
Ejemplo n.º 2
0
        private void openingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (pictureBox1.Image != null)
            {
                cashBack.Push(image);
            }
            Filters filter = new OpeningFilter(domainUpDown1);

            backgroundWorker1.RunWorkerAsync(filter);
        }
Ejemplo n.º 3
0
        private void размыканиеToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter = new OpeningFilter();

            backgroundWorker1.RunWorkerAsync(filter);
        }