You are here: Start » AVL.NET » AVL.ImageSharpness(AvlNet.Image, AvlNet.Box?, float)
AVL.ImageSharpness(AvlNet.Image, AvlNet.Box?, float)
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
- inImage
- Type: AvlNet.Image
Input image - inRoi
- Type: System.Nullable<AvlNet.Box>
Range of pixels to be processed, or null. - outSharpness
- Type: System.Single
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. |


