public class FactoryEdgeDetectors
extends java.lang.Object
| Constructor and Description |
|---|
FactoryEdgeDetectors() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends boofcv.struct.image.ImageGray,D extends boofcv.struct.image.ImageGray> |
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.
|
public static <T extends boofcv.struct.image.ImageGray,D extends boofcv.struct.image.ImageGray> CannyEdge<T,D> canny(int blurRadius, boolean saveTrace, boolean dynamicThreshold, java.lang.Class<T> imageType, java.lang.Class<D> derivType)
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.CannyEdge,
CannyEdgeDynamic