ImageEn, unit imageenproc

TImageEnProc.GammaCorrect

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.


Example

// Apply a gamma correction over all channels (RGB)
ImageEnView1.Proc.GammaCorrect( 2, [iecRed, iecGreen, iecBlue] );