public class StackConverter
extends java.lang.Object
Constructor and Description |
---|
StackConverter(ImagePlus imp) |
Modifier and Type | Method and Description |
---|---|
void |
convertToGray16()
Converts this Stack to 16-bit grayscale.
|
void |
convertToGray32()
Converts this Stack to 32-bit (float) grayscale.
|
void |
convertToGray8()
Converts this Stack to 8-bit grayscale.
|
void |
convertToHSB32Hyperstack()
Converts the stack (which must be RGB) to a 3 channel
(hue, saturation and brightness) 32-bit hyperstack.
|
void |
convertToHSBHyperstack()
Converts the stack (which must be RGB) to a 3 channel
(hue, saturation and brightness) hyperstack.
|
void |
convertToIndexedColor(int nColors)
Converts the stack to 8-bits indexed color.
|
void |
convertToLabHyperstack()
Converts the stack (which must be RGB) to a 3 channel
Lab hyperstack.
|
void |
convertToRGB()
Converts the Stack to RGB.
|
void |
convertToRGBHyperstack()
Converts the stack (which must be RGB) to a
3 channel (red, green and blue) hyperstack.
|
public StackConverter(ImagePlus imp)
public void convertToGray8()
public void convertToGray16()
public void convertToGray32()
public void convertToRGB()
public void convertToRGBHyperstack()
public void convertToHSBHyperstack()
public void convertToHSB32Hyperstack()
public void convertToLabHyperstack()
public void convertToIndexedColor(int nColors)