dcmimgle/include/dcmtk/dcmimgle/digsdlut.h

00001 /*
00002  *
00003  *  Copyright (C) 1996-2010, OFFIS e.V.
00004  *  All rights reserved.  See COPYRIGHT file for details.
00005  *
00006  *  This software and supporting documentation were developed by
00007  *
00008  *    OFFIS e.V.
00009  *    R&D Division Health
00010  *    Escherweg 2
00011  *    D-26121 Oldenburg, Germany
00012  *
00013  *
00014  *  Module:  dcmimgle
00015  *
00016  *  Author:  Joerg Riesmeier
00017  *
00018  *  Purpose: DicomGSDFLUT (Header)
00019  *
00020  *  Last Update:      $Author: joergr $
00021  *  Update Date:      $Date: 2010-10-14 13:16:26 $
00022  *  CVS/RCS Revision: $Revision: 1.13 $
00023  *  Status:           $State: Exp $
00024  *
00025  *  CVS/RCS Log at end of file
00026  *
00027  */
00028 
00029 
00030 #ifndef DIGSDLUT_H
00031 #define DIGSDLUT_H
00032 
00033 #include "dcmtk/config/osconfig.h"
00034 
00035 #include "dcmtk/dcmimgle/didislut.h"
00036 
00037 
00038 /*---------------------*
00039  *  class declaration  *
00040  *---------------------*/
00041 
00044 class DiGSDFLUT
00045   : public DiDisplayLUT
00046 {
00047 
00048  public:
00049 
00070     DiGSDFLUT(const unsigned long count,
00071               const Uint16 max,
00072               const Uint16 *ddl_tab,
00073               const double *val_tab,
00074               const unsigned long ddl_cnt,
00075               const double *gsdf_tab,
00076               const double *gsdf_spl,
00077               const unsigned int gsdf_cnt,
00078               const double jnd_min,
00079               const double jnd_max,
00080               const double lum_min,
00081               const double lum_max,
00082               const double amb,
00083               const double illum,
00084               const OFBool inverse = OFFalse,
00085               STD_NAMESPACE ostream *stream = NULL,
00086               const OFBool printMode = OFTrue);
00087 
00090     virtual ~DiGSDFLUT();
00091 
00092 
00093  protected:
00094 
00113     int createLUT(const Uint16 *ddl_tab,
00114                   const double *val_tab,
00115                   const unsigned long ddl_cnt,
00116                   const double *gsdf_tab,
00117                   const double *gsdf_spl,
00118                   const unsigned int gsdf_cnt,
00119                   const double jnd_min,
00120                   const double jnd_max,
00121                   const double lum_min,
00122                   const double lum_max,
00123                   const OFBool inverse = OFFalse,
00124                   STD_NAMESPACE ostream *stream = NULL,
00125                   const OFBool printMode = OFTrue);
00126 };
00127 
00128 
00129 #endif
00130 
00131 
00132 /*
00133  *
00134  * CVS/RCS Log:
00135  * $Log: digsdlut.h,v $
00136  * Revision 1.13  2010-10-14 13:16:26  joergr
00137  * Updated copyright header. Added reference to COPYRIGHT file.
00138  *
00139  * Revision 1.12  2006/08/15 16:30:11  meichel
00140  * Updated the code in module dcmimgle to correctly compile when
00141  *   all standard C++ classes remain in namespace std.
00142  *
00143  * Revision 1.11  2005/12/08 16:47:41  meichel
00144  * Changed include path schema for all DCMTK header files
00145  *
00146  * Revision 1.10  2003/12/08 18:21:48  joergr
00147  * Removed leading underscore characters from preprocessor symbols (reserved
00148  * symbols). Updated CVS header.
00149  *
00150  * Revision 1.9  2003/06/12 15:08:34  joergr
00151  * Fixed inconsistent API documentation reported by Doxygen.
00152  *
00153  * Revision 1.8  2003/02/11 10:01:14  joergr
00154  * Added support for Dmin/max to calibration routines (required for printers).
00155  *
00156  * Revision 1.7  2002/07/18 12:30:26  joergr
00157  * Added support for hardcopy and softcopy input devices (camera and scanner).
00158  *
00159  * Revision 1.6  2002/07/02 16:23:42  joergr
00160  * Added support for hardcopy devices to the calibrated output routines.
00161  *
00162  * Revision 1.5  2001/06/01 15:49:41  meichel
00163  * Updated copyright header
00164  *
00165  * Revision 1.4  2000/03/08 16:24:16  meichel
00166  * Updated copyright header.
00167  *
00168  * Revision 1.3  1999/10/18 15:05:52  joergr
00169  * Enhanced command line tool dcmdspfn (added new options).
00170  *
00171  * Revision 1.2  1999/09/17 12:11:32  joergr
00172  * Added/changed/completed DOC++ style comments in the header files.
00173  *
00174  * Revision 1.1  1999/09/10 08:50:24  joergr
00175  * Added support for CIELAB display function. Restructured class hierarchy
00176  * for display functions.
00177  *
00178  */


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1