|
a |
|
b/README.md |
|
|
1 |
# CT Lung Segmentation |
|
|
2 |
|
|
|
3 |
This repository contains the codes for lung and airway segmentation from CT scans, used in "Discriminative Localization in CNNs for Weakly-Supervised Segmentation of Pulmonary Nodules", [MICCAI'17](https://arxiv.org/abs/1707.01086). |
|
|
4 |
|
|
|
5 |
## Files |
|
|
6 |
|
|
|
7 |
* ```demo_ct_lung_segment.ipynb```: demo code to walk through the steps implementated in ```main.py```. |
|
|
8 |
* ```main.py```: main code of the segmentation. |
|
|
9 |
* ```segment_lung.py```: coarse segmentation of lung & airway. |
|
|
10 |
* ```segment_airway.py```: extraction of airway. |
|
|
11 |
* ```utils.py```: utility functions. |
|
|
12 |
* ```data```: input sample. |
|
|
13 |
* ```result```: output sample. |
|
|
14 |
|
|
|
15 |
***Note***: the sample image is down-sampled from a CT scans in the [LIDC-IDRI](http://doi.org/10.7937/K9/TCIA.2015.LO9QL9SX) dataset. |
|
|
16 |
|
|
|
17 |
## Requirements |
|
|
18 |
|
|
|
19 |
* numpy |
|
|
20 |
* nibabel |
|
|
21 |
* scipy |
|
|
22 |
* scikit-image |
|
|
23 |
|
|
|
24 |
## Usage |
|
|
25 |
|
|
|
26 |
``` |
|
|
27 |
$ git clone https://github.com/wanwanbeen/ct_lung_segmentation |
|
|
28 |
$ cd ct_lung_segmentation |
|
|
29 |
$ python main.py |
|
|
30 |
``` |