Back to Aurora Vision Library website

You are here: Start » Function Reference » Surface » Surface Basics » AlignRegionToSurfaceFormat

AlignRegionToSurfaceFormat


Header: AVL.h
Namespace: avl
Module: Vision3DStandard

Returns region covering the same area for the surface with another format.

Applications: Transformation of regions defined on the image associated with the surface to image associated with another surface.

Syntax

C++
C#
 
void avl::AlignRegionToSurfaceFormat
(
	const avl::Region& inRegion,
	const avl::SurfaceCoordinatesFormat& inInputSurfaceCoordinatesFormat,
	const avl::SurfaceFormat& inOutputSurfaceFormat,
	avl::Region& outAlignedRegion
)

Parameters

Name Type Default Description
Input value inRegion const Region& Input region
Input value inInputSurfaceCoordinatesFormat const SurfaceCoordinatesFormat& Offsets and scales on X and Y axes of the surface associated with the image the input region were defined on
Input value inOutputSurfaceFormat const SurfaceFormat& Format of the surface associated with the image the output region is defined on
Output value outAlignedRegion Region&