29 #ifndef DCMJPLS_DJENCODE_H 30 #define DCMJPLS_DJENCODE_H 32 #include "dcmtk/config/osconfig.h" 33 #include "dcmtk/ofstd/oftypes.h" 34 #include "dcmtk/dcmjpls/djlsutil.h" 35 #include "dcmtk/dcmdata/dctypes.h" 36 #include "dcmtk/dcmjpls/djcparam.h" 65 OFBool jpls_optionsEnabled = OFFalse,
69 Uint16 jpls_reset = 64,
70 Uint16 jpls_limit = 0,
71 OFBool preferCookedEncoding = OFTrue,
72 Uint32 fragmentSize = 0,
73 OFBool createOffsetTable = OFTrue,
74 JLS_UIDCreation uidCreation = EJLSUC_default,
75 OFBool convertToSC = OFFalse,
static void cleanup()
deregisters encoders.
interleaveMode
Constants describing the interleave mode which the encoder will use.
static OFBool registered_
flag indicating whether the encoders are already registered.
static DJLSLosslessEncoder * losslessencoder_
pointer to encoder for lossless JPEG-LS
codec class for JPEG-LS lossy and lossless TS encoding
singleton class that registers encoders for all supported JPEG-LS processes.
static void registerCodecs(OFBool jpls_optionsEnabled=OFFalse, Uint16 jpls_t1=3, Uint16 jpls_t2=7, Uint16 jpls_t3=21, Uint16 jpls_reset=64, Uint16 jpls_limit=0, OFBool preferCookedEncoding=OFTrue, Uint32 fragmentSize=0, OFBool createOffsetTable=OFTrue, JLS_UIDCreation uidCreation=EJLSUC_default, OFBool convertToSC=OFFalse, DJLSCodecParameter::interleaveMode jplsInterleaveMode=DJLSCodecParameter::interleaveDefault)
registers encoders for all supported JPEG-LS processes.
static DJLSCodecParameter * cp_
pointer to codec parameter shared by all encoders
codec parameter for JPEG-LS codecs
codec class for JPEG-LS lossless only TS encoding
static DJLSNearLosslessEncoder * nearlosslessencoder_
pointer to encoder for lossy JPEG-LS
Use same interleave mode as the DICOM header says in planarConfiguration, if possible.