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.2.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.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hrpqct_geodesic_contour-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 87e6a23b130f1515241bbe982e0a90ba31068213f7570ccb8332814f37debb75
MD5 5fbc13eca112a34edbc0b8be9b073d74
BLAKE2b-256 c2d1d5d8a8d25f87029183382187cee05cabf71de8730bbb45f31f0ac8c37133

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hrpqct_geodesic_contour-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8cbe9339bfd0ad10f0895e7e22d66fe9e220711f204dab784807d341a4ac5a16
MD5 458149702505ba7e3be61734948b46ed
BLAKE2b-256 e6d21671b39cc05bb48ccc0be75703a10f526a4e251cef7eb72629d84903fbbe

See more details on using hashes here.

Provenance

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