ISSN: 2320-2459

All submissions of the EM system will be redirected to Online Manuscript Submission System. Authors are requested to submit articles directly to Online Manuscript Submission System of respective journal.

A Robust Image Retrieval System Using Weighted Composition of Features

Tohid Sedghi*

Department of Electrical Engineering, Urmia branch, Islamic Azad University, Urmia, Iran

*Corresponding Author:
Tohid Sedghi
Department of Electrical Engineering
Urmia branch, Islamic Azad University
Urmia, Iran.
Email:
sedghi.tohid@gmail.com

Received date: 05/10/2012 Revised date: 17/11/2012 Accepted date: 16/12/2012

Visit for more related articles at Research & Reviews: Journal of Pure and Applied Physics

Abstract

A robust, flexible and effective image retrieval system using weighted combination of image retrieval features, is proposed. The proposed method properties such as, shape and spatial features are quite simple to derive and effective, and can be extracted in real time. The system is comprehensive because it incorporates Gabor filters of different grid sizes and flexible because the feature weights can be adjusted to achieve retrieval refinement according to user‟s need and robust because the system‟s algorithm is applicable to retrieval in all kinds of image database. In CBIR systems the common method of improving retrieval performance is by weighting the feature vectors. In this paper a new and reliable method of improving retrieval performance, and which complement feature weighting is proposed. Based on results obtained from this paper, we hereby state that the key to a breakthrough in current research in semantic image retrieval lies in the use of Gabor texture feature. Its benefits of Fourier as well as local analysis of images enable analysis of gradual changes of texture and texture variations which are essential properties of real-world scenes.

Keywords

Image Analysis, feature composition, feature extraction, Gabor filter

 Introduction

Content-based image retrieval systems demonstrate excellent performance at computing low-level features from pixel representations but its output does not reflect the overall desire of the user. The systems perform poorly in extracting high-level features that include objects and their meanings, actions and feelings. This phenomenon, referred to as the semantic gap, has necessitated current research in CBIR systems towards retrieving images by the type of object or scene depicted. Analyzing and interpretation of image data in large and diverse image database, as in a CBIR system is obviously difficult because there is no prior information on the size or scale of individual structures within the images to be analyzed. The image processing and computer vision community had developed scale-space theory to deal with this problem. Scale-space theory incorporates multi-scale representation of a signal, which itself is an ordered set of derived signals intended to represent the original signal at different levels of scale. Scale-space theory is based on the fact that real-world objects exist as meaningful entities over certain ranges of scale, and human perceive them at coarse or fine scales depending on the scale of observation. According to the principle of scale-space theory, to be able to extract information from image data, a probe, sensor or operator is required to interact with the actual image structure. The information extracted is dependent on the relationship between size of the image structures and the size of the operators. In the computer age all domains of human life are in need of, and use of images for efficient services. An active research area that is in the heart of all the above domains is the extraction or retrieval of images from a database given a query (image retrieval system). An image retrieval system is a system for searching and retrieving images from a large database of digital images. The most common method of image retrieval utilizes some method of annotation such as keywords, or descriptions to the images so that retrieval can be performed over the labels. Unfortunately manual annotation is time-consuming and expensive. The answer to the previous difficulty is termed CBIR. CBIR describes the process of retrieving desired images from the image database on the basis of syntactical image features. Early research comprise of systems such as[1,2,3]. More research can be found in[4]. Most current CBIR techniques are geared towards retrieval by some aspect of image appearance, depending on the automatic extraction and comparison of image features judged most likely to convey that appearance. The features most often used include color, texture, shape, spatial information and multi-resolution pixel intensity transformations such as wavelets or multi-scale Gaussian filtering[7].

Feature Extraction

Texture Feature Extraction

