Back to Aurora Vision Library website

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

SurfaceBoxToImageCoordinates


Header: AVL.h
Namespace: avl
Module: Vision3DStandard

Finds the associated image coordinates of surface box.

Applications: Transformation of objects defined in the surface coordinate system to the associated image coordinate system.

Syntax

C++
C#
 
void avl::SurfaceBoxToImageCoordinates
(
	const avl::Box3D& inSurfaceBox,
	const avl::SurfaceCoordinatesFormat& inSurfaceCoordinatesFormat,
	avl::Box& outImageBox,
	atl::Optional<avl::Rectangle2D&> outImageRectangle = atl::NIL
)

Parameters

Name Type Default Description
Input value inSurfaceBox const Box3D&
Input value inSurfaceCoordinatesFormat const SurfaceCoordinatesFormat& Offsets and scales on X and Y axes of the surface associated with the image objects were found on
Output value outImageBox Box&
Output value outImageRectangle Optional<Rectangle2D&> NIL

Optional Outputs

The computation of following outputs can be switched off by passing value atl::NIL to these parameters: outImageRectangle.

Read more about Optional Outputs.