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

mindboggle for gyral crown lines #84

Open
iamjoostjanssen opened this issue Dec 1, 2016 · 1 comment
Open

mindboggle for gyral crown lines #84

iamjoostjanssen opened this issue Dec 1, 2016 · 1 comment

Comments

@iamjoostjanssen
Copy link

Hi,

This is a request. Perhaps the fundi script can somehow be tweaked to achieve this. If anybody has pointers let me know.

Thnx

@binarybottle
Copy link
Member

I believe the only two inputs to the extract_fundi() function that need to be addressed to accomplish your task are folds and depth_file.

To generate gyral crowns instead of sulci, I believe you would simply change the following line in the extract_folds() function from:
indices_deep = [i for i,x in enumerate(depths) if x >= depth_threshold]
to:
indices_deep = [i for i,x in enumerate(depths) if x < depth_threshold]

To generate crown lines instead of fundi, you might be able to get away with simply reversing the depths (depth values) in the extract_fundi() function.

Please give it a try and report back to us!

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

No branches or pull requests

2 participants