@Reference(author="S. M. Smith", title="A new class of corner finder", type=Article, url="http://users.fmrib.ox.ac.uk/~steve/susan/susan/node4.html", year="1992", booktitle="Proc. 3rd British Machine Vision Conference", pages="139-148") public class SUSANEdgeDetector extends Object implements SinglebandImageProcessor<Float,FImage>
SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>
Constructor and Description |
---|
SUSANEdgeDetector()
Default constructor that instantiates a simple SUSAN edge detector with
threshold 0.08 and global threshold weighting 9.
|
SUSANEdgeDetector(org.openimaj.image.processing.edges.SUSANEdgeDetector.SUSANDetector s,
double threshold,
double nmax) |
SUSANEdgeDetector(org.openimaj.image.processing.edges.SUSANEdgeDetector.SUSANDetector s,
double threshold,
double nmax,
double radius) |
Modifier and Type | Method and Description |
---|---|
void |
processImage(FImage image)
Process an image.
|
static FImage |
simpleSusan(FImage img,
double thresh,
double nmax)
Performs the simple SUSAN edge detection.
|
static FImage |
smoothCircularSusan(FImage img,
double thresh,
double nmax,
double radius)
Performs the simple SUSAN edge detection.
|
static FImage |
smoothSusan(FImage img,
double thresh,
double nmax)
Performs the simple SUSAN edge detection.
|
public SUSANEdgeDetector()
public SUSANEdgeDetector(org.openimaj.image.processing.edges.SUSANEdgeDetector.SUSANDetector s, double threshold, double nmax)
s
- The susan detector to usethreshold
- The threshold to usenmax
- The global threshold weightingpublic SUSANEdgeDetector(org.openimaj.image.processing.edges.SUSANEdgeDetector.SUSANDetector s, double threshold, double nmax, double radius)
s
- The susan detector to usethreshold
- The threshold to usenmax
- The global threshold weightingradius
- The radius of the circular susanpublic void processImage(FImage image)
Image.internalAssign(Image)
.processImage
in interface ImageProcessor<FImage>
image
- The image to process in place.ImageProcessor.processImage(org.openimaj.image.Image)
public static FImage simpleSusan(FImage img, double thresh, double nmax)
img
- The image to find edges inthresh
- The thresholdnmax
- The global threshold weightingpublic static FImage smoothSusan(FImage img, double thresh, double nmax)
img
- The image to find edges inthresh
- The thresholdnmax
- The global threshold weightingpublic static FImage smoothCircularSusan(FImage img, double thresh, double nmax, double radius)
img
- The image to find edges inthresh
- The thresholdnmax
- The global threshold weightingradius
- The radius of the circle (try 3.4)