The operation of color system quantization is
needed in order to reduce the number of colors used
in content-based visual query: from millions to tens.
The quantization of the HSV color space to 166
colors, solution proposed by J.R. Smith, is the idea
used in this study (Smith, 1997). For the color space
l1l2l3 the solution of quantization to 64 colors is
chosen, keeping 4 values for each component of the
system. The fact that a color system is quantized to
166 colors and the other to 64 colors does not
influence the quality of the content-based image
query process, the research studies showing clearly
this aspect (Stanescu et al, 2006). The color
histograms represent the traditional method of
describing the color properties of the images. They
have the advantages of easy computation and up to
certain point are insensitive to camera rotating,
zooming, and changes in image resolution (Del
Bimbo, 2001). In case of both color systems, to
compute the distance between the color histograms
of the query image and the target image, the
intersection of the histograms is used (Smith, 1997).
The studies have also shown that using this metric in
content-based visual query gives very good results
as quadratic distance between histograms that is
more difficult to calculate (Smith, 1997, Stanescu et
al, 2006).
3 EXPERIMENTS
The experiments were performed in the following
conditions.
A database with 520 color images from the field
of the digestive apparatus was created. The images
are from patients with the following diagnosis:
polyps, ulcer, esophagitis, ulcerous tumors and
colitis. For each image there are several images with
affected area captured from 3 or 4 viewing
directions. For each image in the database there is
another identical image, but having the illumination
intensity changed.
A software tool that permits the processing of
each image was created. The software tool executes
the following steps:
1. the transformation of image from RGB
color space to HSV color space and the
quantization to 166 colors
2. the transformation of image from RGB
color space to l1l2l3 color space and the
quantization to 64 colors
3. calculation of the two color histograms
with 166, respectively 64 values, that
represent the characteristics vectors and
storing them in the database
In order to make the query the procedure is:
• a query image is chosen
• the dissimilitude between the query image
and every target image from the database is
computed, for each two specified criteria
(color histograms with 166 colors and the
color histogram with 64 colors);
• the images are displayed on 2 columns
corresponding to the 2 methods in
ascending order of the computed distance.
For each query, the relevant images have been
established. Each of the relevant images has become
in turn a query image, and the final results for a
query are an average of these individual results.
The experimental results are summarized in table
1. Method 1 represents the query using the HSV
color space quantized at 166 colors and Method 2
represents the query on color using the l1l2l3 color
space quantized at 64 colors. The values in the table
represent the number of relevant images of the first 5
images retrieved for each query and each of the
methods, as an average of the values obtained on
each executed query.
Table 1: Experimental results.
It must be mentioned that the queries were made
for each of the 5 diagnostics in part. The notion of
relevant image was strictly defined. The images
from the same patient captured at different
illumination intensity and from different points of
view were considered relevant for a query, and not
the ones with the same diagnosis. The quality of the
content-based image query process was strictly
analyzed. In figure 1 there is an example of content-
based image query considering the two specified
methods for images categorized as colitis. The first
column contains 5 images retrieved by Method1 and
the second contains the images retrieved using
Method2. In the first case there are 5 relevant
images and in the second case, 4 relevant images.
4 CONCLUSION
The paper presents the condition in which the
quality of the content-based visual query process
was studied, using a collection of medical images
from digestive tract. The quality was measured
Query Method 1 Method 2
Polyps 3.6 3.2
Colitis 3.5 3.1
Ulcer 3.2 2.9
Ulcerous Tumor 3.5 3.1
Esophagitis 3.4 3.1
A STUDY OF TWO COLOR SYSTEMS USED IN CONTENT-BASED IMAGE QUERY ON MEDICAL IMAGERY
339