class: CameraPinholeBrown
[156:7] extends: CameraPinhole
CameraPinholeBrown wraps boofcv.struct.calib.CameraPinholeBrown.
Methods
-
CameraPinholeBrown (
NumRadial = 2)Creates or wraps a Brown pinhole camera.
- @p
NumRadialis number of radial coefficients or an existing camera object.
- @p
-
fsetRadial (
R0, R1 = 0.0)Sets two radial coefficients.
- @p
R0is the first coefficient. - @p
R1is the second coefficient. - @r
Thiscamera.
- @p
-
fsetTangential (
T1, T2)Sets tangential coefficients.
- @p
T1is tangential x. - @p
T2is tangential y. - @r
Thiscamera.
- @p
-
isDistorted ()
Gets whether distortion is non-zero.
- @r
Trueif distorted.
- @r
-
getRadial ()
Gets radial coefficients.
- @r
AJava double array.
- @r
class: CameraPinhole
[86:7] extends: object
CameraPinhole wraps boofcv.struct.calib.CameraPinhole.
Members
- obj
Methods
-
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.
- @p
Fxis focal x or an existing camera object. - @p
Fyis focal y. - @p
Skewis camera skew. - @p
Cxis center x. - @p
Cyis center y. - @p
Widthis image width. - @p
Heightis image height.
- @p
-
get (
string Name)Gets a public field.
- @p
Nameis fx, fy, skew, cx, cy, width, or height. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public field.
- @p
Nameis fx, fy, skew, cx, cy, width, or height. - @p
Valueis the new value.
- @p
-
fsetK (
Fx, Fy, Skew, Cx, Cy)Sets calibration matrix fields.
- @p
Fxis focal x. - @p
Fyis focal y. - @p
Skewis skew. - @p
Cxis center x. - @p
Cyis center y. - @r
Thiscamera.
- @p
-
fsetShape (
int Width, int Height)Sets image shape.
- @p
Widthis image width. - @p
Heightis image height. - @r
Thiscamera.
- @p
-
isInside (
X, Y)Checks whether a pixel is inside the image.
- @p
Xis x. - @p
Yis y. - @r
Trueif inside.
- @p
-
createLike ()
Creates a like camera model.
- @r
AJava camera model object.
- @r
class: Zhang99Camera
[531:7] extends: object
Zhang99Camera wraps boofcv.alg.geo.calibration.cameras.Zhang99Camera.
Members
- obj
Methods
-
Zhang99Camera (
object Obj)Wraps a Zhang99 camera model generator.
- @p
Objis an existing Zhang99Camera Java object.
- @p
-
setLayouts (
object Layouts)Sets calibration target layouts.
- @p
Layoutsis a Java list of point layouts.
- @p
-
initializeCamera (
object K, object Homographies, object Observations)Initializes a bundle-adjustment camera.
- @p
Kis intrinsic matrix. - @p
Homographiesis a Java list of homographies. - @p
Observationsis a Java list of CalibrationObservation objects. - @r
ABundleAdjustmentCamera Java object.
- @p
-
getCameraModel (
object Camera)Converts bundle-adjustment camera parameters to a camera model.
- @p
Camerais a BundleAdjustmentCamera Java object. - @r
ACameraModel Java object.
- @p
class: Zhang99CameraUniversalOmni
[575:7] extends: Zhang99Camera
Zhang99CameraUniversalOmni wraps boofcv.alg.geo.calibration.cameras.Zhang99CameraUniversalOmni.
Methods
-
Zhang99CameraUniversalOmni (
bool AssumeZeroSkew = true, bool IncludeTangential = true, int NumRadial = 2, Mirror = null)Creates a universal omni Zhang99 camera generator.
- @p
AssumeZeroSkewtrue fixes skew to zero. - @p
IncludeTangentialtrue includes tangential terms. - @p
NumRadialis radial coefficient count. - @p
Mirroris optional fixed mirror value; null estimates mirror.
- @p
class: CalibrationQuality
[503:7] extends: object
CalibrationQuality wraps boofcv.abst.geo.calibration.CalibrationQuality.
Members
- obj
Methods
-
CalibrationQuality (
Obj = null)Creates or wraps calibration quality metrics.
- @p
Objis an existing CalibrationQuality object or null.
- @p
-
get (
string Name)Gets a public field.
- @p
Nameis borderFill, innerFill, or geometric. - @r
Thefield value.
- @p
-
setDouble (
string Name, double Value)Sets a public metric.
- @p
Nameis borderFill, innerFill, or geometric. - @p
Valueis the new value.
- @p
-
reset ()
Resets all metrics.
class: MultiCameraCalibParams
[332:7] extends: object
MultiCameraCalibParams wraps boofcv.struct.calib.MultiCameraCalibParams.
Members
- obj
Methods
-
MultiCameraCalibParams (
Obj = null)Creates or wraps multi-camera calibration parameters.
- @p
Objis an existing params object or null.
- @p
-
reset ()
Resets this parameter set.
-
getIntrinsics (
int Index)Gets intrinsics for a camera.
- @p
Indexis the camera index. - @r
Thecamera model Java object.
- @p
-
getCameraToSensor (
int Index)Gets camera-to-sensor transform.
- @p
Indexis the camera index. - @r
ASe3_F64 Java object.
- @p
-
getBaseline (
int CameraA, int CameraB)Gets baseline between two cameras.
- @p
CameraAis the first camera. - @p
CameraBis the second camera. - @r
Thebaseline distance.
- @p
-
getIntrinsicsList ()
Gets the intrinsics list.
- @r
AJava list of camera models.
- @r
-
getCamerasToSensor ()
Gets the camera-to-sensor list.
- @r
AJava list of transforms.
- @r
class: StereoParameters
[287:7] extends: object
StereoParameters wraps boofcv.struct.calib.StereoParameters.
Members
- obj
Methods
-
StereoParameters (
Obj = null)Creates or wraps stereo parameters.
-
get (
string Name)Gets a public field.
- @p
Nameis left, right, or right_to_left. - @r
Thefield value.
- @p
-
getBaseline ()
Gets the baseline.
- @r
Thestereo baseline.
- @r
-
getLeft ()
Gets left camera parameters.
- @r
ACameraPinholeBrown Java object.
- @r
-
setLeft (
object Left)Sets left camera parameters.
- @p
Leftis a CameraPinholeBrown wrapper.
- @p
-
getRight ()
Gets right camera parameters.
- @r
ACameraPinholeBrown Java object.
- @r
-
setRight (
object Right)Sets right camera parameters.
- @p
Rightis a CameraPinholeBrown wrapper.
- @p
class: CalibrateMonoPlanar
[681:7] extends: object
CalibrateMonoPlanar wraps boofcv.abst.geo.calibration.CalibrateMonoPlanar.
Members
- obj
Methods
-
CalibrateMonoPlanar ()
Creates a mono planar calibrator.
-
initialize (
int Width, int Height, object Layouts)Initializes calibration.
- @p
Widthis image width. - @p
Heightis image height. - @p
Layoutsis a Java list of calibration target layouts.
- @p
-
configurePinhole (
bool AssumeZeroSkew, int NumRadial, bool IncludeTangential)Configures a pinhole model.
- @p
AssumeZeroSkewtrue assumes zero skew. - @p
NumRadialis the number of radial coefficients. - @p
IncludeTangentialtrue includes tangential coefficients.
- @p
-
configureUniversalOmni (
bool AssumeZeroSkew, int NumRadial, bool IncludeTangential)Configures a universal omni model.
- @p
AssumeZeroSkewtrue assumes zero skew. - @p
NumRadialis radial count. - @p
IncludeTangentialtrue includes tangential terms.
- @p
-
configureKannalaBrandt (
bool AssumeZeroSkew, int NumSymmetric, int NumAsymmetric)Configures a Kannala-Brandt model.
- @p
AssumeZeroSkewtrue assumes zero skew. - @p
NumSymmetricis symmetric coefficient count. - @p
NumAsymmetricis asymmetric coefficient count.
- @p
-
addImage (
object Observation)Adds one calibration observation.
- @p
Observationis a CalibrationObservation Java object.
- @p
-
removeLatestImage ()
Removes the latest image.
-
process ()
Runs calibration.
- @r
Thefound camera model Java object.
- @r
-
getIntrinsic ()
Gets intrinsic calibration.
- @r
Theintrinsic camera model Java object.
- @r
-
getObservations ()
Gets calibration observations.
- @r
AJava list of observations.
- @r
-
getErrors ()
Gets calibration errors.
- @r
AJava list of image results.
- @r
class: Zhang99CameraBrown
[562:7] extends: Zhang99Camera
Zhang99CameraBrown wraps boofcv.alg.geo.calibration.cameras.Zhang99CameraBrown.
Methods
-
Zhang99CameraBrown (
bool AssumeZeroSkew = true, bool IncludeTangential = true, int NumRadial = 2)Creates a Brown pinhole Zhang99 camera generator.
- @p
AssumeZeroSkewtrue fixes skew to zero. - @p
IncludeTangentialtrue includes tangential terms. - @p
NumRadialis radial coefficient count.
- @p
class: CalibrationObservation
[377:7] extends: object
CalibrationObservation wraps boofcv.alg.geo.calibration.CalibrationObservation.
Members
- obj
Methods
-
CalibrationObservation (
Obj = null)Creates or wraps calibration observations.
- @p
Objis an existing observation object or null.
- @p
-
get (
string Name)Gets a public field.
- @p
Nameis target or points. - @r
Thefield value.
- @p
-
setTarget (
int Target)Sets the target id.
- @p
Targetis the target id.
- @p
-
setTo (
object Observation)Copies another observation into this object.
- @p
Observationis a CalibrationObservation wrapper or Java object. - @r
Thiswrapper.
- @p
-
getPoint (
int Index)Gets one point observation.
- @p
Indexis the observation index. - @r
APointIndex2D_F64 Java object.
- @p
-
addPoint (
int Index, object Point)Adds an observed point.
- @p
Indexis the calibration point index. - @p
Pointis a Point2D_F64 wrapper or Java object.
- @p
-
add (
int Index, double X, double Y)Adds an observed point from coordinates.
- @p
Indexis the calibration point index. - @p
Xis x. - @p
Yis y.
- @p
-
reset ()
Clears all observations.
-
sort ()
Sorts observations by point index.
-
size ()
Gets observation count.
- @r
Thenumber of observed points.
- @r
-
copy ()
Copies this observation.
- @r
ACalibrationObservation wrapper.
- @r
-
getTarget ()
Gets target id.
- @r
Thetarget id.
- @r
-
getPoints ()
Gets observed points.
- @r
AJava list of PointIndex2D_F64 objects.
- @r
class: CalibrateStereoPlanar
[749:7] extends: object
CalibrateStereoPlanar wraps boofcv.abst.geo.calibration.CalibrateStereoPlanar.
Members
- obj
Methods
-
CalibrateStereoPlanar (
object Layouts)Creates a stereo planar calibrator.
- @p
Layoutsis a Java list of calibration target layouts.
- @p
-
initialize (
object LeftShape, object RightShape)Initializes calibration.
- @p
LeftShapeis the left ImageDimension. - @p
RightShapeis the right ImageDimension.
- @p
-
configure (
bool AssumeZeroSkew, int NumRadial, bool IncludeTangential)Configures a Brown pinhole stereo model.
- @p
AssumeZeroSkewtrue assumes zero skew. - @p
NumRadialis radial count. - @p
IncludeTangentialtrue includes tangential terms.
- @p
-
addPair (
int TargetIndex, object Left, object Right)Adds a stereo observation pair.
- @p
TargetIndexis target index. - @p
Leftis left observations. - @p
Rightis right observations.
- @p
-
process ()
Runs calibration.
- @r
StereoParametersJava object.
- @r
-
getCalibLeft ()
Gets the left mono calibrator.
- @r
CalibrateMonoPlanarJava object.
- @r
-
getCalibRight ()
Gets the right mono calibrator.
- @r
CalibrateMonoPlanarJava object.
- @r
class: ImageResults
[453:7] extends: object
ImageResults wraps boofcv.abst.geo.calibration.ImageResults.
Members
- obj
Methods
-
ImageResults (
int NumPoints = 0)Creates per-image calibration errors.
- @p
NumPointsis point count.
- @p
-
wrap (
object Obj)Wraps existing per-image calibration errors.
- @p
Objis an ImageResults Java object or wrapper. - @r
AnImageResults wrapper.
- @p
-
get (
string Name)Gets a public field.
- @p
Nameis meanError, maxError, biasX, biasY, pointError, or residuals. - @r
Thefield value.
- @p
-
setDouble (
string Name, double Value)Sets a floating-point field.
- @p
Nameis meanError, maxError, biasX, or biasY. - @p
Valueis the new value.
- @p
-
getMeanError ()
Gets mean error.
- @r
Meanreprojection error.
- @r
-
getMaxError ()
Gets max error.
- @r
Maximumreprojection error.
- @r
-
getBiasX ()
Gets x bias.
- @r
Xresidual bias.
- @r
-
getBiasY ()
Gets y bias.
- @r
Yresidual bias.
- @r
class: ImageDimension
[22:7] extends: object
ImageDimension wraps boofcv.struct.image.ImageDimension.
Members
- obj
Methods
-
ImageDimension (
Width = null, Height = null)Creates or wraps an image dimension.
- @p
Widthis image width, an existing ImageDimension object, or null. - @p
Heightis image height.
- @p
-
setTo (
object Dimension)Copies another dimension into this object.
- @p
Dimensionis an ImageDimension wrapper or Java object. - @r
Thiswrapper.
- @p
-
setShape (
int Width, int Height)Sets width and height.
- @p
Widthis image width. - @p
Heightis image height. - @r
Thiswrapper.
- @p
-
isIdentical (
object Dimension)Checks exact equality with another dimension.
- @p
Dimensionis an ImageDimension wrapper or Java object. - @r
Trueif identical.
- @p
-
isIdenticalShape (
int Width, int Height)Checks exact equality with a width and height.
- @p
Widthis image width. - @p
Heightis image height. - @r
Trueif identical.
- @p
-
getMaxLength ()
Gets maximum side length.
- @r
Themaximum of width and height.
- @r
-
getWidth ()
Gets width.
- @r
Thewidth.
- @r
-
getHeight ()
Gets height.
- @r
Theheight.
- @r
-
setWidth (
int Width)Sets width.
- @p
Widthis image width.
- @p
-
setHeight (
int Height)Sets height.
- @p
Heightis image height.
- @p
class: CameraKannalaBrandt
[239:7] extends: CameraPinhole
CameraKannalaBrandt wraps boofcv.struct.calib.CameraKannalaBrandt.
Methods
-
CameraKannalaBrandt (
int NumSymmetric = 0, int NumAsymmetric = 0, Obj = null)Creates or wraps a Kannala-Brandt camera.
- @p
NumSymmetricis symmetric coefficient count. - @p
NumAsymmetricis asymmetric coefficient count. - @p
Objis an existing camera object or null.
- @p
-
configureCoefficients (
int NumSymmetric, int NumAsymmetric)Configures coefficient counts.
- @p
NumSymmetricis symmetric count. - @p
NumAsymmetricis asymmetric count.
- @p
-
isSymmetricModel ()
Gets whether this is a symmetric model.
- @r
Trueif symmetric-only.
- @r
-
isAsymmetricModel ()
Gets whether this is an asymmetric model.
- @r
Trueif asymmetric terms are present.
- @r
-
getSymmetric ()
Gets symmetric coefficients.
- @r
AJava double array.
- @r
-
getRadial ()
Gets radial coefficients.
- @r
AJava double array.
- @r
-
getTangent ()
Gets tangent coefficients.
- @r
AJava double array.
- @r
class: CalibrationIO
[846:14] static extends: object
Static wrappers for boofcv.io.calibration.CalibrationIO.
Methods
-
save (
object Model, string Path)Saves a camera or stereo model.
- @p
Modelis a camera model, stereo parameters, or wrapper. - @p
Pathis the output file path.
- @p
-
load (
string Path)Loads a calibration model.
- @p
Pathis the input file path. - @r
Theloaded Java calibration object.
- @p
-
saveOpencv (
object Model, string Path)Saves a Brown pinhole model in OpenCV format.
- @p
Modelis a CameraPinholeBrown wrapper. - @p
Pathis the output file path.
- @p
-
loadOpenCV (
string Path)Loads an OpenCV Brown pinhole model.
- @p
Pathis the input file path. - @r
ACameraPinholeBrown wrapper.
- @p
class: Zhang99CameraKannalaBrandt
[589:7] extends: Zhang99Camera
Zhang99CameraKannalaBrandt wraps boofcv.alg.geo.calibration.cameras.Zhang99CameraKannalaBrandt.
Methods
-
Zhang99CameraKannalaBrandt (
bool AssumeZeroSkew = true, int NumSymmetric = 3, int NumAsymmetric = 2)Creates a Kannala-Brandt Zhang99 camera generator.
- @p
AssumeZeroSkewtrue fixes skew to zero. - @p
NumSymmetricis symmetric coefficient count. - @p
NumAsymmetricis asymmetric coefficient count.
- @p
class: CalibrationPlanarGridZhang99
[602:7] extends: object
CalibrationPlanarGridZhang99 wraps boofcv.alg.geo.calibration.CalibrationPlanarGridZhang99.
Members
- obj
Methods
-
CalibrationPlanarGridZhang99 (
object CameraGenerator)Creates a Zhang99 planar-grid calibrator.
- @p
CameraGeneratoris a Zhang99Camera wrapper.
- @p
-
process (
object Observations)Processes calibration observations.
- @p
Observationsis a Java list of CalibrationObservation objects. - @r
Trueon success.
- @p
-
performBundleAdjustment ()
Performs bundle adjustment after linear initialization.
- @r
Trueon success.
- @r
-
computeErrors ()
Computes per-image errors.
- @r
AJava list of ImageResults objects.
- @r
-
getCameraModel ()
Gets the estimated camera model.
- @r
ACameraModel Java object.
- @r
-
getMinimumObservedPoints ()
Gets the minimum observed point count.
- @r
Theminimum count.
- @r
-
isZeroSkew ()
Gets zero-skew setting.
- @r
Trueif zero skew is assumed.
- @r
-
setZeroSkew (
bool ZeroSkew)Sets zero-skew setting.
- @p
ZeroSkewtrue assumes zero skew.
- @p
-
getConfigConvergeSBA ()
Gets convergence config.
- @r
AConfigConverge Java object.
- @r
-
getConfigSBA ()
Gets bundle-adjustment config.
- @r
AConfigBundleAdjustment Java object.
- @r
-
getStructure ()
Gets bundle structure.
- @r
ASceneStructureMetric Java object.
- @r
-
getObservations ()
Gets bundle observations.
- @r
ASceneObservations Java object.
- @r
-
setLayouts (
object Layouts)Sets calibration target layouts.
- @p
Layoutsis a Java list of point layouts.
- @p
-
totalPoints (
object Observations)Counts all observed points.
- @p
Observationsis a Java list of CalibrationObservation objects. - @r
Totalobserved points.
- @p
class: CalibrateMultiPlanar
[796:7] extends: object
CalibrateMultiPlanar wraps boofcv.abst.geo.calibration.CalibrateMultiPlanar.
Members
- obj
Methods
-
CalibrateMultiPlanar ()
Creates a multi-camera planar calibrator.
-
initialize (
int NumCameras, int NumTargets)Initializes the calibrator.
- @p
NumCamerasis camera count. - @p
NumTargetsis target count.
- @p
-
setCameraProperties (
int CameraIndex, int Width, int Height)Sets camera properties.
- @p
CameraIndexis camera index. - @p
Widthis image width. - @p
Heightis image height.
- @p
-
setTargetLayout (
int TargetIndex, object Layout)Sets target layout.
- @p
TargetIndexis target index. - @p
Layoutis a Java point layout.
- @p
-
addObservation (
object Observation)Adds synchronized observations.
- @p
Observationis a SynchronizedCalObs Java object.
- @p
-
process ()
Runs calibration.
- @r
Trueon success.
- @r
-
getResults ()
Gets results.
- @r
AMultiCameraCalibParams wrapper.
- @r
-
getStatistics ()
Gets statistics.
- @r
AJava DogArray of camera statistics.
- @r
class: CameraUniversalOmni
[194:7] extends: CameraPinhole
CameraUniversalOmni wraps boofcv.struct.calib.CameraUniversalOmni.
Methods
-
CameraUniversalOmni (
int NumRadial = 2, Obj = null)Creates or wraps a universal omni camera.
- @p
NumRadialis the number of radial coefficients. - @p
Objis an existing camera object or null.
- @p
-
fsetMirror (
MirrorOffset)Sets mirror offset.
- @p
MirrorOffsetis the mirror offset. - @r
Thiscamera.
- @p
-
fsetTangential (
T1, T2)Sets tangential coefficients.
- @p
T1is tangential x. - @p
T2is tangential y. - @r
Thiscamera.
- @p
-
getRadial ()
Gets radial coefficients.
- @r
AJava double array.
- @r
-
getMirrorOffset ()
Gets mirror offset.
- @r
Themirror offset.
- @r
-
getT1 ()
Gets t1 tangential coefficient.
- @r
Thet1 coefficient.
- @r
-
getT2 ()
Gets t2 tangential coefficient.
- @r
Thet2 coefficient.
- @r