public class UnsignedIntColorModel
extends java.awt.image.ColorModel
Modifier and Type | Field and Description |
---|---|
private java.awt.image.ComponentColorModel |
helper |
private int |
nChannels |
Constructor and Description |
---|
UnsignedIntColorModel(int pixelBits,
int dataType,
int nChannels) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.WritableRaster |
createCompatibleWritableRaster(int w,
int h) |
int |
getAlpha(int pixel) |
int |
getAlpha(java.lang.Object data) |
int |
getBlue(int pixel) |
int |
getBlue(java.lang.Object data) |
private int |
getComponent(int pixel,
int index) |
java.lang.Object |
getDataElements(int rgb,
java.lang.Object pixel) |
int |
getGreen(int pixel) |
int |
getGreen(java.lang.Object data) |
int |
getRed(int pixel) |
int |
getRed(java.lang.Object data) |
boolean |
isCompatibleRaster(java.awt.image.Raster raster) |
private static int[] |
makeBitArray(int nChannels,
int nBits) |
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
private int nChannels
private java.awt.image.ComponentColorModel helper
public UnsignedIntColorModel(int pixelBits, int dataType, int nChannels) throws java.io.IOException
java.io.IOException
public java.lang.Object getDataElements(int rgb, java.lang.Object pixel)
getDataElements
in class java.awt.image.ColorModel
public boolean isCompatibleRaster(java.awt.image.Raster raster)
isCompatibleRaster
in class java.awt.image.ColorModel
public java.awt.image.WritableRaster createCompatibleWritableRaster(int w, int h)
createCompatibleWritableRaster
in class java.awt.image.ColorModel
public int getAlpha(int pixel)
getAlpha
in class java.awt.image.ColorModel
public int getBlue(int pixel)
getBlue
in class java.awt.image.ColorModel
public int getGreen(int pixel)
getGreen
in class java.awt.image.ColorModel
public int getRed(int pixel)
getRed
in class java.awt.image.ColorModel
public int getAlpha(java.lang.Object data)
getAlpha
in class java.awt.image.ColorModel
public int getRed(java.lang.Object data)
getRed
in class java.awt.image.ColorModel
public int getGreen(java.lang.Object data)
getGreen
in class java.awt.image.ColorModel
public int getBlue(java.lang.Object data)
getBlue
in class java.awt.image.ColorModel
private int getComponent(int pixel, int index)
private static int[] makeBitArray(int nChannels, int nBits)
Copyright © 2022 Open Microscopy Environment