public class Index16ColorModel extends ColorModel
pixel_bits, transferTypeBITMASK, OPAQUE, TRANSLUCENT| Constructor and Description |
|---|
Index16ColorModel(int bits,
int size,
short[][] table,
boolean littleEndian) |
| Modifier and Type | Method and Description |
|---|---|
WritableRaster |
createCompatibleWritableRaster(int w,
int h) |
int |
getAlpha(int pixel) |
short[] |
getAlphas()
Return the array of alpha color components.
|
int |
getBlue(int pixel) |
short[] |
getBlues()
Return the array of blue color components.
|
Object |
getDataElements(int rgb,
Object pixel) |
int |
getGreen(int pixel) |
short[] |
getGreens()
Return the array of green color components.
|
int |
getRed(int pixel) |
short[] |
getReds()
Return the array of red color components.
|
boolean |
isCompatibleRaster(Raster raster) |
coerceData, createCompatibleSampleModel, equals, finalize, getAlpha, getAlphaRaster, getBlue, getColorSpace, getComponents, getComponents, getComponentSize, getComponentSize, getDataElement, getDataElement, getDataElements, getDataElements, getGreen, getNormalizedComponents, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRed, getRGB, getRGB, getRGBdefault, getTransferType, getTransparency, getUnnormalizedComponents, hasAlpha, hashCode, isAlphaPremultiplied, isCompatibleSampleModel, toStringpublic Index16ColorModel(int bits,
int size,
short[][] table,
boolean littleEndian)
throws IOException
IOExceptionpublic short[] getReds()
public short[] getGreens()
public short[] getBlues()
public short[] getAlphas()
public Object getDataElements(int rgb, Object pixel)
getDataElements in class ColorModelpublic boolean isCompatibleRaster(Raster raster)
isCompatibleRaster in class ColorModelpublic WritableRaster createCompatibleWritableRaster(int w, int h)
createCompatibleWritableRaster in class ColorModelpublic int getAlpha(int pixel)
getAlpha in class ColorModelpublic int getBlue(int pixel)
getBlue in class ColorModelpublic int getGreen(int pixel)
getGreen in class ColorModelpublic int getRed(int pixel)
getRed in class ColorModelCopyright © 2014 Open Microscopy Environment