Skip to main content

Standalone geodesic active-contour segmentation for fractured HR-pQCT radius scans.

Project description

HR-pQCT Geodesic Contour

Standalone geodesic active-contour segmentation for fractured human radius HR-pQCT scans. The package provides a plain NumPy API for use in analysis scripts, notebooks, and 3D Slicer extensions.

Implemented according to:

Ohs N, Collins CJ, Tourolle DC, Atkins PR, Schroeder BJ, Blauth M, Christen P, Mueller R. Automated segmentation of fractured distal radii by 3D geodesic active contouring of in vivo HR-pQCT images. Bone. 2021 Jun;147:115930. doi:10.1016/j.bone.2021.115930. PMID:33753277.

Install

pip install hrpqct-geodesic-contour

For optional HDF5 debug reports:

pip install "hrpqct-geodesic-contour[reports]"

Usage

import numpy as np
from hrpqct_geodesic_contour import contour

density = np.asarray(...)  # 3D density image, typically mg HA/cm^3
mask, auxiliary_masks = contour(density, voxel_size_mm=0.0607)

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

hrpqct_geodesic_contour-0.1.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

hrpqct_geodesic_contour-0.1.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file hrpqct_geodesic_contour-0.1.1.tar.gz.

File metadata

  • Download URL: hrpqct_geodesic_contour-0.1.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hrpqct_geodesic_contour-0.1.1.tar.gz
Algorithm Hash digest
SHA256 eb570140efa59c9d19450858857af919d080066824837e94c5b3efa2f65c8e41
MD5 99132b708bc963f07666194f765a1921
BLAKE2b-256 c1d14898080ac801cd68203821bb519fe7f0999826ca5cbb4f8e58d5539dd915

See more details on using hashes here.

Provenance

The following attestation bundles were made for hrpqct_geodesic_contour-0.1.1.tar.gz:

Publisher: publish.yml on wallematthias/hrpqct-geodesic-contour

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hrpqct_geodesic_contour-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hrpqct_geodesic_contour-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1346b7c84c28267124bc2379ba30b33e43bf814d48ba6ef87577b1474b382f96
MD5 aec91c60fee55762ab14648ce672e4fb
BLAKE2b-256 ba2edf1c1932a80711d726666cdd95222e2afca8a1e8d75dff6b4f423483d14c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hrpqct_geodesic_contour-0.1.1-py3-none-any.whl:

Publisher: publish.yml on wallematthias/hrpqct-geodesic-contour

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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