0001 load _param/_wbc;
0002 P = initParam('wbc');
0003
0004
0005 fid = fopen('_sample/WBC_FP_PROBLEMS.txt');
0006 C = textscan(fid,'%u %s');
0007 headers = {'id','type'};
0008 S = cell2struct(C,headers,2);
0009 fpInd = S.id(char(S.type)=='U');
0010 FP = wbc.experiment.FP(fpInd,:);
0011
0012
0013 fid = fopen('_sample/WBC_FN_PROBLEMS.txt');
0014 C = textscan(fid,'%u %s');
0015 headers = {'id','type'};
0016 S = cell2struct(C,headers,2);
0017 fnInd = S.id(char(S.type)=='U');
0018 FN = wbc.experiment.FN(fnInd,:);
0019
0020
0021
0022
0023 for seq = 1: length(wbc.experiment.sequence)
0024
0025 for s = 1: size(P.IFOLDERS(seq).Ra,1)
0026
0027 frStart = P.IFOLDERS(seq).Ra(s,1);
0028 frEnd = P.IFOLDERS(seq).Ra(s,2);
0029 for fr = frStart: frEnd
0030
0031 fn = FN(FN(:,1)==seq & FN(:,2)==fr,:);
0032 plotfigure(P.IFOLDERS(seq).Name,fr,'.mn.png', fn , 'FN_U','y');
0033
0034 fp = FP(FP(:,1)==seq & FP(:,2)==fr,:);
0035 plotfigure(P.IFOLDERS(seq).Name,fr,'.mn.png', fp , 'FP_U','r');
0036
0037 end
0038 end
0039 end