error of two sample t-test by dpabi

Hi,

I'm doing a research about  ROIs  FC, and try to compare the  zROIFCMap with two sample t-test by dpabi.

but during the anlysis ,there is an error as blow:

??? Error using ==> times
Array dimensions must match for binary array op.
 
Error in ==> y_GroupAnalysis_Image at 58
MaskData = any(DependentVolume,4) .* MaskData; % skip the voxels with all zeros
 
Error in ==> y_TTest1_Image at 93
    [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 at 517
        y_TTest1_Image(S, OutputName, MaskFile, ImageCell, TextCell, Base, PALMSettings);
 
Error in ==> gui_mainfcn at 96
        feval(varargin{:});
 
Error in ==> DPABI_STAT_TOOL at 42
    gui_mainfcn(gui_State, varargin{:});
 
Error in ==> @(hObject,eventdata)DPABI_STAT_TOOL('ComputeButton_Callback',hObject,eventdata,guidata(hObject))
 
 
??? Error while evaluating uicontrol Callback
 
AS a new learner,I'm not sure what's the problem of my anlysis.
what's more  ,the error happened only when I choose a mask file ,such as  BrainMask_05_61x73x61.   If I keep the mask file empty ,i can get a result file T2.nii

Looking forward to your reply。

thanks a lot!

Hi,

This is because your mask file is not in the same size with your zROI* images.

You should select the appropriate size mask or reslice it.

Best,

Chao-Gan