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.0.tar.gz (9.3 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.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hrpqct_geodesic_contour-0.1.0.tar.gz
  • Upload date:
  • Size: 9.3 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.0.tar.gz
Algorithm Hash digest
SHA256 aeee44fcd820e561bd857d76dbded0014b9f5e0a4d122f571fb4f3e5a906f5ef
MD5 6e61e28e695c17dab447004ce56d166b
BLAKE2b-256 a8d36906710ae834a6ff11631892477dccf0f05025e3f8f3c7e099b420a396da

See more details on using hashes here.

Provenance

The following attestation bundles were made for hrpqct_geodesic_contour-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hrpqct_geodesic_contour-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6820aacad1304c196f5eaba71ac1ba50302ad93a49b67beef20b462aca0efae
MD5 f00a0f83ceb03e79fb98d6b758dba85b
BLAKE2b-256 cbd2df23c7a675dfd31fdeb3c593868691858bea89f5208b5f1bb718aaa92c3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hrpqct_geodesic_contour-0.1.0-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