/canny-edge-detection

Pure python implementation of canny edge detection (Cuda and standard versions)

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

Canny edge detection

This notebook implements canny edge detection[1] through numpy. The algorithms steps are:

  • Sobel convolutions
  • Non-max suppression
  • Connected component labelling
  • Hysteresis

Results

canny edge detection compared to opencv

[1] J. Canny, "A Computational Approach to Edge Detection", IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. -8, no. 6, pp. 679-698, 1986. (CiteSeerX link).