Inheritance diagram for DiPalettePixelTemplate< T1, T2, T3 >:
Public Member Functions | |
DiPalettePixelTemplate (const DiDocument *docu, const DiInputPixel *pixel, DiLookupTable *palette[3], EI_Status &status) | |
constructor | |
virtual | ~DiPalettePixelTemplate () |
destructor | |
Private Member Functions | |
void | convert (const T1 *pixel, DiLookupTable *palette[3]) |
convert input pixel data to intermediate representation |
Definition at line 47 of file dipalpxt.h.
DiPalettePixelTemplate< T1, T2, T3 >::DiPalettePixelTemplate | ( | const DiDocument * | docu, | |
const DiInputPixel * | pixel, | |||
DiLookupTable * | palette[3], | |||
EI_Status & | status | |||
) | [inline] |
constructor
docu | pointer to DICOM document | |
pixel | pointer to input pixel representation | |
palette | pointer to RGB color palette | |
status | reference to status variable |
Definition at line 60 of file dipalpxt.h.
References DiPalettePixelTemplate< T1, T2, T3 >::convert(), DiInputPixel::getData(), and DiInputPixel::getPixelStart().
void DiPalettePixelTemplate< T1, T2, T3 >::convert | ( | const T1 * | pixel, | |
DiLookupTable * | palette[3] | |||
) | [inline, private] |
convert input pixel data to intermediate representation
pixel | pointer to input pixel data | |
palette | pointer to RGB color palette |
Definition at line 92 of file dipalpxt.h.
References DiPixel::Count, DiColorPixelTemplate< T3 >::Data, DiColorPixelTemplate< T3 >::Init(), and DiPixel::InputCount.
Referenced by DiPalettePixelTemplate< T1, T2, T3 >::DiPalettePixelTemplate().