public class Index16ColorModel extends ColorModel
pixel_bits, transferType
BITMASK, 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, toString
public Index16ColorModel(int bits, int size, short[][] table, boolean littleEndian) throws IOException
IOException
public short[] getReds()
public short[] getGreens()
public short[] getBlues()
public short[] getAlphas()
public Object getDataElements(int rgb, Object pixel)
getDataElements
in class ColorModel
public boolean isCompatibleRaster(Raster raster)
isCompatibleRaster
in class ColorModel
public WritableRaster createCompatibleWritableRaster(int w, int h)
createCompatibleWritableRaster
in class ColorModel
public int getAlpha(int pixel)
getAlpha
in class ColorModel
public int getBlue(int pixel)
getBlue
in class ColorModel
public int getGreen(int pixel)
getGreen
in class ColorModel
public int getRed(int pixel)
getRed
in class ColorModel
Copyright © 2014 Open Microscopy Environment