Open access peer-reviewed chapter

Content-Based Image Feature Description and Retrieving

By Nai-Chung Yang, Chung-Ming Kuo and Wei-Han Chang

Submitted: May 6th 2012Reviewed: August 13th 2012Published: February 13th 2013

DOI: 10.5772/52286

Downloaded: 1435

1. Introduction

With the growth in the number of color images, developing an efficient image retrieval system has received much attention in recent years. The first step to retrieve relevant information from image and video databases is the selection of appropriate feature representations (e.g. color, texture, shape) so that the feature attributes are both consistent in feature space and perceptually close to the user [1]. There are many CBIR systems, which adopt different low level features and similarity measure, have been proposed in the literature [2-5]. In general, perceptually similar images are not necessarily similar in terms of low-level features [6]. Hence, these content-based systems capture pre-attentive similarity rather than semantic similarity [7]. In order to achieve more efficient CBIR system, active researches are currently focused on the two complemented approaches: region-based approach [4, 8-10] and relevance feedback [6, 11-13].

Typically, the region-based approaches segment each image into several regions with homogenous visual prosperities, and enable users to rate the relevant regions for constructing a new query. In general, an incorrect segmentation may result in inaccurate representation. However, automatically extracting image objects is still a challengeing issue, especially for a database containing a collection of heterogeneous images. For example, Jing et al. [8] integrate several effective relevance feedback algorithms into a region-based image retrieval system, which incorporates the properties of all the segmented regions to perform many-to-many relationships of regional similarity measure. However, some semantic information will be disregarded without considering similar regions in the same image. In another study [10], Vu et al. proposed a region-of-interest (ROI) technique which is a sampling-based approach called SamMatch for matching framework. This method can prevent incorrectly detecting the visual features.

On the other hand, the mechanism of relevance feedback is an online-learning technique that can capture the inherent subjectivity of user’s perception during a retrieval session. In Power Tool [11], the user is allowed to give the relevance scores to the best matched images, and the system adjusts the weights by putting more emphasis on the specific features. Cox et al. [11] propose an alternative way to achieve CBIR that predicts the possible image targets by Bayes’ rule rather than provides with segmented regions of the query image. However, the feedback information in [12] could be ignored if the most likely images and irrelevant images have similar features.

In this Chapter, a novel region-based relevance feedback system is proposed that incorporates several feature vectors. First, unsupervised texture segmentation for natural images is used to partition an image to several homogeneous regions. Then we propose an efficient dominant color descriptor (DCD) to represent the partitioned regions in image. Next, a regional similarity matrix model is introduced to rank the images. In order to attack the possible fails of segmentation and to simplify the user operations, we propose a foreground assumption to separate an image into two parts: foreground and background. The background could be regarded as the irrelevant region that confuses with the query semantics for retrieval. It should be noted that the main objectives of this approach could exclude irrelevant regions (background) from contributing to image-to-image similarity model. Furthermore, the global features extracted from entire image are used to compensate the inaccuracy due to imperfect segmentations. The details will be presented in the following Sections. Experimental results show that our framework improves the accuracy of relevance-feedback retrieval.

The Chapter is organized as follows. Section 2 describes the key observations which explain the basis of our algorithm. In Section 3, we first present a quantization scheme for extracting the representative colors from images, and then introduce a modified similarity measure for DCD. In Section 4, image segmentation and region representation based on our modified dominant color descriptor and local binary pattern are described. Then the image representation and the foreground assumption are explained in Section 5. Our integrated region-based relevance feedback strategies, which consider pseudo query image and relevant images as the relevance information, are introduced in Section 6. Experimental results and discussions of the framework are made in Section 7. Finally, a short conclusion is presented in Section 8.

2. Problem statement

The major goal in region-based relevance feedback for image retrieval is to search perceptually similar images with good accuracy in short response time. For nature image retrieval, conversional region-based relevance feedback systems use multiple features (e.g., color, shape, texture, size) and update weighting scheme. In this context, our algorithm is motivated by the following viewpoints.

  1. Computational cost increases as the selected features increased. However, an algorithm with large number of features does not guarantee an improvement of retrieval performance. In theory, the retrieval performance can be enhanced by choosing more compact feature vectors.

  2. The CBIR systems retrieve similar images according to the user-defined feature vectors [10]. To improve the accuracy, the region-based approaches [14, 15] segment each image into several regions, and then extract the image features, such as the dominant color, texture or shape. However, the correct detection of semantic objects involves many conditions [16] such as lighting conditions, occlusion and inaccurate segmentation. Since no automatic segmentation algorithm achieves satisfactory performance currently, segmented regions are commonly provided by the user to support the image retrieval. However, semantically correct segmentation is a strict challenge to the user, even some systems provide segmentation tools.

  3. The CBIR technique helps the system to learn how to retrieve the results that users are looking for. Therefore, there is an urgent need to develop a convient technique for region-of-interest analysis.

