Skip to main content

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


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.3.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

dicom2jpg-0.0.3-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page