Closed valosekj closed 1 year ago
This PR adds a feature that creates an empty mask if segmentation does not exist. This is useful, for example, when creating MS lesion segmentations from scratch.
Please, could you double-check especially the part of the code responsible for empty mask creation: https://github.com/spinalcordtoolbox/manual-correction/blob/bba77adbb97f28fa68c5c13a4b81e69a8e547331/utils.py#L254-L264
Fixes https://github.com/spinalcordtoolbox/manual-correction/issues/4
Thank you for reviewing! I addressed your comments. --> merging
This PR adds a feature that creates an empty mask if segmentation does not exist. This is useful, for example, when creating MS lesion segmentations from scratch.
Please, could you double-check especially the part of the code responsible for empty mask creation: https://github.com/spinalcordtoolbox/manual-correction/blob/bba77adbb97f28fa68c5c13a4b81e69a8e547331/utils.py#L254-L264
Fixes https://github.com/spinalcordtoolbox/manual-correction/issues/4