ImgEvaluateContrast
Previous  Top  Next

Prototype

floatContrast:=ImgEvaluateContrast(intImageHandle)

Description

It evaluates image contrast.

Parameters

intImageHandle: integer value corresponding to the image handle.

Returned value

Float value rapresenting the image contrast. It ranges from 0.0 (uniform) to 255.0 (very conrasted)

Notes

None.

Example

// Find the image contrast
value:=ImgEvaluateContrast(_CurrentImage);

//It shows a message 
ApplicationLog(_CurrentAgent,'Image Contrast is: '+ FloatToStr(value));