Canny Edge from Scratch
Brief Overview
Edge detection is a very important aspect of image processing as it is important to mark boundaries or outlines in images many a times and there are many algorithms to perform the task of edge detection. But one of the most important algorithm that is used very commonly is known as Canny Edge Detector.
In this project, the steps of canny edge detection are performed without using any direct OpenCV packages. It will help to understand the working very elaborately.
The steps of Canny Edge detector are shown below:
The original image on which the steps are performed:
i) Blurring the image
ii) Applying sobel filter to a get rough edges which are blurred
iii) Applying non-maxima suppression(NMS) to thin out the edges detected
iv) Applying thresholding to remove unwanted edges and leave only those pixels that are to be concidered
v) Applying Hyterysis Thresholding to remove any inner edges as we are primarily looking of the major edges
For the code check the github repo.