Decompress jpeg/jpeg2000 DICOM files
Project description
dicom-decompress
A command-line utility for decompressing DICOM files with compressed pixel data
Installation
pip install dicom-decompress
This will install the terminal command dicom-decompress
in your environment.
To decompress a single file run
dicom-decompress in.dcm out.dcm
where in.dcm
is the file to decompress and out.dcm
is the decompressed target file.
To decompress multiple files in-place run e.g.
find . -name "*.dcm" -exec dicom-decompress {} {} \;
Dependencies
Development
- To build:
python setup.py sdist bdist_wheel
(requires python3 + wheel package) - To install:
pip install --force-reinstall dist/dicom-decompress-x.y.z-py3-none-any.whl
, (x.y.z is version, see setup.py) - To run: Run the terminal command
dicom-decompress <input file> <output file>
.- To decompress multiple files in-place run e.g.
find . -name "*.dcm" -exec dicom-decompress {} {} \;
- To decompress multiple files in-place run e.g.
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
dicom-decompress-0.0.1.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for dicom_decompress-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef0752c143926562c9fc3a5684025b17929b64c1fa49706450c49892b547cb6d |
|
MD5 | 09eafa1bad36c31b7e00d351ea71c3b7 |
|
BLAKE2b-256 | 8a6964c1f0f671cea479523d1b0a9f57d2caf9cc29a53310fbbfbd0e886ba400 |