OFFIS DCMTK
Version 3.6.0
|
Template class to handle ARGB pixel data. More...
Public Member Functions | |
DiARGBPixelTemplate (const DiDocument *docu, const DiInputPixel *pixel, DiLookupTable *palette[3], EI_Status &status, const unsigned long planeSize, const int bits) | |
constructor | |
virtual | ~DiARGBPixelTemplate () |
destructor | |
DiARGBPixelTemplate (const DiDocument *docu, const DiInputPixel *pixel, DiLookupTable *palette[3], EI_Status &status, const unsigned long planeSize, const int bits) | |
constructor | |
virtual | ~DiARGBPixelTemplate () |
destructor | |
Private Member Functions | |
void | convert (const T1 *pixel, DiLookupTable *palette[3], const unsigned long planeSize, const int bits) |
convert input pixel data to intermediate representation | |
void | convert (const T1 *pixel, DiLookupTable *palette[3], const unsigned long planeSize, const int bits) |
convert input pixel data to intermediate representation |
Template class to handle ARGB pixel data.
Definition at line 46 of file diargpxt.h.
DiARGBPixelTemplate< T1, T2, T3 >::DiARGBPixelTemplate | ( | const DiDocument * | docu, |
const DiInputPixel * | pixel, | ||
DiLookupTable * | palette[3], | ||
EI_Status & | status, | ||
const unsigned long | planeSize, | ||
const int | bits | ||
) | [inline] |
constructor
docu | pointer to DICOM document |
pixel | pointer to input pixel representation |
palette | pointer to RGB color palette |
status | reference to status variable |
planeSize | number of pixels in a plane |
bits | number of bits per sample |
Definition at line 61 of file diargpxt.h.
References DiARGBPixelTemplate< T1, T2, T3 >::convert(), DiPixel::Count, DiInputPixel::getData(), and DiInputPixel::getPixelStart().
DiARGBPixelTemplate< T1, T2, T3 >::DiARGBPixelTemplate | ( | const DiDocument * | docu, |
const DiInputPixel * | pixel, | ||
DiLookupTable * | palette[3], | ||
EI_Status & | status, | ||
const unsigned long | planeSize, | ||
const int | bits | ||
) | [inline] |
constructor
docu | pointer to DICOM document |
pixel | pointer to input pixel representation |
palette | pointer to RGB color palette |
status | reference to status variable |
planeSize | number of pixels in a plane |
bits | number of bits per sample |
Definition at line 61 of file diargpxt.h.
References DiARGBPixelTemplate< T1, T2, T3 >::convert(), DiPixel::Count, DiInputPixel::getData(), and DiInputPixel::getPixelStart().
void DiARGBPixelTemplate< T1, T2, T3 >::convert | ( | const T1 * | pixel, |
DiLookupTable * | palette[3], | ||
const unsigned long | planeSize, | ||
const int | bits | ||
) | [inline, private] |
convert input pixel data to intermediate representation
pixel | pointer to input pixel data |
palette | pointer to RGB color palette |
planeSize | number of pixels in a plane |
bits | number of bits per sample |
Definition at line 89 of file diargpxt.h.
References DiPixel::Count, DiColorPixelTemplate< T3 >::Data, DiColorPixelTemplate< T3 >::Init(), DiPixel::InputCount, DicomImageClass::maxval(), and DiColorPixel::PlanarConfiguration.
Referenced by DiARGBPixelTemplate< T1, T2, T3 >::DiARGBPixelTemplate().
void DiARGBPixelTemplate< T1, T2, T3 >::convert | ( | const T1 * | pixel, |
DiLookupTable * | palette[3], | ||
const unsigned long | planeSize, | ||
const int | bits | ||
) | [inline, private] |
convert input pixel data to intermediate representation
pixel | pointer to input pixel data |
palette | pointer to RGB color palette |
planeSize | number of pixels in a plane |
bits | number of bits per sample |
Definition at line 89 of file diargpxt.h.
References DiPixel::Count, DiColorPixelTemplate< T3 >::Data, DiColorPixelTemplate< T3 >::Init(), DiPixel::InputCount, DicomImageClass::maxval(), and DiColorPixel::PlanarConfiguration.