基于视觉的零件尺寸测量方法摘 要模仿人的眼睛看事物,将物体看作是一幅图像来获得物体的尺寸信息,依靠视觉来采集图像信息是基于视觉的零件尺寸测量主要讨论的过程.这些年来,基于视觉零件尺寸的测量方法技术已经深化到各行各业。它融入了各个学科的能源技术,成为了一门综合性的现代测量技术学科。实现了高精度测量,及微小物体测量。本设计主要以一个方形工件为实例进行视觉测量,并且通过图像灰度化、二值化以及图像边缘检测来猎取物体的实际尺寸。着重深化讨论图像处理,并以图像标定和图像处理为主。同时本文详细论述基于视觉的零件尺寸测量技术的应用,并侧重于图像处理的计算过程,通过 Matlab 程序计算与二维图像绘制,实现了基于视觉的零件尺寸在线测量系统。主要讨论以下内容:1、介绍视觉测量的基本意义、现状即以进展空间,确定设计的解决方案,阐述基于视觉的零件尺寸测量技术,对其技术在线测量方案进行理论分析和实验验证,证明它的可行性;2、分析猎取图像的标定技术,采纳标准件标定方法并且对整个测量系统标定,通过实验获得的数据进一步验证系统测量的精确度;3、通过对图像处理算法的分析,利用 Matlab 程序,实现图像预处理和像素边缘检测。深化分析图像数据处理和亚像素边缘定位技术,提高计算速度和计算精度。关键词:基于视觉;零件尺寸;图像处理;边缘检测;灰度化Based on The Isual Component Size MeasurementABSTRACTParts size measuring based on vision is the main research is to simulate human visual function to process the image to extract information from the objective things to understand, eventually acquire data needed for the actual size。 In recent years, based on the visual component size measurement technology in the field of measurement in recent years the rapid development of new technology 。 It is based on the modern optics, the integration of computer , laser technology , image processing and analysis technology such as modern science and technology is a body comprehensive measuring technique。 In this paper , we use part size measurement based on visual method to measure the mechanical parts of 2 d ge...