public class Thin extends Object implements ConnectedComponentProcessor, ImageProcessor<FImage>
Modifier and Type | Field and Description |
---|---|
protected HitAndMiss |
hitAndMiss |
Constructor and Description |
---|
Thin(StructuringElement... se)
Construct the thinning operator with the given structuring element
|
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
public Thin(StructuringElement... se)
se
- the structuring elementpublic void process(ConnectedComponent cc)
ConnectedComponentProcessor
ConnectedComponent
.process
in interface ConnectedComponentProcessor
cc
- The ConnectedComponent
to process.public void processImage(FImage image)
ImageProcessor
Image.internalAssign(Image)
.processImage
in interface ImageProcessor<FImage>
image
- The image to process in place.