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
- Host: GitHub
- URL: https://github.com/qengineering/blur-detection-with-fft-in-c
- Owner: Qengineering
- Created: 2020-07-02T09:40:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-07T11:42:34.000Z (almost 4 years ago)
- Last Synced: 2025-03-27T09:23:23.741Z (7 months ago)
- Topics: blur, blur-detection, cpp, fft, fourier-transform, opencv
- Language: C++
- Homepage: https://qengineering.eu/
- Size: 81.1 KB
- Stars: 36
- Watchers: 1
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blur-detection-with-FFT-in-C

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.
------------
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CPZTM5BB3FCYL)