DiCMYKPixelTemplate< T1, T2 > Class Template Reference

Template class to handle CMYK pixel data. More...

Inheritance diagram for DiCMYKPixelTemplate< T1, T2 >:

DiColorPixelTemplate< T2 > DiColorPixel DiPixelRepresentationTemplate< T2 > DiPixel List of all members.

Public Member Functions

 DiCMYKPixelTemplate (const DiDocument *docu, const DiInputPixel *pixel, EI_Status &status, const unsigned long planeSize, const int bits)
 constructor
virtual ~DiCMYKPixelTemplate ()
 destructor

Private Member Functions

void convert (const T1 *pixel, const unsigned long planeSize, const int bits)
 convert input pixel data to intermediate representation

Detailed Description

template<class T1, class T2>
class DiCMYKPixelTemplate< T1, T2 >

Template class to handle CMYK pixel data.

Definition at line 46 of file dicmypxt.h.


Constructor & Destructor Documentation

template<class T1, class T2>
DiCMYKPixelTemplate< T1, T2 >::DiCMYKPixelTemplate ( const DiDocument docu,
const DiInputPixel pixel,
EI_Status &  status,
const unsigned long  planeSize,
const int  bits 
) [inline]

constructor

Parameters:
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 dicmypxt.h.

References DiCMYKPixelTemplate< T1, T2 >::convert(), DiInputPixel::getData(), and DiInputPixel::getPixelStart().


Member Function Documentation

template<class T1, class T2>
void DiCMYKPixelTemplate< T1, T2 >::convert ( const T1 *  pixel,
const unsigned long  planeSize,
const int  bits 
) [inline, private]

convert input pixel data to intermediate representation

Parameters:
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 dicmypxt.h.

References DiPixel::Count, DiColorPixelTemplate< T2 >::Init(), DiPixel::InputCount, and DicomImageClass::maxval().

Referenced by DiCMYKPixelTemplate< T1, T2 >::DiCMYKPixelTemplate().


The documentation for this class was generated from the following file:


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1