Hi, Check the -w option for the fslstats tool. This should exactly output what you need, e.g. fslstats binVOI -w | cut -d' ' -f4 good luck, wolf On 25/10/11 15:29, Moran Artzi wrote: > Dear experts, > Is it possible to calculate binary VOI length in a given axis (Y) in FSL command line environment? > > Thanks a lot > Moran