光学与光电技术, 2023, 21 (5): 67, 网络出版: 2023-12-29  

一种基于OpenCV的高精度光斑中心定位方法

A High-Precision Spot Center Location Method Based on OpenCV
姜超 1,2狄世超 3刘超 1,2寻静怡 1,2李俊 1,2
作者单位
1 北京信息科技大学光电测试技术北京市重点实验室, 北京100192
2 北京信息科技大学生物医学检测技术及仪器北京实验室, 北京100192
3 北京航天发射技术研究所, 北京100076
摘要
激光光斑中心的准确定位对共焦显微系统有着重要作用。为了提高光斑中心定位的准确性, 设计了一种基于OpenCV的高精度光斑中心定位检测方法。首先对采集到的光斑图像进行降噪滤波, 再通过聚类分析, 筛选连通域排除粗大误差, 然后对目标连通域边缘进行形态学处理, 最后将边缘数据拟合成椭圆定位光斑中心。仿真与实验结果表明:该方法与其他传统光斑中心定位方法相比, 具有小于0.1 pixel的亚像素级定位精度, 检测结果更稳定, 是一种高精度的光斑中心定位方法。
Abstract
The accurate positioning of laser spot center plays an important role in confocal microscopy system. In order to improve the accuracy of spot center location, a high-precision spot center location detection method based on OpenCV is designed. First, the denoise and filter the collected spot image, and then filter the connected domain to eliminate gross errors through clustering analysis. Then, perform morphological processing on the edge of the connected domain of the object, and finally fit the edge data into an ellipse to locate the spot center. The simulation and experimental results show that the method in this paper has a sub-pixel level positioning accuracy of less than 0.1 pixel and more stable detection results than other traditional spot center location methods, and is a high-precision spot center location method.

姜超, 狄世超, 刘超, 寻静怡, 李俊. 一种基于OpenCV的高精度光斑中心定位方法[J]. 光学与光电技术, 2023, 21(5): 67. JIANG Chao, DI Shi-chao, LIU Chao, XUN Jing-yi, LI Jun. A High-Precision Spot Center Location Method Based on OpenCV[J]. OPTICS & OPTOELECTRONIC TECHNOLOGY, 2023, 21(5): 67.

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!