34 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/ofstd/oftypes.h"
36 #include "dcmtk/dcmimage/diqtpix.h"
73 return *
this == colorP;
objects of this class represent individual RGB pixels.
OFBool equals(const DcmQuantPixel &colorP) const
compares the stored pixel value with the given pixel.
void setValue(int v)
assigns a new integer value to this object
this class extends DcmQuantPixel by an integer value which is used for various purposes.
int getValue() const
returns the integer value maintained by this object
void incValue()
increases the integer value maintained by this object by one
DcmQuantHistogramItem()
default constructor
DcmQuantHistogramItem(const DcmQuantPixel &colorP, int val)
constructor
int value
integer value assigned to this pixel.