ImageEn, unit imageenproc |
|
TImageEnProc.GammaCorrect
Declaration
procedure GammaCorrect(Gamma: Double; Channel: TIEChannels);
Description
Performs a gamma correction.
Gamma is the gamma correction value. A value of 1.0 causes no gamma correction processing.
Channel is the channel to apply the gamma.
Note: This function is also available to the user in the
Image Processing dialogExample
// Apply a gamma correction over all channels (RGB)
ImageEnView1.Proc.GammaCorrect( 2, [iecRed, iecGreen, iecBlue] );