Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Antonio Politi
NPCMaturation
Commits
8b40299a
Commit
8b40299a
authored
Apr 02, 2017
by
Antonio Politi
Browse files
compute background value batch
parent
17830484
Changes
1
Hide whitespace changes
Inline
Side-by-side
expdata/livecellCalibrated/computeBGValues_batch.m
View file @
8b40299a
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment