Are you selecting all volumes within each 4D file, or just the first? In the
file selector, there is a field where you can enter (e.g.) "1:1000" in order
to allow volumes other then the first to be specified.
On Monday 12 January 2009 15:26, Cecile Bordier wrote:
> I am having some troubles during my realign & unwarp computation.
> I am using matlab 7.6.0 with spm8b (last update). I got 6 runs of images
> convert from dcm to nii with dcm2nii (visually everything looks ok).
> I tried the realign & unwarp on my data with .nii extension (4D) and
> img/hdr extension (3D and 4D).
> During the process (estimation) I got several of these :
> Warning: Matrix is singular, close to singular or badly scaled.
> Results may be inaccurate. RCOND = NaN.
> In spm_uw_estimate>make_q at 484
> In spm_uw_estimate>make_ref at 766
> In spm_uw_estimate at 370
> In spm_run_realignunwarp at 89
> In matlabbatch/private/cfg_run_cm at 29
> In cfg_util>local_runcj at 1345
> In cfg_util at 686
> In cfg_ui>MenuFileRun_Callback at 1129
> In gui_mainfcn at 96
> In cfg_ui at 53
> procedure terminated abnormally:
> Error using ==> schur
> Input to SCHUR must not contain NaN or Inf.
> #And finally I got this error message, I guess it is during the writing....
> Failed 'Realign & Unwarp'
> Reference to non-existent field 'beta'.
> In file "/usr/local/etc/Matlab/toolbox/spm8b/spm_uw_apply.m" (v1358),
> function "spm_uw_apply" at line 226.
> In file
> (v2337), function "spm_run_realignunwarp" at line 106.
> It seems that during the estimation the field beta is not computed for some
> of my runs. Is it aborded because of the warning?
> To check I tried to realize an estimate & reslice (without fieldmap
> correction), everything is running well.
> I saw an email sent by Adam Jacks (in spm5) earlier this month with the
> same kind of problem.... but no solution seems to be done.