© Vladimir Kovalevsky 2019
Vladimir KovalevskyModern Algorithms for Image Processinghttps://doi.org/10.1007/978-1-4842-4237-7_6

6. Edge Detection

Vladimir Kovalevsky1 
(1)
Berlin, Germany
 
Among the known methods of edge detection are simple gradient filters containing some kind of smoothing of the image. The Sobel filter is a common example. It is defined by two matrices with weights as shown in Figure 6-1.
../images/474294_1_En_6_Chapter/474294_1_En_6_Fig1_HTML.png
Figure 6-1

Weights of Sobel filter

The filter calculates two sums SH and SV of products of the gray values in a gliding 3 × 3 neighborhood of the actual pixel with corresponding weights WH and WV shown in Figure 6-1 and returns the sum of the absolute ...

Get Modern Algorithms for Image Processing: Computer Imagery by Example Using C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.