-
|
Dear BrainVISA experts, I am hoping to play around with the depth profile for each sulcus, getting the full list of values for the hull junction points geodesic distances to the bottom points. My end goal is to get these points for all folds with a given sulcus label, and compute the standard deviation or MAD for this depth profile array. Is there any way to get an array for all depth values along a sulcus in python? I am wondering if the function in learn_orientation_prior.py is of use here: Thank you again for your assistance! Any point in the right direction is much appreciated. All the best, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
|
Hi Will, |
Beta Was this translation helpful? Give feedback.
-
|
At the first glance I don't see what's different from what we do. We actually record depth values for every bottom voxel, as you are doing. Thus it would need to test things throughly to understand. In the C++ source code of which looks pretty similar to what you are doing in python. Here |
Beta Was this translation helpful? Give feedback.
-
|
That's weird. When I run your code on an example for me, I actually get the same values. Are you sure your graph is up-to-date ? Haven't you recomputed the skeleton without recomputing the graph ? Or can you try using the brainvisa process "morphologist/sulci/graphmanipulations/compute cortical graph upgrade from old" ? |
Beta Was this translation helpful? Give feedback.
-
What exactly do you want to do ? Modify the C++ code to store individual depth values for each bottom voxel ? That would need to modify the C++ source code and recompile it. It is possible as a developer install, but not on a binary "user" distribution. For this, look at https://dev.brainvisa.info, but I don't think this is necessary at this time. Note that I'm on vacation this evening, for a month, so I won't be able to help you during the next month... |
Beta Was this translation helpful? Give feedback.
Hi Will,
Yes this is the way we compute depths maps for the sulci. Using this function will provide the geodesic depths from the brain hull to the bottom of sulci. Then you can get the depth values on the points you need (like bottom voxels for a given sulcus, or each sulcus) to do the stats.
Denis