Every digital photo carries noise — tiny random fluctuations in brightness added by the camera sensor. The classic remedy is to blur: average a pixel with its immediate neighbors and the random spikes cancel out. The trouble is that edges and fine textures blur right along with the noise.
Non-local means (NLM), introduced by Antoni Buades, Bartomeu Coll, and Jean-Michel Morel in 2005, flips the logic. Instead of asking "who are my neighbors?", each pixel asks "which other pixels in the whole image look like me?" It then averages their values, weighted by how closely their surrounding patches match.
The key insight is that natural images are full of repeated texture: a patch of sky here, a patch of sky there; a brick here, the same brick three meters left. Noise is random, so it differs across repetitions. The true signal is consistent, so it survives the average. Blur smears across space; non-local means smears across similarity — and that makes all the difference.
Comments
Loading comments...