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) |
void |
processImage(FImage 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)
process in interface ConnectedComponentProcessorpublic void processImage(FImage image)
processImage in interface ImageProcessor<FImage>