This project focuses on multiclass brain tumor segmentation using 3D MRI T2-weighted images. We employ a 3D-UNet architecture to segment four distinct classes within brain MRI 3D scans, utilizing the BraTS2020 Dataset from Kaggle. \ \ Date: July 2023
The dataset consists of 3D MRI T2-weighted scans from the BraTS2020 Dataset, available on Kaggle. These images are used for multiclass (4 classes) brain tumor segmentation.
Figure 1: Sample MRI slices showing different tumor classes
We utilize a 3D-UNet model architecture for multiclass segmentation. This architecture is particularly well-suited for 3D medical imaging data as it can effectively capture and utilize spatial information in all three dimensions.
Figure 2: 3D-UNet model architecture
Spatial Information: 3D-UNet is designed to process volumetric data, making it ideal for 3D MRI scans. It preserves and utilizes spatial information in all three dimensions, which is crucial for accurate tumor segmentation.
Skip Connections: The architecture includes skip connections that combine low-level and high-level features, allowing for more precise localization of tumors.
Depth: The model's depth allows it to learn hierarchical features, from simple edges to complex tumor patterns.
Efficiency: Despite working with 3D data, the model is relatively efficient due to its U-shaped structure and the use of max-pooling operations.
Our model achieved the following performance metrics:
To improve model generalization and performance, we applied the following data augmentation techniques:
Figure 5: MRI Data Augmentation
To better understand the 3D nature of our data and results, we provide various visualization techniques:
Figure 6: 3D visualizations of segmented tumor
Figure 7: Animated GIFs showing MRI slices
Figure 8: 2D montage of key MRI slices
To use this project, follow these steps:
Clone the repository:
git clone https://github.com/Thunderhead-exe/Multiclass-Brain-Tumor-Segmentation-3D-MRI.git
Follow the provided notebook
Note: The trained model is provided too, feel free to experiment!
We welcome contributions to improve this project. Please feel free to submit issues, feature requests, or pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.