Professional Documents
Culture Documents
Edge Detection
Edge Detection
Edge Detection
Edge Detection
0-1
Edge Detection?
Ideal Ramp
I x, y
TRSH Edge Detected
I x, y I x , y x
x
TRSH
x x
© 2007 Texas Instruments Inc, Slide 5
Detecting the Edge (2)
I x, y
I x, y I x , y TRSH Edge Not Detected
x
x
TRSH
Edge Strength: I G x I G y
I Gx2 G y2
Edge Direction: x, y 0 x, y
G
x, y tan 1 y
2 Gx
-1 -2 -1 -1 0 1
0 0 0 -2 0 2
1 2 1 -1 0 1
-1 -1 -1 -1 0 1
0 0 0 -1 0 1
1 1 1 -1 0 1
0 0 0 0 0 0
0 -1 0 0 0 -1
0 0 1 0 1 0
Gx z9 z5 Gy z8 z6
r2
hr e 2 2
r x y
2 2
• Simulation
MATLAB®
Display
Image File Edge
Detection
MATLAB
Display
Image
Script
File
RGB
to
Grayscale
RTDX RTDX
Edge
Detection
DSK6416
© 2007 Texas Instruments Inc, Slide 19
Edge Detection Using the DSK6416
Video Video
in Edge out
Camera Detection Video Screen
DM6437 DVDP
© 2007 Texas Instruments Inc, Slide 21
Edge Detection Real Time Model for the
DM6437 DVDP