为了提高二维视觉测量的精度,本文提出了一种嵌入式机器视觉光轴与物面垂直度调节的新方法(面积法)。该方法将立体成像原理与数字图像处理结合,采用Harris算子与空间矩结合提取特征点亚像素坐标,利用海伦公式计算特定区域的面积,再根据相机镜头与被测物相对倾斜时特定区域的面积变化规律,准确的判断光轴与物面垂直度。实验证明,该方法操作简单,稳定性好,实用性强,能够很好的提高二维视觉测量的精度。该方法已应用在嵌入式机器视觉工业现场。
To improve the accuracy of two-dimensional vision measurement, a new area method of verticality adjusting between optical axis and object surface of Embedded machine vision controller is proposed. The method based on 3-D imaging principle of cameras and image processing, uses Harris corner detector and spatial-moment to detect subpixel feature point, and adopts Heron Formula to calculate the special area. Then, according to the variable area rule of the relative tilted between camera lens and measured objects, the method can accurately judge the verticality between optical axis and object surface. Experiments demonstrate that the advantages of the proposed method are simple operation, stability and practicability. The measurement precision could be greatly improved by adjusting. The adjusting method has been applied in the industrial field of Embedded machine vision.