## A Square-Root Sampling Approach to Fast Histogram-Based Search

##### Huang-Wei ChangHwann-Tzong Chen

Abstract
We present an efficient pixel-sampling technique for histogram-based search. Given a template image as a query, a typical histogram-based algorithm aims to find the location of the target in another large test image, by evaluating a similarity measure for comparing the feature histogram of the template with that of each possible subwindow in the test image. The computational cost would be high if each subwindow needs to compute its histogram and evaluate the similarity measure. In this paper, we adopt the probability-product kernels as the similarity measures, and show that the computation of histograms and the evaluation of the kernel-based similarities can be integrated through a sampling approach. Specifically, we present a square-root sampling method to avoid the computation of histograms, and meanwhile, reduce the number of pixels required for evaluating the similarity measure. The proposed approximation algorithm is time- and memory-efficient. The time complexity of computing the similarity for each subwindow is \$O(1)\$. The memory requirement of our algorithm is not in proportion to the size of the template or the number of histogram bins, which allows the use of more distinctive image representations for better search accuracy.
Paper
Huang-Wei Chang, Hwann-Tzong Chen: A Square-Root Sampling Approach to Fast Histogram-Based Search. CVPR 2010.
Code
Download

Last updated: 05 May 2010
{"ft_lang_label":"__label__en","ft_lang_prob":0.87588084,"math_prob":0.842849,"size":1356,"snap":"2021-04-2021-17","text_gpt3_token_len":246,"char_repetition_ratio":0.13683432,"word_repetition_ratio":0.0,"special_character_ratio":0.179941,"punctuation_ratio":0.073913045,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9594005,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-04-23T13:15:12Z\",\"WARC-Record-ID\":\"<urn:uuid:61067c86-b11e-4852-80c0-8b2a598fac8e>\",\"Content-Length\":\"2877\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1bceedb4-5c04-40d7-b8d9-f8a60a3b048d>\",\"WARC-Concurrent-To\":\"<urn:uuid:48d7d164-0af5-45be-a5c4-c060b86516b8>\",\"WARC-IP-Address\":\"185.199.111.153\",\"WARC-Target-URI\":\"https://htchen.github.io/srs/\",\"WARC-Payload-Digest\":\"sha1:OW55C75INIK727ZKFP2UMYNATLRFO3SW\",\"WARC-Block-Digest\":\"sha1:VQUX3UQIDDAB4NDU737U4KW6B2IXT6SR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-17/CC-MAIN-2021-17_segments_1618039594808.94_warc_CC-MAIN-20210423131042-20210423161042-00189.warc.gz\"}"}