OFFIS DCMTK  Version 3.6.0
djenclol.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, Norbert Olges
17  *
18  * Purpose: Codec class for encoding JPEG Lossless (8/12/16-bit)
19  *
20  * Last Update: $Author: joergr $
21  * Update Date: $Date: 2010-10-14 13:17:17 $
22  * CVS/RCS Revision: $Revision: 1.3 $
23  * Status: $State: Exp $
24  *
25  * CVS/RCS Log at end of file
26  *
27  */
28 
29 #ifndef DJENCLOL_H
30 #define DJENCLOL_H
31 
32 #include "dcmtk/config/osconfig.h"
33 #include "dcmtk/dcmjpeg/djcodece.h" /* for class DJCodecEncoder */
34 
35 
39 {
40 public:
41 
44 
46  virtual ~DJEncoderLossless();
47 
52  virtual E_TransferSyntax supportedTransferSyntax() const;
53 
54 private:
55 
60  virtual OFBool isLosslessProcess() const;
61 
72  virtual void createDerivationDescription(
73  const DcmRepresentationParameter * toRepParam,
74  const DJCodecParameter *cp,
75  Uint8 bitsPerSample,
76  double ratio,
77  OFString& derivationDescription) const;
78 
87  const DcmRepresentationParameter * toRepParam,
88  const DJCodecParameter *cp,
89  Uint8 bitsPerSample) const;
90 
91 };
92 
93 #endif
94 
95 /*
96  * CVS/RCS Log
97  * $Log: djenclol.h,v $
98  * Revision 1.3 2010-10-14 13:17:17 joergr
99  * Updated copyright header. Added reference to COPYRIGHT file.
100  *
101  * Revision 1.2 2005-12-08 16:59:31 meichel
102  * Changed include path schema for all DCMTK header files
103  *
104  * Revision 1.1 2001/11/13 15:56:26 meichel
105  * Initial release of module dcmjpeg
106  *
107  *
108  */
virtual DJEncoder * createEncoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample) const
creates an instance of the compression library to be used for encoding/decoding.
DJEncoderLossless()
default constructor
abstract base class for compression classes.
Definition: djencabs.h:39
abstract base class for codec representation parameter sets.
Definition: dcpixel.h:50
abstract codec class for JPEG encoders.
Definition: djcodece.h:57
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
virtual void createDerivationDescription(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio, OFString &derivationDescription) const
creates 'derivation description' string after encoding.
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
a simple string class that implements a subset of std::string.
Definition: ofstring.h:86
virtual ~DJEncoderLossless()
destructor
codec parameter for IJG codecs
Definition: djcparam.h:38
Encoder class for JPEG Lossless (8/12/16-bit)
Definition: djenclol.h:38


Generated on Sun Aug 23 2015 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.9.1