Skip to main content

An open-source deep learning platform for medical image computing

Project description

PyMIC: A Pytorch-Based Toolkit for Medical Image Computing

PyMIC is a pytorch-based toolkit for medical image computing with deep learning. Despite that pytorch is a fantastic platform for deep learning, using it for medical image computing is not straightforward as medical images are often with higher dimension, multiple modalities and low contrast. The toolkit is developed to facilitate medical image computing researchers so that training and testing deep learning models become easier. It is very friendly to researchers who are new to this area. Even without writing any code, you can use PyMIC commands to train and test a model by simply editing configure files.

Currently PyMIC supports 2D/3D medical image classification and segmentation, and it is still under development. It was originally developed for COVID-19 pneumonia lesion segmentation from CT images. If you use this toolkit, please cite the following paper:

Advantages

PyMIC provides some basic modules for medical image computing that can be share by different applications. We currently provide the following functions:

  • Easy-to-use I/O interface to read and write different 2D and 3D images.
  • Re-useable training and testing pipeline that can be transferred to different tasks.
  • Various data pre-processing methods before sending a tensor into a network.
  • Implementation of loss functions, especially for image segmentation.
  • Implementation of evaluation metrics to get quantitative evaluation of your methods (for segmentation).

Usage

Requirement

  • Pytorch version >=1.0.1
  • TensorboardX to visualize training performance
  • Some common python packages such as Numpy, Pandas, SimpleITK

Installation

Run the following command to install the current released version of PyMIC:

pip install PYMIC

Alternatively, you can download the source code and add the path of pymic to the PYTHONPATH environment variable.

Examples

PyMIC_examples provides some examples of starting to use PyMIC. For beginners, you only need to simply change the configuration files to select different datasets, networks and training methods for running the code. For advanced users, you can develop your own modules based on this package. You can find both types of examples

Projects based on PyMIC

Using PyMIC, it becomes easy to develop deep learning models for different projects, such as the following:

1, COPLE-Net (TMI 2020), COVID-19 Pneumonia Segmentation from CT images.

2, Head-Neck-GTV (NeuroComputing 2020) Nasopharyngeal Carcinoma (NPC) GTV segmentation from Head and Neck CT images.

3, UGIR (MICCAI 2020) Uncertainty-guided interactive refinement for medical image segmentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PYMIC-0.2.1.tar.gz (41.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page