Back to FabImage Library website
You are here: Start » Function Reference » Surface » Surface Basics » SurfaceBoxToImageCoordinates

SurfaceBoxToImageCoordinates
Header: | FIL.h |
---|---|
Namespace: | fil |
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 fil::SurfaceBoxToImageCoordinates ( const fil::Box3D& inSurfaceBox, const fil::SurfaceCoordinatesFormat& inSurfaceCoordinatesFormat, fil::Box& outImageBox, ftl::Optional<fil::Rectangle2D&> outImageRectangle = ftl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inSurfaceBox | const Box3D& | ||
![]() |
inSurfaceCoordinatesFormat | const SurfaceCoordinatesFormat& | Offsets and scales on X and Y axes of the surface associated with the image objects were found on | |
![]() |
outImageBox | Box& | ||
![]() |
outImageRectangle | Optional<Rectangle2D&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value ftl::NIL
to these parameters: outImageRectangle.
Read more about Optional Outputs.