Class Zhang99CameraKannalaBrandt
java.lang.Object
boofcv.alg.geo.calibration.cameras.Zhang99CameraKannalaBrandt
- All Implemented Interfaces:
Zhang99Camera
Implementation of Kannala-Brandt for
Zhang99Camera
.-
Constructor Summary
ConstructorDescriptionZhang99CameraKannalaBrandt
(boolean assumeZeroSkew, int numSymmetric, int numAsymmetric) -
Method Summary
Modifier and TypeMethodDescriptiongetCameraModel
(BundleAdjustmentCamera bundleCam) initializeCamera
(DMatrixRMaj K, List<DMatrixRMaj> homographies, List<CalibrationObservation> observations) Provide an initial estimate for the camera parameters given 1) estimated pinhole camera parameters, set of found homographies, and observed calibration targets.void
setLayouts
(List<List<Point2D_F64>> layouts) Specifies layouts of calibration targets
-
Constructor Details
-
Zhang99CameraKannalaBrandt
public Zhang99CameraKannalaBrandt(boolean assumeZeroSkew, int numSymmetric, int numAsymmetric)
-
-
Method Details
-
setLayouts
Description copied from interface:Zhang99Camera
Specifies layouts of calibration targets- Specified by:
setLayouts
in interfaceZhang99Camera
-
initializeCamera
public BundleAdjustmentCamera initializeCamera(DMatrixRMaj K, List<DMatrixRMaj> homographies, List<CalibrationObservation> observations) Description copied from interface:Zhang99Camera
Provide an initial estimate for the camera parameters given 1) estimated pinhole camera parameters, set of found homographies, and observed calibration targets.- Specified by:
initializeCamera
in interfaceZhang99Camera
- Parameters:
K
- (Input) Estimated pinhole camera parametershomographies
- (Input) Homographiesobservations
- (Input) Target observations- Returns:
- Initial estimate of camera model
-
getCameraModel
- Specified by:
getCameraModel
in interfaceZhang99Camera
-