Hello there.. I want to detect a blurred frame in a video sequence.. can anybody help me out
2 次查看(过去 30 天)
显示 更早的评论
what are the functions I can use to detect a blurred frame in a video sequence?
0 个评论
回答(1 个)
Kevin Moerman
2014-5-27
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 个评论
Michael scheinfeild
2014-7-2
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')
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179522/image.jpeg)
>>
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!