Submitted by water on Thu, 02/20/2014 - 20:17
利用rest viewer制作BA脑区mask提取ROI信号时,matlab提示:
??? Error using ==> rest_loadmask at 64
Mask does not match.
Mask size is 181x217x181, not same with required size 61x73x61
Error in ==> rest_ExtractROITC at 37
maskROI =rest_loadmask(nDim1, nDim2, nDim3, AROIDef{x});
Error in ==> rest_ExtractROITC_gui>btnRun_Callback at 190
rest_ExtractROITC(handles.Cfg.DataDirs{i,1}, handles.Cfg.ROIDef,handles.Cfg.OutputDir);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> rest_ExtractROITC_gui at 27
gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback
然后就利用utilities里的extract roi signal→define roi→add roi→predefined roi中第3个→rmm=5,set range of threshold填7→save clusters→保存为a.nii→定义完成,导入数据选好输出路径→run→matlab报ROI定义错误:
??? Error using ==> rest_ExtractROITC at 39
Wrong ROI definition, Please check:
C:\Users\admin\Desktop\a.nii.img
Error in ==> rest_ExtractROITC_gui>btnRun_Callback at 190
rest_ExtractROITC(handles.Cfg.DataDirs{i,1}, handles.Cfg.ROIDef,handles.Cfg.OutputDir);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> rest_ExtractROITC_gui at 27
gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback
不知道问题出在哪?
Submitted by water on Thu, 02/20/2014 - 21:56 Permalink
Re: 利用rest制作BA脑区mask提取ROI信号出错
解决了,需要重采样。被matlab对两种方法报错原因不一致误导了