[140:7] extends: CameraPinhole
CameraPinholeBrown wraps boofcv.struct.calib.CameraPinholeBrown.
CameraPinholeBrown (NumRadial = 2)
Creates or wraps a Brown pinhole camera.
NumRadial is number of radial coefficients or an existing camera object.fsetRadial (R0, R1 = 0.0)
Sets two radial coefficients.
R0 is the first coefficient.R1 is the second coefficient.This camera.fsetTangential (T1, T2)
Sets tangential coefficients.
T1 is tangential x.T2 is tangential y.This camera.isDistorted ()
Gets whether distortion is non-zero.
True if distorted.getRadial ()
Gets radial coefficients.
A Java double array.[70:7] extends: object
CameraPinhole wraps boofcv.struct.calib.CameraPinhole.
CameraPinhole (Fx = 0.0, Fy = 0.0, Skew = 0.0, Cx = 0.0, Cy = 0.0, int Width = 0, int Height = 0)
Creates or wraps a pinhole camera.
Fx is focal x or an existing camera object.Fy is focal y.Skew is camera skew.Cx is center x.Cy is center y.Width is image width.Height is image height.get (string Name)
Gets a public field.
Name is fx, fy, skew, cx, cy, width, or height.The field value.set (string Name, Value)
Sets a public field.
Name is fx, fy, skew, cx, cy, width, or height.Value is the new value.fsetK (Fx, Fy, Skew, Cx, Cy)
Sets calibration matrix fields.
Fx is focal x.Fy is focal y.Skew is skew.Cx is center x.Cy is center y.This camera.fsetShape (int Width, int Height)
Sets image shape.
Width is image width.Height is image height.This camera.isInside (X, Y)
Checks whether a pixel is inside the image.
X is x.Y is y.True if inside.createLike ()
Creates a like camera model.
A Java camera model object.[515:7] extends: object
Zhang99Camera wraps boofcv.alg.geo.calibration.cameras.Zhang99Camera.
Zhang99Camera (object Obj)
Wraps a Zhang99 camera model generator.
Obj is an existing Zhang99Camera Java object.setLayouts (object Layouts)
Sets calibration target layouts.
Layouts is a Java list of point layouts.initializeCamera (object K, object Homographies, object Observations)
Initializes a bundle-adjustment camera.
K is intrinsic matrix.Homographies is a Java list of homographies.Observations is a Java list of CalibrationObservation objects.A BundleAdjustmentCamera Java object.getCameraModel (object Camera)
Converts bundle-adjustment camera parameters to a camera model.
Camera is a BundleAdjustmentCamera Java object.A CameraModel Java object.[559:7] extends: Zhang99Camera
Zhang99CameraUniversalOmni wraps boofcv.alg.geo.calibration.cameras.Zhang99CameraUniversalOmni.
Zhang99CameraUniversalOmni (bool AssumeZeroSkew = true, bool IncludeTangential = true, int NumRadial = 2, Mirror = null)
Creates a universal omni Zhang99 camera generator.
AssumeZeroSkew true fixes skew to zero.IncludeTangential true includes tangential terms.NumRadial is radial coefficient count.Mirror is optional fixed mirror value; null estimates mirror.[487:7] extends: object
CalibrationQuality wraps boofcv.abst.geo.calibration.CalibrationQuality.
CalibrationQuality (Obj = null)
Creates or wraps calibration quality metrics.
Obj is an existing CalibrationQuality object or null.get (string Name)
Gets a public field.
Name is borderFill, innerFill, or geometric.The field value.setDouble (string Name, double Value)
Sets a public metric.
Name is borderFill, innerFill, or geometric.Value is the new value.reset ()
Resets all metrics.
[316:7] extends: object
MultiCameraCalibParams wraps boofcv.struct.calib.MultiCameraCalibParams.
MultiCameraCalibParams (Obj = null)
Creates or wraps multi-camera calibration parameters.
Obj is an existing params object or null.reset ()
Resets this parameter set.
getIntrinsics (int Index)
Gets intrinsics for a camera.
Index is the camera index.The camera model Java object.getCameraToSensor (int Index)
Gets camera-to-sensor transform.
Index is the camera index.A Se3_F64 Java object.getBaseline (int CameraA, int CameraB)
Gets baseline between two cameras.
CameraA is the first camera.CameraB is the second camera.The baseline distance.getIntrinsicsList ()
Gets the intrinsics list.
A Java list of camera models.getCamerasToSensor ()
Gets the camera-to-sensor list.
A Java list of transforms.[271:7] extends: object
StereoParameters wraps boofcv.struct.calib.StereoParameters.
StereoParameters (Obj = null)
Creates or wraps stereo parameters.
get (string Name)
Gets a public field.
Name is left, right, or right_to_left.The field value.getBaseline ()
Gets the baseline.
The stereo baseline.getLeft ()
Gets left camera parameters.
A CameraPinholeBrown Java object.setLeft (object Left)
Sets left camera parameters.
Left is a CameraPinholeBrown wrapper.getRight ()
Gets right camera parameters.
A CameraPinholeBrown Java object.setRight (object Right)
Sets right camera parameters.
Right is a CameraPinholeBrown wrapper.[665:7] extends: object
CalibrateMonoPlanar wraps boofcv.abst.geo.calibration.CalibrateMonoPlanar.
CalibrateMonoPlanar ()
Creates a mono planar calibrator.
initialize (int Width, int Height, object Layouts)
Initializes calibration.
Width is image width.Height is image height.Layouts is a Java list of calibration target layouts.configurePinhole (bool AssumeZeroSkew, int NumRadial, bool IncludeTangential)
Configures a pinhole model.
AssumeZeroSkew true assumes zero skew.NumRadial is the number of radial coefficients.IncludeTangential true includes tangential coefficients.configureUniversalOmni (bool AssumeZeroSkew, int NumRadial, bool IncludeTangential)
Configures a universal omni model.
AssumeZeroSkew true assumes zero skew.NumRadial is radial count.IncludeTangential true includes tangential terms.configureKannalaBrandt (bool AssumeZeroSkew, int NumSymmetric, int NumAsymmetric)
Configures a Kannala-Brandt model.
AssumeZeroSkew true assumes zero skew.NumSymmetric is symmetric coefficient count.NumAsymmetric is asymmetric coefficient count.addImage (object Observation)
Adds one calibration observation.
Observation is a CalibrationObservation Java object.removeLatestImage ()
Removes the latest image.
process ()
Runs calibration.
The found camera model Java object.getIntrinsic ()
Gets intrinsic calibration.
The intrinsic camera model Java object.getObservations ()
Gets calibration observations.
A Java list of observations.getErrors ()
Gets calibration errors.
A Java list of image results.[546:7] extends: Zhang99Camera
Zhang99CameraBrown wraps boofcv.alg.geo.calibration.cameras.Zhang99CameraBrown.
Zhang99CameraBrown (bool AssumeZeroSkew = true, bool IncludeTangential = true, int NumRadial = 2)
Creates a Brown pinhole Zhang99 camera generator.
AssumeZeroSkew true fixes skew to zero.IncludeTangential true includes tangential terms.NumRadial is radial coefficient count.[361:7] extends: object
CalibrationObservation wraps boofcv.alg.geo.calibration.CalibrationObservation.
CalibrationObservation (Obj = null)
Creates or wraps calibration observations.
Obj is an existing observation object or null.get (string Name)
Gets a public field.
Name is target or points.The field value.setTarget (int Target)
Sets the target id.
Target is the target id.setTo (object Observation)
Copies another observation into this object.
Observation is a CalibrationObservation wrapper or Java object.This wrapper.getPoint (int Index)
Gets one point observation.
Index is the observation index.A PointIndex2D_F64 Java object.addPoint (int Index, object Point)
Adds an observed point.
Index is the calibration point index.Point is a Point2D_F64 wrapper or Java object.add (int Index, double X, double Y)
Adds an observed point from coordinates.
Index is the calibration point index.X is x.Y is y.reset ()
Clears all observations.
sort ()
Sorts observations by point index.
size ()
Gets observation count.
The number of observed points.copy ()
Copies this observation.
A CalibrationObservation wrapper.getTarget ()
Gets target id.
The target id.getPoints ()
Gets observed points.
A Java list of PointIndex2D_F64 objects.[733:7] extends: object
CalibrateStereoPlanar wraps boofcv.abst.geo.calibration.CalibrateStereoPlanar.
CalibrateStereoPlanar (object Layouts)
Creates a stereo planar calibrator.
Layouts is a Java list of calibration target layouts.initialize (object LeftShape, object RightShape)
Initializes calibration.
LeftShape is the left ImageDimension.RightShape is the right ImageDimension.configure (bool AssumeZeroSkew, int NumRadial, bool IncludeTangential)
Configures a Brown pinhole stereo model.
AssumeZeroSkew true assumes zero skew.NumRadial is radial count.IncludeTangential true includes tangential terms.addPair (int TargetIndex, object Left, object Right)
Adds a stereo observation pair.
TargetIndex is target index.Left is left observations.Right is right observations.process ()
Runs calibration.
StereoParameters Java object.getCalibLeft ()
Gets the left mono calibrator.
CalibrateMonoPlanar Java object.getCalibRight ()
Gets the right mono calibrator.
CalibrateMonoPlanar Java object.[437:7] extends: object
ImageResults wraps boofcv.abst.geo.calibration.ImageResults.
ImageResults (int NumPoints = 0)
Creates per-image calibration errors.
NumPoints is point count.wrap (object Obj)
Wraps existing per-image calibration errors.
Obj is an ImageResults Java object or wrapper.An ImageResults wrapper.get (string Name)
Gets a public field.
Name is meanError, maxError, biasX, biasY, pointError, or residuals.The field value.setDouble (string Name, double Value)
Sets a floating-point field.
Name is meanError, maxError, biasX, or biasY.Value is the new value.getMeanError ()
Gets mean error.
Mean reprojection error.getMaxError ()
Gets max error.
Maximum reprojection error.getBiasX ()
Gets x bias.
X residual bias.getBiasY ()
Gets y bias.
Y residual bias.[6:7] extends: object
ImageDimension wraps boofcv.struct.image.ImageDimension.
ImageDimension (Width = null, Height = null)
Creates or wraps an image dimension.
Width is image width, an existing ImageDimension object, or null.Height is image height.setTo (object Dimension)
Copies another dimension into this object.
Dimension is an ImageDimension wrapper or Java object.This wrapper.setShape (int Width, int Height)
Sets width and height.
Width is image width.Height is image height.This wrapper.isIdentical (object Dimension)
Checks exact equality with another dimension.
Dimension is an ImageDimension wrapper or Java object.True if identical.isIdenticalShape (int Width, int Height)
Checks exact equality with a width and height.
Width is image width.Height is image height.True if identical.getMaxLength ()
Gets maximum side length.
The maximum of width and height.getWidth ()
Gets width.
The width.getHeight ()
Gets height.
The height.setWidth (int Width)
Sets width.
Width is image width.setHeight (int Height)
Sets height.
Height is image height.[223:7] extends: CameraPinhole
CameraKannalaBrandt wraps boofcv.struct.calib.CameraKannalaBrandt.
CameraKannalaBrandt (int NumSymmetric = 0, int NumAsymmetric = 0, Obj = null)
Creates or wraps a Kannala-Brandt camera.
NumSymmetric is symmetric coefficient count.NumAsymmetric is asymmetric coefficient count.Obj is an existing camera object or null.configureCoefficients (int NumSymmetric, int NumAsymmetric)
Configures coefficient counts.
NumSymmetric is symmetric count.NumAsymmetric is asymmetric count.isSymmetricModel ()
Gets whether this is a symmetric model.
True if symmetric-only.isAsymmetricModel ()
Gets whether this is an asymmetric model.
True if asymmetric terms are present.getSymmetric ()
Gets symmetric coefficients.
A Java double array.getRadial ()
Gets radial coefficients.
A Java double array.getTangent ()
Gets tangent coefficients.
A Java double array.[830:14] static extends: object
Static wrappers for boofcv.io.calibration.CalibrationIO.
save (object Model, string Path)
Saves a camera or stereo model.
Model is a camera model, stereo parameters, or wrapper.Path is the output file path.load (string Path)
Loads a calibration model.
Path is the input file path.The loaded Java calibration object.saveOpencv (object Model, string Path)
Saves a Brown pinhole model in OpenCV format.
Model is a CameraPinholeBrown wrapper.Path is the output file path.loadOpenCV (string Path)
Loads an OpenCV Brown pinhole model.
Path is the input file path.A CameraPinholeBrown wrapper.[573:7] extends: Zhang99Camera
Zhang99CameraKannalaBrandt wraps boofcv.alg.geo.calibration.cameras.Zhang99CameraKannalaBrandt.
Zhang99CameraKannalaBrandt (bool AssumeZeroSkew = true, int NumSymmetric = 3, int NumAsymmetric = 2)
Creates a Kannala-Brandt Zhang99 camera generator.
AssumeZeroSkew true fixes skew to zero.NumSymmetric is symmetric coefficient count.NumAsymmetric is asymmetric coefficient count.[586:7] extends: object
CalibrationPlanarGridZhang99 wraps boofcv.alg.geo.calibration.CalibrationPlanarGridZhang99.
CalibrationPlanarGridZhang99 (object CameraGenerator)
Creates a Zhang99 planar-grid calibrator.
CameraGenerator is a Zhang99Camera wrapper.process (object Observations)
Processes calibration observations.
Observations is a Java list of CalibrationObservation objects.True on success.performBundleAdjustment ()
Performs bundle adjustment after linear initialization.
True on success.computeErrors ()
Computes per-image errors.
A Java list of ImageResults objects.getCameraModel ()
Gets the estimated camera model.
A CameraModel Java object.getMinimumObservedPoints ()
Gets the minimum observed point count.
The minimum count.isZeroSkew ()
Gets zero-skew setting.
True if zero skew is assumed.setZeroSkew (bool ZeroSkew)
Sets zero-skew setting.
ZeroSkew true assumes zero skew.getConfigConvergeSBA ()
Gets convergence config.
A ConfigConverge Java object.getConfigSBA ()
Gets bundle-adjustment config.
A ConfigBundleAdjustment Java object.getStructure ()
Gets bundle structure.
A SceneStructureMetric Java object.getObservations ()
Gets bundle observations.
A SceneObservations Java object.setLayouts (object Layouts)
Sets calibration target layouts.
Layouts is a Java list of point layouts.totalPoints (object Observations)
Counts all observed points.
Observations is a Java list of CalibrationObservation objects.Total observed points.[780:7] extends: object
CalibrateMultiPlanar wraps boofcv.abst.geo.calibration.CalibrateMultiPlanar.
CalibrateMultiPlanar ()
Creates a multi-camera planar calibrator.
initialize (int NumCameras, int NumTargets)
Initializes the calibrator.
NumCameras is camera count.NumTargets is target count.setCameraProperties (int CameraIndex, int Width, int Height)
Sets camera properties.
CameraIndex is camera index.Width is image width.Height is image height.setTargetLayout (int TargetIndex, object Layout)
Sets target layout.
TargetIndex is target index.Layout is a Java point layout.addObservation (object Observation)
Adds synchronized observations.
Observation is a SynchronizedCalObs Java object.process ()
Runs calibration.
True on success.getResults ()
Gets results.
A MultiCameraCalibParams wrapper.getStatistics ()
Gets statistics.
A Java DogArray of camera statistics.[178:7] extends: CameraPinhole
CameraUniversalOmni wraps boofcv.struct.calib.CameraUniversalOmni.
CameraUniversalOmni (int NumRadial = 2, Obj = null)
Creates or wraps a universal omni camera.
NumRadial is the number of radial coefficients.Obj is an existing camera object or null.fsetMirror (MirrorOffset)
Sets mirror offset.
MirrorOffset is the mirror offset.This camera.fsetTangential (T1, T2)
Sets tangential coefficients.
T1 is tangential x.T2 is tangential y.This camera.getRadial ()
Gets radial coefficients.
A Java double array.getMirrorOffset ()
Gets mirror offset.
The mirror offset.getT1 ()
Gets t1 tangential coefficient.
The t1 coefficient.getT2 ()
Gets t2 tangential coefficient.
The t2 coefficient.