- java.lang.Object
-
- ij.plugin.ChannelSplitter
-
-
Constructor Summary
Constructors Constructor Description ChannelSplitter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageStack
getChannel(ImagePlus imp, int c)
Returns, as an ImageStack, the specified channel, where 'c' must be greater than zero and less than or equal to the number of channels in the image.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.
-
-
-
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.
-
split
public static ImagePlus[] split(ImagePlus imp)
Splits the specified image into separate channels.
-
getChannel
public static ImageStack getChannel(ImagePlus imp, int c)
Returns, as an ImageStack, the specified channel, where 'c' must be greater than zero and less than or equal to the number of channels in the image.
-
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.
-
-