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

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