function [ psnrtab, sfftab ] = quality_RGB( repref, rep, suffixe, deb, fin, W ) %UNTITLED3 Summary of this function goes here % Detailed explanation goes here psnrtab=zeros(fin-deb+1,1); sfftab=zeros(fin-deb+1,1); for i=deb:fin if i<10 avant=strcat('I0', int2str(i)); else avant=strcat('I', int2str(i)); end reffile=strcat(repref,'/',avant, '.ppm'); candfile=strcat(rep,'/',avant, suffixe, '.ppm'); psnrtab(i) = PSNRCal(reffile, candfile) ; sfftab(i) = SFF(im2double(imread(reffile)), im2double(imread(candfile)), W); end end