Image indexing and retrieving using histogram based methods 03/7/15資工研所陳慶鋒.

Slides:



Advertisements
Similar presentations
Distinctive Image Features from Scale-Invariant Keypoints
Advertisements

Computer Vision, Part 1. Topics for Vision Lectures 1.Content-Based Image Retrieval (CBIR) 2.Object recognition and scene understanding.
Presented by Xinyu Chang
Content-Based Image Retrieval
VisualRank: Applying PageRank to Large-Scale Image Search Yushi Jing, Member, IEEE, and Shumeet Baluja, Member, IEEE.
CSSE463: Image Recognition Day 2 Roll call Roll call Announcements: Announcements: Moodle has drop box for Lab 1 Moodle has drop box for Lab 1 Next class:
Authors Alina Banerjee Department of Computer Science and Engineering
IDEAL 2005, 6-8 July, Brisbane Multiresolution Analysis of Connectivity Atul Sajjanhar, Deakin University, Australia Guojun Lu, Monash University, Australia.
CS324e - Elements of Graphics and Visualization Color Histograms.
Presenter: Hoang, Van Dung
HYBRID-BOOST LEARNING FOR MULTI-POSE FACE DETECTION AND FACIAL EXPRESSION RECOGNITION Hsiuao-Ying ChenChung-Lin Huang Chih-Ming Fu Pattern Recognition,
Object Inter-Camera Tracking with non- overlapping views: A new dynamic approach Trevor Montcalm Bubaker Boufama.
Image Indexing and Retrieval using Moment Invariants Imran Ahmad School of Computer Science University of Windsor – Canada.
Lecture 12 Content-Based Image Retrieval
Integrating Color And Spatial Information for CBIR NTUT CSIE D.W. Lin
CSSE463: Image Recognition Day 2 Roll call Roll call Announcements: Announcements: Reinstall Matlab if you are having problems: Lab 1 has directions. Reinstall.
CSSE463: Image Recognition Day 2 Roll call Roll call Announcements: Announcements: Room change: Olin 267 starting next class Room change: Olin 267 starting.
Effective Image Database Search via Dimensionality Reduction Anders Bjorholm Dahl and Henrik Aanæs IEEE Computer Society Conference on Computer Vision.
Chapter 11 Beyond Bag of Words. Question Answering n Providing answers instead of ranked lists of documents n Older QA systems generated answers n Current.
The Capacity of Color Histogram Indexing Dong-Woei Lin NTUT CSIE.
Content-based Image Retrieval CE 264 Xiaoguang Feng March 14, 2002 Based on: J. Huang. Color-Spatial Image Indexing and Applications. Ph.D thesis, Cornell.
Image indexing and Retrieval Using Histogram Based Methods
SWE 423: Multimedia Systems
MODULATION SPECTRUM EQUALIZATION FOR ROBUST SPEECH RECOGNITION Source: Automatic Speech Recognition & Understanding, ASRU. IEEE Workshop on Author.
The Capacity of Color Histogram Indexing Dong-Woei Lin NTUT CSIE.
Modeling Spatial-Chromatic Distribution for CBIR
Image indexing and Retrieval Using Histogram Based Methods, 03/6/5資工研一陳慶鋒.
Texture Readings: Ch 7: all of it plus Carson paper
Invariant Image Hashing for DWT SPIHT Coded Images 陳慶鋒11/23/04.
Invariant Indexing Resistant to RST and Lossy Compression for DWT SPIHT Coded Images 資工研二陳慶鋒.
Image retrieval by histograms with color-spatial information 92/08/26陳慶鋒.
1 Embedded colour image coding for content-based retrieval Source: Journal of Visual Communication and Image Representation, Vol. 15, Issue 4, December.
Image Hashing for DWT SPIHT Coded Images 陳慶鋒. Outline Image hashing Image hashing The significance maps from SPIHT The significance maps from SPIHT The.
PicHunter A Bayesian Image Retrieval System
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Introduction Color Texture Shape Sketch Blobs+Spatial Interaction High-Level Representation Compressed Image Retrieval Learning Text+Image Features - Retrieval.
Mean-shift and its application for object tracking
A Statistical Approach to Speed Up Ranking/Re-Ranking Hong-Ming Chen Advisor: Professor Shih-Fu Chang.
COLOR HISTOGRAM AND DISCRETE COSINE TRANSFORM FOR COLOR IMAGE RETRIEVAL Presented by 2006/8.
10/24/2015 Content-Based Image Retrieval: Feature Extraction Algorithms EE-381K-14: Multi-Dimensional Digital Signal Processing BY:Michele Saad
2005/12/021 Content-Based Image Retrieval Using Grey Relational Analysis Dept. of Computer Engineering Tatung University Presenter: Tienwei Tsai ( 蔡殿偉.
NTIT IMD 1 Speaker: Ching-Hao Lai( 賴璟皓 ) Author: Hongliang Bai, Junmin Zhu and Changping Liu Source: Proceedings of IEEE on Intelligent Transportation.
2005/12/021 Fast Image Retrieval Using Low Frequency DCT Coefficients Dept. of Computer Engineering Tatung University Presenter: Yo-Ping Huang ( 黃有評 )
1 A Compact Feature Representation and Image Indexing in Content- Based Image Retrieval A presentation by Gita Das PhD Candidate 29 Nov 2005 Supervisor:
資訊碩一 吳振華 An Extended Method of the Parametric Eigenspace Method by Automatic Background Elimination.
模式识别国家重点实验室 中国科学院自动化研究所 National Laboratory of Pattern Recognition Institute of Automation, Chinese Academy of Sciences Matching Tracking Sequences Across.
A fast algorithm for tracking human faces based on chromatic histograms Pattern Recognition Letters, 1999 Speak: M. Q. Jing 4/23/2001 國立交通大學 自動化資訊處理 lab.
Chittampally Vasanth Raja 10IT05F vasanthexperiments.wordpress.com.
Chittampally Vasanth Raja vasanthexperiments.wordpress.com.
Matching of Objects Moving Across Disjoint Cameras Eric D. Cheng and Massimo Piccardi IEEE International Conference on Image Processing
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
Image Quality Measures Omar Javed, Sohaib Khan Dr. Mubarak Shah.
2008/7/10 1 以空間關係相鄰圖為基礎之空間關 係相似性量測方法 Retrieval by spatial similarity based on interval neighbor group 研究生:黃彥人 指導教授:蔣依吾博士 中山大學資訊工程學系.
Robust Image Hashing Based on Color Vector Angle and Canny Operator
Image Retrieval Based on Regions of Interest
Color-Texture Analysis for Content-Based Image Retrieval
Content-based Image Retrieval
Histogram—Representation of Color Feature in Image Processing Yang, Li
By Pradeep C.Venkat Srinath Srinivasan
Outline Image formats and basic operations Image representation
Content-Based Image Retrieval
Outline S. C. Zhu, X. Liu, and Y. Wu, “Exploring Texture Ensembles by Efficient Markov Chain Monte Carlo”, IEEE Transactions On Pattern Analysis And Machine.
Content-Based Image Retrieval
Handwritten Characters Recognition Based on an HMM Model
Image Retrieval Based on Fractal Signatures John Y. Chiang Z. Z. Tsai
COMPUTER VISION Introduction
CSSE463: Image Recognition Day 2
Color Image Retrieval based on Primitives of Color Moments
CSSE463: Image Recognition Day 2
Color Image Retrieval based on Primitives of Color Moments
Presentation transcript:

Image indexing and retrieving using histogram based methods 03/7/15資工研所陳慶鋒

Outline Histogram based methods Histogram based methods Image retrieval using the three methods Image retrieval using the three methods Experimental result Experimental result Library of Image formats Library of Image formats Future work Future work References References

Histogram based features Color Histogram Color Histogram Histogram Refinement Histogram Refinement Color Correlogram Color Correlogram

Color histogram For a n  n with m colors image I, For a n  n with m colors image I, the color histogram is the color histogram is where where p 為屬於 I 的 pixel, I(p) 為其顏色 p 為屬於 I 的 pixel, I(p) 為其顏色,,for,,for

Color histogram (cont.) Advantages Advantages -trivial to compute -trivial to compute -robust against small changes in camera -robust against small changes in camera viewpoint viewpoint Disadvantages Disadvantages -without any spatial information -without any spatial information

Histogram refinement The pixels of a given bucket are subdivided into classes based on local feature. Within a given bucket, only pixels in the same class are compared. The local feature which this paper used: Color Coherence Vectors(CCVs) Color Coherence Vectors(CCVs)

Histogram refinement (cont.) CCVs CCVs For the discretized color c i, the pixels with color c i are coherence if the number of connected component>= , indicated as  ci, otherwise are incoherence, indicated as  ci, and total pixel with color c i =  ci +  ci, a threshold  is defined as the condition of coherence or not For the discretized color c i, the pixels with color c i are coherence if the number of connected component>= , indicated as  ci, otherwise are incoherence, indicated as  ci, and total pixel with color c i =  ci +  ci, a threshold  is defined as the condition of coherence or not for color j, the coherence pair is (  ci,  ci ) for color j, the coherence pair is (  ci,  ci )

Histogram refinement (cont.)

Example Example

Histogram refinement (cont.) Example(cont.) Example(cont.)

Histogram refinement (cont.) Example(cont.) Example(cont.) LableABCDE Color12132 Size

Histogram refinement (cont.) Example(cont.) Example(cont.) Color123 α12200 β301

Color correlograms A table indexed by color pairs, where the k-th entry for color pair specifies the probability of finding a pixel of color j at a distance k from a pixel of color i in the image. A table indexed by color pairs, where the k-th entry for color pair specifies the probability of finding a pixel of color j at a distance k from a pixel of color i in the image. The correlogram is The correlogram is d………………… 1… (1,1)(1,2)…… (m,m)

Color correlograms(cont.) The autocorrelogram is d…………… 1… 1…m

Color correlograms (cont.) Example Example

Color correlograms (cont.) Example(cont.) Example(cont.)

Color correlograms (cont.) Example(cont.) Example(cont.)

Image retrieval using the three methods Similarity measure Similarity measure -L1 distance similarity -L1 distance similarity -relative distance -relative distance Performance measure Performance measure -ranking measure -ranking measure

Similarity measure L1 distance similarity Sim() L1 distance similarity Sim() Sim(I,I’) 愈大,兩張圖的相似度愈高 Sim(I,I’) 愈大,兩張圖的相似度愈高

Similarity measure(cont.) Relative distance Relative distance 愈小,兩張圖的相似度愈高 愈小,兩張圖的相似度愈高

Performance measure Ranking measures Ranking measures 令 為 query images 的集合, Q’ i 為 Q i 的 answer image answer image r-measure: r-measure: average r-measure: average r-measure: p 1 -measure: p 1 -measure: average p 1 -measure: average p 1 -measure:

Experimental result Experimental setup Experimental setup - Image database of 180 gray level images with size - Image database of 180 gray level images with size 192x x128 -Quantize gray level to 16 bins -Quantize gray level to 16 bins -Set  of CCV as Set  of CCV as Set d of autocorrelogram as 30 -Set d of autocorrelogram as 30 -A query set which consists 25 query images and 25 answer images -A query set which consists 25 query images and 25 answer images

Experimental result(cont.) Results Results similarity hist: 1 ccv: 1 auto: 1 similarity hist: 1 ccv: 1 auto: 1 relative distance hist: 1 ccv: 1 auto: 1 relative distance hist: 1 ccv: 1 auto: 1 similarity hist: 32 ccv: 26 auto: 44 similarity hist: 32 ccv: 26 auto: 44 relative distance hist: 33 ccv: 38 auto: 31 relative distance hist: 33 ccv: 38 auto: 31

Experimental result(cont.) Results(cont.) Results(cont.) similarity hist: 41 ccv: 11 auto: 77 similarity hist: 41 ccv: 11 auto: 77 relative distance hist: 10 ccv: 3 auto: 7 relative distance hist: 10 ccv: 3 auto: 7 similarity hist: 55 ccv: 26 auto: 80 similarity hist: 55 ccv: 26 auto: 80 relative distance hist: 2 ccv: 10 auto: 1 relative distance hist: 2 ccv: 10 auto: 1

Experimental result(cont.) Results(cont.) Results(cont.) performance measure in similarity and relative distance performance measure in similarity and relative distance SimilarityColor histogramccvauto r-measure avg r-measure p 1 -measure avg p 1 -measure Relative distanceColor histogramccv auto r-measure avg r-measure p 1 -measure avg p 1 -measure

Experimental result(cont.) Results(cont.) Results(cont.) performance measure in similarity and relative distance performance measure in similarity and relative distance SimilarityColor histogramccvauto r-measure avg r-measure p 1 -measure avg p 1 -measure Relative distanceColor histogramccv auto r-measure avg r-measure p 1 -measure avg p 1 -measure

Experimental result(cont.) Factors which affect performance Factors which affect performance - choice of image database - choice of image database - choices between query images and answer images - choices between query images and answer images -  of CCV -  of CCV - d of color autocorrelogram - d of color autocorrelogram

Library of Image formats Include: imgdata.h Include: imgdata.h Formats: pgm, jpg, png, bmp Formats: pgm, jpg, png, bmp We can get: width, height, and raw data We can get: width, height, and raw data

Library of Image formats(cont.) Functions Functions GetPGM(char, int*, int*, unsigned char**) GetPGM(char, int*, int*, unsigned char**) GetPNG(char, int*, int*, unsigned char**) GetPNG(char, int*, int*, unsigned char**) GetBMP(char, int*, int*, unsigned char**) GetBMP(char, int*, int*, unsigned char**) GetJPEG(char, int*, int*, unsigned char**) GetJPEG(char, int*, int*, unsigned char**)

Library of Image formats(cont.) Example Example int width, height int width, height unsigned char* data unsigned char* data GetJPEG(“1.jpg”, &width, &height, &data) GetJPEG(“1.jpg”, &width, &height, &data)

Future work Image indexing and retrieving of color images (debugging) Image indexing and retrieving of color images (debugging) Further study Further study

References [1] M. Swain and D. Ballard, “ Color indexing, ” International Journal of Computer Visioin, 7(1):11-32, 1991 [1] M. Swain and D. Ballard, “ Color indexing, ” International Journal of Computer Visioin, 7(1):11-32, 1991 [2] G. Pass and R.Zabih, “ Histogram refinement for content based image retrieval, ” IEEE Workshop on Applications of Computer Vision, pp , 1996 [2] G. Pass and R.Zabih, “ Histogram refinement for content based image retrieval, ” IEEE Workshop on Applications of Computer Vision, pp , 1996 [3] G Pass and R. Zabih, “ Compare images using color coherence vectors, ” Applications of Computer Vision, WACV '96., Proceedings 3rd IEEE Workshop on, 2-4 Dec 1996, Page(s): [3] G Pass and R. Zabih, “ Compare images using color coherence vectors, ” Applications of Computer Vision, WACV '96., Proceedings 3rd IEEE Workshop on, 2-4 Dec 1996, Page(s): [4] J. Huang, S. R. Kumar, M. Mitra, W. J. Zhu, and R.Zabih, “ Image indexing using color correlograms, ” Conf. Computer Vision and Pattern Recognit., pp ,1997 [4] J. Huang, S. R. Kumar, M. Mitra, W. J. Zhu, and R.Zabih, “ Image indexing using color correlograms, ” Conf. Computer Vision and Pattern Recognit., pp ,1997