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
Andrei-Claudiu Roibu
BrainMapper
Commits
fce7cb7c
Commit
fce7cb7c
authored
Apr 01, 2020
by
Andrei-Claudiu Roibu
🖥
Browse files
completed loading function
parent
79b25c20
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/data_utils.py
View file @
fce7cb7c
...
...
@@ -272,7 +272,7 @@ def load(file_paths, orientation):
# Do we need min-max normalization here? Will need to check when debuggint and testing
volume
=
(
volume
-
np
.
min
(
volume
))
/
(
np
.
max
(
volume
)
-
np
.
min
(
volume
))
volume
,
label_map
=
volume
,
label_map
=
set_orientation
(
volume
,
label_map
,
orientation
)
return
volume
,
label_map
,
nifty_volume
.
header
...
...
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