示例#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);
     }
 }
 public SobelFilter()
 {
     filter1 = new SobelXFilter();
     filter2 = new SobelYFilter();
 }