Abstract:As the linear weighted smoothing method causes obvious seam-line due to large gray difference between the two images, a linear weighted smoothing algorithm for the optimal stitching-line removal is proposed. The algorithm first selects each line gradient and the smallest pixels from the middle of the overlapping area of the image as optimal stitching point, and as for the image affected by noise and the problems of multiple pixels minimum“gradient sum”equal, uses divergence metric to check the optimal stitching point, then connects optimal stitching point of each line as a best seam, at last applies linear weighted smoothing algorithm to remove stitching line. The experimental result shows that the proposed method achieves image overlap region smooth transition and seamless stitching.