[Mrtrix-discussion] mask wm.mif with the 4D_diffusion

romain quentin rom.quentin at gmail.com
Tue Nov 22 07:54:04 PST 2011


Hi all,
i'm trying to create the wm mask "wm.nii" with a 4D image of diffusion and
the grad.b containing gradient table and the bvalue table in the good
format for mrtrix.
I use the command : gen_WM_mask -grad grad.b 4Ddata.nii mask.nii wm.nii (or
wm.mif)

If I use the nifti format for the wm mask, when i try to open wm.nii with
mrview, it tell me

"mrview: image "./wm.nii" is not in NIfTI format (sizeof_hdr != 348)
mrview: error opening image "wm.nii""

If I use the mif format, i can open the mask but it is totally black.

Can anyone help me?
Thank you very much

Romain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20111122/5787f8c1/attachment.html


More information about the Mrtrix-discussion mailing list