00001 /* 00002 * 00003 * Copyright (C) 1996-2005, OFFIS 00004 * 00005 * This software and supporting documentation were developed by 00006 * 00007 * Kuratorium OFFIS e.V. 00008 * Healthcare Information and Communication Systems 00009 * Escherweg 2 00010 * D-26121 Oldenburg, Germany 00011 * 00012 * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY 00013 * REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR 00014 * FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR 00015 * ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND 00016 * PERFORMANCE OF THE SOFTWARE IS WITH THE USER. 00017 * 00018 * Module: dcmimgle 00019 * 00020 * Author: Joerg Riesmeier 00021 * 00022 * Purpose: DicomGSDFLUT (Header) 00023 * 00024 * Last Update: $Author: meichel $ 00025 * Update Date: $Date: 2005/12/08 16:47:41 $ 00026 * CVS/RCS Revision: $Revision: 1.11 $ 00027 * Status: $State: Exp $ 00028 * 00029 * CVS/RCS Log at end of file 00030 * 00031 */ 00032 00033 00034 #ifndef DIGSDLUT_H 00035 #define DIGSDLUT_H 00036 00037 #include "dcmtk/config/osconfig.h" 00038 00039 #include "dcmtk/dcmimgle/didislut.h" 00040 00041 00042 /*---------------------* 00043 * class declaration * 00044 *---------------------*/ 00045 00048 class DiGSDFLUT 00049 : public DiDisplayLUT 00050 { 00051 00052 public: 00053 00074 DiGSDFLUT(const unsigned long count, 00075 const Uint16 max, 00076 const Uint16 *ddl_tab, 00077 const double *val_tab, 00078 const unsigned long ddl_cnt, 00079 const double *gsdf_tab, 00080 const double *gsdf_spl, 00081 const unsigned int gsdf_cnt, 00082 const double jnd_min, 00083 const double jnd_max, 00084 const double lum_min, 00085 const double lum_max, 00086 const double amb, 00087 const double illum, 00088 const OFBool inverse = OFFalse, 00089 ostream *stream = NULL, 00090 const OFBool printMode = OFTrue); 00091 00094 virtual ~DiGSDFLUT(); 00095 00096 00097 protected: 00098 00117 int createLUT(const Uint16 *ddl_tab, 00118 const double *val_tab, 00119 const unsigned long ddl_cnt, 00120 const double *gsdf_tab, 00121 const double *gsdf_spl, 00122 const unsigned int gsdf_cnt, 00123 const double jnd_min, 00124 const double jnd_max, 00125 const double lum_min, 00126 const double lum_max, 00127 const OFBool inverse = OFFalse, 00128 ostream *stream = NULL, 00129 const OFBool printMode = OFTrue); 00130 }; 00131 00132 00133 #endif 00134 00135 00136 /* 00137 * 00138 * CVS/RCS Log: 00139 * $Log: digsdlut.h,v $ 00140 * Revision 1.11 2005/12/08 16:47:41 meichel 00141 * Changed include path schema for all DCMTK header files 00142 * 00143 * Revision 1.10 2003/12/08 18:21:48 joergr 00144 * Removed leading underscore characters from preprocessor symbols (reserved 00145 * symbols). Updated CVS header. 00146 * 00147 * Revision 1.9 2003/06/12 15:08:34 joergr 00148 * Fixed inconsistent API documentation reported by Doxygen. 00149 * 00150 * Revision 1.8 2003/02/11 10:01:14 joergr 00151 * Added support for Dmin/max to calibration routines (required for printers). 00152 * 00153 * Revision 1.7 2002/07/18 12:30:26 joergr 00154 * Added support for hardcopy and softcopy input devices (camera and scanner). 00155 * 00156 * Revision 1.6 2002/07/02 16:23:42 joergr 00157 * Added support for hardcopy devices to the calibrated output routines. 00158 * 00159 * Revision 1.5 2001/06/01 15:49:41 meichel 00160 * Updated copyright header 00161 * 00162 * Revision 1.4 2000/03/08 16:24:16 meichel 00163 * Updated copyright header. 00164 * 00165 * Revision 1.3 1999/10/18 15:05:52 joergr 00166 * Enhanced command line tool dcmdspfn (added new options). 00167 * 00168 * Revision 1.2 1999/09/17 12:11:32 joergr 00169 * Added/changed/completed DOC++ style comments in the header files. 00170 * 00171 * Revision 1.1 1999/09/10 08:50:24 joergr 00172 * Added support for CIELAB display function. Restructured class hierarchy 00173 * for display functions. 00174 * 00175 */