Sorry about this. There is a little bug in the SPM5b code, which is the cause
of the problem. The latest patches should fix this one.
Best regards,
-John
> -------- Original Message --------
> Subject: Re: [SPM] Creating mean image in SPM5b
> Date: Fri, 10 Jun 2005 14:10:47 +0000
> From: John Ashburner <[log in to unmask]>
> To: [log in to unmask]
>
> Were the same bounding boxes and voxel sizes used for all images? Do
> any of
> them have .mat files? Take a look at the sizes of the images. This should
> give the first clue.
>
> Best regards,
> -John
>
> > I am trying to create a mean image of Modulated/Normalize MRI/T1 (39
> > images). I am using spm_mean_ui.m script and get the following error
> > message:
> >
> > -------------------------------------------------------------------------
> >--
> >
> > > spm_mean_ui
> >
> > SPM5: spm_mean_ui (v$Rev: 112 $) 09:18:37 - 10/06/2005
> > ========================================================================
> > ...select files ...mapping & checking files??? Error using ==>
> > and Matrix dimensions must agree.
> >
> > Error in ==> spm_mean_ui at 38
> > if n>1 & any(any(diff(cat(1,Vi.dim),1,1),1)&[1,1,1,0])
> >
> >
> >
> > Is there anyway to make a mean image in SPM5?
-------------------------------------------------------
|