Prototype
ImgAdjustGamma (intImageHandle, floatValue)
Description
It adjust the gamma value in gray and color images. Gamma correction is a general non-linear transfer function applied to each pixel. This can be used to correct scanner sensor characteristic, pre-compensate for display behaviour or simply assist in a particular application by simulating a logarithmic response.
Parameters
intImageHandle: integer value corresponding to the image handle.
floatPercentage: float value that specifies gamma correction factor. It can range from 0.1 to 10.0
Returned value
None.
Example
//It changes gamma value
ImgAdjustGamma(_CurrentImage,1.8);
//It shows a message
ApplicationLog(_CurrentAgent,'Set Gamma to 1.8');