OFFIS DCMTK  Version 3.6.0
Static Public Member Functions | Static Private Attributes | List of all members
DJLSDecoderRegistration Class Reference

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

Collaboration diagram for DJLSDecoderRegistration:
[legend]

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

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 Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2