DPARSFA segment error

严老师,您好。

1. 我用 DPARSFA 2.3 跑 unified segmentation , 会出错:

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 154
  In spm_maff at 27
  In spm_preproc at 147
  In spm_run_preproc at 19
  In matlabbatch/private/cfg_run_cm at 29
  In cfg_util>local_runcj at 1510
  In cfg_util at 830
  In spm_jobman at 217
  In DPARSFA_run>(parfor body) at 1382
  In parallel_function>make_general_channel/channel_general at 867
  In remoteParallelFunction at 31 
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 197
  In spm_maff>affreg at 154
  In spm_maff at 27
  In spm_preproc at 147
  In spm_run_preproc at 19
  In matlabbatch/private/cfg_run_cm at 29
  In cfg_util>local_runcj at 1510
  In cfg_util at 830
  In spm_jobman at 217
  In DPARSFA_run>(parfor body) at 1382
  In parallel_function>make_general_channel/channel_general at 867
  In remoteParallelFunction at 31 
Failed  'Segment'
Error using schur
Input to SCHUR must not contain NaN or Inf.
In file "/home/insula/Bin/matlab/toolbox/matlab/matfun/sqrtm.m" (???), function "sqrtm" at line 33.
In file "/home/insula/DataTools/spm8/spm_maff.m" (v4178), function "M2P" at line 162.
In file "/home/insula/DataTools/spm8/spm_maff.m" (v4178), function "affreg" at line 78.
In file "/home/insula/DataTools/spm8/spm_maff.m" (v4178), function "spm_maff" at line 27.
In file "/home/insula/DataTools/spm8/spm_preproc.m" (v4677), function "spm_preproc" at line 148.
In file "/home/insula/DataTools/spm8/config/spm_run_preproc.m" (v4185), function "spm_run_preproc" at line 19.
 
The following modules did not run:
Failed: Segment
 
Error using parallel_function (line 589)
 
Job execution failed. The full log of this run can be found in MATLAB command window, starting with the
lines (look for the line showing the exact #job as displayed in this error message)
------------------
Running job #1
------------------
 
 
Error stack:
cfg_util.m at 835
spm_jobman.m at 217
DPARSFA_run>(parfor body) at 1382
 
Error in DPARSFA_run (line 1359)
        parfor i=1:AutoDataProcessParameter.SubjectNum
 
Error in DPARSFA>pushbuttonRun_Callback (line 1579)
    [Error]=DPARSFA_run(handles.Cfg);
 
Error in gui_mainfcn (line 96)
        feval(varargin{:});
 
Error in DPARSFA (line 33)
    gui_mainfcn(gui_State, varargin{:});
 
Error while evaluating uicontrol Callback

================================================================================
=================================================================================
==================================================================================

2. Newsegment + DARTEL 没有报错,顺利运行,只是会出现一下的warning:.

Warning: Run spm_jobman('initcfg'); beforehand 
> In spm_jobman at 107
  In DPARSFA_run at 1447
  In DPARSFA>pushbuttonRun_Callback at 1579
  In gui_mainfcn at 96
  In DPARSFA at 33 

================================================================================
=================================================================================
==================================================================================

3. 由于数据样本量太大,我希望能用老的 unified segmentation 的方法来跑,这样速度会比较快。但是由于上面的问题,没法正常运行。我更新了SPM8到最新版本,还是会出错。同时我也尝试用老版本DPARSFA2.2来跑,但是也是会出错。不知道如何解决

附系统信息:
Ubuntu 12.04
Matlab R2012a 64bit
SPM8 为最新版本
REST 1.8
DPARSFA 2.3 和2.2

谢谢!

 1.有没有可能是众多被试的数据中,有个别数据导致的出错,比如在segment的文件夹下,到达某个被试的数据时,分割不下去了。可以根据产生的结果文件夹的时间次序排列,看出错的被试位置。有时候可能个别T1图像对比的差异导致分割出错,具体的我也不清楚,你可以试试看。