Hi Satra,
At 12:17 PM 6/27/2005 -0400, Satrajit Ghosh wrote:
>Is there a script or spm function, such as: spm_eval(@func,V,V0), that
>allows one to evaluate functions on corresponding voxels from several
>volumes (V) and write the output as (V0)? 'func' is a function or
>script that expects a matrix the length of whose first dimension is
>the length of V.
>
>e.g., spm_eval(@mean,V,V0);
>
>Thought I would ask before writing one.
You can actually do that by writing a script for ImCalc. It's quite simple
to do. The details are on John's Gem at
http://www.sph.umich.edu/~nichols/JohnsGems2.html#Gem8
Good luck!
-Satoru
Satoru Hayasaka ==============================================
Post-Doctoral Fellow, MR Unit, UCSF / VA Medical Center
Email: shayasak_at_itsa_dot_ucsf_dot_edu Phone:(415) 221-4810 x4237
Homepage: http://www.umich.edu/~hayasaka
==============================================================
|