next up previous
Next: iii-C Color Representation Up: iii Color Sets Previous: iii-A Color Histogram

iii-B Color Set Notation

iii-B.1 Transformation

The color set representation is defined as follows: given the color triple (r,g,b) in the 3-D RGB color space and the transform T between RGB and a generic color space denoted XYZ, for each (r,g,b) let the triple (x,y,z) represent the transformed color such that

equation99

iii-B.2 Quantization

Let tex2html_wrap_inline1234 be a vector quantizer function that maps a triple (x, y, z) to one of M bins. Then m, where tex2html_wrap_inline1332 , is the index of color (x, y, z) assigned by the quantizer function and is given by

equation103

iii-B.3 Binary Color Space

Let tex2html_wrap_inline1336 be an M dimensional binary space that corresponds to the index produced by tex2html_wrap_inline1234 such that each index value m corresponds to one axis in tex2html_wrap_inline1336 .

colorset114

For example, let T transform RGB to HSV and let tex2html_wrap_inline1234 where M=8 vector quantize the HSV color space to 2 hues, 2 saturations and 2 values. tex2html_wrap_inline1234 assigns a unique index m to each quantized HSV color. Then tex2html_wrap_inline1368 is the 8-dimensional binary space whereby each axis in tex2html_wrap_inline1368 corresponds one of the quantized HSV colors. Then a color set tex2html_wrap_inline1374 contains a selection from the 8 colors. If the color set corresponds to a unit length binary vector then one color is selected. If a color set has more than one non-zero value then several colors are selected. For example, the color set tex2html_wrap_inline1376 corresponds to the selection of three colors, m=7, m=4 and m=2, from the quantized HSV color space.

 

figure128


Figure 4:   Transformation between 3-D color histogram and binary color set.



John R. Smith
[email protected]
http://www.ctr.columbia.edu/~jrsmith
March 6, 1996