DCMTK
Version 3.6.3
OFFIS DICOM Toolkit
|
Abstract base class to convert DICOM pixel stream to intermediate representation. More...
Public Member Functions | |
DiInputPixel (const unsigned int bits, const unsigned long first, const unsigned long number, const unsigned long fsize) | |
constructor More... | |
virtual | ~DiInputPixel () |
destructor | |
virtual int | determineMinMax ()=0 |
determine minimum and maximum pixel value (abstract) More... | |
virtual EP_Representation | getRepresentation () const =0 |
get pixel representation (abstract). More... | |
virtual const void * | getData () const =0 |
get pointer to input pixel data (abstract) More... | |
virtual void * | getDataPtr ()=0 |
get pointer to input pixel data (abstract) More... | |
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) More... | |
virtual double | getMaxValue (const int idx) const =0 |
get maximum pixel value (abstract) More... | |
unsigned int | getBits () const |
get number of bits per pixel More... | |
double | getAbsMinimum () const |
get absolute minimum pixel value More... | |
double | getAbsMaximum () const |
get absolute maximum pixel value More... | |
double | getAbsMaxRange () const |
get absolute pixel value range More... | |
unsigned long | getCount () const |
get number of pixels stored More... | |
unsigned long | getPixelStart () const |
get first pixel to be processed More... | |
unsigned long | getPixelCount () const |
get number of pixels to be processed More... | |
unsigned long | getComputedCount () const |
get number of pixels computed from the image resolution More... | |
Protected Attributes | |
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 | |
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) |
|
pure virtual |
determine minimum and maximum pixel value (abstract)
Implemented in DiInputPixelTemplate< T1, T2 >.
|
inline |
get absolute maximum pixel value
|
inline |
get absolute pixel value range
|
inline |
get absolute minimum pixel value
|
inline |
get number of bits per pixel
|
inline |
get number of pixels computed from the image resolution
|
inline |
get number of pixels stored
|
pure virtual |
get pointer to input pixel data (abstract)
Implemented in DiInputPixelTemplate< T1, T2 >.
|
pure virtual |
get pointer to input pixel data (abstract)
Implemented in DiInputPixelTemplate< T1, T2 >.
|
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 |
get number of pixels to be processed
|
inline |
get first pixel to be processed
|
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 >.