easier. 

Can you inflate until you get the sphere?

2011/4/28 Bruce Fischl <fischl@nmr.mgh.harvard.edu>
or you can save snapshots from mris_inflate with

mris_inflate -w 1 -scale 1 ...

then render each of the resulting surfaces.
cheers,
Bruce


On Thu, 28 Apr 2011, Pedro Paulo de Magalhães Oliveira Junior wrote:

Some months ago it was asked in this list how to make a Movie of he process
of the inflation of the brain.

Some hints:

Create this tcl script and name it as script.tcl:

for {set x 0} {$x<120}  {incr x} {
 set r [expr (round(1.2*$x + 3))]
 shrink $r
 redraw
 save_tiff ${x}-img.tif
}
exit

Then use the commands:
tksurfer bert lh pial -annotation aparc.annot -tcl script.tcl
ffmpeg -r 15 -b 2500 -sameq -i %d-img.tif videoOutput.mp4


You can check the results at:
http://www.youtube.com/watch?v=aj-d8PZMXt8



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.