OFFIS DCMTK  Version 3.6.0
Public Member Functions | Private Member Functions
DJDecoderP14SV1 Class Reference

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

Inheritance diagram for DJDecoderP14SV1:
[legend]
Collaboration diagram for DJDecoderP14SV1:
[legend]

List of all members.

Public Member Functions

 DJDecoderP14SV1 ()
 default constructor
virtual ~DJDecoderP14SV1 ()
 destructor
virtual E_TransferSyntax supportedTransferSyntax () const
 returns the transfer syntax that this particular codec is able to encode and decode.
- Public Member Functions inherited from DJCodecDecoder
 DJCodecDecoder ()
 default constructor
virtual ~DJCodecDecoder ()
 destructor
virtual OFCondition decode (const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *pixSeq, DcmPolymorphOBOW &uncompressedPixelData, const DcmCodecParameter *cp, const DcmStack &objStack) const
 decompresses the given pixel sequence and stores the result in the given uncompressedPixelData element.
virtual OFCondition decodeFrame (const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel) const
 decompresses a single frame from the given pixel sequence and stores the result in the given buffer.
virtual OFCondition encode (const Uint16 *pixelData, const Uint32 length, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
 compresses the given uncompressed DICOM image and stores the result in the given pixSeq element.
virtual OFCondition encode (const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *fromPixSeq, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
 transcodes (re-compresses) the given compressed DICOM image and stores the result in the given toPixSeq element.
virtual OFBool canChangeCoding (const E_TransferSyntax oldRepType, const E_TransferSyntax newRepType) const
 checks if this codec is able to convert from the given current transfer syntax to the given new transfer syntax
virtual OFCondition determineDecompressedColorModel (const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, OFString &decompressedColorModel) const
 determine color model of the decompressed image
- Public Member Functions inherited from DcmCodec
 DcmCodec ()
 default constructor
virtual ~DcmCodec ()
 destructor

Private Member Functions

virtual DJDecodercreateDecoderInstance (const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, OFBool isYBR) const
 creates an instance of the compression library to be used for decoding.

Detailed Description

Decoder class for JPEG Lossless Selection Value 1 (8/12/16-bit)

Definition at line 38 of file djdecsv1.h.


Member Function Documentation

virtual DJDecoder* DJDecoderP14SV1::createDecoderInstance ( const DcmRepresentationParameter toRepParam,
const DJCodecParameter cp,
Uint8  bitsPerSample,
OFBool  isYBR 
) const
privatevirtual

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

Parameters:
toRepParamrepresentation parameter passed to decode()
cpcodec parameter passed to decode()
bitsPerSamplebits per sample for the image data
isYBRflag indicating whether DICOM photometric interpretation is YCbCr
Returns:
pointer to newly allocated decoder object

Implements DJCodecDecoder.

virtual E_TransferSyntax DJDecoderP14SV1::supportedTransferSyntax ( ) const
virtual

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

Returns:
supported transfer syntax

Implements DJCodecDecoder.


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


Generated on Thu May 31 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.1