Skip to content

michal2229/dft-wiener-deconvolution-with-psf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Original file is from OpenCV samples.

About

This code performs Wiener deconvolution in order to inverse the impact of image focus blur or motion blur. In order to do that OpenCV and NumPy is used.

Changes in this repository enabled:

  • processing of color images (treated as three independent channels, finally merged into one RGB image) instead of only monochromatic
  • using custom PSF loaded from image file (specified in command line)

Examples

Focus blur reduction:

example 1: focus blur

Motion blur reduction:

example 2: motion blur

Example custom kernel obtained from a photo containing motion trail of small, bright object:

example 3: custom kernel

About

Python2 (OpenCV, NumPy) application to refocus blurred images using Wiener deconvolution.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages