You are here: Start » AVL.NET » AVL.PixelToRealDistance
Calculates a distance in real-world units.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PixelToRealDistance ( float inPixelDistance, float inResolution, float inBias, out float outRealDistance )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPixelDistance | float | Distance between two points in an image. | ||
![]() | inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per pixel, usually mm/px. Default value: 1.0f. |
![]() | inBias | float | 0.0f | Compensation for systematic error in measurements (in real-world units). Default value: 0.0f. | |
![]() | outRealDistance | float | Distance between two points in real-world units. |