统计分析_使用自制大脑mask不能正常运行

Submitted by bnu201611260210 on

各位老师们好,


我在利用dpabi的statistical analysis分析时,打算用剔除小脑后只剩大脑的mask作为我们分析的mask,并生成了文件brain mask.nii (可以在viewer中打开),可是在进行correlation analysis的时候却发现,将mask选为我们的文件后,matlab并不能成功运行,报错如下 (选用默认template模板 BrainMask_05_61x73x61可以正常运行statistical analysis):

Error using  .*
Array dimensions must match for binary array op.

Error in y_GroupAnalysis_Image (line 58)
    MaskData = any(DependentVolume,4) .* MaskData; % skip the voxels with all
    zeros

Error in y_Correlation_Image (line 89)
    [b_OLS_brain, t_OLS_brain, TTest1_T, r_OLS_brain, Header] =
    y_GroupAnalysis_Image(DependentVolume,Regressors,OutputName,MaskFile,CovariateVolume,Contrast,'T',0,Header);
   
Error in DPABI_STAT_TOOL>ComputeButton_Callback (line 546)
        y_Correlation_Image(S, SeedSeries, OutputName, MaskFile, ImageCell,
        TextCell, PALMSettings);

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in DPABI_STAT_TOOL (line 42)
    gui_mainfcn(gui_State, varargin{:});

Error in
@(hObject,eventdata)DPABI_STAT_TOOL('ComputeButton_Callback',hObject,eventdata,guidata(hObject))

 
Error while evaluating uicontrol Callback

Error using edit (line 66)
Undefined function or variable 'hObject'.

Error in helpUtils.errorDocCallback (line 23)
            if ~edit(editTopic)

可否麻烦各位老师看一下这是什么原因呢?谢谢!