Run the experiment of tracking including evaluation process List all the datafolder and frame sequences. Run tracking of all 3 methods: Eden's JScore, Kalman with single hypothesis, and Rich with Multiple Hypotheses. Evaluate all 3 methods INPUT None nessessary OUTPUT SS - a structure array that contain all output info. one element structure S for each dataset S - (from above) a structure contains: Name: name of the dataset GT - the GT information of that dataset Eden - the Eden Jscore method structure Kalman - the Single Hypothesis method Rich - the Multiple Hypotheses method GT, Eden, Kalman, and Rich contains the same structure Rich - a structure element contains: Dataset - name of the dataset TPR - True Positive Rate (Detection) PPV - Precision (Detection) FDR - False Discovery Rate (Detection) TP - number of True Positives / frame FP - number of False Positives / frame FN - number of False Negatives / frame RSMEx - RMSE array tracks - tracks array IDs - All IDs of tracked cells nTR - number of tracked cells nFR - number of frames RMSE - Root Means Square Error PTP - Percentage of Tracked Positions TL - Track length VD - Velocity Distribution CC - structure for Colliding Cells NC - structure for Non-colliding Cells SEE ALSO WBCperformance3, TrackingJE, WBCtracker3_multi EXAMPLE SS = WBCexperiment2(); Written by Rich Nguyen (rich.uncc@gmail.com) Version 2.0, Nov 2009
0001 function SS = WBCexperiment2() 0002 %Run the experiment of tracking including evaluation process 0003 % 0004 %List all the datafolder and frame sequences. 0005 %Run tracking of all 3 methods: Eden's JScore, Kalman with single 0006 %hypothesis, and Rich with Multiple Hypotheses. 0007 %Evaluate all 3 methods 0008 % 0009 %INPUT 0010 % None nessessary 0011 % 0012 %OUTPUT 0013 % SS - a structure array that contain all output info. 0014 % one element structure S for each dataset 0015 % S - (from above) a structure contains: 0016 % Name: name of the dataset 0017 % GT - the GT information of that dataset 0018 % Eden - the Eden Jscore method structure 0019 % Kalman - the Single Hypothesis method 0020 % Rich - the Multiple Hypotheses method 0021 % GT, Eden, Kalman, and Rich contains the same structure 0022 % Rich - a structure element contains: 0023 % Dataset - name of the dataset 0024 % TPR - True Positive Rate (Detection) 0025 % PPV - Precision (Detection) 0026 % FDR - False Discovery Rate (Detection) 0027 % TP - number of True Positives / frame 0028 % FP - number of False Positives / frame 0029 % FN - number of False Negatives / frame 0030 % RSMEx - RMSE array 0031 % tracks - tracks array 0032 % IDs - All IDs of tracked cells 0033 % nTR - number of tracked cells 0034 % nFR - number of frames 0035 % RMSE - Root Means Square Error 0036 % PTP - Percentage of Tracked Positions 0037 % TL - Track length 0038 % VD - Velocity Distribution 0039 % CC - structure for Colliding Cells 0040 % NC - structure for Non-colliding Cells 0041 % 0042 %SEE ALSO WBCperformance3, TrackingJE, WBCtracker3_multi 0043 % 0044 %EXAMPLE 0045 % SS = WBCexperiment2(); 0046 % 0047 %Written by Rich Nguyen (rich.uncc@gmail.com) 0048 %Version 2.0, Nov 2009 0049 0050 iFolders = struct('Name',{... 0051 'clpsaline1bl#3',... 0052 'clpsaline1bl#1',... 0053 'clpsaline1bl#4',... 0054 'rhod74-10-',... 0055 'clpapc1min10#3',... 0056 'clpsaline2bl#3',... 0057 'F2',... 0058 'F3'},... 0059 'Ra',{... 0060 [15 25;35 45;60 70],... 0061 [2 12; 35 45; 50 60; 80 98],... 0062 [10 20; 60 80; 115 135;140 160; 175 210;230 245; 265 275],... 0063 [2 22;50 85; 140 160],... 0064 [50 70; 102 115; 137 146],... 0065 [6 27; 98 118],... 0066 [1 60],... 0067 [1 60]}); 0068 0069 0070 % Run tracking 0071 for fo = 1: length(iFolders) 0072 disp(['TRACKING...', iFolders(fo).Name]); 0073 disp('--------------------------------------------------------------'); 0074 TrackingJE(iFolders(fo).Name,iFolders(fo).Ra); 0075 WBCtracker3_multi(iFolders(fo).Name,'K',1,iFolders(fo).Ra); 0076 WBCtracker3_multi(iFolders(fo).Name,'MH',1,iFolders(fo).Ra); 0077 end 0078 0079 for fo = 1: length(iFolders) 0080 iFolder = iFolders(fo).Name; 0081 iPath = strcat('/wbc/Data/',iFolder,'/'); 0082 cd(iPath); 0083 0084 % Run evaluating 0085 disp(['Evaluating...', iFolder]); 0086 SS(fo).Name = iFolder; 0087 load _tracksGT 0088 SS(fo).GT = WBCperformance_4(iFolder,tracksGT); 0089 load _tracksE 0090 SS(fo).Eden = WBCperformance_4(iFolder,tracksE); 0091 load _tracksK 0092 SS(fo).Kalman = WBCperformance_4(iFolder,tracksR); 0093 load _tracksMH 0094 SS(fo).Rich = WBCperformance_4(iFolder,tracksR); 0095 0096 end 0097 % load \Research\WBC\Codes\_parameters 0098 % [CD CC] = getCollisionFreq(SS,P); 0099 % CD 0100 0101 save('/wbc/Data/_param/_SS.mat','SS'); 0102 end