OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmimage
include
dcmtk
dcmimage
diquant.h
1
/*
2
*
3
* Copyright (C) 2002-2010, OFFIS e.V.
4
* All rights reserved. See COPYRIGHT file for details.
5
*
6
* This software and supporting documentation were developed by
7
*
8
* OFFIS e.V.
9
* R&D Division Health
10
* Escherweg 2
11
* D-26121 Oldenburg, Germany
12
*
13
*
14
* Module: dcmimage
15
*
16
* Author: Marco Eichelberg
17
*
18
* Purpose: class DcmQuantFloydSteinberg
19
*
20
* Last Update: $Author: joergr $
21
* Update Date: $Date: 2010-10-14 13:16:30 $
22
* CVS/RCS Revision: $Revision: 1.7 $
23
* Status: $State: Exp $
24
*
25
* CVS/RCS Log at end of file
26
*
27
*/
28
29
30
#ifndef DIQUANT_H
31
#define DIQUANT_H
32
33
#include "dcmtk/config/osconfig.h"
34
#include "dcmtk/ofstd/ofcond.h"
/* for OFCondition */
35
#include "dcmtk/dcmdata/dctypes.h"
/* for Uint32 etc. */
36
#include "dcmtk/dcmimage/diqttype.h"
/* for enums */
37
#include "dcmtk/ofstd/ofstring.h"
/* for class OFString */
38
39
40
class
DicomImage
;
41
class
DcmItem
;
42
class
DcmTagKey
;
43
44
45
class
DcmQuant
46
{
47
public
:
48
70
static
OFCondition
createPaletteColorImage
(
71
DicomImage
& sourceImage,
72
DcmItem
& target,
73
OFBool writeAsOW,
74
OFBool write16BitEntries,
75
OFBool floydSteinberg,
76
Uint32 numberOfColors,
77
OFString
& description,
78
DcmLargestDimensionType largeType = DcmLargestDimensionType_default,
79
DcmRepresentativeColorType repType = DcmRepresentativeColorType_default);
80
87
static
OFCondition
updateDerivationDescription
(
DcmItem
*dataset,
const
char
*description);
88
89
};
90
91
92
#endif
93
94
95
/*
96
* CVS/RCS Log:
97
* $Log: diquant.h,v $
98
* Revision 1.7 2010-10-14 13:16:30 joergr
99
* Updated copyright header. Added reference to COPYRIGHT file.
100
*
101
* Revision 1.6 2009-10-13 14:08:33 uli
102
* Switched to logging mechanism provided by the "new" oflog module
103
*
104
* Revision 1.5 2005-12-08 16:01:56 meichel
105
* Changed include path schema for all DCMTK header files
106
*
107
* Revision 1.4 2004/08/24 14:55:24 meichel
108
* Removed duplicate code
109
*
110
* Revision 1.3 2003/12/23 12:21:36 joergr
111
* Updated copyright header.
112
*
113
* Revision 1.2 2003/07/04 13:25:40 meichel
114
* Replaced forward declarations for OFString with explicit includes,
115
* needed when compiling with HAVE_STD_STRING
116
*
117
* Revision 1.1 2002/01/25 13:32:08 meichel
118
* Initial release of new color quantization classes and
119
* the dcmquant tool in module dcmimage.
120
*
121
*
122
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2