Hi Graham,
Another way is to generate your TCL on the fly, see below for a simple example:

- snip -
#!/bin/sh
outdir=/usr/people/johannes/scratch/fssubjects/pictures
mkdir -p $outdir

cd $SUBJECTS_DIR
# put your subjects here
for f in CONTROL*; do
 for hemi in lh rh; do
  echo "scale_brain 1.05
  redraw
  save_tiff ${outdir}/${f}_thickness_${hemi}.tiff
  exit" > /tmp/prettypic_$$.tcl
tksurfer $f $hemi inflated -overlay $f/surf/${hemi}.thickness -tcl /tmp/prettypic_$$.tcl
 done
done
rm /tmp/prettypic_$$.tcl
- snap -

Cheers,
Johannes
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to