public class SubpixelEdgelDetection extends Object
F. Devernay, A Non-Maxima Suppression Method for Edge Detection with Sub-Pixel Accuracy , RR 2724, INRIA, nov. 1995
Constructor and Description |
---|
SubpixelEdgelDetection() |
Modifier and Type | Method and Description |
---|---|
static <T extends RealType<T>> |
getEdgels(RandomAccessibleInterval<T> input,
ImgFactory<T> factory,
double minGradientMagnitude)
Compute the set of sub-pixel edgels for the input image.
|
public static <T extends RealType<T>> ArrayList<Edgel> getEdgels(RandomAccessibleInterval<T> input, ImgFactory<T> factory, double minGradientMagnitude)
Note: The input image type must be a signed type! Otherwise gradient computation will not work.
input
- input imagefactory
- used to create an image to store the partial derivatives of
the input imageminGradientMagnitude
- Only consider a pixel an edgel if the gradient magnitude is
greater than thisCopyright © 2015–2022 ImgLib2. All rights reserved.