public class SequentialThin extends Object implements ConnectedComponentProcessor, ImageProcessor<FImage>
| Modifier and Type | Field and Description |
|---|---|
protected HitAndMiss |
hitAndMiss |
protected int |
niter |
| Constructor and Description |
|---|
SequentialThin(int niter,
StructuringElement... se)
Construct the sequential thin operator with the given structuring elements
and number of iterations
|
SequentialThin(StructuringElement... se)
Construct the sequential thin operator with the given structuring elements
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(ConnectedComponent cc)
Perform an operation on the given
ConnectedComponent. |
void |
processImage(FImage image)
Process an image.
|
protected HitAndMiss hitAndMiss
protected int niter
public SequentialThin(StructuringElement... se)
se - the structuring elementspublic SequentialThin(int niter, StructuringElement... se)
niter - number of iterations to applyse - the structuring elementspublic void process(ConnectedComponent cc)
ConnectedComponentProcessorConnectedComponent.process in interface ConnectedComponentProcessorcc - The ConnectedComponent to process.public void processImage(FImage image)
ImageProcessorImage.internalAssign(Image).processImage in interface ImageProcessor<FImage>image - The image to process in place.