|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.process.StackConverter
public class StackConverter
This class does stack type conversions.
Field Summary | |
---|---|
(package private) int |
height
|
(package private) ImagePlus |
imp
|
(package private) int |
nSlices
|
(package private) int |
type
|
(package private) int |
width
|
Constructor Summary | |
---|---|
StackConverter(ImagePlus imp)
|
Method Summary | |
---|---|
(package private) void |
convertRGBToGray8()
Converts an RGB or 8-bit color stack to 8-bit grayscale. |
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 |
convertToIndexedColor(int nColors)
Converts the stack to 8-bits indexed color. |
void |
convertToRGB()
Converts the Stack to RGB. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
ImagePlus imp
int type
int nSlices
int width
int height
Constructor Detail |
---|
public StackConverter(ImagePlus imp)
Method Detail |
---|
public void convertToGray8()
void convertRGBToGray8()
public void convertToGray16()
public void convertToGray32()
public void convertToRGB()
public void convertToIndexedColor(int nColors)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |