You are here:
Start »
AVL.NET »
AVL.EstimateRealScale Method
AVL.EstimateRealScale Method
Estimate the scale for points in the Z=0 plane in a perpendicular view.
Namespace: | AvlNet |
Assembly: | AVL.NET.dll |
Syntax
public static void EstimateRealScale(
AvlNet.Matrix inCameraMatrix,
AvlNet.Position3D inCameraPosition,
out float outUnitsPerPixel
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
| inCameraMatrix | AvlNet.Matrix | | | Camera matrix obtained from calibration. |
| inCameraPosition | AvlNet.Position3D | | | Camera position for which the scale is estimated. |
| outUnitsPerPixel | float | | | Scale factor, or physical dimensions of 1 pixel in the world plane. |
Errors
Error type |
Description |
DomainError |
Invalid camera position (z=0) in EstimateRealScale. |
DomainError |
Invalid camera matrix (must be 3x3) in EstimateRealScale. |
DomainError |
Invalid camera matrix (Fx=0) in EstimateRealScale. |
See also