Back to FabImage Library website
You are here: Start » Function Reference » Computer Vision » Camera Calibration » EstimateRealScale_Deprecated
EstimateRealScale_Deprecated
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
| Module: | Calibration |
Estimate the scale for points in the Z=0 plane in a perpendicular view.
Syntax
void fil::EstimateRealScale_Deprecated ( const fil::Matrix& inCameraMatrix, const fil::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. |


