Class RemoveLargestLabelPlugin

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

public class RemoveLargestLabelPlugin
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 remove regions that are assumed to be irrelevant (e.g. background label).
Author:
David Legland
  • Constructor Summary

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

    • RemoveLargestLabelPlugin

      public RemoveLargestLabelPlugin()
  • Method Details

    • run

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