public class WatershedProcessor extends Object
WatershedProcessorAlgorithm
to allow this class to be
re-used efficiently.Constructor and Description |
---|
WatershedProcessor(Class<? extends ComponentFeature>... featureClasses)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addComponentStackMergeListener(ComponentStackMergeListener csml)
Add a component stack merge listener
|
void |
processImage(FImage greyscaleImage)
Process the given image.
|
@SafeVarargs public WatershedProcessor(Class<? extends ComponentFeature>... featureClasses)
featureClasses
- classes for feature creationpublic void processImage(FImage greyscaleImage)
greyscaleImage
- The image to processpublic void addComponentStackMergeListener(ComponentStackMergeListener csml)
csml
- The ComponentStackMergeListener
to add