Package boofcv.alg.geo.bundle
Class BundleAdjustmentProjectiveSchurJacobian<M extends org.ejml.data.DMatrix>
- java.lang.Object
-
- boofcv.alg.geo.bundle.BundleAdjustmentProjectiveSchurJacobian<M>
-
- All Implemented Interfaces:
BundleAdjustmentSchur.Jacobian<SceneStructureProjective,M>,org.ddogleg.optimization.functions.FunctionInOut,org.ddogleg.optimization.functions.SchurJacobian<M>
- Direct Known Subclasses:
BundleAdjustmentProjectiveSchurJacobian_DDRM,BundleAdjustmentProjectiveSchurJacobian_DSCC
public abstract class BundleAdjustmentProjectiveSchurJacobian<M extends org.ejml.data.DMatrix> extends java.lang.Object implements BundleAdjustmentSchur.Jacobian<SceneStructureProjective,M>
Computes the Jacobian forBundleAdjustmentSchurfor generic matrices.
-
-
Constructor Summary
Constructors Constructor Description BundleAdjustmentProjectiveSchurJacobian()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidconfigure(SceneStructureProjective structure, SceneObservations observations)intgetNumOfInputsN()intgetNumOfOutputsM()voidprocessInternal(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(SceneStructureProjective structure, SceneObservations observations)
- Specified by:
configurein interfaceBundleAdjustmentSchur.Jacobian<SceneStructureProjective,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
-
processInternal
public void processInternal(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
-
-