public class ByteLookupTable extends LookupTable
Modifier and Type | Field and Description |
---|---|
private byte[] |
lut |
inBits, offset, outBits
Constructor and Description |
---|
ByteLookupTable(StoredValue inBits,
int outBits,
int offset,
byte[] lut) |
ByteLookupTable(StoredValue inBits,
int outBits,
int offset,
int size,
boolean flip) |
Modifier and Type | Method and Description |
---|---|
LookupTable |
adjustOutBits(int outBits) |
LookupTable |
combine(LookupTable other) |
private int |
index(int pixel) |
void |
inverse() |
int |
length() |
void |
lookup(byte[] src,
int srcPos,
byte[] dest,
int destPos,
int length) |
void |
lookup(byte[] src,
int srcPos,
short[] dest,
int destPos,
int length) |
void |
lookup(short[] src,
int srcPos,
byte[] dest,
int destPos,
int length) |
void |
lookup(short[] src,
int srcPos,
short[] dest,
int destPos,
int length) |
lookup
private final byte[] lut
ByteLookupTable(StoredValue inBits, int outBits, int offset, byte[] lut)
ByteLookupTable(StoredValue inBits, int outBits, int offset, int size, boolean flip)
public int length()
length
in class LookupTable
public void lookup(byte[] src, int srcPos, byte[] dest, int destPos, int length)
lookup
in class LookupTable
private int index(int pixel)
public void lookup(short[] src, int srcPos, byte[] dest, int destPos, int length)
lookup
in class LookupTable
public void lookup(byte[] src, int srcPos, short[] dest, int destPos, int length)
lookup
in class LookupTable
public void lookup(short[] src, int srcPos, short[] dest, int destPos, int length)
lookup
in class LookupTable
public LookupTable adjustOutBits(int outBits)
adjustOutBits
in class LookupTable
public void inverse()
inverse
in class LookupTable
public LookupTable combine(LookupTable other)
combine
in class LookupTable
Copyright © 2017 dcm4che.org. All rights reserved.