Skip to content

Commit 4046bea

Browse files
authored
Merge pull request #7 from HiLab-git/dev
Dev
2 parents 319d0de + c078d80 commit 4046bea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+4800
-5927
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This repository proivdes a library and some examples of using pytorch for medical image computing. The toolkit is under development. Currently it supports 2D and 3D image segmentation. It was originally developped for COVID-19 pneumonia lesion segmentation from CT images. If you use this toolkit, please cite the following paper:
44

55
* G. Wang, X. Liu, C. Li, Z. Xu, J. Ruan, H. Zhu, T. Meng, K. Li, N. Huang, S. Zhang.
6-
[A Noise-robust Framework for Automatic Segmentation of COVID-19 Pneumonia Lesions from CT Images.][tmi2020] IEEE Transactions on Medical Imaging. 2020. DOI: [10.1109/TMI.2020.3000314][tmi2020]
6+
[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]
77

88
[tmi2020]:https://ieeexplore.ieee.org/document/9109297
99

@@ -38,7 +38,7 @@ Go to `examples` to see some examples for using PyMIC. For beginners, you only n
3838

3939
3, `examples\prostate`: use a predefined 3D U-Net for prostate segmentation from 3D MRI.
4040

41-
4, `examples\JSRT2`: define a network by yourself for heart segmentation from X-ray images.
41+
4, `examples\JSRT2`: define your custermized network and loss function for heart segmentation from X-ray images.
4242

4343
# Projects based on PyMIC
4444
Using PyMIC, it becomes easy to develop deep learning models for different projects, such as the following:

examples/JSRT/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ mkdir result
3838
pymic_net_run test config/train_test.cfg
3939
```
4040

41-
2. Then edit `config/evaluation.cfg` by setting `ground_truth_folder_list` as your `JSRT_root/label`, and run the following command to obtain quantitative evaluation results in terms of dice.
41+
2. Then edit `config/evaluation.cfg` by setting `ground_truth_folder_root` as your `JSRT_root`, and run the following command to obtain quantitative evaluation results in terms of dice.
4242

4343
```bash
4444
pymic_evaluate config/evaluation.cfg

examples/JSRT/config/evaluation.cfg

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ metric = dice
33
label_list = [255]
44
organ_name = heart
55

6-
segmentation_folder_list = [result]
7-
segmentation_postfix =
8-
segmentation_format = png
6+
ground_truth_folder_root = /home/disk2t/data/JSRT
7+
segmentation_folder_root = result
8+
evaluation_image_pair = ./config/jsrt_test_gt_seg.csv
9+
10+
ground_truth_label_convert_source = None
11+
ground_truth_label_convert_target = None
12+
segmentation_label_convert_source = None
13+
segmentation_label_convert_target = None
14+
915

10-
ground_truth_folder_list = [/home/disk2t/data/JSRT/label]
11-
ground_truth_postfix =
12-
ground_truth_format = png
1316

14-
patient_file_names = config/jsrt_test_names.txt
1517

0 commit comments

Comments
 (0)