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
93654834
Commit
93654834
authored
Mar 21, 2019
by
Vaanathi Sundaresan
Browse files
Pre-existing features loading changes in LOCATE_training.m
parent
0bb7fdd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
LOCATE_training.m
View file @
93654834
...
...
@@ -121,7 +121,7 @@ for subj = 1:numel(xdir)
% Getting image dimensions and determining up/downsampling factor
dim
=
size
(
lesionmask
);
factor
=
floor
(
max
(
dim
)
.
/
dim
);
factor
=
150.
/
dim
;
%
floor(max(dim)./dim);
inv_factor
=
1.
/
factor
;
% Up/downsampling the images
...
...
@@ -131,7 +131,7 @@ for subj = 1:numel(xdir)
biancamask
=
(
biancamask
>
0
)
&
(
brainmask
>
0
);
% Performing Voronoi tessellation on resampled images
[
lesionmask
,
index_mask
,
index_numbers
]
=
LOCATE_Voronoi_tessellation
(
lesionmask
,
biancamask
,
inv_factor
);
[
lesionmask
,
index_mask
,
index_numbers
]
=
LOCATE_Voronoi_tessellation
_resized
(
lesionmask
,
biancamask
,
inv_factor
);
if
verbose
fprintf
(
'Voronoi Tessellation done! \n'
)
end
...
...
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