-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
I am trying to convert a DTIPrep's output back to Nifti format, and the DWIConvert tool threw a segmentation fault error.
Here are details:
- Convert original Nifti to Nrrd, DTIPrep only supports Nrrd. This step is successful.
DWIConvert \
--inputVolume dwi.nii \
--inputBVectors bvec.txt \
--inputBValues bval.txt \
--conversionMode FSLToNrrd \
-o dwi.nrrd
- I tested DTIPrep for quality check with the following command. This step is successful.
DTIPrep \
--echo \
--check \
--default \
--xmlProtocol test.xml \
--DWINrrdFile dwi.nrrd
- convert the output (Nrrd format) of DTIPrep back to Nifty format.
DWIConvert \
--allowLossyConversion \
--inputVolume dwi_QCed.nrrd \
--outputVolume dwi_QCed.nii.gz \
--outputBVectors dwi_QCed.bvec \
--outputBValues dwi_QCed.bval \
--conversionMode NrrdToFSL
The output of DTIPrep has "unsigned short", "allowLossyConversion" option is added. The error is:
======= DWI Convert Public Lib Ctest =========
INPUT VOLUME: dwi_QCed.nrrd
Segmentation fault
Some information:
$ Slicer --version
4.8.1
$ DWIConvert --version
DWIConvert version: 4.8.0
$ uname -mrsn
Linux 2.6.32-696.18.7.el6.x86_64 x86_64
I upload the problematic nrrd file here. Please help check it. Thanks!
Metadata
Metadata
Assignees
Labels
No labels