Figure 2:
Flowchart of Canny edge detection algorithm