华南理工大学学报(自然科学版) ›› 2022, Vol. 50 ›› Issue (4): 46-55.doi: 10.12141/j.issn.1000-565X.210372

所属专题: 2022年计算机科学与技术

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

基于机器视觉的不规则形状超薄热管宽度测量方法

李勇1,佘佩健2,欧其罐3,刘苑喆4   

  1. 华南理工大学 机械与汽车工程学院,广东 广州 510640
  • 收稿日期:2021-06-07 修回日期:2021-07-27 出版日期:2022-04-25 发布日期:2021-08-30
  • 通信作者: 李勇 (1974-),男,博士,教授,主要从事微成型、微结构设计与制造技术研究 E-mail:meliyong@ scut. edu. cn
  • 作者简介:李勇 (1974-),男,博士,教授,主要从事微成型、微结构设计与制造技术研究
  • 基金资助:
    国家自然科学基金;广东省科技特派员项目

Approach Of Width Measurement Of Irregular Ultra-Thin Heat Pipe Based On Machine Vision

Yong LiPei-Jian SHEQi GuanOU3 LIU Yuanzhe4   

  1. School of Mechanical and Automotive Engineering,South China University of Technology,Guangzhou 510640,Guangdong,China
  • Received:2021-06-07 Revised:2021-07-27 Online:2022-04-25 Published:2021-08-30
  • Contact: 李勇 (1974-),男,博士,教授,主要从事微成型、微结构设计与制造技术研究 E-mail:meliyong@ scut. edu. cn
  • About author:李勇 (1974-),男,博士,教授,主要从事微成型、微结构设计与制造技术研究
  • Supported by:
    The National Natural Science Foundation of China;the Science and Technology Commissioner Project of Guangdong

摘要: 为实现不规则形状超薄热管宽度测量自动化,提出一种基于机器视觉的中轴线梯度角逐像素宽度测量算法。首先采用Canny算法获取像素边缘,并进一步使用改进二次插值法提取亚像素边缘。然后利用细化算法提取边缘内封闭区域中轴线并适当裁剪。接着使用形态学膨胀与高斯滤波构造中轴线区域边缘,计算梯度角,并借助双侧均值滤波逼近真实梯度角的光滑变化。最后沿梯度角两侧搜索亚像素边缘点,边缘点对距离即为所测宽度。解决了常规测量算法无法确定不规则形变轮廓对应宽度测量点和高次过渡曲线区域无法测量的问题,并实现在轴线方向密集测量宽度,最大程度逼近真实边缘宽度分布。实验结果表明,测量对象宽度在10 mm以内时,文中算法测量不确定度为±0.026 mm,能很好地适应超薄热管的不规则外形,实现稳定可靠、高精度的自动化测量。

关键词: 超薄热管, 不规则, 中轴线, 边缘构建, 滤波, 宽度测量

Abstract: In order to realize the automatic measurement of width of irregular ultra-thin heat pipe, a pixel-by-pixel width search algorithm based on the central axis gradient of machine vision is proposed. First, the Canny algorithm is used to obtain pixel edges, and the improved quadratic interpolation method is further used to extract sub-pixel edges. Then, the thinning algorithm is used to extract the central axis of the enclosed area within the edge and crop it appropriately. Next, to construct the edge of the central axis area by morphological expansion and Gaussian filtering algorithm, to calculate the gradient angle, to approximate the smooth change of the true gradient angle with the help of two-sided mean filtering. Finally, searching for sub-pixel edge points along both sides of the gradient angle, and the edge point pair distance is the target width. It solves the problem that the conventional measurement algorithm cannot determine the width measurement point corresponding to the irregular deformation contour and the high-order transition curve area cannot be measured, and realizes the dense measurement of the width in the axial direction, which approximates the true edge width distribution to the greatest extent. The experimental results show that when the width of measured object is within 10 mm, the measurement uncertainty of the algorithm in the article is ±0.026 mm, which can well adapt to the irregular shape of the ultra-thin heat pipe, and realize stable, reliable, and high-precision automated measurement.

Key words: ultra-thin heat pipe, irregular, central axis, edge creation, filter, measurement of width

中图分类号: