Inheritance diagram for DiHSVPixelTemplate< T1, T2 >:
Public Member Functions | |
| DiHSVPixelTemplate (const DiDocument *docu, const DiInputPixel *pixel, EI_Status &status, const unsigned long planeSize, const int bits) | |
| constructor | |
| virtual | ~DiHSVPixelTemplate () |
| destructor | |
Private Member Functions | |
| void | convert (const T1 *pixel, const unsigned long planeSize, const int bits) |
| convert input pixel data to intermediate representation | |
| void | convertValue (T2 &red, T2 &green, T2 &blue, const T2 hue, const T2 saturation, const T2 value, const T2 maxvalue) |
| convert a single HSV value to RGB | |
Definition at line 46 of file dihsvpxt.h.
| DiHSVPixelTemplate< T1, T2 >::DiHSVPixelTemplate | ( | const DiDocument * | docu, | |
| const DiInputPixel * | pixel, | |||
| EI_Status & | status, | |||
| const unsigned long | planeSize, | |||
| const int | bits | |||
| ) | [inline] |
constructor
| docu | pointer to DICOM document | |
| pixel | pointer to input pixel representation | |
| status | reference to status variable | |
| planeSize | number of pixels in a plane | |
| bits | number of bits per sample |
Definition at line 60 of file dihsvpxt.h.
References DiHSVPixelTemplate< T1, T2 >::convert(), DiInputPixel::getData(), and DiInputPixel::getPixelStart().
| void DiHSVPixelTemplate< T1, T2 >::convert | ( | const T1 * | pixel, | |
| const unsigned long | planeSize, | |||
| const int | bits | |||
| ) | [inline, private] |
convert input pixel data to intermediate representation
| pixel | pointer to input pixel data | |
| planeSize | number of pixels in a plane | |
| bits | number of bits per sample |
Definition at line 86 of file dihsvpxt.h.
References DiHSVPixelTemplate< T1, T2 >::convertValue(), DiPixel::Count, DiColorPixelTemplate< T2 >::Data, DiColorPixelTemplate< T2 >::Init(), DiPixel::InputCount, and DicomImageClass::maxval().
Referenced by DiHSVPixelTemplate< T1, T2 >::DiHSVPixelTemplate().