Class ResidualsTriangulateMetricSimple

java.lang.Object
boofcv.alg.geo.triangulate.ResidualsTriangulateMetricSimple
All Implemented Interfaces:
FunctionInOut, FunctionNtoM

public class ResidualsTriangulateMetricSimple extends Object implements FunctionNtoM
Basic error function for triangulation which only computes the residual between predicted and actual observed point location. Does not take in account the epipolar constraints.
  • Constructor Details

    • ResidualsTriangulateMetricSimple

      public ResidualsTriangulateMetricSimple()
  • Method Details

    • setObservations

      public void setObservations(List<Point2D_F64> observations, List<Se3_F64> motionGtoC)
      Configures inputs.
      Parameters:
      observations - Observations of the feature at different locations. Normalized image coordinates.
      motionGtoC - Camera motion from global to camera frame..
    • getNumOfInputsN

      public int getNumOfInputsN()
      Specified by:
      getNumOfInputsN in interface FunctionInOut
    • getNumOfOutputsM

      public int getNumOfOutputsM()
      Specified by:
      getNumOfOutputsM in interface FunctionInOut
    • process

      public void process(double[] input, double[] output)
      Specified by:
      process in interface FunctionNtoM