dcmimage/include/dcmtk/dcmimage/diqtid.h

00001 /*
00002  *
00003  *  Copyright (C) 2002-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:  dcmimage
00015  *
00016  *  Author:  Marco Eichelberg
00017  *
00018  *  Purpose: class DcmQuantIdent
00019  *
00020  *  Last Update:      $Author: joergr $
00021  *  Update Date:      $Date: 2010-10-14 13:16:30 $
00022  *  CVS/RCS Revision: $Revision: 1.4 $
00023  *  Status:           $State: Exp $
00024  *
00025  *  CVS/RCS Log at end of file
00026  *
00027  */
00028 
00029 
00030 #ifndef DIQTID_H
00031 #define DIQTID_H
00032 
00033 
00034 #include "dcmtk/config/osconfig.h"
00035 
00036 
00037 class DcmQuantPixel;
00038 
00039 
00050 class DcmQuantIdent
00051 {
00052 public:
00053 
00055   DcmQuantIdent(unsigned long cols)
00056   : columns(cols)
00057   {
00058   }
00059 
00061   ~DcmQuantIdent()
00062   {
00063   }
00064 
00066   inline void adjust(DcmQuantPixel&, long, long)
00067   {
00068   }
00069 
00071   inline void propagate(const DcmQuantPixel&, const DcmQuantPixel&, long)
00072   {
00073   }
00074 
00080   inline void startRow(long& col, long& limitcol)
00081   {
00082      col = 0;
00083      limitcol = columns;
00084   }
00085 
00087   inline void finishRow()
00088   {
00089   }
00090 
00094   inline void nextCol(long& col) const
00095   {
00096     ++col;
00097   }
00098 
00099 private:
00100 
00102   unsigned long columns;
00103 
00104 };
00105 
00106 
00107 #endif
00108 
00109 
00110 /*
00111  * CVS/RCS Log:
00112  * $Log: diqtid.h,v $
00113  * Revision 1.4  2010-10-14 13:16:30  joergr
00114  * Updated copyright header. Added reference to COPYRIGHT file.
00115  *
00116  * Revision 1.3  2005/12/08 16:01:51  meichel
00117  * Changed include path schema for all DCMTK header files
00118  *
00119  * Revision 1.2  2003/12/23 12:18:41  joergr
00120  * Updated copyright header.
00121  *
00122  * Revision 1.1  2002/01/25 13:32:06  meichel
00123  * Initial release of new color quantization classes and
00124  *   the dcmquant tool in module dcmimage.
00125  *
00126  *
00127  */


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