1 %build matrix for ensemble
4 dir_canny='/home/couturie/BossBase-1.0-canny/';
5 dir_cover='/localhome/couturie/ensemble/BossBase-1.0-cover/';
7 b=strcat(dir_canny,'*.pgm')
14 for i = 1:size(files, 1)
16 img=imread(strcat(dir_canny,files(i).name));
17 scores=[scores;aump(img,16,5)];
18 label=[label;'stego'];
23 for i = 1:size(files, 1)
24 if l>=threshold & l<2*threshold
25 img=imread(strcat(dir_cover,files(i).name));
26 scores=[scores;aump(img,16,5)];
27 label=[label;'cover'];
31 [X,Y,T,AUC] = perfcurve(label,scores,'stego');
38 for i = 1:size(files, 1)
41 img=imread(strcat(dir_canny,files(i).name));
59 for i = 1:size(files, 1)
62 img=imread(strcat(dir_cover,files(i).name));