I suggest the following:
Min=`fslstats -R | cut -d " " -f 1`
Max=`fslstats -R | cut -d " " -f 2`
I'm sure there are multiple other ways to accomplish this, but this is how I
do it. The cut statement says, cut before the first delimitor " " for the
min and cut before the second delimitor for the max.
Peace,
Matt.
-----Original Message-----
From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf
Of Moran Artzi
Sent: Sunday, October 11, 2009 9:48 AM
To: [log in to unmask]
Subject: [FSL] fslstats min&max
Hi,
Using fslstats -R option results min intensity + max intensity outputs
Is there any option to get each one separately (in order to run its on
script)
Thanks
Moran
|