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

Uploaded Source

Built Distribution

dicom2jpg-0.0.4-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file dicom2jpg-0.0.4.tar.gz.

File metadata

  • Download URL: dicom2jpg-0.0.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for dicom2jpg-0.0.4.tar.gz
Algorithm Hash digest
SHA256 9de74ab2dd468ecc854b206b5c8f603bde1ad30c3c5fdcbf3a4a4966e92fde40
MD5 11955ab44b170bcd56846ea9e5ef578f
BLAKE2b-256 883d184cbe75d0c19599071136547930edb6a885b5c51264b2d88d0753e6c91f

See more details on using hashes here.

File details

Details for the file dicom2jpg-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: dicom2jpg-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for dicom2jpg-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7d8671bbe24213666aaf43aa94d8c0b96a3b4b1798129bc6575532c73af04f71
MD5 1ba52e6ee0149c84b1ec0e8696d891c8
BLAKE2b-256 486eb1cddf69323395c00e149f58e1354b48c882bdceeb225c6bfe02efefc24a

See more details on using hashes here.

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