public class ShortLookupTable extends LookupTable
Modifier and Type | Field and Description |
---|---|
private short[] |
lut |
inBits, offset, outBits
Constructor and Description |
---|
ShortLookupTable(StoredValue inBits,
int outBits,
int offset,
int size,
boolean flip) |
ShortLookupTable(StoredValue inBits,
int outBits,
int offset,
short[] lut) |
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 short[] lut
ShortLookupTable(StoredValue inBits, int outBits, int offset, short[] lut)
ShortLookupTable(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.