You are here: Start » AVL.NET » AVL.PixelToRealDistance

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
inPixelDistancefloatDistance between two points in an image.
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per pixel, usually mm/px. Default value: 1.0f.
inBiasfloat0.0fCompensation for systematic error in measurements (in real-world units). Default value: 0.0f.
outRealDistancefloatDistance between two points in real-world units.

See also