| DCMTK Version 3.6.9
    OFFIS DICOM Toolkit | 
Template class to convert DICOM pixel stream to intermediate representation. More...
 Inheritance diagram for DiInputPixelTemplate< T1, T2 >:
 Inheritance diagram for DiInputPixelTemplate< T1, T2 >:| Public Member Functions | |
| DiInputPixelTemplate (const DiDocument *document, const Uint16 alloc, const Uint16 stored, const Uint16 high, const unsigned long first, const unsigned long number, const unsigned long fsize, DcmFileCache *fileCache, Uint32 &fragment) | |
| constructor | |
| virtual | ~DiInputPixelTemplate () | 
| destructor | |
| int | determineMinMax () | 
| determine minimum and maximum pixel value | |
| EP_Representation | getRepresentation () const | 
| get pixel representation | |
| const void * | getData () const | 
| get pointer to input pixel data | |
| virtual void * | getDataPtr () | 
| get reference to pointer to input pixel data | |
| void | removeDataReference () | 
| remove reference to (internally handled) pixel data | |
| double | getMinValue (const int idx) const | 
| get minimum pixel value | |
| double | getMaxValue (const int idx) const | 
| get maximum pixel value | |
|  Public Member Functions inherited from DiInputPixel | |
| DiInputPixel (const unsigned int bits, const unsigned long first, const unsigned long number, const unsigned long fsize) | |
| constructor | |
| virtual | ~DiInputPixel () | 
| destructor | |
| unsigned int | getBits () const | 
| get number of bits per pixel | |
| double | getAbsMinimum () const | 
| get absolute minimum pixel value | |
| double | getAbsMaximum () const | 
| get absolute maximum pixel value | |
| double | getAbsMaxRange () const | 
| get absolute pixel value range | |
| unsigned long | getCount () const | 
| get number of pixels stored | |
| unsigned long | getPixelStart () const | 
| get first pixel to be processed | |
| unsigned long | getPixelCount () const | 
| get number of pixels to be processed | |
| unsigned long | getComputedCount () const | 
| get number of pixels computed from the image resolution | |
|  Public Member Functions inherited from DiPixelRepresentationTemplate< T2 > | |
| DiPixelRepresentationTemplate () | |
| default constructor | |
| virtual | ~DiPixelRepresentationTemplate () | 
| destructor | |
| int | isSigned () const | 
| check whether template type T is signed or not | |
| Private Member Functions | |
| void | convert (const DiDocument *document, const Uint16 bitsAllocated, const Uint16 bitsStored, const Uint16 highBit, DcmFileCache *fileCache, Uint32 &fragment) | 
| convert pixel data from DICOM dataset to input representation | |
| Additional Inherited Members | |
|  Protected Attributes inherited from DiInputPixel | |
| unsigned long | Count | 
| number of pixels stored | |
| unsigned int | Bits | 
| bits per pixel/sample | |
| unsigned long | FirstFrame | 
| first frame to be processed | |
| unsigned long | NumberOfFrames | 
| number of frames to be processed | |
| unsigned long | FrameSize | 
| number of pixels per frame | |
| unsigned long | PixelStart | 
| first pixel to be processed | |
| unsigned long | PixelCount | 
| number of pixels to be processed | |
| unsigned long | ComputedCount | 
| number of pixels computed from the image resolution | |
| double | AbsMinimum | 
| absolute minimum (possible) pixel value | |
| double | AbsMaximum | 
| absolute maximum (possible) pixel value | |
Template class to convert DICOM pixel stream to intermediate representation.
| 
 | inline | 
constructor
| document | pointer to DICOM image object | 
| alloc | number of bits allocated for each pixel | 
| stored | number of bits stored for each pixel | 
| high | position of high bit within bits allocated | 
| first | first frame to be processed | 
| number | number of frames to be processed | 
| fsize | number of pixels per frame (frame size) | 
| fileCache | pointer to file cache object used for partial read | 
| fragment | current pixel item fragment (for encapsulated pixel data) | 
References DiInputPixel::DiInputPixel(), DiInputPixel::AbsMaximum, DiInputPixel::AbsMinimum, DiInputPixel::Bits, convert(), DiInputPixel::Count, Data, DiDocument::getPixelData(), DicomImageClass::maxval(), MaxValue, MinValue, DiInputPixel::PixelCount, and DiInputPixel::PixelStart.
| 
 | inlineprivate | 
convert pixel data from DICOM dataset to input representation
| document | pointer to DICOM image object | 
| bitsAllocated | number of bits allocated for each pixel | 
| bitsStored | number of bits stored for each pixel | 
| highBit | position of high bit within bits allocated | 
| fileCache | pointer to file cache object used for partial read | 
| fragment | current pixel item fragment (for encapsulated pixel data) | 
References DcmPixelData::canWriteXfer(), CIF_UsePartialAccessToPixelData, DiInputPixel::Count, Data, EC_IllegalCall, OFString::empty(), EXS_LittleEndianExplicit, EXS_Unknown, DiInputPixel::FirstFrame, DiInputPixel::FrameSize, DiDocument::getDataset(), DiDocument::getFlags(), DcmElement::getPartialValue(), DiDocument::getPhotometricInterpretation(), DiDocument::getPixelData(), DcmPixelData::getUncompressedFrame(), OFCondition::good(), DiInputPixel::NumberOfFrames, DiInputPixel::PixelCount, DiInputPixel::PixelStart, and OFCondition::text().
Referenced by DiInputPixelTemplate().
| 
 | inlinevirtual | 
determine minimum and maximum pixel value
Implements DiInputPixel.
References DiInputPixel::Count, Data, DiInputPixel::getAbsMaxRange(), DiInputPixel::getAbsMinimum(), MaxValue, MinValue, DiInputPixel::PixelCount, DiInputPixel::PixelStart, and OFBitmanipTemplate< T >::zeroMem().
| 
 | inlinevirtual | 
get pointer to input pixel data
Implements DiInputPixel.
References Data.
| 
 | inlinevirtual | 
get reference to pointer to input pixel data
Implements DiInputPixel.
References Data.
| 
 | inlinevirtual | 
get maximum pixel value
| idx | specifies whether to return the global maximum (0) or the maximum of the selected pixel range (1, see PixelStart/Range) | 
Implements DiInputPixel.
References MaxValue.
| 
 | inlinevirtual | 
get minimum pixel value
| idx | specifies whether to return the global minimum (0) or the minimum of the selected pixel range (1, see PixelStart/Range) | 
Implements DiInputPixel.
References MinValue.
| 
 | inlinevirtual | 
get pixel representation
Implements DiInputPixel.
References DiPixelRepresentationTemplate< T >::getRepresentation().