ImageOrientation


Computes the orientation of an image using image moments. The result range is from 0.0 to 180.0.

Syntax

C++
Python
 
def ImageOrientation(
	inImage: Image,
	/,
	*,
	inRoi: Region | None = None
)
-> outOrientationAngle: float

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inRoi Region | None None Range of pixels to be processed
Output value outOrientationAngle float