CannyEdgeDetector

Module that applies the Canny edge detector to an image. This edge detector works in five steps: 1. Gradient Estimation using a Gaussian edge detector. 2. Orientation Classification. 3. Nonmaximum Supression. 4. Hysteresis Thresholding. This is not exactly the algorithm as described by Canny (the edge filter is different and edges are only found at a single scale) but it is reasonably similar.

Example XML definition

A simple example

  <module
      class = "CannyEdgeDetector"
      name = "CannyEdgeDetector"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "CannyEdgeDetector".string
nameThe name of this instance of the module.string
scaleScale parameterfloat
T0First thresholdfloat
T1Second thresholdfloat
T2Third thresholdfloat

Module Connections

Inputs

NameDescription
INPUTThe iage input

Outputs

NameDescription
EDGESEdge magnitude
MAXIMAOrientation estimate
OUTPUTFinal edges
dxGradient estimation and categorization
dyGradient estimation and categorization
dGxFilter kernel
dGyFilter kernel

Author

Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science

Files

CannyEdgeDetector.h
CannyEdgeDetector.cc
CannyEdgeDetector.ikc

blog comments powered by Disqus