Package boofcv.alg.geo.bundle
Class BundleAdjustmentMetricSchurJacobian<M extends DMatrix>
java.lang.Object
boofcv.alg.geo.bundle.BundleAdjustmentMetricSchurJacobian<M>
- All Implemented Interfaces:
BundleAdjustmentSchur.Jacobian<SceneStructureMetric,,M> FunctionInOut,SchurJacobian<M>
- Direct Known Subclasses:
BundleAdjustmentMetricSchurJacobian_DDRM,BundleAdjustmentMetricSchurJacobian_DSCC
public abstract class BundleAdjustmentMetricSchurJacobian<M extends DMatrix>
extends 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
-
Field Summary
FieldsModifier and TypeFieldDescriptionSpecifies method to parameterize rotations, i.e. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidAbstract interface for adding the value of a matrix without knowing the type of matrix.voidconfigure(SceneStructureMetric structure, SceneObservations observations) intintvoidinternalProcess(double[] input, DMatrix leftPoint, DMatrix rightView) Internal matrix type agnostic process function.protected voidlookupWorldToView(SceneStructureMetric.View v, Se3_F64 world_to_view) Returns a transform from the world_to_view.protected abstract voidAbstract interface for settings the value of a matrix without knowing the type of matrixMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ddogleg.optimization.functions.SchurJacobian
process
-
Field Details
-
jacSO3
Specifies method to parameterize rotations, i.e. Rodrigues to SO3
-
-
Constructor Details
-
BundleAdjustmentMetricSchurJacobian
public BundleAdjustmentMetricSchurJacobian()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceBundleAdjustmentSchur.Jacobian<SceneStructureMetric,M extends DMatrix>
-
getNumOfInputsN
public int getNumOfInputsN()- Specified by:
getNumOfInputsNin interfaceFunctionInOut
-
getNumOfOutputsM
public int getNumOfOutputsM()- Specified by:
getNumOfOutputsMin interfaceFunctionInOut
-
internalProcess
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
Abstract interface for settings the value of a matrix without knowing the type of matrix -
add
Abstract interface for adding the value of a matrix without knowing the type of matrix. The matrix is assumed to have been initialized to zero. -
lookupWorldToView
Returns a transform from the world_to_view. If relative then the parent's world to view is look up and used to compute this view's transform and the results are saved.
-