Dear Chao-Gan,
Sorry to bother you. In a particular subject, I have encountered an
error during the automask step. The error messages looked like this:
Generating AutoMasks begin...
Reading images from
"/Users/PhilHe/Desktop/MRI_data//fcMRI_temp/FunImgAR/con_01/rafcMRI.nii"
etc.
Attempted to access Xout(0); index must be a positive
integer or logical.
Error in w_ClipLevel (line 50)
clip=Xout(ncut);
Error in w_Automask (line 33)
clip_fixed=w_ClipLevel(0.5, MeanAbsVolume);
Error in DPARSFA_run>(parfor body) (line 1778)
w_Automask(InputDir, OutputFile);
Error in parallel_function (line 473)
F(base, limit);
Error in DPARSFA_run (line 1768)
parfor i=1:AutoDataProcessParameter.SubjectNum
Error in DPARSFA>pushbuttonRun_Callback (line 1670)
[Error]=DPARSFA_run(handles.Cfg);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in DPARSFA (line 30)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback
I checked the 'rafcMRI.nii' which looked normal. I notice that the ncut
became 0 when I executed the w_ClipLevel command line by line. I have not
idea why because based on the commands, and the values generated
previously, it should not be 0.
My matlab is 2014a and I am using the up-to-date SPM8 and REST.
Thank you very much in advance.
Sincerely,
Xiaosong He
Hi,
Hi,
Automask sometimes fail on particular subjects. Have many subjects you have automask process failed? If you can not discard that subject, I will suggest, 1) try use automask in AFNI; 2) skip automask for that particular subject.
Best,
Chao-Gan
Re: [RFMRI] Issue about
Same error by choosing NO mask
I faced this error when auto mask was chosen. Then, for skiping this step, I chose NO mask . But this error was appeared again. What should I do?
Best Regards
Re: [RFMRI] Issue about
Same error by choosing NO mask
I faced this error when auto mask was chosen. Then, for skiping this step, I chose NO mask . But this error was appeared again. What should I do?
Best Regards
Re: [RFMRI] Issue about