OpCannyEdgeDetector.h#

Fully qualified name: public/src/operator/include/OpCannyEdgeDetector.h

In directory: public/src/operator/include

Source file: OpCannyEdgeDetector.h

Defines types and functions to handle the Canny edge detection operation.

This operator includes the following steps:

  1. Compute the gradient intensity and orientation of the image using the Sobel filter.

  2. Non-maximum suppression to thin the edges.

  3. Double thresholding to detect strong and weak edges.

  4. Edge tracking by hysteresis to retain only those weak edges that are connected to strong ones; all other weak edges are removed. Note that pre-processing to remove noise in the image is not included in this operator.