ij.plugin
Class ChannelSplitter

java.lang.Object
  extended by ij.plugin.ChannelSplitter
All Implemented Interfaces:
PlugIn

public class ChannelSplitter
extends java.lang.Object
implements PlugIn

This plugin implements the Image/Color/Split Channels command.


Constructor Summary
ChannelSplitter()
           
 
Method Summary
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
static ImagePlus[] split(ImagePlus imp)
          Splits the specified image into separate channels.
static ImageStack[] splitRGB(ImageStack rgb, boolean keepSource)
          Splits the specified RGB stack into three 8-bit grayscale stacks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelSplitter

public ChannelSplitter()
Method Detail

run

public void run(java.lang.String arg)
Description copied from interface: PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.

Specified by:
run in interface PlugIn

split

public static ImagePlus[] split(ImagePlus imp)
Splits the specified image into separate channels.


splitRGB

public static ImageStack[] splitRGB(ImageStack rgb,
                                    boolean keepSource)
Splits the specified RGB stack into three 8-bit grayscale stacks. Deletes the source stack if keepSource is false.