DICOM -> JPG/PNG/BMP
Project description
dicom2jpg
DICOM -> JPG/PNG/BMP
Intro
It applies window center(level) and window width adjustment, or VOI LUT function to the images, which makes output files looks like what we see on standard DICOM viewers.
Known issue
- Error while converting multi-frame fluoroscopic image array
error: OpenCV(4.0.1) C:\ci\opencv-suite_1573470242804\work\modules\imgcodecs\src\loadsave.cpp:667: error: (-215:Assertion failed) image.channels() == 1 || image.channels() == 3 || image.channels() == 4 in function 'cv::imwrite_'
Todo
- Multiprocessing for speeding up
- Support TIFF format
Image examples
CT | MR | CXR |
---|---|---|
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
dicom2jpg-0.0.5.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for dicom2jpg-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a1b87d233ca163df9127518b0a9f92b8f0fba2a59ecd2eb4c7b7591dbe7790 |
|
MD5 | 472486735bd88e4f8ec17d31ebdf2e32 |
|
BLAKE2b-256 | f463de0d3dfbc1289db6d4c79a44ecf9cd999b09d5b7888517cba1878dc18787 |