Post edited 1:52 am – November 24, 2011 by mayliszt
Hi Roupeng,
I am tring to use ITK to read the dtk_tensor.nii file, but it makes itk go into segmentation fault.
(1) What itk Image type and dimension shall I use to read it? I used itk::Image<float, 4>.
Could you explain the interleave of the tensor storage in your dtk_tensor.nii file?
(2) Another question is how can I write tensor files in the DTK compatible format? I just load dtk_tensor.nii into MIPAV, and then "saved as" with a new name (still nifti), for example, mipav_tensor.nii. But then, dtk could not correctly do the tractography wit the "saved as" file.
FSL, MITK 3M3 other software can open the "saved as" file correctl
(3) it your tensor defined on the world coordinate or the volumne ijk coordinate?
Best wishes,
May Liszt