OFFIS DCMTK Version 3.6.0
Public Member Functions | Private Member Functions

DJEncoderProgressive Class Reference

Encoder class for JPEG Progressive (lossy, 8/12-bit) More...

Inheritance diagram for DJEncoderProgressive:
Inheritance graph
[legend]
Collaboration diagram for DJEncoderProgressive:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DJEncoderProgressive ()
 default constructor
virtual ~DJEncoderProgressive ()
 destructor
virtual E_TransferSyntax supportedTransferSyntax () const
 returns the transfer syntax that this particular codec is able to encode and decode.

Private Member Functions

virtual OFBool isLosslessProcess () const
 returns true if the transfer syntax supported by this codec is lossless.
virtual void createDerivationDescription (const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio, OFString &derivationDescription) const
 creates 'derivation description' string after encoding.
virtual DJEncodercreateEncoderInstance (const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample) const
 creates an instance of the compression library to be used for encoding/decoding.

Detailed Description

Encoder class for JPEG Progressive (lossy, 8/12-bit)

Definition at line 38 of file djencpro.h.


Member Function Documentation

virtual void DJEncoderProgressive::createDerivationDescription ( const DcmRepresentationParameter toRepParam,
const DJCodecParameter cp,
Uint8  bitsPerSample,
double  ratio,
OFString derivationDescription 
) const [private, virtual]

creates 'derivation description' string after encoding.

Parameters:
toRepParamrepresentation parameter passed to encode()
cpcodec parameter passed to encode()
bitsPerSamplebits per sample of the original image data prior to compression
ratioimage compression ratio. This is not the "quality factor" but the real effective ratio between compressed and uncompressed image, i. e. 30 means a 30:1 lossy compression.
imageCommentsimage comments returned in this parameter which is initially empty

Implements DJCodecEncoder.

virtual DJEncoder* DJEncoderProgressive::createEncoderInstance ( const DcmRepresentationParameter toRepParam,
const DJCodecParameter cp,
Uint8  bitsPerSample 
) const [private, virtual]

creates an instance of the compression library to be used for encoding/decoding.

Parameters:
toRepParamrepresentation parameter passed to encode()
cpcodec parameter passed to encode()
bitsPerSamplebits per sample for the image data
Returns:
pointer to newly allocated codec object

Implements DJCodecEncoder.

virtual OFBool DJEncoderProgressive::isLosslessProcess ( ) const [private, virtual]

returns true if the transfer syntax supported by this codec is lossless.

Returns:
lossless flag

Implements DJCodecEncoder.

virtual E_TransferSyntax DJEncoderProgressive::supportedTransferSyntax ( ) const [virtual]

returns the transfer syntax that this particular codec is able to encode and decode.

Returns:
supported transfer syntax

Implements DJCodecEncoder.


The documentation for this class was generated from the following file:


Generated on Mon Feb 14 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.7.3