Package boofcv.struct.calib
Class MultiCameraCalibParams
java.lang.Object
boofcv.struct.calib.MultiCameraCalibParams
- All Implemented Interfaces:
Serializable
Intrinsic and extrinsic calibration for a multi-camera calibration system. Extrinsics for each camera is
in reference to a global reference frame that is typically camera 0, but not always. Each camera can
have its own different camera model, but typically they will all be the same.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionExtrinsics for each camera.final List<CameraModel>
Intrinsic camera parameters and model for each camera.static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncomputeExtrinsics
(int cam0, int cam1, @Nullable Se3_F64 cam0_to_cam1) Returns the transform from cam0 to cam1 reference framedouble
getBaseline
(int cam0, int cam1) Returns the distance between two camerasgetCameraToSensor
(int index) <Cam extends CameraModel>
CamgetIntrinsics
(int index) boolean
Compares 'this' to the passed in parameters and returns true if they have identical values.void
reset()
toString()
Print summary on a single lineFormatted to be easier to read
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
intrinsics
Intrinsic camera parameters and model for each camera. -
camerasToSensor
Extrinsics for each camera. Camera to the common sensor frame. Typically the common sensor frame is defined as camera[0], but not always.
-
-
Constructor Details
-
MultiCameraCalibParams
public MultiCameraCalibParams()
-
-
Method Details
-
reset
public void reset() -
getIntrinsics
-
getCameraToSensor
-
getBaseline
public double getBaseline(int cam0, int cam1) Returns the distance between two cameras -
computeExtrinsics
Returns the transform from cam0 to cam1 reference frame- Parameters:
cam0
- Index of camera 0cam1
- Index of camera 1cam0_to_cam1
- (Output) Storage for transform from cam[0] to cam[1]. Can be null.- Returns:
- The transform.
-
isIdentical_WARNING
Compares 'this' to the passed in parameters and returns true if they have identical values. This function is only partially implemented because all the camera models don't implement isIdentical() yet. -
toStringFormat
Formatted to be easier to read -
toString
Print summary on a single line
-