DCMTK  Version 3.6.5
OFFIS DICOM Toolkit
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...

Static Public Member Functions

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

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

◆ cleanup()

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.

◆ getLibraryVersionString()

static OFString DJLSDecoderRegistration::getLibraryVersionString ( )
static

get version information of the CharLS library.

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

Returns
name and version number of the CharLS library

◆ registerCodecs()

static void DJLSDecoderRegistration::registerCodecs ( JLS_UIDCreation  uidcreation = EJLSUC_default,
JLS_PlanarConfiguration  planarconfig = EJLSPC_restore,
OFBool  ignoreOffsetTable = OFFalse,
OFBool  forceSingleFragmentPerFrame = 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
forceSingleFragmentPerFramewhile decompressing a multiframe image, assume one fragment per frame even if the JPEG data for some frame is incomplete

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


Generated on Mon Oct 28 2019 for DCMTK Version 3.6.5 by Doxygen 1.8.15