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.
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
.