Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vaanathi Sundaresan
LOCATE-BIANCA
Commits
0bb7fdd8
Commit
0bb7fdd8
authored
Mar 21, 2019
by
Vaanathi Sundaresan
Browse files
Pre-existing feature loading changes in LOCATE_training.m
parent
1846b1bd
Changes
1
Show whitespace changes
Inline
Side-by-side
LOCATE_training.m
View file @
0bb7fdd8
...
...
@@ -80,6 +80,12 @@ for subj = 1:numel(xdir)
end
xsplit
=
regexp
(
xdir
(
subj
)
.
name
,
'_BIANCA_LPM'
,
'split'
);
does_file_exist
=
exist
(
sprintf
(
'%s/LOCATE_features_%s.mat'
,
results_directory
,
xsplit
{
1
}),
'file'
);
if
does_file_exist
==
2
load
(
sprintf
(
'%s/LOCATE_features_%s.mat'
,
results_directory
,
xsplit
{
1
}))
else
xfeats
=
dir
(
sprintf
(
'%s/%s_feature_*'
,
root_data_directory
,
xsplit
{
1
}));
flairimage
=
cell
(
numel
(
xfeats
),
1
);
% Loading the image files
...
...
@@ -136,6 +142,7 @@ for subj = 1:numel(xdir)
if
verbose
fprintf
(
'LOCATE features extracted! \n'
)
end
end
% Storing the features in a cell array
imgfeatmats
{
subj
}
=
flairintfeats
;
...
...
Write
Preview
Supports
Markdown
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