Hello there.. I want to detect a blurred frame in a video sequence.. can anybody help me out
3 views (last 30 days)
Show older comments
what are the functions I can use to detect a blurred frame in a video sequence?
0 Comments
Answers (1)
Kevin Moerman
on 27 May 2014
A blurred image is equivalent to an image that is convolved with for instance a Gaussian kernel. This means that low frequencies have become favoured over high frequencies. A relatively blurred image would have suppressed high frequencies with respect to an image that you view as not blurred. Hence what you could do is study the typical high frequency content in normal images (e.g. Fourier transform based) and see if you can detect the blurred images that way (since they would lack some of the high frequencies). So take the frame by frame Fourier transform and study the alteration of high frequencies as a function of time.
Good luck!
2 Comments
Michael scheinfeild
on 2 Jul 2014
you can do histogram of the image fft and test the frequencies
% cdata is img
fa = abs(fftshift(fft(cdata)));
f1=20*log10(0.001+fa);
figure,hist(f1(:),100);title('org')
<<
>>
See Also
Categories
Find more on C4ISR in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!