dcmimage/include/dcmtk/dcmimage/diqttype.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: typdefs and constants for the color quantization classes
00019  *
00020  *  Last Update:      $Author: joergr $
00021  *  Update Date:      $Date: 2010-10-14 13:16:30 $
00022  *  CVS/RCS Revision: $Revision: 1.6 $
00023  *  Status:           $State: Exp $
00024  *
00025  *  CVS/RCS Log at end of file
00026  *
00027  */
00028 
00029 
00030 #ifndef DIQTTYPE_H
00031 #define DIQTTYPE_H
00032 
00033 
00034 #include "dcmtk/config/osconfig.h"
00035 
00037 typedef unsigned char DcmQuantComponent;
00038 
00040 #define DcmQuantHashSize 20023UL
00041 
00047 #define DcmQuantMaxColors 65536
00048 
00049 
00053 enum DcmLargestDimensionType
00054 {
00056   DcmLargestDimensionType_default,
00057 
00059   DcmLargestDimensionType_luminance
00060 };
00061 
00062 
00066 enum DcmRepresentativeColorType
00067 {
00069   DcmRepresentativeColorType_default,
00070 
00072   DcmRepresentativeColorType_averagePixels,
00073 
00075   DcmRepresentativeColorType_centerOfBox
00076 
00077 };
00078 
00079 #endif
00080 
00081 
00082 /*
00083  * CVS/RCS Log:
00084  * $Log: diqttype.h,v $
00085  * Revision 1.6  2010-10-14 13:16:30  joergr
00086  * Updated copyright header. Added reference to COPYRIGHT file.
00087  *
00088  * Revision 1.5  2009-11-25 14:36:20  joergr
00089  * Added new source and header file for the module logger.
00090  *
00091  * Revision 1.4  2009-10-13 14:08:33  uli
00092  * Switched to logging mechanism provided by the "new" oflog module
00093  *
00094  * Revision 1.3  2005-12-08 16:01:55  meichel
00095  * Changed include path schema for all DCMTK header files
00096  *
00097  * Revision 1.2  2003/12/23 12:21:09  joergr
00098  * Updated copyright header.
00099  *
00100  * Revision 1.1  2002/01/25 13:32:08  meichel
00101  * Initial release of new color quantization classes and
00102  *   the dcmquant tool in module dcmimage.
00103  *
00104  *
00105  */


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