Inheritance diagram for DJCodecParameter:
Public Member Functions | |
DJCodecParameter (E_CompressionColorSpaceConversion pCompressionCSConversion, E_DecompressionColorSpaceConversion pDecompressionCSConversion, E_UIDCreation pCreateSOPInstanceUID, E_PlanarConfiguration pPlanarConfiguration, OFBool pVerbose=OFFalse, OFBool pOptimizeHuffman=OFFalse, int pSmoothingFactor=0, int pForcedBitDepth=0, Uint32 pFragmentSize=0, OFBool pCreateOffsetTable=OFTrue, E_SubSampling pSampleFactors=ESS_444, OFBool pWriteYBR422=OFFalse, OFBool pConvertToSC=OFFalse, unsigned long pWindowType=0, unsigned long pWindowParameter=0, double pVoiCenter=0.0, double pVoiWidth=0.0, unsigned long pRoiLeft=0, unsigned long pRoiTop=0, unsigned long pRoiWidth=0, unsigned long pRoiHeight=0, OFBool pUsePixelValues=OFTrue, OFBool pUseModalityRescale=OFFalse, OFBool pAcceptWrongPaletteTags=OFFalse, OFBool pAcrNemaCompatibility=OFFalse, OFBool pTrueLosslessMode=OFTrue) | |
constructor. | |
DJCodecParameter (const DJCodecParameter &arg) | |
copy constructor | |
virtual | ~DJCodecParameter () |
destructor | |
virtual DcmCodecParameter * | clone () const |
this methods creates a copy of type DcmCodecParameter * it must be overweritten in every subclass. | |
virtual const char * | className () const |
returns the class name as string. | |
OFBool | getOptimizeHuffmanCoding () const |
returns huffman table optimization flag for 8 bits/pixel compression | |
int | getSmoothingFactor () const |
returns smoothing factor for image compression, 0. | |
int | getForcedBitDepth () const |
returns forced bit depth for image compression, 0 (auto) or 8/12/16 | |
Uint32 | getFragmentSize () const |
returns maximum fragment size (in kbytes) for compression, 0 for unlimited. | |
OFBool | getCreateOffsetTable () const |
returns offset table creation flag | |
E_SubSampling | getSampleFactors () const |
returns subsampling mode for color image compression | |
OFBool | getWriteYBR422 () const |
returns flag indicating whether a compressed YBR color stream should be marked as YBR_FULL or YBR_FULL_422 on DICOM level | |
OFBool | getConvertToSC () const |
returns secondary capture conversion flag | |
E_UIDCreation | getUIDCreation () const |
returns mode for SOP Instance UID creation | |
unsigned long | getWindowType () const |
returns mode for VOI transformation of monochrome images. | |
unsigned long | getWindowParameter () const |
returns parameter for VOI transform of monochrome images, used in VOI modes 1, 2, 4, 6 | |
void | getVOIWindow (double ¢er, double &width) const |
returns VOI window center and width for VOI mode 5 | |
void | getROI (unsigned long &left_pos, unsigned long &top_pos, unsigned long &width, unsigned long &height) const |
returns ROI coordinates for VOI mode 7 | |
E_PlanarConfiguration | getPlanarConfiguration () const |
returns planar configuration flag | |
E_CompressionColorSpaceConversion | getCompressionColorSpaceConversion () const |
returns color conversion mode for compression | |
E_DecompressionColorSpaceConversion | getDecompressionColorSpaceConversion () const |
returns color conversion mode for compression | |
OFBool | getUsePixelValues () const |
returns flag indicating if compression to be optimized for real pixel values | |
OFBool | getUseModalityRescale () const |
returns flag indicating if compression should compute Rescale Slope/Intercept | |
OFBool | getAcceptWrongPaletteTags () const |
Returns flag indicating if incorrect palette attribute tags should be accepted. | |
OFBool | getAcrNemaCompatibility () const |
Returns flag indicating if compatibility to old ACR-NEMA images without photometric interpretation is enabled. | |
OFBool | getTrueLosslessMode () const |
returns flag indicating if real lossless mode is enabled | |
OFBool | isVerbose () const |
returns verbose mode flag | |
Private Member Functions | |
DJCodecParameter & | operator= (const DJCodecParameter &) |
private undefined copy assignment operator | |
Private Attributes | |
E_CompressionColorSpaceConversion | compressionCSConversion |
color conversion mode for compression | |
E_DecompressionColorSpaceConversion | decompressionCSConversion |
color conversion mode for decompression | |
E_PlanarConfiguration | planarConfiguration |
flag describing how planar configuration of decompressed color images should be handled | |
OFBool | optimizeHuffman |
perform huffman table optimization for 8 bits/pixel compression? | |
int | smoothingFactor |
smoothing factor for image compression, 0..100 | |
int | forcedBitDepth |
forced bit depth for image compression, 0 (auto) or 8/12/16 | |
Uint32 | fragmentSize |
maximum fragment size (in kbytes) for compression, 0 for unlimited. | |
OFBool | createOffsetTable |
create offset table during image compression | |
E_SubSampling | sampleFactors |
subsampling mode for color image compression | |
OFBool | writeYBR422 |
flag indicating whether a compressed YBR color stream should be marked as YBR_FULL or YBR_FULL_422 on DICOM level | |
OFBool | convertToSC |
flag indicating whether image should be converted to Secondary Capture upon compression | |
E_UIDCreation | uidCreation |
mode for SOP Instance UID creation | |
unsigned long | windowType |
mode for VOI transformation of monochrome images | |
unsigned long | windowParameter |
parameter for VOI transform of monochrome images, used in modes 1, 2, 4, 6 | |
double | voiCenter |
VOI window center for mode 5. | |
double | voiWidth |
VOI window width for mode 5. | |
unsigned long | roiLeft |
Region of Interest left corner for for VOI transform of monochrome images, mode 7. | |
unsigned long | roiTop |
Region of Interest upper corner for for VOI transform of monochrome images, mode 7. | |
unsigned long | roiWidth |
Region of Interest width for for VOI transform of monochrome images, mode 7. | |
unsigned long | roiHeight |
Region of Interest height for for VOI transform of monochrome images, mode 7. | |
OFBool | usePixelValues |
Check smallest and largest pixel value and optimize compression, mode 0 only. | |
OFBool | useModalityRescale |
Create Rescale Slope/Intercept to scale back to original pixel range, mode 0 only. | |
OFBool | acceptWrongPaletteTags |
Accept wrong palette attribute tags. | |
OFBool | acrNemaCompatibility |
Compatibility with old ACR-NEMA images without photometric interpretation. | |
OFBool | trueLosslessMode |
True losless mode, replaces old "pseudo" lossless encoders, when true (default). | |
OFBool | verboseMode |
verbose mode flag. If true, warning messages are printed to console |
Definition at line 43 of file djcparam.h.
|
constructor.
|
|
returns the class name as string. can be used as poor man's RTTI replacement. Implements DcmCodecParameter. |
|
this methods creates a copy of type DcmCodecParameter * it must be overweritten in every subclass.
Implements DcmCodecParameter. |
|
Returns flag indicating if incorrect palette attribute tags should be accepted.
Definition at line 284 of file djcparam.h. References acceptWrongPaletteTags. |
|
Returns flag indicating if compatibility to old ACR-NEMA images without photometric interpretation is enabled.
Definition at line 294 of file djcparam.h. References acrNemaCompatibility. |
|
returns color conversion mode for compression
Definition at line 252 of file djcparam.h. References compressionCSConversion. |
|
returns secondary capture conversion flag
Definition at line 184 of file djcparam.h. References convertToSC. |
|
returns offset table creation flag
Definition at line 159 of file djcparam.h. References createOffsetTable. |
|
returns color conversion mode for compression
Definition at line 260 of file djcparam.h. References decompressionCSConversion. |
|
returns forced bit depth for image compression, 0 (auto) or 8/12/16
Definition at line 143 of file djcparam.h. References forcedBitDepth. |
|
returns maximum fragment size (in kbytes) for compression, 0 for unlimited. fragment size for compression Definition at line 151 of file djcparam.h. References fragmentSize. |
|
returns huffman table optimization flag for 8 bits/pixel compression
Definition at line 127 of file djcparam.h. References optimizeHuffman. |
|
returns planar configuration flag
Definition at line 244 of file djcparam.h. References planarConfiguration. |
|
returns ROI coordinates for VOI mode 7
Definition at line 229 of file djcparam.h. |
|
returns subsampling mode for color image compression
Definition at line 167 of file djcparam.h. References sampleFactors. |
|
returns smoothing factor for image compression, 0. .100
Definition at line 135 of file djcparam.h. References smoothingFactor. |
|
returns flag indicating if real lossless mode is enabled
Definition at line 302 of file djcparam.h. References trueLosslessMode. |
|
returns mode for SOP Instance UID creation
Definition at line 192 of file djcparam.h. References uidCreation. |
|
returns flag indicating if compression should compute Rescale Slope/Intercept
Definition at line 276 of file djcparam.h. References useModalityRescale. |
|
returns flag indicating if compression to be optimized for real pixel values
Definition at line 268 of file djcparam.h. References usePixelValues. |
|
returns VOI window center and width for VOI mode 5
Definition at line 217 of file djcparam.h. |
|
returns parameter for VOI transform of monochrome images, used in VOI modes 1, 2, 4, 6
Definition at line 208 of file djcparam.h. References windowParameter. |
|
returns mode for VOI transformation of monochrome images.
Definition at line 200 of file djcparam.h. References windowType. |
|
returns flag indicating whether a compressed YBR color stream should be marked as YBR_FULL or YBR_FULL_422 on DICOM level
Definition at line 176 of file djcparam.h. References writeYBR422. |
|
returns verbose mode flag
Definition at line 310 of file djcparam.h. References verboseMode. |