Giter VIP home page Giter VIP logo

deblurring's Introduction

Nonblind Deblurring Real Image


1. Discription

This project deblurring real image(e.g. image with motion blur and out-of-focus blur) quickly with PSF.

1.1 Motion Deblur

For motion deblur, it uses Lucy-Richardson algorithm to estimate Point-Spread-Function(PSF). There are three main parameters to set: len(i.e. blur length), theta(i.e. blur angle) and IterNum(number of iteration times).

  • Result on real image

1.2 Out-of-focus Deblur

For out-of-focus deblur, it uses Wiener filter algorithm. There are three main parameters to set:radius(i.e. the radius of Point-Spread-Function(PSF)), smooth(smooth factor to control K) and dering('On' means do suppress ringing effect while other means do not.

  • Result on real image

2. Usage

  1. Add the directory to the matlab path;
  2. Run 'Demo_motion_blur.m' to perform motion deblur;
  3. Run 'Demo_out_of_focus_deblur.m' to perform out-of-focus deblur.

deblurring's People

Contributors

czla 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.