Augmentation of Colour Averaging Based
Image Retrieval Techniques using Even part
of Images and Amalgamation of feature
vectors
Dr. H.B.Kekre1, Sudeep D. Thepade2, Varun K. Banura3 1
Senior Professor, 2Ph.D.Research Scholar & Associate Professor, 3B.Tech Student
Computer Engineering Department, SVKM’s NMIMS (Deemed-to-be University) Mumbai, India
Abstract
The theme of the work presented here is augmentation of the colour averaging based image retrieval techniques using even part of images given in [1]. The reflection of the original image is taken across horizontal and vertical directions to get a flip image. The even part of the image is obtained by adding original and flip images. It is clear from [1] that the combination of original image with even part gives better image retrieval than the original alone. On the other hand the combination of original image with odd part gives the worst results. Thus the colour averaging techniques like row & column mean (RCM), forward diagonal mean (FDM) and row, column & forward diagonal mean (RCFDM) are applied on the original image and the even part of image. The colour averages (feature vectors) of original image are considered in combination with the even colour averages to get proposed original+even CBIR techniques which are compared with CBIR methods given in [1]. The proposed content based image retrieval (CBIR) techniques are tested on a generic image database having 1000 images spread across 11 categories. For each proposed CBIR technique 55 queries (5 per category) are fired on the image database. To compare the performance of image retrieval techniques average precision and recall are computed for all the queries. The results have shown improved performance (higher precision and recall values) with the proposed methods compared to the simple original image feature vectors. In the discussed image retrieval methods original with even proves to be better than the original. The combination of row, column & forward diagonal means (RCFDM) gives the highest performance in the discussed three methods of feature vector selection for respective CBIR methods (original, original with even). Keywords: CBIR, Colour averaging, Row & Column Mean (RCM), Forward Diagonal Mean (FDM), Row Column & Forward Diagonal Mean (RCFDM), Even Image
1. INTRODUCTION
One of the major challenges being faced by the IT industries is to store/transmit and index/manage image data effectively to make easy access to the image collections of tremendous size being generated due to large numbers of images generated from a variety of sources (digital camera, digital video, scanner, the internet etc.). Image compression deals with the challenge of storage and transmission, where significant advancements have been made [3,6,7]. The challenge to image indexing is studied in the context of image database [4,8,9,12,13], which has become one of the promising and important research area for researchers from a wide range of disciplines like computer vision, image processing and database areas. The thirst of better and faster image retrieval techniques is increasing day by day. Some of the important applications for CBIR technology could be identified as art galleries [14,16], museums, archaeology [5], architecture design [10,15], geographic information systems [7], weather forecast [7,24], medical imaging [7,20], trademark databases [23,25], criminal investigations [26,27], image search on the Internet [11,21,22].
A.
Content Based Image Retrievalsimilarity measurement (SM), where a distance between the query image and each image in the database using their feature vectors is used to retrieve the top “closest” images [18,19,28].
For feature extraction in CBIR there are mainly two approaches [7] feature extraction in spatial domain and feature extraction in transform domain. The feature extraction in spatial domain includes the CBIR techniques based on histograms [7], BTC [3,4,18], VQ [23,27,28]. The transform domain methods are widely used in image compression, as they give high energy compaction in transformed image [19,26]. So it is obvious to use images in transformed domain for feature extraction in CBIR [25]. But taking transform of image is time consuming. Reducing the size of feature vector using pure image pixel data in spatial domain and getting the improvement in performance of image retrieval is shown in [1] & [2]. Here those colour averaging based image retrieval techniques are augmented using the even part of images obtained by adding the original image with the flip image. Many current CBIR systems use the Euclidean distance [3-5,10-16] on the extracted feature set as a similarity measure. The Direct Euclidian Distance between image P and query image Q can be given as equation 1, where Vpi and Vqi are the feature vectors of image P and Query image Q respectively with size ‘n’.
n
= i
Vqi) (Vpi =
ED
1
2
2 1
(1)
2. ROW&COLUMNMEAN(RCM)[2,24,29]
The row mean vector is the set of averages of the intensity values of the respective rows. The column mean vector is the set of averages of the intensity values of the respective columns. The combination of these two vectors gives the row & column mean (RCM) vector. Figure 1 is representing the sample image with size ‘n x n’, the row and column mean vector for this image will be as given below in equation 2.
Row & Column Mean Vector = [Avg(Row 1), Avg(Row 2), …., Avg(Row n), Avg(Col. 1), Avg(Col. 2), …., Avg(Col. n)]
(2)
Fig 1. Sample Image Template (with size n x n) showing row & column mean (RCM) vector
3. FORWARDDIAGONALMEAN(FDM) [2]
Figure 2 is representing the sample image with ‘n’ rows and ‘n’ columns, the forward diagonal mean vector for this image is given below in equation 3.
Forward Diagonal Mean Vector = [Avg(FD 1), Avg(FD 2), …., Avg(FD n)] (3)
Fig 2. Sample Image Template (with size n x n) showing forward diagonal mean (FDM) vector
4.GENERATION OF EVEN PART OF IMAGE
In order to improve the performance of colour averaging based image retrieval methods even images are generated for all the images in the generic database. To generate an even image of any original image, first a replica of original image across X and Y axes is created, which is referred as flip image. Then the addition of the flip and the original image gives even image. The process is explained in equations 4. Flip of an original image with even part is shown in figure 3.
Even Image = [(Original Image + Flip)/2] (4)
Original Image Flip Image Even Image
Fig 3. Sample Original Image with its Flip Image and Even Image
5.COLOURAVERAGINGTECHNIQUESUSED[2]
The various colour averaging techniques used to generate feature vectors of original, even and odd images are given below.
A.
Row & Column Mean of Image (RCM)distance is used in RGB plane to find the best match, which is used to calculate the precision and recall.
B.
Forward Diagonal Mean of Image (FDM)In this method forward diagonal mean of the image is calculated and then the Euclidean distance is used in RGB plane to find the best match, which is used to calculate the precision and recall.
C.
Row, Column & Forward Diagonal Mean of Image (RCFDM)This method is a combination of the above two methods. The RCFDM feature vector is obtained by combining the row & column colour averages and the forward diagonal colour averages. Then the Euclidean distance is used in RGB plane to find the best match, which is used to calculate the precision and recall.
6.PROPOSEDCBIRTECHNIQUES
The content based image retrieval techniques are proposed using the feature vectors obtained by various colour averages. The two main categories of CBIR methods can be given as colour averages of original image and colour averages of original with even part of image. In all 6 image retrieval techniques are considered here.
A. Original Image
Here the RCM, FDM and RCFDM are computed for original image and considered as feature vectors for CBIR. Here RCFDM outperforms other image retrieval techniques.
B.
Original Image + Even ImageIn this method the colour averages of both original image and even image are concatenated to form the feature vectors for image retrieval methods based on RCM, FDM and RCFDM. Here also RCFDM gives the best performance over others.
7.IMPLEMENTATION
The implementation of the discussed CBIR techniques is done in MATLAB 7.0 using a computer with Intel Core 2 Duo Processor T8100 (2.1GHz) and 2 GB RAM.
Fig 4.Sample Images from Generic Image Database
[Image database contains total 1000 images with 11 categories]
Table 1. Image Database: Category-wise Distribution
Category Tribes Buses Beaches Dinosaurs Elephants Roses
No. of Images 85 99 99 99 99 99
Category Horses Mountains Airplanes Monuments Sunrise
No. of Images 99 61 100 99 61
To assess the retrieval effectiveness, we have used the precision and recall as statistical comparison parameters [3,4] for the proposed CBIR techniques. The standard definitions for these two measures are given by the equations 5 and 6. retrieved images of number Total retrieved images relevant of Number ecision _ _ _ _ _ _ _ _
Pr (5)
database in images relevent of number Total retrieved images relevant of Number call _ _ _ _ _ _ _ _ _ _
Re (6)
8.RESULTSANDDISCUSSION
For testing the performance of each proposed CBIR technique, per technique 55 queries (5 from each category) are fired on the image database. The query and database image feature vector matching is done using the Euclidian distance in RGB plane based on the colour averaging technique used.
5.b Crossover Point of Precision and Recall v/s Number of Retrieved Images Figure 5: Performance comparison of RCM for Original and Original+Even CBIR methods.
Figure 5a gives the average precision and average recall values plotted against number of retrieved images for RCM feature extraction method with respect to Original and Original+Even CBIR methods. Here the difference among the precision and recall curves for various methods is not clear. Figure 5b gives the crossover points of precision and recall curves for original RCM and original+Even RCM zoomed out from figure 5a. Here it can be clearly observed that the original+Even RCM gives better performance than the original RCM as indicated by the highest precision recall crossover point value.
Figure 6 gives the crossover points of average precision and average recall values for all proposed CBIR techniques like original image and original+even image grouped against the respective colour averaging method for feature vector generation. In almost all colour averaging methods the original+even CBIR is showing best performance proving the augmentation worth. Overall in all proposed CBIR methods the RCFDM based CBIR technique gives the best performance as indicated by highest precision-recall crossover points.
Figure 7 indicates the performance comparison of proposed CBIR techniques indicated by the precision-recall crossover points plotted for all discussed image retrieval methods. Here for every feature selection method (RCM, FDM and RCFDM) the combination of original image with even image gives the better performance than considering original image alone. Thus the augmentation of colour averaging based CBIR methods is possible using even part of the image at the cost of increased feature vector size.
Figure 7: Performance comparison of proposed CBIR techniques (RCM, FDM, RCFDM) for original image and original+even image
9.CONCLUSION
In spite of many CBIR methods being proposed, there is always a scope of better image retrieval techniques. The paper has presented augmentation of colour averaging based image retrieval techniques using even part of image. Here in all 6 different image retrieval methods based on original image and original with even image are tested on the image database of 1000 images spread across 11 categories. The average precision and recall values have proved that the original with even image gives better performance than other CBIR methods at the cost of increased feature vector size. In all three colour averaging methods are discussed, where row, column and forward diagonal mean (RCFDM) proves to be the best image retrieval method. The image retrieval based on RCFDM with original+even image outperforms the other CBIR techniques.
10.REFERENCES
[1] Dr. H.B.Kekre, Sudeep D. Thepade, Varun K. Banura, “Amelioration of Colour Averaging Based Image Retrieval Techniques using Even and Odd parts of Images”, International Journal of Engineering Science and Technology (IJEST), Volume 2, Issue 9, (ISSN: 0975-5462) Available online at http://www.ijest.info.
[2] Dr. H.B.Kekre, Sudeep D. Thepade, Akshay Maloo, “Query by Image Content Using Colour Averaging Techniques”, International Journal of Engineering Science and Technology (IJEST), Volume 2, Issue 6, 2010.pp.1612-1622 (ISSN: 0975-5462) Available online at http://www.ijest.info.
[3] Dr. H.B.Kekre, Sudeep D. Thepade, “Boosting Block Truncation Coding using Kekre’s LUV Color Space for Image Retrieval”, WASET International Journal of Electrical, Computer and System Engineering (IJECSE), Volume 2, Number 3, pp. 172-180, Summer 2008. Available online at http://www.waset.org/ijecse/v2/v2-3-23.pdf
[4] Dr. H.B.Kekre, Sudeep D. Thepade, “Image Retrieval using Augmented Block Truncation Coding Techniques”, ACM International Conference on Advances in Computing, Communication and Control (ICAC3-2009), pp. 384-390, 23-24 Jan 2009, Fr. Conceicao Rodrigous College of Engg., Mumbai. Is uploaded on online ACM portal.
[5] Dr. H.B.Kekre, Sudeep D. Thepade, “Scaling Invariant Fusion of Image Pieces in Panorama Making and Novel Image Blending Technique”, International Journal on Imaging (IJI), www.ceser.res.in/iji.html, Volume 1, No. A08, pp. 31-46, Autumn 2008.
[6] Hirata K. and Kato T. “Query by visual example – content-based image retrieval”, In Proc. of Third International Conference on Extending Database Technology, EDBT’92, 1992, pp 56-71
[7] Dr. H.B.Kekre, Sudeep D. Thepade, “Rendering Futuristic Image Retrieval System”, National Conference on Enhancements in Computer, Communication and Information Technology, EC2IT-2009, 20-21 Mar 2009, K.J.Somaiya College of Engineering, Vidyavihar, Mumbai-77.
[8] Minh N. Do, Martin Vetterli, “Wavelet-Based Texture Retrieval Using Generalized Gaussian Density and Kullback-Leibler Distance”, IEEE Transactions On Image Processing, Volume 11, Number 2, pp.146-158, February 2002.
[9] B.G.Prasad, K.K. Biswas, and S. K. Gupta, “Region –based image retrieval using integrated color, shape, and location index”, International Journal on Computer Vision and Image Understanding Special Issue: Colour for Image Indexing and Retrieval, Volume 94, Issues 1-3, April-June 2004, pp.193-233.
[11] Stian Edvardsen, “Classification of Images using color, CBIR Distance Measures and Genetic Programming”, Ph.D. Thesis, Master of science in Informatics, Norwegian university of science and Technology, Department of computer and Information science, June 2006. [12] Dr. H.B.Kekre, Tanuja Sarode, Sudeep D. Thepade, “DCT Applied to Row Mean and Column Vectors in Fingerprint Identification”, In
Proceedings of International Conference on Computer Networks and Security (ICCNS), 27-28 Sept. 2008, VIT, Pune.
[13] Zhibin Pan, Kotani K., Ohmi T., “Enhanced fast encoding method for vector quantization by finding an optimally-ordered Walsh transform kernel”, ICIP 2005, IEEE International Conference, Volume 1, pp I - 573-6, Sept. 2005.
[14] Dr. H.B.Kekre, Sudeep D. Thepade, “Improving ‘Color to Gray and Back’ using Kekre’s LUV Color Space”, IEEE International Advanced Computing Conference 2009 (IACC’09), Thapar University, Patiala, INDIA, 6-7 March 2009. Is uploaded at online at IEEE Xplore. [15] Dr. H.B.Kekre, Sudeep D. Thepade, “Image Blending in Vista Creation using Kekre's LUV Color Space”, SPIT-IEEE Colloquium and
International Conference, Sardar Patel Institute of Technology, Andheri, Mumbai, 04-05 Feb 2008.
[16] Dr. H.B.Kekre, Sudeep D. Thepade, “Color Traits Transfer to Grayscale Images”, In Proc.of IEEE First International Conference on Emerging Trends in Engg. & Technology, (ICETET-08), G.H.Raisoni COE, Nagpur, INDIA. Uploaded on online IEEE Xplore.
[17] http://wang.ist.psu.edu/docs/related/Image.orig (Last referred on 23 Sept 2008)
[18] Dr. H.B.Kekre, Sudeep D. Thepade, “Using YUV Color Space to Hoist the Performance of Block Truncation Coding for Image Retrieval”, IEEE International Advanced Computing Conference 2009 (IACC’09), Thapar University, Patiala, INDIA, 6-7 March 2009.
[19] Dr. H.B.Kekre, Sudeep D. Thepade, Archana Athawale, Anant Shah, Prathmesh Verlekar, Suraj Shirke,“Energy Compaction and Image Splitting for Image Retrieval using Kekre Transform over Row and Column Feature Vectors”, International Journal of Computer Science and Network Security (IJCSNS),Volume:10, Number 1, January 2010, (ISSN: 1738-7906) Available at www.IJCSNS.org.
[20] Dr. H.B.Kekre, Sudeep D. Thepade, Archana Athawale, Anant Shah, Prathmesh Verlekar, Suraj Shirke, “Walsh Transform over Row Mean and Column Mean using Image Fragmentation and Energy Compaction for Image Retrieval”, International Journal on Computer Science and Engineering (IJCSE),Volume 2S, Issue1, January 2010, (ISSN: 0975–3397). Available online at www.enggjournals.com/ijcse.
[21] Dr. H.B.Kekre, Sudeep D. Thepade, “Image Retrieval using Color-Texture Features Extracted from Walshlet Pyramid”, ICGST
International Journal on Graphics, Vision and Image Processing (GVIP), Volume 10, Issue I, Feb.2010, pp.9-18, Available online www.icgst.com/gvip/Volume10/Issue1/P1150938876.html
[22] Dr. H.B.Kekre, Sudeep D. Thepade, “Color Based Image Retrieval using Amendment Block Truncation Coding with YCbCr Color Space”, International Journal on Imaging (IJI), Volume 2, Number A09, Autumn 2009, pp. 2-14. Available online at www.ceser.res.in/iji.html. [23] Dr. H.B.Kekre, Tanuja Sarode, Sudeep D. Thepade, “Color-Texture Feature based Image Retrieval using DCT applied on Kekre’s Median
Codebook”, International Journal on Imaging (IJI), Volume 2, Number A09, Autumn 2009,pp. 55-65. Available online at www.ceser.res.in/iji.html (ISSN: 0974-0627).
[24] Dr. H.B.Kekre, Sudeep D. Thepade, Akshay Maloo “Performance Comparison for Face Recognition using PCA, DCT &WalshTransform of Row Mean and Column Mean”, ICGST International Journal on Graphics, Vision and Image Processing (GVIP), Volume 10, Issue II, Jun.2010, pp.9-18, Available online http://209.61.248.177/gvip/Volume10/Issue2/P1181012028.pdf..
[25] Dr. H.B.Kekre, Sudeep D. Thepade, “Improving the Performance of Image Retrieval using Partial Coefficients of Transformed Image”, International Journal of Information Retrieval, Serials Publications, Volume 2, Issue 1, 2009, pp. 72-79(ISSN: 0974-6285)
[26] Dr. H.B.Kekre, Sudeep D. Thepade, Archana Athawale, Anant Shah, Prathmesh Verlekar, Suraj Shirke, “Performance Evaluation of Image Retrieval using Energy Compaction and Image Tiling over DCT Row Mean and DCT Column Mean”, Springer-International Conference on Contours of Computing Technology (Thinkquest-2010), Babasaheb Gawde Institute of Technology, Mumbai, 13-14 March 2010, The paper will be uploaded on online Springerlink.
[27] Dr. H.B.Kekre, Tanuja K. Sarode, Sudeep D. Thepade, Vaishali Suryavanshi,“Improved Texture Feature Based Image Retrieval using Kekre’s Fast Codebook Generation Algorithm”, Springer-International Conference on Contours of Computing Technology (Thinkquest-2010), Babasaheb Gawde Institute of Technology, Mumbai, 13-14 March 2010, The paper will be uploaded on online Springerlink.
[28] Dr. H.B.Kekre, Tanuja K. Sarode, Sudeep D. Thepade, “Image Retrieval by Kekre’s Transform Applied on Each Row of Walsh
Transformed VQ Codebook”, (Invited), ACM-International Conference and Workshop on Emerging Trends in Technology (ICWET 2010),Thakur College of Engg. And Tech., Mumbai, 26-27 Feb 2010, The paper is invited at ICWET 2010. Also will be uploaded on online ACM Portal.
[29] Dr. H.B.Kekre, Tanuja Sarode, Sudeep D. Thepade, “DCT Applied to Row Mean and Column Vectors in Fingerprint Identification”, In Proceedings of Int. Conf. on Computer Networks and Security (ICCNS), 27-28 Sept. 2008, VIT, Pune.
11. AUTHOR BIOGRAPHIES
Sudeep D. Thepade has Received B.E.(Computer) degree from North Maharashtra University with Distinction in 2003. M.E. in Computer Engineering from University of Mumbai in 2008 with Distinction, currently pursuing Ph.D. from SVKM’s NMIMS University, Mumbai. He has about than 07 years of experience in teaching and industry. He was Lecturer in Dept. of Information Technology at Thadomal Shahani Engineering College, Bandra(w), Mumbai for nearly 04 years. Currently working as Associate Professor in Computer Engineering at Mukesh Patel School of Technology Management and Engineering, SVKM’s NMIMS University, Vile Parle(w), Mumbai, INDIA. He is member of International Association of Engineers (IAENG) and International Association of Computer Science and Information Technology (IACSIT), Singapore. He is reviewer for many international journals and in the international advisory panel for many international conferences. He has worked as member of International Advisory Committee for many International Conferences. His areas of interest are Image Processing and Computer Networks. He has about 84 papers in National/International Conferences/Journals to his credit with a Best Paper Award at Int. Conference SSPCCIN-2008, Second Best Paper Award at ThinkQuest-2009 National Level faculty paper presentation competition and Best Paper Award at Springer Int. Conf. ICCCT-2010