All Projects → michal2229 → dft-wiener-deconvolution-with-psf

michal2229 / dft-wiener-deconvolution-with-psf

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

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to dft-wiener-deconvolution-with-psf

SIUN
Sharp Image Deblurring
Stars: ✭ 123 (+173.33%)
Mutual labels:  motion-blur
DeFMO
[CVPR 2021] DeFMO: Deblurring and Shape Recovery of Fast Moving Objects
Stars: ✭ 144 (+220%)
Mutual labels:  motion-blur
Adria-DX12
Graphics engine written in C++/DirectX12
Stars: ✭ 18 (-60%)
Mutual labels:  motion-blur
caffe-mt
This is a fork of caffe added some useful layers, the original caffe site is https://github.com/BVLC/caffe.
Stars: ✭ 33 (-26.67%)
Mutual labels:  motion-blur
GITechDemo
Global illumination technical demo - a continuation of the Synesthesia3D (ex-LibRenderer) graphics engine used in https://github.com/iftodebogdan/ShaderEditor
Stars: ✭ 45 (+0%)
Mutual labels:  motion-blur
Image-Processing-Library
Library for processing and manipulating images.
Stars: ✭ 36 (-20%)
Mutual labels:  motion-blur

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].