processing-scripts > Segmentation of OASIS dataset with SPM12
Showing 1-1 of 1 posts
Display:
Results per page:
Jun 28, 2018  07:06 AM | vania karami
Segmentation of OASIS dataset with SPM12
I need to have the WM, GM volume of images in OASIS dataset. When I do the segmentation I have this error in Matlab:

Failed 'Segment'
Error using sqrtm (line 35)
Expected input to be finite.
In file "C:\Program Files\MATLAB\R2017a\toolbox\matlab\matfun\sqrtm.m" (???), function "sqrtm" at line 35.
In file "C:\Users\PC4\Desktop\spm12-Copy\spm_preproc8.m" (v7172), function "spm_preproc8" at line 673.
In file "C:\Users\PC4\Desktop\spm12-Copy\spm_preproc_run.m" (v6365), function "run_job" at line 131.
In file "C:\Users\PC4\Desktop\spm12-Copy\spm_preproc_run.m" (v6365), function "spm_preproc_run" at line 41.
In file "C:\Users\PC4\Desktop\spm12-Copy\config\spm_cfg_preproc8.m" (v6952), function "spm_local_preproc_run" at line 450.

The following modules did not run:
Failed: Segment

DO you know what should I do?