Sobel Edge Filter (Operator) - Practical Electron Microscopy and Database - - An Online Book - |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Microanalysis | EM Book http://www.globalsino.com/EM/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||
================================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Similar to Prewitt Edge Filter, the Sobel Edge Filter, sometimes called the Sobel–Feldman operator, is also an operator used in image processing, particularly within edge detection algorithms (approximations of the derivatives). It computes a discrete approximation of the gradient of the image intensity function, and consists of a horizontal filter and a verticle filter and is used to detect edges of images. Both Sobel and Prewitt Filters are used extensively for detecting edges in image processing. The Sobel edge filter calculates the gradient of the image intensity at each point. Therefore, the resulting profile shows how “abruptly” or “smoothly” the image changes at that point, and thus it represents the edge. In Sobel Edge Filters, both horizontal and verticle filters are applied to the same image and then summed to form the final image as a final filter. The two filters are basic convolution filters in the form in Figure 1005a.
Figure 1005b shows an filter example. The filter is centered at pixel p5 here. Based on Figures 1005a and 1005b, the value of the resulting new pixel p5 is then given by,
The actual forumla uses the horizontal and verticle components to obtain the the final form, Therefore, the Sobel edge filter estimates the maximum gradient of the edges, and can be used to find edge directions. In DM, the Sobel edge filter can be programmed with scripts as shown in Table 1005. Table 1005. Sobel edge filter in DM.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
================================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||