Next: Edge Detection
Up: gradient
Previous: Digital Gradient
The following compass operators can detect edges of a particular direction:
Other compass operators
For all convolution kernels above, the sum of all elements is zero, i.e.,
the output from a homogeneous image region is zero. If the orientation of
the edge is not needed, we run these compass operators in all directions and
find if the maximum of them is greater than a threshold value.
Higher angular resolution can be achieved by increase the mask size. The
two kernels below are for 30 and 60 degrees, respectively:
Ruye Wang
2009-09-20