Question: Please write the function find_edges in matlab. Ignore function implementation for gradient_magnitude (just call it). c) Write the function find edges which takes two inputs:

Please write the function find_edges in matlab. Ignore function implementation for gradient_magnitude (just call it).

Please write the function find_edges in matlab. Ignore function implementation for gradient_magnitude

c) Write the function find edges which takes two inputs: a grayscale image (a matrix, not a filename) and a threshold value (a scalar). This function should return an image of type uint8 with the same dimensions as the input. Your function should detect edges by applying a threshold to the magnitude of the gradient as computed using your gradient_magnitude function. The output should have value 255 where edges are detected and 0 elsewhere

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 Databases Questions!