|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.desy.video.sw.CColorLookupTable
public final class CColorLookupTable
CColorLookupTable
creates, prepares and maintains a false colour table
necessary to decode pure grayscale image data to true colour display. Three false colour
tables (mappings) are supported at the moment:
Field Summary | |
---|---|
static int |
FALSEJET
MATLAB JET false colour mode id |
static int |
FALSEPITZ
PITZ false colour mode id |
static int |
GRAYSCALE
grayscale mode id |
Constructor Summary | |
---|---|
CColorLookupTable()
initializes default false colour table (1 byte per pixel, 8 effective bits, PITZ false colour) |
Method Summary | |
---|---|
boolean |
AdjustTable(int aMode,
int aByPP,
int aEBitPP)
performs recalculation of the mapped false colour table in case the parameters have been changed. |
int[] |
getColorLookupTable()
user code can obtain a reference to the internal memory buffer that contains the current false colour mapping |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int GRAYSCALE
public static final int FALSEPITZ
public static final int FALSEJET
Constructor Detail |
---|
public CColorLookupTable()
Method Detail |
---|
public int[] getColorLookupTable()
public boolean AdjustTable(int aMode, int aByPP, int aEBitPP)
aMode
- false colour mode CColorLookupTable.GRAYSCALE, CColorLookupTable.FALSEPITZ
or CColorLookupTable.FALSEJETaByPP
- bytes per pixel setting for new table to calculate
(allowed values are 1, 2, 3)aEBitPP
- effective bits per pixel setting (effective bits must fit inside
bytes per pixel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |