1 function [ psnrtab, sfftab ] = quality_RGB( repref, rep, suffixe, deb, fin, W )
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) = PSNRCal(reffile, candfile) ;
18 sfftab(i) = SFF(im2double(imread(reffile)), im2double(imread(candfile)), W);