covid
Buscar en
Journal of Applied Research and Technology. JART
Toda la web
Inicio Journal of Applied Research and Technology. JART Powerful Descriptor for Image Retrieval Based on Angle Edge and Histograms
Información de la revista
Vol. 11. Núm. 5.
Páginas 727-732 (octubre 2013)
Compartir
Compartir
Descargar PDF
Más opciones de artículo
Visitas
2508
Vol. 11. Núm. 5.
Páginas 727-732 (octubre 2013)
Open Access
Powerful Descriptor for Image Retrieval Based on Angle Edge and Histograms
Visitas
2508
Mussarat Yasmin, Muhammad Sharif, lsma lrum, Sajjad Mohsin
CCOMSATS Institute of Information Technology, Pakistan
Este artículo ha recibido

Under a Creative Commons license
Información del artículo
Resumen
Texto completo
Bibliografía
Descargar PDF
Estadísticas
Figuras (7)
Mostrar másMostrar menos
Tablas (2)
Table 1. Precision and recall rates.
Mostrar másMostrar menos
Abstract

By gaining the place of active and important research area, Content based image retrieval has been proposed in a number of different ways after its inception. In the proposed method, a new angle orientation histogram has been introduced named as Angle Edge Histogram. By applying Pythagorean theory to image, very useful characteristics have been obtained for image matching, search and retrieval. Proposed method has also been compared with existing methods and the results show that it outperforms the existing methods in values of precision and recall and balance of precision and recall. Proposed method receives an average of 94% of precision and 79% of recall rates.

Key words:
Feature Extraction
Image Decomposition
Image Matching
Image Search
Pythagorean Theory
Shape Descriptor
Shape Features
Texto completo
1Introduction

With the wide use of digital cameras, the digital images have come in millions all over the world. These images are monochrome or colored. In the beginning image searching had been performed through text. The entered text is searched in image name or image tags hence called text based image retrieval (TBIR). With the passage of time needs have been changed and trends have been turned to content based image retrieval (CBIR). CBIR system accepts an image instead of text and retrieves the images similar to given image in content. Alternately CBIR is a process of image matching. If strict image matching tends to image recognition that emphasizes on same to same matching, it has vast applications in practice as one is presented in [1] whereas image matching in CBIR refers to somehow matching in shape.Very simple examples for CBIR need are logo search etc. and if an individual has a large number of images residing on hard disk, CBIR is needed for their management and search.

Image content can be its shape, color, texture or spatial layout. Image contents are retrieved from image characteristics known as features including color, shape and texture features. It has been proved that image shape features are most powerful descriptors of image. And usage of detecting images by their texture is not limited to conventional fields of image processing but it is also widely used in industrial domain as discussed in [2]. Edges are very important among image shape features and very helpful in analyzing the visual contents of image. A number of edge tracing algorithms have been proposed among which Canny [3] algorithm is most popular and widely used. Corner matching is also a powerful technique in context of image match estimations [4]. Other methods for image segmentation and according to its contents are also very helpful in categorizing the image in smaller, searchable components as discussed in [5]. However the related work more specific and close to the proposed technique is presented in the following section.

2Related work

A lot of research has been done in the field of image content retrieval through edges among which edges with angle orientations is very important. Edge Histogram Descriptor (EHD) [6] is one of the most important and widely used image descriptor based on angular edges histogram but its limitation is that it is not resilient in case of image rotation. SIFT proposed by Lowe [7] is based on key point direction and invariant to image transformations. Computation of key point orientations and gradient combinely make 3D descriptor for image comparison. Angular radial partition descriptor (ARP) performs poor in case of image semantic retrieval based on image classification [8]. Angular orientation partition descriptor (AOP) has been developed to overcome the problems of ARP [9]. It performs better in semantic retrieval for image classification and useful in many computer vision applications. Edge pixel orientation histogram (EPOH) performs better than MPEG-7 EHD and more reliable for image annotations [10].

The organization structure of rest of the paper is as follows: proposed work has been discussed in detail in Section 3 highlighting the designing of descriptor, populating database, image retrieval and search results. Section 4 presents results and discussion and Section 5 concludes the overall method. References are included in Section 6.

3Proposed work

The fundamental steps that any CBIR process involves are given in Figure 1. An efficient and robust CBIR process needs to cope with the challenges at each and every step. Typically features extraction has been considered the most important and powerful part of any CBIR system designed for image matching. Retrieval accuracy has been totally dependent on the strength of algorithm designed for matching the image to declare being similar or dissimilar. In this study a new edge histogram descriptor named Angle Edge Histogram (AEH) has been proposed to retrieve the content of image. After retrieving the images similar to query image, color histogram has been computed and best matching images both in content and color have been presented to the user.

