PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
GetTrackerLags.m
Go to the documentation of this file.
1 function trackerLags = GetTrackerLags(rootFolder)
2 
3 cd(rootFolder);
4 CARS_folders = dir();
5 trackerLags = [];
6 
7 for t = 3 : length(CARS_folders)
8  if(isdir([rootFolder, '\', CARS_folders(t).name]))
9  tempTrackerLags = exploreFolders([rootFolder, '\', CARS_folders(t).name]);
10  trackerLags = horzcat(trackerLags,tempTrackerLags);
11  else
12  [isValid, trackerLag] = ReadTrackerLag(rootFolder);
13  if(isValid)
15  end
16  break
17  end
18 end
trackerLag
Definition: ReadTrackerLag.m:5
function trackerLags
Definition: GetTrackerLags.m:1
rootFolder
isValid
Definition: ReadTrackerLag.m:6
for t
Definition: GetTrackerLags.m:7
CARS_folders
Definition: GetTrackerLags.m:4