ImgEvaluateBrightness

Top  Previous  Next

Prototype

 

floatBrightness:=ImgEvaluateBrightness(intImageHandle)

 

Description

 

Evaluates image brightness.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

Returned value

 

Float value representing the image brightness. It ranges from 0.0 (all black) to 100.0 (all white)

 

Notes

 

None.

 

Example

 

// Find the image brightness

value:=ImgEvaluateBrightness(_CurrentImage);

 

// Log a message 

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