Back to Adaptive Vision Library website
You are here: Start » Function Reference » World Coordinates » PathToWorldCoordinates
PathToWorldCoordinates
Calculates a path in real-world coordinates corresponding to the specified path in image coordinates.
Syntax
C++
C#
void avl::PathToWorldCoordinates ( const avl::Path& inPath, const avl::Position3D& inWorldPlane, float inResolution, atl::Array<avl::Point3D>& outWorldPoints )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPath | const Path& | Input path | |||
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 path represented in the image coordinates to the inPath input. These coordinates will be translated to real-world units.
- Set inWorldPlane and inResolution inputs to values calculated with CalibrateWorldCoordinates.