You are here: Start » FIL.NET » Function Reference » Image » Image Features » FIL.ImageOrientation
Computes the orientation of an image using image moments. The result range is from 0.0 to 180.0.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ImageOrientation ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, out float outOrientationAngle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Range of pixels to be processed. Default value: ftl::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. |
DomainError | Region exceeds an input image in ImageOrientation. |