Package inra.ijpb.plugins
Class LabelMapMorphologicalFilteringPlugin
java.lang.Object
inra.ijpb.plugins.LabelMapMorphologicalFilteringPlugin
- All Implemented Interfaces:
ij.plugin.PlugIn
public class LabelMapMorphologicalFilteringPlugin
extends java.lang.Object
implements ij.plugin.PlugIn
Applies morphological filtering on a label image.
Supported operations are erosion, dilation, opening and closing.
Note that the algorithm is different that for grayscale images. Instead of
using a structuring element, the a chamfer mask is used, allowing to choose
between closest labels for dilation.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LabelMapMorphologicalFilteringPlugin.Operation
A pre-defined set of basis morphological operations, that can be easily used with a GenericDialog. -
Constructor Summary
Constructors Constructor Description LabelMapMorphologicalFilteringPlugin()
-
Method Summary
Modifier and Type Method Description void
run(java.lang.String arg0)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LabelMapMorphologicalFilteringPlugin
public LabelMapMorphologicalFilteringPlugin()
-
-
Method Details
-
run
public void run(java.lang.String arg0)- Specified by:
run
in interfaceij.plugin.PlugIn
-