OFFIS DCMTK  Version 3.6.0
diciefn.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: DicomCIELABFunction (Header)
19  *
20  * Last Update: $Author: joergr $
21  * Update Date: $Date: 2010-10-14 13:16:25 $
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 DICIEFN_H
31 #define DICIEFN_H
32 
33 #include "dcmtk/config/osconfig.h"
34 
35 #include "dcmtk/dcmimgle/didispfn.h"
36 #include "dcmtk/dcmimgle/dicielut.h"
37 
38 
39 /*---------------------*
40  * class declaration *
41  *---------------------*/
42 
46  : public DiDisplayFunction
47 {
48 
49  public:
50 
62  DiCIELABFunction(const char *filename,
63  const E_DeviceType deviceType = EDT_Monitor,
64  const signed int ord = -1);
65 
77  DiCIELABFunction(const double *val_tab,
78  const unsigned long count,
79  const Uint16 max = 255,
80  const E_DeviceType deviceType = EDT_Monitor,
81  const signed int ord = 0);
82 
95  DiCIELABFunction(const Uint16 *ddl_tab,
96  const double *val_tab,
97  const unsigned long count,
98  const Uint16 max = 255,
99  const E_DeviceType deviceType = EDT_Monitor,
100  const signed int ord = 0);
101 
111  DiCIELABFunction(const double val_min,
112  const double val_max,
113  const unsigned long count = 256,
114  const E_DeviceType deviceType = EDT_Monitor,
115  const signed int ord = 0);
116 
119  virtual ~DiCIELABFunction();
120 
128  int writeCurveData(const char *filename,
129  const OFBool mode = OFTrue);
130 
131 
132  protected:
133 
140  DiDisplayLUT *getDisplayLUT(unsigned long count);
141 
142 
143  private:
144 
145  // --- declarations to avoid compiler warnings
146 
148  DiCIELABFunction &operator=(const DiDisplayFunction &);
149 };
150 
151 
152 #endif
153 
154 
155 /*
156  *
157  * CVS/RCS Log:
158  * $Log: diciefn.h,v $
159  * Revision 1.13 2010-10-14 13:16:25 joergr
160  * Updated copyright header. Added reference to COPYRIGHT file.
161  *
162  * Revision 1.12 2005/12/08 16:47:33 meichel
163  * Changed include path schema for all DCMTK header files
164  *
165  * Revision 1.11 2003/12/08 18:15:58 joergr
166  * Removed leading underscore characters from preprocessor symbols (reserved
167  * symbols). Updated copyright header.
168  *
169  * Revision 1.10 2002/07/19 08:24:21 joergr
170  * Enhanced/corrected comments.
171  *
172  * Revision 1.9 2002/07/18 12:26:30 joergr
173  * Added support for hardcopy and softcopy input devices (camera and scanner).
174  * Added polygonal curve fitting algorithm as an alternate interpolation
175  * method.
176  *
177  * Revision 1.8 2002/07/02 16:23:41 joergr
178  * Added support for hardcopy devices to the calibrated output routines.
179  *
180  * Revision 1.7 2001/06/01 15:49:39 meichel
181  * Updated copyright header
182  *
183  * Revision 1.6 2000/03/08 16:24:13 meichel
184  * Updated copyright header.
185  *
186  * Revision 1.5 2000/03/06 18:18:59 joergr
187  * Moved get-method to base class, renamed method and made method virtual to
188  * avoid hiding of methods (reported by Sun CC 4.2).
189  *
190  * Revision 1.4 1999/10/18 15:05:49 joergr
191  * Enhanced command line tool dcmdspfn (added new options).
192  *
193  * Revision 1.3 1999/10/18 10:15:49 joergr
194  * Moved min/max value determination to display function base class. Now the
195  * actual min/max values are also used for GSDFunction (instead of first and
196  * last luminance value).
197  *
198  * Revision 1.2 1999/09/17 12:08:22 joergr
199  * Added/changed/completed DOC++ style comments in the header files.
200  *
201  * Revision 1.1 1999/09/10 08:50:22 joergr
202  * Added support for CIELAB display function. Restructured class hierarchy
203  * for display functions.
204  *
205  *
206  */


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