Core algorithms
In this section, you will learn about core image processing algorithms such as edge detection and background subtraction.
Edge detection
An edge may be defined as a set of connected pixels that forms a boundary between two disjoints regions. Edge detection is basically a method of segmenting an image into regions of discontinuity. Like many other core algorithms, there are many edge detection algorithms. In this section, you will get introduced to canny edge detection. This was developed by John F. Canny in 1986. This is a multistage algorithm.
All the stages of canny edge detection algorithm are explained in brief here: "Edge detection is susceptible to the noise in the image; the first step is to remove the noise in the image with a Gaussian filter, which was already described in the previous section. The second step is to find the intensity gradient of the image. After getting a gradient magnitude and direction, a full scan of the image is done to remove any unwanted pixels...