Back to Aurora Vision Library website
You are here: Start » Function Reference » Surface » Surface Basics » AlignRegionToSurfaceCoordinatesFormat
AlignRegionToSurfaceCoordinatesFormat
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DStandard |
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#
void avl::AlignRegionToSurfaceCoordinatesFormat ( const avl::Region& inRegion, const avl::SurfaceCoordinatesFormat& inInputSurfaceCoordinatesFormat, const avl::SurfaceCoordinatesFormat& inOutputSurfaceCoordinatesFormat, atl::Optional<int> inFrameWidth, atl::Optional<int> inFrameHeight, avl::Region& outAlignedRegion )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inRegion | const Region& | Input region | ||
inInputSurfaceCoordinatesFormat | const SurfaceCoordinatesFormat& | Offsets and scales on X and Y axes of the surface associated with the image the input region were defined on | ||
inOutputSurfaceCoordinatesFormat | const SurfaceCoordinatesFormat& | Offsets and scales on X and Y axes of the surface associated with the image the output region is defined on | ||
inFrameWidth | Optional<int> | NIL | Output region's frame width | |
inFrameHeight | Optional<int> | NIL | Output region's frame height | |
outAlignedRegion | Region& |