static class PaletteColorModel.LUT.Packed extends PaletteColorModel.LUT
PaletteColorModel.LUT.Packed, PaletteColorModel.LUT.PerColor| Modifier and Type | Field and Description |
|---|---|
(package private) int |
offset |
(package private) int[] |
rgb |
mask| Constructor and Description |
|---|
Packed(int bits,
byte[] r,
byte[] g,
byte[] b,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAlpha(int pixel) |
int |
getBlue(int pixel) |
int |
getGreen(int pixel) |
int |
getRed(int pixel) |
int |
getRGB(int pixel) |
create, indexPacked(int bits, byte[] r, byte[] g, byte[] b, int offset)
public int getAlpha(int pixel)
getAlpha in class PaletteColorModel.LUTpublic int getRed(int pixel)
getRed in class PaletteColorModel.LUTpublic int getGreen(int pixel)
getGreen in class PaletteColorModel.LUTpublic int getBlue(int pixel)
getBlue in class PaletteColorModel.LUTpublic int getRGB(int pixel)
getRGB in class PaletteColorModel.LUTCopyright © 2017 dcm4che.org. All rights reserved.