ImgEvaluateFocus

Top  Previous  Next

Prototype

 

floatScore:=ImgEvaluateFocus(intImageHandle)

 

Description

 

Evaluates if an image is well focused.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

Returned value

 

Float value representing the level of image focus.

 

Notes

 

None.

 

Example

 

// Find the focus level

FocusScore:=ImgEvaluateFocus(_CurrentImage);

 

// Log a message 

ApplicationLog('Image focus is '+FloatToStr(FocusScore))