Hi,
I am not entirely sure what you mean by extracting the value of every
voxel, but in principle it is the tool 'fslmeants' you are looking for:
fslmeants -i <yourdatafile> -o voxeldata.txt -m <somemask> --showall
This will output the data of each voxel columnwise as text file, with
the first three rows referring to the voxels x-, y-, and z-coordinates.
So you might use it to extract voxel values for 3D volumes as well as
for 4D volumes (please note the option '-c <x y z>' in case you only
need the data from a single voxel).
I hope this helps,
wolf
On 07/27/2012 10:58 PM, zhang mingxia wrote:
> Hello Everyone,
>
> I want to extract the value of every voxel to do some analysis. Does
> anyone know the command to extract it? Thanks in advance.
>
> Mingxia
|