针对有明显色彩和亮度差异的图片,在进行传统的图像拼接后,会产生肉眼可见的拼接缝,严重影响拼接效果。因此,提出一种针对存在色差的图像拼接算法。首先,计算相邻图片间的色彩校正参数和每个彩色通道的全局色彩调整参数,选择适合的颜色和亮度,对每一幅图片进行色彩校正。其次,引入SIFT和RANSAC算法,实现了图像的准确配准。最后,采取0.1加权融合算法和平均融合算法结合进行图像融合,得到最终的全景图像。实验结果表明,由于已经进行图像间的校正,减少了待拼接图像的色差,使得图像的融合更加简单。该算法对于存在色差的图片序列可以实现无缝快速的拼接,并且可根据需要调整图像的色彩和亮度。
An image stitching algorithm is proposed for the images with color difference because the image stitching be- tween two adjacent images with differences in colors and luminance could produce visible color difference and seams when the traditional algorithm is used, and the image stitching effect is affected seriously. The color correction coefficients between adja- cent images and global color adjustment parameters of each color channel are calculated, and color correction for each image is carried out by selection of appropriate color and brightness. SIFT and RANSAC algorithms are introduced and an accurate image registration is realized. 0-1 weighted fusion algorithm and average fusion algorithm are combined to realize the image fusion, and a final panorama image is gotten. Experimental results show that the proposed algorithm can realize seamless fast stitching be- tween images with color difference. In addition, the image fusion algorithm becomes easier than the traditional algorithm by re- ducing the color difference of images.