(Eight direction Sobel edge detection is used to realize gradient detection of image multi gradient, and the edge information detected is more smooth and continuous.)