This paper discusses the image stitching. Due to the problems that overlapping area becomes fuzzy or dislocated when stitching the images, a new energy calculation formula whose characteristics is based on pixel's color and texture which belongs to the neighborhood pixels in image overlap area is put forward. And an algorithm of dynamically searching the direction to find the optimal stitching line is put forward. The experiment section includes comparisons between this method and others. The result demonst...