Hi Cararina,
sorry, I don't think we have anything to do this in matlab. You could write a tcl script to do it automatically in tksurfer and call that from inside matlab I guess.
cheers Bruce On Tue, 9 Jul 2013, Catarina Rua wrote:
Dear freesurfer admin,
I'm writing a piece of code in matlab based on freesurfer reconstructed brains generating series of labels to an annotation file. However, I wanted to include a process similar to the existing in tksurfer options in the 'custom fill' where you can fill in all vertices up to a label border/up to included paths. I have searched on the web for a piece of matlab code that would process this, but I coulnt seem to find it. Is there any quick way to do this?
The basic idea is that I have a group of non-labeled vertices enclosed within a label, and I just want to 'fill" them with the same label as the label that surrounds it.
Thank you very much in advance. I really do hope this can be possible! Cheers! Catarina Rua
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer