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: typdefs and constants for the color quantization classes 00023 * 00024 * Last Update: $Author: meichel $ 00025 * Update Date: $Date: 2005/12/08 16:01:55 $ 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 DIQTTYPE_H 00035 #define DIQTTYPE_H 00036 00037 00038 #include "dcmtk/config/osconfig.h" 00039 00040 00042 typedef unsigned char DcmQuantComponent; 00043 00045 #define DcmQuantHashSize 20023UL 00046 00052 #define DcmQuantMaxColors 65536 00053 00054 00058 enum DcmLargestDimensionType 00059 { 00061 DcmLargestDimensionType_default, 00062 00064 DcmLargestDimensionType_luminance 00065 }; 00066 00067 00071 enum DcmRepresentativeColorType 00072 { 00074 DcmRepresentativeColorType_default, 00075 00077 DcmRepresentativeColorType_averagePixels, 00078 00080 DcmRepresentativeColorType_centerOfBox 00081 00082 }; 00083 00084 #endif 00085 00086 00087 /* 00088 * CVS/RCS Log: 00089 * $Log: diqttype.h,v $ 00090 * Revision 1.3 2005/12/08 16:01:55 meichel 00091 * Changed include path schema for all DCMTK header files 00092 * 00093 * Revision 1.2 2003/12/23 12:21:09 joergr 00094 * Updated copyright header. 00095 * 00096 * Revision 1.1 2002/01/25 13:32:08 meichel 00097 * Initial release of new color quantization classes and 00098 * the dcmquant tool in module dcmimage. 00099 * 00100 * 00101 */