Inheritance diagram for DiInputPixelTemplate< T1, T2 >:
Public Member Functions | |
DiInputPixelTemplate (DcmPixelData *pixel, const Uint16 alloc, const Uint16 stored, const Uint16 high, const unsigned long start, const unsigned long count) | |
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 | |
Private Member Functions | |
void | convert (DcmPixelData *pixelData, const Uint16 bitsAllocated, const Uint16 bitsStored, const Uint16 highBit) |
convert pixel data from DICOM dataset to input representation | |
DiInputPixelTemplate (const DiInputPixelTemplate< T1, T2 > &) | |
DiInputPixelTemplate< T1, T2 > & | operator= (const DiInputPixelTemplate< T1, T2 > &) |
Private Attributes | |
T2 * | Data |
pointer to pixel data | |
T2 | MinValue [2] |
minimum pixel value ([0] = global, [1] = selected pixel range) | |
T2 | MaxValue [2] |
maximum pixel value ([0] = global, [1] = selected pixel range) |
Definition at line 124 of file diinpxt.h.
|
constructor
References DiInputPixelTemplate< T1, T2 >::convert(), DiInputPixelTemplate< T1, T2 >::Data, DiPixelRepresentationTemplate< T2 >::isSigned(), DiInputPixelTemplate< T1, T2 >::MaxValue, and DiInputPixelTemplate< T1, T2 >::MinValue. |
|
convert pixel data from DICOM dataset to input representation
References DicomImageClass::checkDebugLevel(), DiInputPixelTemplate< T1, T2 >::Data, and DiPixelRepresentationTemplate< T2 >::isSigned(). Referenced by DiInputPixelTemplate< T1, T2 >::DiInputPixelTemplate(). |
|
determine minimum and maximum pixel value
Implements DiInputPixel. Definition at line 178 of file diinpxt.h. References DiInputPixelTemplate< T1, T2 >::Data, DiInputPixel::getAbsMaxRange(), DiInputPixel::getAbsMinimum(), DiInputPixelTemplate< T1, T2 >::MaxValue, DiInputPixelTemplate< T1, T2 >::MinValue, and OFBitmanipTemplate< T >::zeroMem(). |
|
get pointer to input pixel data
Implements DiInputPixel. Definition at line 295 of file diinpxt.h. References DiInputPixelTemplate< T1, T2 >::Data. |
|
get reference to pointer to input pixel data
Implements DiInputPixel. Definition at line 304 of file diinpxt.h. References DiInputPixelTemplate< T1, T2 >::Data. |
|
get maximum pixel value
Implements DiInputPixel. Definition at line 335 of file diinpxt.h. References DiInputPixelTemplate< T1, T2 >::MaxValue. |
|
get minimum pixel value
Implements DiInputPixel. Definition at line 323 of file diinpxt.h. References DiInputPixelTemplate< T1, T2 >::MinValue. |
|
get pixel representation
Implements DiInputPixel. Definition at line 286 of file diinpxt.h. References DiPixelRepresentationTemplate< T >::getRepresentation(). |