applications (Swain & Ballard, 1991), however the
lack of spatial features reduces its discriminative
power. As a solution, techniques like extended
histograms, augmented histograms (Chen & Wong,
1999) and colour correlograms (Huang et al., 1997)
were introduced. Even though these new methods
incorporate spatial relationships between colours,
they still compute a statistical generalization of
colour relations, which may not depict the actual
relationships. Hence they perform poorly when
partial images are concerned.
However, colour alone does not have a very
strong discriminative power to capture all the facets
of an image; therefore additional descriptors are
needed to enhance the accuracy of search results.
Psychological experiments have shown that the
Human Visual System (HVS) cognizes the world in
terms of high-level objects and their spatial
relationships, the „object-ontology‟ of the HVS can
be classified as follows (Liu et al., 2007):
Figure 1: Object ontology.
Since emulating the HVS is the ultimate goal of
any image processing technique, representing
images using above descriptors can greatly enhance
the efficiency of CBIR as well. Due to the
complexities of shape based calculations, remaining
three descriptors, namely colour, position and size
were adopted as the main content descriptors in this
research.
The main focus of this research was to
implement a new indexing scheme that can capture
spatial relationships of significant image segments
of an image based on their dominant colours.
Remainder of this paper is structured as follows:
Section 2 and 3 discusses about colour systems and
the importance of using dominant colours, followed
by a brief introduction to the image segmentation
algorithm used in this research. Section 5 explains
the process of creating a pallet of dominant colours
followed by an outline of the newly proposed
connected component labelling algorithm. Sections
7 and 8 provide an overview of the implementation
details and experimental results.
2 COLOUR SPACES
A colour space provides the ability to specify, create
and visualise colours; it is an abstract mathematical
model describing how colours can be represented as
points in a 3D space.
Many different colour systems are used to
represent colours in digital images, the most widely
used model is RGB, however, HSL/V, CMY/K and
CIELab (International Commission on
Illumination‟s Lightness, a, b colour component
model) are also used depending on different
applications and requirements.
Despite having so many different colour models,
only a handful of them such as CIELab have a
perceptually uniform colour space. In such a colour
space, a linear change of data results in a linearly
perceived colour change; in other words the
Euclidian distance between two colours should
represent the colour difference as perceived by the
human vision system (Shih et at., 2001).
Since this research focused on processing images
based on a reduced colour palette (dominant
colours), colour approximation was a vital part. For
this reason CIELab colour space was used for better
accuracy in calculating dominant colours.
3 DOMINANT COLOURS
Modern images contain millions of colours; but if
this number can be decreased to tens or hundreds
without losing a significant amount of the detail,
then both the storage size and computational power
required for processing images can be drastically
reduced.
In a typical image, most of the colours are simply
shades of a few basic colours. These basic colours
dominate the whole image while capturing the
essential details, hence called dominant colours.
Therefore, by processing an image with regard to
these dominant colours can help reduce the
processing and storage requirements without
significantly reducing the discriminative power of
the image. The process of deriving the dominant
colours is discussed in section 5.
4 IMAGE SEGMENTATION
Since this study focused on building an image index
based on objects and their spatial/colour
relationships, segmenting the image was a major
CONTENT BASED IMAGE RETRIEVAL USING SPATIAL RELATIONSHIPS BETWEEN DOMINANT COLOURS
OF IMAGE SEGMENTS
185