Template class to handle RGB pixel data. More...
Public Member Functions | |
| DiRGBPixelTemplate (const DiDocument *docu, const DiInputPixel *pixel, EI_Status &status, const unsigned long planeSize, const int bits) | |
| constructor | |
| virtual | ~DiRGBPixelTemplate () |
| destructor | |
Private Member Functions | |
| void | convert (const T1 *pixel, const unsigned long planeSize, const int bits) |
| convert input pixel data to intermediate representation | |
Template class to handle RGB pixel data.
Definition at line 50 of file dirgbpxt.h.
| DiRGBPixelTemplate< T1, T2 >::DiRGBPixelTemplate | ( | const DiDocument * | docu, | |
| const DiInputPixel * | pixel, | |||
| EI_Status & | status, | |||
| const unsigned long | planeSize, | |||
| const int | bits | |||
| ) | [inline] |
constructor
| docu | pointer to DICOM document | |
| pixel | pointer to input pixel representation | |
| status | reference to status variable | |
| planeSize | number of pixel in a single plane | |
| bits | number of bits per sample |
Definition at line 64 of file dirgbpxt.h.
References DiRGBPixelTemplate< T1, T2 >::convert(), DiPixel::Count, DiInputPixel::getData(), and DiInputPixel::getPixelStart().
| void DiRGBPixelTemplate< T1, T2 >::convert | ( | const T1 * | pixel, | |
| const unsigned long | planeSize, | |||
| const int | bits | |||
| ) | [inline, private] |
convert input pixel data to intermediate representation
| pixel | pointer to input pixel data | |
| planeSize | number of pixels in a plane | |
| bits | number of bits per sample |
Definition at line 90 of file dirgbpxt.h.
References DiPixel::Count, DiColorPixelTemplate< T2 >::Data, DiColorPixelTemplate< T2 >::Init(), DiPixel::InputCount, DicomImageClass::maxval(), and DiColorPixel::PlanarConfiguration.
Referenced by DiRGBPixelTemplate< T1, T2 >::DiRGBPixelTemplate().