TY - JOUR
T1 - The patchmatch randomized matching algorithm for image manipulation
AU - Barnes, Connelly
AU - Goldman, Dan B.
AU - Shechtman, Eli
AU - Finkelstein, Adam
PY - 2011/11
Y1 - 2011/11
N2 - This paper presents a new randomized algorithm for quickly finding approximate nearest neighbor matches between image patches. Our algorithm offers substantial performance improvements over the previous state of the art (20-100×), enabling its use in new interactive image editing tools, computer vision, and video applications. Previously, the cost of computing such matches for an entire image had eluded efforts to provide interactive performance. The key insight driving our algorithm is that the elements of our search domain-patches of image pixels-are correlated, and thus the search strategy takes advantage of these statistics. Our algorithm uses two principles: first, that good patch matches can be found via random sampling, and second, that natural coherence in the imagery allows us to propagate such matches quickly to surrounding areas. Our simple algorithm allows finding a single nearest neighbor match across translations only, whereas our general algorithm additionally allows matching of k-nearest neighbors, across all rotations and scales, and matching arbitrary descriptors. This one simple algorithm forms the basis for a variety of applications including image retargeting, completion, reshuffling, object detection, digital forgery detection, and video summarization.
AB - This paper presents a new randomized algorithm for quickly finding approximate nearest neighbor matches between image patches. Our algorithm offers substantial performance improvements over the previous state of the art (20-100×), enabling its use in new interactive image editing tools, computer vision, and video applications. Previously, the cost of computing such matches for an entire image had eluded efforts to provide interactive performance. The key insight driving our algorithm is that the elements of our search domain-patches of image pixels-are correlated, and thus the search strategy takes advantage of these statistics. Our algorithm uses two principles: first, that good patch matches can be found via random sampling, and second, that natural coherence in the imagery allows us to propagate such matches quickly to surrounding areas. Our simple algorithm allows finding a single nearest neighbor match across translations only, whereas our general algorithm additionally allows matching of k-nearest neighbors, across all rotations and scales, and matching arbitrary descriptors. This one simple algorithm forms the basis for a variety of applications including image retargeting, completion, reshuffling, object detection, digital forgery detection, and video summarization.
UR - http://www.scopus.com/inward/record.url?scp=80155195720&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=80155195720&partnerID=8YFLogxK
U2 - 10.1145/2018396.2018421
DO - 10.1145/2018396.2018421
M3 - Article
AN - SCOPUS:80155195720
SN - 0001-0782
VL - 54
SP - 103
EP - 110
JO - Communications of the ACM
JF - Communications of the ACM
IS - 11
ER -