boofcv.factory.feature.detect.edge
Class FactoryEdgeDetectors
- java.lang.Object
-
- boofcv.factory.feature.detect.edge.FactoryEdgeDetectors
-
public class FactoryEdgeDetectors extends java.lang.ObjectCreates different types of edge detectors.
-
-
Constructor Summary
Constructors Constructor and Description FactoryEdgeDetectors()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static <T extends ImageGray,D extends ImageGray>
CannyEdge<T,D>canny(int blurRadius, boolean saveTrace, boolean dynamicThreshold, java.lang.Class<T> imageType, java.lang.Class<D> derivType)Detects the edge of an object using the canny edge detector.
-
-
-
Method Detail
-
canny
public static <T extends ImageGray,D extends ImageGray> CannyEdge<T,D> canny(int blurRadius, boolean saveTrace, boolean dynamicThreshold, java.lang.Class<T> imageType, java.lang.Class<D> derivType)
Detects the edge of an object using the canny edge detector. The output can be a binary image and/or a graph of connected contour points.- Parameters:
blurRadius- Size of the kernel used to blur the image. Try 1 or 2dynamicThreshold- If true then the thresholds have a range from 0 to 1 and are relative to the maximum edge intensity, if false then they are absolute intensity values.imageType- Type of input image.derivType- Type of image derivative.- Returns:
- Canny edge detector
- See Also:
CannyEdge,CannyEdgeDynamic
-
-
DataMelt 3.0 © DataMelt by jWork.ORG