OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmimage
include
dcmtk
dcmimage
diqtid.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 DcmQuantIdent
19
*
20
* Last Update: $Author: joergr $
21
* Update Date: $Date: 2010-10-14 13:16:30 $
22
* CVS/RCS Revision: $Revision: 1.4 $
23
* Status: $State: Exp $
24
*
25
* CVS/RCS Log at end of file
26
*
27
*/
28
29
30
#ifndef DIQTID_H
31
#define DIQTID_H
32
33
34
#include "dcmtk/config/osconfig.h"
35
36
37
class
DcmQuantPixel
;
38
39
50
class
DcmQuantIdent
51
{
52
public
:
53
55
DcmQuantIdent
(
unsigned
long
cols)
56
:
columns
(cols)
57
{
58
}
59
61
~DcmQuantIdent
()
62
{
63
}
64
66
inline
void
adjust
(
DcmQuantPixel
&,
long
,
long
)
67
{
68
}
69
71
inline
void
propagate
(
const
DcmQuantPixel
&,
const
DcmQuantPixel
&,
long
)
72
{
73
}
74
80
inline
void
startRow
(
long
& col,
long
& limitcol)
81
{
82
col = 0;
83
limitcol =
columns
;
84
}
85
87
inline
void
finishRow
()
88
{
89
}
90
94
inline
void
nextCol
(
long
& col)
const
95
{
96
++col;
97
}
98
99
private
:
100
102
unsigned
long
columns
;
103
104
};
105
106
107
#endif
108
109
110
/*
111
* CVS/RCS Log:
112
* $Log: diqtid.h,v $
113
* Revision 1.4 2010-10-14 13:16:30 joergr
114
* Updated copyright header. Added reference to COPYRIGHT file.
115
*
116
* Revision 1.3 2005/12/08 16:01:51 meichel
117
* Changed include path schema for all DCMTK header files
118
*
119
* Revision 1.2 2003/12/23 12:18:41 joergr
120
* Updated copyright header.
121
*
122
* Revision 1.1 2002/01/25 13:32:06 meichel
123
* Initial release of new color quantization classes and
124
* the dcmquant tool in module dcmimage.
125
*
126
*
127
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2