红外技术, 2018, 40 (4): 382, 网络出版: 2018-06-09   

结合最佳缝合线和改进渐入渐出法的图像拼接算法

Image-stitching Algorithm by Combining the Optimal Seam and an Improved Gradual Fusion Method
作者单位
1 重庆理工大学电气与电子工程学院,重庆 400054
2 重庆理工大学计算机科学与工程学院,重庆 400054
摘要
针对图像拼接时因曝光差异较大或运动物体存在导致融合图像产生拼接缝、重影等问题,提出了一种基于最佳缝合线和改进的渐入渐出融合法相结合的图像拼接算法。首先,在两幅待拼接图像的重叠区域,根据动态规划思想获得最佳缝合线,然后将图像沿其进行拼接,最后由改进的渐入渐出法的融合规则来确定融合图像重叠区域像素点的灰度值,即将重叠区域均分成左、中、右3 部分,分别求左部分在待拼接左图像、右部分在待拼接右图像的像素点的灰度值与两幅图像中该像素点加权平均后的灰度值的差值,通过比较其差值的绝对值与设定阈值的大小来确定融合像素点的灰度值,中间部分融合像素点的灰度值则由其加权平均值确定,从而完成图像融合。实验结果表明,该方法能使图像重叠区域过渡更平滑自然,消除重影现象且没有明显拼接痕迹。
Abstract
Aiming at the problem of the seam or ghost due to different exposure conditions or moving objects during image stitching, an image-stitching algorithm based on the optimal seam and an improved gradual fusion method is proposed. First, in the overlapping areas of two stitching images, the optimal seam is obtained according to the idea of dynamic programming; then the images are stitched along the optimal seam. Finally, the pixel gray values of the fusion image are determined by the fusion rules of the improved gradual fusion method, namely: The overlapping areas are divided into three equal parts from left to right, and the difference between the pixel gray values of the left stitching image in the left part of the overlapping areas and right stitching image in the right part of the overlapping areas and the pixel gray weighted average of the two images are calculated. Then the fusion pixel gray values of the left and right parts are determined by comparing the absolute value of the difference with the set threshold; the fusion pixel gray value of the middle part is the weighted average. Thus, the image fusion is completed. Experimental results show that the method can make the image overlapping areas smoother and more natural and eliminate the phenomenon of ghost and stitching traces.
参考文献

[1] 牛姣蕾,林世忠,陈国强.图像融合与拼接算法在无人机电力巡检系统中的应用[J].电光与控制,2014,(3):88-91.

    NIU Jiaolei, LIN Shizhong, CHEN Guoqiang. Application of image fusion and mosaic algorithm in unmanned aerial vehicle power patrol inspection system[J]. Electronics Optics & Control, 2014(3): 88-91.

[2] 王民,郑余杰,权宇寰,等.基于斜率改正比的遥感图像拼接缝消除算法[J].计算机工程与应用,2015,18:165-168.

    WANG Min, ZHENG Yujie, QUAN Yuhuan, et al. Seam-line removal method of remote sensing images based on correction-ratio of slope[J]. Computer Engineering and Applications, 2015, 18: 165-168.

[3] 李冰,李范鸣,谢江荣,等.基于红外面阵扫描图像的配准和融合[J].激光与红外,2017,47(2):246-251.

    LI Bing, LI Fanming, XIE Jiangrong, et al. Image registration and fusion based on infrared array scanning detector[J]. Laser & Infrared, 2017, 47(2): 246-251.

[4] ZENG L, ZHANG S P, ZHANG J, et al. Dynamic image mosaic via SIFT and dynamic programming[J]. Machine Vision and Applications, 2014, 25(5): 1271-1282.

[5] 焦婷,李良福,肖樟树.存在运动目标时的图像镶嵌方法研究[J].计算机应用研究,2016,33(2):607-611.

    JIAO Ting, LI Liangfu, XIAO Zhangshu. Research on image mosaic method with moving object[J]. Application Research of Computers, 2016, 33(2): 607-611.

[6] LIU W, FAN W, CHEN L, et al. Seamless stitching with shape deformation for historical document images[C]//Proceedings of the 13th International IEEE Conference on Document Analysis and Recognition, 2015: 131-135.

[7] 瞿中,乔高元,林嗣鹏.一种消除图像拼接缝和鬼影的快速拼接算法[J].计算机科学,2015,42(3):280-283.

    QU Zhong, QIAO Gaoyuan, LIN Sipeng. Fast image stitching algorithm eliminates seam line and ghosting[J]. Computer Science, 2015, 42(3): 280-283.

[8] 谷雨,周阳,任刚,等.结合最佳缝合线和多分辨率融合的图像拼接[J].中国图象图形学报,2017,22(6):842-851.

    GU Yu, ZHOU Yang, REN Gang, et al. Image stitching by combining optimal seam and multi-resolution fusion[J]. Journal of Image and Graphics, 2017, 22(6): 842-851.

[9] 郑悦,程红,孙文邦.邻域最短距离法寻找最佳拼接缝[J].中国图象图形学报,2014(2):227-233.

    ZHENG Yue, CHENG Hong, SUN Wenbang. Finding an optimal seam-line through the shortest distance in the neighborhood[J]. Journal of Image and Graphics, 2014(2): 227-233.

[10] 孟建良,王雅继.最佳点平滑法寻找最佳拼接缝[J].计算机工程与科学,2015(7):1387-1392.

    MENG Jianliang, WANG Yaji. A best point smoothing method for finding the best seam[J]. Computer Engineering & Science, 2015(7): 1387-1392.

[11] 陆园园,张明.基于SIFT算法的红外图像拼接方法改进[J].计算机系统应用,2015,24(8):165-170.

    LU Yuanyuan, ZHANG Ming. Improved algorithm based on SIFT infrared image stitching algorithm[J]. Computer Systems and Applications, 2015, 24(8): 165-170.

[12] 黄立勤,陈财淦.全景图拼接中图像融合算法的研究[J].电子与信息学报,2014(6):1292-1298.

    HUANG Liqin, CHEN Caigan. Study on image fusion algorithm of panoramic image stitching[J]. Journal of Electronics & Information Technology, 2014(6): 1292-1298.

[13] 陈立伟,蒋勇.图像融合算法的综合性能评价指标[J].计算机工程,2015(2):219-223.

    CHEN Liwei, JIANG Yong. Comprehensive performance evaluation index of image fusion algorithm[J]. Computer Engineering, 2015(2): 219-223.

罗永涛, 王艳, 张红民. 结合最佳缝合线和改进渐入渐出法的图像拼接算法[J]. 红外技术, 2018, 40(4): 382. LUO Yongtao, WANG Yan, ZHANG Hongmin. Image-stitching Algorithm by Combining the Optimal Seam and an Improved Gradual Fusion Method[J]. Infrared Technology, 2018, 40(4): 382.

本文已被 3 篇论文引用
被引统计数据来源于中国光学期刊网
引用该论文: TXT   |   EndNote

相关论文

加载中...

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!