subhashis / fibernavigator

Automatically exported from code.google.com/p/fibernavigator
0 stars 1 forks source link

Cannot load binary mask #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to load an anatomy which was encoded as a binary map (only 1 bit per 
voxel).

What is the expected output? What do you see instead?

You should be able to load this type of anat, even if an internal conversion is 
needed.

It especially fails on binary masks created from mrtrix.

Original issue reported on code.google.com by Jean.Chr...@gmail.com on 6 Feb 2013 at 2:37

GoogleCodeExporter commented 9 years ago
After investiguation, the official nifti_io files (directly from the NIH) do 
not support the DT_BINARY datatype. Mrtrix does its own reading of the file, 
and accepts (and writes) binary data.

We need to ask ourselves if we really want to support this case.

Original comment by Jean.Chr...@gmail.com on 6 Feb 2013 at 2:35

GoogleCodeExporter commented 9 years ago
Changed to Wontfix because we are limited by the official nifti library that we 
are using. Mrtrix reimplements everything using mmap, and it is not worth our 
time to try to support this special case. A 
mrconvert -datatype Int16
wil convert your binary mask to an image loadable in the Fibernav.

If we ever find other software doing the same thing and we decide to support 
this, we can decide to reopen this issue.

Original comment by Jean.Chr...@gmail.com on 7 Feb 2013 at 5:53