Searching for the Right Threshold

https://behappy.me/generator The topic for this exercise is Edge Detection. In my opinion, Edge detection is one of the things that should be fully understood because edge detection can be used in object detection, classification, feature extraction, and tracking. The theory behind edge detection is all about derivatives or the rate of change. In the first order derivative, one can see that rate of change when you go through and image. While in the second order, the point where the graph crosses zero in the x-axis, that's when the rate of change is constant. We were introduced to different kinds of edge detection kernels like Robert's, Prewitt's, Sobel's, and Scharr's. All of these kernels' sums are equal to zero. They only differ in the values. Then Canny edge detection was introduced. It is considered as an optimal detector and its algorithm goes like this: Filter an image using Gaussian filtering. Gaussian filtering was used because median fil...