public ShinyFilter(int rad)
 {
     this.rad = rad;
     filter1  = new MedianFilter(4);
     filter2  = new SobelXFilter();
     filter3  = new SobelYFilter();
 }
Beispiel #2
0
 private void поОсиYToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (pictureBox1.Enabled && !backgroundWorker1.IsBusy)
     {
         Filters filter = new SobelYFilter();
         backgroundWorker1.RunWorkerAsync(filter);
     }
 }
 public SobelFilter()
 {
     filter1 = new SobelXFilter();
     filter2 = new SobelYFilter();
 }