HUB
Sign inSign up
ct-total-segmentator logo

flywheel/ct-total-segmentator

By flywheel

•Updated over 1 year ago

ct-total-segmentator

Image
0

5.7K

flywheel/ct-total-segmentator repository overview

⁠TotalSegmentator

⁠Overview

  • This GEAR wraps a deep learning CT segmentation algorithm called TotalSegmentator.
⁠Summary
  • TotalSegmentator is a tool for segmentation of 104 classes in CT images.
  • It was trained on a wide range of different CT images (different scanners,institutions, protocols,...) and therefore should work well on most images.
⁠Cite
  • Jakob Wasserthal, Manfred Meyer, Hanns-Christian Breit, Joshy Cyriac, Shan Yang, Martin Segeroth, "TotalSegmentator: robust segmentation of 104 anatomical structures in CT images" Arxiv-link⁠

License: MIT

⁠Classification

Category: Analysis Gear

Gear Level:

  • Project
  • Subject
  • Session
  • Acquisition
  • Analysis

[[TOC]]


⁠Inputs
  • CT exam
    • Name: CT
    • Type: file
    • Optional: false
    • Classification: file
    • Description: Input CT volume as a zipped nifti file
    • Notes: {Gear accepts one zipped nifti file}
⁠Config
  • use-fast

    • Name: use-fast
    • Type: boolean
    • Description: Use --fast flag. It will run a lower resolution model 3mm instead of 1.5mm
    • Default: false
  • use-multilabel

    • Name: use-multilabel
    • Type: boolean
    • Description: Use --ml flag. it will save one multilabel image for all classes
    • Default: true
  • compute-statistics

    • Name: compute-statistics
    • Type: boolean
    • Description: Use --statistics flag. It will calculate volume (in mm3) and mean intensity. Results will be in statistics.json
    • Default: false
⁠Outputs
⁠Files
  • Segmentation output

    • Name: combined_seg_output.nii
    • Type: file
    • Optional: false
    • Classification: file
    • Description: Segmentation output with a maximum of 104 labels
    • Notes: This is generated if the config option "use-multilabel" is selected
  • Statistics file

    • Name: statistics.json
    • Type: file
    • Optional: true
    • Classification: file
    • Description: This is generated if the config option "compute-statistics" is selected

⁠Usage

⁠Description
⁠File Specifications

This Gear has only 1 required input file. The details are below:

⁠CT exam

The input is a CT exam in zipped nifti format. The authors claim that TotalSegmentator should work on most images as it was trained on a wide range of different CT images (different scanners, institutions, protocols).

⁠Workflow
graph LR;
    A[Input-File]:::input --> C;
    C[Upload] --> D[Parent Container <br> Project, Subject, etc];
    D:::container --> E((Gear));
    E:::gear --> F[Analysis]:::container;
    
    classDef container fill:#57d,color:#fff
    classDef input fill:#7a9,color:#fff
    classDef gear fill:#659,color:#fff

Description of workflow

  1. Upload file to container
  2. Select file as input to gear
  3. Gear places output in Analysis. All output files can be downloaded from Analysis.
  4. The output files are available under "Outputs" section in job log. The combined_seg_output.nii can be seen with OHIF viewer.
⁠Use Cases
⁠Use Case 1

*Conditions*:

[x] Collection of 3D-T1w brain MRI exams for which a fast Freesurfer-style segmentation is needed. [x] For each timepoint, the data is available as a zipped nifti file.

Steps

  1. Upload the zipped nifti files to your Flywheel instance a. Follow these steps⁠ to upload de-identified data to Flywheel

  2. Select the subjects' sessions that are to be analyzed

    a. Session Selection

  3. Navigate to "Run Gear", select "Analysis Gear", and select Fast Surfer under the "Image Processing - Segmentation" section. a. Run Gear

  4. Select the zipped nifti file to be segmented.

  5. Run gear and review the results under Analysis or in the job log output section.

⁠Logging
  • Logging will indicate if the processing was run on a GPU or CPU.
  • Three models are run to generate the final output.
  • The processing time for each model will be displayed in the log.

⁠Contributing

[For more information about how to get started contributing to that gear, checkout CONTRIBUTING.md⁠.]

⁠Repository

flywheel-io/scientific-solutions/gears/ct-total-segmentator⁠

Tag summary

Content type

Image

Digest

sha256:3f61eb4ff…

Size

14.3 GB

Last updated

about 2 years ago

docker pull flywheel/ct-total-segmentator