> Date: Thu, 2 Feb 2012 17:04:55 +0000
> From:
[log in to unmask]> Subject: Re: [SPM] error while doing co-registration !!
> To:
[log in to unmask]>
> The setting for the histogram smoothing should have two values, which
> default to [7 7]. I'm not sure where the scalar value of 0.56 is
> coming from. The problem is arising because the coreg routine expects
> fwhm to contain the two values, whereas it appears to only contain
> one. As far as I can tell, this should not happen if you run the code
> via the user interface.
>
> Best regards,
> -John
>
> On 2 February 2012 12:40, Qasim Bukhari <
[log in to unmask]> wrote:
> > Dear all,
> > I m trying to co-register a few images, but constantly getting the error.
> >
> > Error running job: Attempted to access fwhm(2); index out of bounds because numel(fwhm)=1.
> > In file "C:\Users\BUKHARI\Desktop\PhD_Markus_Rudin\resting state\spm5\spm_coreg.m" (v1007), function "optfun" at line 160.
> > In file "C:\Users\BUKHARI\Desktop\PhD_Markus_Rudin\resting state\spm5\spm_coreg.m" (v1007), function "spm_coreg" at line 82.
> > In file "C:\Users\BUKHARI\Desktop\PhD_Markus_Rudin\resting state\spm5\spm_powell.m" (v691), function "spm_powell" at line 27.
> > In file "C:\Users\BUKHARI\Desktop\PhD_Markus_Rudin\resting state\spm5\spm_coreg.m" (v1007), function "spm_coreg" at line 134.
> > In file "C:\Users\BUKHARI\Desktop\PhD_Markus_Rudin\resting state\spm5\spm_config_coreg.m" (v1032), function "estimate" at line 281.
> >
> > Just a simple search of the error over the internet showed me that this question was asked by somebody else before as well on this group; but nobody had proposed its solution.
> > For the histogram smoothing I m using the value 0.56, the default, and also for the rest of other parameters I m using default values.
> >
> > Can somebody please help ??
> > Thanks a lot and best regards,
> > Qasim