Interface FitShapeToPoints<Point,Shape>

All Known Subinterfaces:
FitShapeToPoints_F32<Point,Shape>, FitShapeToPoints_F64<Point,Shape>
All Known Implementing Classes:
FitConicA_F32, FitConicA_F64, FitConicAtA_F32, FitConicAtA_F64

public interface FitShapeToPoints<Point,Shape>
General interface for fitting a shape to a set of points. Similar to ModelFitter interface but is more specific. No initial estimate and weights can be specified.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    process(List<Point> points, Shape output)
    Fits the shape to the points by minimizing some metric.
  • Method Details

    • process

      boolean process(List<Point> points, Shape output)
      Fits the shape to the points by minimizing some metric.
      Parameters:
      points - (Input) points
      output - (Output) found shape
      Returns:
      true if successful or false if it failed