Skip to content

Tensorflow V2 implementation of Deep Mean-Shift Prior for image restoration

Notifications You must be signed in to change notification settings

siavashBigdeli/DMSP-TF2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TensorFlow V2 implementation (See DMSP-tensorflow page for V1 implementation, and DMSP page for Caffe and MatCovNet implementations). This repo. includes more general restoration formulation with sub-sampling (used in e.g. super-resolution)

Deep Mean-Shift Priors for Image Restoration (project page)

Siavash Arjomand Bigdeli, Meiguang Jin, Paolo Favaro, Matthias Zwicker

Advances in Neural Information Processing Systems (NIPS), 2017

Abstract:

In this paper we introduce a natural image prior that directly represents a Gaussian-smoothed version of the natural image distribution. We include our prior in a formulation of image restoration as a Bayes estimator that also allows us to solve noise-blind image restoration problems. We show that the gradient of our prior corresponds to the mean-shift vector on the natural image distribution. In addition, we learn the mean-shift vector field using denoising autoencoders, and use it in a gradient descent approach to perform Bayes risk minimization. We demonstrate competitive results for noise-blind deblurring, super-resolution, and demosaicing.

Drawing

See manuscript for details of the method.

This code runs in Python and you need to install TensorFlow.

Contents:

demo_DMSP.ipynb: Includes an example jupyter notebook for non-blind and noise-blind image restoration.

DMSPRestore.py: Implements MAP function for non-blind image restoration. Use Python's help function to learn about the input and output arguments.

evaluation.ipynb: Includes a jupyter notebook for running evaluations for image super-resolution (see below)

DAE/: Includes DAE model (tf.saved_model).

data: Includes sample image(s).

Generic restoration results including blur, noise, and downsampling

The benchmark for this is from https://github.com/zsyOAOA/VDNet: Average PSNR/SSIM results of comparing methods under different combinations of scale factors, blur kernels and noise levels on Set14. The best results are highlighted in bold. The results highlighted in gray color indicate unfair comparison due to mismatched degraded assumptions. Code for reproducing results can be found in evaluation.ipynb.

Drawing

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

About

Tensorflow V2 implementation of Deep Mean-Shift Prior for image restoration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published