Connectome visualization

Hi @jdtournier ,
Happy New Year.
I hope you are doing great. Thanks a lot for your prompt response always.
I am trying to visualize connectome. I learned that I could get nodes from labelconvert

Mesh could be generated from label2mesh

I am wondering how to get edges and surfaces. How can I get the matrix file for edge visualization? Would you please help me understand these? I would like to get image like this.
Screen Shot 2023-01-03 at 9.55.33 PM

Many Thanks,


Hi @suren,

The matrix file is simply the output of tck2connectome. You just need to make sure the labelling scheme matches those used in the connectome generation (i.e. use the output of labelconvert in tck2connectome). The BATMAN tutorial does a great job of showing how this all work, I recommend you have a look through that.

All the best,

1 Like