Hi,I get the following error during segmentation and I'm not sure what the problem is. It seems the input to the SVD consists only of NaNs:
SPM12: spm_preproc_run (v6365) 23:42:13 - 21/03/2017
============================================================ ============
Segment X:\sub87568\mprage_skullstripped.nii
Warning: Matrix is singular to working precision.
> In spm_get_closest_affine at 61
In spm_preproc_write8 at 337
In spm_preproc_run>run_job at 146
In spm_preproc_run at 41
In spm_cfg_preproc8>spm_local_preproc_run at 418
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 458
In spm_jobman at 247Failed 'Segment'
Error using svd
Input to SVD must not contain NaN or Inf.
In file "..\spm12\spm_get_closest_affine.m" (v6137), function "spm_get_closest_affine" at line 68.
In file "\spm12\spm_preproc_write8.m" (v6881), function "spm_preproc_write8" at line 337.
In file "\spm12\spm_preproc_run.m" (v6365), function "run_job" at line 146.
In file "\spm12\spm_preproc_run.m" (v6365), function "spm_preproc_run" at line 41.
In file "\spm12\spm12\config\spm_cfg_preproc8.m" (v6798), function "spm_local_preproc_run" at line 418. Additionally, there is a warning during coregistration which might be related to this:
SPM12: spm_coreg (v6435) 23:29:07 - 21/03/2017
============================================================ ============
Warning: Too many optimisation iterations
> In spm_powell at 46
In spm_coreg at 149
In spm_run_coreg at 22
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 458
In spm_jobman at 247Does anybody have an idea what went wrong and how to fix it?greetingsDavid