Patch Matching and Photometric Similarity

Compare pixel residuals over a window and separate a unique geometric match from repeated texture or lighting variation.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. The metric states which differences are considered small
  2. A best score can still have several plausible neighbors

The metric states which differences are considered small

Sum of squared differences compares aligned patch values directly. If two corresponding patches differ by a constant brightness offset, it can report a large error even when their structure agrees. Centering patches subtracts their means, and normalized correlation also rescales nonconstant patches. A constant patch needs separate handling because its variance is zero.

A best score can still have several plausible neighbors

Repeated stripes can yield several sharp local matches. A unique displacement requires enough texture or geometric restrictions. Larger windows can disambiguate some patterns while crossing a boundary where the motion differs. Corner detection selects patches with informative local gradients. RANSAC uses agreement among several correspondences to fit a common model when some individual matches are wrong.[1][2]

References

  1. Richard Szeliski, Computer Vision: Algorithms and Applications ↩
  2. Matt Pharr, Wenzel Jakob and Greg Humphreys, Physically Based Rendering ↩