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 net.imglib2.type.numeric.RealType<T>> |
getEdgels(net.imglib2.RandomAccessibleInterval<T> input,
net.imglib2.img.ImgFactory<T> factory,
double minGradientMagnitude)
Compute the set of sub-pixel edgels for the input image.
|
public static <T extends net.imglib2.type.numeric.RealType<T>> ArrayList<Edgel> getEdgels(net.imglib2.RandomAccessibleInterval<T> input, net.imglib2.img.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 © 2009–2025 ImgLib2. All rights reserved.