The Internet has been developed so far, computer has developed rapidly, and the use of computer for image processing has been widely used in all walks of life, the use of MATLAB for image processing has become a hot topic today. Image processing can find the information it wants in many images repeatedly compressed on the network, and restore information to a certain extent. Edge processing step is included in various digital image processing models. So Edge processing is particularly important for image processing. Common edge detection algorithms include Prewitt, Sobel, Canny, and so on. Choosing a more appropriate and effective operator becomes particularly important for processing the image. The three operators are processed by grayscale, binarization, edge detection of different operators, and the final results are compared. Gaussian white noise is added to compare the white noise interference ability of the three operators. Finally, the Canny operator works better.