How to Work With Dicom Using Python

A Comprehensive Guide to Dicom File Handling with Python
How to Work With Dicom Using Python
File Size :
1.58 GB
Total length :
3h 36m


Mohammed El Amine Mokhtari


Last update




How to Work With Dicom Using Python

What you’ll learn

How to process Dicom files using Python
How to read/write dicom files
How to convert dicom files into JPG/PNG
How to convert dicom series to NIFTI
How to convert dicom series to MP4
How to play with the contrast of dicom files
How to create a visualization Tkinter application that has multiple features

How to Work With Dicom Using Python


Basic Python Concepts
No specific hardware is required


This course is designed to provide you with a comprehensive understanding of how to work with DICOM files using Python. You will start by learning how to install the necessary packages to work with DICOM files in Python. Then, you will dive into the fundamental concepts of working with DICOM files, including how to read and extract information from them, how to visualize them using libraries like PIL, and how to anonymize them.The course will also cover various techniques for converting DICOM files to other image and video formats, such as PNG, JPG, and MP4, using libraries like OpenCV, ffmpeg, and dicom2nifti. By the end of this section, you will be able to apply these techniques to your own projects and work with DICOM files in a variety of formats.Finally, the course will cover the backend of a DICOM viewer application built using the Tkinter library in Python. You will learn how to open and display DICOM files, including visualizing them in 2D, as well as how to extract and display information from DICOM files. By the end of the course, you will have a solid foundation in working with DICOM files using Python and will be able to build your own applications and projects that involve DICOM files.


Section 1: Introduction

Lecture 1 Introduction

Lecture 2 Install the Text Editor (VS Code)

Lecture 3 Installing Conda

Lecture 4 Installing the Packages

Section 2: Read Dicom Files

Lecture 5 Read Dicom Files

Lecture 6 Get Dicom Information

Lecture 7 Visualize Dicom Images: Approach 1

Lecture 8 Visualize Dicom Images: Approach 2

Lecture 9 Visualize Dicom Images: Organize Scripts

Lecture 10 Anonymize Dicom Files

Lecture 11 Change Tags

Lecture 12 Change Pixel Data

Section 3: Transforming DICOM Data: Images and Videos

Lecture 13 Convert Dicom to PNG/JPG

Lecture 14 Convert a Group of Dicoms to PNG/JPG

Lecture 15 Convert a Group of Dicoms to NIFTI

Lecture 16 Convert a Group of Dicoms to MP4 Video

Section 4: Project: Building a DICOM Viewer Application with Tkinter

Lecture 17 Introduction to the Application

Lecture 18 Explaining the Skeleton

Lecture 19 Explaining the Viewer

Lecture 20 Explaining the Anonymization & Patient Information

Lecture 21 Change Contrast

Lecture 22 Save Dicom to PNG & MP4

Lecture 23 Clone the GitHub Repo

This course is ideal for medical professionals, researchers, and developers who want to work with medical imaging data using Python. It is also suitable for individuals who are interested in learning how to handle DICOM files in Python, regardless of their background. Whether you are a beginner or have some experience with Python programming, this course will provide you with a solid foundation in working with DICOM files and enable you to apply your skills in real-world projects involving medical imaging.

Course Information:

Udemy | English | 3h 36m | 1.58 GB
Created by: Mohammed El Amine Mokhtari

You Can See More Courses in the Teaching & Academics >> Greetings from

New Courses

Scroll to Top