Skip to main content

Program to export dicom files to .vti or .vtkjs

Project description

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).

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

dicom_exporter-1.0.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dicom_exporter-1.0.0-py2.py3-none-any.whl (8.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dicom_exporter-1.0.0.tar.gz.

File metadata

  • Download URL: dicom_exporter-1.0.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for dicom_exporter-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7f3fb7a1d3792a2f1779c5f8d5afcc189d8f6bc1a93bdc34ab9a733defb952a1
MD5 2f344282b552d2afa79ecb6533cf3cb2
BLAKE2b-256 11ad2fd811218c8533e316d1a8765d285f1e5c0ef9e7c5a04a9d586bdb0a524b

See more details on using hashes here.

File details

Details for the file dicom_exporter-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dicom_exporter-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 166b00a2bb7ccdc4f2c6c270008422e54b5db94878acc0de79c5c31f38c49e03
MD5 c8d03b6c64f1a31bd159309f0d818111
BLAKE2b-256 9ff4231cae7677a9102eedf6056c19e99a49a303117dfd42f5d39c4a7a8acfa6

See more details on using hashes here.

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