The invention relates to an image stitching method. A traditional image stitching method is not good in effect. The image stitching method includes the steps: firstly, selecting a coarse registration area and carrying out pairwise weighted average on pixel values at the positions of overlapping coordinates of initial areas of two images, obtaining a reserved image, then, scanning an energy matrix of the reserved image line by line, obtaining a minimum energy line after calculation, obtaining a strip-shaped area by serving the minimum energy line to as a center to expand to two sides, respectively finding corresponding registration areas from the initial areas of the two images, carrying out image fusion on all the pixel values in the registration area of the two images to obtain a stitching area, and then finishing image stitching. According to the image stitching method, not only can an optimal matching seam be found rapidly, but also selection of an image fusion area can be reduced, and an optimized stitching image can be obtained.