Hello,
We got a similar error message concerning the input to "schur" when
choosing in the FieldMap toolbox the option to mask. It seems that the
orientation of our field map data was too far from that of the
segmentation template used in that toolbox. I have checked this with
"check reg" between the template our data.
Our data were in Analyze format (produced using M. Brett's pvconv on
Bruker MedSpec data). I have used itk-snap and the command line tool
c3d with the -orient option and proper arguments to it to produce
NIFTI (.nii) files correctly oriented. (I further refined centering to
the template by further application on these NIFTI files of c3d with
the -origin option.)
When using the FieldMap toolbox on the properly oriented and centred
NIFTI files, the errors when entering "schur" did not occur any more...
Hope this helps.
Laurent Lamalle
Quoting Ali Radaideh <[log in to unmask]>:
> Hello,
>
> I am using spm8 to segment the white matter from an MRI scan but i
> got the following message:
>
> Error using schur
> Input to SCHUR must not contain NaN or Inf.
> In file "/usr/local/MATLAB/R2012a/toolbox/matlab/matfun/sqrtm.m"
> (???), function "sqrtm" at line 33.
> In file "/usr/local/spm8/spm_maff.m" (v4178), function "M2P" at line 162.
> In file "/usr/local/spm8/spm_maff.m" (v4178), function "affreg" at line 78.
> In file "/usr/local/spm8/spm_maff.m" (v4178), function "spm_maff" at line 27.
> In file "/usr/local/spm8/spm_preproc.m" (v4178), function
> "spm_preproc" at line 143.
> In file "/usr/local/spm8/config/spm_run_preproc.m" (v4185), function
> "spm_run_preproc" at line 19.
>
>
> So what can I do please to make spm runs?
>
> Thanks in advance
> Ali
>
> --
>
> Dr. Ali Al-Radaideh PhD
> Assistant Professor
>
> Head of Department of Medical Imaging
> Faculty of Allied Health Sciences
> The Hashemite University
>
> P. O. Box 330127. Zarqa 13115, Jordan
> Tel 00962-5-3903333 ext. 5355, 5422
> Mobile 00962-79-7646300
>
> Fax: 00962-5-3903368
>
> Email: [log in to unmask]
>
> Webpage: http://staff.hu.edu.jo/radaideh
>
===============================================================================
Laurent LAMALLE
Ingénieur de Recherche INSERM
RMN biomédicale et Neurosciences, SFR de l'université Joseph Fourier
Unité IRM 3 T Recherche
CHU de Grenoble
BP 217
F-38043 Grenoble -- France
Tel. : +33 (0)4 76 76 93 07
Fax. : +33 (0)4 76 76 93 05
mailto: Laurent . Lamalle @ ujf - grenoble . fr
http://www-ifr1.ujf-grenoble.fr/3T
===============================================================================
|