EE440 – Introduction to Digital Imaging Systems
Lab. 6
1.
(30 %)
Perform edge detection via derivative filtering on
5_2.asc
to highlight the
edges.
a)
Read in the image and normalize the pixel values by dividing by 255
b)
Use a Sobel operator to detect vertical edges in original image
c)
Use the rotation of that Sobel operator to detect horizontal edges in the original
image
d)
Find the norm of the gradients. In other words, combine the horizontal and
vertical edge images using: sqrt(x_edge^2 + y_edge^2)
e)
Threshold the combined edge image to generate a binary edge image. Determine
your threshold value to create most reliable edges.
Submit the original, vertical-edge, horizontal-edge, combined-edge, and the final image.
Hint:
1. MATLAB commands:
imagesc, conv2
2. Use
imagesc
to show your edge images. Notice that even though
imagesc
and
imshow

This
** preview**
has intentionally

**sections.**

*blurred***to view the full version.**

*Sign up*