OFFIS DCMTK  Version 3.6.0
digsdlut.h
1 /*
2  *
3  * Copyright (C) 1996-2010, OFFIS e.V.
4  * All rights reserved. See COPYRIGHT file for details.
5  *
6  * This software and supporting documentation were developed by
7  *
8  * OFFIS e.V.
9  * R&D Division Health
10  * Escherweg 2
11  * D-26121 Oldenburg, Germany
12  *
13  *
14  * Module: dcmimgle
15  *
16  * Author: Joerg Riesmeier
17  *
18  * Purpose: DicomGSDFLUT (Header)
19  *
20  * Last Update: $Author: joergr $
21  * Update Date: $Date: 2010-10-14 13:16:26 $
22  * CVS/RCS Revision: $Revision: 1.13 $
23  * Status: $State: Exp $
24  *
25  * CVS/RCS Log at end of file
26  *
27  */
28 
29 
30 #ifndef DIGSDLUT_H
31 #define DIGSDLUT_H
32 
33 #include "dcmtk/config/osconfig.h"
34 
35 #include "dcmtk/dcmimgle/didislut.h"
36 
37 
38 /*---------------------*
39  * class declaration *
40  *---------------------*/
41 
44 class DiGSDFLUT
45  : public DiDisplayLUT
46 {
47 
48  public:
49 
70  DiGSDFLUT(const unsigned long count,
71  const Uint16 max,
72  const Uint16 *ddl_tab,
73  const double *val_tab,
74  const unsigned long ddl_cnt,
75  const double *gsdf_tab,
76  const double *gsdf_spl,
77  const unsigned int gsdf_cnt,
78  const double jnd_min,
79  const double jnd_max,
80  const double lum_min,
81  const double lum_max,
82  const double amb,
83  const double illum,
84  const OFBool inverse = OFFalse,
85  STD_NAMESPACE ostream *stream = NULL,
86  const OFBool printMode = OFTrue);
87 
90  virtual ~DiGSDFLUT();
91 
92 
93  protected:
94 
113  int createLUT(const Uint16 *ddl_tab,
114  const double *val_tab,
115  const unsigned long ddl_cnt,
116  const double *gsdf_tab,
117  const double *gsdf_spl,
118  const unsigned int gsdf_cnt,
119  const double jnd_min,
120  const double jnd_max,
121  const double lum_min,
122  const double lum_max,
123  const OFBool inverse = OFFalse,
124  STD_NAMESPACE ostream *stream = NULL,
125  const OFBool printMode = OFTrue);
126 };
127 
128 
129 #endif
130 
131 
132 /*
133  *
134  * CVS/RCS Log:
135  * $Log: digsdlut.h,v $
136  * Revision 1.13 2010-10-14 13:16:26 joergr
137  * Updated copyright header. Added reference to COPYRIGHT file.
138  *
139  * Revision 1.12 2006/08/15 16:30:11 meichel
140  * Updated the code in module dcmimgle to correctly compile when
141  * all standard C++ classes remain in namespace std.
142  *
143  * Revision 1.11 2005/12/08 16:47:41 meichel
144  * Changed include path schema for all DCMTK header files
145  *
146  * Revision 1.10 2003/12/08 18:21:48 joergr
147  * Removed leading underscore characters from preprocessor symbols (reserved
148  * symbols). Updated CVS header.
149  *
150  * Revision 1.9 2003/06/12 15:08:34 joergr
151  * Fixed inconsistent API documentation reported by Doxygen.
152  *
153  * Revision 1.8 2003/02/11 10:01:14 joergr
154  * Added support for Dmin/max to calibration routines (required for printers).
155  *
156  * Revision 1.7 2002/07/18 12:30:26 joergr
157  * Added support for hardcopy and softcopy input devices (camera and scanner).
158  *
159  * Revision 1.6 2002/07/02 16:23:42 joergr
160  * Added support for hardcopy devices to the calibrated output routines.
161  *
162  * Revision 1.5 2001/06/01 15:49:41 meichel
163  * Updated copyright header
164  *
165  * Revision 1.4 2000/03/08 16:24:16 meichel
166  * Updated copyright header.
167  *
168  * Revision 1.3 1999/10/18 15:05:52 joergr
169  * Enhanced command line tool dcmdspfn (added new options).
170  *
171  * Revision 1.2 1999/09/17 12:11:32 joergr
172  * Added/changed/completed DOC++ style comments in the header files.
173  *
174  * Revision 1.1 1999/09/10 08:50:24 joergr
175  * Added support for CIELAB display function. Restructured class hierarchy
176  * for display functions.
177  *
178  */


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2