Closed NathanMolinier closed 1 week ago
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
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 ?