I am trying to compute the distance matrix for all the vertices in the fsaverage surface for a study. I wanted to know if there is a way to compute that and store in a file.
I tried using the connector work bench
“wb_command -surface-geodesic-distance fsaverage_lh_inflated.surf.gii -all-vertices distances.lh.func.gii”
as well as Freesurfer
“mris_compute -d fsaverage lh.sphere.reg lh.fsaverage.gii”
But both to no avail