Package boofcv.alg.shapes.polygon
Class RefinePolygonToContour
java.lang.Object
boofcv.alg.shapes.polygon.RefinePolygonToContour
Fits lines to the contour then finds the intersection of the lines. This should provide a more accurate line estimate
than using the contour corner pixels alone.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(List<Point2D_I32> contour, DogArray_I32 vertexes, Polygon2D_F64 output) Refines the estimate using all the points in the contour
-
Constructor Details
-
RefinePolygonToContour
public RefinePolygonToContour()
-
-
Method Details
-
process
Refines the estimate using all the points in the contour- Parameters:
contour
- (Input) The shape's contourvertexes
- (Input) List of indexes that are vertexes in the contouroutput
- (Output) Storage for where the found polygon is saved to
-