Skip to main content

A python package to put medical images in frame alignment.

Project description

StereotacticFrame

A python package to detect a stereotactic frame in MR and CT images

Installation

Use pip to install the package:

pip install StereotacticFrame

Install from source

Use git to clone the repository:

git clone github.com/dwml/StereotacticFrame.git

Use cd to get into the directory:

cd StereotacticFrame

Use uv to install the package. For installation instructions for uv see their documentation here. After uv is installed and your working directory is the FrameRegistration directory, run:

uv build

Usage

The package has a command line interface that can be run using

frame_registration calculate image_path modality transform_path

The image_path should be the path to the input image, the modality should be one of MR or CT and transform_path is an optional path of the output transform. Since this is still under development a log file can be produced using:

frame_registration calculate image_path modality transform_path log_path --loggin-on

One can apply the transform using:

frame_registration apply image_path transform_path output_image_path

Issues

Since this package is only tested on our own imaging it would not be strange if it does not work adequately on your data. If so please submit an issue at the issue page.

Warning

[!CAUTION] In no circumstances can one use this package for clinical purposes. It is not thoroughly tested on a variety of images and should therefore only be used for research purposes.

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

stereotacticframe-0.6.tar.gz (40.3 kB view details)

Uploaded Source

Built Distribution

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

stereotacticframe-0.6-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file stereotacticframe-0.6.tar.gz.

File metadata

  • Download URL: stereotacticframe-0.6.tar.gz
  • Upload date:
  • Size: 40.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for stereotacticframe-0.6.tar.gz
Algorithm Hash digest
SHA256 110b6a89b3fc514cefa20a5f1b469f11ca2788473307ef2f992233922a3b2b2e
MD5 e4273533c03dd143ded794447dce1bad
BLAKE2b-256 17a05223e913fc785919dc24355b24cf41d376a333a08b10c81fa3ba9b77416e

See more details on using hashes here.

Provenance

The following attestation bundles were made for stereotacticframe-0.6.tar.gz:

Publisher: publish-package.yml on dwml/StereotacticFrame

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

File details

Details for the file stereotacticframe-0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for stereotacticframe-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 74529ae74efd3201fb6125ebe28a0cdc3aabf1de7f8f32881a14f83a4d900483
MD5 6031967bf751ab89b8f6052967af0a69
BLAKE2b-256 434a73996fa1c7cb6b4b80051186dc017cf4481152c28ee427a027c71ed13a42

See more details on using hashes here.

Provenance

The following attestation bundles were made for stereotacticframe-0.6-py3-none-any.whl:

Publisher: publish-package.yml on dwml/StereotacticFrame

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