private void button_Sharpen_Click(object sender, EventArgs e) { Bitmap sharpenBmp; sharpenBmp = ProcessFunctions.SharpenFilter2(bitmap, trackBar_SV.Value); this.pictureBox_WorkPlace.Image = ToolFunctions.GetThumbnail((Bitmap)sharpenBmp.Clone(), pictureBox_WorkPlace.Height, pictureBox_WorkPlace.Width) as Image; }
private void button9_Click(object sender, EventArgs e) { Bitmap SharpenBmp; ProcessFunctions.SharpenFilter1(bitmap, out SharpenBmp); pictureBox2.Image = ToolFunctions.GetThumbnail((Bitmap)SharpenBmp.Clone(), pictureBox2.Height, pictureBox2.Width) as Image; Bitmap SharpenBmp2 = ProcessFunctions.SharpenFilter2(bitmap, 10F); pictureBox1.Image = ToolFunctions.GetThumbnail((Bitmap)SharpenBmp2.Clone(), pictureBox1.Height, pictureBox1.Width) as Image; pictureBox3.Image = ToolFunctions.GetThumbnail((Bitmap)bitmap.Clone(), pictureBox3.Height, pictureBox3.Width) as Image; }