ij.plugin
Class RGBStackMerge
java.lang.Object
ij.plugin.RGBStackMerge
- All Implemented Interfaces:
- PlugIn
public class RGBStackMerge
- extends java.lang.Object
- implements PlugIn
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RGBStackMerge
public RGBStackMerge()
run
public void run(java.lang.String arg)
- Merges one, two or three 8-bit or RGB stacks into a single RGB stack.
- Specified by:
run
in interface PlugIn
mergeStacks
public void mergeStacks()
- Combines three grayscale stacks into one RGB stack.
mergeStacks
public ImageStack mergeStacks(int w,
int h,
int d,
ImageStack red,
ImageStack green,
ImageStack blue,
boolean keep)
getPixels
byte[] getPixels(ImageStack stack,
int slice,
int color)
invert
byte[] invert(byte[] pixels)