A repeated pattern of pixels over the spatial domain is called Texture; the pattern can possibly be contaminated by noise. The repetition frequencies might result in textures that appear to be random and unstructured. Textures are the visual patterns in an image that have properties of homogeneity that do not result from the presence of only a single color or intensity. Today, the most commonly used methods for texture feature description are statistical and transform based methods. In the present work a transformed based method is used. The state-of-the-art in transformed based texture feature extraction uses Gabor wavelets. This is due to physiological research evidence that Gabor filters model the neurons in the visual cortex of the human visual system. Furthermore, Manjunath et al. in [5] showed that Gabor features performs better than using pyramid structured, tree-structured wavelet transform features and multi-resolution simultaneous autoregressive model. A total of twenty four wavelets were generated from the “mother” Gabor function using four scales of frequency and six orientations. Redundancy, which is the consequence of the nonorthogonality of Gabor wavelets, was addressed by choosing the parameters of the filter bank to be set of frequencies and orientations that cover the entire spatial frequency space so as to capture texture information as much as possible. The lower and upper frequencies of the filters were set at 0.04 octaves and 0.5 octaves respectively, the orientations were at intervals of 30 degrees, and the half-peak magnitudes of the filter responses in the frequency spectrum are constrained to touch each other. Each image I (x, y) in the database is convolved with each wavelet in the filter bank according to the convolution equation equation where s and t are the dimensions of the filter andequation is the complex conjugate of the Gabor wavelet. Furthermore, equation correspond to the scales of frequency and orientations respectively. By assuming spatial homogeneity of texture regions the mean and the std. deviation of the magnitude of the transformed coefficients was computed according to:

equation

Finally, the texture feature vector for each image is constructed using the computed values for the mean equation deviationequation according to:equation

Shape Feature Extraction

Shape of an object is the characteristic surface configuration as represented by the outline or contour. Shape recognition is one of the modes through which human perception of the environment is executed. Shape is important in CBIR systems because it corresponds to region of interests in images. In CBIR system designed.

applied-physics-Feature-Extraction

Figure 1: Block Diagram of Texture Feature Extraction Method

for specific domain such as trademarks and silhouettes of tools, shape segmentation can be automatic and effective. However this is not the case for a system having heterogeneous database. In this case shape segmentation may be difficult or sometimes impossible. In our proposal the shape features are extracted using local mean and std. deviation in a search 5 × 5 neighborhood employing the following formulas:

equation

Where, Z and K are the impulse responses of the mean and std. deviation filters respectively. For that, each image in the database passes through a 5 × 5 grid size Gabor filter bank. Twenty four output images are then obtained. Afterwards, similarly to the pre-filtered image the local mean and std. deviation of each output of the filter bank is also calculated using a 5×5 neighborhood according to:

equation

Thus, for each pixel in the image there are twenty four reference pixels. Consider the pixel in the image and the twenty four corresponding pixels in the output of the filter bank, the distance between the image feature vector and any of the corresponding pixels feature vector is computed as:

equation

The computed distance is a measure of similarity of the texture between a pixel in the original image and the corresponding pixel at the output of the Gabor filter bank. For every pixel for each distance equation with corresponding pixels in the output of the Gabor filter, the pixel whose texture is most likely similar to that of the database image is

equation

These results in a filtered image called “texture classified image.”

applied-physics-Extraction-Method

Figure 2: Block Diagram of Shape Feature Extraction Method.

Spatial Information Extraction

Spatial information is the spatial relationship existing among properties characterizing image regions within the image. Addresses the problem of discriminating similar images in homogeneous or non databases. Feature like centroid, area and other geometric properties of local image regions are prime location candidates; they are also the basis for deriving spatial layout or information. The two region properties adopted to describe the spatial features are elementary spatial feature descriptors, centroid and spatial extent. This is because the image database is complex and heterogeneous. Though elementary features, the spatial descriptors are invariant to rotation and translation. The steps taken in spatial information extraction are as follows: (i) Compute the centroid distances of regions in the binary image obtained from the texture segmented image, (ii) Thereafter the spatial extents of the texture regions are also separately computed. Finally, the number of elements for each region property was normalized to 100.

Proposed Method

Have the above feature descriptors as the basis for CBIR we proceed to develop the system. The proposed system uses weighted combination of integrated Gabor texture features, shape features of texture regions and spatial information features of the texture regions. The similarity measure between the query image and each image in the database for each of texture, shape and spatial information features is carried out in the Euclidean space according to the equation:

equation

D is the Euclidean distance

J is the database image feature vector

Q is the query image feature vector

K=1,2,..., P

P is the number of images in the database

I=1,2, 3

i=1 is the index for texture

i=2 is the index for shape

i=3 is the index for spatial information

