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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dicom2jpg-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 b336543d55ab51fe7b8d97b4cf695f6a5e93d6159aa6d153b2ef0e97f1153e24
MD5 1f422451ad2b00441364377c3ca8a6d0
BLAKE2b-256 47a0cd3127e7058fad6eedf0de2faec0503a4faf99d03c312e9ff04c7d08355d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dicom2jpg-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6288461e4a6609dff48d3a994daa22db82fe3fb676c54cc1a37408d36a6a8cc6
MD5 02bcf0930b4c3f7bad9ab86d04a0deb0
BLAKE2b-256 471bba94303f12453f1ffc6fb934fbafd258135488c1492b70104a031c58a82f

See more details on using hashes here.

Supported by

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