34 #include "dcmtk/config/osconfig.h"
36 #define INCLUDE_CSTDLIB
37 #define INCLUDE_CASSERT
38 #include "dcmtk/ofstd/ofstdinc.h"
41 #ifdef HAVE_SYS_TYPES_H
43 #include <sys/types.h>
103 void sort(
unsigned long boxes);
DcmQuantPixelBoxArray(unsigned long entries)
constructor.
int ind
index of the color histogram array where the colors represented by this box start ...
unsigned long length
number of elements in array
void sort(unsigned long boxes)
sorts the given number of pixel boxes in the array, starting with the first array element...
DcmQuantPixelBox & operator[](size_t idx)
looks up an array element
helper class for the Median Cut algorithm.
unsigned long sum
the number of pixels represented by this box
DcmQuantPixelBoxPointer * array
array of pixel boxes
int colors
the number of colors represented by this box
~DcmQuantPixelBoxArray()
destructor
DcmQuantPixelBoxArray & operator=(const DcmQuantPixelBoxArray &src)
private undefined copy assignment operator
helper structure for class DcmQuantPixelBoxArray.