Today's Lecture: Repetition and Refinement of Image Basics
Today's Lecture: Repetition and Refinement of Image Basics
● Commutative: A⊗B=B⊗ A
The Sampling Property of Convolution
Continuous
LTI
Continuous Continuous
image image
(if band-limited!)
reconstruction
sampling
Discrete
LTI
Discrete Discrete
image image
Convolution at the Image Edge
Convolution at the Image Edge
FREQUENCY
impulse 1
SPATIAL
cosine 2 impulses
sine 2 impulses
box sinc
Notice the
symmetry!
sinc box
Gaussian Gaussian
white white
noise noise
Fourier Transform in 2D, 3D, etc.
● Simplest thing there is! — the FT is separable:
– Perform transform along x-axis,
– Perform transform along y-axis of result,
– Perform transform along z-axis of result, (etc.)
● All the same properties apply as for 1-D Fourier
Transform
● Note error in the book (pg 59): 2D Fourier transform needs half
the plane, not only the first quadrant!
What's more important?
● Spatial scaling
real, even
● Symmetry real, even
real, odd
imaginary, odd
The Shift Property
magnitude phase
Revisiting Sampling
spatial domain frequency domain
continuous
function
sampling
function
sampled
function
sampled
function
Revisiting Sampling
spatial domain frequency domain
continuous
function
sampled
function
continuous
image
discrete
image
Basic Image Operations
● Image arithmetic:
– So trivial it's not even mentioned in the book
● Point operations (next):
– Function that maps image values
– Independent of spatial location
● Geometric transforms (Anders's lecture on Sept 29):
– Function that maps image coordinates
– Independent of image values
● Filtering (next 2 lectures):
– Function that changes image values based on local
neighbourhood
Point Operations
● Apply a function (mapping) to each pixel in the image,
independent of pixel location
– Increase contrast
– Bring interesting grey-value range in view
– Make details visible
● Common:
– Change gamma: f y = y
– Stretch
– Logarithmic stretch (e.g. for displaying Fourier Transform)
– Clipping
– Histogram equalization
Gamma
● Increases contrast at one end of the range at the
expense of the other end of the range
=0.5 =2
Clipping
● Brings values outside of the range to the range
boundary
f y = { a ,
y ,
y a
otherwise
{
f y = b ,
y ,
y b
otherwise
{
a , y a
f y = b , y b
y , otherwise
Histogram Equalization
● Mapping derived from histogram: tries to make
histogram as flat as possible
Mapping:
Summary of Today’s Lecture
● Convolution describes Linear Time Invariant systems
● Sampling and reconstruction are LTI systems
● Imaging devices often are LTI systems
● Fourier Domain useful for analysing LTI systems
● Convolution in Spatial Domain is multiplication in
Fourier Domain