You are here: Start » AVL.NET » AVL.ImageSharpness Method

AVL.ImageSharpness Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ImageSharpness(
	AvlNet.Image inImage,
	AvlNet.Box? inRoi,
	out float outSharpness
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.Box?Range of pixels to be processed. Default value: atl::NIL, or null.
outSharpnessfloat

Examples

Two images having different sharpness level – 38.326 for the left one, 6.059 for the right one.

Errors

Error type Description
DomainError inRoi exceeds image dimensions in ImageSharpness.

See also