Inheritance diagram for DiYBRPart422PixelTemplate< T1, T2 >:
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 |
Definition at line 51 of file diyp2pxt.h.
|
constructor
Definition at line 64 of file diyp2pxt.h. References DicomImageClass::checkDebugLevel(), DiYBRPart422PixelTemplate< T1, T2 >::convert(), DicomImageClass::DL_Errors, DiInputPixel::getData(), DiInputPixel::getPixelStart(), and DiColorPixel::PlanarConfiguration. |
|
convert input pixel data to intermediate representation
Definition at line 101 of file diyp2pxt.h. References DiYBRPart422PixelTemplate< T1, T2 >::convertValue(), DiPixel::Count, DiColorPixelTemplate< T2 >::Data, DiColorPixelTemplate< T2 >::Init(), DiPixel::InputCount, and DicomImageClass::maxval(). Referenced by DiYBRPart422PixelTemplate< T1, T2 >::DiYBRPart422PixelTemplate(). |