1
1/4/25
Lectures 1 & 2
Introduction to Medical Imaging and Analysis
BME 495:
Deep Learning for Medical Imaging
Ulas Bagci, Ph.D.,
Director of Machine & Hybrid Intelligence Lab,�Northwestern University, Chicago
Machine & Hybrid Intelligence Lab
Outline of Lectures 1 & 2
Overview of medical image analysis and its importance in healthcare
Types of medical images (X-rays, CT scans, MRI scans, etc.)
Challenges & Software Basics
Machine & Hybrid Intelligence Lab
3
Medical AI
Image Processing
Computer Vision
Machine Learning
Imaging Sciences (Radiology, Biomedical)
The NYT recently ranked biomedical jobs as the number one fastest growing career field in the nation and listed bio-medical imaging as the primary reason for the growth.
Machine & Hybrid Intelligence Lab
Medical Imaging
Image Processing
Image quality improvement
Machine Learning
Tissue types
Image Understanding
Semantic description & content understanding
Machine & Hybrid Intelligence Lab
Where do radiologists interpret scans?
5
Machine & Hybrid Intelligence Lab
Radiologists are great, but they can miss tumors!
6
Machine & Hybrid Intelligence Lab
Radiologists are great, but they can miss tumors!
7
(tiny/ small tumors, similar to normal tissues, and other biases)
Machine & Hybrid Intelligence Lab
Radiologists are great, but they can miss tumors!
8
(tiny/ small tumors, similar to normal tissues, and other biases)
Machine & Hybrid Intelligence Lab
Machine & Hybrid Intelligence Lab
Machine & Hybrid Intelligence Lab
human error (visual search error) remains a significant problem to detect abnormalities.�
Machine & Hybrid Intelligence Lab
human error (visual search error) remains a significant problem to detect abnormalities.�
"20 (out of 24) radiologists who did not
report the gorilla, 12 looked directly at the gorilla’s location when it was visible.”
Drew et al., 2013
Machine & Hybrid Intelligence Lab
Medical AI is important because …
13
Six radiologists missed the tumor while AI captured!
https://www.nature.com/articles/s41586-019-1799-6
Machine & Hybrid Intelligence Lab
Medical AI is important because …
14
https://www.frontiersin.org/journals/digital-health/articles/10.3389/fdgth.2021.671015/full
While an AI model can segment (label) a pancreas within a few seconds only, for radiologists, this can be an hour per 3D pancreas, even more difficult For MRI !
Machine & Hybrid Intelligence Lab
Medical AI is important because …
15
A deep learning algorithm trained to analyze images from MRI scans predicts the presence of an IDH1 gene mutation in brain tumors.
Credit: CA Cancer J Clin March/April 2019. doi: 10.3322/caac.21552. CC BY 4.0.
Machine & Hybrid Intelligence Lab
Medical AI is important because …
16
https://www.nature.com/articles/s41571-020-0417-8
Machine & Hybrid Intelligence Lab
Medical AI is important because …
17
https://gloriumtech.com/ai-reducing-healthcare-costs/
Machine & Hybrid Intelligence Lab
Medical AI is important because …
18
Machine & Hybrid Intelligence Lab
Knowledge Check
19
Machine & Hybrid Intelligence Lab
20
ELECTROMAGNETIC SPECTRUM (P. Suetens)
Machine & Hybrid Intelligence Lab
X-Ray Imaging / Radiography
21
routine diagnostic radiography (2D images):
chest x-rays, fluoroscopy, mammography, motion tomography, angiography, …
Machine & Hybrid Intelligence Lab
X-Ray Imaging / Radiography
22
D=Optical density
E=exposure (Iin/Iout)
Iin=incoming light intensity
Iout=outgoing light intensity
Machine & Hybrid Intelligence Lab
X-Ray Imaging / Radiography-Sensitometric Curve
23
Linear part (useful!)
known as the gamma of the film.
contrast at the cost of a smaller
useful exposure range
Contrast of the film. Max slope is known as Gamma of the film.
Defn. Contrast: is the intensity difference in adjacent regions of the image.
Machine & Hybrid Intelligence Lab
Basics Use of X-Rays
24
Machine & Hybrid Intelligence Lab
Clinical Examples – X-Rays
25
PELVIS
ELBOW
Machine & Hybrid Intelligence Lab
How Radiologists Search Abnormal Patterns in Chest X-Rays?
26
Patterns belonging to Potentially Benign Lesions
Patterns belonging to Potentially Malignant Lesions
Machine & Hybrid Intelligence Lab
How Radiologists Search Abnormal Patterns in Chest X-Rays?
27
Radiologists often report the following
Difficulties
Machine & Hybrid Intelligence Lab
28
Radiologists often report the following
Difficulties
Computer algorithms can solve/simplify these problems for improved healthcare
How Radiologists Search Abnormal Patterns in Chest X-Rays?
Machine & Hybrid Intelligence Lab
Another Example for X-ray Imaging
29
Benign
Malignant
Machine & Hybrid Intelligence Lab
Ultrasound Imaging
30
1794-Lazzaro Spallanzani - Physiologist
First to study US physics by deducing bats
used to US to navigate by echolocation.
1826-Jean Daniel Colladon - Physicist
Uses church bell (early transducer) under water to calculate speed of sound through water prove sound traveled faster through water than air.
1880-Pierre&Jacques Curie
discover the Piezo-Electric Effect (ability of certain materials to generate an electric charge in response to applied mechanical stress.
Machine & Hybrid Intelligence Lab
31
1942-Karl Dussik - Neurologist
First physician to use US for medical diagnosis
1948-George Ludwig - MD
First described the use of US to diagnose gallstones
1958-Ian Donald
Pioneers in OB-GYN
US Imaging Technology
Machine & Hybrid Intelligence Lab
Principle of US Imaging
32
US equipment assumes that sound velocity is constant in the body.
Machine & Hybrid Intelligence Lab
Features of US Imaging
33
Color flow mapping shows simultaneous amplitude (US) and velocity information (doppler)
Machine & Hybrid Intelligence Lab
Clinical Use of US Imaging
34
Machine & Hybrid Intelligence Lab
Clinical Use of US Imaging
35
Renal Artery Blood Flow
manual measurements?
can computer help calculating
all blood flow and identify
automatically the abnormal regions?
(See Next Lecture, afternoon)
stenosis is seen
eca: external carotid artery
cca: common carotid artery
ica: internal carotid artery
Machine & Hybrid Intelligence Lab
Clinical Use of US Imaging
36
Bone, fat, and physical length
Measurements –unborn babies
(Image Credit: S. Rueda, Oxford Univ.)
Machine & Hybrid Intelligence Lab
Computed Tomography (CT)
37
Tomo: slice/level (Greek)
Graphe: draw
Machine & Hybrid Intelligence Lab
CT Imaging (continue)
38
C-arm
CT
Micro-CT
~CAT Scan
(computerized
Axial tomography)
Machine & Hybrid Intelligence Lab
3D Nature of CT
39
Machine & Hybrid Intelligence Lab
3D View Terminology
40
Machine & Hybrid Intelligence Lab
3D Images
41
x
y
z
I: Image
I(x,y,z) denotes intensity value at pixel location x,y,z
Note also that whatever you see on the left is right part of the body!
Machine & Hybrid Intelligence Lab
Clinical Use of CT Imaging
42
Machine & Hybrid Intelligence Lab
CT Imaging Example: Tumor
43
2D manual measurement of tumor size (short and long axis of tumor)
Machine & Hybrid Intelligence Lab
CT Imaging Example: Lung
44
Machine & Hybrid Intelligence Lab
CT Imaging Example: Cardiac
45
how to calculate the amount of fluid?
Fluid
Machine & Hybrid Intelligence Lab
Magnetic Resonance Imaging (MRI)
46
Machine & Hybrid Intelligence Lab
Brief History of MRI
47
Machine & Hybrid Intelligence Lab
Nobel Prizes for MRI
Physics (Measured magnetic moment of nucleus)
Physics (Basic science of NMR phenomenon)
Chemistry (High-resolution pulsed FT-NMR)
Chemistry (3D molecular structure in solution by NMR)
Physiology or Medicine (MRI technology)
48
Machine & Hybrid Intelligence Lab
MRI Hardware Setup - Details
49
Machine & Hybrid Intelligence Lab
MRI Basics
50
Machine & Hybrid Intelligence Lab
51
Machine & Hybrid Intelligence Lab
MRI Basics
52
No magnetization
Machine & Hybrid Intelligence Lab
The Magnet
53
Machine & Hybrid Intelligence Lab
54
Machine & Hybrid Intelligence Lab
Types of MRI
55
Machine & Hybrid Intelligence Lab
1/4/25
TR
Long
Short
Short
Long
TE
Proton
Density
T1
poor!
Image contrast summary: TR, TE
T2
Machine & Hybrid Intelligence Lab
Brain MRI
57
Machine & Hybrid Intelligence Lab
The brain of a volunteer is imaged using a 3-T (left) and 9.4-T (right) magnetic resonance imaging machine.Credit: Rolf Pohmann/Max-Planck-Institute for Biological Cybernetics�(https://www.nature.com/articles/d41586-018-07182-7)
58
Machine & Hybrid Intelligence Lab
59
Machine & Hybrid Intelligence Lab
60
Machine & Hybrid Intelligence Lab
Safety in MRI
61
Machine & Hybrid Intelligence Lab
Diffusion Tensor Imaging (DTI)
62
Machine & Hybrid Intelligence Lab
Diffusion Weighted Imaging (DWI)
63
Glioblastoma Tumor
Machine & Hybrid Intelligence Lab
Clinical Use: Example
64
Machine & Hybrid Intelligence Lab
Clinical Use: Example
65
Myocardial Infarction Detection
Machine & Hybrid Intelligence Lab
Clinical Use: Example
66
rectal tumor
Machine & Hybrid Intelligence Lab
Human brain mapped in unprecedented detail�(https://www.nature.com/news/human-brain-mapped-in-unprecedented-detail-1.20285)
67
Now, neuroscientists have charted an equivalent map of the brain’s outermost layer — the cerebral cortex — subdividing each hemisphere's mountain- and valley-like folds into 180 separate parcels.
Machine & Hybrid Intelligence Lab
Functional MRI (fMRI)
68
Machine & Hybrid Intelligence Lab
fMRI Settings
69
Active Regions
Machine & Hybrid Intelligence Lab
Nuclear Medicine Imaging – PET/SPECT
70
Machine & Hybrid Intelligence Lab
Nuclear Medicine Imaging – PET/SPECT
71
Machine & Hybrid Intelligence Lab
Basics of PET Imaging
72
Late 1950s, David L. Kuhl
concept of emission and transmission
molecular activity is measured.
Machine & Hybrid Intelligence Lab
PET/CT and MRI/PET (Hybrid Imaging)
73
PET/CT
-choice of modality for oncological applications(yet)
MRI/PET
-superior soft tissue
contrast resolution
-minimized radiation
Machine & Hybrid Intelligence Lab
What to Measure in PET?
74
Machine & Hybrid Intelligence Lab
Clinical Use of PET: Example
75
Machine & Hybrid Intelligence Lab
Clinical Use of PET: Example
76
Machine & Hybrid Intelligence Lab
Serial and Simultaneous MRI/PET
77
Past
Now!
Machine & Hybrid Intelligence Lab
Shallow Comparison of Imaging Methods
78
� | Chest | Abdomen | Head/Neck | Cardiovascular | Skeletal/muscular |
CT | gold standard | Need contrast for excellency, widely used | Good for trauma | Gold standard | Gold standard |
US | no use except heart or P.Effusion | Problems with gas | Poor | Poor | Elastography |
Nuclear | Extensive use in heart and therapy in lung | CT or MRI is merged | PET | Perfusion | bone marrow |
MRI | growing cardiac applications | Increased role of MRI | Gold standard | Will replace ct in near future | Excellent |
Machine & Hybrid Intelligence Lab
Medical Image Formats
79
Machine & Hybrid Intelligence Lab
Machine & Hybrid Intelligence Lab
Digital Images
81
What computer sees!
Machine & Hybrid Intelligence Lab
Digital Images
82
Machine & Hybrid Intelligence Lab
Picture Elements (Pixels), Volume Elements (Voxels)
83
PIXELS are ATOMIC ELEMENTS of an image.
In late 1960s, terminology ‘pixel’ was introduced by a group of scientist at JPL in California!
Machine & Hybrid Intelligence Lab
Image Types
a: level (bit)
Ex. If 8 bit (a=8), image spans from 0 to 255
0 black
255 white
Ex. If 1 bit (a=1), it is binary image, 0 and 1 only.
84
Machine & Hybrid Intelligence Lab
Image Types-Color
85
Machine & Hybrid Intelligence Lab
3D Visualization
86
3D SLICER
Machine & Hybrid Intelligence Lab
Machine & Hybrid Intelligence Lab
Free Software to use in this course
blue: will be frequently used in this course
88
Machine & Hybrid Intelligence Lab
DeepMedic (from Imperial College, BiomedIA)
89
https://biomedia.doc.ic.ac.uk/software/deepmedic/
Machine & Hybrid Intelligence Lab
DeepMedic (from Imperial College, BiomedIA)
90
The system has been shown to yield excellent performance (winner of the ISLES 2015 competition) on challenging lesion segmentation tasks, including traumatic brain injuries, brain tumors, and ischemic stroke lesions.
Machine & Hybrid Intelligence Lab
91
Machine & Hybrid Intelligence Lab
92
Machine & Hybrid Intelligence Lab
FIJI (or ImageJ)
93
Machine & Hybrid Intelligence Lab
Coding
94
https://www.learnpytorch.io/01_pytorch_workflow/
Machine & Hybrid Intelligence Lab
Conferences and Journals to Follow for this Course
95
Machine & Hybrid Intelligence Lab
References and Slide Credits
96
Machine & Hybrid Intelligence Lab
97
Thank you for listening!
Ulas Bagci, Ph.D.,
Associate Professor,
Director of Machine & Hybrid Intelligence Lab,
Department of Radiology, Feinberg School of Medicine,
Department of Biomedical Engineering (Courtesy),
Department of Electrical and Computer Engineering (Courtesy)
Northwestern University,
737 N. Michigan Avenue Suite 1600,
Chicago, IL 60611, USA
Phone: +1 312-694-4951�Cell: +1 240 383 8587�
Machine & Hybrid Intelligence Lab