Start » Filter Reference » Image » Image Features » ImageSharpness

ImageSharpness


Module: FoundationBasic

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.
Name Type Description
Input value
inImage Image Input image
Input value
inRoi Box* Range of pixels to be processed
Output value
outSharpness Real

Examples

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

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError inRoi exceeds image dimensions in ImageSharpness.

Complexity Level

This filter is available on Advanced Complexity Level.