Back to Adaptive Vision Library website

You are here: Start » Function Reference » Camera Calibration » EstimateRealScale_Deprecated

EstimateRealScale_Deprecated


Header:AVL.h
Namespace:avl

Estimate the scale for points in the Z=0 plane in a perpendicular view.

Syntax

C++
 
void avl::EstimateRealScale_Deprecated
(
	const avl::Matrix& inCameraMatrix,
	const avl::Position3D& inCameraPosition,
	float& outUnitsPerPixel
)

Parameters

Name Type Default Description
inCameraMatrix const Matrix& Camera matrix obtained from calibration.
inCameraPosition const Position3D& Camera position for which the scale is estimated.
outUnitsPerPixel float& Scale factor, or physical dimensions of 1 pixel in the world plane.

Errors

List of possible exceptions:

Error type Description
DomainError Invalid camera matrix (Fx=0) in EstimateRealScale.
DomainError Invalid camera matrix (must be 3x3) in EstimateRealScale.
DomainError Invalid camera position (z=0) in EstimateRealScale.