OFFIS DCMTK  Version 3.6.0
djencode.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: dcmjpls
15  *
16  * Author: Martin Willkomm, Uli Schlachter
17  *
18  * Purpose: singleton class that registers encoders for all supported JPEG-LS processes.
19  *
20  * Last Update: $Author: joergr $
21  * Update Date: $Date: 2010-10-14 13:17:19 $
22  * CVS/RCS Revision: $Revision: 1.5 $
23  * Status: $State: Exp $
24  *
25  * CVS/RCS Log at end of file
26  *
27  */
28 
29 #ifndef DCMJPLS_DJENCODE_H
30 #define DCMJPLS_DJENCODE_H
31 
32 #include "dcmtk/config/osconfig.h"
33 #include "dcmtk/ofstd/oftypes.h" /* for OFBool */
34 #include "dcmtk/dcmjpls/djlsutil.h"
35 #include "dcmtk/dcmdata/dctypes.h" /* for Uint32 */
36 #include "dcmtk/dcmjpls/djcparam.h" /* for class DJLSCodecParameter */
37 
38 class DJLSCodecParameter;
41 
45 {
46 public:
47 
64  static void registerCodecs(
65  OFBool jpls_optionsEnabled = OFFalse,
66  Uint16 jpls_t1 = 3,
67  Uint16 jpls_t2 = 7,
68  Uint16 jpls_t3 = 21,
69  Uint16 jpls_reset = 64,
70  Uint16 jpls_limit = 0,
71  OFBool preferCookedEncoding = OFTrue,
72  Uint32 fragmentSize = 0,
73  OFBool createOffsetTable = OFTrue,
74  JLS_UIDCreation uidCreation = EJLSUC_default,
75  OFBool convertToSC = OFFalse,
77 
83  static void cleanup();
84 
85 private:
86 
88  static OFBool registered_;
89 
92 
95 
98 
99 };
100 
101 #endif
102 
103 /*
104  * CVS/RCS Log:
105  * $Log: djencode.h,v $
106  * Revision 1.5 2010-10-14 13:17:19 joergr
107  * Updated copyright header. Added reference to COPYRIGHT file.
108  *
109  * Revision 1.4 2010-03-01 10:35:28 uli
110  * Renamed include guards to avoid name clash with e.g. dcmjpeg.
111  *
112  * Revision 1.3 2009-10-07 13:16:47 uli
113  * Switched to logging mechanism provided by the "new" oflog module.
114  *
115  * Revision 1.2 2009-07-31 09:14:53 meichel
116  * Added codec parameter and command line options that allow to control
117  * the interleave mode used in the JPEG-LS bitstream when compressing
118  * color images.
119  *
120  * Revision 1.1 2009-07-29 14:46:46 meichel
121  * Initial release of module dcmjpls, a JPEG-LS codec for DCMTK based on CharLS
122  *
123  * Revision 1.1 2007-06-15 14:35:45 meichel
124  * Renamed CMake project and include directory from dcmjpgls to dcmjpls
125  *
126  * Revision 1.3 2007/06/14 12:36:14 meichel
127  * Further code clean-up. Updated doxygen comments.
128  *
129  * Revision 1.2 2007/06/13 16:41:07 meichel
130  * Code clean-up and removal of dead code
131  *
132  *
133  */


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2