dcm_ball_detector
given a .dcm format image sequence, identify the positions of all spherical markers from this image sequence.
install
- it is recommended that this module should be installed in a python virtual environment (venv).
pip install dcm-ball-detector
usage
-
we assume that you have put your
.dcmfiles into a folder of which the path is<folder path>. -
we assume that your
.dcmfiles are named under alphabetical order. -
use the following command to get a prediction of the position of the marker balls.
python3 -m dcm_ball_detector <folder path>
- the program will output something like below to stdout:
[{"xmm": 349.02488432862555, "ymm": 328.00209214017735, "zmm": 132.5840302807579}, {"xmm": 331.0029681581956, "ymm": 274.1596321456759, "zmm": 161.7956332082969}, {"xmm": 388.61439982471455, "ymm": 341.3301036489755, "zmm": 176.0079302709168}, {"xmm": 364.3212735729133, "ymm": 280.99146326745836, "zmm": 201.8262056427377}]
debug
- if you want to show the debug info of the marker balls, use the following command:
python3 -m dcm_ball_detector --debug <folder path>
- after the program has been finished, in stderr there will be a line like:
tips: relevant images in: .../dcm_ball_detector/log_image
- relevant images for debugging will be listed in folder
.../dcm_ball_detector/log_image.
Metadata
Release files for dcm-ball-detector 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dcm_ball_detector-0.0.9.tar.gz | 4.7 MB | Without provenance | Details for dcm_ball_detector-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dcm_ball_detector-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for dcm_ball_detector-0.0.9-py3-none-any.whl |
Total release size: 14.0 MB
Release files / dcm_ball_detector-0.0.9.tar.gz
| Download URL | dcm_ball_detector-0.0.9.tar.gz |
|---|---|
| Size | 4.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbac82089d89681abf1ed1d88ac65ed16c0cc63706638df4376c189b5381b4ce
|
|
BLAKE2b-256 checksum How to use checksums |
895eab7ba611f7eafbec9de88576fb41439a1a7fe5ee58dc8d18e6d19218c7e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / dcm_ball_detector-0.0.9-py3-none-any.whl
| Download URL | dcm_ball_detector-0.0.9-py3-none-any.whl |
|---|---|
| Size | 9.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca53c7f703deacfc5bc742a1c64f52c9c4062e0489a38c12b91b078bc8ee3033
|
|
BLAKE2b-256 checksum How to use checksums |
eb5252849aa4313717ee793e9a82122d6d9b4e8c7de048eea52dfe2bc42a3444
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for dcm-ball-detector 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.