Spaces:
Running
Running
Vemund Fredriksen
commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,2 +1,25 @@
|
|
| 1 |
-
#
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Automatic lung tumor segmentation
|
| 2 |
+
This repository offers a proof of concept release of an automatic lung tumor segmentation method given a CT scan. Pre-trained weights are available for anyone to use. The repository structure is inspired by [Johannes Hofmanninger's lungmask repo](https://github.com/JoHof/lungmask), and part of the preprocessing pipeline is based on his lungmask release.
|
| 3 |
+
|
| 4 |
+
## Dependencies
|
| 5 |
+
In addition to the python packages specified in requirements.txt, [PyTorch](https://pytorch.org/get-started/locally/) and [Hofmanninger's lungmask](https://github.com/JoHof/lungmask) must be installed.
|
| 6 |
+
|
| 7 |
+
## Installation
|
| 8 |
+
```
|
| 9 |
+
|
| 10 |
+
pip install git+https://github.com/VemundFredriksen/LungTumorMask
|
| 11 |
+
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
## Usage
|
| 15 |
+
When the package is installed through pip, simply specify the input and output filenames.
|
| 16 |
+
```
|
| 17 |
+
# Format
|
| 18 |
+
lungtumormask input_file output_file
|
| 19 |
+
|
| 20 |
+
# Example
|
| 21 |
+
lungtumormask patient_01.nii.gz mask_01.nii.gz
|
| 22 |
+
|
| 23 |
+
```
|
| 24 |
+
## Limitations
|
| 25 |
+
This repository is a proof of concept. It is not intended to be used in clinical or commercial use. However, it might be interesting for research, play a role as a baseline, or even aid semi-supervised lung tumor segmentation.
|