Introduction 1
Introduction 1
Introduction 1
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
“One picture is worth more than ten
thousand words”
TEXT BOOK
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
Gonzalez & Richard E. Woods,
Addison-Wesley, 2002
CONTENTS
Topics to be covered:
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
1. What is a digital image?
2. What is digital image processing?
3. History of digital image processing
4. State of the art examples of digital
image processing
5. Key stages in digital image processing
1. WHAT IS A DIGITAL IMAGE?
A digital image is a representation of a two-
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
1. WHAT IS A DIGITAL IMAGE? (CONT…)
Pixel values typically represent gray levels, colors,
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
Digitization implies that a digital image is an
approximation of a real scene
1 pixel
1. WHAT IS A DIGITAL IMAGE? (CONT…)
Image formats:
1 sample per point (B&W or Grayscale)
3 samples per point (Red, Green, and Blue)
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
4 samples per point (Red, Green, Blue, and
“Alpha”, a.k.a. Opacity)
2. WHAT IS DIGITAL IMAGE PROCESSING?
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
2. WHAT IS DIP? (CONT…)
Low Level Process
Input: Image
Output: Image
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
Examples: Noise removal, image sharpening
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
The Bartlane cable picture transmission
service
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
3. HISTORY OF DIP (CONT…)
Mid to late 1920s: Improvements to the Bartlane system
resulted in higher quality images
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
Increased number of tones in reproduced images
Improved
digital image Early 15 tone digital
image
3. HISTORY OF DIP (CONT…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
3. HISTORY OF DIP (CONT…)
1970s: Digital image processing begins to be used
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
in medical applications
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
Tomography (CAT) scans Typical head slice CAT
image
3. 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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
3.1 Image enhancement/restoration
3.2 Artistic effects
3.3 Medical visualisation
3.4 Industrial inspection
3.5 Law Enforcement
3.6 Human computer interfaces
3.1 EXAMPLES: IMAGE ENHANCEMENT
One of the most common uses of DIP techniques:
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
3.1 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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
Image processing techniques were used to fix this
3.2 EXAMPLES: ARTISTIC EFFECTS
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
visually appealing, to
add special effects and to
make composite images
3.3 EXAMPLES: MEDICINE
Take slice from MRI scan of heart, and find
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
Image with gray levels representing tissue density
Use a suitable filter to highlight edges
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
3.3 EXAMPLES: GIS (CONT…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
Night-Time Lights of the
World data set
Global inventory of
human settlement
Not hard to imagine the
kind of analysis that
might be done using this
data
3.4 EXAMPLES: INDUSTRIAL INSPECTION
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
unreliable.
Make machines do the
job instead.
Industrial vision systems
are used in all kinds of
industries
Can we trust them?
3.4 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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
acceptable
Both conventional imaging and x-ray imaging are
used
3.5 EXAMPLES: LAW ENFORCEMENT
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
are used extensively by law
enforcers
Number plate recognition for
speed cameras/automated toll
systems
Fingerprint recognition
Enhancement of CCTV images
3.6 EXAMPLES: HCI
Try to make human computer
interfaces more natural
Face recognition
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
KEY STAGES IN DIGITAL IMAGE
PROCESSING: IMAGE ACQUISITION
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
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
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
IMAGE PROCESSING: DEFINITION
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
Image processing is the study of any algorithm
that takes an image as input and returns an
image as output
Rajitha B, Assistant Professor,
CSED,MNNIT ALLD
APPLICATIONS OF IP:
Rajitha B, Assistant Professor,
CSED,MNNIT ALLD
APPLICATIONS
Rajitha B, Assistant Professor,
CSED,MNNIT ALLD
APPLICATIONS
Rajitha B, Assistant Professor,
CSED,MNNIT ALLD
APPLICATIONS
Rajitha B, Assistant Professor,
CSED,MNNIT ALLD
APPLICATIONS: CONTRAST ADJUSTMENT
Rajitha B, Assistant Professor,
CSED,MNNIT ALLD
APPLICATIONS: EDGE DETECTION
Rajitha B, Assistant Professor,
CSED,MNNIT ALLD
APPLICATIONS: REGION DETECTION,
SEGMENTATION
Rajitha B, Assistant Professor,
CSED,MNNIT ALLD
APPLICATIONS: COMPRESSION
Rajitha B, Assistant Professor,
CSED,MNNIT ALLD
APPLICATIONS: DIGITAL IN-PAINTING
Rajitha B, Assistant Professor,
CSED,MNNIT ALLD
KEY DIFFERENCES
COMMON IMAGE FILE FORMATS
CSED,MNNIT ALLD
Rajitha B, Assistant Professor,
PNG (Portable Network Graphics)
JPEG (Joint Photographic Experts Group)
TIFF (Tagged Image File Format)
PGM (Portable Gray Map)
FITS (Flexible Image Transport System)