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 | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region | None | None | Range of pixels to be processed |
![]() |
outOrientationAngle | float |


