Assignment5
Assignment5
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?
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.