using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using AForge; using AForge.Imaging; using AForge.Imaging.Filters; using AForge.Math; namespace winForm1 { public partial class Form1 : Form { Bitmap image; // Global Bitmap private bool _drawRect = false; private bool _drawCircle = false; public Form1() { InitializeComponent(); pictureBox1.Paint += new PaintEventHandler(this.pictur...
// create filter
답글삭제BrightnessCorrection filter = new BrightnessCorrection( -50 );
// apply the filter
filter.ApplyInPlace( image );