MATLAB Answers

0

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

Asked by RajaSekhar on 27 May 2014
Latest activity Commented on by Michael scheinfeild on 2 Jul 2014
what are the functions I can use to detect a blurred frame in a video sequence?

  0 Comments

Sign in to comment.

1 Answer

Answer by 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

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')
<<
>>

Sign in to comment.