Squiz Matrix
4.12.2
|
Public Member Functions | |
ImageConverter (ImagePlus imp) | |
synchronized void | convertToGray8 () |
void | convertToGray16 () |
void | convertToGray32 () |
void | convertToRGB () |
void | convertRGBtoIndexedColor (int nColors) |
Static Public Member Functions | |
static void | setDoScaling (boolean scaleConversions) |
static boolean | getDoScaling () |
This class converts an ImagePlus object to a different type.
Definition at line 10 of file ImageConverter.java.
|
inline |
Constructs an ImageConverter based on an ImagePlus object.
Definition at line 17 of file ImageConverter.java.
|
inline |
Converts an RGB image to 8-bits indexed color. 'nColors' must be greater than 1 and less than or equal to 256.
Definition at line 76 of file ImageConverter.java.
|
inline |
Converts this ImagePlus to 16-bit grayscale.
Definition at line 41 of file ImageConverter.java.
|
inline |
Converts this ImagePlus to 32-bit grayscale.
Definition at line 53 of file ImageConverter.java.
|
inline |
Converts this ImagePlus to 8-bit grayscale.
Definition at line 23 of file ImageConverter.java.
|
inline |
Converts this ImagePlus to RGB.
Definition at line 67 of file ImageConverter.java.
|
inlinestatic |
Returns true if scaling is enabled.
Definition at line 106 of file ImageConverter.java.
|
inlinestatic |
Set true to scale to 0-255 when converting short to byte or float to byte and to 0-65535 when converting float to short.
Definition at line 101 of file ImageConverter.java.