Figure 1.

Typical CBIR process.

(0.06MB).
3.1Angle edge histogram (AEH)

Let Q be the query image having dimensions m×n and D be the database image having dimensionsG×H. For everyQ andD there is a centered point denoted by C. C is computed by the following equations:

From this point C horizontal perpendicular and C vertical perpendicular are drawn respectively. This divides the image into four equal parts. Horizontal perpendicular passes from and 180° whereas vertical perpendicular passes from 90° and270°. Now taking these four parts individually, find out their centered points and draw horizontal perpendicular, vertical perpendicular, right diagonal and left diagonal passing from this centered point. Right diagonal passes from 135° and 315° and left diagonal passes from 45° and 225° proceeding in clockwise fashion. Finally thirty two equal right angled triangles are obtained as shown in Figure 2. Each right angled triangle is treated as a separate image as a result of which thirty two images are obtained in the decomposition process. Orientation of these parts consists of:

Figure 2.

Angle wise decomposition of image.

(0.14MB).

Each part is a right angled triangle. The side lying on boundary of image has been characterized as base of each right angled triangle. Figure 3 shows an example of decomposed part. Let B be the base, P be the perpendicular and H be the hypotenuse of the right angled triangle BHP. By applying canny edge detector the gradient of BHP is computed as shown in Figure 4.

Figure 3.

Decomposed part.

(0.03MB).
Figure 4.

Gradient of image presented in Figure 3.

(0.05MB).

Applying Pythagorean Theorem on this result in the following equations:

Rest of the edges have been defined as inner edges wheree represents the edge of image. On the basis of this theory four types of edges have been defined; sin, cos, tan and inner respectively. Sin edge has been defined as the edge touching perpendicular and hypotenuse, cos edge touches base and hypotenuse and tan edge touches base and perpendicular else the edge has been characterized to be inner edge. AEH bins consist of three types of bins; global, local and overall. Global bins are thirty two as shown in equation 3, local bins are four consisting of sin edge, cos edge, tan edge and inner edge respectively and overall bins are 128. These bins are shown in Figure 5.

Figure 5.

An example of aeh, global and local bins for single quadrant of image.

(0.08MB).

For all search images AEH is computed and values obtained for sine, cose, tane and inner are stored against each image in database. Feature vector consists of 32x4 entries per image in the database. When a query image is given to the system, AEH is computed and compared with the stored corresponding values. Thus for matching two images 128 searches are performed. Selected threshold value is 32. For the image on the whole to be similar, at least 11 global bins must be matched. Euclidean Distance has been used for bins comparison given in the following equations:

Where J is used for index of query image global bins and k is used for index of search image global bins.

For both images to be similar it is necessary that the value obtained from summing up f must be equal to or greater than 11 as shown in the following equations:

4Results & Discussion

The angle edge histogram (AEH) described in the previous sections has been tested for evaluation of its performance. The system on which experiments have been performed has the following specification: Intel core i3 2.8 GHz processor, 2 GB RAM, Windows 7 OS and Matlab 7.0. Dataset contains a total of 1000 images and 25 categories with 40 images per category. Categories involve animals, plants, oceans, outdoor scenes; waterfall, buildings, flowers etc. and images have been downloaded from various flick groups. Sizes of images vary between 128x128 and 1024x1024 pixels.

Edges have always been very strong features for analyzing the visual content of an image. The proposed approach is very effective against the geometric attacks like scaling, rotation and translation. By using centered point in the process of image decomposition, the method is suitable for different sized images because it always divides the image into equal parts and produces same number of features that is comparable even in case of different sized images. Used angle orientations come up with facing the challenge of rotation that if image is rotated at any angle, the way in which division has been done has the capability to capture the change. The minimum division angle is 450. If rotation occurs, the defined sin, cos and tan edges remain same and no change occurs. Same is in the case of translation; the concerned features of image remain same; therefore, the method is also robust to translation.

Figure 6 presents retrieved images against the query image given on left. Query image is decomposed; defined features are extracted from the query image like features of search images resident in database in terms of no. of sin, cos, tan and inner edges bins. The most similar images are extracted as retrieved images. To evaluate the proposed method well known and widely accepted Precision and Recall [11] have been used as shown in Table 1. Precision is defined as the measurement of ability of system to retrieve only relevant items whereas recall measures the ability of system to retrieve all relevant items. The concept can be easily understood from the following equations:

  Relevant  Irrelevant 
