Image Processing 2017
Image Processing 2017
Chapter 1: Introduction
What Is Digital Image Processing?
A sample
digital
image.
662*640*2
56.
y
x
f(x,y): A two-dimensional function,
where x and y are spatial
coordinates, and the amplitude of f
at any pair of coordinates (x,y) is
called the intensity or gray level of
the image at that point.
x size: 662, y size: 640, gray levels:
256
Digital image: x, y, and the
amplitude values of f are all finite,
discrete quantities
A sample
color
digital
image,
800*600
*24 bits
Pixel: The elements of a digital
image.
Pixels
What is an image?
Some form
Enhance, of representation
extract for
wanted information
visual
from, information.
analyze and interpret an
image.
A picture worth a thousand words.
Low
A level
digital image is composed of
digitized quantities
compression, denoising, defined on a
deblurring,
rectangular
segmentation, grid of pixels. For
Highexample,
level 1024x1024 ~ 1megpixel.
Mathematically, a digital image is a
recognition/classification,
matrix of number,
interpretation, or a function on
a rectangular domain.
What is an image?
Some form of representation for visual
information.
A picture worth a thousand words.
A digital image is composed of digitized
quantities defined on a rectangular grid of
pixels. For example, 1024x1024 ~ 1megpixel.
Mathematically, a digital image is a matrix of
number, or a function on a rectangular
domain.
An image contains rich information with a lot
of redundancy.
What math has to do with it?
Mathematical modeling
characterize/quantify features, such
as noise, edge, textures, shape, .
Mathematical theory
MRI
Examples in which Other Imaging
Modalities Are Used
Sound
Ultrasound
Electron Microscope
Images generated by computers
Fundamental Steps in Digital Image
Processing
Digital
image processing focuses on
two major tasks
Improvement of pictorial information
for human interpretation
Processing of image data for storage,
transmission and representation for
autonomous machine perception
Some argument about where image
processing ends and fields such as
image analysis and computer vision
start
What is DIP? (cont)
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image
Processing:
Image Aquisition
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image
Processing:
Image Enhancement
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image
Processing:
Image Restoration
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image
Processing:
Morphological Processing
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image
Processing:
Segmentation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image
Processing:
Object Recognition
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image
Processing:
Representation & Description
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image
Processing:
Image Compression
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image
Processing:
Colour Image Processing
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Summary
76
Questions
Brightness adaptation
Dynamic range
Weber ratio
Cones vs. rods
Hexagonal sampling
Fovea or blind spot
Flexible lens and ciliary body
Near sighted vs. far sighted
Image resolution
Sampling vs. quantization
77
Structure of the human eye
79
Cones vs. Rods
80
Hexagonal pixel
Cone distribution on
the fovea (200,000
cones/mm2)
81
More on the cone
mosaic
http://www.nibb.ac.jp/annual_report/2003/03ann502.html
83
Brightness adaptation
Dynamic range of
human visual
system
10-6 ~ 104
Cannot accomplish
this range
simultaneously
The current
sensitivity level of
the visual system
is called the
brightness 84
Brightness discrimination
85
Psychovisual effects
The perceived
brightness is not
a simple
function of
intensity
Mach band
pattern
Simultaneous
contrast
And more (see
link) 86
Image formation in the eye
Flexible lens
Controlled by the tension in the
fibers of the ciliary body
To focus on distant objects?
To focus on objects near eye?
Near-sighted and far-sighted
87
Image formation in the eye
radiant electrical
energy impulses
88
A simple image formation model
f(x,y): the intensity is called the gray level
for monochrome image
f(x, y) = i(x, y).r(x, y)
0 < i(x, y) < inf, the illumination (lm/m2)
0< r(x, y) < 1, the reflectance
Some illumination figures (lm/m2)
90,000: full sun - 0.01: black
velvet
10,000: cloudy day - 0.93: snow
0.1: full moon
1,000: commercial office
89
Camera exposure
ISO number
Sensitivity of the film or the sensor
Can go as high as 1,600 and 3,200
Shutter speed
How fast the shutter is opened and
closed
f/stop
The size of aperture
1.0 ~ 32
90
Sampling and Quantization
91
Uniform sampling
Digitized in spatial domain (IM x N)
M and N are usually integer powers of
two
Nyquist theorem and Aliasing
Sampled
(0,0) (0,1) (0,2) (0,3) (0,0) (0,0) (0,2) (0,2)
by 2
(1,0) (1,1) (1,2) (1,3) (0,0) (0,0) (0,2) (0,2)
(2,0) (2,1) (2,2) (2,3) (2,0) (2,0) (2,2) (2,2)
(3,0) (3,1) (3,2) (3,3) (2,0) (2,0) (2,2) (2,2)
Non-uniform sampling
communication
92
More on aliasing
93
original Sampled by 2 Sampled by 4
94
Sampled by 8 Sampled by 16
Uniform quantization
192
2
128
1
64
0 0
95
original 128 levels (7 bits) 16 levels (4 bits)
96
4 levels (2 bits) 2 levels (1 bit)
Image resolution
Spatial resolution
Line pairs per unit distance
Dots/pixels per unit distance
dots per inch - dpi
Intensity resolution
Smallest discernible change in intensity
level
Artificial retina
(refer to the link)
Artificial vision
(refer to the link)
3-D interpretation
of line drawing
Compress sensing
98
3D interpretation of line drawing
Emulation approach
A given 3-D interpretation is considered less likely
to be correct if some angles between the wires are
much larger than others
99
Research publications
Conferences (IEEE)
International Conference on Image Processing
(ICIP)
International Conference on Computer Vision
(ICCV)
International Conference on Computer Vision and
Pattern Recognition (CVPR)
Journals (IEEE)
Transactions on Image Processing (TIP)
Transactions on Medical Imaging (TMI)
Transactions on Pattern Analysis and Machine
Intelligence (PAMI)
IEEE Explore
100
Summary
Structure of human eye
Photo-receptors on retina (cones vs.
rods)
Brightness adaptation
Brightness discrimination (Weber
ratio)
Be aware of psychovisual effects
Image formation models
Digital imaging
Sampling vs. quantization
Image resolution
101
A Simple Image Model
Nature of f(x,y):
Illumination: i(x,y)
Reflectance: r(x,y)
Lmin l Lmax
Where Lmin: positive
Lmax: finite
A Simple Image Model
In practice:
Lmin = imin rmin and
Lmax = imax rmax
and
number of gray
levels
Varying N, M numbers
Varying k (number of bits)
Varying both
Sampling & Quantization
Conclusions:
Quality of images increases as N & k
increase
Sometimes, for fixed N, the quality
improved by decreasing k (increased
contrast)
For images with large amounts of detail,
few gray levels are needed
Nonuniform
Sampling & Quantization
In this case:
few gray levels in the neighborhood of
boundaries
more in regions of smooth gray-level
variations (reducing thus false
contours)