Implements two early computer vision algorithms, the Sobel and Canny edge detectors.
This edge detector uses a multi-stage algorithm to detect edges in images.
The process consits of the following steps:
- Applying the Gaussian filter to smooth the image in order to remove the noise in the image.
- Find the intensity gradients of the image.
- Apply non-maximum suppression to get rid of spurious response to edge detection.
- Apply double threshold to determine potential edges.
- Track edge by hysteresis: Finalize the detection of edges by suppressing all the other edges that are weak and not connected to strong edges.
The sobel filter is an inproved edge detection algorithm.
The process consists of the folloring steps:
- Convolution kernels for both axes.
- Find absolute magnitude of directional gradients.
- Using the direction of the gradient determine neighboring pixels to confirm edge.