Package boofcv.alg.geo.bundle.jacobians
Class BundleCameraNumericJacobian
java.lang.Object
boofcv.alg.geo.bundle.jacobians.BundleCameraNumericJacobian
Computes numerical jacobian from
BundleAdjustmentCamera
. The specific numerical Jacobian
algorithm is configurable by overriding createNumericalAlgorithm(FunctionNtoM)
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected FunctionNtoMxN<DMatrixRMaj>
createNumericalAlgorithm
(FunctionNtoM function) void
jacobianIntrinsics
(double camX, double camY, double camZ, double[] calibX, double[] calibY) Computes Jacobian for intrinsic parametersvoid
jacobianPoint
(double camX, double camY, double camZ, double[] pointX, double[] pointY) Computes Jacobian for Pointvoid
setModel
(BundleAdjustmentCamera model) Specifies the camera model.
-
Constructor Details
-
BundleCameraNumericJacobian
public BundleCameraNumericJacobian()
-
-
Method Details
-
setModel
Specifies the camera model. The current state of its intrinsic parameters -
createNumericalAlgorithm
-
jacobianPoint
public void jacobianPoint(double camX, double camY, double camZ, double[] pointX, double[] pointY) Computes Jacobian for Point- Parameters:
camX
- 3D point in camera reference framecamY
- 3D point in camera reference framecamZ
- 3D point in camera reference framepointX
- (Output) Partial of projected x' relative to input camera point.[@x'/@camX, @ x' / @ camY, @ x' / @ camZ]
length 3pointY
- (Output) Partial of projected y' relative to input camera point.[@y'/@camX, @ y' / @ camY, @ y' / @ camZ]
length 3
-
jacobianIntrinsics
public void jacobianIntrinsics(double camX, double camY, double camZ, double[] calibX, double[] calibY) Computes Jacobian for intrinsic parameters- Parameters:
camX
- 3D point in camera reference framecamY
- 3D point in camera reference framecamZ
- 3D point in camera reference framecalibX
- (Output) Partial of projected x' relative to calibration parameters. length NcalibY
- (Output) Partial of projected y' relative to calibration parameters. length N
-