Skip to content
Snippets Groups Projects
Commit 0a3eb4b1 authored by Stephen Smith's avatar Stephen Smith
Browse files

*** empty log message ***

parent ed0f74b4
No related branches found
No related tags found
No related merge requests found
...@@ -150,10 +150,15 @@ if [ $nseg = 2 ] ; then ...@@ -150,10 +150,15 @@ if [ $nseg = 2 ] ; then
xb=`echo $S | awk '{print $3}'` xb=`echo $S | awk '{print $3}'`
brain=`echo "2 k $xa $xb * $vscale * p" | dc -` brain=`echo "2 k $xa $xb * $vscale * p" | dc -`
else else
if [ _$lm != _ ] ; then
${FSLDIR}/bin/avwmaths_32R $lm -bin -mul -1 -add 1 -mul ${I}_talmaskbrain ${I}_talmaskbrain
fi
${FSLDIR}/bin/fast $imtype -e -ov $@ ${I}_talmaskbrain >> ${I}.sienax 2>&1 ${FSLDIR}/bin/fast $imtype -e -ov $@ ${I}_talmaskbrain >> ${I}.sienax 2>&1
if [ _$lm != _ ] ; then if [ _$lm != _ ] ; then
${FSLDIR}/bin/avwmaths_32R $lm -bin -mul -1 -add 1 -mul ${I}_talmaskbrain_pve_1 ${I}_talmaskbrain_pve_1 ${FSLDIR}/bin/avwmaths_32R $lm -bin -max ${I}_talmaskbrain_pve_2 ${I}_talmaskbrain_pve_2
${FSLDIR}/bin/avwmaths_32SI $lm -bin -mul 3 -max ${I}_talmaskbrain_seg ${I}_talmaskbrain_seg
fi fi
echo "" >> ${I}.sienax echo "" >> ${I}.sienax
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment