[Mrtrix-discussion] Question about convert from nii to mif
Donald Tournier
d.tournier at brain.org.au
Mon Jul 30 16:35:17 PDT 2012
Hi,
This is indeed weird. The only reason I can think of why this might happen
is that the output dwi.mif file is somehow created with the wrong filesize.
One possible issue might be that one of the dimensions is set to zero,
which would cause the data size to be zero. But then I'm pretty sure MRtrix
checks all of that. Maybe in the first instance you could post the output
of:
$ mrinfo P481210209_xyz_eddy_Ave.nii
You could also provide the output of the failing command with the -debug
option:
$ mrconvert P481210209_xyz_eddy_Ave.nii dwi.mif -debug
and provide a full listing for the output file (which I assume does get
created?):
$ ls -l dwi.mif
That should already provide some clues as to what is going on. If that
doesn't help, you could always send me the file if you're comfortable with
that.
Cheers,
Donald.
On 30 July 2012 17:08, dti mic <micdtiserver at gmail.com> wrote:
> Dear MRtrix,
>
> I am trying to convert a 4D dwi data set in NIFTI format (converted from
> DICOM using dcm2nii) into mif image. The error message I got is:
>
> "mrconvert: memory-mapping failed for file "./dwi.mif": Invalid argument".
> The input image (the name of which is "P481210209_xyz_eddy_Ave.nii", a
> little bit long and wired I know) in nii format can be well accessed by FSL
> and MRIcron or MRIcron. Any idea of what I can do to fix this issue? Should
> I try some more options in the mrconvert command?
>
> Many thanks for your help in advance!
>
>
>
> _______________________________________________
> Mrtrix-discussion mailing list
> Mrtrix-discussion at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/mrtrix-discussion
>
>
--
Jacques-Donald Tournier (PhD)
Brain Research Institute, Melbourne, Australia
Tel: +61 (0)3 9035 7033
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20120731/7918a3e4/attachment.html
More information about the Mrtrix-discussion
mailing list