改进Zernike矩的亚像素圆孔类零件测量方法
DOI:
作者:
作者单位:

1.华北理工大学人工智能学院 唐山 063210; 2.上海电子信息职业技术学院 上海 201411

作者简介:

通讯作者:

中图分类号:

TP391

基金项目:

河北省省级科技计划(20327218D)项目资助


Measurement method of subpixel circular hole parts based on improved Zernike moment
Author:
Affiliation:

1.School of Artificial Intelligence, North China University of Science and Technology,Tangshan 063210, China; 2.Shanghai Electronic Information Vocational and Technical College,Shanghai 201411, China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为了提高圆孔类零件半径尺寸的测量精度,提出一种改进的Zernike矩亚像素圆孔类零件测量方法。首先对传统Canny算子进行改进,分别在图像输入、去噪、梯度幅值计算和阈值选取方式上进行了优化,实现圆孔中心像素级边缘坐标的粗定位;其次提取待测零件圆孔所在的目标区域边缘像素点,利用在Ghosal算法的基础上提出新的边缘判断条件和采用迭代法计算得到Zernike矩的最佳灰度阶跃阈值来判断并获取亚像素边缘点,且从灰度边缘模型的角度对误差进行了分析;最后利用最小二乘原理实现圆孔中心坐标和半径的高精度检测和测量。仿真结果表明,改进算法的圆心坐标相对误差在0.02 pixels范围内,半径的相对误差精度为0.05 pixels范围内。通过对几个不同零件的实际测量,实验结果表明,改进后的算法和原算法与人工测量值对比,改进后的算法相对误差值更低,得到的实际值更接近人工测量值,测量精度明显高于传统的Zernike矩算法,所达到的测量精度能够满足工业零件生产过程中的精度要求。

    Abstract:

    In order to improve the accuracy of radius measurement of round hole parts, an improved Zernike moment sub-pixel measurement method of round hole parts is proposed. First of all, the traditional Canny operator is improved, and the image input, denoising, gradient amplitude calculation and threshold selection are optimized to realize the rough location of the pixel-level edge coordinates of the circular hole center. Secondly, the edge pixel of the target region where the round hole is located is extracted, the new edge judgment condition is put forward on the basis of Ghosal algorithm and the best gray step threshold of Zernike moment is calculated by iterative method to judge and obtain the sub-pixel edge point, and the error is analyzed from the point of view of gray edge model. Finally, the high precision detection and measurement of the center coordinate and radius of the round hole are realized by using the least square principle. The simulation results show that the relative error of the center coordinate of the improved algorithm is in the range of 0.02 pixels and the relative error accuracy of the radius is in the range of 0.05 pixels. Through the actual measurement of several different parts, the experimental results show that, compared with the manual measurement value, the relative error of the improved algorithm and the original algorithm is lower, the actual value obtained is closer to the manual measurement value, and the measurement accuracy is obviously higher than that of the traditional Zernike moment algorithm. The measurement accuracy can meet the accuracy requirements of the production process of industrial parts.

    参考文献
    相似文献
    引证文献
引用本文

刘利平,孙建,孙文悦.改进Zernike矩的亚像素圆孔类零件测量方法[J].电子测量技术,2023,46(4):69-77

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2024-02-22
  • 出版日期: