Back to Adaptive Vision Library website
You are here: Start » Function Reference » Computer Vision » World Coordinates » PixelToRealDistance_Deprecated
PixelToRealDistance_Deprecated
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Calibration |
Calculates a distance in real-world units.
Applications: Usually used at the end of the program to translate measurement results from pixels to millimeters.
Syntax
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 |