コード例 #1
0
 private void button27_Click(object sender, EventArgs e)
 {
     IFilter imgeFilter = new ConservativeSmoothing();
     img = imgeFilter.Apply(img);
     panelImage.BackgroundImage = img;
     panelMenu.Visible = false;
 }
コード例 #2
0
 public static Bitmap ApplyImageSmoothing(Bitmap pBitmap)
 {
     var filter = new ConservativeSmoothing();
     return filter.Apply(pBitmap);
 }