Package ij.plugin
Class ChannelSplitter
java.lang.Object
ij.plugin.ChannelSplitter
- All Implemented Interfaces:
PlugIn
This plugin implements the Image/Color/Split Channels command.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
This method is called when the plugin is loaded.static ImagePlus[]
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.
-
Constructor Details
-
ChannelSplitter
public ChannelSplitter()
-
-
Method Details
-
run
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
Splits the specified image into separate channels. -
getChannel
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
Splits the specified RGB stack into three 8-bit grayscale stacks. Deletes the source stack if keepSource is false.
-