Skip to content

Qengineering/Blur-detection-with-FFT-in-C

Repository files navigation

Blur-detection-with-FFT-in-C

output image

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

Releases

No releases published

Packages

No packages published

Languages