Class FitConicAtA_F32

java.lang.Object
georegression.fitting.curves.FitConicAtA_F32
All Implemented Interfaces:
FitShapeToPoints<Point2D_F32,ConicGeneral_F32>, FitShapeToPoints_F32<Point2D_F32,ConicGeneral_F32>

@Generated("georegression.fitting.curves.FitConicAtA_F64") public class FitConicAtA_F32 extends Object implements FitShapeToPoints_F32<Point2D_F32,ConicGeneral_F32>
Fit's a parabola to a set of points by finding the null space of AT*A. This is faster but less numerically stable than techniques which don't explicitly square the matrix.
  • Constructor Details

    • FitConicAtA_F32

      public FitConicAtA_F32()
  • Method Details

    • process

      public boolean process(List<Point2D_F32> points, ConicGeneral_F32 output)
      Fits the conic to the points. Strongly recommended that you transform the points such that they have zero mean and a standard deviation along x and y axis, independently.
      Specified by:
      process in interface FitShapeToPoints<Point2D_F32,ConicGeneral_F32>
      Parameters:
      points - (Input) points
      output - (Output) found conic
      Returns:
      true if successful or false if it failed
    • process

      public boolean process(List<Point2D_F32> points, float[] weights, ConicGeneral_F32 output)
      Fits the conic to the weighted set of points. Strongly recommended that you transform the points such that they have zero mean and a standard deviation along x and y axis, independently.
      Specified by:
      process in interface FitShapeToPoints_F32<Point2D_F32,ConicGeneral_F32>
      Parameters:
      points - (Input) points
      output - (Output) found conic
      weights - (Input) Weight of each point.
      Returns:
      true if successful or false if it failed
    • getSolver

      public org.ejml.interfaces.SolveNullSpace<org.ejml.data.FMatrixRMaj> getSolver()
    • setSolver

      public void setSolver(org.ejml.interfaces.SolveNullSpace<org.ejml.data.FMatrixRMaj> solver)