The filter performs gamma correction of specified image in RGB color space. Each pixels' value is converted using the Vout=Ving equation, where g is
The filter accepts 8 bpp grayscale and 24 bpp color images for processing.
Sample usage:
// create filter GammaCorrection filter = new GammaCorrection( 0.5 ); // apply the filter filter.ApplyInPlace( image );
Initial image:
Result image: