You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-14Lines changed: 18 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,56 +1,60 @@
1
1
# PyMIC: A Pytorch-Based Toolkit for Medical Image Computing
2
2
3
-
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.
3
+
PyMIC is a pytorch-based toolkit for medical image computing with annotation-efficient 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 high dimension and large volume, multiple modalities and difficulies in annotating. This 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 configuration files. PyMIC is developed to support learning with imperfect labels, including semi-supervised and weakly supervised learning, and learning with noisy annotations.
4
4
5
5
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:
6
6
7
-
8
7
* G. Wang, X. Liu, C. Li, Z. Xu, J. Ruan, H. Zhu, T. Meng, K. Li, N. Huang, S. Zhang.
9
8
[A Noise-robust Framework for Automatic Segmentation of COVID-19 Pneumonia Lesions from CT Images.][tmi2020] IEEE Transactions on Medical Imaging. 39(8):2653-2663, 2020. DOI: [10.1109/TMI.2020.3000314][tmi2020]
PyMIC provides some basic modules for medical image computing that can be share by different applications. We currently provide the following functions:
13
+
# Features
14
+
PyMIC provides flixible modules for medical image computing tasks including classification and segmentation. It currently provides the following functions:
15
+
* Support for annotation-efficient image segmentation, especially for semi-supervised, weakly-supervised and noisy-label learning.
16
+
* User friendly: For beginners, you only need to edit the configuration files for model training and inference, without writing code. For advanced users, you can customize different modules (networks, loss functions, training pipeline, etc) and easily integrate them into PyMIC.
16
17
* Easy-to-use I/O interface to read and write different 2D and 3D images.
18
+
* Various data pre-processing/transformation methods before sending a tensor into a network.
19
+
* Implementation of typical neural networks for medical image segmentation.
17
20
* Re-useable training and testing pipeline that can be transferred to different tasks.
18
-
* Various data pre-processing methods before sending a tensor into a network.
19
-
* Implementation of loss functions, especially for image segmentation.
20
-
* Implementation of evaluation metrics to get quantitative evaluation of your methods (for segmentation).
21
+
* Evaluation metrics for quantitative evaluation of your methods.
21
22
22
23
# Usage
23
24
## Requirement
24
25
*[Pytorch][torch_link] version >=1.0.1
25
26
*[TensorboardX][tbx_link] to visualize training performance
26
27
* Some common python packages such as Numpy, Pandas, SimpleITK
28
+
* See `requirements.txt` for details.
27
29
28
30
[torch_link]:https://pytorch.org/
29
31
[tbx_link]:https://github.com/lanpa/tensorboardX
30
32
31
33
## Installation
32
-
Run the following command to install the current released version of PyMIC:
34
+
Run the following command to install the latest released version of PyMIC:
33
35
34
36
```bash
35
37
pip install PYMIC
36
38
```
37
-
To install a specific version of PYMIC such as 0.2.4, run:
39
+
To install a specific version of PYMIC such as 0.3.0, run:
38
40
39
41
```bash
40
-
pip install PYMIC==0.2.4
42
+
pip install PYMIC==0.3.0
41
43
```
42
44
Alternatively, you can download the source code for the latest version. Run the following command to compile and install:
43
45
44
46
```bash
45
47
python setup.py install
46
48
```
47
49
48
-
## Examples
49
-
[PyMIC_examples][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
50
+
## How to start
51
+
*[PyMIC_examples][exp_link] shows some examples of starting to use PyMIC.
52
+
*[PyMIC_doc][docs_link] provides documentation of this project.
0 commit comments