Skip to content
Snippets Groups Projects
Commit 268632d4 authored by ac 20's avatar ac 20
Browse files

ensembleSegValidate track all at once

parent 184dfad9
Branches
No related tags found
No related merge requests found
......@@ -18,8 +18,22 @@ for i=1:length(minRadius_um)
end
% run it
Batch.batchSegmentFolder(outfolder,true);
Batch.batchSegment(strDB,[],true);
Batch.batchSegmentFolder(outfolder,false);
Batch.batchSegment(strDB,[],false);
% now track all in parallel
flist=dir(fullfile(outfolder,'*.LEVER'));
ljsPath=getLeverjsPath('resegAndTrackDataset.js');
parfor ff=1:length(flist)+1
if ff>length(flist)
trackTarget=strDB;
else
trackTarget=fullfile(flist(ff).folder,flist(ff).name);
end
system([nodecmd ' ' ljsPath ' "' ...
trackTarget '" resegAll 1 "{}" ' ]);
end
% score it...
res=[];
flist=dir(fullfile(outfolder,'*.LEVER'));
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment