codec parameter for RLE codec
More...
|
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::DcmRLECodecParameter |
( |
OFBool |
pCreateSOPInstanceUID = OFFalse , |
|
|
Uint32 |
pFragmentSize = 0 , |
|
|
OFBool |
pCreateOffsetTable = OFTrue , |
|
|
OFBool |
pConvertToSC = OFFalse , |
|
|
OFBool |
pReverseDecompressionByteOrder = OFFalse |
|
) |
| |
constructor.
- Parameters
-
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. |
◆ className()
virtual const char * DcmRLECodecParameter::className |
( |
| ) |
const |
|
virtual |
returns the class name as string.
can be used as poor man's RTTI replacement.
Implements DcmCodecParameter.
◆ clone()
◆ getConvertToSC()
OFBool DcmRLECodecParameter::getConvertToSC |
( |
| ) |
const |
|
inline |
returns secondary capture conversion flag
- Returns
- secondary capture conversion flag
◆ getCreateOffsetTable()
OFBool DcmRLECodecParameter::getCreateOffsetTable |
( |
| ) |
const |
|
inline |
returns offset table creation flag
- Returns
- offset table creation flag
◆ getFragmentSize()
Uint32 DcmRLECodecParameter::getFragmentSize |
( |
| ) |
const |
|
inline |
returns maximum fragment size (in kbytes) for compression, 0 for unlimited.
- Returns
- maximum fragment size for compression
◆ getReverseDecompressionByteOrder()
OFBool DcmRLECodecParameter::getReverseDecompressionByteOrder |
( |
| ) |
const |
|
inline |
returns reverse decompression byte order mode
- Returns
- reverse decompression byte order mode
◆ getUIDCreation()
OFBool DcmRLECodecParameter::getUIDCreation |
( |
| ) |
const |
|
inline |
returns mode for SOP Instance UID creation
- Returns
- mode for SOP Instance UID creation
The documentation for this class was generated from the following file:
- dcmdata/include/dcmtk/dcmdata/dcrlecp.h