Class Zhang99CameraUniversalOmni
java.lang.Object
boofcv.alg.geo.calibration.cameras.Zhang99CameraUniversalOmni
- All Implemented Interfaces:
Zhang99Camera
Camera parameters for model
CameraUniversalOmni
.-
Field Summary
-
Constructor Summary
ConstructorDescriptionZhang99CameraUniversalOmni
(boolean assumeZeroSkew, boolean includeTangential, int numRadial) Constructor where mirror offset is assumed to be unknownZhang99CameraUniversalOmni
(boolean assumeZeroSkew, boolean includeTangential, int numRadial, double mirror) Constructor where mirror offset is assumed to be known -
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
-
Field Details
-
fixedMirror
public boolean fixedMirror
-
-
Constructor Details
-
Zhang99CameraUniversalOmni
public Zhang99CameraUniversalOmni(boolean assumeZeroSkew, boolean includeTangential, int numRadial, double mirror) Constructor where mirror offset is assumed to be known -
Zhang99CameraUniversalOmni
public Zhang99CameraUniversalOmni(boolean assumeZeroSkew, boolean includeTangential, int numRadial) Constructor where mirror offset is assumed to be unknown
-
-
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
-