OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmjpeg
include
dcmtk
dcmjpeg
djdecode.h
1
/*
2
*
3
* Copyright (C) 1997-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: dcmjpeg
15
*
16
* Author: Marco Eichelberg
17
*
18
* Purpose: singleton class that registers decoders for all supported JPEG processes.
19
*
20
* Last Update: $Author: joergr $
21
* Update Date: $Date: 2010-10-14 13:17:17 $
22
* CVS/RCS Revision: $Revision: 1.6 $
23
* Status: $State: Exp $
24
*
25
* CVS/RCS Log at end of file
26
*
27
*/
28
29
#ifndef DJDECODE_H
30
#define DJDECODE_H
31
32
#include "dcmtk/config/osconfig.h"
33
#include "dcmtk/ofstd/oftypes.h"
/* for OFBool */
34
#include "dcmtk/dcmjpeg/djutils.h"
35
36
class
DJCodecParameter
;
37
class
DJDecoderBaseline
;
38
class
DJDecoderExtended
;
39
class
DJDecoderLossless
;
40
class
DJDecoderP14SV1
;
41
class
DJDecoderProgressive
;
42
class
DJDecoderSpectralSelection
;
43
46
class
DJDecoderRegistration
47
{
48
public
:
59
static
void
registerCodecs
(
60
E_DecompressionColorSpaceConversion pDecompressionCSConversion = EDC_photometricInterpretation,
61
E_UIDCreation pCreateSOPInstanceUID = EUC_default,
62
E_PlanarConfiguration pPlanarConfiguration = EPC_default,
63
OFBool predictor6WorkaroundEnable = OFFalse);
64
70
static
void
cleanup
();
71
72
private
:
73
75
static
OFBool
registered
;
76
78
static
DJCodecParameter
*
cp
;
79
81
static
DJDecoderBaseline
*
decbas
;
82
84
static
DJDecoderExtended
*
decext
;
85
87
static
DJDecoderSpectralSelection
*
decsps
;
88
90
static
DJDecoderProgressive
*
decpro
;
91
93
static
DJDecoderP14SV1
*
decsv1
;
94
96
static
DJDecoderLossless
*
declol
;
97
98
};
99
100
#endif
101
102
/*
103
* CVS/RCS Log
104
* $Log: djdecode.h,v $
105
* Revision 1.6 2010-10-14 13:17:17 joergr
106
* Updated copyright header. Added reference to COPYRIGHT file.
107
*
108
* Revision 1.5 2009-10-07 12:44:33 uli
109
* Switched to logging mechanism provided by the "new" oflog module.
110
*
111
* Revision 1.4 2006-03-29 15:58:52 meichel
112
* Added support for decompressing images with 16 bits/pixel compressed with
113
* a faulty lossless JPEG encoder that produces integer overflows in predictor 6.
114
*
115
* Revision 1.3 2005/12/08 16:59:18 meichel
116
* Changed include path schema for all DCMTK header files
117
*
118
* Revision 1.2 2001/11/19 15:13:27 meichel
119
* Introduced verbose mode in module dcmjpeg. If enabled, warning
120
* messages from the IJG library are printed on ofConsole, otherwise
121
* the library remains quiet.
122
*
123
* Revision 1.1 2001/11/13 15:56:20 meichel
124
* Initial release of module dcmjpeg
125
*
126
*
127
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2