Closed hanayik closed 3 years ago
Taylor, I think we want some logic to deal with images where cal_min
and cal_max
are not set in the NIfTI header. There are three solutions:
cal_min
= 2% and cal_max
= 98%. This is the approach AFNI and MRIcron use.Remember to use approach 1 if the intent_code
is labels (e.g. index based atlas). We also want to consider atlas colormaps.
url-loader
branchnpm run serve
http://localhost:8080/?urls=https://openneuro.org/crn/datasets/ds002328/snapshots/1.0.0/files/sub-01:anat:sub-01_T1w.nii.gz
to load from an external URL the volume at the URL needs to be universally readable. Some servers have security blocks to disallow browsers to repeatedly download files (plus that's unusual behavior for a browser). OpenNeuro seems to have a very permissible server though.
screenshot of issue