title: Fast exact nearest patch matching for patch-based image editing and processing.
abstract: This paper presents an efficient exact nearest patch matching algorithm which can accurately find the most similar patch-pairs between source and target image. Traditional match matching algorithms treat each pixel/patch as an independent sample and build a hierarchical data structure, such as kd-tree, to accelerate nearest patch finding. However, most of these approaches can only find approximate nearest patch and do not explore the sequential overlap between patches. Hence, they are neither accurate in quality nor optimal in speed. By eliminating redundant similarity computation of sequential overlap between patches, our method finds the exact nearest patch in brute-force style but reduces its running time complexity to be linear on the patch size. Furthermore, relying on recent multicore graphics hardware, our method can be further accelerated by at least an order of magnitude (≥10×). This greatly improves performance and ensures that our method can be efficiently applied in an interactive editing framework for moderate-sized image even video. To our knowledge, this approach is the fastest exact nearest patch matching method for high-dimensional patch and also its extra memory requirement is minimal. Comparisons with the popular nearest patch matching methods in the experimental results demonstrate the merits of our algorithm.
authors.affiliation: Computer School, Wuhan University, Wuhan, Hubei, China. 430072. cxxiao@whu.edu.cn
authors.forename: Chunxia
authors.initials: C
authors.lastname: Xiao
authors.forename: Meng
authors.initials: M
authors.lastname: Liu
authors.forename: Yongwei
authors.initials: Y
authors.lastname: Nie
authors.forename: Zhao
authors.initials: Z
authors.lastname: Dong