SlidePub
Home
Categories
Login
Register
Home
General
Edge Detection.ppt Image processing chapter of the Computer Vision
Edge Detection.ppt Image processing chapter of the Computer Vision
BhawnaSaini45
7 views
21 slides
Feb 26, 2025
Slide
1
of 21
Previous
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
About This Presentation
Topic related to Computer Vision
Size:
1.42 MB
Language:
en
Added:
Feb 26, 2025
Slides:
21 pages
Slide Content
Slide 1
0 - 0 - 11
© 2007 Texas Instruments Inc,
Content developed in partnership with
Tel-Aviv University
From MATLAB
®
and Simulink
®
to
Real Time with TI DSPs
Edge Detection
Slide 2
Slide Slide 22
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Edge Detection?
“The ability to measure gray-level transitions in a
meaningful way.”
(R.C. Gonzales & R. E. Woods – Digital Image Processing, 2
nd
Edition, Prentice-Hall, 2001)
Slide 3
Slide Slide 33
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Gray-Level Transition
Ideal Ramp
Slide 4
Slide Slide 55
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Detecting the Edge (1)
yxI,
x
yxI
,
x
Original
First Derivative
TRSH
x
DetectedEdgeTRSH
x
yxI
,
Slide 5
Slide Slide 66
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Detecting the Edge (2)
Original First Derivative
yxI,
x
yxI
,
DetectedNotEdgeTRSH
x
yxI
,
TRSH
Slide 6
Slide Slide 77
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Gradient Operators
•The gradient of the image I(x,y) at location (x,y), is
the vector:
•The magnitude of the gradient:
•The direction of the gradient vector:
y
yxI
x
yxI
G
G
I
y
x
,
,
22
yx
GGII
y
x
G
G
yx
1
tan,
Slide 7
Slide Slide 88
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
The Meaning of the Gradient
•It represents the direction of the strongest
variation in intensity
0
yx
GI
x
,
The direction of the edge at location (x,y) is
perpendicular to the gradient vector at that point
2
yx
GI
y
,
Vertical Horizontal Generic
Edge Strength:
Edge Direction:
x
y
yx
G
G
yx
GGI
1
22
tan,
Slide 8
Slide Slide 99
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Calculating the Gradient
For each pixel the
gradient is calculated,
based on a 3x3
neighborhood around
this pixel. z
1z
2z
3
z
4z
5z
6
z
7
z
8
z
9
Slide 9
Slide Slide 1010
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
The Sobel Edge Detector
-1 -2 -1
0 0 0
1 2 1
-1 0 1
-2 0 2
-1 0 1
321987 22 zzzzzzG
x
741963
22 zzzzzzG
y
Slide 10
Slide Slide 1111
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
The Prewitt Edge Detector
-1 -1 -1
0 0 0
1 1 1
-1 0 1
-1 0 1
-1 0 1
321987 zzzzzzG
x
741963 zzzzzzG
y
Slide 11
Slide Slide 1212
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
The Roberts Edge Detector
0 0 0
0 -1 0
0 0 1
0 0 0
0 0 -1
0 1 0
59
zzG
x
68zzG
y
The Roberts Edge Detector is in fact a 2x2 operator
Slide 12
Slide Slide 1313
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
The Canny Method
Two Possible Implementations:
1.The image is convolved with a Gaussian filter before gradient
evaluation
2.The image is convolved with the gradient of the Gaussian
Filter.
22
2
2
2
yxr
erh
r
Slide 13
Slide Slide 1414
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
The Edge Detection Algorithm
•The gradient is calculated (using any of the four
methods described in the previous slides), for each
pixel in the picture.
•If the absolute value exceeds a threshold, the pixel
belongs to an edge.
•The Canny method uses two thresholds, and enables
the detection of two edge types: strong and weak
edge. If a pixel's magnitude in the gradient image,
exceeds the high threshold, then the pixel
corresponds to a strong edge. Any pixel connected to
a strong edge and having a magnitude greater than
the low threshold corresponds to a weak edge.
Slide 14
Slide Slide 1515
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
The Edge Detection Block
•The Edge Detection Block supports the four methods
described in the pervious slides
Slide 15
Slide Slide 1616
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Hands-On
•Simulation
•Implementation using the DSK6416
Slide 16
Slide Slide 1717
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Simulation
Image File
MATLAB
®
Display
Edge
Detection
Slide 17
Slide Slide 1818
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Edge Detection Simulation
Slide 18
Slide Slide 1919
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
DSK6416
Image
File
MATLAB
Display
Edge
Detection
Script
RGB
to
Grayscale
RTDXRTDX
Edge Detection on Stills Images
Slide 19
Slide Slide 2020
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Edge Detection Using the DSK6416
Slide 20
Slide Slide 2121
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Video
in
Video
out
DM6437 DVDP
Edge
Detection
Video ScreenCamera
Edge Detection on Video
Slide 21
Slide Slide 2222
© © 2007 Texas Instruments Inc, 2007 Texas Instruments Inc,
Edge Detection Real Time Model for the
DM6437 DVDP
Tags
image processing
Categories
General
Download
Download Slideshow
Get the original presentation file
Quick Actions
Embed
Share
Save
Print
Full
Report
Statistics
Views
7
Slides
21
Age
279 days
Related Slideshows
22
Pray For The Peace Of Jerusalem and You Will Prosper
RodolfoMoralesMarcuc
30 views
26
Don_t_Waste_Your_Life_God.....powerpoint
chalobrido8
32 views
31
VILLASUR_FACTORS_TO_CONSIDER_IN_PLATING_SALAD_10-13.pdf
JaiJai148317
30 views
14
Fertility awareness methods for women in the society
Isaiah47
29 views
35
Chapter 5 Arithmetic Functions Computer Organisation and Architecture
RitikSharma297999
26 views
5
syakira bhasa inggris (1) (1).pptx.......
ourcommunity56
28 views
View More in This Category
Embed Slideshow
Dimensions
Width (px)
Height (px)
Start Page
Which slide to start from (1-21)
Options
Auto-play slides
Show controls
Embed Code
Copy Code
Share Slideshow
Share on Social Media
Share on Facebook
Share on Twitter
Share on LinkedIn
Share via Email
Or copy link
Copy
Report Content
Reason for reporting
*
Select a reason...
Inappropriate content
Copyright violation
Spam or misleading
Offensive or hateful
Privacy violation
Other
Slide number
Leave blank if it applies to the entire slideshow
Additional details
*
Help us understand the problem better