Posterior Sampling for Image Restoration using Explicit Patch Priors

Roy Friedman, Yair Weiss
4/20/2021
cs.CV

Official code: friedmanroy/torchEPLL (7 stars, Python, MIT, PyTorch, last commit 2023-10-05).

Abstract

Almost all existing methods for image restoration are based on optimizing the mean squared error (MSE), even though it is known that the best estimate in terms of MSE may yield a highly atypical image due to the fact that there are many plausible restorations for a given noisy image. In this paper, we show how to combine explicit priors on patches of natural images in order to sample from the posterior probability of a full image given a degraded image.

Show full abstract

We prove that our algorithm generates correct samples from the distribution $p(x|y) \propto \exp(-E(x|y))$ where $E(x|y)$ is the cost function minimized in previous patch-based approaches that compute a single restoration. Unlike previous approaches that computed a single restoration using MAP or MMSE, our method makes explicit the uncertainty in the restored images and guarantees that all patches in the restored images will be typical given the patch prior. Unlike previous approaches that used implicit priors on fixed-size images, our approach can be used with images of any size. Our experimental results show that posterior sampling using patch priors yields images of high perceptual quality and high PSNR on a range of challenging image restoration problems.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

EPLL implementation using pytorch

70PythonFeb 16, 20223 years agoMIT
denoisingdenoising-imagesepllimage-patchesimage-processing+4 more

Similar Papers

Cite this paper

@article{friedman2021posterior,
  title  = {Posterior Sampling for Image Restoration using Explicit Patch Priors},
  author = {Roy Friedman and Yair Weiss},
  year   = {2021},
  eprint = {2104.09895},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.09895}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.09895.svg)](https://codeofpaper.com/paper/2104.09895)

Discussion