I would write a very short script to do this. Try modifying and copy-pasting
the following....
----------------------------------------------------------
V=spm_vol(spm_get(Inf,'*.img'));
x = 32;
y = 32;
z = 32;
dat = zeros(length(V),1);
for i=1:length(dat),
dat(i) = spm_sample_vol(V(i),x,y,z,0);
end;
----------------------------------------------------------
The vector dat will contain the raw data from the voxel at 32,32,32.
Best regards,
-John
On Thursday 10 May 2001 14:29, Walter S. Marcantoni wrote:
> To one and all:
> I have a very simple question. Where does one find and how does one go
> about extracting the raw data associated with a particular voxel?
>
> Walter S. Marcantoni
> Psychoneuroendocrinology Lab
> Douglas Hospital
> Verdun, Quebec
--
Dr John Ashburner.
Wellcome Department of Cognitive Neurology.
12 Queen Square, London WC1N 3BG, UK.
tel: +44 (0)20 78337491 or +44 (0)20 78373611 x4381
fax: +44 (0)20 78131420
http://www.fil.ion.ucl.ac.uk/~john
mail: [log in to unmask]
|