Documentation of 'boofcv.alg.shapes.polygon.RefineBinaryPolygon' Java class
RefineBinaryPolygon
boofcv.alg.shapes.polygon

Interface RefineBinaryPolygon<T extends ImageGray>

    • Method Detail

      • setImage

        void setImage(T image)
        Sets the input image
      • refine

        boolean refine(Polygon2D_F64 input,
                       java.util.List<Point2D_I32> contour,
                       GrowQueue_I32 splits,
                       Polygon2D_F64 output)
        Refines the initial polygon
        Parameters:
        input - 2D polygon version of contour polygon
        contour - List of pixels in the contour
        splits - Indexes in the contour where the initial polygon was found
        output - Storage for the refined polygon
        Returns:
        true if successful or false if it failed

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.