Package boofcv.abst.geo.optimization
Class ResidualsEpipolarMatrixN
java.lang.Object
boofcv.abst.geo.optimization.ResidualsEpipolarMatrixN
- 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 ModelObservationResidualN
-
Constructor Summary
ConstructorDescriptionResidualsEpipolarMatrixN
(@Nullable ModelCodec<DMatrixRMaj> param, ModelObservationResidualN residual) Configures algorithm -
Method Summary
-
Field Details
-
param
-
obs
-
residual
-
F
-
-
Constructor Details
-
ResidualsEpipolarMatrixN
public ResidualsEpipolarMatrixN(@Nullable @Nullable ModelCodec<DMatrixRMaj> param, ModelObservationResidualN 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
-