吉林大学学报(工学版) ›› 2025, Vol. 55 ›› Issue (10): 3329-3336.doi: 10.13229/j.cnki.jdxbgxb.20240970

• 计算机科学与技术 • 上一篇    

背景噪声影响下实景图像局部遮挡目标全轮廓提取算法

全蕾1(),陈杰2   

  1. 1.东华理工大学 软件学院,江西 抚州 344000
    2.中南大学 地球科学与信息物理学院,长沙 410000
  • 收稿日期:2024-08-20 出版日期:2025-10-01 发布日期:2026-02-03
  • 作者简介:全蕾(1981-),女,副教授,硕士. 研究方向:计算机图形图像. E-mail: lquan1981@163.com
  • 基金资助:
    国家自然科学基金项目(42371393)

Full contour extraction algorithm for partially occluded targets in real-world images under influence of background noise

Lei QUAN1(),Jie CHEN2   

  1. 1.School of Software,East China University of Technology,Fuzhou 344000,China
    2.School of Geosciences and Info-physics,Central South University,Changsha 410000,China
  • Received:2024-08-20 Online:2025-10-01 Published:2026-02-03

摘要:

在实景图像中,当目标物体受其他物体或环境元素的遮挡时,在遮挡区域附近噪声会使得背景与目标物体的轮廓特征混淆,仅能分析可见部分的轮廓特征,推断出具有连续性和平滑性的被遮挡区域轮廓变得尤为困难,导致提取的前景目标全轮廓与原始目标边界之间出现偏差。为此,提出背景噪声影响下实景图像局部遮挡目标全轮廓提取算法。通过混合高斯背景差分方法构建实景图像背景模型,用于区分实景图像内的背景图像与前景目标图像,剔除背景噪声信息,获取前景目标图像。结合多分辨率方法与主动轮廓模型,并引入梯度矢量流外力场,提取前景目标图像中目标的轮廓;利用双弧插值算法,针对前景目标轮廓中被遮挡区域,通过平滑轮廓修复和角点轮廓修复,获取连续且平滑地前景目标全轮廓,确保修复后的轮廓与原始轮廓在视觉上保持一致,最小化与原始目标边界之间的差异。实验结果显示:本文算法对非背景元素的误判率始终保持在0.1%以下;轮廓提取过程中生成的轮廓曲线与目标边界高度吻合,且轮廓线条流畅连续;轮廓修复效果极其自然且逼真,误差值仅为0.02%。

关键词: 背景噪声, 实景图像, 局部遮挡, 双弧插值, 全轮廓提取, 轮廓修复

Abstract:

In the real image, when the target object is occluded by other objects or environmental elements, the noise near the occluded area will confuse the contour features of the background and the target object. It is particularly difficult to infer the contour of the occluded area with continuity and smoothness by analyzing only the contour features of the visible part. This results in a deviation between the extracted foreground target contour and the original target boundary. Therefore, a full-contour extraction algorithm for local occluding object in real image is proposed under the influence of background noise. The background model of the real image is constructed by the mixed Gaussian background difference method, which is used to distinguish the background image and the foreground target image in the real image, remove the background information, and obtain the foreground target image. Multi-resolution method is combined with ACM and GVF field is introduced to extract the contour of the foreground target image. The double-arc interpolation algorithm is used to obtain the full contour of the foreground target continuously and smoothly through smooth contour repair and corner contour repair, aiming at the blocked area in the foreground target contour. The repaired contour is visually consistent with the original contour, and the difference between the boundary and the original target is minimized. The experimental results show that the misjudgment rate for non-background elements is always below 0.1%; The contour curves generated in the process of contour extraction are highly consistent with the target boundary, and the contour lines are smooth and continuous. The contour restoration results are extremely natural and realistic, with an error value of only 0.02%.

Key words: background noise, realistic images, partial occlusion, double arc interpolation, full contour extraction, contour repair

中图分类号: 

  • TP391

图1

实景样本图像"

表1

实验对象参数"

参数数值
图像数量/幅800
帧数/Hz300
帧率/fps25
分辨率/像素500×300
采样时间/h4
采样平均间隔时间/s5
图像灰度平均值0.5
图像饱和度-26

表2

背景误判检测结果"

图像帧数/帧情况1情况2
50.0380.042
100.0490.065
150.0610.072
200.0530.062
250.0580.059
300.0470.048
350.0640.069
400.0710.075

图2

实景样本图像去噪效果"

图3

背景模型处理结果"

图4

轮廓提取结果"

图5

轮廓修复结果"

表3

不同算法的平均相对误差结果"

实景图像样本数/幅

平均相对

误差/%

