Canny Edge Detection

The Original Image

Steps

  1. Convert to grayscale
  2. Apply filter to minimize noise
  3. Calculate gradient

Grayscale

TODO: add ability to choose grayscale method

Gaussian blur

Gradiant

Horizontal Gradient

Vertical Gradient

Gradient Direction

Raw Gradient Direction

Rounded Gradient Direction

Key:

Gradient

Edge Thinning

TODO: finish edge thinning

All images are from Wikipedia and are licensed under the Creative Commons or are in the public domain


Written By Adrian Stoll May 2015