You are here: Start » AVL.NET » AVL.ImageOrientation(AvlNet.Image, AvlNet.Region, float)
AVL.ImageOrientation(AvlNet.Image, AvlNet.Region, float)
Computes the orientation of an image using image moments. The result range is from 0.0 to 180.0.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ImageOrientation( AvlNet.Image inImage, AvlNet.Region inRoi, out float outOrientationAngle )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inRoi
- Type: AvlNet.Region
Range of pixels to be processed, or null. - outOrientationAngle
- Type: System.Single
Errors
| Error type | Description |
|---|---|
| DomainError | Empty region on input in ImageOrientation. |
| DomainError | Black image on input in ImageOrientation. |