3. A modified dominant color descriptor

Color is one of the most widely used visual features for retrieving images from common semantic categories [12]. MPEG-7 specifies several color descriptors [17], such as dominant colors, scalable color histogram, color structure, color layout and GoF/GoP color. The human visual system captures dominant colors in images and eliminates the fine details in small areas [18]. In MPEG-7, DCD provides a compact color representation, and describes the color distribution in an image[16]. The dominant color descriptor in MPEG-7 is defined as


where N is the total number of dominant colors in image, c i is a 3-D dominant color vector, p i is the percentage for each dominant color, andΣpi=1.

In order to extract the dominant colors from an image, a color quantization algorithm has to be predetermined. A commonly used approach is the modified generalized Lloyd algorithm (GLA) [19], which is a color quantization algorithm with clusters merging. This method can simplify the large number of colors to a small number of representative colors. However, the GLA has several intrinsic problems associated with the existing algorithm as follows [20].

  1. It may give different clustering results when the number of clusters is changed.

  2. A correct initialization of the centroid of cluster is a crucial issue because some clusters may be empty if their initial centers lie far from the distribution of data.

  3. The criterion of the GLA depends on the cluster “distance”; therefore, different initial parameters of an image may cause different clustering results.

In general, the conventional clustering algorithms are very time consuming [2, 21-24]. On the other hand, the quadratic-like measure [2, 17, 25] for dominant color descriptor in MPEG7 does not matching human perception very well, and it could cause incorrect ranks for images with similar color distribution [3, 20, 26]. In this Chapter, we adopt the linear block algorithm (LBA) [20] to extract the representative colors, and measure the perceptual similar dominant colors by the modified similarity measure.

Considering two dominant color features F1={{ci, pi}, i=1,,N1}andF2={{bj, qj}, j=1,...N2}, the quadratic-like dissimilarity measure between two images F1and F2is calculated by:

D2(F1, F2)=i=1N1pi2+j=1N2qj2i=1N1j=1N22ai,jpiqjE2

where ai,jis the similarity coefficient between color clusters ciandbj, and it is given by


The threshold Tdis the maximum distance used to judge whether two color clusters are similar, and di,jis Euclidean distance between two color clusters ciandbj;dmax=αTd, notation αis a parameter that is set to 2.0 in this work.

The quadratic-like distance measure in Eq. (2) may incorrectly reflect the distance between two images. The improper results are mainly caused by two reasons. 1) If the number of dominant colors  N2in target image increases, it might cause incorrect results. 2) If one dominant color can be found both in target images and query image, a high percentage qjof the color in target image might cause improper results. In our earlier work [19], we proposed a modified distance measure that considers not only the similarity of dominant colors but also the difference of color percentages between images. The experimental results show that the measure in [20] provides better match to human perception in judging image similarity than the MPEG-7 DCD. The modified similarity measure between two images F1and F2is calculated by:


wherepq(i)andpt(j)are the percentages of the ith dominant color in query image and the jth dominant color in target image, respectively. The term in bracket,1|pq(i)pt(j)|is used to measure the difference between two colors in percentage, and the term min(pq(i),pt(j))is the intersection of pq(i)andpt(j)that represents the similarity between two colors in percentage. In Fig. 1, we use two real images selected from Corel as our example, where the color and percentage values are given for comparison.

Figure 1.

Example images with the dominant colors and their percentage values. First row: 3-D dominant color vector c i and the percentage p i for each dominant color. Middle row: the original images. Bottom row: the corresponding quantized images.

In Fig. 1, we calculate this example by using the modified measure and quadratic-like measure for comparison. In order to properly reflect similarity coefficient between two color clusters, the parameter is set to 2 and Td=25 in Eq(3). Since the pair-wised distance between Q and F1in Fig. 1 is exceed Td, the quadratic-like dissimilarity measure can be determined by


However, using the quadratic-like dissimilarity measure between the Q and F2is:


It can be seen that the comparison result of D2(Q,F2)>D2(Q,F1)is not consistent with human perception. Whereas, using the dissimilarity measure in [19], we have




Figure 2.

Example images with the dominant colors and their percentage values. First row: 3-D dominant color vector c i and the percentage p i for each dominant color. Middle row: the original images. Bottom row: the corresponding quantized images.

