Fast multiresolution image querying CS474/674 – Prof. Bebis.

Slides:



Advertisements
Similar presentations
Introduction to Information Retrieval Introduction to Information Retrieval Lecture 7: Scoring and results assembly.
Advertisements

Pseudo-Relevance Feedback For Multimedia Retrieval By Rong Yan, Alexander G. and Rong Jin Mwangi S. Kariuki
Multimedia Database Systems
Wavelets Fast Multiresolution Image Querying Jacobs et.al. SIGGRAPH95.
Pete Bohman Adam Kunk.  Introduction  Related Work  System Overview  Indexing Scheme  Ranking  Evaluation  Conclusion.
VisualRank: Applying PageRank to Large-Scale Image Search Yushi Jing, Member, IEEE, and Shumeet Baluja, Member, IEEE.
ICIP 2000, Vancouver, Canada IVML, ECE, NTUA Face Detection: Is it only for Face Recognition?  A few years earlier  Face Detection Face Recognition 
Information Retrieval in Practice
Young Deok Chun, Nam Chul Kim, Member, IEEE, and Ick Hoon Jang, Member, IEEE IEEE TRANSACTIONS ON MULTIMEDIA,OCTOBER 2008.
Wavelets (Chapter 7) CS474/674 – Prof. Bebis.
1 Content Based Image Retrieval Using MPEG-7 Dominant Color Descriptor Student: Mr. Ka-Man Wong Supervisor: Dr. Lai-Man Po MPhil Examination Department.
Real-time Embedded Face Recognition for Smart Home Fei Zuo, Student Member, IEEE, Peter H. N. de With, Senior Member, IEEE.
Retrieval Evaluation. Brief Review Evaluation of implementations in computer science often is in terms of time and space complexity. With large document.
Review Dec, 2001 Workpackage 4 Image Analysis Algorithms Progress Update Dec Kirk Martinez, Paul Lewis, David Duplaw, Fazly Abbas, Faizal Fauzi,
1 A Unified Rate-Distortion Analysis Framework for Transform Coding Student : Ho-Chang Wu Student : Ho-Chang Wu Advisor : Prof. David W. Lin Advisor :
Information retrieval Finding relevant data using irrelevant keys Example: database of photographic images sorted by number, date. DBMS: Well structured.
PMT meeting, Sept 22, 2001 Workpackage 4 Image Analysis Algorithms Progress Update Sept Kirk Martinez, Paul Lewis, Fazly Abbas, Faizal Fauzi, Mike.
Retrieval Evaluation. Introduction Evaluation of implementations in computer science often is in terms of time and space complexity. With large document.
1 Computer Science 631 Lecture 4: Wavelets Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
1 Embedded colour image coding for content-based retrieval Source: Journal of Visual Communication and Image Representation, Vol. 15, Issue 4, December.
Object Detection Using the Statistics of Parts Henry Schneiderman Takeo Kanade Presented by : Sameer Shirdhonkar December 11, 2003.
A fuzzy video content representation for video summarization and content-based retrieval Anastasios D. Doulamis, Nikolaos D. Doulamis, Stefanos D. Kollias.
Ashish Uthama EOS 513 Term Paper Presentation Ashish Uthama Biomedical Signal and Image Computing Lab Department of Electrical.
Chapter 5: Information Retrieval and Web Search
Overview of Search Engines
Image Analogies Aaron Hertzmann (1,2) Charles E. Jacobs (2) Nuria Oliver (2) Brian Curless (3) David H. Salesin (2,3) 1 New York University 1 New York.
ENG4BF3 Medical Image Processing
Navigating and Browsing 3D Models in 3DLIB Hesham Anan, Kurt Maly, Mohammad Zubair Computer Science Dept. Old Dominion University, Norfolk, VA, (anan,
Multimedia and Time-series Data
Wavelet-Based Multiresolution Matching for Content-Based Image Retrieval Presented by Tienwei Tsai Department of Computer Science and Engineering Tatung.
Video Mosaics AllisonW. Klein Tyler Grant Adam Finkelstein Michael F. Cohen.
Indices Tomasz Bartoszewski. Inverted Index Search Construction Compression.
COLOR HISTOGRAM AND DISCRETE COSINE TRANSFORM FOR COLOR IMAGE RETRIEVAL Presented by 2006/8.
Clustering Top-Ranking Sentences for Information Access Anastasios Tombros, Joemon Jose, Ian Ruthven University of Glasgow & University of Strathclyde.
Wavelet-based Coding And its application in JPEG2000 Monia Ghobadi CSC561 final project
C-FIND Performance Issues. Multiple Patient IDs PACS increasingly have records transferred between facilities (IHE and otherwise) Transferred patient.
Chapter 6: Information Retrieval and Web Search
Introduction to Digital Libraries hussein suleman uct cs honours 2003.
Mingyang Zhu, Huaijiang Sun, Zhigang Deng Quaternion Space Sparse Decomposition for Motion Compression and Retrieval SCA 2012.
Wavelets and Multiresolution Processing (Wavelet Transforms)
Similarity Searching in High Dimensions via Hashing Paper by: Aristides Gionis, Poitr Indyk, Rajeev Motwani.
Image Comparison Tool Product Proposal Tim La Fond and Peter Beckfield.
Expectation-Maximization (EM) Case Studies
2005/12/021 Content-Based Image Retrieval Using Grey Relational Analysis Dept. of Computer Engineering Tatung University Presenter: Tienwei Tsai ( 蔡殿偉.
2005/12/021 Fast Image Retrieval Using Low Frequency DCT Coefficients Dept. of Computer Engineering Tatung University Presenter: Yo-Ping Huang ( 黃有評 )
Gang WangDerek HoiemDavid Forsyth. INTRODUCTION APROACH (implement detail) EXPERIMENTS CONCLUSION.
SAR-ATR-MSTAR TARGET RECOGNITION FOR MULTI-ASPECT SAR IMAGES WITH FUSION STRATEGIES ASWIN KUMAR GUTTA.
Ranking of Database Query Results Nitesh Maan, Arujn Saraswat, Nishant Kapoor.
Content Based Color Image Retrieval vi Wavelet Transformations Information Retrieval Class Presentation May 2, 2012 Author: Mrs. Y.M. Latha Presenter:
An Image Retrieval Approach Based on Dominant Wavelet Features Presented by Te-Wei Chiang 2006/4/1.
The Discrete Wavelet Transform for Image Compression Speaker: Jing-De Huang Advisor: Jian-Jiun Ding Graduate Institute of Communication Engineering National.
CS654: Digital Image Analysis
1 CS 430: Information Discovery Lecture 5 Ranking.
03/02/20061 Evaluating Top-k Queries Over Web-Accessible Databases Amelie Marian Nicolas Bruno Luis Gravano Presented By: Archana and Muhammed.
CS Machine Learning Instance Based Learning (Adapted from various sources)
Wavelets (Chapter 7).
Content-Based Image Retrieval Using Color Space Transformation and Wavelet Transform Presented by Tienwei Tsai Department of Information Management Chihlee.
Wavelets Chapter 7 Serkan ERGUN. 1.Introduction Wavelets are mathematical tools for hierarchically decomposing functions. Regardless of whether the function.
Multiresolution Analysis (Section 7.1) CS474/674 – Prof. Bebis.
Wavelets (Chapter 7) CS474/674 – Prof. Bebis. STFT - revisited Time - Frequency localization depends on window size. –Wide window  good frequency localization,
Dense-Region Based Compact Data Cube
Information Retrieval in Practice
Multiresolution Analysis (Chapter 7)
CS644 Advanced Topics in Networking
Fast multiresolution image querying
IST 516 Fall 2011 Dongwon Lee, Ph.D.
Histogram—Representation of Color Feature in Image Processing Yang, Li
Multimedia Information Retrieval
Instance Based Learning (Adapted from various sources)
CSE 589 Applied Algorithms Spring 1999
Presentation transcript:

Fast multiresolution image querying CS474/674 – Prof. Bebis

Paper C. Jacobs, A. Finkelstein, and D. Salesin, “Fast multiresolution image quering”, Proceedings of SIGGRAPH, pp , 1995

Problem Search an image database to retrieve images that are similar to a query image. “query by content” or “query by example” Typically, the K best matches are returned.

Challenges What features to use? How to tolerate image distortions? How to organize the data? How to search fast? How to reduce storage requirements?

Image Distortions This study considers two types of image distortion: –A low-resolution image from a scanner or video camera. –A rough sketch of the image painted by the user. paintedlow resolutiontarget

Traditional Metrics Traditional metrics based on the L 1 and L 2 norms cannot handle inexact matching and are time consuming. L1L1 L2L2 Q: query T: target Experiments using these metrics have shown that the target image is in the highest 1% of the retrieved images only 3% of the time.

Fast Retrieval Retrieval should be fast enough to handle tens of thousands of images at interactive rates. Efficient image representation Efficient database organization Fast metric computation

User Interface Can process a 128 x 128 image query on a database of 20,000 images in under 0.5 seconds *. Returns 20 highest- ranked targets at interactive rates! * Faster processing times should be possible using current technology!

Proposed Method: Key Ideas Multi-resolution image decomposition using Haar wavelets. Image similarity is based on a metric that compares how many significant wavelet coefficients the query has in common with potential targets. Organize data efficiently to facilitate fast computation of the metric and speed-up search.

Why using wavelets? The use of wavelets allows the resolutions of the query and target images to be different. Wavelet decompositions are fast to compute and yield a small number of coefficients. The signature can be extracted from a wavelet- compressed version of the image directly.

Color space Experimented with RGB, HSV, and YIQ color spaces. Wavelet transform was applied on each color channel separately. YIQ gave the best performance (i.e., for their data).

Wavelet Type Haar wavelets are the fastest to compute and simplest to implement. Other types of wavelets might give better results but at a higher cost.

Decomposition Type Experimented both with standard and non-standard decompositions for all three color spaces. Standard decomposition worked best (i.e., both for scanned and painted queries). Basis functions are normalized so they become orthonormal to each other (see lecture slides on wavelets).

Coefficient Truncation Keep only the coefficients with largest magnitude. –Improves speed and reduces storage requirements. –Improves discriminatory power of metric. 128 x 128 image  = 16,384 wavelet coefficients for each color channel. –The 60 largest coefficients in each channel worked best for painted queries. –The 40 largest coefficients in each channel worked best for scanned queries.

Coefficient Truncation (cont’d) wavelet decomposition truncated coefficients

Coefficient Quantization The mere presence or absence of these coefficients appears to be more important than their precise magnitudes. –Improves speed and reduces storage requirements. –Improves discriminatory power of metric. Quantize coefficients into three levels: +1, 0 and -1 –Large positive coefficients are quantized to +1 –Large negative coefficients are quantized to -1

Components of the metric (cont’d) truncated coefficients truncated and quantized coefficients

Wavelet-based metric Q and T represent a single color channel of the wavelet decomposition of the query and target images. Let Q[0, 0] and T[0, 0] be the scaling function coefficients (i.e., average intensity of that channel). Let and represent the truncated, quantized wavelet coefficients of Q and T (i.e., -1,0,1). w i,j : weights (determined statistically; allow for tuning the metric) Metric:

Simplifying the metric (1) Replace with (as effective as the original metric, faster to compute) (1 if true; 0 otherwise)

Simplifying the metric (cont’d) (2) Group terms together into "buckets" so that only a smaller number of weights w i,j needs to be determined. i,j

Simplifying the metric (cont’d) The function bin(i, j) groups different coefficients into a small number of bins (i.e., 6 bins per color channel): bin(i, j) = min(max(i, j), 5) Each bin is weighted by some constant w[b] –Weights were determined using a statistical test

Simplifying the metric (cont’d) (3) Consider only the terms for which –Leads to even faster computations. –Allows for a query without much detail to match a very detailed target image. i,j

Simplifying the metric (cont’d) (4) Count the number of matching coefficients than the number of mismatching coefficients. –Use “search arrays” to implement this efficiently since the majority of database images will not match the query. (1 if true; 0 otherwise)

Simplifying the metric (cont’d)

The term does not depend on the target image and can be ignored: Final Metric:

Example

Search Arrays Use a set of six 2D arrays (i.e. search arrays) to organize the m coefficients from every target image T. There is an array for every combination of sign (+ or -) and color channel (Y, I, and Q): contains a list of all target images T having a large positive wavelet coefficient at [i,j] location, in color channel c. e.g.,

Search Arrays (cont’d) … T 1, T 9, T 22, … T 3, T 9, T 40, … … Compute a score for each target image found in T 1, T 22, T 98, …

Querying Using Search Arrays Steps (for each color channel c) (1)Compute the difference between the query’s average intensity Q c [0, 0] and those in the database. (2) For each of the m nonzero, truncated wavelet coefficients Q c [i, j], go through the list corresponding to D c + [i, j] or D c - [i, j] (i.e., depending on the sign of Q c [i, j]). (3) Update the score of each target image found in those lists.

Algorithm Preprocessing (1)Perform a standard 2D Haar wavelet decomposition of every image in the database. (2) Store T[0,0] for each color channel as well as the indices and signs of the m largest wavelet coefficients.

Algorithm (cont’d) Querying (1)Perform a standard 2D Haar wavelet decomposition on the query image. (2) Compute T[0,0] for each color channel as well as the indices and signs of the m largest wavelet coefficients (3) Compute the score of each target image using: (4) Return 20 highest-ranked target images

Examples Query examples using painted/scanned queries (ranks for database sizes: 1093 | 20,558)

Examples (cont’d) (ranks for database sizes: 1093 | 20,558) Interactive query examples using painted queries:

Success Rate L q : proposed metric Percentage of queries whose correct target was ranked among the top 1% of images in a database of 1093 images.

Time requirements L q : proposed metric Average times to match a single query in a database of 1093/20,558 images.

Extension V. Nikulin and G. Bebis, "Multiresolution Image Retrieval Through Fusion", SPIE Electronic Imaging (Storage and Retrieval Methods and Applications for Multimedia), San Jose, January 2004.