Module imagingbook.calibrate.lib
Package imagingbook.calibration.zhang
Class CameraIntrinsicsEstimator
java.lang.Object
imagingbook.calibration.zhang.CameraIntrinsicsEstimator
This class defines methods for estimating the intrinsic camera parameters from multiple homographies. Alternative
versions are provided (only one is actually used though).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RealMatrix
getCameraIntrinsics
(RealMatrix[] homographies) Final version by WB (this version is used by default).protected RealMatrix
getCameraIntrinsicsZhang1
(RealMatrix[] homographies) Version 1 (Zhang's original closed form solution).protected RealMatrix
getCameraIntrinsicsZhang2
(RealMatrix[] homographies) Version 2 (Zhang's corrected closed form solution).protected RealMatrix
getCameraIntrinsicsZhang3
(RealMatrix[] homographies) Version 3 (WB's closed form solution).
-
Constructor Details
-
CameraIntrinsicsEstimator
public CameraIntrinsicsEstimator()
-
-
Method Details
-
getCameraIntrinsicsZhang1
Version 1 (Zhang's original closed form solution). Estimates the the intrinsic camera parameters from multiple homographies.- Parameters:
homographies
- a set of homography matrices- Returns:
- the estimated 3 x 3 intrinsic transformation matrix
-
getCameraIntrinsicsZhang2
Version 2 (Zhang's corrected closed form solution). Estimates the the intrinsic camera parameters from multiple homographies.- Parameters:
homographies
- a set of homography matrices- Returns:
- the estimated 3 x 3 intrinsic transformation matrix
-
getCameraIntrinsicsZhang3
Version 3 (WB's closed form solution). Estimates the the intrinsic camera parameters from multiple homographies.- Parameters:
homographies
- a set of homography matrices- Returns:
- the estimated 3 x 3 intrinsic transformation matrix
-
getCameraIntrinsics
Final version by WB (this version is used by default). Estimates the intrinsic camera parameters from multiple homographies using a Cholesky decomposition.- Parameters:
homographies
- a set of homography matrices- Returns:
- the estimated 3 x 3 intrinsic transformation matrix
-