AlignRegionToSurfaceCoordinatesFormat
Returns region covering the same area for the surface with another coordinates format.
Applications:Transformation of regions defined on the image associated with the surface to image associated with another surface.
Syntax
C++
C#
Python
def AlignRegionToSurfaceCoordinatesFormat( inRegion: Region, inInputSurfaceCoordinatesFormat: SurfaceCoordinatesFormat, inOutputSurfaceCoordinatesFormat: SurfaceCoordinatesFormat, outAlignedRegion: Region, /, *, inFrameWidth: int | None = None, inFrameHeight: int | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRegion | Region | Input region | |
![]() |
inInputSurfaceCoordinatesFormat | SurfaceCoordinatesFormat | Offsets and scales on X and Y axes of the surface associated with the image the input region were defined on | |
![]() |
inOutputSurfaceCoordinatesFormat | SurfaceCoordinatesFormat | Offsets and scales on X and Y axes of the surface associated with the image the output region is defined on | |
![]() |
inFrameWidth | int | None | None | Output region's frame width |
![]() |
inFrameHeight | int | None | None | Output region's frame height |
![]() |
outAlignedRegion | Region |


