@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(org.openimaj.image.FImage image,
org.openimaj.image.pixel.Pixel start,
org.openimaj.image.pixel.Pixel from,
org.openimaj.util.function.Operation<org.openimaj.image.pixel.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(org.openimaj.image.FImage image,
org.openimaj.image.pixel.Pixel ij,
org.openimaj.image.pixel.Pixel i2j2,
org.openimaj.util.function.Operation<org.openimaj.util.pair.IndependentPair<org.openimaj.image.pixel.Pixel,boolean[]>> operation)
Directed contour following.
|
contourpublic SuzukiNeighborStrategy()
public void contour(org.openimaj.image.FImage image, org.openimaj.image.pixel.Pixel start, org.openimaj.image.pixel.Pixel from, org.openimaj.util.function.Operation<org.openimaj.image.pixel.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(org.openimaj.image.FImage image, org.openimaj.image.pixel.Pixel ij, org.openimaj.image.pixel.Pixel i2j2, org.openimaj.util.function.Operation<org.openimaj.util.pair.IndependentPair<org.openimaj.image.pixel.Pixel,boolean[]>> operation)
image - the imageij - the first pixeli2j2 - the second pixeloperation - the operation to perform