8000 Inner/outer meshes with corresponding vertices · Issue #114 · nighres/nighres · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Inner/outer meshes with corresponding vertices #114

8000
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

Open
Gilles86 opened this issue May 1, 2019 · 3 comments
Open

Inner/outer meshes with corresponding vertices #114

Gilles86 opened this issue May 1, 2019 · 3 comments

Comments

@Gilles86
Copy link
Contributor
Gilles86 commented May 1, 2019

Hey guys,

I was wondering: I would like to use nighres to make surface meshes that I can use in pycortex.

However, their infrastructure is based on Freesurfer, which makes it necessary that the vertices of the pial mesh have corresponding vertices on the white matter mesh. Am I correct to think that using the levelset-approach of nighres this cannot work?

Cheers,
Gilles

@piloubazin
Copy link
Member

Actually, you can use a similar formatting, the first new module of nighres' first version did just that. I'll check on the code and add it to the next version. Basically (if you want to write it yourself), you sample profiles from surface vertices and just copy the topography. Note that FS does it differently, adding a lot of tangential movement to make the mesh nicer..

@Gilles86
Copy link
Contributor Author
Gilles86 commented May 3, 2019

Note that FS does it differently, adding a lot of tangential movement to make the mesh nicer..

Yes. Bruce Fischl gave a nice talk about this on the "Brain in Depth" workshop in Leipzig last Monday. They are now experimenting with 'vector fields' rather than use the Laplacian profile.

Basically (if you want to write it yourself), you sample profiles from surface vertices and just copy the topography.

I'd be happy to try this, but could you give a little bit more detail?

@piloubazin
Copy link
Member
piloubazin commented May 6, 2019

In nighresjava there is a LaminarProfileMeshing function, which does exactly what you want. It takes a surface mesh (point coordiantes, triangles) and the layer surface image from the volumetric layering and outputs a family of meshes at the corresponding depths, all with the same topology.
See if you can write the nighres wrapper for it (to be called "laminar_meshing.py"), it should be very similar to the laminar_profiling.py
Then I can help you debug if there's more complicated problems ;)

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

2 participants
0