You are here: Start » AVL.NET » Function Reference » Image » Image Features » AVL.ImageSharpness
Returns a value dependent on sharpness of the image. The value is bigger for sharper images.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ImageSharpness ( AvlNet.Image inImage, AvlNet.Box? inRoi, out float outSharpness )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Input image. | ||
![]() | inRoi | AvlNet.Box? | Range of pixels to be processed. Default value: atl::NIL. | ||
![]() | outSharpness | float |
Examples
![]() |
![]() |
Two images having different sharpness level – 38.326 for the left one, 6.059 for the right one.
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | inRoi exceeds image dimensions in ImageSharpness. |