ViBe算法Canny算法
1000.022.352.03
2001.703.652.45
3002.313.252.36
4002.103.452.56
5001.893.282.31
6001.873.642.58
7002.032.952.59
8002.122.892.37
[1] 庹武, 杜聪, 陈谦, 等. 基于计算机视觉与Canny算法的服装纸样轮廓提取[J]. 纺织学报, 2024, 45(5): 174-182.
Wu Tuo, Du Cong, Chen Qian,et al.Clothing pattern contour extraction based on computer vision and Canny algorithm[J].Journal of Textile Research,2024,45(5):174-182.
[2] 王一超, 鲁芹, 吴孟伟. 结合前景轮廓提取的改进ViBe运动目标检测算法[J]. 微电子学与计算机, 2023, 40(8): 37-44.
Wang Yi-chao, Lu Qin, Wu Meng-wei.Accurate and efficient moving object detection with ViBe and visual foreground contour extractor[J].Microelectronics & Computer, 2023, 40(8): 37-44.
[3] 王鑫刚, 田军委, 于亚琳, 等. 改进Canny算法的红外人脸图像边缘轮廓提取[J]. 应用光学, 2023, 44(1): 61-70.
Wang Xin-gang, Tian Jun-wei, Yu Ya-lin,et al.Edge contour extraction of infrared face image based on improved Canny algorithm[J].Journal of Applied Optics,2023,44(1):61-70.
[4] 程彭阳子, 刘萍. 基于动态轮廓曲线的运动图像特征识别研究[J]. 计算机仿真, 2023, 40(7): 163-167.
Yang-zi Chengpeng, Liu Ping. Research on moving image feature recognition based on dynamic contour curve[J].Computer Simulation,2023,40(7):163-167.
[5] Chakraborty S, Shaikh S H, Chakrabarti A,et al.Quantum image edge extraction based on classical robinson operator[J].Multimedia Tools and Applications, 2022, 81(23): 33459-33481.
[6] 杨卫东, 叶长彬, 陈正林, 等. 基于Snake算法的声呐图像轮廓提取方法[J]. 压电与声光, 2023, 45(5): 752-758.
Yang Wei-dong, Ye Chang-bin, Chen Zheng-lin,et al. Image contour extraction method based on Snake algorithm[J].Piezoelectrics & Acoustooptics,2023,45(5): 752-758.
[7] 徐旸, 史金光, 郑子玙, 等. 融合图像修复的遮挡目标检测算法[J]. 电光与控制, 2023, 30(1): 21-28, 86.
Xu Yang, Shi Jin-guang, Zheng Zi-yu,et al.Occluded target detection algorithm with image restoration[J].Electronics Optics & Control, 2023, 30(1): 21-28, 86.
[8] 李阿标, 郭浩, 戚畅, 等. 复杂背景下遥感图像密集目标检测[J]. 计算机工程与应用, 2023, 59(8): 247-253.
Li A-biao, Guo Hao, Qi Chang,et al.Dense object detection in remote sensing images under complex background[J].Computer Engineering and Applications, 2023, 59(8): 247-253.
[9] 娄联堂, 姚松. 基于局部轮廓曲线的图像配准方法[J].中南民族大学学报: 自然科学版, 2023, 42(1): 128-133.
Lou Lian-tang, Yao Song.Image registration method based on local contour curve[J].Journal of South-Central University for Nationalities(Natural Science Edition), 2023, 42(1): 128-133.
[10] 段琳锋, 侯新国, 胡致远. NSCT轮廓与主方向一致性红外与可见光图像配准[J]. 电光与控制, 2022, 29(6): 1-5.
Duan Lin-feng, Hou Xin-guo, Hu Zhi-yuan.NSCT Contour and main direction consistency infrared and visible image registration[J].Electronics Optics & Control, 2022, 29(6):1-5.
[11] 熊丽丽, 冯丽佳, 苑柳青. 基于深度卷积神经网络的激光雷达图像轮廓线提取方法[J]. 激光杂志,2023, 44(10): 94-99.
Xiong Li-li, Feng Li-jia, Yuan Liu-qing.LiDAR Image contour extraction method based on deep convolution neural network[J]. Laser Journal, 2023, 44(10):94-99.
[12] 游小荣, 李淑芳, 熊宗志. 基于卷积姿态机和GrabCut的服装图像轮廓分割方法[J]. 毛纺科技, 2022, 50(5): 86-90.
You Xiao-rong, Li Shu-fang, Xiong Zong-zhi.Garment image contour segmentation method based on convolution pose machine and GrabCut[J].Wool Textile Journal, 2022, 50(5): 86-90.
[13] 冯丽露, 康耀龙. 立体图像任意剖面轮廓线提取方法仿真研究[J]. 计算机仿真, 2022, 39(8): 239-242, 285.
Feng Li-lu, Kang Yao-long.Simulation study of arbitrary profile contour extraction method[J]. Computer Simulation, 2022, 39(8): 239-242, 285.
[14] 姚昱, 郑洋, 程子燚, 等. 基于Scharr算子的计算鬼成像边缘提取技术[J]. 激光与光电子学进展, 2024, 61(10): 137-144.
Yao Yu, Zheng Yang, Cheng Zi-yi.Edge detection technology based on computational ghost imaging using Scharr operator[J].Laser & Optoelectronics Progress, 2024, 61(10): 137-144.
[15] 赵亚威, 郑伟, 于洋, 等. 基于轮廓分段特征描述的遮挡目标识别算法[J]. 计算机应用研究, 2022, 39(2): 633-636.
Zhao Ya-wei, Zheng Wei, Yu Yang.Occluded object recognition algorithm based on contour segmented feature description[J]. Application Research of Computers, 2022, 39(2): 633-636.
[1] 齐佩汉, 李赞, 司江勃, 高锐, 孙浩. 用于高动态噪声背景的归一化谱协作感知算法[J]. 吉林大学学报(工学版), 2016, 46(2): 678-684.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!