Giter Site home page Giter Site logo

camera_shake_package's Introduction

Correcting Camera Shake by Incremental Sparse Approximation

This package contains a MATLAB implementation of the method described in [1] and results from this method. The code was developed by modifying the L1/L2 blind deconvolution method [2] and employs the SPG solver minConf_SPG, available at [3].

(c) Paul Shearer, 2012. Permission to use, copy, and modify this code is given for academic research purposes only. Commercial use without permission is prohibited.

Startup Notes

  • To add the package's subfolders to your path, use the startup_cam script.
  • To avoid clashes between this package's functions and existing functions on your MATLAB path, it may be helpful to remove your working directory from the path before starting.

Key Scripts

  • ./test_blind_deconv: deconvolves an image provided as a matlab array or as a file (e.g. mukta.jpg), or an image from the Levin test set.
  • ./decon_levin_testset: reproduces the results of [1] on Levin et al's test set of 32 test images.
  • ./show_levin_results: shows the MSE results of our run on Levin's data
  • ./benchmark_results_slideshow: slideshow comparing the three methods in the paper on all 32 test images from the Levin set.

Code flow for test_blind_deconv

[kernel estimation]
>> ms_blind_deconv
   >> ss_blind_deconv
     - update x using projected gradients
     - update k using minConf_SPG
   - upsample PSF and image and repeat ss_blind_deconv
[nonblind deconvolution with estimated kernel]

Data (in ./data):

im*ker* : Levin's test set (4 images, 8 kernels)
isep*   : results on Levin test set, our algorithm
diagfe* : results on Levin test set, Levin et al's marginalization algorithm
babacan_results.mat : results on Levin test set, Babacan et al's variational Bayes algorithm 

References

[1] Paul Shearer, Anna C. Gilbert, Alfred O. Hero III. Correcting Camera Shake by Incremental Sparse Approximation. [arXiv link, 2013]

[2] D. Krishnan, T. Tay, and R. Fergus, “Blind deconvolution using a normalized sparsity measure,” in IEEE Conference on Computer Vision and Pattern Recognition, 2011, pp. 233–240.

[3] Mark Schmidt, http://www.di.ens.fr/~mschmidt/Software/minConf.html

camera_shake_package's People

Contributors

shearerpmm avatar

Watchers

刘国友 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.