Ejemplo n.º 1
0
 private void фильтрСобеляToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (pictureBox1.Enabled && !backgroundWorker1.IsBusy)
     {
         Filters filter = new SobelFilter();
         backgroundWorker1.RunWorkerAsync(filter);
     }
 }
Ejemplo n.º 2
0
 public ShinyFilter(int rad)
 {
     this.rad = rad;
     filter1  = new MedianFilter(2);
     filter2  = new SobelFilter();
 }
Ejemplo n.º 3
0
        private void фильтрСобеляToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter = new SobelFilter();

            backgroundWorker1.RunWorkerAsync(filter);
        }