Content Based Image Retrieval
Content Based Image Retrieval
Presentation Outline
Objective of the seminar
Discussion of Content Based Image Retrieval [CBIR] Detailed discussion of some basic but very efficient algorithms for Image Retrieval
Retrieval of images based on visual features such as color, texture and shape.
Steps Involved:
Pixel
Image Quantization Color Histogram Grayscale Images Conversion of Color Image to Grayscale Image
Existing Systems
QBIC
VIRAGE EXCALIBUR
where, j denotes the various gray levels hist_query is the histogram of query image, hist_database is histogram of the database image. histdist is error difference or distance metric.
The nearest matching database images with the query image has the least distance metric. The exact match is the one with the zero distance metric.
Visually significant information is contributed by higher order bits and least significant bits contribute less.
When total number of pixels over the entire image is counted in which a particular ith bit is set to 1, it gives the ith bit plane Histogram
set
no
yes
yes
Distance between histograms of database images and query image is as shown: hist (|i|, database) =|hist_database[i]-hist_query[i] |
i=7, 6...0
hist_database[i] and hist_query[i] are the bit plane histograms i.e. number of pixels in the image having ith bit as 1.
r1.tr.x=w1*5;r1.tr.y=h1*3;
r1.bl.x=w1*3;r1.bl.y=h1*5; r1.br.x=w1*5;r1.br.y=h1*5; //Region 2 r2.tl.x=w1*2;r2.tl.y=h1*2; r2.tr.x=w1*6;r2.tr.y=h1*2;
r3.bl.x=w1*1;r3.bl.y=h1*7;
r3.br.x=w1*7;r3.br.y=h1*7; //Region 4 r4.tl.x=0;r4.tl.y=0; r4.tr.x=iw;r4.tr.y=0; r4.bl.x=0;r4.bl.y=ih; r4.br.x=iw;r4.br.y=ih; }
if((x>=r1.tl.x&&x<=r1.tr.x)&&(y>=r1.tl.y&&y<=r1.bl.y)) { region="Region1";
} else if((x>=r2.tl.x&&x<=r2.tr.x)&&(y>=r2.tl.y&&y<=r2.bl.y)) { region="Region2"; }
Step1: Compute gray scale histogram error difference at sub-region1 between query feature and n number of databases features. Apply threshold and reduce. Step2: Compute gray scale histogram error difference at sub-region2 between query feature and features of reduced set of images obtained in step1. Apply threshold and reduce.
Step4: Compute gray scale histogram error difference at sub-region4 between query feature and features of reduced set of images obtained in step3. Apply threshold and reduce.
Finally, least distance metrics will represent the similar Image to the query Image
Conclusion
This research area is growing very rapidly
References
[1]. Manjunath KN, Renuka A, Bit plane histogram matching for CBIR, National Level Technical paper presentation, Kadi, Gujarat. [2]. Manjunath KN, Renuka A, Harischandra Hebbar N, Hierarchical Bit plane histogram matching for CBIR, IEEEs Signal Processing Society, EMBS, TIFAC-CORE sponsored National Conference on Image Processing, MSRSAS, Bangalore. [3]. Manjunath KN, Renuka A, Harischandra Hebbar N, Spatial Bit plane histogram matching for CBIR, AICTE, ISTE New Delhi sponsored National Conference on Graphics, Vision and Image Processing, J.N.N College of Engineering, Shimoga. [4]. Kato, T., Database architecture for content-based image retrieval in: Jambardino, A. A., and Niblack, W. R., (Eds.), Image Storage 439 and Retrieval Systems. Proc SPIE 1662, 112123, 1992. [5]. Swain, M. J., and Ballard, D. H., Color indexing. Int. J. Comput. Vis. 7(1):1132, 1991. [6]. Stricker, M., and Orengo, M., Similarity of color images. In: Niblack, W. R., and Jain, R. C., (Eds.), Storage and Retrieval for Image and Video Databases III. Proc SPIE 2420, pp 381392, 1995. [7]. Stricker, M., and Dimai, A., Color indexing with weak spatial constraints. In: Storage and Retrieval for Image and Video Databases IV. Proc SPIE 2670, 2940, 1996. [8]. Gonzalez, R. C., and Woods, R. E., Digital image processing, 2004 2 nd Edition, pp 94 103. [9]. Flickner, M et al Query by image and video content: the QBIC system IEEE Computer 28(9), 23-92