Skip to content

bruyeret/dicom-exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

DICOM file converter in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%