English

Tight Approximation of Image Matching

Data Structures and Algorithms 2011-11-09 v1

Abstract

In this work we consider the {\em image matching} problem for two grayscale n×nn \times n images, M1M_1 and M2M_2 (where pixel values range from 0 to 1). Our goal is to find an affine transformation TT that maps pixels from M1M_1 to pixels in M2M_2 so that the differences over pixels pp between M1(p)M_1(p) and M2(T(p))M_2(T(p)) is minimized. Our focus here is on sublinear algorithms that give an approximate result for this problem, that is, we wish to perform this task while querying as few pixels from both images as possible, and give a transformation that comes close to minimizing the difference. We give an algorithm for the image matching problem that returns a transformation TT which minimizes the sum of differences (normalized by n2n^2) up to an additive error of ϵ\epsilon and performs O~(n/ϵ2)\tilde{O}(n/\epsilon^2) queries. We give a corresponding lower bound of Ω(n)\Omega(n) queries showing that this is the best possible result in the general case (with respect to nn and up to low order terms). In addition, we give a significantly better algorithm for a natural family of images, namely, smooth images. We consider an image smooth when the total difference between neighboring pixels is O(n). For such images we provide an approximation of the distance between the images to within an additive error of ϵ\epsilon using a number of queries depending polynomially on 1/ϵ1/\epsilon and not on nn. To do this we first consider the image matching problem for 2 and 3-dimensional {\em binary} images, and then reduce the grayscale image matching problem to the 3-dimensional binary case.

Keywords

Cite

@article{arxiv.1111.1713,
  title  = {Tight Approximation of Image Matching},
  author = {Simon Korman and Daniel Reichman and Gilad Tsur},
  journal= {arXiv preprint arXiv:1111.1713},
  year   = {2011}
}
R2 v1 2026-06-21T19:32:17.331Z