Edge detector
Apply the Canny edge detector to image class.png.
To compute Canny edges:
help edge
edge(im,'canny',[thres1 thres2],sigma)
(i) Compute edges for sigma=2.
(ii) Select thresholds thes1 and thres2 which give the best edge image without noise.
(thres1
(iii) Repeat the experiment for sigma=0.5.
How does the output depend on the scale and the thresholds?
What are the main operations in canny detector?