ImageSharpness


Returns a value dependent on sharpness of the image. The value is bigger for sharper images.

Applications:Designed for manual or automatic camera focus adjustment.

Syntax

C++
C#
Python
 
def ImageSharpness(
	inImage: Image,
	/,
	*,
	inRoi: Box | None = None
)
-> outSharpness: float

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inRoi Box | None None Range of pixels to be processed
Output value outSharpness float