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 ...
© Vladimir Kovalevsky 2019Vladimir KovalevskyModern Algorithms for Image Processinghttps://doi.org/10.1007/978-1-4842-4237-7_6
6. Edge Detection
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.