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.
-
Notifications
You must be signed in to change notification settings - Fork 12
A blur detection with FFT written in C
Qengineering/Blur-detection-with-FFT-in-C
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A blur detection with FFT written in C
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published