You are here: Start » AVL.NET » Function Reference » Image » Image Features » AVL.ImageOrientation

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
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
outOrientationAnglefloat

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.

Function Overrides

See also