boofcv.factory.shape
Class FactoryShapeDetector
- java.lang.Object
-
- boofcv.factory.shape.FactoryShapeDetector
-
public class FactoryShapeDetector extends java.lang.ObjectFactory for detecting higher level shapes
-
-
Constructor Summary
Constructors Constructor and Description FactoryShapeDetector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static <T extends ImageGray>
BinaryPolygonDetector<T>polygon(ConfigPolygonDetector config, java.lang.Class<T> imageType)Creates a polygon detector.static <T extends ImageGray>
RefineBinaryPolygon<T>refinePolygon(ConfigRefinePolygonCornersToImage config, java.lang.Class<T> imageType)static <T extends ImageGray>
RefineBinaryPolygon<T>refinePolygon(ConfigRefinePolygonLineToImage config, java.lang.Class<T> imageType)
-
-
-
Method Detail
-
polygon
public static <T extends ImageGray> BinaryPolygonDetector<T> polygon(ConfigPolygonDetector config, java.lang.Class<T> imageType)
Creates a polygon detector. The polygon is assumed to be a black shape with a much lighter background. The polygon can be found to sub-pixel accuracy, if configured to do so.- Parameters:
config- Configuration for polygon detectorimageType- Input image type- Returns:
- Detector
-
refinePolygon
public static <T extends ImageGray> RefineBinaryPolygon<T> refinePolygon(ConfigRefinePolygonLineToImage config, java.lang.Class<T> imageType)
-
refinePolygon
public static <T extends ImageGray> RefineBinaryPolygon<T> refinePolygon(ConfigRefinePolygonCornersToImage config, java.lang.Class<T> imageType)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG