public abstract class BundleAdjustmentProjectiveSchurJacobian<M extends org.ejml.data.DMatrix> extends java.lang.Object implements BundleAdjustmentSchur.Jacobian<SceneStructureProjective,M>
BundleAdjustmentSchur for generic matrices.| Constructor and Description |
|---|
BundleAdjustmentProjectiveSchurJacobian() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(SceneStructureProjective structure,
SceneObservations observations) |
int |
getNumOfInputsN() |
int |
getNumOfOutputsM() |
void |
processInternal(double[] input,
org.ejml.data.DMatrix leftPoint,
org.ejml.data.DMatrix rightView)
Internal matrix type agnostic process function.
|
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
|
public BundleAdjustmentProjectiveSchurJacobian()
public void configure(SceneStructureProjective structure, SceneObservations observations)
configure in interface BundleAdjustmentSchur.Jacobian<SceneStructureProjective,M extends org.ejml.data.DMatrix>public int getNumOfInputsN()
getNumOfInputsN in interface org.ddogleg.optimization.functions.FunctionInOutpublic int getNumOfOutputsM()
getNumOfOutputsM in interface org.ddogleg.optimization.functions.FunctionInOutpublic void processInternal(double[] input,
org.ejml.data.DMatrix leftPoint,
org.ejml.data.DMatrix rightView)
input - Input parameters describing the current state of the optimizationleftPoint - Storage for left JacobianrightView - Storage for right Jacobianprotected abstract void set(org.ejml.data.DMatrix matrix,
int row,
int col,
double value)