Package inra.ijpb.plugins
Class LabelToRgbPlugin
java.lang.Object
inra.ijpb.plugins.LabelToRgbPlugin
- All Implemented Interfaces:
ij.plugin.PlugIn
public class LabelToRgbPlugin
extends java.lang.Object
implements ij.plugin.PlugIn
Creates a new Color Image that associate a given color to each label of the input image.
Opens a dialog to choose a colormap, a background color, and a shuffle option.
Preview option is available.
Note that when shuffle is activated, result may be different from preview.
- Author:
- David Legland
-
Constructor Summary
Constructors Constructor Description LabelToRgbPlugin()
-
Method Summary
Modifier and Type Method Description void
run(java.lang.String arg)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LabelToRgbPlugin
public LabelToRgbPlugin()
-
-
Method Details
-
run
public void run(java.lang.String arg)- Specified by:
run
in interfaceij.plugin.PlugIn
-