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, index
Packed(int bits, byte[] r, byte[] g, byte[] b, int offset)
public int getAlpha(int pixel)
getAlpha
in class PaletteColorModel.LUT
public int getRed(int pixel)
getRed
in class PaletteColorModel.LUT
public int getGreen(int pixel)
getGreen
in class PaletteColorModel.LUT
public int getBlue(int pixel)
getBlue
in class PaletteColorModel.LUT
public int getRGB(int pixel)
getRGB
in class PaletteColorModel.LUT
Copyright © 2017 dcm4che.org. All rights reserved.