Fast exact nearest patch matching for patch-based image editing and processing
Related Experiment Video
Updated: Jun 1, 2026

A Nonsequencing Approach for the Rapid Detection of RNA Editing
Published on: April 21, 2022
Chunxia Xiao1, Meng Liu, Yongwei Nie
1Computer School, Wuhan University, Wuhan, Hubei, China. 430072. cxxiao@whu.edu.cn
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.
Related Concept Videos
Long-patch Base Excision Repair
Fast Fourier Transform
The computational efficiency of the FFT becomes...
Patch Clamp
In this method, a glass micropipette containing electrolyte solution is tightly sealed against a small portion of the cell membrane. As a result, a patch of the cell...
