Hello there.. I want to detect a blurred frame in a video sequence.. can anybody help me out

1 vue (au cours des 30 derniers jours)
what are the functions I can use to detect a blurred frame in a video sequence?

Réponses (1)

Kevin Moerman
Kevin Moerman le 27 Mai 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 commentaires
Michael scheinfeild
Michael scheinfeild le 2 Juil 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')
<<
>>

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by