Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

🤗 A multilabel lymph node segmentation dataset from contrast CT

License

NotificationsYou must be signed in to change notification settings

raidionics/LyNoS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

titlecolorFromcolorTosdkapp_portemojipinnedlicenseapp_file
LyNoS: automatic lymph node segmentation using deep learning
indigo
indigo
docker
7860
🫁
false
mit
demo/app.py

A multilabel lymph node segmentation dataset from contrast CT

licenseCI/CDOpen In Colabpaper

LyNoS was developed by SINTEF Medical Image Analysis to accelerate medical AI research.

This repository contains the LyNoS dataset described in"Mediastinal lymph nodes segmentation using 3D convolutional neural network ensembles and anatomical priors guiding".The dataset has now also been uploaded to Zenodo and the Hugging Face Hub enabling users to more easily access the data through Python API.

We have also developed a web demo to enable others to easily test the pretrained model presented in the paper. The application was developed usingGradio for the frontend and the segmentation is performed using theRaidionics backend.

The dataset contains 15 CTs with corresponding lymph nodes, azygos, esophagus, and subclavian carotid arteries manual annotations. The folder structure is described below.

The easiest way to access the data is through Python with Hugging Face'sdatasets package:

from datasets import load_dataset# downloads data from Zenodo through the Hugging Face hub# - might take several minutes (~5 minutes in CoLab)dataset = load_dataset("andreped/LyNoS")print(dataset)# list paths of all available patients and corresponding features (ct/lymphnodes/azygos/brachiocephalicveins/esophagus/subclaviancarotidarteries)for d in dataset["test"]:  print(d)

A detailed interactive demo on how to load and work with the data can be seen on CoLab. Click the CoLab badgeOpen In Colab to see the notebook or alternatively clickhere to see it on GitHub.

└── LyNoS.zip    ├── stations_sto.csv    └──  LyNoS/        ├── Pat1/        │   ├── pat1_data.nii.gz        │   ├── pat1_labels_Azygos.nii.gz        │   ├── pat1_labels_Esophagus.nii.gz        │   ├── pat1_labels_LymphNodes.nii.gz        │   └── pat1_labels_SubCarArt.nii.gz        ├── [...]        └── Pat15/            ├── pat15_data.nii.gz            ├── pat15_labels_Azygos.nii.gz            ├── pat15_labels_Esophagus.nii.gz            ├── pat15_labels_LymphNodes.nii.gz            └── pat15_labels_SubCarArt.nii.gz

For each labelled lymph node in the dataset, the primary, secondary, and up to the tertiary station have been manually assigned according to the IASLC Lung Cancer Staging guidelines, and more specifically following the2009 map.The stations considered can be organized as follows:

├── Supraclavicular nodes (stations 1R and 1L)├── Superior mediastinal nodes (stations 2-4)│   ├── Upper paratracheal (stations 2R and 2L)│   ├── Pre-vascular (stations 3aR and 3aL)│   ├── Pre-vertebral (station 3P)│   └── Lower paratracheal (stations 4R and 4L)├── Aortic nodes (stations 5-6)│   ├── Subaortic (station 5)│   └── Para-aortic (station 6)├── Inferior mediastinal nodes (stations 7-9)│   ├── Subcarinal (stations 7R and 7L)│   ├── Paraesophageal (stations 8R and 8L)│   └── Pulmonary ligament (station 9)└── Hilar, lobar, and (sub)segmental nodes (stations 10-14)    ├── Hilar (stations 10R and 10L)    ├── Interlobar middle-lower (stations 11R and 11L)    ├── Lobar (stations 12R and 12L)    ├── Segmental (stations 13R and 13L)    └── Subsegmental (stations 14R and 14L)

A larger dataset made of 90 patients featuring enlarged lymph nodes has also been made available by the National Institutes of Health, and is available for download on the officialweb-page.As a supplement to this dataset, lymph nodes segmentation masks have been refined for all patients and stations have been manually assigned to each, availablehere.

To access the live demo, click on theHugging Face badge above. Below is a snapshot of the current state of the demo app.

Screenshot 2023-11-09 at 20 53 29
Build TypeStatus
HF DeployDeploy
File size checkFilesize
Formatting checkFilesize

Alternatively, you can deploy the software locally. Note that this is only relevant for development purposes. Simply dockerize the app and run it:

docker build -t lynos .docker run -it -p 7860:7860 lynos

Then openhttp://127.0.0.1:7860 in your favourite internet browser to view the demo.

It is also possible to run the app locally without Docker. Just setup a virtual environment and run the app.Note that the current working directory would need to be adjusted based on whereLyNoS is located on disk.

git clone https://github.com/raidionics/LyNoS.gitcd LyNoS/virtualenv -python3 venv --clearsource venv/bin/activatepip install -r ./demo/requirements.txtpython demo/app.py --cwd ./

If you found the dataset and/or web application relevant in your research, please cite the following reference:

@article{bouget2021mediastinal,  author = {David Bouget and André Pedersen and Johanna Vanel and Haakon O. Leira and Thomas Langø},  title = {Mediastinal lymph nodes segmentation using 3D convolutional neural network ensembles and anatomical priors guiding},  journal = {Computer Methods in Biomechanics and Biomedical Engineering: Imaging \& Visualization},  volume = {0},  number = {0},  pages = {1-15},  year  = {2022},  publisher = {Taylor & Francis},  doi = {10.1080/21681163.2022.2043778},  URL = {https://doi.org/10.1080/21681163.2022.2043778},  eprint = {https://doi.org/10.1080/21681163.2022.2043778}}

The code in this repository is released underMIT license.


[8]ページ先頭

©2009-2025 Movatter.jp