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 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.

Definition at line 42 of file djdecode.h.


Member Function Documentation

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:
uidcreation flag indicating whether or not a new SOP Instance UID should be assigned upon decompression.
planarconfig flag indicating how planar configuration of color images should be encoded upon decompression.
ignoreOffsetTable flag indicating whether to ignore the offset table when decompressing multiframe images

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.


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