You are here: Start » AVL.NET » AVL.ImageOrientation
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
C++
C#
public static void ImageOrientation ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, out float outOrientationAngle )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Input image. | ||
![]() | inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]() | outOrientationAngle | float |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Black image on input in ImageOrientation. |
| DomainError | Empty region on input in ImageOrientation. |


