DiCIELABLUT Class Reference

Class to compute and store the CIELAB lookup table. More...

Inheritance diagram for DiCIELABLUT:

DiDisplayLUT DiBaseLUT List of all members.

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, ostream *stream=NULL, const OFBool printMode=OFTrue)
 constructor
virtual ~DiCIELABLUT ()
 destructor

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, ostream *stream=NULL, const OFBool printMode=OFTrue)
 create lookup table

Detailed Description

Class to compute and store the CIELAB lookup table.

Definition at line 48 of file dicielut.h.


Constructor & Destructor Documentation

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,
ostream *  stream = NULL,
const OFBool  printMode = OFTrue
 

constructor

Parameters:
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


Member Function Documentation

int DiCIELABLUT::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,
ostream *  stream = NULL,
const OFBool  printMode = OFTrue
[protected]
 

create lookup table

Parameters:
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
Returns:
status, true if successful, false otherwise


The documentation for this class was generated from the following file:


Generated on 20 Dec 2005 for OFFIS DCMTK Version 3.5.4 by Doxygen 1.4.5