spinalcordtoolbox / disc-labeling-benchmark

Development of a disc labeling benchmark on MRI images
GNU Lesser General Public License v2.1
1 stars 0 forks source link

Improve `gather_data.py` to deal with more complex BIDS datasets #6

Closed NathanMolinier closed 1 year ago

NathanMolinier commented 1 year ago

Description

This PR was created to improve the robustness of the script gather_data.py. This script is now able to deal with the presence of sessions in the BIDS dataset.

Some refactoring was also done.

It is also now possible to copy segmentation files to avoid unecessary use of sct_deepseg_sc in the benchmark. The ability to select manual segmentation will also improve the benchmark results thanks to more accurate projections on the spinal cord.