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 FrameRegistration

Install from source

Use git to clone the repository:

git clone github.com/dwml/FrameRegistration.git

Use cd to get into the directory:

cd FrameRegistration

Use poetry to install the package. For installation instructions for poetry see their documentation here. After poetry is installed, in the FrameRegistration directory, run:

poetry install

Usage

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

frame_transform 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_transform calculate image_path modality transform_path log_path --loggin-on

One can apply the transform using:

frame_transform 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.5.tar.gz (40.2 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.5-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for stereotacticframe-0.5.tar.gz
Algorithm Hash digest
SHA256 f9e67e0c6aea2636e5046b8f592898b97050981a314d1f50a6b2e7bdb189b80a
MD5 a6931a58d3e0d2bbc259fd2e485cb008
BLAKE2b-256 edf398a9047bcf346ff7779dd42c5ece1187e826fe8db73f41c7caec9ff10102

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for stereotacticframe-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3a32dc0d66e6bae2b6ef15bcc51e98de81606b48f0f7426639e1672d2c418b7e
MD5 4ef162311770c651ede1373547b79116
BLAKE2b-256 edc9e79becbc32c8f34feaf3eb5b2007529760f51e527cc87231049e0d21e677

See more details on using hashes here.

Provenance

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