|
DCMTK Version 3.6.9
OFFIS DICOM Toolkit
|
Abstract base class to convert DICOM pixel stream to intermediate representation. More...
Inheritance diagram for DiInputPixel:Public Member Functions | |
| DiInputPixel (const unsigned int bits, const unsigned long first, const unsigned long number, const unsigned long fsize) | |
| constructor | |
| virtual | ~DiInputPixel () |
| destructor | |
| virtual int | determineMinMax ()=0 |
| determine minimum and maximum pixel value (abstract) | |
| virtual EP_Representation | getRepresentation () const =0 |
| get pixel representation (abstract). | |
| virtual const void * | getData () const =0 |
| get pointer to input pixel data (abstract) | |
| virtual void * | getDataPtr ()=0 |
| get pointer to input pixel data (abstract) | |
| virtual void | removeDataReference ()=0 |
| remove reference to (internally handled) pixel data (abstract) | |
| virtual double | getMinValue (const int idx) const =0 |
| get minimum pixel value (abstract) | |
| virtual double | getMaxValue (const int idx) const =0 |
| get maximum pixel value (abstract) | |
| 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 | |
Abstract base class to convert DICOM pixel stream to intermediate representation.
| DiInputPixel::DiInputPixel | ( | const unsigned int | bits, |
| const unsigned long | first, | ||
| const unsigned long | number, | ||
| const unsigned long | fsize ) |
constructor
| bits | number of bits stored for each pixel (depth) |
| first | first frame to be processed |
| number | number of frames to be processed |
| fsize | number of pixels per frame (frame size) |
Referenced by DiInputPixelTemplate< T1, T2 >::DiInputPixelTemplate().
|
pure virtual |
determine minimum and maximum pixel value (abstract)
Implemented in DiInputPixelTemplate< T1, T2 >.
|
inline |
|
inline |
get absolute pixel value range
References AbsMaximum, and AbsMinimum.
Referenced by DiInputPixelTemplate< T1, T2 >::determineMinMax(), DiMonoInputPixelTemplate< T1, T2, T3 >::modlut(), and DiMonoInputPixelTemplate< T1, T2, T3 >::rescale().
|
inline |
get absolute minimum pixel value
References AbsMinimum.
Referenced by DiInputPixelTemplate< T1, T2 >::determineMinMax(), DiMonoInputPixelTemplate< T1, T2, T3 >::modlut(), and DiMonoInputPixelTemplate< T1, T2, T3 >::rescale().
|
inline |
|
inline |
get number of pixels computed from the image resolution
References ComputedCount.
|
inline |
|
pure virtual |
get pointer to input pixel data (abstract)
Implemented in DiInputPixelTemplate< T1, T2 >.
Referenced by DiARGBPixelTemplate< T1, T2, T3 >::DiARGBPixelTemplate(), DiCMYKPixelTemplate< T1, T2 >::DiCMYKPixelTemplate(), DiHSVPixelTemplate< T1, T2 >::DiHSVPixelTemplate(), DiPalettePixelTemplate< T1, T2, T3 >::DiPalettePixelTemplate(), DiRGBPixelTemplate< T1, T2 >::DiRGBPixelTemplate(), DiYBR422PixelTemplate< T1, T2 >::DiYBR422PixelTemplate(), DiYBRPart422PixelTemplate< T1, T2 >::DiYBRPart422PixelTemplate(), DiYBRPixelTemplate< T1, T2 >::DiYBRPixelTemplate(), DiMonoInputPixelTemplate< T1, T2, T3 >::modlut(), and DiMonoInputPixelTemplate< T1, T2, T3 >::rescale().
|
pure virtual |
get pointer to input pixel data (abstract)
Implemented in DiInputPixelTemplate< T1, T2 >.
Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::modlut(), and DiMonoInputPixelTemplate< T1, T2, T3 >::rescale().
|
pure virtual |
get maximum pixel value (abstract)
| idx | specifies whether to return the global maximum (0) or the maximum of the selected pixel range (1, see PixelStart/Range) |
Implemented in DiInputPixelTemplate< T1, T2 >.
|
pure virtual |
get minimum pixel value (abstract)
| idx | specifies whether to return the global minimum (0) or the minimum of the selected pixel range (1, see PixelStart/Range) |
Implemented in DiInputPixelTemplate< T1, T2 >.
|
inline |
|
inline |
get first pixel to be processed
References PixelStart.
Referenced by DiARGBPixelTemplate< T1, T2, T3 >::DiARGBPixelTemplate(), DiCMYKPixelTemplate< T1, T2 >::DiCMYKPixelTemplate(), DiHSVPixelTemplate< T1, T2 >::DiHSVPixelTemplate(), DiPalettePixelTemplate< T1, T2, T3 >::DiPalettePixelTemplate(), DiRGBPixelTemplate< T1, T2 >::DiRGBPixelTemplate(), DiYBR422PixelTemplate< T1, T2 >::DiYBR422PixelTemplate(), DiYBRPart422PixelTemplate< T1, T2 >::DiYBRPart422PixelTemplate(), DiYBRPixelTemplate< T1, T2 >::DiYBRPixelTemplate(), DiMonoInputPixelTemplate< T1, T2, T3 >::modlut(), and DiMonoInputPixelTemplate< T1, T2, T3 >::rescale().
|
pure virtual |
get pixel representation (abstract).
Determine which integer type (size and signed/unsigned) is necessary to store the pixel data.
Implemented in DiInputPixelTemplate< T1, T2 >.