Skip to main content

Tool for automatically segmenting muscle and fat tissue in CT images acquired at the 3rd vertebral level

Project description

L3 Auto-segmentation Tool

Tool for automatically segmenting muscle and fat tissue in CT images acquired at the 3rd vertebral level

The AutoSegL3 tool allows a data manager to train a deep learning model that automatically segments muscle and fat tissue in CT images taken at the 3rd vertebral (L3) level. To train the deep learning model the tool needs a collection of L3 images and corresponding TAG files that contain the labels of each tissue to be segmented. To run the trained model on previously unseen CT images the tool only needs a collection of L3 images. The tool will then produce a mask for each L3 image that outlines the location of the muscle and fat regions.

For training, if default parameters are used, all the data manager has to do is point the tool to a directory containing L3 images and corresponding TAG files. From this directory, an HDF5 file will be generated. During this process the images and TAG files will be checked for certain characteristics like a common dimension of 512 by 512 pixels, pixels containing normalized Hounsfield units, etc. Any images that do pass this initial quality check will be reported in a text file.

For testing the training procedure, the tool also has to be pointed to a directory containing both L3 images and TAG files. However, only the L3 images will be used for generating segmentations. The TAG files will be used to evaluate the quality of the segmentations. This step will also produce a summary report containing some performance metrics, e.g., Dice scores. Note that the testing phase is only meant to obtain realistic performance metrics. To use the model for prediction, train it on all data you have (see next section).

For model preparation, train it on all data you have. Generate a CSV database containing certain clinical scores for each L3 image, e.g., SMRA, muscle index, SAT index and VAT index (what other scores can we think of?). This database can then be used to visualize the spread of scores across all images in the training data. When a new image is predicted you can also highlight its position within the spread of the training scores.

For prediction, the tool has to be pointed to a directory containing only L3 images.

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2021-02-04)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autosegl3-0.5.0.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

autosegl3-0.5.0-py2.py3-none-any.whl (13.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file autosegl3-0.5.0.tar.gz.

File metadata

  • Download URL: autosegl3-0.5.0.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.4

File hashes

Hashes for autosegl3-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e1c60183513a8909d9c0b339f151494742b2ab154fbf182da34373438e8c3cda
MD5 7acebc365444c41d795ce36974f790ed
BLAKE2b-256 2cd28693682e51d7d4d57f2b1fb4ecb1f27e7edd7c2abeb90023f1636dc15139

See more details on using hashes here.

Provenance

File details

Details for the file autosegl3-0.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: autosegl3-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.4

File hashes

Hashes for autosegl3-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aaf00139a71317211c9ce25dcf7d448dee2cfe7071e3cf99abb1f5469ff42a9a
MD5 116482e6bf3a6c48c0ffda32b2b1be6b
BLAKE2b-256 3fde1f3e61c83e0a23aed5efacca1d9da1ac96177bd1ff32a1b29c21d7e490d7

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page