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).

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
Get step-by-step solutions from verified subject matter experts
