public class ChessboardPolygonHelper<T extends boofcv.struct.image.ImageGray<T>>
extends java.lang.Object
implements boofcv.alg.shapes.polygon.PolygonHelper
| Constructor and Description |
|---|
ChessboardPolygonHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureBeforePolyline(boofcv.abst.shapes.polyline.PointsToPolyline contourToPolyline,
boolean touchesBorder) |
boolean |
filterContour(java.util.List<georegression.struct.point.Point2D_I32> contour,
boolean touchesBorder,
boolean distorted) |
boolean |
filterPixelPolygon(georegression.struct.shapes.Polygon2D_F64 undistorted,
georegression.struct.shapes.Polygon2D_F64 distorted,
org.ddogleg.struct.GrowQueue_B touches,
boolean touchesBorder)
If not touching the border then the number of corners must be 4.
|
void |
setImageShape(int width,
int height) |
public void setImageShape(int width,
int height)
setImageShape in interface boofcv.alg.shapes.polygon.PolygonHelperpublic boolean filterContour(java.util.List<georegression.struct.point.Point2D_I32> contour,
boolean touchesBorder,
boolean distorted)
filterContour in interface boofcv.alg.shapes.polygon.PolygonHelperpublic boolean filterPixelPolygon(georegression.struct.shapes.Polygon2D_F64 undistorted,
georegression.struct.shapes.Polygon2D_F64 distorted,
org.ddogleg.struct.GrowQueue_B touches,
boolean touchesBorder)
filterPixelPolygon in interface boofcv.alg.shapes.polygon.PolygonHelperpublic void configureBeforePolyline(boofcv.abst.shapes.polyline.PointsToPolyline contourToPolyline,
boolean touchesBorder)
configureBeforePolyline in interface boofcv.alg.shapes.polygon.PolygonHelper