public class RGBStackConverter extends java.lang.Object implements PlugIn, DialogListener
Constructor and Description |
---|
RGBStackConverter() |
Modifier and Type | Method and Description |
---|---|
void |
convertHyperstack(ImagePlus imp,
ImagePlus imp2) |
static void |
convertToRGB(ImagePlus imp)
Converts the specified multi-channel (composite) image to RGB.
|
boolean |
dialogItemChanged(GenericDialog gd,
java.awt.AWTEvent e)
This method is invoked by a Generic Dialog if any of the inputs have changed
(CANCEL does not trigger it; OK and running the dialog from a macro only
trigger the first DialogListener added to a GenericDialog).
|
void |
run(java.lang.String arg)
This method is called when the plugin is loaded.
|
public void run(java.lang.String arg)
PlugIn
public static void convertToRGB(ImagePlus imp)
public boolean dialogItemChanged(GenericDialog gd, java.awt.AWTEvent e)
DialogListener
dialogItemChanged
in interface DialogListener
gd
- A reference to the GenericDialog.e
- The event that has been generated by the user action in the dialog.
Note that e
is null
if the
dialogItemChanged method is called after the user has pressed the
OK button or if the GenericDialog has read its parameters from a
macro.