|
DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
Class to compute and store the CIELAB lookup table. More...
Inheritance diagram for DiCIELABLUT: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 | |
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 | |
Class to compute and store the CIELAB lookup table.
| 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 |
| 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, |
||
| STD_NAMESPACE ostream * | stream = NULL, |
||
| const OFBool | printMode = 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 |