0001 function [TPR PPV] = WBCexperiment_3()
0002
0003 tic;
0004 P = initParam('wbc');
0005
0006 wbc.experiment(1).name = 'AdaBoost Base line';
0007 mapper = BCMapper(P.IFOLDERS);
0008
0009 for seq = 1: length(P.IFOLDERS)
0010 fprintf('\nAnalyzing at sequence %s', P.IFOLDERS(seq).Name);
0011 for exp = 1: length(wbc.experiment)
0012 wbc.experiment(exp).sequence(seq).name = P.IFOLDERS(seq).Name;
0013 wbc.experiment(exp).sequence(seq).frames = [];
0014 end
0015 for subSeq = 1: size(P.IFOLDERS(seq).Ra,1)
0016 frStart = P.IFOLDERS(seq).Ra(subSeq,1);
0017 frEnd = P.IFOLDERS(seq).Ra(subSeq,2);
0018 for fr = frStart: frEnd
0019 bwAdb = mapper.read(seq,'DT',fr);
0020 cells = labelcell(bwAdb , fr, P.THR_SIZE);
0021 wbc.experiment(end).sequence(seq).frames = [wbc.experiment(end).sequence(seq).frames; cells];
0022 end
0023 end
0024
0025
0026
0027
0028
0029
0030
0031
0032 end
0033
0034
0035
0036
0037 load _param/_report
0038 [TPR PPV] = WBCanalysis_3(wbc,SS);
0039