Code Monkey home page Code Monkey logo

few-shot-seg's Introduction

Few-shot-segmentation

A deep learning framework for brain tumor segmentation We use the BraTS 2020 dataset to verify the performance of our proposed few-shot learning architecture. Our method only utilizes two adjacent images, instead of the target image, as the input data of deep neural network to predict the brain tumor area in the target image. Avoiding noise interference in the target image, this method makes full use of the spatial context feature between adjacent slices in order to obtain accurate zero-shot segmentation results. The flowchart of our architecture can be seen as follows:

images/1.jpg

The flowchart of our novel method. (a) This is the first architecture that does not use target images for medical image segmentation as far as we know. (b) It is extremely robust to the noise in the target image. (c) Our method has lower hardware requirements, and it is easy to train.

Prerequisites

The following packages are required for executing the main code file:

NumPy http://www.numpy.org/

Pandas https://pandas.pydata.org/

Scikit-learn http://scikit-learn.org/stable/install.html

Tensorflow https://tensorflow.google.cn/

SimpleITK https://simpleitk.org/

Nibabel https://pypi.org/project/nibabel/

h5py https://pypi.org/project/h5py/

Datasets

We train the network using the training data of BraTS 2020, BraTS 2019 and BraTS 2018.

BraTS 2020 https://www.med.upenn.edu/cbica/brats2020/data.html

BraTS 2019 https://www.med.upenn.edu/cbica/brats2019/data.html

BraTS 2018 https://www.med.upenn.edu/cbica/brats2018/data.html

Prediction

We integrate data preprocessing, model and training in a python file.

After downloading the data, the file can be used to predict brain tumors.

To make predictions, run 1.0.py.

Testing

Once you get the predictions, upload them in the CBICA portal to get the performance metrics.

few-shot-seg's People

Contributors

guofei-tju avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.