Back to Adaptive Vision Library website
You are here: Start » Function Reference » World Coordinates » PixelToRealDistance_Deprecated
PixelToRealDistance_Deprecated
Header: | AVL.h |
---|---|
Namespace: | avl |
Calculates a distance in real-world units.
Syntax
C++
void avl::PixelToRealDistance_Deprecated ( const float inPixelDistance, const float inResolution, const float inBias, float& outRealDistance )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPixelDistance | const float | Distance between two points in an image | |||
inResolution | const float | 0.0 - | 1.0f | Number of real-world units per pixel, usually mm/px | |
inBias | const float | 0.0f | Compensation for systematic error in measurements (in real-world units) | ||
outRealDistance | float& | Distance between two points in real-world units |