DJEncoderP14SV1 Class Reference

Encoder class for JPEG Lossless Selection Value 1 (8/12/16-bit). More...

Inheritance diagram for DJEncoderP14SV1:

DJCodecEncoder DcmCodec List of all members.

Public Member Functions

 DJEncoderP14SV1 ()
 default constructor
virtual ~DJEncoderP14SV1 ()
 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 Lossless Selection Value 1 (8/12/16-bit).

Definition at line 38 of file djencsv1.h.


Member Function Documentation

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

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

Returns:
supported transfer syntax

Implements DJCodecEncoder.

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

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

Returns:
lossless flag

Implements DJCodecEncoder.

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

creates 'derivation description' string after encoding.

Parameters:
toRepParam representation parameter passed to encode()
cp codec parameter passed to encode()
bitsPerSample bits per sample of the original image data prior to compression
ratio image 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.
imageComments image comments returned in this parameter which is initially empty

Implements DJCodecEncoder.

virtual DJEncoder* DJEncoderP14SV1::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:
toRepParam representation parameter passed to encode()
cp codec parameter passed to encode()
bitsPerSample bits per sample for the image data
Returns:
pointer to newly allocated codec object

Implements DJCodecEncoder.


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


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1