Back to FabImage Library website

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

ImageBoxToSurfaceCoordinates


Header: FIL.h
Namespace: fil
Module: Vision3DStandard

Finds the surface coordinates of image box.

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

Syntax

C++
C#
 
void fil::ImageBoxToSurfaceCoordinates
(
	const fil::Box& inImageBox,
	const fil::SurfaceCoordinatesFormat& inSurfaceCoordinatesFormat,
	fil::Box& outSurfaceBox,
	ftl::Optional<fil::Box3D&> outSurfaceBox3D = ftl::NIL
)

Parameters

Name Type Default Description
Input value inImageBox const Box&
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 outSurfaceBox Box&
Output value outSurfaceBox3D Optional<Box3D&> NIL

Optional Outputs

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

Read more about Optional Outputs.