All Projects → IAmSuyogJadhav → Brainy

IAmSuyogJadhav / Brainy

Licence: other
Brainy is a virtual MRI analyzer. Just upload the MRI scan file and get 3 different classes of tumors detected and segmented. In Beta.

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to Brainy

Brain-MRI-Segmentation
Smart India Hackathon 2019 project given by the Department of Atomic Energy
Stars: ✭ 29 (+0%)
Mutual labels:  mri, medical-imaging, segmentation, unet, brain-imaging, keras-tensorflow, brain-tumor-segmentation
mri-deep-learning-tools
Resurces for MRI images processing and deep learning in 3D
Stars: ✭ 56 (+93.1%)
Mutual labels:  mri, medical-imaging, segmentation
Open Solution Data Science Bowl 2018
Open solution to the Data Science Bowl 2018
Stars: ✭ 159 (+448.28%)
Mutual labels:  medical-imaging, segmentation, unet
subpixel-embedding-segmentation
PyTorch Implementation of Small Lesion Segmentation in Brain MRIs with Subpixel Embedding (ORAL, MICCAIW 2021)
Stars: ✭ 22 (-24.14%)
Mutual labels:  mri, medical-imaging, segmentation
Segmentation models
Segmentation models with pretrained backbones. Keras and TensorFlow Keras.
Stars: ✭ 3,575 (+12227.59%)
Mutual labels:  segmentation, unet, keras-tensorflow
Medicalzoopytorch
A pytorch-based deep learning framework for multi-modal 2D/3D medical image segmentation
Stars: ✭ 546 (+1782.76%)
Mutual labels:  medical-imaging, segmentation, unet
Keras Unet
Helper package with multiple U-Net implementations in Keras as well as useful utility tools helpful when working with image semantic segmentation tasks. This library and underlying tools come from multiple projects I performed working on semantic segmentation tasks
Stars: ✭ 196 (+575.86%)
Mutual labels:  segmentation, unet, keras-tensorflow
Data Science Bowl 2018
End-to-end one-class instance segmentation based on U-Net architecture for Data Science Bowl 2018 in Kaggle
Stars: ✭ 56 (+93.1%)
Mutual labels:  medical-imaging, segmentation, unet
dicomifier
A medical image converter
Stars: ✭ 22 (-24.14%)
Mutual labels:  mri, medical-imaging
Skin Lesion Detection Deep Learning
Skin lesion detection from dermoscopic images using Convolutional Neural Networks
Stars: ✭ 48 (+65.52%)
Mutual labels:  medical-imaging, segmentation
bidscoin
BIDScoin converts your source-level neuroimaging data to BIDS
Stars: ✭ 75 (+158.62%)
Mutual labels:  mri, brain-imaging
Miscnn
A framework for Medical Image Segmentation with Convolutional Neural Networks and Deep Learning
Stars: ✭ 194 (+568.97%)
Mutual labels:  medical-imaging, segmentation
Medical Transformer
Pytorch Code for "Medical Transformer: Gated Axial-Attention for Medical Image Segmentation"
Stars: ✭ 153 (+427.59%)
Mutual labels:  medical-imaging, segmentation
DARTS
Code for DARTS: DenseUnet-based Automatic Rapid Tool for brain Segmentation
Stars: ✭ 61 (+110.34%)
Mutual labels:  medical-imaging, unet
Kiu Net Pytorch
Official Pytorch Code of KiU-Net for Image Segmentation - MICCAI 2020 (Oral)
Stars: ✭ 134 (+362.07%)
Mutual labels:  medical-imaging, segmentation
ANTsR
Advanced Normalization Tools in R
Stars: ✭ 101 (+248.28%)
Mutual labels:  mri, segmentation
Brain-Tumor-Segmentation
Attention-Guided Version of 2D UNet for Automatic Brain Tumor Segmentation
Stars: ✭ 125 (+331.03%)
Mutual labels:  mri, brain-tumor-segmentation
SemiDenseNet
Repository containing the code of one of the networks that we employed in the iSEG Grand MICCAI Challenge 2017, infant brain segmentation.
Stars: ✭ 55 (+89.66%)
Mutual labels:  mri, medical-imaging
brainGraph
Graph theory analysis of brain MRI data
Stars: ✭ 136 (+368.97%)
Mutual labels:  mri, brain-imaging
MRQy
MRQy is a quality assurance and checking tool for quantitative assessment of magnetic resonance imaging (MRI) data.
Stars: ✭ 58 (+100%)
Mutual labels:  mri, medical-imaging

Brainy

The virtual MRI Analyzer


Preview


A screenshot of the project interface

