@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 SuzukiNeighborStrategy extends ContourFollowingStrategy
| Constructor and Description |
|---|
SuzukiNeighborStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
contour(FImage image,
Pixel start,
Pixel from,
Operation<Pixel> operation)
Given some starting pixel in an image on a contour and the direction of a
non starting image, return each pixel on a contour from the start pixel
in the image.
|
void |
directedContour(FImage image,
Pixel ij,
Pixel i2j2,
Operation<IndependentPair<Pixel,boolean[]>> operation)
Directed contour following.
|
contourpublic SuzukiNeighborStrategy()
public void contour(FImage image, Pixel start, Pixel from, Operation<Pixel> operation)
ContourFollowingStrategycontour in class ContourFollowingStrategyimage - the imagestart - the first point on the contourfrom - the pixel that was not a contouroperation - the thing to do for each contour pixel foundpublic void directedContour(FImage image, Pixel ij, Pixel i2j2, Operation<IndependentPair<Pixel,boolean[]>> operation)
image - the imageij - the first pixeli2j2 - the second pixeloperation - the operation to perform