Git Product home page Git Product logo

cople-net's Introduction

COPLE-Net: COVID-19 Pneumonia Lesion segmentation network

This repository provides source code and pretrained model of COPLE-Net for COVID-19 pneumonia lesion segmentation network proposed by G. Wang et al.[1]. If you use this code or the pretrained model, please cite the following paper:

coplenet_result A segmentation example. (a) one slice of a CT volume. (b) segmentation by COPLE-Net (green) compared with the ground truth (orange). (c) 3D visualization.

coplenet_structure The structure of COPLE-Net. It employes a concatenation of max-pooling and average pooling to reduce information loss during down-sampling, and uses bridge layers to alleviate the semantic gap between features from the encoder and the decoder. ASPP block is used at the bottleneck to better deal with lesions at multiple scales.

Dataset

Based on this project, we have also released a dataset named as UESTC-COVID-19 Dataset, which consists of 120 3D CT scans, where 70 volumes were annotated by non-exerts and 50 volumes were annotated by experts. Click here to request for access.

Requirements

  • Pytorch version >=1.0.1.
  • PyMIC, a Pytorch-based toolkit for medical image computing. Install it by pip install PYMIC.
  • Some basic python packages such as Numpy, Pandas, SimpleITK.

How to use

  1. Download the pretrained model and example CT images from Google Drive or Baidu Netdisk (extract code q0ci). Put them into the folder coplenet_data.
  2. Run python net_run.py config/config.cfg. The results will be saved in coplenet_data/result.
  3. To segment COVID-19 pneumonia lesions from your own images, make sure that the images have been cropped into the lung region, and the intensity has been normalized into [0, 1] using window/level of 1500/-650. Open the configure file config/config.cfg and edit root_dir, test_csv and output_dir according to the path of your images. Then return to step 2 to obtain the segmentation results.

cople-net's People

Contributors

taigw 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.