1 function psnrtab = quality_psnrhvsm( repref, rep, suffixe, deb, fin )
2 %UNTITLED3 Summary of this function goes here
3 % Detailed explanation goes here
5 psnrtab=zeros(fin-deb+1,1);
6 sfftab=zeros(fin-deb+1,1);
9 avant=strcat('I0', int2str(i));
11 avant=strcat('I', int2str(i));
14 reffile=strcat(repref,'/',avant, '.ppm');
15 candfile=strcat(rep,'/',avant, suffixe, '.ppm');
17 psnrtab(i) = psnrhvsm(imread(reffile), imread(candfile));