Anna:
Please see this page for an updated version of the function.
http://cbmg.tiddlyspot.com/#resizeimg
darren
> -----Original Message-----
> From: SPM (Statistical Parametric Mapping)
> [mailto:[log in to unmask]] On Behalf Of Anna Sarnelli
> Sent: Monday, March 05, 2007 4:34 AM
> To: [log in to unmask]
> Subject: [SPM] DATSCAN and SPM
>
> Dear all,
>
> I need to reslice some normalized image becouse I would like
> to use a software that expects 128x128 matrix. So, as
> suggested by Anna Barnes, I tried to implement the script
> reslice.m dowloaded by the John's Gems SPM extensions page,
> but it does not work.
> In fact, the script has problem with spm_create_image command
> and asks an 'hld' parameter for the interpolation method.
>
> Is there someone who uses this script?
> Is there a new version of this script?
>
> Thanks a lot!
> anna
>
> ----- Original Message -----
> From: Anna Barnes <mailto:[log in to unmask]>
> To: [log in to unmask]
> Sent: Thursday, March 01, 2007 4:11 PM
> Subject: DATSCAN and SPM
>
> Hi Anna
> I think its because your software is probably expecting
> a 128x128 or 64x64 but once the images are normalized in SPM
> they are something weird like 74x92x35 so unless you can
> change the header in the DATSCAN application you'll have to
> reslice the images in maltab. Have a look at John's Gems SPM
> extensions page for a short matlab script to do that for you.
> Good luck
> Anna
>
>
> --
> Anna Barnes, PhD
> Research Associate (+441223 764676)
>
> Brain Mapping Unit (Sir William Hardy Bldg.)
> Dept. of Psychiatry.
> University of Cambridge.
> Downing Site, Downing St.
> Cambridge, CB2 3EB
>
>
>
>
>
>
|