DICOM-exporter
The DICOM-exporter is used to export DICOM files into VTK.JS or VTI files.
Install
pip install .
Usage
dicom-exporter <path/to/dicom/folder> <path/to/output.vti>
or for faster loading in VTK.JS:
dicom-exporter <path/to/dicom/folder> <path/to/output.vtkjs>
Setting the --convert-12-bits-flag will convert the resulting VTK file using 12 bits instead of 16 bits per block. This is only applied if the input DICOM files are encoded in 12 bits instead of 16 bits (i.e. BitsStored is 12 in the DICOM metadata).
The output file is compressed using gzip for VTK.JS files and ZLib for VTI files, unless the --no-compress flag is set.
Use --resample flag to resample the volume using the closest axis aligned direction matrix. This resampling will set the direction matrix to identity (legacy behavior).
Metadata
Release files for dicom-exporter 1.0.0
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 |
|---|---|---|---|---|
| dicom_exporter-1.0.0.tar.gz | 7.3 kB | Without provenance | Details for dicom_exporter-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dicom_exporter-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for dicom_exporter-1.0.0-py2.py3-none-any.whl |
Total release size: 15.6 kB
Release files / dicom_exporter-1.0.0.tar.gz
| Download URL | dicom_exporter-1.0.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f3fb7a1d3792a2f1779c5f8d5afcc189d8f6bc1a93bdc34ab9a733defb952a1
|
|
BLAKE2b-256 checksum How to use checksums |
11ad2fd811218c8533e316d1a8765d285f1e5c0ef9e7c5a04a9d586bdb0a524b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / dicom_exporter-1.0.0-py2.py3-none-any.whl
| Download URL | dicom_exporter-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
166b00a2bb7ccdc4f2c6c270008422e54b5db94878acc0de79c5c31f38c49e03
|
|
BLAKE2b-256 checksum How to use checksums |
9ff4231cae7677a9102eedf6056c19e99a49a303117dfd42f5d39c4a7a8acfa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for dicom-exporter 1.0.0
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.