Installation Instructions

  1. Clone this repository

    git clone https://github.com/IAmSuyogJadhav/Brainy.git

    or Download and then extract its contents.

  2. Download the model from here and put the file inside app/static/models/ folder. Do not change the name (It should be Model_1.h5).

  3. From the root folder of te repository, run:

pip3 install -r requirements.txt

to install ll the dependencies. Note that this project is based on python3.

  1. Start the app using following command, when in the main folder:

    flask run

    It may take a while.

  2. Now open your browser and navigate to http://localhost:5000 and follow the instructions. It is recommended to have a Nvidia GPU, since it can speed up the prediction task manifolds.

Sample MRI scans

There are 2 sample cases from the BraTS2018 dataset insides the samples/ directory. You can use them to quickly test the app. These cases also contain a file (named in the format xxx_seg.nii.gz) that shows the ground truth segmentation map for that case.

Project Overview

MRI is a very popular technique to detect tumours. MRI creates cross-section pictures of your insides. But MRI uses strong magnets to make the images – not radiation. An MRI scan takes cross-sectional slices (views) from many angles, as if someone were looking at a slice of your body from the front, from the side, or from above your head. MRI creates pictures of soft tissue parts of the body that are sometimes hard to see using other imaging tests.MRI is very good at finding and pinpointing some cancers. An MRI with contrast dye is the best way to see brain and spinal cord tumors.

Why this Project

With a surge in the brain related ailments in the world, every year over 2,500 of the Indian children suffer from medulloblastoma, a pediatric malignant primary brain tumour which spreads through the cerebrospinal fluid (CSF) and frequently metastasize to different locations along the surface of the brain and spinal cord, doctors have said.

According to them, in India, every year 40,000-50,000 persons are diagnosed with brain tumour. Of these 20 per cent are children. Until a year ago, the figure was only somewhere around 5 per cent.

The doctors said that if the cases are detected early, then 90 per cent of the tumour cases are curable, provided the treatment protocol is followed correctly.

-Source (“The Hindu “)
  • Though the technology used in MRI seems to be quite technically advanced, for the detection of tumour in the MRI image, currently we mostly rely on human skill and expertise.

  • Although this method proves to be accurate in most of the cases, it sometimes fails when the human eye fails to detect tiny irregularities

  • In a country like India, there is a lack of skilled Oncologists and Neurologists present.

  • According to a report in 2018 , the country is facing a severe shortage of care-givers with merely 2000 Oncologists to look after around 10 Million patients.

  • The condition is much more worse in the rural areas where the count of Oncologists is much less.

Proposed Solution

Jump directly to the training notebook by clicking here

​ In order to solve this problem, we propose Brainy, our Brain MRI segmentation tool. Not only would Brainy automatise the entire process of diagnosis for tumours , but it would also help in solving out those cases which are generally missed by the human eye.

About the Dataset

​ The data that we’ve used is the BRATS dataset. This dataset contains the segmented images of the brain tissues. After the image has been segmented, there are 3 classes namely Necrotic and Non-Enhancing tumour (NCR/NET), Peritumoral Edema (ED) and GD-Enhancing tumour (ET). There are about 220 images in the training dataset.

The Model


To segment the brain MRI’s we use a popular network called U-Net. The U-Net architecture is built upon the Fully Convolutional Network and modified in a way that it yields better segmentation in medical imaging. Compared to FCN-8, the two main differences are:

1. U-net is symmetric and
2. The skip connections between the downsampling path and the upsampling path apply a concatenation operator instead of a sum.

These skip connections intend to provide local information to the global information while upsampling. Because of its symmetry, the network has a large number of feature maps in the upsampling path, which allows to transfer information. By comparison, the basic FCN architecture only had number of classes feature maps in its upsampling path.


The U-Net Model


The U-Net owes its name to its symmetric shape, which is different from other FCN variants. U-Net architecture is separated in 3 parts:

1. The contracting/downsampling path
2. Bottleneck
3. The expanding/upsampling path

Metrics


To quantify the performance of our image segmentation, Dice Score is used. The algorithm is validated by calculating the Dice score, which is a measure of how similar the objects are. So it is the size of the overlap of the two segmentations divided by the total size of the two objects. That is, the score for a particular class c is the size of the overlap between the predicted region and its true counterpart. We were able to achieve best coefficient of dice loss score 0.61 (higher the better).

Team

Gk Tejus Suyog Jadhav Udbhav Bamba

References


This project was made as part of the TCS PanIIT Conclave 2019 - Mission AI: Solve for India, a 24 hour hackathon organised at IIT Delhi, India on 19th-20th January by the PanIIT organisation, Skillenza and TCS. Our project achieved 4th rank at the same.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].