ImgEvaluateContrast

Top  Previous  Next

Prototype

 

floatContrast:=ImgEvaluateContrast(intImageHandle)

 

Description

 

Evaluates image contrast.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

Returned value

 

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

 

Notes

 

None.

 

Example

 

// Find the image contrast

value:=ImgEvaluateContrast(_CurrentImage);

 

// Log a message 

ApplicationLog('Image Contrast is: '+ FloatToStr(value));