Interface ModelObservationResidual<Model,Observation>

All Known Implementing Classes:
EssentialResidualSampson, FundamentalResidualSampson, FundamentalResidualSimple

public interface ModelObservationResidual<Model,Observation>

Residual function for epipolar matrices with a single output for a single input.

Note that "residual = predicted - observed". Typically the "error = residual^T*residual".

  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Compute the error for the observation
    void
    setModel(Model model)
    Specify the epipolar matrix being evaluated
  • Method Details

    • setModel

      void setModel(Model model)
      Specify the epipolar matrix being evaluated
      Parameters:
      model - The model being optimized
    • computeResidual

      double computeResidual(Observation observation)
      Compute the error for the observation
      Parameters:
      observation - Observation of point feature in two views
      Returns:
      residual Error magnitude