Feature Extraction For Image Retrieval Using Image Mining Techniques
Feature Extraction For Image Retrieval Using Image Mining Techniques
(
1
5
2 2 2
1
2
which basically compares one color bin of H
Q
with all those of H
I
to try and find out which color bin is the most
similar.
3.2 Image Retrieval based on Texture
The texture based image retrieval was performed in three steps. First for ext racting statistical texture
informat ion Pyramid-structured wavelet t ransform has used. This decomposition has been done in five levels.
Second step is calculating energy levels on each decomposition level. Third step is calculat ing euclidian distance
between query image and database images. The top most five i mages from the list are displayed as query result.
3.2.1. Pyrami d-Structured Wavelet Transform
This transformation technique is suitable for signals consisting of components with informat ion
concentrated in lower frequency channels. Due to the innate image properties that allows for most information to
exist in lower sub-bands, the pyramid-structured wavelet transform is highly sufficient. Using the
pyramid-structured wavelet transform, the texture image is decomposed into four sub images, in low-low,
low-high, high-low and high-high sub-bands. At this point, the energy level of each sub-band is calculated .This is
first level decomposition. Using the low-low sub-band for further decomposition, we reached fifth level
decomposition, for our project. The reason for this is the basic assumption that the energy of an image is
concentrated in the low-low band. For this reason the wavelet function used is the daubechies wavelet.
For this reason, it is mostly suitable for signals consisting of components with informat ion concentrated in lower
frequency channels. Due to the innate image properties that allows for most informat ion to exist in lower
sub-bands, the pyramid-structured wavelet transform is highly sufficient.
3.2.2 Energy Level
Energy Level Algorithm:
- Decompose the image into four sub-images
- Calculate the energy of all decomposed images at the same scale, using [2]:
Feature Extraction For Image Retrieval Using Image Mining...
21
( ) E
MN
X i j
j
n
i
m
=
= =
1
1 1
,
where M and N are the dimensions of the image, and X is the intensity of the pixel located at row i and column j in
the image map.
- Repeat from step 1 for the low-low sub-band image, until index ind is equal to 5. Increment ind.
Using the above algorithm, the energy levels of the sub-bands were calculated, and further decomposition of the
low-low sub-band image. This is repeated five t imes, to reach fifth level decomposition. These energy level values
are stored to be used in the Euclidean distance algorithm.
3.2.3 Euclidean Distance
euclidean distance algorithm:
- Decompose query image.
- Get the energies of the first dominant k channels.
- For image i in the database obtain the k energies.
- Calculate the euclidean distance between the two sets of energies, using [2]:
( )
D x y
i k i k
k
k
=
=
,
2
1
- Increment i. Repeat from step 3.
Using the above algorithm, the query image is searched for in the image database. The euclidean distance is
calculated between the query image and every image in the database. This process is repeated until all the images
in the database have been compared with the query image. Upon complet ion of the euclidean distance algorithm,
we have an array of euclidean distances, which is then sorted. The five topmost images are then displayed as a
result of the texture search.
3.3 Image Retrieval based on Shape
In this paper shape based image retrieval has performed in two steps. First for extracting edge feature
canny edge detection algorithm and sobel edge detection algorithm are us ed. Second step is calculating euclidian
distance between query image and database images. The top most five images from the list are displayed as query
result.
3.3.1. Canny Edge Detection Algorithm
The canny edge detection algorithm was used to detect a wide range of edges in images. The stages of the
canny algorithm include the noise reduction, finding the intensity gradient of the image, non-maximum
suppression, tracing edges through the image and hysteresis threshold, differential geomet ric formulat ion of the
canny edge detector
IV. Feature Integration
All the ext racted features are integrated to get the final extracted image as result. Every block has a
similarity measure for each of the features. Hence after the feature extract ion process each instance (block) is a
sequence of 1s (YES) and 0s (NO) of length equal to the number of features extracted. Combining these extracted
features is synonymous to forming rules. One rule that combines the three features is color & edge | textures,
which means color AND edge OR texture. Depending on the features used and the domain, the rules vary. If a
particular feature is very accurate for a domain, then the rule will assign the class label as YES (1) (1 in the table
on the left). For those instances when I Class is not certain the class label is 2. This denotes uncertain regions that
may or may not be existed. The same rule used during the training phase is also used in the testing phase.
Table1
Rules for Feature Integration
Rule Name Col or Texture shape
Class-1 1 0 1
Class-2 0 0 0
Class-3 1 1 0
Class-4 1 0 0
If there are 3 features, for example, the above table shows a part of a set of rules that could be used. The first and
Feature Extraction For Image Retrieval Using Image Mining...
22
third rules say that color along with texture or edge conclusively determines that query image is present in that
block. The second rule says that when none of the features is 1 then query image is absent for sure. Fourth rule
states that color on its own is uncertain in determining the presence of query image.
V. Results and Discussions
The image database has used to retrieve the relevant images based on query image. The test image database
contains 200 images of 10 categories like structured and unstructured, sports images, missile images etc. Image
retrieval was performed on combinational feature set of primit ive features like color, texture and shape. Results
are obtained from class 1 feature set of primitive feature color, class 2 feature set of integrated feature color and
shape and class 3 feature set of integrated feature texture and shape. For single query missile image the results
shown in the following figures.
Figure 1.Results obtained from Primitive Feature Color
(a) (b)
Figure 2. Results obtained from Integrated Feature Extract ion (a)color and texture , (b)color and shape
Based on commonly used performance measures in information retrieval, two statistical measures were computed
to assess system performance namely Recall and Precision. For good retrieval system ideal values for recall is 1
and precision is of low value. The table 2 will give the performance evaluation of image retrieval based on
primitive feature color on 10 image databases .
Feature Extraction For Image Retrieval Using Image Mining...
23
Table 2
Performance Analysis based on Primit ive Feature (Color)
Query
database
Retrieved
Images
Relevant
Images
Relevent
Images retrieved
Precision Recall
Img1 9 5 5 0.444 1
Img2 9 7 6 0.666 0.857
Img3
9 5 5 0.555 1
Img4 9 6 6 0.667 1
Img5 9 6 6 0.667 1
Img6 9 5 4 0.444 0.8
Img7 9 8 6 0.667 0.75
The table 2 will give the performance evaluation of integrated features of different classes like color and texture,
color and shape.
Table 3
Performance analysis based on integrated features of color and texture and color and shape
Query
database
Integrated features of
color and texture
Integrated features of
color and shape
Precision Recall Precision Recall
Img1 0.833 1 1 0.8
Img2 0.833 0.714 0.75 0.428
Img3
0.833 0.8 0.75 0.6
Img4 1 1 1 0.667
Img5 0.833 0.833 1 0.667
Img6 0.667 0.8 1 0.8
Img7 0.83 0.625 0.75 0.375
The performance analysis of image ret rieval system is based on primit ive feature color and integrated
features color and texture and color and shape. By taking 10 query images from different databases, the results are
analysed based on number of relevant images retrieved and total relevant images existed in the data base. The
performance of image retrieval system of integrated feature is more when compared with primit ive feature
extraction.
VI. Conclusions and Future Enhancements
This paper elucidates the potentials of ext raction of features of the image using color, texture and shape
for ret rieving the images from the specific image databases. The images are retrieved from the given database of
images by giving the query image. These results are based on various digital images of dataset. The performance
of the image retrieval was assessed using the parameters recall rate and precision. It was ascertained that the recall
rate and precision are high when the image retrieval was based on the feature integration on all the three features
the color, texture and shape than primitive features alone. The work can be extended further on huge data bases for
retrieving relevant images to obtain objects using different combination of weight for color and texture and shape
features.
References
[1]. A.W.M. Smeulders, et. al. Cont ent-based imageretrieval at the end of t he early years, IEEE Transactions on Pattern Analysis and
Machine Intelligence, vol. 22, no. 12,2000, pp. 1349.
[2]. Castelli, V. and Bergman, L. D., Image Databases: Search and Retrieval of Digit al Imagery, 2001, John Wiley & Sons, Inc.
[3]. Craig Nevill-Manning (Google) and Tim Mayer (Fast). Anatomy of a Search Engine, Search Engine Strategies Conference, 2002.
[4]. Daubechies, I., Ten Lect ures on Wavelet s, Capital City Press, Montpelier, Vermon.t,1992.
[5]. Drimbarean A. and Whelan P.F. Experiment s in color text ure analysis, P attern Recognition Letters, 22:2001, 1161-1167.
[6]. Hedman, K.; St illa, U.; Lisini, G.; Gamba, P. , Road Net work Ext ract ion in VHR SAR Images of Urban and Suburban Areas by
Means of Class-Aided Feat ure-Level Fusion, Geoscience and Remote Sensing, IEEE Transactions , vol.48, no.3, pp.1294-1296,
March 2010.
[7]. Hui Kong; Audibert, J.-Y.; Ponce, J. , General Road Detect ion From a Single Image, Image Processing, IEEE Transactions ,
vol.19, no.8, pp.2211-2220, Aug. 2010.
[8]. Jalal, A. A Fuzzy Model for Road Identificat ion in Sat ellit e Images. Proceedings of the 2006 International Conference on Image
Processing, Computer Vision, & Pattern Recognition, Las Vegas, Nevada, USA, 2006.
[9]. Nock, R.; Nielsen, F.,Stat ist ical region merging, patt ern analysis and machine int elligence, IEEE Transactions on , vol.26, no.11,
pp.1452-1458, Nov. 2004.
[10]. Shou-Bin Dong and Yi-Ming Yang. Hierarchical Web Image Classificat ion by Mult i-level Feat ures, Proceedings of the First
International Conference on Machine Learning and Cybernetics, Beijing, 2002
[11]. Smit h, J., Color for Image Ret rieval, Image Databases: Search and Retrieval of Digital Imagery, John Wiley & Sons, New York.
2001.
Feature Extraction For Image Retrieval Using Image Mining...
24
[12]. Tomoko Tat eyama, Zensho Nakao, Xian Yan Zeng, Yen-Wei Chen, Segmentat ion of High Resolut ion Satellit e Images by
Direct ion and Morphological Filt ers, his pp.482-487, Fourth International Conference on Hybrid Intelligent Systems (HIS'04),
2004.
[13]. Tuncer, O. ,Fully Automatic RoadNet work Extraction from Sat ellite Images, Recent Advances in Space Technologies, 2007. RAST
'07. 3rd International Conference on , vol., no., pp.708-714, 14-16 June 2007.
Biography
M.Madhu Bala.
She is doing her Ph.D in Computer Science and Engineering in the area of image mining at
Jawaharlal Nehru Technological University, Hyderabad. Her research interests are DataMining,
Image Analysis, Informat ion Retrieval Systems.. She holds the Life Membership of ISTE and CSI.
Dr. M.Seetha.
She had completed Ph.D in Computer Science and Engineering in the area of image processing
in December 2007 from Jawaharlal Nehru Technological University, Hyderabad and M. S. from B I T S,
Pilani in 1999. Her research interest includes image processing, neural networks, computer networks,
artificial intelligence and data mining. She had about 10 papers published in refereed journals and more than
50 papers in the proceedings of National/International Conference and Symposiums. She was the recipient of
the AICTE Career Award for Young Teachers (CAYT) in FEB, 2009, and received the grant upto 10.5
lakhs over a period of three years by AICTE, INDIA. She was a reviewer for various International
Journals/Conferences. She holds the Life Membership of ISTE, IETE and CSI.