public class SignedColorModel extends ColorModel
pixel_bits, transferType
BITMASK, OPAQUE, TRANSLUCENT
Constructor and Description |
---|
SignedColorModel(int pixelBits,
int dataType,
int nChannels) |
Modifier and Type | Method and Description |
---|---|
WritableRaster |
createCompatibleWritableRaster(int w,
int h) |
int |
getAlpha(int pixel) |
int |
getAlpha(Object data) |
int |
getBlue(int pixel) |
int |
getBlue(Object data) |
Object |
getDataElements(int rgb,
Object pixel) |
int |
getGreen(int pixel) |
int |
getGreen(Object data) |
int |
getRed(int pixel) |
int |
getRed(Object data) |
boolean |
isCompatibleRaster(Raster raster) |
coerceData, createCompatibleSampleModel, equals, finalize, getAlphaRaster, getColorSpace, getComponents, getComponents, getComponentSize, getComponentSize, getDataElement, getDataElement, getDataElements, getDataElements, getNormalizedComponents, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRGB, getRGB, getRGBdefault, getTransferType, getTransparency, getUnnormalizedComponents, hasAlpha, hashCode, isAlphaPremultiplied, isCompatibleSampleModel, toString
public SignedColorModel(int pixelBits, int dataType, int nChannels) throws IOException
IOException
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
public int getAlpha(Object data)
getAlpha
in class ColorModel
public int getRed(Object data)
getRed
in class ColorModel
public int getGreen(Object data)
getGreen
in class ColorModel
public int getBlue(Object data)
getBlue
in class ColorModel
Copyright © 2014 Open Microscopy Environment