0% found this document useful (0 votes)
7 views32 pages

Digital Image Processing

The document discusses digital image processing with a focus on image segmentation and edge detection. It outlines the segmentation problem, types of grey level discontinuities, and methods for detecting points, lines, and edges using various techniques. The importance of edge detection in object recognition is emphasized as a critical first step in automated computer vision applications.

Uploaded by

pasang.201722
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views32 pages

Digital Image Processing

The document discusses digital image processing with a focus on image segmentation and edge detection. It outlines the segmentation problem, types of grey level discontinuities, and methods for detecting points, lines, and edges using various techniques. The importance of edge detection in object recognition is emphasized as a critical first step in automated computer vision applications.

Uploaded by

pasang.201722
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

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)

using the mask below:

Points are detected at those pixels in the


subsequent filtered image that are above a
set threshold
11
of
47
Point Detection (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

X-ray image of Result of point Result of


a turbine blade detection thresholding
12
of
47
Line Detection
The next level of complexity is to try to
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)

on the boundary between two regions


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)

about how derivatives


are used to find
discontinuities
1st derivative tells us
where an edge is
2nd derivative can
be used to show
edge direction
19
of
47
Derivatives & Noise
Derivative based edge detectors are
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

extremely sensitive to noise


We need to keep this in mind
20
of
47
Common Edge Detectors
Given a 3*3 region of an image the following
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

edge detection filters can be used


21
of
47
Edge Detection Example
Original Image Horizontal Gradient Component
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

Vertical Gradient Component Combined Edge Image


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)

based Laplacian filter already

The Laplacian is typically not used by itself


as it is too sensitive to noise
Usually when used for edge detection the
Laplacian is combined with a smoothing
Gaussian filter
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

You might also like