Back to FabImage Library website
You are here: Start » Function Reference » World Coordinates » PointToWorldCoordinates_Deprecated

PointToWorldCoordinates_Deprecated
Header: | FIL.h |
---|---|
Namespace: | fil |
Calculates real-world coordinates corresponding to the specified image coordinates.
Syntax
C++
void fil::PointToWorldCoordinates_Deprecated ( const fil::Point2D& inImagePoint, const fil::Position3D& inWorldPlane, float inResolution, fil::Point3D& outWorldPoint )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inImagePoint | const Point2D& | |||
![]() |
inWorldPlane | const Position3D& | Calibrated world plane | ||
![]() |
inResolution | float | 0.0 - ![]() |
1.0f | Number of real-world units per pixel, usually mm/px |
![]() |
outWorldPoint | Point3D& |
Hints
- Pass a point represented in the image coordinates to the inImagePoint input. These coordinates will be translated to real-world units.
- Set inWorldPlane and inResolution inputs to values calculated with CalibrateWorldCoordinates_Deprecated.