Code covered by the BSD License  

Highlights from
GUI for denoising video signals with Kalman filter

image thumbnail

GUI for denoising video signals with Kalman filter

by

 

filter grayscale video signals(avi || Webcam) with 1st Order Estimation & Kalman filter .

HH=eval_PSNR(noisyvid, filteredvid)
function HH=eval_PSNR(noisyvid, filteredvid)

% Evaluate the PSNR over all frames 
% july, 07, 2012
% KHMOU Youssef

n=size(noisyvid,3);
HH=double(zeros(n,1));
for i=1:n
    
    HH(i)=PSNR(squeeze(noisyvid(:,:,i)), squeeze(filteredvid(:,:,i)));
end
%index=find(isnan(HH));
HH(isnan(HH))=[];
HH(isinf(HH))=[];
%figure,
%plot(HH,'r'),
%xlabel(' Number of frames ');
%ylabel(' Denoising amplitude in Decibels');
%title (' PSNR of all frames of noisy and filtered sequences ')

%y=max(HH);
%x=size(filteredvid,3)/2;
%text(x,y,strcat('Mean_psnr=',int2str(mean(HH))),'FontSize',18);

Contact us