Re: [Freesurfer] mris_convert exporting parcellation per vertex

2011-10-08 Thread Michael Waskom
If you know Python, you can likely do this pretty easily with tools from the PySurfer package: http://pysurfer.github.com/ (Check out surfer.io.read_annotation). If you're just using the io routines, you won't need the somewhat heavy Mayavi visualization dependencies. You should be able to read

Re: [Freesurfer] mris_convert exporting parcellation per vertex

2011-10-08 Thread Bruce Fischl
it wouldn't be that hard to put something together if you want to avoid matlab. Spec out what you need and send me a sample, maybe on Bert Bruce On Sat, 8 Oct 2011, Pedro Paulo de Magalhães Oliveira Junior wrote: Thanks. I suppose I can't do this without matlab. Right? -- iOS 5.0 Em 08/10

Re: [Freesurfer] mris_convert exporting parcellation per vertex

2011-10-08 Thread Pedro Paulo de Magalhães Oliveira Junior
Thanks. I suppose I can't do this without matlab. Right? -- iOS 5.0 Em 08/10/2011, às 19:29, Bruce Fischl escreveu: > there is a write_annotation.m file you can use > On Sat, 8 Oct 2011, Anderson Winkler wrote: > >> ops, it seems the comments inside the dpxwrite.m no longer reflect what it >>

Re: [Freesurfer] mris_convert exporting parcellation per vertex

2011-10-08 Thread Bruce Fischl
there is a write_annotation.m file you can use On Sat, 8 Oct 2011, Anderson Winkler wrote: ops, it seems the comments inside the dpxwrite.m no longer reflect what it does. You probably don't need this, but anyway, the version attached is more up-to-date. Anderson On 08/10/11 17:28, Anderson

Re: [Freesurfer] mris_convert exporting parcellation per vertex

2011-10-08 Thread Anderson Winkler
ops, it seems the comments inside the dpxwrite.m no longer reflect what it does. You probably don't need this, but anyway, the version attached is more up-to-date. Anderson On 08/10/11 17:28, Anderson Winkler wrote: Hi Pedro, There is probably a way to do that using FS tools from the command

Re: [Freesurfer] mris_convert exporting parcellation per vertex

2011-10-08 Thread Anderson Winkler
Hi Pedro, There is probably a way to do that using FS tools from the command line, but the attached script should do the same. The result is a "data-per-vertex" file, which is the same as the .asc files from mris_convert. There is no geometry input, hence the vertex coordinates are all set to

[Freesurfer] mris_convert exporting parcellation per vertex

2011-10-08 Thread Pedro Paulo de Magalhães Oliveira Junior
I need to create a file where I have the parcellation value (structure name) per vertex. I've tried mris_convert --annot /Applications/freesurfer/subjects/bert/label/lh.aparc.annot /Applications/freesurfer/subjects/bert/surf/lh.pial parc.asc But I get the error: ERROR: unknown file annot file typ

Re: [Freesurfer] warped flat occip patches and fieldsign maps

2011-10-08 Thread Bruce Fischl
Hi Michelle if you visualize your cuts on the inflated surface by loading the patch into tksurfer, then clicking the "I" button. you can see that the cut down the calcarine doesn't reach either the occipital pole or the end of the patch. This makes it impossible for the flattening to find a so