Package inra.ijpb.plugins
Class KeepLargestRegionPlugin
java.lang.Object
inra.ijpb.plugins.KeepLargestRegionPlugin
- All Implemented Interfaces:
ij.plugin.PlugIn
public class KeepLargestRegionPlugin
extends java.lang.Object
implements ij.plugin.PlugIn
Removes all the regions in a binary 2D or 3D image but the largest one.
This can be used to automatically select the main structure of interest
in the image.
Displays the result in a new ImagePlus.
-
Constructor Summary
Constructors Constructor Description KeepLargestRegionPlugin()
-
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
-
KeepLargestRegionPlugin
public KeepLargestRegionPlugin()
-
-
Method Details
-
run
public void run(java.lang.String arg0)- Specified by:
run
in interfaceij.plugin.PlugIn
-