Giter VIP home page Giter VIP logo

ali_cbct's Introduction

Automatic Landmark Identification in 3D Cone-Beam Computed Tomography scans

Authors: Maxime Gillot Baptiste Baquero Antonio Ruellas Marcela Gurgel Najla Al Turkestani Elizabeth Biggs Marilia Yatabe Jonas Bianchi Lucia Cevidanes Juan Carlos Prieto

We propose a novel approach that reformulates landmark detection as a classification problem through a virtual agent placed inside a 3D Cone-Beam Computed Tomography (CBCT) scan. This agent is trained to navigate in a multi-scale volumetric space to reach the estimated landmark position.

Landmark placed in the CBCT: LM_SELECTION_Trans

Scripts for Automatic Landmark Identification in CBCT

Prerequisites

python 3.8.8 with the anaconda environment "ALI_environment.yml":

Main librairies:

monai==0.7.0
torch==1.10.1
itk==5.2.1
numpy==1.20.1
simpleitk==2.1.1

Running the code

Using Docker

You can get the ALI CBCT docker image by running the folowing command lines.

Informations

Building using the DockerFile

From the DockerFile directory:

docker pull dcbia/alicbct:latest

From the DockerFile directory:

docker build -t alicbct .

Automatic landmark identification Running on CPU

docker run --rm --shm-size=5gb -v <Folder_with_the_scans_to_segment>:/app/data/scans -v <Folder_with_the_models_to_use>:/app/data/models  alicbct:latest python3 /app/ALI_CBCT/predict_landmarks.py

Running on GPU

docker run --rm --shm-size=5gb --gpus all -v <Folder_with_the_scans_to_segment>:/app/data/scans -v <Folder_with_the_models_to_use>:/app/data/models  alicbct:latest python3 /app/ALI_CBCT/predict_landmarks.py

options/arguments

  • By default, only Ba and S landmarks are selected. To choose which structure to segment, you can use the following arguments:
    -lm Ba S
    

Pre-process

To run the preprocess to prepare the files and set them at the wanted spacing for the training:

For the Upper, Lower and Cranial base landmarks

python3 init_training_data_ULCB.py -i "path of the input folder with the scans and the fiducial list" -o "path of the output folder"

For the canine impaction landmarks

python3 init_training_data_Canine.py -i "path of the input folder with the scans and the fiducial list" -o "path of the output folder"

By default the spacing is set at 1 and 0.3 but we can change and add other spacing with the argument :

-sp x.xx x.xx

A contrast adjustment is also applied but can be turned off with

-ch False

#Images

Environment, low resolution and high resolution: 2environement_label_zoom

Agent architecture: agent_label

Search steps of the agent to find one landmark: Search_3Steps_labeled

ali_cbct's People

Contributors

maxlo24 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

Watchers

 avatar

Forkers

dcbia-ortholab

ali_cbct's Issues

dataset

Hello, could you please share the dataset of the training model?

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.