2D U‐Net Framework for Multiclass Automated Segmentation of Healthy Structures, Ischemic Stroke, and Glioblastoma in the Rat Brain
Sara Ortega‐Espina, Sabela Fernández‐Rodicio, María Luz Alonso‐Alonso, Pelayo García‐Acevedo, Ana Sampedro‐Viana, Marcos Bazarra‐Barreiros, María Teresa Abengoza‐Bello, Antonio J. Mosqueira, Jacobo Porto‐Álvarez, Javier Martínez Fernández, Crhistian‐Mario Oblitas, José Castillo, Pablo Hervella, Ramón Iglesias‐ReyABSTRACT
Rodents are essential for preclinical brain disease research, including stroke, tumors, and neurodegenerative disorders. Magnetic resonance imaging (MRI) enables longitudinal brain tissue visualization, but accurate segmentation is crucial for meaningful analysis. This study introduces a multitask 2D U‐Net, a convolutional neural network designed for automated segmentation and quantification of brain regions, ischemic stroke lesions, and tumors in rats using T
2
‐weighted imaging (T
2
‐wi) and T
2
‐relaxation maps. The model was evaluated on the following three MRI datasets: (i) segmentation of multiple brain regions in healthy rats, (ii) ischemic stroke lesions using T
2
‐relaxation maps, and (iii) glioblastoma tumors using T
2
‐wi. Performance was assessed using the Dice coefficient (DC), Hausdorff distance (HD), sensitivity (SEN), and volume ratio (VR), comparing network outputs against semiautomatic ground truths and existing models. A total of 1949 images from 111 rats were analyzed, expanded to 5847 through data augmentation. After correcting an animal‐level train/test partitioning that prevented data leakage between subjects, the model achieved robust accuracy across all tasks (DC = 0.80–0.96, HD = 0.83–2.16 mm, SEN = 0.75–0.96, VR = 0.89–1.10), showing a strong correlation () with manual annotations. This framework improves segmentation accuracy, robustness, and applicability across different MRI settings and conditions, addressing issues like interrater variability and time inefficiency when analyzing rodent brain MRI data. Datasets are publicly available at