Package boofcv.alg.geo.bundle
Class BundleAdjustmentMetricSchurJacobian<M extends org.ejml.data.DMatrix>
- java.lang.Object
-
- boofcv.alg.geo.bundle.BundleAdjustmentMetricSchurJacobian<M>
-
- All Implemented Interfaces:
BundleAdjustmentSchur.Jacobian<SceneStructureMetric,M>,org.ddogleg.optimization.functions.FunctionInOut,org.ddogleg.optimization.functions.SchurJacobian<M>
- Direct Known Subclasses:
BundleAdjustmentMetricSchurJacobian_DDRM,BundleAdjustmentMetricSchurJacobian_DSCC
public abstract class BundleAdjustmentMetricSchurJacobian<M extends org.ejml.data.DMatrix> extends java.lang.Object implements BundleAdjustmentSchur.Jacobian<SceneStructureMetric,M>
Computes the Jacobian for bundle adjustment with a Schur implementation. This is the base class for specific types of matrices
-
-
Constructor Summary
Constructors Constructor Description BundleAdjustmentMetricSchurJacobian()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidconfigure(SceneStructureMetric structure, SceneObservations observations)intgetNumOfInputsN()intgetNumOfOutputsM()voidinternalProcess(double[] input, org.ejml.data.DMatrix leftPoint, org.ejml.data.DMatrix rightView)Internal matrix type agnostic process function.protected abstract voidset(org.ejml.data.DMatrix matrix, int row, int col, double value)Abstract interface for settings the value of a matrix without knowing the type of matrix
-
-
-
Method Detail
-
configure
public void configure(SceneStructureMetric structure, SceneObservations observations)
- Specified by:
configurein interfaceBundleAdjustmentSchur.Jacobian<SceneStructureMetric,M extends org.ejml.data.DMatrix>
-
getNumOfInputsN
public int getNumOfInputsN()
- Specified by:
getNumOfInputsNin interfaceorg.ddogleg.optimization.functions.FunctionInOut
-
getNumOfOutputsM
public int getNumOfOutputsM()
- Specified by:
getNumOfOutputsMin interfaceorg.ddogleg.optimization.functions.FunctionInOut
-
internalProcess
public void internalProcess(double[] input, org.ejml.data.DMatrix leftPoint, org.ejml.data.DMatrix rightView)Internal matrix type agnostic process function.- Parameters:
input- Input parameters describing the current state of the optimizationleftPoint- Storage for left JacobianrightView- Storage for right Jacobian
-
set
protected abstract void set(org.ejml.data.DMatrix matrix, int row, int col, double value)Abstract interface for settings the value of a matrix without knowing the type of matrix
-
-