Skip to main content

A machine learning model that crops CT scans to a bone of interest in the arm

Project description

armcrop

PyPI Latest Release Code style: black

This package contains a machine learning model that can crop a CT scan to any of the following classes:

  • clavicle
  • scapula
  • humerus
  • radius_ulna
  • hand

It can do both axis aligned cropping and oriented bounding box (obb) cropping. The obb cropping allows for rigid registration of CT scans.

This model was trained on arm only scans and proximal half chest scans. A limitation of this model is that when using a full chest CT where the spine is present the model will struggle to differentiate between it and the scapula.

Installation

To use CPU execution install with:

pip install armcrop

To use CUDA execution you will need to also install torch and onnxruntime-gpu.

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

armcrop-0.6.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

armcrop-0.6.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file armcrop-0.6.0.tar.gz.

File metadata

  • Download URL: armcrop-0.6.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-53-generic

File hashes

Hashes for armcrop-0.6.0.tar.gz
Algorithm Hash digest
SHA256 4f0e51b90b75025a9f18d31bbc1bdd3c442299ff6cc5db644c62671b2cf0cfe8
MD5 b757d664cf247ab4d5ea6db70718b154
BLAKE2b-256 36e8733d703e0aff35f64b120c438865e799696699b5246cd24834abe4d9634a

See more details on using hashes here.

File details

Details for the file armcrop-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: armcrop-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-53-generic

File hashes

Hashes for armcrop-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9f5e46fb9348d7c19a4efc61c68ef97f1a965e793e239e9b12e1a1f0ad53853
MD5 c301b1bc6618cab1e79e283d387e2ae8
BLAKE2b-256 17dc10612088f288b4619b31f3d30a89857a359ccbdb188a3341f25a0082711e

See more details on using hashes here.

Supported by

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