public class Open extends Object implements ConnectedComponentProcessor, ImageProcessor<FImage>
Modifier and Type | Field and Description |
---|---|
protected Dilate |
dilate |
protected Erode |
erode |
Constructor and Description |
---|
Open()
Construct the opening operator with a BOX structuring element
|
Open(StructuringElement se)
Construct the open 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.
|
public Open(StructuringElement se)
se
- the structuring elementpublic Open()
public 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.