OFFIS DCMTK  Version 3.6.0
djencsps.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: Codec class for encoding JPEG Spectral Selection (lossy, 8/12-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 DJENCSPS_H
30 #define DJENCSPS_H
31 
32 #include "dcmtk/config/osconfig.h"
33 #include "dcmtk/dcmjpeg/djcodece.h" /* for class DJCodecEncoder */
34 
35 
39 {
40 public:
41 
44 
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: djencsps.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:34 meichel
102  * Changed include path schema for all DCMTK header files
103  *
104  * Revision 1.1 2001/11/13 15:56:28 meichel
105  * Initial release of module dcmjpeg
106  *
107  *
108  */
abstract base class for compression classes.
Definition: djencabs.h:39
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.
abstract base class for codec representation parameter sets.
Definition: dcpixel.h:50
abstract codec class for JPEG encoders.
Definition: djcodece.h:57
virtual ~DJEncoderSpectralSelection()
destructor
Encoder class for JPEG Spectral Selection (lossy, 8/12-bit)
Definition: djencsps.h:38
DJEncoderSpectralSelection()
default constructor
virtual void createDerivationDescription(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio, OFString &derivationDescription) const
creates 'derivation description' string after encoding.
a simple string class that implements a subset of std::string.
Definition: ofstring.h:86
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
codec parameter for IJG codecs
Definition: djcparam.h:38
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.


Generated on Wed Dec 28 2016 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.8