diqtid.h

00001 /*
00002  *
00003  *  Copyright (C) 2002-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:  dcmimage
00019  *
00020  *  Author:  Marco Eichelberg
00021  *
00022  *  Purpose: class DcmQuantIdent
00023  *
00024  *  Last Update:      $Author: meichel $
00025  *  Update Date:      $Date: 2005/12/08 16:01:51 $
00026  *  CVS/RCS Revision: $Revision: 1.3 $
00027  *  Status:           $State: Exp $
00028  *
00029  *  CVS/RCS Log at end of file
00030  *
00031  */
00032 
00033 
00034 #ifndef DIQTID_H
00035 #define DIQTID_H
00036 
00037 
00038 #include "dcmtk/config/osconfig.h"
00039 
00040 
00041 class DcmQuantPixel;
00042 
00043 
00054 class DcmQuantIdent
00055 {
00056 public:
00057 
00059   DcmQuantIdent(unsigned long cols)
00060   : columns(cols)
00061   {
00062   }
00063 
00065   ~DcmQuantIdent()
00066   {
00067   }
00068 
00070   inline void adjust(DcmQuantPixel&, long, long)
00071   {
00072   }
00073 
00075   inline void propagate(const DcmQuantPixel&, const DcmQuantPixel&, long)
00076   {
00077   }
00078 
00084   inline void startRow(long& col, long& limitcol)
00085   {
00086      col = 0;
00087      limitcol = columns;
00088   }
00089 
00091   inline void finishRow()
00092   {
00093   }
00094 
00098   inline void nextCol(long& col) const
00099   {
00100     ++col;
00101   }
00102 
00103 private:
00104 
00106   unsigned long columns;
00107 
00108 };
00109 
00110 
00111 #endif
00112 
00113 
00114 /*
00115  * CVS/RCS Log:
00116  * $Log: diqtid.h,v $
00117  * Revision 1.3  2005/12/08 16:01:51  meichel
00118  * Changed include path schema for all DCMTK header files
00119  *
00120  * Revision 1.2  2003/12/23 12:18:41  joergr
00121  * Updated copyright header.
00122  *
00123  * Revision 1.1  2002/01/25 13:32:06  meichel
00124  * Initial release of new color quantization classes and
00125  *   the dcmquant tool in module dcmimage.
00126  *
00127  *
00128  */


Generated on 20 Dec 2005 for OFFIS DCMTK Version 3.5.4 by Doxygen 1.4.5