Todd,
you would just take the volume handles from SPM.xY.VY for
spm_{sample,slice}_vol instead of calling spm_vol on the filenames again.
That would be the same thing SPM does in terms of using scaled images in
the statistics estimation step. Other data manipulation like
filtering/whitening happens after data has been read from the images.
Hope this helps,
Volkmar
On Wed, 2 Aug 2006 [log in to unmask] wrote:
>
> Hi Volkmar,
>
> Thanks for the reply. That variable does tell me what the scaling was during
> estimation (SPM.xY.VY.pinfo) but it does not have the scaled image data. I
> don't think I can just take the scaling factor and multiply it by the original
> image data found in the original image files listed in SPM.xY.VY.fname. I
> need to acquire the image files with their intensities scaled by
> SPM.xY.VY.pinfo from SPM. Any suggestions on how to do that? I do not think
> the SPM.xY.VY variable helps much other than to tell me what the scale factor
> was.
>
> Thanks
>
> Todd Penney
>
>
> Quoting Volkmar Glauche <[log in to unmask]>:
>
> > Todd,
> >
> > without looking into the code: I believe, SPM.xY.VY should contain the
> > image handles with all scaling applied.
> >
> > Hope this helps,
> >
> > Volkmar
> >
> > On Tue, 1 Aug 2006, Todd Penney wrote:
> >
> > > Hi all,
> > >
> > > I am trying to acquire the scaled images from SPM5 just before they
> > > enter the
> > > T or F-stat estimation and the residual errors are calculated. Is
> > > there some
> > > way I can acquire them? I know where the scaling factor of the
> > > images is
> > > located (SPM.xGX.gSF) but I cannot just take this value for each
> > > volume and
> > > multiply it by the image intensities in my original images to get the
> > > scaled
> > > versions. SPM makes other changes in addition to this scaling that I
> > > don't
> > > understand.
> > >
> > > Thank you.
> > >
> > > Todd Penney
> > >
> > >
> > >
> >
> > --
> > Volkmar Glauche
> > -
> > Department of Neurology [log in to unmask]
> > Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
> > Breisacher Str. 64 Fax 49(0)761-270-5416
> > 79106 Freiburg
> >
> >
>
>
>
>
--
Volkmar Glauche
-
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg
|