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.2.0.tar.gz (12.7 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.2.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for armcrop-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e2f88ac88e36bc94d6506a470695f3708d19539cdee6d626a6d636f113414386
MD5 78299c93f43d6be5f28da6e218c2dda1
BLAKE2b-256 93643538e1c71c9a16ef053f6548f51ed287a85470c7ea5045601516955085cd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for armcrop-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cecd5e2175a43db886489b144787ac4fdd29afa7a74ec5d1dd52b1e759e6599d
MD5 62059386baf3ebf53397f228768720c1
BLAKE2b-256 1122c5420352a140e47149153d216ad10227d102697d76e7f6a5dd974a01d3d9

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