Hi Andrew,
Regarding to this issue - one more question
I need to calc the following option:
Calculate image mean + standard deviation value (fslatats -M and -S option) and then threshold the original image with Mean value +/- 2 std
(falmath Orig_Imge -thr <-2*S-M values> -uthr <2*S-M values> Threshold_Image)Any suggestions?
Thanks
Moran
On Mon, Nov 23, 2009 at 8:18 PM, Andrew Jahn <[log in to unmask]> wrote:
Try using the backwards quotes (the upper left of the keyboard) to capture the output and use it in the command. For example,
fslmaths image1 -sub `fslstats image2 -M` outputImage
Is this what you wanted to do?
-Andrew
2009/11/23 Moran Artzi <[log in to unmask]>
Hi
I'm trying to read fslstats results from the command line and to use in as a
values for fslmath.
For example:
Calculate image mean value (fslatats -M option) and then subtract from each
voxel of the original image (falmath -sub <value> OrigImge)
Any suggestions how its can be done?
Many thanks
Moran