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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22bb6c592a69b6ae2762155ab61ee549ff57f8e1bf2b0403dc30ca63e8983aac
|
|
| MD5 |
f31de0dbd4bbb99b021ad9a15eef59a7
|
|
| BLAKE2b-256 |
6bbe8d396c704d94b965481bea7b432e9c06dcb88f9e7de4c0f4879d14a61a52
|
Provenance
The following attestation bundles were made for stereotacticframe-0.7.1.tar.gz:
Publisher:
publish-package.yml on dwml/StereotacticFrame
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stereotacticframe-0.7.1.tar.gz -
Subject digest:
22bb6c592a69b6ae2762155ab61ee549ff57f8e1bf2b0403dc30ca63e8983aac - Sigstore transparency entry: 255953900
- Sigstore integration time:
-
Permalink:
dwml/StereotacticFrame@e64085a833d546ba0b6d57df9f0b8ca1a32fe753 -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/dwml
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@e64085a833d546ba0b6d57df9f0b8ca1a32fe753 -
Trigger Event:
push
-
Statement type:
File details
Details for the file stereotacticframe-0.7.1-py3-none-any.whl.
File metadata
- Download URL: stereotacticframe-0.7.1-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1978dffb49375d4bdb2723a86cf976ececeed46729db64b3a157e67aa5e0d9e3
|
|
| MD5 |
604f3983879c1790a52717fab26ee985
|
|
| BLAKE2b-256 |
d36a60b13d92fc7a628f9594a0c0fafe2a89d7cfa080d4c512179fc9bf20bd64
|
Provenance
The following attestation bundles were made for stereotacticframe-0.7.1-py3-none-any.whl:
Publisher:
publish-package.yml on dwml/StereotacticFrame
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stereotacticframe-0.7.1-py3-none-any.whl -
Subject digest:
1978dffb49375d4bdb2723a86cf976ececeed46729db64b3a157e67aa5e0d9e3 - Sigstore transparency entry: 255953908
- Sigstore integration time:
-
Permalink:
dwml/StereotacticFrame@e64085a833d546ba0b6d57df9f0b8ca1a32fe753 -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/dwml
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@e64085a833d546ba0b6d57df9f0b8ca1a32fe753 -
Trigger Event:
push
-
Statement type: