spinalcordtoolbox / manual-correction

Scripts for the manual correction of spinal cord labels
MIT License
4 stars 0 forks source link

`manual_correction.py` - allow to create MS lesion from scratch #4

Closed valosekj closed 1 year ago

valosekj commented 1 year ago

Currently, manual_correction.py allows for correcting/modifying an existing MS lesion:

https://github.com/spinalcordtoolbox/manual-correction/blob/7a9dae87bbbdce97149c7b0aa78ffdfe9250db50/manual_correction.py#L403-L404

But, in some cases, it would be useful to also allow for creating an MS lesion from scratch. Such an approach would require the creation of an empty mask with the same dimension as a background image. This has already been proposed within the psir_correct_lesions.sh script --> implement this to manual_correction.py.