Documentation of 'boofcv.abst.geo.optimization.ResidualsEpipolarMatrixN' Java class
ResidualsEpipolarMatrixN
boofcv.abst.geo.optimization

Class ResidualsEpipolarMatrixN

  • All Implemented Interfaces:
    FunctionNtoM


    public class ResidualsEpipolarMatrixN
    extends java.lang.Object
    implements FunctionNtoM
    Computes residual errors for a set of observations from a 3x3 epipolar matrix. Only a single output from the residual function.
    • Constructor Detail

      • ResidualsEpipolarMatrixN

        public ResidualsEpipolarMatrixN(ModelCodec<org.ejml.data.DenseMatrix64F> param,
                                        ModelObservationResidualN residual)
        Configures algorithm
        Parameters:
        param - Converts parameters into epipolar matrix
        residual - Function for computing the residuals
    • Method Detail

      • setObservations

        public void setObservations(java.util.List<AssociatedPair> obs)
      • getNumOfInputsN

        public int getNumOfInputsN()
        Description copied from interface: FunctionNtoM
        Number of input elements. Typically the parameters you are optimizing.
        Specified by:
        getNumOfInputsN in interface FunctionNtoM
        Returns:
        number of input elements
      • getNumOfOutputsM

        public int getNumOfOutputsM()
        Description copied from interface: FunctionNtoM
        Number of output elements. Typically the functions that are being optimized.
        Specified by:
        getNumOfOutputsM in interface FunctionNtoM
        Returns:
        number of output elements
      • process

        public void process(double[] input,
                            double[] output)
        Description copied from interface: FunctionNtoM
        Processes the input to compute the values found in the output array. The output's meaning depends on the application. For least-squares it is the residual error. See UnconstrainedLeastSquares.

        The user can modify the input parameters here and the optimizer must use those changes.

        Specified by:
        process in interface FunctionNtoM
        Parameters:
        input - Parameters for input model.
        output - Storage for the output give the model.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.