Class FitConicA_F32

    • Constructor Detail

      • FitConicA_F32

        public FitConicA_F32()
    • Method Detail

      • process

        public boolean process​(java.util.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​(java.util.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