or, even better, use the Volumes Toolbox again. There is "Single
Volumes->Extract Data from ROI". You can also use this from CheckReg
context menu (even in combination with ROIs defined by ROI tool).
Am Freitag, den 04.04.2008, 14:21 +0100 schrieb Will Penny:
> Dear Tim,
> Tim Hahn wrote:
> > Dear SPMers,
> > I would like to retrieve the betas for an area of which a have a mask. How
> > could I get these betas?
> > Additionally: is there a list of which data is stored in which workspace
> > variable in SPM5?
> The betas are stored in images in the directory in which you did the
> analysis eg. beta_0001.img is an image of the first regression
> You can use the display button in SPM, load these images, type in the
> relevant co-ordinates and see the beta value ('intensity:').
> For lots of voxels you could link to the file from the matlab workspace eg.
> then create a list of N voxels you want to look at
> by specifying their locations in a 3 x N XYZ matrix
> eg. XYZ(:,1)=[-20,-20,5) % first voxel location
> XYZ(:,2)=[-20,20,5) % second voxel location
> then get the beta values
> > beta=spm_get_data(V,XYZ)
> Using similar principles you could create the XYZ list automatically
> by loading in a mask image. Getting all the data from a large range of
> voxels, then eliminating those voxels not in the mask. Or perhaps
> someone else has already written this piece of code !
> > Thanks in advance!
> > Kind regards,
> > Tim
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 http://fbi.uniklinik-freiburg.de/