DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
Template class to handle YCbCr Partial 4:2:2 pixel data. More...
Public Member Functions | |
DiYBRPart422PixelTemplate (const DiDocument *docu, const DiInputPixel *pixel, EI_Status &status, const int bits) | |
constructor | |
virtual | ~DiYBRPart422PixelTemplate () |
destructor | |
Private Member Functions | |
void | convert (const T1 *pixel, const int bits) |
convert input pixel data to intermediate representation | |
void | convertValue (T2 &red, T2 &green, T2 &blue, const T2 y, const T2 cb, const T2 cr, const T2 maxvalue) |
convert a single YCbCr value to RGB |
Template class to handle YCbCr Partial 4:2:2 pixel data.
DiYBRPart422PixelTemplate< T1, T2 >::DiYBRPart422PixelTemplate | ( | const DiDocument * | docu, |
const DiInputPixel * | pixel, | ||
EI_Status & | status, | ||
const int | bits | ||
) | [inline] |
constructor
docu | pointer to DICOM document |
pixel | pointer to input pixel representation |
status | reference to status variable |
bits | number of bits per sample |
void DiYBRPart422PixelTemplate< T1, T2 >::convert | ( | const T1 * | pixel, |
const int | bits | ||
) | [inline, private] |
convert input pixel data to intermediate representation
pixel | pointer to input pixel data |
bits | number of bits per sample |