Skip to content
Snippets Groups Projects
Commit 90d660ba authored by Andrew Cohen's avatar Andrew Cohen
Browse files

ctcWrangle

parent 879bf5fb
No related branches found
No related tags found
No related merge requests found
outfolder='g:\ctcWrangle';
if ~exist(outfolder,'dir')
mkdir(outfolder);
end
strDB='f:\leverjs\ctc2020\2d\Fluo-N2DL-HeLa_training_01.LEVER';
if exist('conn','var')
close(conn);
end
[conn,CONSTANTS,segParams]=openDB(strDB);
[~,dsName,~]=fileparts(strDB);
sensi=[0.5:0.1:1];
for i=1:length(sensi)
sp=segParams;
sp.sensitivity=sensi(i);
buildWrangleFile(strDB,outfolder,[dsName '_r_' num2str(i)],sp);
end
% run it
Batch.batchSegmentFolder(outfolder,true);
% score it...
res=[];
flist=dir(fullfile(outfolder,'*.LEVER'));
for ff=1:length(flist)
rx=ctcEval1(fullfile(flist(ff).folder,flist(ff).name),gtPath,outfolder);
res=[res;rx];
end
res
4;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment