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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stereotacticframe-0.7.tar.gz
  • Upload date:
  • Size: 103.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.7.tar.gz
Algorithm Hash digest
SHA256 8cba4a9a9f269607fe36add942ed198c28f1a15da84c2ff5af54cac34b130417
MD5 b3686fdc984d6b37a4702e8c209369cb
BLAKE2b-256 d78da8f3506c130ff43c5f93d729e1b91d977d1ee73843b5425d1c76ace95393

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for stereotacticframe-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 abcb1c3d64e1c87d3a81d516600093beb2565b4912a38e399279fdfe46fc4fcb
MD5 67f27f0f8c3c64e198f3b222ab755195
BLAKE2b-256 6dc755a79b376065941a642f2972c9e1f1d515e4796caa692b0881aa5f8df90a

See more details on using hashes here.

Provenance

The following attestation bundles were made for stereotacticframe-0.7-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