MICA-MNI / micapipe

micapipe from the Multimodal imaging and connectome analysis lab (http://mica-mni.github.io) at the Montreal Neurological Institute. Read The Docs documentation below
http://micapipe.readthedocs.io
GNU General Public License v3.0
86 stars 29 forks source link

equipotential surfaces through WM #84

Closed jordandekraker closed 1 year ago

jordandekraker commented 1 year ago

made the basic functions to 1) solve a Laplace field and 2) translate surfaces inward along that field (maintining vertex correspondence)

TODO:

jordandekraker commented 1 year ago

This is working well new as long as depths are relatively low. Greater depths will require more iterations from laplace_surf_interp.py, but running only with a few iterations for test cases highlight an issue: image Green is the original surface, yellow orange and red are 0.1, 0.2, and 0.3 fractions inward surfaces. The red surface leaves little "sticks" up in gyri, which will eventually get pushed down with added iterations but the vertices below these "sticks" will be all bunched up together. I think this is still the best behaviour, since shifting all other vertices to accommodate equal face sizes would throw off the vertex-correspondence to the original surface. I just wanted to leave a note about it though.

Also @rcruces have a look at:

Other than those, i think we're good to go here! keep me posted if anything looks funny