DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Static Public Member Functions | Static Private Attributes
DJLSDecoderRegistration Class Reference

singleton class that registers decoders for all supported JPEG-LS processes. More...

List of all members.

Static Public Member Functions

static void registerCodecs (JLS_UIDCreation uidcreation=EJLSUC_default, JLS_PlanarConfiguration planarconfig=EJLSPC_restore, OFBool ignoreOffsetTable=OFFalse)
 registers decoder for all supported JPEG-LS processes.
static void cleanup ()
 deregisters decoders.
static OFString getLibraryVersionString ()
 get version information of the CharLS library.

Static Private Attributes

static OFBool registered_
 flag indicating whether the decoders are already registered.
static DJLSCodecParametercp_
 pointer to codec parameter shared by all decoders
static DJLSLosslessDecoderlosslessdecoder_
 pointer to losslessdecoder
static DJLSNearLosslessDecodernearlosslessdecoder_
 pointer to near-lossless encoder

Detailed Description

singleton class that registers decoders for all supported JPEG-LS processes.


Member Function Documentation

static void DJLSDecoderRegistration::cleanup ( ) [static]

deregisters decoders.

Attention: Must not be called while other threads might still use the registered codecs, e.g. because they are currently decoding DICOM data sets through dcmdata.

get version information of the CharLS library.

Typical output format: "CharLS, Revision 55020 (modified)"

Returns:
name and version number of the CharLS library
static void DJLSDecoderRegistration::registerCodecs ( JLS_UIDCreation  uidcreation = EJLSUC_default,
JLS_PlanarConfiguration  planarconfig = EJLSPC_restore,
OFBool  ignoreOffsetTable = OFFalse 
) [static]

registers decoder for all supported JPEG-LS processes.

If already registered, call is ignored unless cleanup() has been performed before.

Parameters:
uidcreationflag indicating whether or not a new SOP Instance UID should be assigned upon decompression.
planarconfigflag indicating how planar configuration of color images should be encoded upon decompression.
ignoreOffsetTableflag indicating whether to ignore the offset table when decompressing multiframe images

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


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027