@Reference(type=Article, author={"Suzuki, S.","Abe, K."}, title="Topological Structural Analysis of Digitized Binary Image by Border Following", year="1985", journal="Computer Vision, Graphics and Image Processing", pages={"32","46"}, month="January", number="1", volume="30") public class SuzukiContourProcessor extends Object implements ImageAnalyser<FImage>
Constructor and Description |
---|
SuzukiContourProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
analyseImage(FImage image)
Analyse an image.
|
static Contour |
findContours(FImage image)
Find contours in the given image and return the border
|
static Contour |
findContours(FImage image,
SuzukiContourProcessor proc)
Detect borders hierarchically in this binary image.
|
void |
setMinRelativeChildProp(double d)
Set the threshold at which small children (measured relative to their
parent area) are removed.
|
public SuzukiContourProcessor()
public void analyseImage(FImage image)
ImageAnalyser
analyseImage
in interface ImageAnalyser<FImage>
image
- The image to process in place.public static Contour findContours(FImage image)
image
- the imagepublic static Contour findContours(FImage image, SuzukiContourProcessor proc)
image
- the imageproc
- the contour detectorpublic void setMinRelativeChildProp(double d)
d
- the threshold