Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vertex/facewise colour from file #9

Open
drmowinckels opened this issue Sep 16, 2020 · 0 comments
Open

vertex/facewise colour from file #9

drmowinckels opened this issue Sep 16, 2020 · 0 comments

Comments

@drmowinckels
Copy link
Contributor

Currently, ggseg3d works in an unefficient way. Where each segment of the brain is its own list of faces and vertices, added to the plot in a loop, and each segments get an individual colour.

This is inefficient because:

  • loops are slow.
  • requires to keep stored the entire vertex and face list for all atlases.
  • is less flexible in terms of what type of data you can project onto the mesh surface.

Ideally, the package would store a single mesh-data object of the entire brain (like the glass brains currently are), and functions that could project colours directly to the face of the mesh.
Particularly, this should at first be developed to work by translating Freesurfer annotation files to .ply files that include colour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant