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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stereotacticframe-0.7.1.tar.gz
  • Upload date:
  • Size: 103.4 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.1.tar.gz
Algorithm Hash digest
SHA256 22bb6c592a69b6ae2762155ab61ee549ff57f8e1bf2b0403dc30ca63e8983aac
MD5 f31de0dbd4bbb99b021ad9a15eef59a7
BLAKE2b-256 6bbe8d396c704d94b965481bea7b432e9c06dcb88f9e7de4c0f4879d14a61a52

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for stereotacticframe-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1978dffb49375d4bdb2723a86cf976ececeed46729db64b3a157e67aa5e0d9e3
MD5 604f3983879c1790a52717fab26ee985
BLAKE2b-256 d36a60b13d92fc7a628f9594a0c0fafe2a89d7cfa080d4c512179fc9bf20bd64

See more details on using hashes here.

Provenance

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