Class KeepLargestLabelPlugin

java.lang.Object
inra.ijpb.plugins.KeepLargestLabelPlugin
All Implemented Interfaces:
ij.plugin.PlugIn

public class KeepLargestLabelPlugin
extends java.lang.Object
implements ij.plugin.PlugIn
Removes all the labels in a 2D/3D image but the largest one. The result is displayed in a new ImagePlus. This can be used to automatically select the region of interest within the image.
Author:
David Legland
  • Constructor Summary

    Constructors
    Constructor Description
    KeepLargestLabelPlugin()  
  • 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

    • KeepLargestLabelPlugin

      public KeepLargestLabelPlugin()
  • Method Details

    • run

      public void run​(java.lang.String arg0)
      Specified by:
      run in interface ij.plugin.PlugIn