Commit 8b40299a authored by Antonio Politi's avatar Antonio Politi
Browse files

compute background value batch

parent 17830484
......@@ -2,18 +2,19 @@ function main()
%% get main paths
wdir = 'C:\Users\toni\Dropbox\NPCMaturation\expdata\livecellCalibrated';
dirnames = dir(wdir);
for idir = 8
%160706-HeLa107-4D-cell-4-t6 time point
for idir = 8%:length(dirnames)
if dirnames(idir).isdir
mdir = fullfile(wdir, dirnames(idir).name, 'Result');
else
continue
end
h5dir = fullfile(mdir, 'BGComp', 'h5');
h5segdir = fullfile(mdir, 'BGComp', 'h5_SimpleSegmentation');
segdir = fullfile(mdir, 'Segmentation');
outdir = fullfile(mdir, 'BGComp');
recompute = 1;
processDirectory(h5dir, h5segdir, segdir, outdir, 24);
h5dir = fullfile(mdir, 'BGComp', 'h5');
h5segdir = fullfile(mdir, 'BGComp', 'h5_SimpleSegmentation');
segdir = fullfile(mdir, 'Segmentation');
outdir = fullfile(mdir, 'BGComp');
recompute = 1;
processDirectory(h5dir, h5segdir, segdir, outdir, 8);
end
function processDirectory(h5dir, h5segdir, segdir, outdir, istartfile)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment