Submitted by rumen on Wed, 11/27/2013 - 10:47
老师,
您好!我用的是没有结构项的功能磁共振数据,在用dparsf处理到去线性漂移时,会先重采样mask到功能图像的分辨率,然后就报错了,我的功能项数据是61,73,61,但是我看mask是91,109,91的,并没有重采样到所需的分辨率。然后就报错了,如下:
??? Index exceeds matrix dimensions.
Error in ==> y_Normalize_WriteToMNI_DARTEL at 47
SPMJOB.matlabbatch{1,1}.spm.tools.dartel.mni_norm.data.subj(1,1).flowfield={[T1ImgNewSegmentDir,filesep,SubjectID,filesep,DirImg(1).name]};
Error in ==> DPARSFA_run>(parfor body) at 2834
y_Normalize_WriteToMNI_DARTEL(SubjectID_Temp,SourceDir_Temp,OutpurDir_Temp,T1ImgNewSegmentDir,DARTELTemplateFile,IsSubDirectory,BoundingBox,VoxSize)
Error in ==> parallel_function at 469
F(base, limit);
Error in ==> DPARSFA_run at 2780
parfor i=1:AutoDataProcessParameter.SubjectNum
Error in ==> DPARSFA>pushbuttonRun_Callback at 1601
[Error]=DPARSFA_run(handles.Cfg);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> DPARSFA at 33
gui_mainfcn(gui_State, varargin{:});
我试过不选择默认mask,而选择自定义的61,73,61的全脑mask还是不行,请问老师有什么解决的办法,谢谢您!
Submitted by jigongjun on Thu, 11/28/2013 - 02:15 Permalink
Re: dparsf重采样mask出错
你是不是在个体空间做的分析?把你在Dparsfa上的选项设置,截图传上来看下吧。
Submitted by ZHANG_RESTadmin on Mon, 12/02/2013 - 23:44 Permalink
Re: dparsf重采样mask出错
对,看起来是dparsfa的选项选择错了。和mask什么的没有关系。
Submitted by rumen on Tue, 12/03/2013 - 09:38 Permalink
Re: dparsf重采样mask出错
确实是选项和数据的参数不符合,谢谢您!