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