Question: Problem 1 . First - order Edge Detection Consider the zebra.png image. Convert it to Grayscale using library function. Detect edges in an image using

Problem 1. First-order Edge Detection
Consider the zebra.png image. Convert it to Grayscale using library function. Detect
edges in an image using the following filters:
3\times 3 horizontal and vertical Prewitt kernel (P_(x)&P_(y)).
3\times 3 horizontal and vertical Sobel masks (S_(x)&S_(y)).
3\times 3 Kirsch kernels of 8 equal orientations in [0,2\pi )K_(0) is givenP_(x)=[[-1,0,1,0,1,0,1]]
-1
-1
-1,P_(y)=[[1,1,1,0,0,-1,-1]]
-1
0
S_(x)=[[-1,0,1,0,2,0,1]]
-1
-2,S_(y)=[[1,2,1,0,0,-2,-1]]
-1
0
K_(0)=[[5,5,5,-3,-3,-3,-3]]
-3
-3
Display the vertical and horizontal gradients, the gradient magnitude and orientation
maps of the output of Sobel and Prewitt kernels; and each of the directional derivative
using the Kirsch kernels.
Problem 1 . First - order Edge Detection Consider

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!