public class FactoryEdgeDetectors extends Object
| Constructor and Description |
|---|
FactoryEdgeDetectors() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ImageSingleBand,D extends ImageSingleBand> |
canny(int blurRadius,
boolean saveTrace,
boolean dynamicThreshold,
Class<T> imageType,
Class<D> derivType)
Detects the edge of an object using the canny edge detector.
|
public static <T extends ImageSingleBand,D extends ImageSingleBand> CannyEdge<T,D> canny(int blurRadius, boolean saveTrace, boolean dynamicThreshold, Class<T> imageType, 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,
CannyEdgeDynamicCopyright © 2013. All Rights Reserved.