In DCD, the quadratic-like measure results incorrect matches due to the existence of high percentage of the same color in target image. For example, consider the quantized images in Fig. 2. We can see that the percentage of dominant colors of F1(rose) and F2(gorilla) are 82.21% and 92.72%, respectively. In human perception, Q is more similar toF2. However, the quadratic-like similarity measure isD2(Q,F2)>D2(Q,F1). Obviously, the result causes a wrong rank. The robust similarity measure [19] is more accurate to capture human perception than that of MPEG-7 DCD. In our experiments, the modified DCD achieves 16.7% and 3% average retrieval rate (ARR) [27] improvements than Ma [28] and Mojsilovic [29], respectively. In this Chapter, the modified dominant color descriptor is chosen to support the proposed CBIR system.

4. Image segmentation and region representation

4.1. Image segmentation

It has been mentioned that segmentation is necessary for those region-based image retrieval systems. Nevertheless, automatic segmentation is still unpractical for the applications of region-based image retrieval (RBIR) systems [8, 30-32]. Although many systems provide segmentation tools, they usually need complicated user interaction to achieve image retrieval. Therefore, the processing is very inefficient and time consuming to the user. In the following, the new approach will propose to overcome this problem. In our algorithm, the user does not need to provide precisely segmented regions, instead, the boundary checking algorithm are used to support segmented regions.

Figure 3.

a), (b) and (c) are the results by using the method of T. Ojala et. al. (a’), (b’) and (c’) are the results by using our earlier segmentation method.

For region-based image retrieval, we adopt the unsupervised texture segmentation method [30, 33]. In [30], Ojala et al. use the nonparametric log-likelihood-ratio test and the G statistic to compare the similarity of feature distributions. The method is efficient for finding homogeneously textured image regions. Based on this method, a boundary checking algorithm [34] has been proposed to improve the segmentation accuracy and computational cost. For more details about our segmentation algorithm, we refer the reader to [33]. In this Chapter, the weighted distribution of global information CIH (color index histogram) and local information LBP (local binary pattern) are applied to measure the similarity of two adjacent regions.

An example is shown in Fig. 3. It can be seen that boundary checking algorithm segments the test image correctly, and it costs only about 1/20 processing time of the method in [30]. For color image segmentation, another example is shown in Fig. 4. In Fig. 4(c) Fig. 4(c’), we can see that the boundary checking algorithm achieves robustness segmentation for test image “Akiyo” and another nature image.

Figure 4.

The segmentation processes for test image “Akiyo” and a nature image. (a), (a’) Original image. (b), (b’) Splitting and Merging. (c), (c’) Boundary checking and modification.

4.2. Region representation

To achieve region-based image retrieval, we use two compact and intuitive visual features to describe a segmented region: dominate color descriptor (DCD) and texture. For the first one, we use our modified dominant color descriptor in [19, 26]. The feature representation of a segmented region R is defined as

RDCD={{Rci,Rpi},  1i8},E6

where Rciand Rpiare the ith dominant color and its percentage in R, respectively.

For the second one, the texture feature of a region is characterized by the weighted distribution of local binary pattern (LBP) [6, 25, 32]. The advantages of LBP include its invariant property to illumination change and its low computational cost [32]. The value of kth bin in LBP histogram is given by:

RLBP_hK=nKP,  E7

where nKrepresents the frequency of LBP value at kth bin, and P is the number of pixels in a region. Therefore, the texture feature of region R is defined as

Rtexture={{RLBP_hk},  1k256}.E8

In addition, we define a feature Rpoato represent the percentage of area for region R in the image. Two regions are considered to be visual similar if both of their content (color and texture) and area are similar.

4.3. Image representation and definition of the foreground assumption

For image retrieval, each image in database is described by a set of its non-overlapping regions. For an image I that contains N non-overlaping regions, i.e.,I={IR1,IR2,....,IRN}, i=1NIRiandIRiIRj=0, where IRirepresents the ith region in I. Although the region-based approaches perform well in [9, 11], their retrieval performances are strongly depends on success of image segmentation because segmentation techniques are still far from reliable for heterogeneous images database. In order to address the possible fails of segmentation, we propose a foreground assumption to “guess” the foreground and background regions in images. For instance, we can readily find a gorilla sitting on the grass as shown in Fig. 5. If Fig. 5 is the query image, the user could be interested in the main subject (gorilla) rather than grass-like features (color, texture, etc). In most case, user would pay more attention to the main subject.

The main goal of foreground assumption is to simply distinguish main objects and irrelevant regions in images. Assume that we can divide an image into two parts: foreground and background. In general, the foreground stands the central region of an image. To emphasize the importance of central region of an image, we define

Rforeground={(x,y):18hx78h,  18wy78w}Rbackground={(x,y):x<18h or x>78h,y<18w or y>78w},E9

