Fast Multiresolution Image Querying: CS474/674 - Prof. Bebis
Fast Multiresolution Image Querying: CS474/674 - Prof. Bebis
Paper
Jacobs, A. Finkelstein, and D. Salesin, Fast multiresolution image quering, Proceedings of SIGGRAPH, pp. 277-286, 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 reported.
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.
painted low resolution target
Q: query T: target
Experiments (i.e., this paper) 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.
User Interface
Returns 20 highestranked targets at interactive rates!. Can process a 128 x 128 image query on a database of 20,000 images in under 0.5 seconds*.
*Faster
Wavelet-based metric
Suppose Q and T represent a single 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). [i, j ] and T [i, j ] represent the truncated, quantized Let Q wavelet coefficients of Q and T (i.e., -1,0,1).
[i, j ] T [i, j ]) (Q
with
[i, j ] T [i, j ]) (Q
i,j
Even faster computation. Allows for a query without much detail to match a very detailed target image.
i,j
Example
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 and the indices and signs of the m wavelet coefficients of largest magnitude. (3) Organize the indices for all the images into a single data structure to optimize searching.
Algorithm (contd)
Querying
(1) Perform the same wavelet decomposition on the query image. (2) Throw away all but the average color and the largest m coefficients. (3) Compute the score of each target image using the above equation.
c D [i, j ] contains a list of all images T having a large positive wavelet coefficient T[i, j] in color channel c.
Weights wij
The function bin(i, j) groups different coefficients into a small number of bins (i.e., 6 bins per color channel):
Examples
Query examples using painted/scanned queries
Examples (contd)
Interactive query examples using painted queries:
Some Results
Success rate:
Lq : proposed metric Percentage of queries whose correct target was ranked among the top 1% of images in a database of 1093 images.
Lq : 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.