Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 742 Bytes

README.md

File metadata and controls

24 lines (13 loc) · 742 Bytes

canny-edge-detector

Canny edge detector with gui written in Matlab

Algorithm

  • Gaussian filtering with kernel size h of scale sigma

Blured cameraman

  • Calculation of magnitude using Sobel operator in 2 directions

Gradient

  • Non-maximal suppression

Non-maximal suppression

  • Double threshold

Double threshold

  • Edge tracking with hysteresis (only edges with at least one strong pixel are recognized as strong edges). This is implemented using recursive grass-fire algorithm for labeling; matrix wrapper is used to avoid passing matrix as a value. Weak edges are then filtered based on labels.

Canny edge detector