Giter VIP home page Giter VIP logo

naviairway's Introduction

NaviAirway

NaviAirway: a Bronchiole-sensitive Deep Learning-based Airway Segmentation Pipeline, Preliminary version presented at RSNA2021.

Airway segmentation is essential for chest CT image analysis. However, it remains a challenging task because of the intrinsic complex tree-like structure and imbalanced sizes of airway branches. Current deep learning-based methods focus on model structure design while the potential of training strategy and loss function have not been fully explored. Therefore, we present a simple yet effective airway segmentation pipeline, denoted NaviAirway, which finds finer bronchioles with a bronchiole-sensitive loss function and a human-vision-inspired iterative training strategy. Experimental results show that NaviAirway outperforms existing methods, particularly in identification of higher generation bronchioles and robustness to new CT scans. Besides, NaviAirway is general. It can be combined with different backbone models and significantly improve their performance. Moreover, we propose two new metrics (Branch Detected and Tree-length Detected) for a more comprehensive and fairer evaluation of deep learning-based airway segmentation approaches. NaviAirway can generate airway roadmap for Navigation Bronchoscopy and can also be applied to other scenarios when segmenting fine and long tubular structures in biomedical images.

Pipeline

Demonstration (code, data, and instruction)

OneDrive password: 2333

Dependencies

  • Check the required python packages in requirements.txt.

Datasets

The file structure should be like this

/data/Airway/EXACT09
    /Training
        /CASE01
            /1093782
            /1093783
            ...
        /CASE02
        ...
    /Testing
        /CASE21
        ...

The file structure should be like this

/data/Airway/LIDC-IDRI
    /LIDC-IDRI-0001
        /1.3.6.1.4.1.14519.5.2.1.6279.6001.298806137288633453246975630178
            /1.3.6.1.4.1.14519.5.2.1.6279.6001.179049373636438705059720603192
                /1-001.dcm
                /1-002.dcm
                ...
    /LIDC-IDRI-0002
    ...

Run the code

  • [Note] Folder dataset_info contains data info used for training scripts. You can read the sample files in that folder to learn the format.

  • [Dataset preparation]

    • Download the two datasets: EXACT09 and LIDC-IDRI.

    • Run dataset_preprocess_EXACT09.ipynb and dataset_preprocess_LIDC-IDRI.ipynb to preprocess the images.

    • Run Pre_crop_images.ipynb to pre-crop the images to be samll cubes.

    • Run Get_dataset_info.ipynb to generate dataset info which are pkl files (our iterative training strategy (training with focus on airways of low and high generations iteratively) is achieved by it).

  • [Training] Run train.py or train_semi_supervised_learning.py to start training. You can change the hyperparameters. Model parameters are saved in checkpoint.

  • [Inference] Run NaviAirway_pipeline.ipynb.

Results

See the 3D models in results.

Contact

If you have any questions, please contact [email protected].

naviairway's People

Contributors

antonotnawang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

naviairway's Issues

OneDrive Link Broken

Hello, I was just hoping to get acquainted with the demo provided but the onedrive link says it has been removed. Is there an alternate resource I can use to get started? Thank you!

你好,可以上传一下代码看看吗

你好,看了你们的论文,我对模型结构bottle neck部分和loss funcion以及评价指标感兴趣,可以看看代码吗。还有数据预处理里面剪裁是将每个数据先剪裁成[32,128,128]大小呢,还是在训练的时候对每个数据随机裁剪出一个组成一个batch_size?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.