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.5.0.tar.gz (15.5 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.5.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: armcrop-0.5.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-50-generic

File hashes

Hashes for armcrop-0.5.0.tar.gz
Algorithm Hash digest
SHA256 f47461e31ed7c4e448fdf8e3ab8ce4a8a45c99070c77967e9ab92366e7c5b6cc
MD5 c72add55955ecb65e761069095201d00
BLAKE2b-256 5ee9b548b6f70d0b63f0405ae58219cac36aeeebe344f2d8bf09cdbd4e930fcd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for armcrop-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ea14d48cdd54f463be9e7409eb820e15c67f82415ed163fd43a831598a58e26
MD5 873e0922004c4bcd981afcb9fde8ec22
BLAKE2b-256 2d5281f6b91eb8aecd02efd3bb43b6a28c85555e0e94304d3e24973e3826cffe

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