Print

Print


Hi Moran,
in shell scripts you can use a command like
min=`fslstats $file -R  | awk '{print $1}'`
to take the first column of the output (you can also generalize it to any column, simply by changing $1 to $whatever-number-you-want)
i.e.,
max=`fslstats $file -R  | awk '{print $2}'`

2009/10/11 Moran Artzi <[log in to unmask]>
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



--
G. Salimi-Khorshidi,
D.Phil. Student, Dept. of Clinical Neurology, University of Oxford.
[log in to unmask]    http://www.fmrib.ox.ac.uk/~reza
FMRIB Centre, John Radcliffe Hospital,
Headington, Oxford,  OX3 9DU
Tel: +44 (0) 1865 222466  Fax: +44 (0)1865 222717