Back to Aurora Vision Library website

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

ImageSegmentToSurfaceCoordinates


Header: AVL.h
Namespace: avl
Module: Vision3DStandard

Finds the surface coordinates of image segment.

Applications: Transformation of results found on the image associated with the surface to the surface coordinates.

Syntax

C++
C#
 
void avl::ImageSegmentToSurfaceCoordinates
(
	const avl::Segment2D& inImageSegment,
	const avl::SurfaceCoordinatesFormat& inSurfaceCoordinatesFormat,
	avl::Segment2D& outSurfaceSegment,
	atl::Optional<avl::Segment3D&> outSurfaceSegment3D = atl::NIL
)

Parameters

Name Type Default Description
Input value inImageSegment const Segment2D&
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 outSurfaceSegment Segment2D&
Output value outSurfaceSegment3D Optional<Segment3D&> NIL

Optional Outputs

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

Read more about Optional Outputs.