Retrieved 
Not Retrieved 

Figure 6.

Top 10 retrieved results against query Image given (left).

(0.22MB).
Table 1.

Precision and recall rates.

Query Image  Total Retrieved Images  Relevant Retrieved Images  Irrelevant Retrieved Images  Precision  Recall 
Leaft  30  25  0.83  0.63 
Rose  30  28  0.93  0.70 
Chair  30  26  0.86  0.65 
Red Fort  30  29  0.97  0.73 
Tiger  30  30  1.00  0.75 
Sky  30  29  0.97  0.73 
LandS cape  30  30  1.00  0.75 
Fruit  30  30  1.00  0.75 
Average0.94  0.71 

XY is 30 here and XZ is 40 as each category has 40 images. The system has been set to retrieve 30 images per search; more recall rate can be obtained by increasing the number of images retrieved per search. Comparing the results to other related works demands the image database, image sizes, query images, working criteria and evaluation criteria to be the same that is difficult to achieve in practice. However, despite these problems proposed technique has been compared to some edges histogram based methods as the proposed solution is based on building histogram idea. Average precision and recall rates have been selected for comparison because of the presence of difference in testing environment as mentioned before. Average can give a view of AEH performance over other existing methods. Figure 7 shows the comparison results. The comparison has been performed on query image of building hence retrieving 5, 10, 15, 20, 25 and 30 images per search, recording the precision and recall and computing their average for comparison.

Figure 7.

Comparison results for average precision and recall.

(0.07MB).

Figure 7 clearly shows that the proposed AEH outperforms ARP, MPEG-7 EHD, SIFT. It performs slightly better than the AOP and EPOH in precision. AOP and SIFT receive high precision rates in case of 5, 10 and 15 number of images to be retrieved; as the number of images increases precision rate falls down. AOP and MPEG-7 EHD have acceptable balance. Proposed method outperforms as it receives 95% precision and 79% recall rate in terms of balance. It can be concluded from this discussion that higher number of relevant retrieved images proves the efficiency and robustness of CBIR system.

5Conclusions

A new method of angle orientation has been presented in this study using histogram. Edges with angle orientation are very effective representation of a visual image. Pythagorean theory has been well utilized in image description. Results prove that the method is very useful and efficient in retrieving true representation and accurate retrieval of image. To maintain the balance between precision and recall, the system has been set to retrieve 30 images per search. The proposed method is resilient to geometric attacks as the experiments have been performed on different sizes, rotated and translated images. Features are easy to calculate and to accommodate in database, therefore, the method is flexible to use in any software and hardware environment.

References
[1]
N. Vazque, et al.
Automatic System for Localization and Recognition of Vehicle Plate Numbers.
Journal of Applied Research and Technology, 1 (2003), pp. 63-77
[2]
M.J. Álvarez, et al.
Colour and Texture Features for Image Retrieval in Granite Industry.
Dyna [en línea], 77 (2010), pp. 121-130
[3]
J. Canny.
A Computational Approach to Edge Detection.
IEEE transaction on pattern analysis and machine intelligence”, 8 (1986), pp. 679-698
[4]
H.S. Cruz, E. Bribiesca.
Polygonal Approximation of Contour Shapes using Corner Detection.
Journal of Applied Research and Technology, 7 (2009), pp. 275-291
[5]
J.M. Javier.
Image Segmentation through Encapsulation of its Constituents Industrial Data.
Dyna[en línea], 13 (2010), pp. 77-79
[6]
B.S. Manjunath, et al.
Colour and Texture Descriptors.
IEEE Transactions on Circuit and System for Video Technology, 11 (2001), pp. 703-715
[7]
D. Lowe.
Distinctive image features from scale-invariant keypoints.
International Journal of Computer Vision, 60 (2004), pp. 91-110
[8]
A. Chalechal, et al.
Edge Image Description using Angular Radial Partitioning.
IEEE Proceedings Vision, Image and Signal Processing, 151 (2004), pp. 93-101
[9]
A.M.G. Pinheiro.
The Angular Partition Edge Descriptor.
ICASSP, (2010), pp. 1250-1253
[10]
A.M.G Pinheiro.
Performance Analysis of the Edge Pixel Orientations Histogram.
WIAMIS IEEE, (2010), pp. 1-4
[11]
G. Salton, M.J Mcgill.
Introduction to Modern Information Retrieval, McGraw Hill, Inc, (1986), pp. 167-180
Copyright © 2013. Universidad Nacional Autónoma de México
Descargar PDF
Opciones de artículo