The computed Euclidean distance between query image and database images for each of the feature vectors are normalized so it lies between 0 and 1. Normalization becomes necessary because the feature vectors have to be weighted in similarity distance calculation. Weighting of the feature vectors is necessary for a diverse database because since a particular feature cannot adequately describe an image a weighted combination will give an optimal description. In a diverse database the features suitable for retrieval of the images similar to a query image varies with the class of images with which the database is modeled or constituted. Weight assignment is the degree of relevance the similarity matching process assigns to a particular visual feature. For example if the query image is the silhouette of machine parts and the database is diverse but including images similar to the query image, it is more suitable to assign high weight to shape feature for retrieval as this is the most suitable feature for retrieval. It is useless assigning high weight to texture or spatial information except the database is narrow such that the other features particularly spatial information can be used for discrimination. This system is designed so that the user can retrieve images using flexible weight combinations. Flexible weight in a sense provides the much needed retrieval refinements and robust characteristics to the system. By flexibly combining the different weight features the retrieval process can be refined several times to satisfy the user‟s demand. For a query image Q, and k th number of images in the image database, if i numbers of visual feature vectors are considered for retrieval, different distances equation will be obtained. The effective feature distance obtained from the weighted sum of each feature distance is given by

equation

Equation. 11 imply that the sum of the weights must be equal to unity. A weight assignment of 1 is the highest degree of relevance that can be assigned to a particular feature while assignment of zero is the highest degree of irrelevance. The retrieved images are the twelve most matched images whose feature distances are the first twelve in ascending order according to texture, shape. Spatial information and weighted features.

Experimental Results

The proposed CBIR system was tested using the test database of Pennsylvania state university image database that consists of 800 images. The images are manually annotated in 110 categories. The performance of the proposed system is assessed using recallprecision curves with the help of randomly selected query-images [6]. Recall is defined as the fraction of relevant objects that are retrieved whereas precision is the fraction of retrieved objects that are relevant to the query. In the case under consideration the relevance or not of an image to a query-image is assessed using the annotation assigned to each individual image. Implementing a CBIR system is a painstaking process. The reason is that the Gabor filter dictionary adopted for the system design indicates the frequency of operation and the number of filters for optimal performance but it does not have a readymade answer for the filter grid size that gives optimal performance. On that, it is generally acceptable that larger Gabor grids are capable of capturing slowly varying levels than a lower grid size filter. Therefore, this aspect has been taken care by computing texture feature of the images in the database using Gabor filters of grid sizes 5×5, 15 × 15, 25 × 25, 35 × 35, 45 × 45 and 55 × 55. In assessing the performance of the proposed system a series of query-images are given to the system and then one precision curve is computed per query. Afterwards all the curves are averaged and this yields the so-called average recall precision curve. Figure 4 depicts the average curve for the CBIR system when only texture features were used. On the other hand Fig. 5 depict the average curves when all three features are utilized. In the case of Fig. 5 the weights are 0.7, 0.15 and 0.15 respectively.

applied-physics-CBIR-System

Figure 3: The Average Precision of the CBIR System, using only Texture.

applied-physics-Proposed-CBIR

Figure 4: Block Diagram of Proposed CBIR System.

Conclusion

In this paper, Focus is on texture as primary feature. Shape and spatial information were secondary features. Texture features derived from six grid sizes of independent and different Gabor filter banks were incorporated into the CBIR system by taking advantage of the fact that each grid size of filter is suited to capture particular set of localized frequency-images in diverse database. This design enable the Gabor filter to optimally cover the frequency space, and gives the system the artificial intelligence to „scroll‟ locally and globally through the database and retrieve images based on high level features.

applied-physics-average-precision

Figure 5: The average precision when all three features are utilized with weights 0.7, 0.15 and 0.15.

It is shown that Gabor filters can replay their efficient texture feature extraction in pure texture images, in complex and real-world images, because these images, though constituted by constant grey levels, the various constant grey levels within the global image constitute texture that can be captured by the tuneable characteristics of Gabor filters. An simple, robust, flexible and effective image retrieval system using weighted combination of Gabor texture features, shape features and spatial information features is hereby proposed. The shape and spatial features are quite simple to derive and effective, and can be extracted in real time. The system is simple because of the ease with which the system can be operated and display results. The system is flexible because the feature weights can be adjusted to achieve retrieval refinement according to user‟s need. It is robust because the system‟s algorithm is applicable to retrieval in virtually all kinds of image database. In current CBIR systems the common method of improving retrieval performance is by weighting the feature vectors. In this paper a new and reliable method of improving retrieval performance, and which complement feature weighting is proposed. Since the system use Gabor filter for texture feature extraction, the proposal is weighting the features of the system as derived from various sizes of Gabor filter. The system has the potential of developing into a semantic based CBIR system by proper mathematical modeling of the texture features obtained from the six grid sizes of Gabor filter and the output of the system.

References