public class BundleCameraNumericJacobian
extends java.lang.Object
BundleAdjustmentCamera. The specific numerical Jacobian
algorithm is configurable by overriding createNumericalAlgorithm(FunctionNtoM).| Constructor and Description |
|---|
BundleCameraNumericJacobian() |
| Modifier and Type | Method and Description |
|---|---|
protected org.ddogleg.optimization.functions.FunctionNtoMxN<org.ejml.data.DMatrixRMaj> |
createNumericalAlgorithm(org.ddogleg.optimization.functions.FunctionNtoM function) |
void |
jacobianIntrinsics(double camX,
double camY,
double camZ,
double[] calibX,
double[] calibY)
Computes Jacobian for intrinsic parameters
|
void |
jacobianPoint(double camX,
double camY,
double camZ,
double[] pointX,
double[] pointY)
Computes Jacobian for Point
|
void |
setModel(BundleAdjustmentCamera model)
Specifies the camera model.
|
public void setModel(BundleAdjustmentCamera model)
model - protected org.ddogleg.optimization.functions.FunctionNtoMxN<org.ejml.data.DMatrixRMaj> createNumericalAlgorithm(org.ddogleg.optimization.functions.FunctionNtoM function)
public void jacobianPoint(double camX,
double camY,
double camZ,
@Nonnull
double[] pointX,
@Nonnull
double[] pointY)
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 3public void jacobianIntrinsics(double camX,
double camY,
double camZ,
@Nonnull
double[] calibX,
@Nonnull
double[] calibY)
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