/canny-edge-detector

An edge detection operator that uses a multi-stage algorithm to detect a wide range of edges in images

Primary LanguageC++

Canny-Edge-Detector

Implementation of Canny Edge Detector in C++

Algorithm

Original image

Original image

Finding the intensity gradient of the image and thresholding without denoising by sobel

Threshold

Finding the intensity gradient and thresholding with denoising by sobel

Threshold+denoising

Canny detector

  1. Finding the intensity gradient and denoising by sobel
  2. Non-maximum suppression
  3. Double threshold
  4. Edge tracking by hysteresis (only pixels with at least one strong pixel in the neighbourhood are marked as strong pixels).

Canny edge detector