Skip to content

Latest commit

 

History

History
 
 

Canny Edge Detection

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Canny Edge Detection

Introduction

The Canny edge detector is an edge detection operator that uses a multi-stage algorithm to detect a wide range of edges in images. The Canny edge detector is arguably the most well known and the most used edge detector in all of computer vision and image processing. OpenCV provides method to seamlessly implement Canny edge detection over any images using canny() method.

The Canny edge detection algorithm is composed of 5 steps:

  • Noise reduction
  • Gradient calculation
  • Non-maximum suppression
  • Double threshold
  • Edge Tracking by Hysteresis.

How does it work

  • Input any images that you want to apply canny edge opeartion.
  • Reading the input images
  • Displaying original images
  • Applying canny() method of OpenCV to detect edges of the input images
  • Displaying the Output image after applying canny edge detection algorithm.

    Let's Take a Look at the Sample output:

    Original Image

    Canny Edge Detected Image

    Original Image

    Canny Edge Detected Image