Lecture 3 of Computer Vision
Lecture 3 of Computer Vision
Lecture #3
General Rules
2
Computer Vision Systems Functions
Image acquisition
Pre-processing
Detection/segmentation
Feature extraction
High-level processing
Decision making
Edge Detection
Edge Detection
edges correspond to
extrema of derivative
Image Gradient
Image Gradient
Image Gradient
Practical Gradient Algorithm
Example
The discrete gradient
[ 5 5 5 8 20 25 25 22 12 4 3 3 ]
−1 1
[ 0]
Simple Filtering Example in 1-D
[ 5 5 5 8 20 25 25 22 12 4 3 3 ]
−1 1
[ 0 0]
Simple Filtering Example in 1-D
[ 5 5 5 8 20 25 25 22 12 4 3 3 ]
−1 1
[ 0 0 3]
Simple Filtering Example in 1-D
[ 5 5 5 8 20 25 25 22 12 4 3 3 ]
−1 1
produces:
[ 0 0 3 12 5 0 -3 -13 -8 -1 0 ]
Gradient Estimation
3/2/2024
Roberts Operator
Prewitt Operator
Prewitt Operator
Sobel Operator
Gradient Operators
and
Gradient
magnitude
Thresholding
Original Image
gradient magnitude
Discrete Operators Compared
Applications Finger Print
• Edge detection techniques enhance the quality
of image and cause the improvement in the
image recognition.
40
Applications Satellite Image
41
Applications Robotics vision
42
Applications Medical Image
43
Assignment 1
(a) Use the given templates A and B to detect Edges in the original image shown below.
0 0 0 0 0 0
−1 −1 −1 1 0 0 0 0 0 0
and
1 1 −1 1 0 0 0 0 0 0
0 0 3 3 3 3
A B
0 0 3 3 3 3
0 0 3 3 3 3
0 0 3 3 3 3
44