where Rforegroundand Rbackgroundare the occupied regions of foreground and background, respectively; hand wis height and width of the image.

Figure 5.

The definition of foreground and background based on foreground assumption.

In region-based retrieval procedure, segmented regions are required. It can be provided by the users or be generated by the system automatically. However, the criterion for similarity measure is based on the overall distances between feature vectors. If an image in database has background regions that is similar to the foreground object of the query image, this image will be considered as similar image based on the similarity measure. In this case, the accuracy of region-based retrieval system decreases. Therefore, we modify our region representation by adding a Boolean model BV{0,1}to determine whether the segmented region Rbelongs to the background of the query image or not.

BV={1              RRbackground0              RRbackgroundE10

Note that the variable is designed to reduce the segmentation error.

On the other hand, we extract the global features for an image to compensate the inaccuracy of segmentation algorithms. The featuresFIincludes three feature sets: 1) dominant color FRDCDIfor each region, 2) texture FRtextureIfor each region, and 3) dominant colorFI.

FRDCDI={{{{Rcij,Rpij}, 1i8},  Rpoaj, BVj},  1jN}E11
FRtextureI={{{RLBP_hkj},  1k256},  1jN}E12
FI={FglobalI,  FforegroundI,  FbackgroundI}E13

where N is the number of partitioned regions in image I; FRDCDIrepresents the dominant color vectors; FRtextureIdescribes the texture distribution for each region;FglobalI, FforegroundIand  FbackgroundIrepresent the global, foreground and background color features, respectively. In brief, the images are first segmented using the fast color quantization scheme. Then, the dominant colors, texture distribution and the three color features are extracted in the image.

5. Integrated region-based relevance feedback framework

In region-based image retrieval, an image is considered as relevant if it contains some regions with satisfactory similarity to the query image. The retrieval system can reconstruct a new query that includes only the relevant regions according to user’s feedback. In this way, the system can capture the user’s query concept automatically. For example, Jing et al. [8] suggest that information in every region could be helpful in retrieval, and group all regions of positive examples by K-means algorithm iteratively to ensure the distance between all the clusters not exceeding a predefined threshold. Then, all regions within a cluster are merged into a new region. However, the computational cost for merging new regions is proportional to the number of positive examples. Moreover, users might be more interested in some specified regions or main objects rather than the positive examples.

To speed up the system, we introduce a similarity matrix model to infer the region-of-interest sets. Inspired by the query-point movement method [8, 31], the proposed system performs similarity comparisons by analyzing the salient region in pseudo query image and relevant images based on user’s feedback information.

5.1. The formation of region-of-interest set

5.1.1. Region-based similarity measure

In order to perform region-of-interest (ROI) queries, the relevant regions are obtained by the measurement of region-based color similarityR_S(R,R)and region based texture similarityR_ST(R,R)in Eq. (14) and (15), respectively. This similarity measure allows users to select their relevant regions accurately. Note that the conventional color histogram could not be applied on DCD directly because the images do not have exact numbers of dominant colors [12]. The region-based color similarity between two segmented regions Rand R'can be calculated by

R_S(R,R)=R_Sc(R,R)×R_Spoa(R,R)R_Sc(R,R)=i=1mj=1nmin(Rpi,Rpj),if d(Rci,Rcj)<Td,E14

where m and n are the number of dominate colors in RandR', respectively; R_Sc(R,R)is the maximum similarity between two regions in similar color percentage. If the pair-wise Euclidean distance of two dominate color vector ciand cjis less than a predefined thresholdTd, it is set to 25 in our work. The notationR_Spoa(R,R)is used to measure the similarity of the area percentage for region pair(R,R). To measure the texture similarity between two regions, we define


