Resampling Fsaverage Surface, and Creating Contiguous Null Surface Parcellations


I’m hoping to take the vertices from fsaverage, via


a (10242,) shaped array (per hemisphere) and resample that array so I get the indices where vertices are 3mm apart in geodesic distance. I’ve attached an image below of what I’d like to accomplish:


How would I go about doing this?

Furthermore, after getting this 3mm resample, I’m trying to create N random contiguous parcels to fill the whole hemisphere. These parcels would be randomly placed, but they would have to grouped together (i.e. contiguous).

Thanks for the help,