DARTEL标准化问题总结

Submitted by wleewell on
严老师, 看了您前面的建议,我还是想争取用DARTEL标准化,所以希望在您帮助下,能把这些问题克服了。 我换电脑跑后,out of memory问题解决了,slice、realignment后DARTEL可以正常运行。但另外两个问题试了十几次都通不过。 功能像normalize文件生成这步还无法解决,软件跑了一会normalize to MNI space后,提示movefile的错误,检查文件发现FunImg下面已经生成了swra前缀的文件,而没有wra前缀的文件,奇怪为什么还没到smooth,就生成了s前缀的文件?前面用DARSFA跑到这一步同样是这个问题,软件直接把swra前缀的图像放在了FunImgAR文件夹,而movefile报错。 我查看了分割图,发现白质图(smwc2co前缀)还是有灰色的条纹阴影,感觉不大对劲,不知是什么问题? 我把详细的材料都列出来了,软件设置、matlab程序如下,生成文件、DPARSF设置及白质结果图请您看看附件。 1. 软件版本:Matlab 2008b(Matlab2009b也试过,问题一样) SPM8 DPARSF2.1 2. 所有程序: Running job #1 ----------------------------------------------------------------------- Running 'Slice Timing' SPM8: spm_slice_timing (v2696) 11:22:18 - 08/07/2012 ====================================================================== Your TR is 2.0 Done 'Slice Timing' Done Realign Setup:sub_001 OK ----------------------------------------------------------------------- Running job #1 ----------------------------------------------------------------------- Running 'Realign: Estimate & Reslice' ----------------------------------------------------------------------- Running job #2 ----------------------------------------------------------------------- Running 'Print' Printing Graphics Windows to D:\analysis\FunImg\spm_2012Jul08.ps Done 'Print' Done Done 'Realign: Estimate & Reslice' Done Moving Realign Parameters:sub_001 OK Copying T1 image Files:sub_001 OK Normalize-Coregister Setup:sub_001 OK ----------------------------------------------------------------------- Running job #1 ----------------------------------------------------------------------- Running 'Coreg: Estimate' iteration 1... 1.236 0 0 0 0 0 | -1.0418 1.236 1.367 0 0 0 0 | -1.0421 1.236 1.367 0.2165 0 0 0 | -1.0421 1.236 1.367 0.2165 0.00265 0 0 | -1.0421 1.236 1.367 0.2165 0.00265 -0.02194 0 | -1.0421 1.236 1.367 0.2165 0.00265 -0.02194 -0.01813 | -1.0423 iteration 2... 1.049 1.367 0.2165 0.00265 -0.02194 -0.01813 | -1.0423 1.049 1.399 0.2165 0.00265 -0.02194 -0.01813 | -1.0423 1.049 1.399 0.2165 0.00265 -0.02194 -0.01813 | -1.0423 1.049 1.399 0.2165 0.00265 -0.02194 -0.01813 | -1.0423 1.049 1.399 0.2165 0.00265 -0.009782 -0.01813 | -1.0423 1.049 1.399 0.2165 0.00265 -0.009782 -0.02164 | -1.0423 iteration 3... 1.039 1.399 0.2165 0.00265 -0.009782 -0.02164 | -1.0423 1.039 1.364 0.2165 0.00265 -0.009782 -0.02164 | -1.0423 1.039 1.364 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 1.039 1.364 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 1.039 1.364 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 1.039 1.364 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 iteration 4... 1.039 1.364 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 1.039 1.364 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 1.039 1.364 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 1.039 1.364 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 1.039 1.364 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 1.039 1.364 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 iteration 1... 0.9913 1.364 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 0.9913 1.296 0.1464 0.00265 -0.009782 -0.02164 | -1.0423 0.9913 1.296 0.4989 0.00265 -0.009782 -0.02164 | -1.0423 0.9913 1.296 0.4989 0.00265 -0.009782 -0.02164 | -1.0423 0.9913 1.296 0.4989 0.00265 -0.009782 -0.02164 | -1.0423 0.9913 1.296 0.4989 0.00265 -0.009782 -0.02033 | -1.0423 iteration 2... 1.01 1.296 0.4989 0.00265 -0.009782 -0.02033 | -1.0423 1.01 1.27 0.4989 0.00265 -0.009782 -0.02033 | -1.0423 1.01 1.27 0.4989 0.00265 -0.009782 -0.02033 | -1.0423 1.01 1.27 0.4989 -0.000974 -0.009782 -0.02033 | -1.0423 1.01 1.27 0.4989 -0.000974 -0.009453 -0.02033 | -1.0423 1.01 1.27 0.4989 -0.000974 -0.009453 -0.02033 | -1.0423 iteration 3... 1.01 1.27 0.4989 -0.000974 -0.009453 -0.02033 | -1.0423 1.01 1.27 0.4989 -0.000974 -0.009453 -0.02033 | -1.0423 1.01 1.27 0.4989 -0.000974 -0.009453 -0.02033 | -1.0423 1.01 1.27 0.4989 -0.000974 -0.009453 -0.02033 | -1.0423 1.01 1.27 0.4989 -0.000974 -0.009453 -0.02033 | -1.0423 1.01 1.27 0.4989 -0.000974 -0.009453 -0.02033 | -1.0423 ----------------------------------------------------------------------- Running job #2 ----------------------------------------------------------------------- Running 'Print' Printing Graphics Windows to D:\analysis\FunImg\spm_2012Jul08.ps Done 'Print' Done Done 'Coreg: Estimate' Done Normalize-Segment Setup:sub_001 OK ----------------------------------------------------------------------- Running job #1 ----------------------------------------------------------------------- Running 'New Segment' Done 'New Segment' Done Running DARTEL: Create Template. ----------------------------------------------------------------------- Running job #1 ----------------------------------------------------------------------- Running 'Run DARTEL (create Templates)' 0.150503, 0.00320819, 0.000359691, 4.77787e-005, 7.58342e-006, 1.50627e-006, 3.70557e-007, 1.07412e-007, 1 1 287870 0 287870 95.3142 0.1453, 0.00314674, 0.000366017, 5.28313e-005, 9.62706e-006, 2.41172e-006, 8.15357e-007, 3.46251e-007, 2 1 267046 1280.83 268327 28.9797 0.147156, 0.00318385, 0.000369366, 5.32117e-005, 9.68733e-006, 2.42482e-006, 8.19339e-007, 3.47909e-007, 3 1 265137 1251.22 266388 19.9133 0.147088, 0.00318402, 0.00036934, 5.32087e-005, 9.68811e-006, 2.4254e-006, 8.19756e-007, 3.48131e-007, 4 1 265353 517.548 265871 53.1441 0.146561, 0.00316497, 0.000374553, 5.51578e-005, 1.02385e-005, 2.64501e-006, 9.31767e-007, 4.16895e-007, 5 1 246640 1998.35 248639 31.5304 0.146918, 0.00317272, 0.00037515, 5.51981e-005, 1.02403e-005, 2.64495e-006, 9.31613e-007, 4.16853e-007, 6 1 245894 1984.65 247878 27.5441 0.146957, 0.00317311, 0.00037517, 5.52644e-005, 1.0255e-005, 2.64907e-006, 9.33179e-007, 4.17583e-007, 7 1 246310 967.791 247278 55.6463 0.14651, 0.00314487, 0.000378109, 5.62834e-005, 1.04728e-005, 2.71441e-006, 9.54495e-007, 4.24433e-007, 8 1 227913 3323.67 231237 33.2987 0.146805, 0.00314738, 0.000378136, 5.63011e-005, 1.04719e-005, 2.71455e-006, 9.54659e-007, 4.24531e-007, 9 1 227358 3213.17 230571 29.8236 0.146752, 0.0031475, 0.00037813, 5.63107e-005, 1.04684e-005, 2.7136e-006, 9.54334e-007, 4.24443e-007, 10 1 227367 1564.41 228932 56.4282 0.14627, 0.00311974, 0.000380016, 5.71483e-005, 1.06713e-005, 2.76972e-006, 9.74794e-007, 4.31976e-007, 11 1 210548 4797.84 215346 33.7415 0.146392, 0.00312276, 0.000380041, 5.71253e-005, 1.06672e-005, 2.76877e-006, 9.74414e-007, 4.31852e-007, 12 1 209485 4798.23 214283 29.8097 0.146595, 0.00312584, 0.000380271, 5.71504e-005, 1.06721e-005, 2.7696e-006, 9.74664e-007, 4.31984e-007, 13 1 209486 2336.7 211823 53.0851 0.146303, 0.00310554, 0.000383066, 5.80626e-005, 1.08945e-005, 2.83494e-006, 1.0023e-006, 4.4737e-007, 14 1 194747 6097.42 200844 32.089 0.146436, 0.00310981, 0.00038336, 5.8088e-005, 1.09007e-005, 2.8351e-006, 1.00201e-006, 4.47228e-007, 15 1 193944 6138.5 200082 28.3767 0.146366, 0.00310762, 0.000383093, 5.80435e-005, 1.08946e-005, 2.83328e-006, 1.00131e-006, 4.46966e-007, 16 1 193689 6222.76 199912 27.621 0.146433, 0.00309221, 0.000385535, 5.87429e-005, 1.10638e-005, 2.89053e-006, 1.02859e-006, 4.63116e-007, 17 1 185127 6305.83 191433 34.069 0.146347, 0.00309325, 0.000385255, 5.86641e-005, 1.1042e-005, 2.88512e-006, 1.02661e-006, 4.62206e-007, 18 1 185327 5386.9 190714 34.3341 0.146451, 0.00309621, 0.000385407, 5.86737e-005, 1.10402e-005, 2.88488e-006, 1.02645e-006, 4.62027e-007, Done 'Run DARTEL (create Templates)' Done Running DARTEL: Normalize to MNI space for VBM. Modulated version With smooth kernel [8 8 8]. ----------------------------------------------------------------------- Running job #1 ----------------------------------------------------------------------- Running 'Normalise to MNI Space' ** Affine registering "Template_6" with MNI space ** 1 5.28401 0.186362 2 3.10249 0.0899961 3 0.984107 0.0512094 4 0.0953122 0.0477945 5 0.0130931 0.0478262 6 0.00235823 0.0478355 7 0.000362142 0.0478365 8 5.44432e-005 0.0478366 ** "u_rc1co20100702_124624t1mpragewangyongping3T-018-01as011a1001_Template" ** c1co20100702_124624t1mpragewangyongping3T-018-01as011a1001 1,1,1 c2co20100702_124624t1mpragewangyongping3T-018-01as011a1001 1,1,1 c3co20100702_124624t1mpragewangyongping3T-018-01as011a1001 1,1,1 Done 'Normalise to MNI Space' Done Running DARTEL: Normalize to MNI space for VBM. Modulated version. ----------------------------------------------------------------------- Running job #1 ----------------------------------------------------------------------- Running 'Normalise to MNI Space' ** Affine registering "Template_6" with MNI space ** 1 5.28401 0.186362 2 3.10249 0.0899961 3 0.984107 0.0512094 4 0.0953122 0.0477945 5 0.0130931 0.0478262 6 0.00235823 0.0478355 7 0.000362142 0.0478365 8 5.44432e-005 0.0478366 ** "u_rc1co20100702_124624t1mpragewangyongping3T-018-01as011a1001_Template" ** c1co20100702_124624t1mpragewangyongping3T-018-01as011a1001 1,1,1 c2co20100702_124624t1mpragewangyongping3T-018-01as011a1001 1,1,1 c3co20100702_124624t1mpragewangyongping3T-018-01as011a1001 1,1,1 Done 'Normalise to MNI Space' Done Running DARTEL: Normalize to MNI space for VBM. Unmodulated version. ----------------------------------------------------------------------- Running job #1 ----------------------------------------------------------------------- Running 'Normalise to MNI Space' ** Affine registering "Template_6" with MNI space ** 1 5.28401 0.186362 2 3.10249 0.0899961 3 0.984107 0.0512094 4 0.0953122 0.0477945 5 0.0130931 0.0478262 6 0.00235823 0.0478355 7 0.000362142 0.0478365 8 5.44432e-005 0.0478366 ** "u_rc1co20100702_124624t1mpragewangyongping3T-018-01as011a1001_Template" ** c1co20100702_124624t1mpragewangyongping3T-018-01as011a1001 1,1,1 c2co20100702_124624t1mpragewangyongping3T-018-01as011a1001 1,1,1 c3co20100702_124624t1mpragewangyongping3T-018-01as011a1001 1,1,1 co20100702_124624t1mpragewangyongping3T-018-01as011a1001 1,1,1 Done 'Normalise to MNI Space' Done Normalization by using DARTEL Setup:sub_001 OK ----------------------------------------------------------------------- Running job #1 ----------------------------------------------------------------------- Running 'Normalise to MNI Space' ** Affine registering "Template_6" with MNI space ** 1 5.28401 0.186362 2 3.10249 0.0899961 3 0.984107 0.0512094 4 0.0953122 0.0477945 5 0.0130931 0.0478262 6 0.00235823 0.0478355 7 0.000362142 0.0478365 8 5.44432e-005 0.0478366 ** "u_rc1co20100702_124624t1mpragewangyongping3T-018-01as011a1001_Template" ** ra20100702_124624ep2dpacedyntmocowangyongping3T-018-01as003a001_011 1,1,1 ......... 012-208幅(略) ra20100702_124624ep2dpacedyntmocowangyongping3T-018-01as003a001_209 1,1,1 ra20100702_124624ep2dpacedyntmocowangyongping3T-018-01as003a001_210 1,1,1 Done 'Normalise to MNI Space' Done ??? Error using ==> movefile No matching files were found. Error in ==> DPARSF_run at 848 movefile('wra*',['..',filesep,'..',filesep,'FunImgNormalized',filesep,AutoDataProcessParameter.SubjectID{i}]) Error in ==> DPARSF>pushbuttonRun_Callback at 976 [Error]=DPARSF_run(handles.Cfg); Error in ==> gui_mainfcn at 96 feval(varargin{:}); Error in ==> DPARSF at 43 gui_mainfcn(gui_State, varargin{:}); ??? Error while evaluating uicontrol Callback

YAN Chao-Gan

Thu, 07/19/2012 - 02:51

 你的SPM是什么版本的?难道后面SPM后面的更新版又修改输出了?
你输入[SPMversion,c]=spm('Ver')  ,看一下c是多少?

yuanbinke

Fri, 08/24/2012 - 03:29

Hi:
As far as i know, if you want to use DARTEL toolbox in DPARSF for normalization, you'd better do firstly:
1: Download spm8_updates and unpack it into your spm8.
2: set path in matlab--add with subfolders for SPM8 (updated); add folder for REST and DPARSF.
I think that would be OK if all other procedures have been well done.
That's just my suggestion! Best wishes!
Binke
Forums