where RPxland RPxlrepresent the number of pixels in regions R and R’, respectively; min(RLBP_hk,R'LBP_hk)is the intersection of LBA histogram for the kth bin.

Theoretically, visual similar is achieved when both color and texture are similar. For example, two regions should be considered as non-similar if they are similar in terms of color but not texture. This can be achieved by imposing

 R_S>0.8  and  R_ST>0.9.E16

5.1.2. Similarity matrix model

In the following, we introduce a region-based similarity matrix model. The regions of positive examples, which helps the system to find the intention of user’s query, are able to exclude the irrelevant regions flexibly. The proposed similarity matrix model is described as follows.

The region similarity measure is performed for all regions. The relevant image set is denoted asRs={Ii; i=1,...,N}, where N represents the number of positive images from user’s feedback, and each positive image Iicontains several segmented regions. See Fig. 6.

Figure 6.

The similarity matching for region pairs.

As an example, let Rs={I1,I2,I3}contains three relevant images, whereI1={IR11,IR21,IR31},I2={IR12,IR22,IR32}andI3={IR13,IR23}. Our similarity matrix model to infer the user’s query concept is shown in Fig. 7, where the symbol “1” means that two regions are regarded as similar. On the contrary, the symbol “0” represents that two regions are non-similar in content.

To support ROI queries, we perform the one-to-many relationships to find a collection of similar region sets, e.g., {IR11,IR12,IR23}, {IR21,IR22}, {IR31,IR22,IR32}, {IR12,IR11,IR23},{IR22,IR21,IR31}, {IR32,IR31}, {IR13}and{IR23,IR11,IR12}, see Fig. 8. After this step, several region-of-interest sets can be obtained by merging all similar region sets. For example, the first set {IR11,IR12,IR23}contains three similar regions. Each region will be merged together with the above eight similar region sets. In this example, three region-of-interest sets can be obtained by the merging operation, i.e., {IR11,IR12,IR23}, {IR21,IR31,IR22,IR32}and{IR13}. Since user may be interested in some repeated similar regions, the single region set {IR13}could be assumed to be irrelevant in our approach. Therefore, we haveROI1={IR11,IR12,IR23}and ROI2={IR21,IR31,IR22,IR32}as shown in Fig. 8. The two sets are considered as region-of-interests that reflect user’s query perception.

Figure 7.

Our proposed matrix structure comparison. ×: no comparison for those regions in the same image, 1: similar regions and 0: non-similar regions.

Figure 8.

The region-of-interest sets based on the proposed matrix structure comparison.

If users are interested in many regions, the simple merging process can be used to capture the query concept. In Fig. 8, for example, {IR21,IR31}and {IR22,IR32}are the regions belong to the same relevant image I1andI2, respectively. It can be seen that the similar matrix approach is consistent with human perception and is efficient for region-based comparison.

5.1.3. Salient region model

To improve retrieval performance, all the region-of-interest sets from the relevant image set Rswill be integrated for the next step during relevance feedback. As described in previous subsection, each region-of-interest set could be regarded as a collection of regions, and extracted information can be used to identify the user’s query concept. However, correctly capturing the semantic concept from the similar regions is still a difficult task. In this stage, we define salient region as all similar regions within each ROI set. The features of the new region are equal to the weighted average features of individual regions.

In order to emphasize the percentage of area feature, we modified the dominant color descriptor in Eq. (1). The feature representation of the salient region SR is described as

FSR={{{C¯i, P¯i}, 1i8}, R¯poa},E17

where C¯iis the i th average dominant color of similar region.

All similar regions in ROI can be determined from the eight uniformly divided partitions in RGB color space as shown in Fig. 9.

Figure 9.

The division of RGB color space.

C¯i=(j=1NciRpij×Rcij(R)j=1NciRpij, j=1NciRpij×Rcij(G)j=1NciRpij, j=1NciRpij×Rcij(B)j=1NciRpij), 1i8E18

where Nciis the number of dominant colors in cluster i; Rcij(R), Rcij(G)and Rcij(B)represent the dominant color components of R, G and B located within partition i for the region j, respectively; Rpijrepresents the percentage of its corresponding 3-D dominant color vector in Rj; P¯iis the average percentage of dominant color in the ith coarse partition, i.e., P¯i=j=1NciRpijNci; R¯poais the average percentage of area for all similar regions in ROI.

5.2. The pseudo query image and region weighting scheme

To capture the inherent subjectivity of user perception, we define a pseudo image I+as the set of salient regions, I+={SR1, SR2,..., SRn}. The feature representation of I+can be written as

FSRI+={{{(C¯i1,P¯i1), 1i8}, R¯poa1},.., {{(C¯in,P¯in), 1i8}, R¯poan}}.E19

During retrieval, the user chooses the best matched regions what he/she is looking for. However, the retrieval system cannot precisely capture the user’s query intention at the first or second steps of relevance feedback. With the increasing of the returned positive images, query vectors are then constructed to perform better results. Taking average [8] from all the feedback information could introduce redundant, i.e., information from irrelevant regions. Motivated by this observation, we suggest that each similar region in ROI should be properly weighted according to the amount of similar regions. For example, the ROI2in Fig. 8 is more important than in ROI1. The weights associated with the significance of SR in I+can be dynamically updated as


where |ROIl|represents the number of similar regions in region-of-interest set l, and nis the number of region-of-interest sets.

5.3. Region-based relevance feedback

In reality, inaccurate segmentation leads to poor matching result. However, it is difficult to ask for precise segmented regions from users. Based on the foreground assumption, we define three feature vectors, which are extracted from entire image (i.e., global dominant color), foreground and background, respectively. The advantage of this approach is that it provides an estimation that minimizes the influence of inaccurate segmentation. To integrate the two regional approaches, we summarize our relevance feedback as follows.

For the initial query, the similarity measure S(FentireImageI,FentireImageI')for the initial query image Iand target image Iin database are compared by using Eq. (4). Therefore, a coarse relevant-image set can be obtained. Then, all regions in the initial query image Iand the positive images based on the user’s feedback information are merged into relevant image set Rs={I,I1,I2,...,IN}. The proposed region-based similarity matrix model performs Eq. (14) and (15) to find the collection of the similar regions. The similar regions can be determined by Eq. (16), and then be merged into salient region SR. For the next iteration, the feature representation of I+in Eq. (19) could be regarded as an optimal pseudo query image that is characterized by salient regions.

It should be noted that I+and Rsdefined above both contain the relevance information that reflects human semantics. The similarity measure for pseudo query image FSRlI+and target image FRDCDjI'is calculated by


where nis the number of salient region sets in I+; mis the number of color/texture segmented regions in target image I; wlis the weight of salient region SRl. In Eq. (21), the image-to-image similarity matching maximizes the value of region based color similarity by using Eq. (14). If the Boolean model BV=1for a partitioned region in target image, then the background of the image will be excluded for matching in Eq. (21).

On the other hand, Rsis a collection of relevant images based on the user’s feedback information. Since poor matches arise from inaccurate image segmentations, three global features FentireImageI, FforegroundIand FbackgroundeIin Eq. (13) are extracted to compensate the inaccuracy. The similarity between the relevant image set Rs={I,I1,I2,...,IN}and target image Iin database is calculated by

SentireImage(Rs,I)=i=1Nmax S(FentireImageRs,FentireImageI)Sforground(Rs,I)=i=1Nmax S(FforegroundRs,FforgroundI)Sbackground(Rs,I)=i=1Nmax S(FbackgroundRs,FbackgroundI)E22

whereFentireImageRs, FforegroundRsand FbackgroundRsare dominant colors, foreground and background for the ith relevant image in Rs, respectively. In Eq. (22), the similarity measure maximizes the similarity score using Eq. (5). To reflect the difference between Rsand target image I, the average similarity measure is given by


It is worth to mention that our region-based relevance feedback approach defined above is able to reflect human semantics. In other words, user might aware some relevant image from the initial query, and then provides some positive image.

Considering the ability to capture the user’s perceptions more precisely, the system determines the retrieved rank according to average of region-based image similarity measure in Eq. (21) and foreground-based similarity measure in Eq. (23).


6. Experimental results

We use an image database (31 categories about 3991 images) for general-purpose from Corel’s photo to evaluate the performance of the proposed framework. The database has a variety of images including animal, plant, vehicle, architecture, scene, etc. It has the advantages of large size and wide coverage [11]. Table 1 lists the labels for 31 classes. The effectiveness of our proposed region-based relevance feedback approach is evaluated.

In order to make a comparison on the retrieval performance, both average retrieval rate (ARR) and average normalized modified retrieval rank (ANMRR) [26] are applied. An ideal performance will consist of ARR values equal to 1 for all values of recall. A high ARR value represents a good performance for retrieval rate, and a low ANMRR value indicates a good performance for retrieval rank. The brief definitions are given as follows. For a query q, the ARR and ANMRR are defined as:

Class 1
Class 2
Class 3
(potted plant)
Class 4
Class 5
Class 6
Class 7
Class 8
Class 9
Class 10
Class 11
Class 12
Class 13
Class 14
Class 15
Class 16
Class 17
Class 18
Class 19
Class 20
Class 21
Class 22
Class 23
Class 24
Class 25
Class 26
Class 27
Class 28
Class 29
Class 30
Class 31

Table 1.

The labels and examples of the test database.


where NQis total number of queries; NG(q)is the number of the ground truth images for a query. The notation is a factor, and NF(β,q)is number of ground truth images found within the first βNG(q)retrievals. Rank(k)is the rank of the retrieved signature image in the ground truth. In eq.(28), K=min(4NG(q);2GTM), where GTMis max{NG(q)}for all queries. The NMRR and its average (ANMRR) are normalized to the range of [0 1].

To test the performance of our integrated approach for region-based relevance feedback, we first query an image with a gorilla sits on grass as shown Fig. 10(a).

As mentioned in Section 5.4, the dominant color between query image Iand target image Iis used for similarity measure in the initial query. The retrieval results are shown in Fig. 10(b), the top 20 matching images are arranged from left to right and top to bottom in order of decreasing similarity score.

Figure 10.

The initial query image and positive images. (a) Query image. (b) The 5 positive images in the first row are selected by user.

For better understanding of the retrieval results, the DCD vectors of the query image, rank 6th image and rank 8th image are listed, respectively. See Fig. 11. It can be seen that the query image and the image “lemon” are very similar in the first dominant color (marked by box). If we use the global DCD as the only feature for image retrieval, the system only returns eleven correct matches. Therefore, further investigation on extracting comprehensive image features is needed.

Figure 11.

Example images with the dominant colors and their percentage values. First row: 3-D dominant color vector c i and the percentage p i for each dominant color. Middle row: the original images. Bottom row: the corresponding quantized images.

Assume that the user has selected five best matched images, marked by red box, as shown in Fig. 10(a). In conventional region-based relevance feedback approach, all regions in the initial query image Iand the five positive images are merged into relevant image set Rs={I,I1,I2,...,I5}. The proposed similarity matrix model is able to find the region-of-interest region sets. For the next query, I+could be regarded as a new query image which is composed of some salient regions. The retrieval results based on the new query image I+are shown in Fig. 12. The following are discussions.

  1. The pseudo query image I+is capable to reflect user's query perception. Without considering the Boolean model in Eq. (21), the similarity measure by Eq. (21) returns 16 correct matches as shown in Fig. 12.

  2. Using the pseudo image I+as query image, the initial query image is not ranked first but fifth, as shown in Fig. 12.

Figure 12.

The retrieval results based on new pseudo query image I + for the first iteration.

  1. The retrieval results return three dissimilar images (marked by red rectangle boxes), which ranks are 7th, 8th and 12th, respectively.

  2. To analyze the improper result, the dominant color vectors and percentage of area of “cucumber” and “lemon” are listed. See Fig. 13. We can see that each of the images “gorilla”, “cucumber” and “lemon” contains three segmented regions. For each region, the number of the dominant colors, percentage of area and BV value are listed and colored red. For similarity matching, the dominant colors (i.e. region#1, region#2 and region#3) of initial image “gorilla” are similar to the dominant color (marked by red rectangle box) of the image “cucumber”. In addition, the percentages of area (0.393911, 0.316813, 0.289276) of initial image “gorilla” are similar to the percentage of area (region#2, 0.264008) of the image “cucumber”. The other similarity comparisons between “gorilla” and “cucumber” image are not presented here because the maximum similarity between two regions in Eq. (14) is very small. In brief, without considering the exclusion of irrelevant regions, the region-based image-to-image similarity model in Eq. (21) could cause improper ranks in visualization.

Figure 13.

The analysis of retrieval results using the conventional region-based relevance feedback approach. Top row: dominant color distributions and percentage of area P o a for each region in initial query image, “cucumber” and “lemon” images. Bottom row: the corresponding segmented images.

The retrieval performance can be improved by automatically determining the user’s query perception. In the following, we would like to evaluate the advantages of our proposed relevance feedback approach. For the second query, the integrated region-based relevance feedback contains not only the salient-region information, but also the “specified-region” information based on relevant images set Rs. The retrieval results based on our integrated region-based relevance feedback are shown in Fig. 14. Observations and discussions are described as follows.

  1. The system returns 18 correct matches as shown in Fig. 14.

  2. In Fig. 13, region#1 and region#3 in query image are two grass-like regions, which are labeled as inner region, i.e., BV=1. On the other hand, the region#2 in image “cucumber” is a green region that is similar to the grass-like regions in query image. In our method, this problem can be solved by examining the BV value in Eq. (21). As we can see, none of the three incorrect images including “cucumber”, “lemon” and “carrot” in Fig. 12 appears in the top 20 images in Fig. 14.

  3. In contrast, it is possible that the grass-like regions are parts of the user’s aspect. In this case, the three feature vectors including entire image, foreground and background can be used to compensate the loss of generality. In Fig. 14 retrieval results indicate that the high performance is achieved by using these features.

  4. Our proposed relevance feedback approach can capture the query concept effectively. In Fig. 14, it can be seen that most of the retrieval results are considered to be highly correlated. In this example, 90% of top 20 images are correct images. In general, the features in all retrieval results look similar to gorilla or grass. The results reveal that the proposed method improves the performance of the region-based image retrieval.

Figure 14.

The retrieval results based on our integrated region-based relevance feedback.

In Fig. 15-17, further examples are tested to evaluate the performance of the integrated region-based relevance feedback for nature images. In Fig. 15, the contents of the query image include a red car on country road by the side of grasslands. If the user is only interested in the red car, four positive images marked by red boxes will be selected as shown in Fig. 15 (b). In this case, retrieval results (RR=0.25, NMRR=0.7841) are far from satisfactory performance for the initial query.

Figure 15.

The initial query image and positive images. (a) Query image. (b) The 4 positive images marked by red boxes which are selected by user.

After the submission of pseudo query image I+and relevant images set Rsbased on user’s feedback information, the first feedback retrieval returns 10 images containing “red car” as shown in Fig. 16. For this example, the first feedback retrieval achieves an ARR improvement of 28.6%. More precise results can be achieved by increasing of the number of region-of-interest sets and relevant image set based for the second feedback retrieval as shown in Fig. 17. The retrieval results for the second feedback retrieval returns 11 images containing “red car”, and achieve an NMRR improvement of 35% compared to the initial query. Furthermore, the rank order in Fig. 17 is more reasonable than that in Fig. 16.

To show the effectiveness of our proposed region-based relevance feedback approach, the quantitative results for individual class and average performance (ARR, ANMRR) are listed in Table 2 and 3, which show the comparison of the performance for each query. It can be seen that the performance of retrieving precision and rank are relatively poor for the initial query. Through the adding positive examples by user, feedback information could have more potential in finding the user’s query concept by means of optimal pseudo query image I+and relevant images set Rsas described in Section 5.4. In summary, the first feedback query improves 30.8% of ARR gain and 28% of ANMRR gain, and the second feedback query further improves 10.6% of ARR gain and 11% of ANMRR gain as compared with first feedback query. Although the improvement of retrieval efficiency is decreases progressively after two or three feedback queries, the proposed technique is able to provide satisfactory retrieval results in that few feedback queries.

Figure 16.

The retrieval results by our integrated region-based relevance feedback for the first iteration.

Figure 17.

The retrieval results by our integrated region-based relevance feedback for the second iteration.

7. Conclusion

The conventional existing region-based relevance feedback approaches work well in some specified applications; however, their performances depend on the accuracy of segmentation techniques. To solve this problem, we have introduced a novel region-based relevance feedback for image retrieval with the modified dominant color descriptor. The term “specified area”, which combines main objects and irrelevant regions in image, has been defined for compensating the inaccuracy of segmentation algorithm. In order to manipulate the optimal query, we have proposed the similarity matrix model to form the salient region sets. Our integrated region-based relevance feedback approach contains relevance information including pseudo query image I+and relevant images set Rs, which are capable to reflect the user's query perception. Experimental results indicate that the proposed technique achieves precise results in general-purpose image database.

ClassInitial queryThe 1st feedback queryThe 2nd feedback query

Table 2.

Comparisons of ARR performance with different iterations by our proposed integrated region-based relevance feedback approach.

ClassInitial queryThe 1st feedback queryThe 2nd feedback query

Table 3.

Comparisons of ANMRR performance with different iterations by our proposed integrated region-based relevance feedback approach.


This work was supported by the National Science Counsel of Republic of China Granted NSC. 97-2221-E-214-053-.


BV: Boolean model, which is used to determine whether the segmented regionRbelongs to the background or foreground.

F: dominant color descriptor

D2: similarity measure (dominant color descriptor)

IRi: the ith non-overlaping region in I

RDCD: dominate color descriptor (DCD) of a segmented region R

RLBP_hK: the value of kth bin in LBP histogram

R_S: region-based color similarity

R_Sc: the maximum similarity between two regions in similar color percentage

R_Spoa: similarity of the area percentage

R_ST: region based texture similarity

Rbackground: defined background based on foreground assumption

Rforeground: defined foreground based on foreground assumption

Rpoa: the percentage of area for region R in the image

Rs: relevant image set

Rtexture: texture feature of region R

ai,j: similarity coefficient between two color clusters (dominant color descriptor)

ci: dominant color vector (dominant color descriptor)

di,j: Euclidean distance between two color clusters (dominant color descriptor)

pi: percentage of each dominant color (dominant color descriptor)

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Nai-Chung Yang, Chung-Ming Kuo and Wei-Han Chang (February 13th 2013). Content-Based Image Feature Description and Retrieving, Search Algorithms for Engineering Optimization, Taufik Abrão, IntechOpen, DOI: 10.5772/52286. Available from:

Embed this chapter on your site Copy to clipboard

<iframe src="" />

Embed this code snippet in the HTML of your website to show this chapter

chapter statistics

1435total chapter downloads

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Multidimensional Optimization-Based Heuristics Applied to Wireless Communication Systems

By Fernando Ciriaco, Taufik Abrão and Paul Jean E. Jeszensky

Related Book

First chapter

Final Results of Assembly Line Balancing Problem

By Waldemar Grzechca

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More about us