Added LICENSE and more text to README
Browse files- LICENSE.md +21 -0
- README.md +65 -1
LICENSE.md
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MIT License
|
2 |
+
|
3 |
+
Copyright (c) 2023 André Pedersen
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
+
SOFTWARE.
|
README.md
CHANGED
@@ -21,4 +21,68 @@ app_file: demo/app.py
|
|
21 |
|
22 |
**LyNoS** was developed by SINTEF Medical Image Analysis to accelerate medical AI research.
|
23 |
|
24 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
**LyNoS** was developed by SINTEF Medical Image Analysis to accelerate medical AI research.
|
23 |
|
24 |
+
</div>
|
25 |
+
|
26 |
+
## [Brief intro](https://github.com/raidionics/LyNoS#brief-intro)
|
27 |
+
|
28 |
+
This repository contains the LyNoS dataset described in ["_Mediastinal lymph nodes segmentation using 3D convolutional neural network ensembles and anatomical priors guiding_"](https://doi.org/10.1080/21681163.2022.2043778). The original pretrained model was made openly available [here](https://github.com/dbouget/ct_mediastinal_structures_segmentation). However, we have gone ahead and made a web demonstration to more easily test the pretrained model. The application was developed using [Gradio](https://www.gradio.app) for the frontend and the segmentation is performed using the [Raidionics](https://raidionics.github.io/) backend.
|
29 |
+
|
30 |
+
## [Continuous integration](https://github.com/raidionics/LyNoS#continuous-integration)
|
31 |
+
|
32 |
+
| Build Type | Status |
|
33 |
+
| - | - |
|
34 |
+
| **HF Deploy** | [](https://github.com/raidionics/LyNoS/actions) |
|
35 |
+
| **File size check** | [](https://github.com/raidionics/LyNoS/actions) |
|
36 |
+
| **Formatting check** | [](https://github.com/raidionics/LyNoS/actions) |
|
37 |
+
|
38 |
+
## [Development](https://github.com/raidionics/LyNoS#development)
|
39 |
+
|
40 |
+
### [Docker](https://github.com/raidionics/LyNoS#docker)
|
41 |
+
|
42 |
+
Alternatively, you can deploy the software locally. Note that this is only relevant for development purposes. Simply dockerize the app and run it:
|
43 |
+
|
44 |
+
```
|
45 |
+
docker build -t LyNoS .
|
46 |
+
docker run -it -p 7860:7860 LyNoS
|
47 |
+
```
|
48 |
+
|
49 |
+
Then open `http://127.0.0.1:7860` in your favourite internet browser to view the demo.
|
50 |
+
|
51 |
+
### [Python](https://github.com/raidionics/LyNoS#python)
|
52 |
+
|
53 |
+
It is also possible to run the app locally without Docker. Just setup a virtual environment and run the app.
|
54 |
+
Note that the current working directory would need to be adjusted based on where `LyNoS` is located on disk.
|
55 |
+
|
56 |
+
```
|
57 |
+
git clone https://github.com/raidionics/LyNoS.git
|
58 |
+
cd LyNoS/
|
59 |
+
|
60 |
+
virtualenv -python3 venv --clear
|
61 |
+
source venv/bin/activate
|
62 |
+
pip install -r ./demo/requirements.txt
|
63 |
+
|
64 |
+
python demo/app.py --cwd ./
|
65 |
+
```
|
66 |
+
|
67 |
+
## [Citation](https://github.com/raidionics/LyNoS#citation)
|
68 |
+
|
69 |
+
If you found the dataset and/or web application relevant in your research, please cite the following reference:
|
70 |
+
```
|
71 |
+
@article{bouget2021mediastinal,
|
72 |
+
author = {David Bouget and André Pedersen and Johanna Vanel and Haakon O. Leira and Thomas Langø},
|
73 |
+
title = {Mediastinal lymph nodes segmentation using 3D convolutional neural network ensembles and anatomical priors guiding},
|
74 |
+
journal = {Computer Methods in Biomechanics and Biomedical Engineering: Imaging \& Visualization},
|
75 |
+
volume = {0},
|
76 |
+
number = {0},
|
77 |
+
pages = {1-15},
|
78 |
+
year = {2022},
|
79 |
+
publisher = {Taylor & Francis},
|
80 |
+
doi = {10.1080/21681163.2022.2043778},
|
81 |
+
URL = {https://doi.org/10.1080/21681163.2022.2043778},
|
82 |
+
eprint = {https://doi.org/10.1080/21681163.2022.2043778}
|
83 |
+
}
|
84 |
+
```
|
85 |
+
|
86 |
+
## [License](https://github.com/raidionics/LyNoS#license)
|
87 |
+
|
88 |
+
The code in this repository is released under [MIT license](https://github.com/raidionics/LyNoS/blob/main/LICENSE.md).
|