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
Errors
Error type | Description |
---|---|
DomainError | inRoi exceeds image dimensions in ImageSharpness. |