Dear Chao Gan,
first of all thank you for providing such a helpful toolbox.
however, during the segmentation an error occurs:
I have also attached an screenshot of the design.
Warning: Matrix is singular, close to singular or badly scaled. Results may be
inaccurate. RCOND = NaN.
> In expm>PadeApproximantOfDegree at 123
In expm at 39
In spm_maff>P2M at 197
In spm_maff>affreg at 154
In spm_maff at 27
In spm_preproc at 154
In spm_run_preproc at 20
In matlabbatch\private\cfg_run_cm at 29
In cfg_util>local_runcj at 1688
In cfg_util at 959
In spm_jobman>fill_run_job at 471
In spm_jobman at 246
In DPARSFA_run>(parfor body) at 1964
In parallel_function at 467
In DPARSFA_run at 1927
In DPARSFA>pushbuttonRun_Callback at 1761
In gui_mainfcn at 96
In DPARSFA at 30
Failed 'Old Segment'
Error using schur
Input to SCHUR must not contain NaN or Inf.
In file "C:\Program Files\MATLAB\R2013a\toolbox\matlab\matfun\sqrtm.m" (???), function "sqrtm" at line 33.
In file "E:\spm12\toolbox\OldSeg\spm_maff.m" (v4873), function "M2P" at line 162.
In file "E:\spm12\toolbox\OldSeg\spm_maff.m" (v4873), function "affreg" at line 78.
In file "E:\spm12\toolbox\OldSeg\spm_maff.m" (v4873), function "spm_maff" at line 27.
In file "E:\spm12\spm_preproc.m" (v4916), function "spm_preproc" at line 155.
In file "E:\spm12\toolbox\OldSeg\spm_run_preproc.m" (v4873), function "spm_run_preproc" at line 20.
The following modules did not run:
Failed: Old Segment
Error using MATLABbatch system
Job execution failed. The full log of this run can be found in MATLAB command window,
starting with the lines (look for the line showing the exact #job as displayed in this
error message)
------------------
Running job #1
------------------
Caused by:
Error using MATLABbatch system
Job execution failed. The full log of this run can be found in MATLAB command
window, starting with the lines (look for the line showing the exact #job as
displayed in this error message)
------------------
Running job #1
------------------
Error while evaluating uicontrol Callback
Attachment | Size |
---|---|
dparsfa.jpg | 208.68 KB |
Forums
Re:[RFMRI] error during
At 2016-04-13 22:12:02, "The R-fMRI Network" <rfmri.org@gmail.com> wrote:
Hi,
Hi,
Seems there is NaN in you T1 image.
Please check your T1 images. Or:
[Data Head]=y_Read('XXT1.nii');
Data(find(isnan(Data)))=0;
y_Write(Data,Head,'XXT1New.nii');
Best,
Chao0-Gan