OFFIS DCMTK  Version 3.6.0
djencsv1.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 Selection Value 1 (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 DJENCSV1_H
30 #define DJENCSV1_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 ~DJEncoderP14SV1();
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: djencsv1.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:35 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 E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
abstract base class for codec representation parameter sets.
Definition: dcpixel.h:50
abstract codec class for JPEG encoders.
Definition: djcodece.h:57
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
DJEncoderP14SV1()
default constructor
virtual void createDerivationDescription(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio, OFString &derivationDescription) const
creates 'derivation description' string after encoding.
Encoder class for JPEG Lossless Selection Value 1 (8/12/16-bit)
Definition: djencsv1.h:38
virtual ~DJEncoderP14SV1()
destructor
a simple string class that implements a subset of std::string.
Definition: ofstring.h:86
codec parameter for IJG codecs
Definition: djcparam.h:38
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.


Generated on Wed Dec 14 2016 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.11