public interface RefineBinaryPolygon<T extends boofcv.struct.image.ImageGray>
BinaryPolygonDetector.| Modifier and Type | Method and Description |
|---|---|
void |
clearLensDistortion()
Clears the previously set lens distortion
|
boolean |
refine(georegression.struct.shapes.Polygon2D_F64 input,
java.util.List<georegression.struct.point.Point2D_I32> contour,
org.ddogleg.struct.GrowQueue_I32 splits,
georegression.struct.shapes.Polygon2D_F64 output)
Refines the initial polygon
|
void |
setImage(T image)
Sets the input image
|
void |
setLensDistortion(int width,
int height,
boofcv.struct.distort.PixelTransform2_F32 distToUndist,
boofcv.struct.distort.PixelTransform2_F32 undistToDist)
Specifies lens distortion
|
void setImage(T image)
void setLensDistortion(int width,
int height,
boofcv.struct.distort.PixelTransform2_F32 distToUndist,
boofcv.struct.distort.PixelTransform2_F32 undistToDist)
void clearLensDistortion()
boolean refine(georegression.struct.shapes.Polygon2D_F64 input,
java.util.List<georegression.struct.point.Point2D_I32> contour,
org.ddogleg.struct.GrowQueue_I32 splits,
georegression.struct.shapes.Polygon2D_F64 output)
input - 2D polygon version of contour polygoncontour - List of pixels in the contoursplits - Indexes in the contour where the initial polygon was foundoutput - Storage for the refined polygon