0% found this document useful (0 votes)
25 views

Assignment5

Uploaded by

hanenhegazy2003
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)
25 views

Assignment5

Uploaded by

hanenhegazy2003
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/ 2

Assignment 5

1. For the gray scale image below, compute the gradient vector, the gradient
magnitude, and the gradient orientation at pixel (3, 3). Use the filter [-1 0 1] to
compute gradients. If pixel (3, 3) lies on an edge in the image, what is the
orientation of the edge at this location?

2. What are the main steps in canny edge detection algorithm?

3.

A. For the image above compute the gradient, magnitude of gradient ( and the
angle of gradient for pixel locations A, B and C marked below. Use the Sobel filters
to compute the derivatives. The y axis is pointing downwards.

B. Draw the gradient direction at each of the points A, B and C


4. Using the "cameraman" image, conduct an experiment to observe the impact of
various Gaussian smoothing filters on edge detection using a Laplacian filter. Apply
Gaussian smoothing to the image with different kernel sizes (5x5, 7x7) and varying
sigma values (1, 2, 3). For each smoothing configuration, apply a Laplacian filter
afterward.
- Compare the resulting images after each smoothing and Laplacian filter
combination.
- Observe how changing the sigma value affects the amount of smoothing and
subsequently influences the edge detection outcome.

You might also like