Hi, I am astonished to hear that one can do sophisticates further calculations with Excel that is worth this effort. I think, R (http://cran.r-project.org/) brings all statistical tools one can think of for free and runs also well with Linux. The same can be said about Python tools (http://nipy.sourceforge.net/, http://numpy.scipy.org/, http://www.scipy.org/). This makes scientific life more enjoyable. Anyway, if you need a more convenient way to get the data in an Excel convenient format, you can maybe include this in a script subsequent to fslmeants. First you need to remove the first three lines containing the coordinates: tail -n +3 voxeldata.txt > corr_voxelTS.txt Afterwards you can convert this text file to the desired format. I am aware of two options to convert a text file to Excel format. Maybe one is working for you. ssconvert is part of gnumeric (free Excel replacement): http://linuxcommand.org/man_pages/ssconvert1.html perl tool: http://freecode.com/projects/writeexcel Have fun, wolf On 07/28/2012 03:11 AM, zhang mingxia wrote: > Hi Wolf, > > Thanks so much! That is what I wanted, except that the data in .txt > files are not convenient to be input into excel in Windows system for > further calculation :-). > > Mingxia > > On Fri, Jul 27, 2012 at 3:27 PM, wolf zinke <[log in to unmask] > <mailto:[log in to unmask]>> wrote: > > 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 > >