Giter Site home page Giter Site logo

de-nurd's Introduction

De-NURD

image

Distortion and Instability Compensation with Deep Learning for Rotational Scanning Endoscopic Optical Coherence Tomography, Liao, Guiqiu and Caravaca-Mora, Oscar and Rosa, Benoit and Zanne, Philippe and Alba, Diego Dall and Fiorini, Paolo and de Mathelin, Michel and Nageotte, Florent and Gora, Michalina J, MedIA 2022

image

This package provides an implementation of the inference and training data generation pipeline of A two-branch Nonuiform rotational distortion (NURD) compensation networks for rotational scanning catheter, This is the more acurate version that relys on Correlation Matrix, in comparison to end-to-end version . For simplicity the model in referred as De-NURD nets.

First time setup

The following steps are required in order to run CEnet:

  1. Install deep learning python packages(either linux or windows) .

  2. Organize the raw dataset

    folder structure should be like this:

    -Root

    --Root/dataset/
    
    	---Root/dataset/for NURD
    
    		---Root/dataset/for NURD/train
    
    			---Root/dataset/for NURD/train/img
    
    			---Root/dataset/for NURD/train/label
    
    
    
    		---Root/dataset/for NURD/test
    
    			---Root/dataset/for NURD/test/label
    
    			---Root/dataset/for NURD/test/label
    
    
    --Root/out
    
  3. Download [pre-trained model parameters] (https://seafile.unistra.fr/d/54c9103c11f142ae9dc7/)

Key useful tools/python scripts

To run any runable scripts in this project, if using the visual studio (not vs code) or pycharm, it can be run directly. If using vs code, please run scripts as module. If run in terminal of linux or anaconda prompt, run as module, using following command: python3 -m subfoler.scripts(i.e. python3 -m tool.convert)

  1. De_NURD/toolfolder:
*   cover_raw_data.py: convert raw data to fixed format for the algorithm
  1. In main folder(De_NURD) folder :

    most of these scripts are directly runnable, specifically:

    • Dataset Generator.py is used to generate separated image pairs and image arrays for training two branches

    • Dataset Generator_OLG.py is an exension of the Dataset Generator.py that deploy to generate the data on the fly (note that in training this script should be runing in parallel with the trainer code)

    • Correct_sequence_integral.py is used to correct the NURD by a integral estimation scheme (recommended)

    • Correct_sequence_iteration.py is used to correct the NURD with a iterative estimation scheme

Reference

@article{liao2022distortion,
  title={Distortion and Instability Compensation with Deep Learning for Rotational Scanning Endoscopic Optical Coherence Tomography},
  author={Liao, Guiqiu and Caravaca-Mora, Oscar and Rosa, Benoit and Zanne, Philippe and Alba, Diego Dall and Fiorini, Paolo and de Mathelin, Michel and Nageotte, Florent and Gora, Michalina J},
  journal={Medical Image Analysis},
  pages={102355},
  year={2022},
  publisher={Elsevier}
}

de-nurd's People

Contributors

liaoguiqiu avatar

Stargazers

SiCheng Li avatar

Watchers

James Cloos avatar  avatar

Forkers

smashhcg

de-nurd's Issues

signals.pkl file missing

when generating NURD data using Dataset_generator.py file, turns out FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\50266\Desktop\result\pair1\signals.pkl'

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.