Posts

Showing posts with the label DICOM

Parse DICOM Image in Python | Convert DICOM to PNG in Python

Image
DICOM: Digital Imaging and Communications in Medicine (DICOM) is a standard for storing and transmitting medical images. It includes a file format definition and a network communications protocol. PNG: PNG (pronounced ping as in ping-pong; for Portable Network Graphics) is a file format for image compression that, in time, is expected to replace the Graphics Interchange Format (GIF) that is widely used on today's Internet. Portable Network Graphics (PNG /ˈpɪŋ/) is a raster graphics file format that supports lossless data compression. PNG was created as an improved, non-patented replacement for Graphics Interchange Format (GIF), and is the most widely used lossless image compression format on the Internet. Prerequisites: You need to install following python packages: pydicom, pylab, pypng To install these modules you can type following commands in console: pip install pydicom pip install pylab pip install pypng