OFFIS DCMTK
Version 3.6.0
|
Template class to handle Palette color pixel data. More...
Public Member Functions | |
DiPalettePixelTemplate (const DiDocument *docu, const DiInputPixel *pixel, DiLookupTable *palette[3], EI_Status &status) | |
constructor | |
virtual | ~DiPalettePixelTemplate () |
destructor | |
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 | |
void | convert (const T1 *pixel, DiLookupTable *palette[3]) |
convert input pixel data to intermediate representation |
Template class to handle Palette color pixel data.
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(), DiPixel::Count, DiInputPixel::getData(), DiInputPixel::getPixelStart(), and DiColorPixel::PlanarConfiguration.
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(), DiPixel::Count, DiInputPixel::getData(), DiInputPixel::getPixelStart(), and DiColorPixel::PlanarConfiguration.
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().
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.