Digital Image Processing:
Introduction
Introduction
“One picture is worth more than ten thousand
words”
Anonymous
References
“Digital Image Processing”, Rafael C.
Gonzalez & Richard E. Woods,
Addison-Wesley, 2002
– Much of the material that follows is taken from this
book
“Machine Vision: Automated Visual
Inspection and Robot Vision”, David
Vernon, Prentice Hall, 1991
– Available online at:
homepages.inf.ed.ac.uk/rbf/BOOKS/VERNON/
Contents
This lecture will cover:
– What is a digital image?
– What is digital image processing?
– History of digital image processing
– State of the art examples of digital image
processing
– Key stages in digital image processing
What is a Digital Image?
A digital image is a representation of a two-
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
dimensional image as a finite set of digital
values, called picture elements or pixels
What is a Digital Image? (cont…)
Pixel values typically represent gray levels,
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
colours, heights.
Remember digitization implies that a digital
image is an approximation of a real scene
1 pixel
What is a Digital Image? (cont…)
Common image formats include:
– 1 sample per point (B&W or Grayscale)
– 3 samples per point (Red, Green, and Blue)
– 4 samples per point (Red, Green, Blue, and “Alpha”,)
For most of this course we will focus on grey-scale
images
What is 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
What is DIP? (cont…)
The continuum from image processing to
computer vision can be broken up into low-,
mid- and high-level processes
Low Level Process Mid Level Process High Level Process
Input: Image Input: Image Input: Attributes
Output: Image Output: Attributes Output: Understanding
Examples: Noise Examples: Object Examples: Scene
removal, image recognition, understanding,
sharpening segmentation autonomous navigation
History of Digital Image Processing
Early 1920s: One of the first applications of
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
digital imaging was in the news-
paper industry
– The Bartlane cable picture
transmission service Early digital image
– Images were transferred by submarine cable
between London and New York
– Pictures were coded for cable transfer and
reconstructed at the receiving end on a telegraph
printer
History of DIP (cont…)
Mid to late 1920s: Improvements to the
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Bartlane system resulted in higher quality
images
– New reproduction
processes based
on photographic
techniques
– Increased number
of tones in Improved
reproduced images digital image Early 15 tone digital
image
History of DIP (cont…)
1960s: Improvements in computing technology
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
and the onset of the space race led to a surge of
work in digital image processing
– 1964: Computers used to
improve the quality of
images of the moon taken
by the Ranger 7 probe
– Such techniques were used
in other space missions
including the Apollo landings A picture of the moon taken
by the Ranger 7 probe
minutes before landing
History of DIP (cont…)
1970s: Digital image processing begins to be
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
used in medical applications
– 1979: Sir Godfrey N.
Hounsfield & Prof. Allan M.
Cormack share the Nobel
Prize in medicine for the
invention of tomography,
the technology behind
Computerised Axial
Typical head slice CAT
Tomography (CAT) scans image
History of DIP (cont…)
1980s - Today: The use of digital image processing
techniques has exploded and they are now used for
all kinds of tasks in all kinds of areas
– Image enhancement/restoration
– Artistic effects
– Medical visualisation
– Industrial inspection
– Law enforcement
– Human computer interfaces
Examples: Image Enhancement
One of the most common uses of DIP
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
techniques: improve quality, remove noise etc
Examples: The Hubble Telescope
Launched in 1990 the Hubble
telescope can take images of
very distant objects
However, an incorrect mirror
made many of Hubble’s
images useless
Image processing
techniques were
used to fix this
Examples: Artistic Effects
Artistic effects are
used to make images
more visually
appealing, to add
special effects and to
make composite
images
Examples: Medicine
Take slice from MRI scan of canine heart, and
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
find boundaries between types of tissue
– Image with gray levels representing tissue density
– Use a suitable filter to highlight edges
Original MRI Image of a Dog Heart Edge Detection Image
Examples: GIS
Geographic Information Systems
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
– Digital image processing techniques are used
extensively to manipulate satellite imagery
– Terrain classification
– Meteorology
Examples: GIS (cont…)
Night-Time Lights of the
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
World data set
– Global inventory of
human settlement
– Not hard to imagine
the kind of analysis
that might be done
using this data
Examples: Industrial Inspection
Human operators are
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
expensive, slow and
unreliable
Make machines do the
job instead
Industrial vision systems
are used in all kinds of
industries
Can we trust them?
Examples: PCB Inspection
Printed Circuit Board (PCB) inspection
– Machine inspection is used to determine that all
components are present and that all solder joints
are acceptable
– Both conventional imaging and x-ray imaging are
used
Examples: Law Enforcement
Image processing
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
techniques are used
extensively by law
enforcers
– Number plate
recognition for speed
cameras/automated toll
systems
– Fingerprint recognition
– Enhancement of CCTV
images
Examples: HCI
Try to make human computer
interfaces more natural
– Face recognition
– Gesture recognition
Does anyone remember the
user interface from “Minority
Report”?
These tasks can be extremely
difficult
Key Stages in Digital Image Processing
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 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
Image Acquisition
Image Enhancement
• Filtering with morphological operators.
• Histogram equalization.
• Noise removal using a Wiener filter.
• Linear contrast adjustment.
• Median filtering.
• Unsharp mask filtering.
• Contrast-limited adaptive histogram equalization
(CLAHE)
• Decorrelation stretch.
Image Restoration
• Median Filter
• Adaptive Filter
• Linear Filters
• Non Negative and Support Constraints
Recursive Inverse Filtering (NAS-RIF)
• Wiener Filter
Morphological Processing
• Erosion and dilation
• opening
• Closing
• hit and miss transform
• skeleton and propagation
Segmentation
• Applications. ...
• Thresholding. ...
• Clustering methods. ...
• Motion & Interactive Segmentation. ...
• Compression-based methods. ...
• Histogram-based methods. ...
• Edge detection. ...
• Dual clustering method.
Object Recognition
• Template matching
• Color based
• Active and Passive
• Shape based
Industry and Applications
• Automobile driver assistance
– Lane departure warning
– Adaptive cruise control
– Obstacle warning
• Digital Photography
– Image Enhancement
– Compression
– Color manipulation
– Image editing
– Digital cameras
• Sports analysis
MobilEye system
– sports refereeing and commentary
– 3D visualization and tracking sports actions
45
• Film and Video
– Editing
– Special effects
• Image Database
– Content based image retrieval
– visual search of products
– Face recognition
• Industrial Automation and Inspection
– vision-guided robotics
– Inspection systems
• Medical and Biomedical
– Surgical assistance
– Sensor fusion
– Vision based diagnosis
• Astronomy
– Astronomical Image Enhancement
– Chemical/Spectral Analysis
46
• Arial Photography
– Image Enhancement
– Missile Guidance
– Geological Mapping
• Robotics
– Autonomous Vehicles
• Security and Safety
– Biometry verification (face, iris)
– Surveillance (fences, swimming pools)
• Military
– Tracking and localizing
– Detection
– Missile guidance
• Traffic and Road Monitoring
– Traffic monitoring
– Adaptive traffic lights
Cruise Missiles
47
Visual Inspection
Character Recognition
Document Handling
Signature Verification
Biometrics
Fingerprint Verification / Identification
Fingerprint Identification Research at UNR
Minutiae Matching
Delaunay Triangulation
Object Recognition
Object Recognition Research
reference view 1 reference view 2
novel view recognized
Indexing into Databases
• Shape content
Indexing into Databases (cont’d)
• Color, texture
Target Recognition
• Department of Defense (Army, Airforce, Navy)
Interpretation of Aerial Photography
Interpretation of aerial photography is a problem domain in both
computer vision and photogrammetry.
Autonomous Vehicles
• Land, Underwater, Space
Traffic Monitoring
Face Detection
Face Recognition
Face Detection/Recognition Research at UNR
Facial Expression Recognition
Face Tracking
Face Tracking (cont’d)
Hand Gesture Recognition
• Smart Human-Computer User Interfaces
• Sign Language Recognition
Human Activity Recognition
Medical Applications
• skin cancer breast cancer
Astronomy Applications Research
at UNR
• Identify radio galaxies having a special morphology called
“bent-double” (in collaboration with Lawrence Livermore
National Laboratory)
Morphing
Inserting Artificial Objects into a Scene
Image Denoising
75
Image Enhancement
76
Image Deblurring
77
Operations in Frequency Domain
Original Noisy image Fourier Spectrum Filtered image
78
Image Inpainting 1
79
Image Inpainting 2
Images of Venus taken by the Russian lander Ventra-10 in 1975
80
Image Inpainting 3
81
Video Inpainting
Y. Wexler, E. Shechtman and M. Irani 2004
82
Multi-Resolution
Low resolution
High resolution
83
Summary
We have looked at:
– What is a digital image?
– What is digital image processing?
– History of digital image processing
– State of the art examples of digital image
processing
– Key stages in digital image processing and its
techniques.
– Different applications of Image Processing.