public class FactoryShapeDetector
extends java.lang.Object
| Constructor and Description |
|---|
FactoryShapeDetector() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends boofcv.struct.image.ImageGray<T>> |
ellipse(ConfigEllipseDetector config,
java.lang.Class<T> imageType)
Creates an ellipse detector which will detect all ellipses in the image initially using a binary image and
then refine the estimate using a subpixel algorithm in the gray scale image.
|
static <T extends boofcv.struct.image.ImageGray<T>> |
polygon(ConfigPolygonDetector config,
java.lang.Class<T> imageType)
Creates a polygon detector.
|
static <T extends boofcv.struct.image.ImageGray<T>> |
polygonContour(ConfigPolygonFromContour config,
java.lang.Class<T> imageType) |
static <T extends boofcv.struct.image.ImageGray<T>> |
refinePolygon(ConfigRefinePolygonLineToImage config,
java.lang.Class<T> imageType) |
public static <T extends boofcv.struct.image.ImageGray<T>> BinaryEllipseDetector<T> ellipse(@Nullable ConfigEllipseDetector config, java.lang.Class<T> imageType)
config - Configuration for ellipse detector. null == defaultimageType - Input image typepublic static <T extends boofcv.struct.image.ImageGray<T>> DetectPolygonBinaryGrayRefine<T> polygon(@Nullable ConfigPolygonDetector config, java.lang.Class<T> imageType)
config - Configuration for polygon detectorimageType - Input image typepublic static <T extends boofcv.struct.image.ImageGray<T>> DetectPolygonFromContour<T> polygonContour(@Nonnull ConfigPolygonFromContour config, java.lang.Class<T> imageType)
public static <T extends boofcv.struct.image.ImageGray<T>> RefinePolygonToGray<T> refinePolygon(@Nonnull ConfigRefinePolygonLineToImage config, java.lang.Class<T> imageType)