Dear Zhimin,
I think the answer should already be in the list archives - but here it is
again: you may use spm_sample_vol or spm_slice_vol or (for whole volumes
even easier) spm_read_vols.
Volkmar
On Mon, 4 Sep 2006, #WANG ZHIMIN# wrote:
> Thank you so much.
>
> I got the package and reading them now. Have you used any high level
> function to extract the voxels from 1 volume?
>
> I want to extract all the voxels (some certain intensity threshold
> values) and their corresponding position into a vector. Do you know how
> I can program this with SPM5?
>
> Regards,
> Zhimin
>
> -----Original Message-----
> From: Volkmar Glauche [mailto:[log in to unmask]]
> Sent: Friday, September 01, 2006 3:11 PM
> To: #WANG ZHIMIN#
> Subject: RE: [SPM] How to read voxel depends on TPM threadshold value?
>
> On Fri, 1 Sep 2006, #WANG ZHIMIN# wrote:
>
> > I cannot locate the files you mentioned. Could you help?
>
> It might be worthwile to surf around the SPM home page to get an idea
> what
> other SPM related software and resources are available and where to
> download more information. The SPM extensions page has a link...
>
> Volkmar
>
> >
> > Actually, I want to extract some voxels as feature vector to input to
> a
> > SVM classifier. But I cannot find any example to do this? Do you have
> > any experience about this?
> >
> > Thank you so much, and sorry for so many questions.
> >
> > Regards,
> > Zhimin
> >
> > -----Original Message-----
> > From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
> > On Behalf Of Volkmar Glauche
> > Sent: Thursday, August 31, 2006 5:30 PM
> > To: [log in to unmask]
> > Subject: Re: [SPM] How to read voxel depends on TPM threadshold value?
> >
> > Dear Zhimin,
> >
> > you should try the Volumes toolbox and the Extract+Plot data plugin to
> > the
> > CheckReg context menu - if you are using SPM5, this is both contained
> in
> >
> > the latest toolbox download. There, you can select a
> > region/blobs/current
> > point etc. and extract data from this location from multiple images.
> If
> > you are interested in how to program this, have a look at the
> > tbxvol_extract.m file in the Volumes toolbox.
> >
> > Volkmar
> >
> > On Thu, 31 Aug 2006, #WANG ZHIMIN# wrote:
> >
> > > Dear all,
> > >
> > >
> > >
> > > I wanna extract some voxels from the 3D volume to form a feature
> > vector
> > > based on TPM threshold value. Any one knows how to do this? I cannot
> > > find any information about how to use spm functions. Any sample
> script
> > > to show?
> > >
> > >
> > >
> > > Thank you,
> > >
> > > Zhimin
> > >
> > >
> >
> >
>
>
--
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
|