Hello,
I tried to segment a MRI brain image by using Unified Segmentation Method
from SPM5. The SPM5 has the latest update (1048). and I got following error
message:
> In expm>PadeApproximantOfDegree at 123
In expm at 39
In spm_maff>P2M at 185
In spm_maff>affreg at 152
In spm_maff at 27
In spm_preproc at 152
In spm_config_preproc>execute at 472
In spm_jobman>run_struct1 at 1585
In spm_jobman>run_struct1 at 1595
In spm_jobman>run_struct1 at 1595
In spm_jobman>run_struct at 1514
Warning: Matrix is singular, close to singular or badly scaled.
Results may be inaccurate. RCOND = NaN.
> In expm>PadeApproximantOfDegree at 123
In expm at 39
In spm_maff>P2M at 191
In spm_maff>affreg at 152
In spm_maff at 27
In spm_preproc at 152
In spm_config_preproc>execute at 472
In spm_jobman>run_struct1 at 1585
In spm_jobman>run_struct1 at 1595
In spm_jobman>run_struct1 at 1595
In spm_jobman>run_struct at 1514
Error running job: Error using ==> schur
NaN or Inf prevents convergence.i
In file "/usr/local/matlab72/toolbox/matlab/matfun/sqrtm.m" (???), function
"sqrtm" at line 33.
In file "/usr/local/spm5/./spm_maff.m" (v987), function "M2P" at line 160.
In file "/usr/local/spm5/./spm_maff.m" (v987), function "affreg" at line 76.
In file "/usr/local/spm5/./spm_maff.m" (v987), function "spm_maff" at line 27.
In file "/usr/local/spm5/./spm_preproc.m" (v946), function "spm_preproc" at
line 153.
In file "/usr/local/spm5/./spm_config_preproc.m" (v1032), function "execute"
at line 472.
I tried to reduce the csf/grey/white class from 2 to 1, and got the same
error. The image ifself has voxels: 181 x 217 x 181, dimensions: 1x1x1 mm,
data type: float (32bpp).
I tested other images with voxel size 256x256, they are just fine. Any
thought? Thank.
Wayne
|