Code Monkey home page Code Monkey logo

sparsecodingsuperresolution's Introduction

*****************************************************************
* Demo Codes For Image Super-resolution via Sparse *Representation          
*****************************************************************

Reference

J. Yang et al. Image super-resolution as sparse representation of raw image patches. CVPR 2008.

J. Yang et al. Image super-resolution via sparse representation. IEEE Transactions on Image Processing, Vol 19, Issue 11, pp2861-2873, 2010

For any problems, send email to [email protected]

================================================================
Demo_SR.m: demo code for image super-resolution via sparse recovery 

1. The demo code is for upscaling factor of 2. For larger magnification factors, run the function "ScSR.m" multiple times. Note the code is a little different from what presented in the TIP10 paper. Please find the previous codes and results in folder "Previous".

2. Two pre-trained dictionaries are provided in directory "Dictionary". The dictionaries are for zoom factor of 2. You can train your own dictionary based on function "Demo_Dictionary_Training.m" talked below.

================================================================
Demo_Dictionary_Training.m: demo code for training the dictionary

1. If you want to train your own dictionary, replace the training images in subfolder "Data/Training" by yours.

2. You need to inspect the statistics of your sampled patches to prune those smooth patches.

sparsecodingsuperresolution's People

Contributors

tingfengainiaini avatar

Watchers

James Cloos avatar 刘国友 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.