Static Public Member Functions | |
static void | create (DicomImage &sourceImage, unsigned long frameNumber, unsigned long maxval, DcmQuantColorHashTable &cht, DcmQuantColorTable &colormap, T1 &fs, T2 *tp) |
converts a single frame of a color image into a palette color image. |
The two template parameters define the error diffusion class used to implement e.g. Floyd-Steinberg error diffusion and the output type of the color index values, which may be 8 bit or 16 bit unsigned integers.
Definition at line 59 of file diqtcmap.h.
|
converts a single frame of a color image into a palette color image.
Definition at line 80 of file diqtcmap.h. References DcmQuantColorHashTable::add(), DcmQuantColorTable::computeIndex(), DcmQuantScaleTable::createTable(), DicomImage::getHeight(), DicomImage::getOutputData(), DcmQuantColorTable::getPixel(), DicomImage::getWidth(), and DcmQuantColorHashTable::lookup(). |