Imaging Sciences
and
Mathematics
I-Liang Chern Fall 2010
Imaging Sciences
• The SIAM Journal on Imaging Sciences covers all areas of imaging sciences, broadly
interpreted. It includes – image formation (imaging) – image processing
– image analysis
– image interpretation and understanding – computer graphics and visualization
– inverse problems in imaging;
• leading to applications to diverse areas in
science, medicine, engineering, and other fields.
Imaging Sciences
• Image Acquistion (Imaging)
- human vision, Optics, Radar imaging, Ultrasound, MRI, X-ray CT,…
• Image Processing
• Image Interpretation (Visual Intelligence)
] [ input output T input I T I I ¾¾® =
Image Processing
Ø What is Image?Ø What is Image Enhancement?
Ø Contrast Enhencement Ø Image Denoising Ø Image Deblurring Ø Image Inpainting Ø Image segmentation Ø Image Registration
Book: Rafael C. Gonzalez and Richard E. Woods,
What are Digital Images?
1. What is a digital image?
A digital image Is an array, or a matrix , of square pixels (picture elements) arranged in columns and rows.
a. Binary Image (logical array)
{ } ( , ) 1 0 I i j = or l k R n j m i I R I :W ® ¾sampling,¾¾¾quantized¾¾® d :{1£ £ ,1£ £ }® k,1£ £ Chiu-Yen Kao
What are Digital Images?
b. Intensity Image
8 bit (uint8, 0-255), 16 bit (uint16, 0-65535) and double ([0 1]) c. color Image
RGB:
24 bit = 256^3 ~ 16 million colors
What are Digital Images?
c. index color Image
data matrix and colormap matrix
Examples of images
•
Daily-life images
•
Astro images
Image Processing
Ø What is Image?
Ø What is Image Enhancement?
Ø Contrast Enhencement Ø Image Denoising Ø Image Deblurring Ø Image Inpainting Ø Image segmentation Ø Image Registration
Book: Rafael C. Gonzalez and Richard E. Woods,
Image Enhancement
1. Image Enhancement a. Intensity Adjustment b. Denoise c. Deblur Chiu-Yen KaoImage Inpainting
“Image Inpainting : An Overview”, Guillermo Sapiro “Fast Digital Image Inpainting”, Manuel M. Oliveira, Brian Bowen, Richard McKenna and Yu-Sung ChangIntroduction to Image Segmentation
Chiu-Yen Kao X R R R for i j
j i i N i ¹ = Ç = È = 0 , 1 Chiu-Yen Kao
Tumor(green), Vessels(red), Ventricles(blue), Edema (orange)
Image Registration
Image Processing
Ø What is Image?
Ø What is Image Enhancement?
Ø Contrast Enhencement Ø Image Denoising Ø Image Deblurring Ø Image Inpainting Ø Image segmentation Ø Image Registration
Book: Rafael C. Gonzalez and Richard E. Woods,
Contrast enhancement-1
Contrast enhancement-2
Histogram equalization
( , ) [ ( , )]
Contrast Enhancement -3
Image Processing
Ø What is Image?
Ø What is Image Enhancement?
Ø Contrast Enhencement Ø Image Denoising Ø Image Deblurring Ø Image Inpainting Ø Image segmentation Ø Image Registration
Book: Rafael C. Gonzalez and Richard E. Woods,
Noise models
• Assume white noise • Types of noises – Additive noise – Multiplicative noise – Mixed 2 , : mean 0, variance g = +f n n
s
2 , : mean 1, variance g = fn ns
( , ) and ( ', ') are uncorrelated
n x y n x y
1 2
Noise Models-2
g = f + n
Noise Models-3
Denoise methods
• Filtering techniques
– Spatial filtering • Mean filters • Order-Statics filters – Frequency filtering – Wavelet filtering• Variational approach
Spatial filtering
• Mean filters:
– Arithmetic mean filter
– Geometric mean filter
– Harmonic mean filter
, 1 ( , ) ( , ) ( , ) x y mn s t S f x y g s t Î é ù = ê ú ê ú ë
Õ
û ! g = +f n , ( , ) 1 ( , ) ( , ) x y s t S f x y g s t mn Î =å
! , ( , ) ( , ) 1 ( , ) x y s t S mn f x y g s t Î =å
! g = fnMean filtering
• Convolution with a smoothing mask 1 2 1 2 4 2 1 2 1 1 16 , , , | |,| | 1 : i j s t i s j t s t f h g h g - -£ = * =
å
! , s t hDenoise methods
• Filtering techniques
– Spatial filtering • Mean filters • Order-Statics filters – Frequency filtering – Wavelet filtering• Variational approach
Original Image (a triangle)
Image corrupted by Impulse Noise
Only a number of pixels are corrupted
Impulse Noise Model
Noise
q Malfunctioning pixels in camera sensors
q Faulty memory locations in hardware
q Transmission in a noisy channel Two types of Impulse Noise
I. Salt-and-Pepper Noise
II. Uniformly-Distributed Random Noise Impulse Noise are caused by
Noise-free Image At 10% Noise
At 30% Noise At 50% Noise
Denoising Schemes
Median Filter
Sort Recovered
Noisy Image Restored Image
Median filter
q Drawback of Median Filter: Every pixel is modified, hence fuzziness and blurring
q Extensions of Median Filters (Median-type Filters):
q Adaptive Median Filter (Wang, IEEE
Trans IP, (1995))
q Adaptive Center Weighted Median Filter (2001)
q Multi-state Median Filters (2001)
q Filter based on homogeneity info (2003)
q …
q Detection statistics (IEEE TIP 2007)
Adaptive Median Filter
Sort
Noisy Image
Two Steps
1. Noise Detection (e.g., thresholding)
2. Noise Replacement (by Median or its variants)
Advantages
1. Fast
2. Accurate Detection
Median Filter
Adaptive Median Filter
Denoise methods
• Filtering techniques
– Spatial filtering • Mean filters • Order-Statics filters – Frequency filtering• Variational approach
Frequency filter
• Noise in frequency
Frequency filtering
• Taking Fourier transform:
• Noise model:
• Band reject/pass filter
( ) ˆ ( , ) ( , ) i x y f x h =
òò
f x y e- x h+ dxdyˆ
( , )
( , ) ( , )
ˆ
f
!
x h
=
k
x h
g
x h
ˆ
ˆg
= +
f
N
Denoise methods
• Filtering techniques
– Spatial filtering • Mean filters • Order-Statics filters – Frequency filtering – Wavelet filtering• Variational approach
Variation approach-1
• Noise model:
• Find a smooth solution under constraint
• If the solution is to minimize H1 norm
we call it H1 regularization
z u n
= +
u
2 2 |u z- | = sò
2 : mean 0, variance n s 2 | Ñu |ò
Variational approach to denoising-2
• H1 denoising
• Total variation denosing
2 2 min |u
ò
u z- | +aò
|Ñu |(
) 0
u
u z
aD -
-
=
2 min |uò
u z- | +aò
| Ñu | ( ) 0 | | u u z ua
Ñ × æç Ñ ö÷ - - = Ñ è ø Euler-Lagrange equation Euler-Lagrange equation Regularization penaltyWhy Total variation denoising
• TV norm: Keep edge sharpPicture by Vogel and Oman Rudin, Osher, Fatemi
TV norm is insensitive to jumps (edges)
Image Processing
Ø What is Image?
Ø What is Image Enhancement?
Ø Contrast Enhencement Ø Image Denoising Ø Image Deblurring Ø Image Inpainting Ø Image segmentation Ø Image Registration
Book: Rafael C. Gonzalez and Richard E. Woods,
Blur model-1
• Convolution
• If h is a positive weight, then h*f is an averaging process, i.e. blurring
• Example: Finite size mask
( ) [ ]( ) : ( ) ( ) g x = *h f x =
ò
h x y f y dy -1 2 -1 2 4 2 1 2 1 , 1 16 s t h =Blur model-2
2 2 ( )ˆ( , )
kh
x h
=
e
- x +h g h f= * 2 2 5 / 6 ( )ˆ( , )
kh
x h
=
e
- x h+ Atmospheric turbulence Gaussian modelˆ ˆ
ˆg h f
= ×
Blur model -4
K : Translation 0 0 0 ( , ) T ( ( ), ( )) g x y =ò
f x x t y y t dt--Blur model-5
g h f
= * +
n
h: Blur operator n: noise
Deblur methods
• Deconvolution in frequency domain
– Inverse filtering – Wiener filtering – …
• Deconvolution via wavelets
• Variational approach
Deconvolution
• Inverse filtering
• Wiener filtering
ˆ ˆ ˆ ˆ g h f= * + Þ = × +n g h f n 1 ˆ ˆˆ ˆ ˆ f kg g h = = ! 2 ˆ { , }ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ | | { , } { , } hE f f k h E f f E n n = + f! = *k gDeblur-1
Deblur-2
Deblur methods
• Deconvolution in frequency domain
– Inverse filtering – Wiener filtering – …
• Deconvolution via wavelets
Debur via TV regularization-1
• Blur model
• Total variation regularization:
• Alternative formulation g h f= * + n 2 minf a
ò
| Ñ +f |ò
| h f* - g | 2 2 , min f waò
| |w +bò
| Ñ -f w | +ò
| h f* - g | Y Wang et al.Deblur via TV regularization-2
Deblur via TV regularization-3
Imaging Sciences
• Image Acquistion (Imaging)
- human vision, Optics, Radar imaging, Ultrasound, MRI, X-ray CT,…
• Image Processing
• Image Interpretation (Visual Intelligence)
] [ input output T input I T I I ¾¾® =
What is imaging?
• Use physical methods to get geometrical
or physical properties of the objects
– Geometry: shape, morphology, structure,… – Physical properties:
• Mechanical: density, pressure, velocity,
concentration, viscosity, diffusion coefficients,… • Electrical: potential, current, impedance,
conductivity, resistance,
• Optical: absorption/reflection… • nuclear
Medical imaging
(Wiki)
•
1 Projection radiography
•
2 Tomography
•
3 Ultrasound
•
4 Fluoroscopy
•
5 Magnetic resonance imaging (MRI)
•
6 Nuclear medicine
•
7 Positron emission tomography (PET)
Tomography
Basic principle of tomography: superposition free tomographic cross sections S1 and S2 compared with the projected image P
Type of Tomography-1
• Atom probe tomography (APT) • Computed tomography (CT)
• Confocal laser scanning microscopy (LSCM) • Cryo-electron tomography (Cryo-ET)
• Electrical capacitance tomography (ECT) • Electrical resistivity tomography (ERT) • Electrical impedance tomography (EIT)
• Functional magnetic resonance imaging (fMRI) • Magnetic induction tomography (MIT)
• Magnetic resonance imaging (MRI), formerly known as
magnetic resonance tomography (MRT) or nuclear magnetic resonance tomography
Type of Tomography-2
• Optical coherence tomography (OCT) • Process tomography (PT)
• Positron emission tomography (PET)
• Positron emission tomography - computed tomography
(PET-CT)
• Quantum tomography
• Single photon emission computed tomography (SPECT) • Seismic tomography
• X-ray tomography (CT, CATScan)
• Photoacoustic tomography (PAT), also known as
Optoacoustic Tomography (OAT) or Thermoacoustic Tomography (TAT)
Nobel winners for CT (1979)
Allan McLeod Cormack Godfrey Hounsfield
Image Reconstruction
•
Tomographic reconstruction
:
• Radon transform • Imaging model • Image reconstruction 1( , )
( ) ,
x rRf
r
f x dx
S
qq
q
× ==
ò
Î
Given , reconstruct
z
u
z Ru n
=
+
Basic Principles of Nuclear
Magnetic Resonance
• Atoms with odd number of protons and/or neutrons possess nuclear spin angular
momentum S
• Associated with S is a magnetic dipole moment • Magnetic dipole moment rotates under external
magnetic field, exhibit magnetic resonance phenomena
• The variation of rotation of spins generates magnetic fluxes and can be recorded
• Hydrogen H+ atoms are abundant in biological specimens
MRI:
use magnetic fields to perform
•Relaxation: Main field B0
•Excitation: Radio Frequency (RF) field B1 •Fourier transform: Gradient field G
MRI is a Fourier integrator
• RF excitation selects a slice of magnetic dipoles
• The gradient field generates Fourier transform of magnetic dipoles Frequency encoding Phase encoding Gradient echo
Magnetic Resonance Imaging
Input Physical Agent Black Box Output Information Carrier Information Recording & Decoding EM waves Pulse sequences Transmit coils Contrast agents Magnetic dipoles of mobile protonsEM waves Receive coils
Image reconstruction Data processing Data analysis - T1 & T2 - Flow - Diffusion - Perfusion - Temperature - Cell tracking - Molecules
Summary of Imaging Sciences
• Imaging (data acquisition): CT, MRI
– Solving inverse problems
• Image processing:
– Enhancement (contrast enhancement, denoising, deblurring,…)
– Segmentation (edge detection, active contours,…)