Back to FabImage Library website

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

ImageLineToSurfaceCoordinates


Header: FIL.h
Namespace: fil
Module: Vision3DStandard

Finds the surface coordinates of image line.

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

Syntax

C++
C#
 
void fil::ImageLineToSurfaceCoordinates
(
	const fil::Line2D& inImageLine,
	const fil::SurfaceCoordinatesFormat& inSurfaceCoordinatesFormat,
	fil::Line2D& outSurfaceLine,
	ftl::Optional<fil::Line3D&> outSurfaceLine3D = ftl::NIL
)

Parameters

Name Type Default Description
Input value inImageLine const Line2D&
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 outSurfaceLine Line2D&
Output value outSurfaceLine3D Optional<Line3D&> NIL

Optional Outputs

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

Read more about Optional Outputs.