摘要
提出了一种基于MATLAB的激光光斑图像处理仿真算法。在MATLAB环境下,首先对采集到的光斑图像进行平滑滤波、亮度调节、阈值分割和边缘检测等图像处理,确定出光斑区域并得到边缘点的位置信息,再根据最小二乘法进行圆拟合进而计算得到光斑中心点的坐标。仿真结果表明,该算法能够快速、准确地得到光斑中心位置点,且达到很高的测量精度。
An algorithm to process image of laser spot based on MATLAB is put forward. In MATLAB, the laser spot image is firstly processed by smoothing, lightness adjustment, threshold value division and edge detection. The zone of the spot is gotten, and the position information of the edge points is calculated. With the help of the least squared criterion, the spot image is fitted circularly, and the center point is calculated. The result shows that the center point of the spot image is exactly calculate, and the measurement precision is satisfied.
出处
《工具技术》
2011年第8期88-90,共3页
Tool Engineering
基金
西安工业大学校长基金(XAGDXJJ0601)
关键词
激光光斑
图像处理
阈值分割
边缘检测
laser spot
image processing
threshold value division
edge detection