Hi,

I am wondering if part of this process can be turned into a script:

I am forming ROIs in freesurfer using tksurfer and a long list of talairach coordinates. Here is my process:

1) I use the "select_talairach_point x y z" function, then I click the point that is highlighted on the brain from the command, and note the vertex point.
2) Once all of the talairach coordinates have been entered in with this method, the brain surface is filled with a bunch of "dots." I manually scan the brain and note which points form the boundary of the region.
3) Using the command "mark_vertex # 1", I mark the boundary vertices of this "spotted region". Once these are marked, I use the command "path_new_path_from_marked_vertices".
4) This forms a path around the boundary vertices. I use the "make closed path" button to close this boundary, then fill it in and save it as a label.

I am looking for a way to keep the list of talairach points saved in a file. I have upwards of 200 points that I need to type in continually for each subject, and I would like to bring them into tksurfer in one step (scripted, perhaps?) and have them marked on the brain surface, so I can manually proceed to find the boundary vertices, etc.etc.

I am not too concerned with scripting anything past step 1.

I would greatly appreciate any help! Thanks!


Messenger Café — open for fun 24/7. Hot games, cool activities served daily. Visit now.