DCMTK
Version 3.6.4
OFFIS DICOM Toolkit
|
codec parameter for RLE codec More...
Public Member Functions | |
DcmRLECodecParameter (OFBool pCreateSOPInstanceUID=OFFalse, Uint32 pFragmentSize=0, OFBool pCreateOffsetTable=OFTrue, OFBool pConvertToSC=OFFalse, OFBool pReverseDecompressionByteOrder=OFFalse) | |
constructor. More... | |
DcmRLECodecParameter (const DcmRLECodecParameter &arg) | |
copy constructor | |
virtual | ~DcmRLECodecParameter () |
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... | |
Uint32 | getFragmentSize () const |
returns maximum fragment size (in kbytes) for compression, 0 for unlimited. More... | |
OFBool | getCreateOffsetTable () const |
returns offset table creation flag More... | |
OFBool | getConvertToSC () const |
returns secondary capture conversion flag More... | |
OFBool | getUIDCreation () const |
returns mode for SOP Instance UID creation More... | |
OFBool | getReverseDecompressionByteOrder () const |
returns reverse decompression byte order mode More... | |
![]() | |
DcmCodecParameter () | |
default constructor | |
DcmCodecParameter (const DcmCodecParameter &) | |
copy constructor | |
virtual | ~DcmCodecParameter () |
destructor | |
Private Member Functions | |
DcmRLECodecParameter & | operator= (const DcmRLECodecParameter &) |
private undefined copy assignment operator | |
Private Attributes | |
Uint32 | fragmentSize |
maximum fragment size (in kbytes) for compression, 0 for unlimited. | |
OFBool | createOffsetTable |
create offset table during image compression | |
OFBool | convertToSC |
flag indicating whether image should be converted to Secondary Capture upon compression | |
OFBool | createInstanceUID |
create new Instance UID during compression/decompression? | |
OFBool | reverseDecompressionByteOrder |
enable reverse byte order of RLE segments during decompression, needed to decompress certain incorrectly encoded RLE images | |
codec parameter for RLE codec
DcmRLECodecParameter::DcmRLECodecParameter | ( | OFBool | pCreateSOPInstanceUID = OFFalse , |
Uint32 | pFragmentSize = 0 , |
||
OFBool | pCreateOffsetTable = OFTrue , |
||
OFBool | pConvertToSC = OFFalse , |
||
OFBool | pReverseDecompressionByteOrder = OFFalse |
||
) |
constructor.
pCreateSOPInstanceUID | true if a new SOP instance UID should be assigned upon compression/decompression |
pFragmentSize | maximum fragment size (in kbytes) for compression, 0 for unlimited. Please note that the DICOM standard does not allow for storing the pixel data with multiple fragments per frame (when RLE compression is used). So limiting the fragment size may result in non-standard conformant DICOM images. |
pCreateOffsetTable | create offset table during image compression? |
pConvertToSC | flag indicating whether image should be converted to Secondary Capture upon compression |
pReverseDecompressionByteOrder | flag indicating whether the byte order should be reversed upon decompression. Needed to correctly decode some incorrectly encoded images with more than one byte per sample. |
|
virtual |
returns the class name as string.
can be used as poor man's RTTI replacement.
Implements DcmCodecParameter.
|
virtual |
this methods creates a copy of type DcmCodecParameter * it must be overwritten in every subclass.
Implements DcmCodecParameter.
|
inline |
returns secondary capture conversion flag
|
inline |
returns offset table creation flag
|
inline |
returns maximum fragment size (in kbytes) for compression, 0 for unlimited.
|
inline |
returns reverse decompression byte order mode
|
inline |
returns mode for SOP Instance UID creation