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

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

List of all members.

Static Public Member Functions

static void registerCodecs (E_DecompressionColorSpaceConversion pDecompressionCSConversion=EDC_photometricInterpretation, E_UIDCreation pCreateSOPInstanceUID=EUC_default, E_PlanarConfiguration pPlanarConfiguration=EPC_default, OFBool predictor6WorkaroundEnable=OFFalse)
 registers decoders for all supported JPEG processes.
static void cleanup ()
 deregisters decoders.

Static Private Attributes

static OFBool registered
 flag indicating whether the decoders are already registered.
static DJCodecParametercp
 pointer to codec parameter shared by all decoders
static DJDecoderBaselinedecbas
 pointer to decoder for baseline JPEG
static DJDecoderExtendeddecext
 pointer to decoder for extended JPEG
static DJDecoderSpectralSelectiondecsps
 pointer to decoder for spectral selection JPEG
static DJDecoderProgressivedecpro
 pointer to decoder for progressive JPEG
static DJDecoderP14SV1decsv1
 pointer to decoder for lossless SV1 JPEG
static DJDecoderLosslessdeclol
 pointer to decoder for lossless JPEG

Detailed Description

singleton class that registers decoders for all supported JPEG processes.


Member Function Documentation

static void DJDecoderRegistration::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 DJDecoderRegistration::registerCodecs ( E_DecompressionColorSpaceConversion  pDecompressionCSConversion = EDC_photometricInterpretation,
E_UIDCreation  pCreateSOPInstanceUID = EUC_default,
E_PlanarConfiguration  pPlanarConfiguration = EPC_default,
OFBool  predictor6WorkaroundEnable = OFFalse 
) [static]

registers decoders for all supported JPEG processes.

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

Parameters:
pCreateSOPInstanceUIDflag indicating whether or not a new SOP Instance UID should be assigned upon decompression.
pPlanarConfigurationflag indicating how planar configuration of color images should be encoded upon decompression.
predictor6WorkaroundEnableenable workaround for buggy lossless compressed images with overflow in predictor 6 for images with 16 bits/pixel

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