Re: [Freesurfer] tcl script - rotate and save graphics

2006-02-27 Thread Darren Weber
Hi Kevin, I tried this alterate command, however, the main window continues to display the orig surface, given tksurfer -subjid rh orig It doesn't automatically update the view for the new data in $field. Using the 'UpdateAndRedraw' command and the 'redraw' commands do not change the surf

Re: [Freesurfer] tcl script - rotate and save graphics

2006-02-27 Thread Darren Weber
Hi Kevin et al, it's great to have these options for scripting. I want to loop over subjects. Will read_surface_vertex_set work in this context? I can't see that it provides a way to change the subjid. I'm trying to do this: ## # BEGI

Re: [Freesurfer] tcl script - rotate and save graphics

2006-02-27 Thread Kevin Teich
Sorry, there's no way to change the resolution of the TIFF images. However, we don't supersample when taking screen shots, so just make the window as big as you can, take the TIFF, and then you can use an image conversion program to change the DPI. I don't think you want to use read_binary_surf.

Re: [Freesurfer] tcl script - rotate and save graphics

2006-02-27 Thread Darren Weber
Hi Daniel et al., thanks for the rotate and save_tiff script. I've installed the dev version (redhat 9 download onto Debian sarge) and the script works well. I would like to set the resolution of the .tif output files (eg, 600 dpi), can we do that? I have a problem when using a label in t

Re: [Freesurfer] tcl script - rotate and save graphics

2006-02-22 Thread Daniel Goldenholz
Hi Darren and other Freesurfers I wrote a tcl script to do just what was described. The one I made gives the flexibility to name the tiff files based on a prefix that you specify before running the script. This way you run the same exact script for as many pictures as you like, simply changing

Re: [Freesurfer] tcl script - rotate and save graphics

2006-02-22 Thread Kevin Teich
If you are using a recent dev version of tksurfer, then try the function: save_tiff If you enter this into the shell and it doesn't work, then you have an older version. Our new release will have this function. There is (finally) some documentation for scripting commands in tksurfer, although

[Freesurfer] tcl script - rotate and save graphics

2006-02-21 Thread Darren Weber
Hi Bruce etal, I would like a short tcl script to rotate each hemisphere through all the main views (lateral, medial, dorsal, ventral, anterior, posterior) and output a graphics file with the name of the subject and the view in the file name. I've found rotate_brain_[xyz] and save_rgb, but th