Class ResidualsTriangulateProjective

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

public class ResidualsTriangulateProjective extends Object implements FunctionNtoM
Residuals for a projective triangulation where the difference between predicted and observed pixels are minimized. The optimized point is in homogenous coordinates.
  • Constructor Details

    • ResidualsTriangulateProjective

      public ResidualsTriangulateProjective()
  • Method Details

    • setObservations

      public void setObservations(List<Point2D_F64> observations, List<DMatrixRMaj> cameraMatrices)
      Configures inputs.
      Parameters:
      observations - Observations of the feature at different locations. Pixels.
      cameraMatrices - Camera matrices
    • 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