Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image Features » ImageSharpness

ImageSharpness


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

Syntax

C++
C#
 
void avl::ImageSharpness
(
	const avl::Image& inImage,
	atl::Optional<const avl::Box&> inRoi,
	float& outSharpness
)

Parameters

Name Type Default Description
inImage const Image& Input image
inRoi Optional<const Box&> NIL Range of pixels to be processed
outSharpness float&

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.