Package boofcv.abst.geo.optimization
Class ResidualsEpipolarMatrix
java.lang.Object
boofcv.abst.geo.optimization.ResidualsEpipolarMatrix
- All Implemented Interfaces:
FunctionInOut
,FunctionNtoM
Computes residual errors for a set of observations from a 3x3 epipolar matrix.
Only a single output from the residual function.
-
Field Summary
Modifier and TypeFieldDescriptionprotected DMatrixRMaj
protected List<AssociatedPair>
protected ModelCodec<DMatrixRMaj>
protected ModelObservationResidual<DMatrixRMaj,
AssociatedPair> -
Constructor Summary
ConstructorDescriptionResidualsEpipolarMatrix
(ModelCodec<DMatrixRMaj> param, ModelObservationResidual<DMatrixRMaj, AssociatedPair> residual) Configures algorithm -
Method Summary
-
Field Details
-
param
-
obs
-
residual
-
F
-
-
Constructor Details
-
ResidualsEpipolarMatrix
public ResidualsEpipolarMatrix(ModelCodec<DMatrixRMaj> param, ModelObservationResidual<DMatrixRMaj, AssociatedPair> residual) Configures algorithm- Parameters:
param
- Converts parameters into epipolar matrixresidual
- Function for computing the residuals
-
-
Method Details
-
setObservations
-
getNumOfInputsN
public int getNumOfInputsN()- Specified by:
getNumOfInputsN
in interfaceFunctionInOut
-
getNumOfOutputsM
public int getNumOfOutputsM()- Specified by:
getNumOfOutputsM
in interfaceFunctionInOut
-
process
public void process(double[] input, double[] output) - Specified by:
process
in interfaceFunctionNtoM
-