ImageEn, unit imageenproc

TImageEnProc.HSVvar

TImageEnProc.HSVvar


Declaration

procedure HSVvar(oHue, oSat, oVal: Integer);


Description

Changes the Hue, Saturation and Value of the selected region.

Parameter Description
oHue Offset to add to the Hue channel, from -180 to +180.
oSat Offset to add to the Saturation channel, from -100 to +100.
oVal Offset to add to the Value channel, from -100 to +100.


Examples

ImageEnView1.Proc.HSVvar(0, -100, 0); // convert to gray
ImageEnView1.Proc.HSVvar(0, 0, 30); // increase luminosity/brightness