apTRBF{i} = apTotRBF;
clfsTRBF{i} = clfsOutRBF;
accRBF{i} = accuracyRBF;
ccRBF{i} = confusionRBF;
end
meanTotal = zeros(1,25);
for i=1:25
meanTotal(i) = mean(accRBF{i});
end
mean(meanTotal)
savePath = sprintf('%ssave_HOF_baseline_4_pyr.mat',path);
save(savePath,'accRBF','ccRBF','apTRBF','clfsTRBF')
Friday, June 21, 2013
Monday, June 17, 2013
test
image1 = image(1:80,1:100,:);
image2 = image(1:80,100:200,:);
image3 = image(1:80,200:300,:);
image4 = image(1:80,300:400,:);
image5 = image(80:160,1:100,:);
image6 = image(80:160,100:200,:);
image7 = image(80:160,200:300,:);
image8 = image(80:160,300:400,:);
image9 = image(160:240,1:100,:);
image10 = image(160:240,100:200,:);
image11 = image(160:240,200:300,:);
image12 = image(160:240,300:400,:);
image13 = image(240:320,1:100,:);
image14 = image(240:320,100:200,:);
image15 = image(240:320,200:300,:);
image16 = image(240:320,300:400,:);
%320x400
descriptorsCN1 = extractColorNamingHist(image1,y,w2c)';
descriptorsCN2 = extractColorNamingHist(image2,y,w2c)';
descriptorsCN3 = extractColorNamingHist(image3,y,w2c)';
descriptorsCN4 = extractColorNamingHist(image4,y,w2c)';
descriptorsCN5 = extractColorNamingHist(image5,y,w2c)';
descriptorsCN6 = extractColorNamingHist(image6,y,w2c)';
descriptorsCN7 = extractColorNamingHist(image7,y,w2c)';
descriptorsCN8 = extractColorNamingHist(image8,y,w2c)';
descriptorsCN9 = extractColorNamingHist(image9,y,w2c)';
descriptorsCN10 = extractColorNamingHist(image10,y,w2c)';
descriptorsCN11 = extractColorNamingHist(image11,y,w2c)';
descriptorsCN12 = extractColorNamingHist(image12,y,w2c)';
descriptorsCN13 = extractColorNamingHist(image13,y,w2c)';
descriptorsCN14 = extractColorNamingHist(image14,y,w2c)';
descriptorsCN15 = extractColorNamingHist(image15,y,w2c)';
descriptorsCN16 = extractColorNamingHist(image16,y,w2c)';
descriptorsCN = [descriptorsCN1 descriptorsCN2 descriptorsCN3 descriptorsCN4 descriptorsCN5 descriptorsCN6 descriptorsCN7 descriptorsCN8 descriptorsCN9 descriptorsCN10 descriptorsCN11 descriptorsCN12 descriptorsCN13 descriptorsCN14 descriptorsCN15 descriptorsCN16];
descriptorsAllCN(j,:) = descriptorsCN;
Subscribe to:
Posts (Atom)