Hi,
Does the image structural_bet_pve_1 look correct when loaded into
FSLView?
If so, what do you get when you run:
$FSLDIR/bin/fslstats structural_bet_pve_1 -V
in the terminal?
All the best,
Mark
On 8 Jun 2009, at 19:57, Massieh Moayedi wrote:
> Thanks for your prompt response.
> I get that vol is an undefined variable. How does one define them?
>
>
> On 7 Jun 2009, at 21:49, Massieh Moayedi wrote:
>
>> Hi,
>>
>> I can't get the following script to work. I keep getting an
>> "undefined
>> variable' error message. Any ideas?
>>
>> vol=`$FSLDIR/bin/fslstats structural_bet_pve_1 -V | awk '{print
>> $1}'`
>> mean=`$FSLDIR/bin/fslstats structural_bet_pve_1 -M`
>> tissuevol=`echo "$mean * $vol" | bc -l`
>> echo $tissuevol
>>
>> Does it need to be preceded by anything?
>>
>> Any help is greatly appreciated.
>>
>> Thanks,
>>
>> Massih
|