OFFIS DCMTK
Version 3.6.0
|
Class to compute and store the CIELAB lookup table. More...
Public Member Functions | |
DiCIELABLUT (const unsigned long count, const Uint16 max, const Uint16 *ddl_tab, const double *val_tab, const unsigned long ddl_cnt, const double val_min, const double val_max, const double lum_min, const double lum_max, const double amb, const OFBool inverse=OFFalse, STD_NAMESPACE ostream *stream=NULL, const OFBool printMode=OFTrue) | |
constructor | |
virtual | ~DiCIELABLUT () |
destructor | |
![]() | |
DiDisplayLUT (const unsigned long count, const Uint16 max, const double amb, const double illum=0) | |
constructor | |
virtual | ~DiDisplayLUT () |
destructor | |
double | getAmbientLightValue () const |
get ambient light value | |
double | getIlluminationValue () const |
get illumination value | |
![]() | |
DiBaseLUT (const Uint32 count=0, const Uint16 bits=0) | |
constructor | |
virtual | ~DiBaseLUT () |
destructor | |
Uint32 | getCount () const |
get number of LUT entries | |
Uint16 | getBits () const |
get number of bits per entry | |
Uint32 | getFirstEntry (const Uint32=0) const |
get index of first LUT entry. | |
Sint32 | getFirstEntry (const Sint32) const |
get index of first LUT entry. | |
Uint32 | getLastEntry (const Uint32=0) const |
get index of last LUT entry. | |
Sint32 | getLastEntry (const Sint32) const |
get index of last LUT entry. | |
Uint16 | getValue (const Uint16 pos) const |
get value of specified LUT entry | |
Uint16 | getValue (const Uint32 pos) const |
get value of specified LUT entry. | |
Uint16 | getValue (const Sint32 pos) const |
get value of specified LUT entry. | |
Uint16 | getFirstValue () const |
get value of first LUT entry. | |
Uint16 | getLastValue () const |
get value of last LUT entry. | |
const Uint16 * | getData () const |
get pointer to LUT data | |
Uint16 | getMinValue () const |
get minimum value of the LUT. | |
Uint16 | getMaxValue () const |
get maximum value of the LUT. | |
Uint32 | getAbsMaxRange () const |
get absolute value range of the LUT entries. | |
int | isValid () const |
check whether LUT is valid | |
const char * | getExplanation () const |
get LUT explanation string | |
virtual OFBool | operator== (const DiBaseLUT &lut) |
compares current LUT with specified LUT | |
Protected Member Functions | |
int | createLUT (const Uint16 *ddl_tab, const double *val_tab, const unsigned long ddl_cnt, const double val_min, const double val_max, const double lum_min, const double lum_max, const OFBool inverse=OFFalse, STD_NAMESPACE ostream *stream=NULL, const OFBool printMode=OFTrue) |
create lookup table | |
Additional Inherited Members | |
![]() | |
Uint32 | Count |
number of LUT entries | |
Uint16 | FirstEntry |
first input value mapped (FIV) | |
Uint16 | Bits |
number of bits per entry | |
Uint16 | MinValue |
minimum LUT value | |
Uint16 | MaxValue |
maximum LUT value | |
int | Valid |
status code, indicating whether LUT is valid | |
OFString | Explanation |
LUT explanation string. | |
const Uint16 * | Data |
pointer to lookup table data | |
Uint16 * | DataBuffer |
pointer to data buffer (will be deleted in the destructor) | |
Class to compute and store the CIELAB lookup table.
Definition at line 44 of file dicielut.h.
DiCIELABLUT::DiCIELABLUT | ( | const unsigned long | count, |
const Uint16 | max, | ||
const Uint16 * | ddl_tab, | ||
const double * | val_tab, | ||
const unsigned long | ddl_cnt, | ||
const double | val_min, | ||
const double | val_max, | ||
const double | lum_min, | ||
const double | lum_max, | ||
const double | amb, | ||
const OFBool | inverse = OFFalse , |
||
STD_NAMESPACE ostream * | stream = NULL , |
||
const OFBool | printMode = OFTrue |
||
) |
constructor
count | number of values to be stored in the LUT |
max | maximum value to be stored in the LUT |
ddl_tab | array of DDL values |
val_tab | array of values |
ddl_cnt | number of DDL values |
val_min | minimum value in the array |
val_max | maximum value in the array |
lum_min | minimum luminance value to be used (lower border) |
lum_max | maximum luminance value to be used (upper border) |
amb | ambient light value |
inverse | apply inverse transformation if OFTrue |
stream | output stream (used to write curve data to a file) |
printMode | write CC and PSC to stream if OFTrue |
|
protected |
create lookup table
ddl_tab | array of DDL values |
val_tab | array of values |
ddl_cnt | number of DDL values |
val_min | minimum value in the array |
val_max | maximum value in the array |
lum_min | minimum luminance value to be used (lower border) |
lum_max | maximum luminance value to be used (upper border) |
inverse | apply inverse transformation if OFTrue |
stream | output stream (used to write curve data to a file) |
printMode | write CC and PSC to stream if OFTrue |