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-1.0.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

armcrop-1.0.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: armcrop-1.0.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.7 Linux/6.11.0-26-generic

File hashes

Hashes for armcrop-1.0.0.tar.gz
Algorithm Hash digest
SHA256 453527f07dd829df83655f00772f49ed00e41e42a26220ead219a4795af06ae1
MD5 67c614fe16e58bb91e411e130654038d
BLAKE2b-256 d1517c0508546106160d321f1820260b2a5386ef8f278403836cf2aa634e2ab4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: armcrop-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.7 Linux/6.11.0-26-generic

File hashes

Hashes for armcrop-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a4a711e2da76a4fb70b93a18d5035fe6f35a10589c1340bdedb000055b5a82d
MD5 164fdeae9391f3630fe42e837050abce
BLAKE2b-256 135a0fe5494678af6212206a995ffdb3fc58828a56b1c422d53f35f9ff458a5c

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