Sobel and Prewitt are used extensively for detecting edges in image processing.
Sobel Operator
The operator calculates the gradient of the image intensity at each point, giving the direction of the largest possible increase from light to dark and the rate of change in that direction. The result therefore shows how "abruptly" or "smoothly" the image changes at that point, and therefore how likely it is that part of the image represents an edge, as well as how that edge is likely to be oriented. The Sobel kernels are given by
Here the kernel hx is sensitive to changes in the x direction, i.e., edges that
Sobel Operator
The operator calculates the gradient of the image intensity at each point, giving the direction of the largest possible increase from light to dark and the rate of change in that direction. The result therefore shows how "abruptly" or "smoothly" the image changes at that point, and therefore how likely it is that part of the image represents an edge, as well as how that edge is likely to be oriented. The Sobel kernels are given by
Here the kernel hx is sensitive to changes in the x direction, i.e., edges that
تعليقات: 0
إرسال تعليق