| 注册
首页|期刊导航|光学精密工程|SAM提取多维灰度作为输入的视觉测量误差补偿

SAM提取多维灰度作为输入的视觉测量误差补偿

王宇恒 谷玉海 王亚冰 张伟伟 孙海洋

光学精密工程2026,Vol.34Issue(7):1111-1127,17.
光学精密工程2026,Vol.34Issue(7):1111-1127,17.DOI:10.37188/OPE.20263407.1111

SAM提取多维灰度作为输入的视觉测量误差补偿

Visual measurement error compensation based on multi-dimensional grayscale extracted by SAM

王宇恒 1谷玉海 2王亚冰 3张伟伟 3孙海洋2

作者信息

  • 1. 北京信息科技大学 机电工程学院,北京 100192||中国科学院 高能物理研究所,北京 100049
  • 2. 北京信息科技大学 机电工程学院,北京 100192
  • 3. 中国科学院 高能物理研究所,北京 100049
  • 折叠

摘要

Abstract

To mitigate measurement errors induced by illumination variations in precision image measure-ment,an error compensation model is proposed based on multidimensional grayscale features extracted via the Segment Anything Model(SAM)and fitted using a Whale Optimization Algorithm-optimized Radial Basis Function(WOA-RBF)neural network.A mathematical model describing illumination-induced edge shift is established to characterize the nonlinear effects of light intensity and surface scattering proper-ties on measurement accuracy.Leveraging SAM's zero-shot segmentation capability,average grayscale values from heterogeneous material regions are automatically extracted as multidimensional feature inputs to represent complex image characteristics.The WOA is employed to optimize the parameters of the RBF neural network,enabling accurate compensation of edge shift errors.Comparative experiments on chromi-um-zirconium-copper fixture measurements,benchmarked against one-dimensional linear fitting,GA-LSSVM,and SVR methods,demonstrate that the proposed model achieves an RMSE of 2.07 μm,an MAE of 1.73 μm,and an R² of 0.99(with the Zernike moment sub-pixel algorithm as a representative case).Consistent accuracy and strong robustness are observed across various sub-pixel edge detection al-gorithms,indicating that the proposed approach provides an effective solution for illumination-induced er-rors in precision image measurement.

关键词

计算机视觉/边缘检测/误差补偿/SAM模型/鲸鱼优化/径向基函数神经网络

Key words

computer vision/edge detection/error compensation/segment anything model/whale opti-mization algorithm/radial basis function neural network

分类

信息技术与安全科学

引用本文复制引用

王宇恒,谷玉海,王亚冰,张伟伟,孙海洋..SAM提取多维灰度作为输入的视觉测量误差补偿[J].光学精密工程,2026,34(7):1111-1127,17.

基金项目

国家自然科学基金资助项目(No.12405374,No.12475330) (No.12405374,No.12475330)

中国科学院科技基础资源专项(No.2025000148) (No.2025000148)

光学精密工程

1004-924X

访问量2
|
下载量0
段落导航相关论文