org.dcm4che2.image
Class PartialComponentColorModel
java.lang.Object
java.awt.image.ColorModel
org.dcm4che2.image.PartialComponentColorModel
- All Implemented Interfaces:
- java.awt.Transparency
public class PartialComponentColorModel
- extends java.awt.image.ColorModel
Fields inherited from class java.awt.image.ColorModel |
pixel_bits, transferType |
Fields inherited from interface java.awt.Transparency |
BITMASK, OPAQUE, TRANSLUCENT |
Methods inherited from class java.awt.image.ColorModel |
coerceData, createCompatibleWritableRaster, equals, finalize, getAlphaRaster, getColorSpace, getComponents, getComponents, getComponentSize, getComponentSize, getDataElement, getDataElement, getDataElements, getDataElements, getDataElements, getNormalizedComponents, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRGB, getRGBdefault, getTransferType, getTransparency, getUnnormalizedComponents, hasAlpha, hashCode, isAlphaPremultiplied, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
PartialComponentColorModel
public PartialComponentColorModel(java.awt.color.ColorSpace cspace,
int subsampleX,
int subsampleY)
isCompatibleRaster
public boolean isCompatibleRaster(java.awt.image.Raster raster)
- Overrides:
isCompatibleRaster
in class java.awt.image.ColorModel
isCompatibleSampleModel
public boolean isCompatibleSampleModel(java.awt.image.SampleModel sm)
- Overrides:
isCompatibleSampleModel
in class java.awt.image.ColorModel
createCompatibleSampleModel
public java.awt.image.SampleModel createCompatibleSampleModel(int w,
int h)
- Overrides:
createCompatibleSampleModel
in class java.awt.image.ColorModel
getAlpha
public int getAlpha(int pixel)
- Specified by:
getAlpha
in class java.awt.image.ColorModel
getBlue
public int getBlue(int pixel)
- Specified by:
getBlue
in class java.awt.image.ColorModel
getGreen
public int getGreen(int pixel)
- Specified by:
getGreen
in class java.awt.image.ColorModel
getRed
public int getRed(int pixel)
- Specified by:
getRed
in class java.awt.image.ColorModel
getAlpha
public int getAlpha(java.lang.Object inData)
- Overrides:
getAlpha
in class java.awt.image.ColorModel
getBlue
public int getBlue(java.lang.Object inData)
- Overrides:
getBlue
in class java.awt.image.ColorModel
getGreen
public int getGreen(java.lang.Object inData)
- Overrides:
getGreen
in class java.awt.image.ColorModel
getRed
public int getRed(java.lang.Object inData)
- Overrides:
getRed
in class java.awt.image.ColorModel
getRGB
public int getRGB(java.lang.Object inData)
- Overrides:
getRGB
in class java.awt.image.ColorModel
toString
public java.lang.String toString(float[] rgb)
toString
public java.lang.String toString(byte[] rgb)
Copyright © 2011 dcm4che. All Rights Reserved.