achieved using Dominant Color Temperatures
descriptor, which describes a few representative
color temperatures in an image. We proposed two
algorithms for extraction of the descriptor. One of
them is similar to the extraction method of the
MPEG-7 Dominant Color descriptor (Wnukowicz,
2004). But that method is not optimally suited for
dominant color temperatures extraction, and is also
computationally costly (vector quantization of pixel
values in 3D color space). To avoid these
drawbacks, we proposed a new extraction algorithm
(Wnukowicz, 2005) based on scalar quantization in
one-dimensional color temperature domain. The
syntax of the Dominant Color Temperatures
descriptor remains the same as the originally
proposed one. Section 2 outlines the extraction
methods, and section 3 presents experiments for
comparison of the methods.
Although Dominant Color Temperature
descriptor relates conceptually to two other
descriptors: Dominant Color and Color
Temperature, there are significant differences
between them. We carried out some experiments for
comparing the results obtained by those descriptors
and Dominant Color Temperatures descriptor for a
test dataset of images. They are presented in sections
4 and 5.
2 EXTRACTING DOMINANT
COLOR TEMPERATURES
The general idea of the Dominant Color
Temperatures descriptor is to describe images by
color temperatures of their representative colors.
This will result in more precise description of
images regarding color temperature feature in
comparison with the one-parameter Color
Temperature descriptor. The Dominant Color
Temperature descriptor extends the functionality of
image searching using color temperature by enabling
two additional types of queries: query by color
temperature value and query by example. Other
types of queries are also possible, of which examples
are the following:
− find images that contain at least 80% of
dominant colors with warm color temperature
category;
− find images that contain regions of different
color temperature categories (for example
warm>20% and moderate>40%);
− rank query result according to the relevance to
the user query.
The originally proposed method for dominant
color temperatures extraction is based on the
extraction algorithm for dominant colors (ISO/IEC,
2002a). This solution is justified by the fact that
perceptually distinct dominant colors are obtained
by averaging color values of similar group of pixels
in an image. The averaging of color values for pixels
which influence color temperature perception is also
used in extraction of the Color Temperature
descriptor (Kim, Park, 2001b).
The overall scheme of the dominant-color-based
extraction method can be outlined in the following
steps:
1. Extract the dominant colors of an image using
the GLA color quantization algorithm;
2. Compute the chromaticity coordinates on uv
plane for each dominant color;
3. Compute the color temperatures from the
chromaticity coordinates for each dominant
color;
4. Construct the descriptor as an array of elements
that hold values and percentages of the color
temperatures in the image. The “black” colors
are not included into the descriptor.
To extract the descriptor, first, up to eight dominant
colors of the image are obtained, and next, color
temperatures for the dominant colors are estimated.
As a result K pairs of values [t
i
, p
i
] are obtained,
where t
i
denotes color temperature value, p
i
denotes
percentage of pixels with color temperature t
i
, 0 ≤ i ≤
K-1, and K ≤ 8.
The dominant color based approach for dominant
color temperatures extraction has two significant
drawbacks. The first is a high computational cost
caused by the vector quantization of pixel values in
3D color space. The second drawback is that
dominant colors do not always correspond to distinct
color temperature values. For example, two distinct
dominant colors, light-red and dark-red, may have
undistinguishable color temperatures. The better
solution would be if the dominant color temperatures
were well distinguishable. Such solution is the
extraction method proposed in the second algorithm
(Wnukowicz, 2005).
The new extraction algorithm is based on scalar
quantization in one-dimensional color temperature
domain. The algorithm can be outlined in the
following steps:
1. Compute color temperature values, in reciprocal
megakelvin scale, for all pixels in the image;
2. Mark pixels without significant color
temperature values, that should be omitted (e.g.
black colors);
3. Compute a histogram of color temperature for
the remaining pixels;
4. Perform scalar quantization of the histogram
bins to obtain dominant color temperatures;
5. Merge similar dominant color temperature bins
(by using a merging threshold).
ICETE 2005 - MULTIMEDIA SIGNAL PROCESSING
172