Mask Error in Temporal Dynamic Analysis

Submitted by Akai on

It requires a mask with size 61*73*61, and I used the default mask (BrainMask_05_61x73x61.img), but it still goes wrong. Why did this happen?

The specific error is:

Calculating Functional Connectivity by Seed based Correlation Anlyasis...
Reading images from "/mnt/Linux3/UG/ZQT/SZs_ROIs_Analysis (copy)/FunImgARCWF/Sub_010/Filtered_4DVolume.nii" etc.

Load mask "/home/zhangqiongting/Desktop/DPABI_V4.3_200301/Templates/BrainMask_05_61x73x61.img".

Detrending...........

Error using y_SCA_Window (line 187)

Mask does not match.
Mask size is 181x217x181, not same with required size 61x73x61

Error in DPABI_TDA_run>(parfor body) (line 179)
[FCBrain_AllWindow, zFCBrain_AllWindow, Header] = y_SCA_Window(Cfg.WindowSize, Cfg.WindowStep,
Cfg.WindowType, InFiles, Cfg.CalFC.ROIDef, OutFile, MaskFile, Cfg.CalFC.IsMultipleLabel,
Cfg.IsDetrend);

Error in DPABI_TDA_run (line 174)
parfor iSub=1:length(Cfg.SubjectID)

Error in DPABI_TDA>btnRun_Callback (line 931)
DPABI_TDA_run(handles.Cfg);

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

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

Error in @(hObject,eventdata)DPABI_TDA('btnRun_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating uicontrol Callback

YAN Chao-Gan

Sat, 04/18/2020 - 00:40

"Mask size is 181x217x181, not same with required size 61x73x61"

That means you didn't set BrainMask_05_61x73x61.img. Please set up it correctly.