Inheritance diagram for DiYBRPixelTemplate< T1, T2 >:
Public Member Functions | |
| DiYBRPixelTemplate (const DiDocument *docu, const DiInputPixel *pixel, EI_Status &status, const unsigned long planeSize, const int bits, const OFBool rgb) | |
| constructor | |
| virtual | ~DiYBRPixelTemplate () |
| destructor | |
Private Member Functions | |
| void | convert (const T1 *pixel, const unsigned long planeSize, const int bits, const OFBool rgb) |
| 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 diybrpxt.h.
|
||||||||||||||||||||||||||||||||
|
constructor
Definition at line 66 of file diybrpxt.h. References DiYBRPixelTemplate< T1, T2 >::convert(), DiInputPixel::getData(), and DiInputPixel::getPixelStart(). |
|
||||||||||||||||||||||||
|
convert input pixel data to intermediate representation
Definition at line 94 of file diybrpxt.h. References DiYBRPixelTemplate< T1, T2 >::convertValue(), DiPixel::Count, DiColorPixelTemplate< T2 >::Data, DiColorPixelTemplate< T2 >::Init(), DiPixel::InputCount, DiPixelRepresentationTemplate< T >::isSigned(), and DicomImageClass::maxval(). Referenced by DiYBRPixelTemplate< T1, T2 >::DiYBRPixelTemplate(). |