An open API service indexing awesome lists of open source software.

https://github.com/qengineering/blur-detection-with-fft-in-c

A blur detection with FFT written in C
https://github.com/qengineering/blur-detection-with-fft-in-c

blur blur-detection cpp fft fourier-transform opencv

Last synced: 7 months ago
JSON representation

A blur detection with FFT written in C

Awesome Lists containing this project

README

          

# Blur-detection-with-FFT-in-C
![output image]( https://qengineering.eu/images/LenaBlur.png )


This is a C++ implementation of the blur detection written in Python.

https://github.com/whdcumt/BlurDetection.


Paper: http://www.cse.cuhk.edu.hk/leojia/all_final_papers/blur_detect_cvpr08.pdf


As known, blur is the lack of detailed features in an image. Detailed features have the most energy in the high-frequency Fourier spectrum. As to blurry regions (clouds, for instance), which have energy levels in low frequencies. This fact lets the blur detecting work. After removing the low frequencies, the energy of the remaining high part is measured. The higher output, the sharper the image must be. Please note, you should have OpenCV installed.

------------

[![paypal](https://qengineering.eu/images/TipJarSmall4.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CPZTM5BB3FCYL)