Weakly supervised semantic segmentation of tomographic images in the diagnosis of stroke