Back to FabImage Library website
You are here: Start » Function Reference » Computer Vision » World Coordinates » SegmentToWorldCoordinates_Deprecated

SegmentToWorldCoordinates_Deprecated
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Calibration |
Calculates a segment in real-world coordinates corresponding to the specified segment in image coordinates.
Syntax
void fil::SegmentToWorldCoordinates_Deprecated ( const fil::Segment2D& inSegment, const fil::Position3D& inWorldPlane, float inResolution, ftl::Array<fil::Point3D>& outWorldPoints )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inSegment | const Segment2D& | |||
![]() |
inWorldPlane | const Position3D& | Calibrated world plane | ||
![]() |
inResolution | float | 0.0 - ![]() |
1.0f | Number of real-world units per pixel, usually mm/px |
![]() |
outWorldPoints | Array<Point3D>& |
Hints
- Pass a segment represented in the image coordinates to the inSegment input. These coordinates will be translated to real-world units.
- Set inWorldPlane and inResolution inputs to values calculated with CalibrateWorldCoordinates_Deprecated.