基于最长公共子序列的图像拼接算法
Image Stitching Algorithm Based on the Longest Common Subsequence
DOI: 10.12677/csa.2025.157189, PDF,    科研立项经费支持
作者: 于俊川, 袁 义*, 唐黎黎:湖南工业大学计算机与人工智能学院,湖南 株洲;王继军:广西财经学院大数据与人工智能学院,广西 南宁
关键词: 图像处理图像拼接最长公共子序列字符串匹配Image Processing Image Stitching The Longest Common Subsequence Character String Matching
摘要: 图像配准和拼接技术在医学、军事、遥感、航空、农业等众多领域有着广泛应用,是模式识别、虚拟现实的关键技术之一,针对现有方法在亮度差异大、纹理稀疏场景中配准失败率高的问题,本文提出了一种图像拼接算法,通过计算图像灰度值差序列的最长公共子序列来确定重叠区域,并自动定位拼接线。该算法提出多尺度融合策略优化拼接边界,引入灰度差分序列替代原始像素,消除系统性亮度差异,无需手工指定特征点,对亮度差异不大的图像拼接具有较高的精度和效率,适用于多种图像拼接情形,包括同高度、不同高度、有平移和亮度差异等情况。实验结果表明,该算法能够实现快速、无缝的图像拼接,在亮度突变、噪声干扰(SNR ≤ 15 dB)等复杂场景下,本算法的拼接成功率较SIFT提升23.6%,耗时降低48.3%,可处理±30˚旋转和1.5倍尺度变化,具有良好的鲁棒性和实用性。
Abstract: Image registration and stitching technology is widely used in many fields such as medicine, military, remote sensing, aviation, agriculture, etc. It is one of the key technologies of pattern recognition and virtual reality. In response to the existing methods’ problems of high registration failure rate in scenes with large brightness differences and sparse textures, this paper proposes an image stitching algorithm, which determines the overlapping area by calculating the longest common subsequence of the image grayscale difference sequence and automatically locates the stitching line. This algorithm proposes a multi-scale fusion strategy to optimize the stitching boundary, introduces a grayscale differential sequence to replace the original pixels, eliminates systematic brightness differences, and does not require manual specification of feature points. It has high accuracy and efficiency for stitching images with little brightness differences. It is suitable for a variety of image stitching situations, including the same height, different heights, translation and brightness differences. Experimental results show that this algorithm can achieve fast and seamless image stitching. In complex scenarios such as brightness sudden change and noise interference (SNR ≤ 15 dB), the splicing success rate of this algorithm is increased by 23.6% compared with SIFT, and the time consumption is reduced by 48.3%. It can handle ±30˚ rotation and 1.5 times scale changes, which is good robustness and practicality.
文章引用:于俊川, 袁义, 王继军, 唐黎黎. 基于最长公共子序列的图像拼接算法[J]. 计算机科学与应用, 2025, 15(7): 155-163. https://doi.org/10.12677/csa.2025.157189

参考文献

[1] Zhang, Z., He, J., Shen, M. and Yang, X. (2025) Seam Estimation Based on Dense Matching for Parallax-Tolerant Image Stitching. Computer Vision and Image Understanding, 250, Article ID: 104219. [Google Scholar] [CrossRef
[2] Zhao, B.T., Song, M., Liu, S.F., et al. (2023) MosaicNet: A Deep-Learning-Based Multi-Tile Biomedical Image Stitching Method. 2023 45th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Sydney, 24-27 July 2023, 1-4. [Google Scholar] [CrossRef] [PubMed]
[3] 龚伦. 共聚焦激光显微内窥镜图像配准与拼接关键技术研究[D]: [博士学位论文]. 天津: 天津大学, 2022.
[4] 潘维东, 李安虎, 刘兴盛. 基于区域优化的图像拼接技术研究及应用进展[J]. 激光与光电子学进展, 2024, 61(18): 1-20.
[5] Zhang, J. and Xiu, Y. (2024) Image Stitching Based on Human Visual System and SIFT Algorithm. The Visual Computer, 40, 427-439. [Google Scholar] [CrossRef
[6] 李馥颖, 张艳珠. 基于虚拟现实的大视差图像网格优化拼接算法[J]. 计算机仿真, 2024, 41(5): 193-196+505.
[7] 董句, 陈小丽, 刘媛, 等. 基于虚拟现实技术的图像多特征点匹配拼接方法[J]. 现代电子技术, 2023, 46(19): 45-48.
[8] 代家印, 王育昕, 袁杰. 低空航拍全景图像拼接研究[J]. 南京大学学报(自然科学), 2023, 59(2): 239-246.
[9] 杨健, 刘剑超, 崔英, 等. 基于柱面的航空全景拼接技术研究[J]. 舰船电子工程, 2023, 43(12): 62-64.
[10] Wang, Z., Fu, Z. and Xu, J. (2025) Large-Scale UAV Image Stitching Based on Global Registration Optimization and Graph-Cut Method. Journal of Visual Communication and Image Representation, 107, Article 104354. [Google Scholar] [CrossRef
[11] 管娜. 基于计算机视觉的图像拼接技术研究[J]. 长江信息通信, 2022, 35(7): 58-60.
[12] Lian, Z. and Ren, J. (2025) Unmanned Aerial Vehicle Aerial Image Stitching Method Based on Superpixel Segmentation. Journal of Engineering and Applied Science, 72, Article No. 17. [Google Scholar] [CrossRef