Skip to content

An integrated toolkit for multi-label vertebral segmentation/alignment analysis and viasualization

Notifications You must be signed in to change notification settings

tomo2321/vertebral-alignment-analysis-platform

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vertebral-alignment-analysis-platform

Localization and Bayesian Segmentation of Vertebrae

cd ./landmark_segmentation_uncertainty

The approach and implementation of the vertebrae localization and segmentation is based on the paper and its project:

We also used the following toolkits:

Method

Vertebrae localization and segmentation are performed by a three-stage fully automatic approach:

  1. Spine localization,
  2. Vertebrae localization
  3. Binary segmentation of each localized and identified vertebrae

Additionally, the segmentation network in the final stage is reformed to the Bayesian 3D U-Net to estimate segmentation uncertainty by multiple test-time MC dropout samples

ad

Models

The models trained by the dataset VerSe 2019 in the repo are from the project MedicalDataAugmentationTool-VerSe.

We also released the new models: (To be updated)

  • Spine localization and vertebrae localization: trained by 1180 CT cases (1000 cases from J-MID and 80 cases from VerSe 2019)
  • Vertebrae Bayesian segmentation: trained by 180 CT cases (100 cases from J-MID and 80 cases from VerSe 2019)

Environment

Pull image from Docker Hub.

docker pull tomo2321/landmark_segmentation_uncertainty:latest

Or create a brand new docker image from Dockerfile.

docker build -t <YOUR_IMAGE_NAME> .

Inference

Make a new directory named img and put your CT images in it.

cd ./test
mkdir ./img

Choose a model from models and modify the MODEL variable in the bash script. Run the bash script for the inference.

bash inference.sh

If you get an error regarding carriage return in the bash script, try the following command first.

sed -i 's/\r//g' inference.sh

Visualization

Choose a model from models and modify the MODEL variable in the bash script. Run the bash script for the visuliazatrion of results.

bash visualization_all.sh

Examples of visuliazation

Spine Alignment Analysis

cd ./alignment_analysis

To be updated.

About

An integrated toolkit for multi-label vertebral segmentation/alignment analysis and viasualization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%