Page MenuHomePhabricator

Support diffusion images in .nii format
Closed, ResolvedPublic

Description

So far it has been necessary to rename diffusion images in .nii or .nii.gz formats to .fsl and .fslgz respectively.

This should be avoidable after the DiffusionImage replacement and the adaption of the new reader/writer concept.

A .nii/.nii.gz is a valid diffusion image if it is accompanied by bvals/bvecs files.

Possible scenarios are:

foo.nii(.gz)
foo.bvals
foo.bvecs

bar.nii(.gz)
bar.bval
bar.bvec

Those files should be read and written. For saving purposes the alternative appending the s should be the default.

Event Timeline

User goch has pushed new remote branch:

bug-18641-support-nifti-dwis

[01851b]: Merge branch 'bug-18641-support-nifti-dwis'

Merged commits:

2015-01-27 18:15:11 Caspar Goch [45a99f]
Delete mimeType pointers upon unloading


2015-01-27 18:14:49 Caspar Goch [a0be8b]
Separate diffusion nrrd and nifti readers


2015-01-21 19:16:58 Caspar Goch [cedc78]
Support nii and nii.gz for dwi images

[5f32a5]: Merge branch 'bug-18641-support-nifti-dwis'

Merged commits:

2015-01-28 15:59:09 Caspar Goch [05d9bf]
COMP: signed to unsigned