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

Add script to generate disc labels #18

Merged

Conversation

NathanMolinier
Copy link
Collaborator

@NathanMolinier NathanMolinier commented May 7, 2024

Description

This PR brings a new script to extract discs labels from SPINEPS' vertebrae and discs segmentations. This labeling is following this convention where each label corresponds to the posterior tip of a given disc.

To simplify the use of this scrip and generate automatically the labels, would it be possible to add a flag to the main function ?

@NathanMolinier
Copy link
Collaborator Author

Note: I disabled ruff linting for the script image because ultimately, we would like to use the TPTbox instead to load the images.

This solution is therefore temporary to enable a rapid use of the script spineps/utils/generate_disc_labels.py

@Hendrik-code Hendrik-code merged commit 5505f34 into Hendrik-code:main Jun 25, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants