private abstract static class PaletteColorModel.LUT extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
PaletteColorModel.LUT.Packed |
(package private) static class |
PaletteColorModel.LUT.PerColor |
Modifier and Type | Field and Description |
---|---|
(package private) int |
mask |
Constructor and Description |
---|
LUT(int bits) |
Modifier and Type | Method and Description |
---|---|
static PaletteColorModel.LUT |
create(int bits,
byte[] r,
byte[] g,
byte[] b,
int rOffset,
int gOffset,
int bOffset) |
(package private) abstract int |
getAlpha(int pixel) |
(package private) abstract int |
getBlue(int pixel) |
(package private) abstract int |
getGreen(int pixel) |
(package private) abstract int |
getRed(int pixel) |
(package private) abstract int |
getRGB(int pixel) |
(package private) int |
index(int pixel,
int offset,
int length) |
final int mask
LUT(int bits)
public static PaletteColorModel.LUT create(int bits, byte[] r, byte[] g, byte[] b, int rOffset, int gOffset, int bOffset)
int index(int pixel, int offset, int length)
abstract int getRed(int pixel)
abstract int getGreen(int pixel)
abstract int getBlue(int pixel)
abstract int getAlpha(int pixel)
abstract int getRGB(int pixel)
Copyright © 2017 dcm4che.org. All rights reserved.