It doesn't work for 2D coregistration. Only 3D.
Best regards,
-John
On Wednesday 24 May 2006 13:37, Qian Lijun wrote:
> Dear SPM-ers,
> An error occured when I tried to coregistration the structural and the
> functional image using SPM5. Both of the two image is transverse single-
> slice, and was acquired from the exact same anatomical position of the
> brain. The error prompted:
> -------------------------------------------------------------------------
> Running "Coreg: Estimate"
> ??? Wrong number of dims (1).
> ??? Error while evaluating uicontrol Callback.
> -------------------------------------------------------------------------
>
> When I tried again using SPM2, the error prompted:
> -------------------------------------------------------------------------
> Error in ==> spm_coreg>optfun at 152
> H = spm_hist2(VG.uint8,VF.uint8, VF.mat\spm_matrix(x(:)')*VG.mat ,sg);
>
> Error in ==> spm_coreg at 78
> x = optfun(varargin{:});
>
> Error in ==> spm_powell at 23
> f = feval(func,p,varargin{:});
>
> Error in ==> spm_coreg at 132
> [x,fval] = spm_powell(x(:),
> xi,sc,mfilename,VG,VF,samp,flags.cost_fun,flags.fwhm);
>
> Error in ==> spm_coreg_ui>run_ui at 282
> x = spm_coreg(mireg(i).VG, mireg(i).VF,flags.estimate);
>
> Error in ==> spm_coreg_ui at 220
> run_ui(defaults.coreg);
>
> ??? Error while evaluating uicontrol Callback.
> ---------------------------------------------------------------------------
> So can you give me any suggestion? Is it possible for SPM5 to carry out
> single-slice to single-slice coregistration and the succeeding fMRI
> analysis? Thanks a lot!
>
> Qian Lijun
> [log in to unmask]
> Radiology Dept.
> Shanghai Renji Hospital
|