private void medianToolStripMenuItem_Click(object sender, EventArgs e) { temp_image = new Bitmap(pictureBox1.Image); Filters filter = new MedianFilter(); backgroundWorker1.RunWorkerAsync(filter); }
private void медианныйToolStripMenuItem_Click(object sender, EventArgs e) { Bitmap newImage = (image); MedianFilter a = new MedianFilter(newImage); pictureBox1.Image = newImage; image = newImage; pictureBox1.Refresh(); }
private void медианныйФильтрToolStripMenuItem_Click(object sender, EventArgs e) { MedianFilter filter = new MedianFilter(); backgroundWorker1.RunWorkerAsync(filter); }