Digital Image Processing
Digital Image Processing
Image Segmentation
2
of
47
The Segmentation Problem
3
of
47
The Segmentation Problem
Segmentation attempts to partition the pixels
of an image into groups that strongly
correlate with the objects in an image
Typically the first step in any automated
computer vision application
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
4
of
47
Segmentation Examples
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
5
of
47
Image Segmentation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
6
of
47
Image Segmentation
7
of
47
Detection Of Discontinuities
There are three basic types of grey level
discontinuities that we tend to look for in
digital images:
– Points
– Lines
– Edges
We typically find discontinuities using masks
and correlation
8
of
47
Detection Of Discontinuities
9
of
47
Detection Of Discontinuities
10
of
47
Point Detection
Point detection can be achieved simply
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
detect lines
The masks below will extract lines that are
one pixel thick and running in a particular
direction
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
47
13
Line Detection
14
of
47
Line Detection (cont…)
Binary image of a wire
bond mask
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
After
Result of
processing
thresholding
with -45° line
filtering result
detector
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
47
15
Edge Detection
16
of
47
Edge Detection
An edge is a set of connected pixels that lie
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
47
17
Derivative Operators
18
of
47
Edges & Derivatives
We have already spoken
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
47
22
Edge Detection Example
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
47
23
Edge Detection Example
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
47
24
Edge Detection Example
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
47
25
Edge Detection Example
26
of
47
Laplacian Edge Detection
We encountered the 2nd-order derivative
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
47
27
Laplacian Edge Detection
28
of
Edge Linking and boundary
47
detection
29
of
47
Edge Linking : local processing
30
of
47
Edge Linking : local processing
31
of
47
Edge Linking : local processing
32
of
47
Summary
In this lecture we have begun looking at
segmentation, and in particular edge detection
Edge detection is massively important as it is
in many cases the first step to object
recognition