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