public override Bitmap ProcessImage(Bitmap im, BackgroundWorker bw) { ClosingFilter close = new ClosingFilter(); Substraction sub = new Substraction(close.ProcessImage(im, bw)); return(sub.ProcessImage(im, bw)); }
private void closingToolStripMenuItem_Click(object sender, EventArgs e) { if (pictureBox1.Image != null) { cashBack.Push(image); } Filters filter = new ClosingFilter(domainUpDown1); backgroundWorker1.RunWorkerAsync(filter); }
private void замыканиеToolStripMenuItem_Click(object sender, EventArgs e) { Filters filter = new ClosingFilter(); backgroundWorker1.RunWorkerAsync(filter); }