首页|基于霍夫变换的透镜中心偏差检测方法

基于霍夫变换的透镜中心偏差检测方法

扫码查看
随着光学技术的发展,对光学透镜综合性能提出更高的要求,对心加工作为透镜生产必不可少的一环对镜头综合性能起重要作用,现有对心加工需要工人通过对心器手动测量及调整,对工人技术要求高、加工效率慢.文章基于霍夫变换提出一种适用于对心加工的中心偏检测算法以提升对心加工测量效率.首先通过工业相机拍摄对心器目镜中的图像,对图像进行灰度化、降噪、根据图像特征削弱干扰因素、二值化的预处理操作,再根据Canny边缘检测和霍夫变换识别图像中十字像的直线,最后根据角度区分直线求得交点,使用最小二乘法拟合出透镜的实际中心偏,实现了反射式测量和透射式测量两种工况的中心偏检测.实验结果表明,该算法能够检测两种工况下的中心偏,检测精度达到亚像素级.本文使用的中心偏检测算法可以提升对心加工的效率和精度.
The detection method of lens center deviation based on Hough transform
With the development of optical technology,higher requirements are put forward for the comprehensive performance of optical lenses.As an indispensable part of lens production,the core processing plays an important role in the comprehensive performance of lenses.The existing core processing requires workers to manually measure and adjust the core device,which requires high technical requirements for workers and slow processing efficiency.Based on Hough transform,this paper proposes a center bias detection algorithm suitable for centering processing to improve the measure-ment efficiency of centering processing.First,the image in the eyepiece of centering device is captured by an industrial camera,and the image is pre-processed by gratings,noise reduction,interference reduction and binarization according to image features.Then,according to Canny edge detection and Hough transform,the straight line of the cross image in the image is identified,and the intersection point is obtained according to the Angle of the straight line.The actual center bias of the lens is fitted by the least square method,and the center bias detection of the reflection measurement and the trans-mission measurement is realized.The experimental results show that the algorithm can detect the center bias under two working conditions,and the detection accuracy reaches sub-pixel level.The center bias detection algorithm used in this paper can improve the efficiency and accuracy of center machining.

optical lenscenter deviationimage processinghough transformation

赵志明、王乃余、李治国

展开 >

陕西科技大学机电工程学院,陕西西安 710021

中国科学院西安光学精密机械研究所装校技术研究中心,陕西西安 710019

光学镜头 中心偏差 图像处理 霍夫变换

&&

23JC014

2024

光学技术
北京兵工学会 北京理工大学 中国北方光电工业总公司

光学技术

CSTPCD北大核心
影响因子:0.441
ISSN:1002-1582
年,卷(期):2024.50(4)
  • 10