Brain tumor is one of a deadly disease that needs high accuracy in identification and medical surgery. Brain tumor can be identified in MRI. We used deep learning and computer vision techniques to detect tumor in MRI images.
The dataset we will be using the data from the Decathlon 10 Challenge
- Dataset is stored in the NifTI-1 format and we will be using the NiBabel library to interact with the files.
- Each training sample is composed of two separate files:
- The first file is an image file containing a 4D array of MR image in the shape of (240, 240, 155, 4).
- The second file in each training example is a label file containing a 3D array with the shape of (240, 240, 155).
The colors correspond to each class.
- Red is edema
- Green is a non-enhancing tumor
- Blue is an enhancing tumor.
An example of a single MRI with labels visualization
An example of patch from whole mri image
For segmenting tumor in MRI we used 3D U-net as our traning model.
These are the scores achived after traning 15 epochs:
- validation soft dice loss : 0.7117
- validation dice coefficient : 0.2960
[1] https://arxiv.org/abs/1606.06650
[2] https://decathlon-10.grand-challenge.org