|
| DJLSCodecParameter (OFBool preferCookedEncoding, Uint16 jpls_t1=0, Uint16 jpls_t2=0, Uint16 jpls_t3=0, Uint16 jpls_reset=0, Uint32 fragmentSize=0, OFBool createOffsetTable=OFTrue, JLS_UIDCreation uidCreation=EJLSUC_default, OFBool convertToSC=OFFalse, JLS_PlanarConfiguration planarConfiguration=EJLSPC_restore, OFBool ignoreOffsetTable=OFFalse, interleaveMode jplsInterleaveMode=interleaveLine, OFBool useFFbitstreamPadding=OFTrue) |
| constructor, for use with encoders. More...
|
|
| DJLSCodecParameter (JLS_UIDCreation uidCreation=EJLSUC_default, JLS_PlanarConfiguration planarConfiguration=EJLSPC_restore, OFBool ignoreOffsetTable=OFFalse, OFBool forceSingleFragmentPerFrame=OFFalse) |
| constructor, for use with decoders. More...
|
|
| DJLSCodecParameter (const DJLSCodecParameter &arg) |
| copy constructor
|
|
virtual | ~DJLSCodecParameter () |
| destructor
|
|
virtual DcmCodecParameter * | clone () const |
| this methods creates a copy of type DcmCodecParameter * it must be overwritten in every subclass. More...
|
|
virtual const char * | className () const |
| returns the class name as string. More...
|
|
OFBool | getConvertToSC () const |
| returns secondary capture conversion flag More...
|
|
OFBool | getCreateOffsetTable () const |
| returns create offset table flag More...
|
|
JLS_UIDCreation | getUIDCreation () const |
| returns mode for SOP Instance UID creation More...
|
|
JLS_PlanarConfiguration | getPlanarConfiguration () const |
| returns mode for handling planar configuration More...
|
|
OFBool | cookedEncodingPreferred () const |
| returns flag indicating whether or not the "cooked" lossless encoder should be preferred over the "raw" one More...
|
|
Uint32 | getFragmentSize () const |
| returns maximum fragment size (in kbytes) for compression, 0 for unlimited. More...
|
|
Uint16 | getT1 () const |
| returns JPEG-LS parameter T1 More...
|
|
Uint16 | getT2 () const |
| returns JPEG-LS parameter T2 More...
|
|
Uint16 | getT3 () const |
| returns JPEG-LS parameter T3 More...
|
|
Uint16 | getReset () const |
| returns JPEG-LS parameter RESET More...
|
|
OFBool | ignoreOffsetTable () const |
| returns true if the offset table should be ignored when decompressing multiframe images More...
|
|
interleaveMode | getJplsInterleaveMode () const |
| returns the interleave mode which the encoder should use More...
|
|
OFBool | getForceSingleFragmentPerFrame () const |
| returns flag indicating whether one fragment per frame should be enforced while decoding More...
|
|
OFBool | getUseFFbitstreamPadding () const |
| returns flag indicating whether odd-length bitstreams should be padded as FF FF D9 More...
|
|
| DcmCodecParameter () |
| default constructor
|
|
| DcmCodecParameter (const DcmCodecParameter &) |
| copy constructor
|
|
virtual | ~DcmCodecParameter () |
| destructor
|
|
|
OFBool | preferCookedEncoding_ |
| flag indicating if the "cooked" lossless encoder should be preferred over the "raw" one
|
|
Uint16 | jpls_t1_ |
| JPEG-LS parameter "Threshold 1" (used for quantization), 0 if unused.
|
|
Uint16 | jpls_t2_ |
| JPEG-LS parameter "Threshold 2", 0 if unused.
|
|
Uint16 | jpls_t3_ |
| JPEG-LS parameter "Threshold 3", 0 if unused.
|
|
Uint16 | jpls_reset_ |
| JPEG-LS parameter "RESET", i.e., value at which the counters A, B, and N are halved. 0 if unused.
|
|
Uint32 | fragmentSize_ |
| maximum fragment size (in kbytes) for compression, 0 for unlimited.
|
|
OFBool | createOffsetTable_ |
| create offset table during image compression
|
|
JLS_UIDCreation | uidCreation_ |
| mode for SOP Instance UID creation (used both for encoding and decoding)
|
|
OFBool | convertToSC_ |
| flag indicating whether image should be converted to Secondary Capture upon compression
|
|
interleaveMode | jplsInterleaveMode_ |
| Flag describing the interleave mode which the encoder will use.
|
|
OFBool | useFFbitstreamPadding_ |
| When true, a JPEG-LS bitstream of odd length is padded by extending the FF D9 "end of image" marker to FF FF D9, as required by DICOM. More...
|
|
JLS_PlanarConfiguration | planarConfiguration_ |
| flag describing how planar configuration of decompressed color images should be handled
|
|
OFBool | ignoreOffsetTable_ |
| flag indicating if temporary files should be kept, false if they should be deleted after use
|
|
OFBool | forceSingleFragmentPerFrame_ |
| while decompressing a multiframe image, assume one fragment per frame even if the JPEG data for some frame is incomplete
|
|
codec parameter for JPEG-LS codecs
OFBool DJLSCodecParameter::useFFbitstreamPadding_ |
|
private |
When true, a JPEG-LS bitstream of odd length is padded by extending the FF D9 "end of image" marker to FF FF D9, as required by DICOM.
When false, the bitstream is written as FF D9 00, which is not standard compliant, but required for interoperability with the HP LOCO reference implementation, which does not support FF padded markers.