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

How to use the code under python/deepsulci? #12

Open
lzhzju opened this issue Jun 13, 2024 · 1 comment
Open

How to use the code under python/deepsulci? #12

lzhzju opened this issue Jun 13, 2024 · 1 comment

Comments

@lzhzju
Copy link

lzhzju commented Jun 13, 2024

Thank you for your amazing work. I would like to know how to use the code under python/deepsulci to perform sulci recognition on my own brain data?

@denisri
Copy link
Collaborator

denisri commented Jun 14, 2024

Hi,
You normally don't use deepsulci alone, because it's used as a step in the long Morphologist processing pipeline. Deepsulci performs sulci identification, but takes as input the preprocessed data which result from the full segmentation pipeline, so you can't run it on raw images.
If you are interested in how this step works, there is a bit of doc here:
https://brainvisa.info/morpho-deepsulci/dev_doc/
and the easiest starting point is the _run_process() method of the sulci labeling process here:
https://github.com/brainvisa/morpho-deepsulci/blob/master/python/deepsulci/sulci_labeling/capsul/labeling.py

Now if what you want is to run the full Morphologist pipeline from a script/program, the easiest way is to call the command axon-runprocess with appropriate parameters, but it is also possible to call the python API. See:
https://brainvisa.info/axon/dev_doc/

Denis

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