版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、重 庆 理 工 大 学文 献 翻 译二级学院 专 业 班 级 学生姓名 学 号 译文:基于计算机视觉的三维测量技术摘 要:本文根据计算机视觉原理,提出一种三维非接触测量技术。该技术根据人眼感知事物的原理,利用神经网络拟合图像坐标与空间坐标的映射关系;以光栅投影曲线为特征,采用小波边缘检测和搜索式无监督聚类,结合视觉几何不变性,实现亚像素级的立体精确匹配;并采用小波多尺度多分辨率的特性,拼接图像,融合数据,对物体进行全方位测量。实验表明,该技术设备简单,测量速度快,测量精度控制在0.5 mm/m以内。关键词:计算机视觉,立体匹配,几何不变性,神经网络,小波变换,聚类1 引言目前,三维测量仍以三维
2、坐标测量机为主。但是它由于体积大、结构复杂而不能在线测量,是接触测量而不能测量柔软的物体。因此,研究快速无损、非接触在线测量在工业上十分重要。尽管现在有很多方法,如激光扫描法、结构光法、相位测量法,但是都不能同时满足测量精度、效率、成本、自动化和智能化等方面的要求。因此,在本文使用双摄像机融合光学轴抓拍物体。随着处理图像,立体匹配图像和数据集成,三维物体的信息就是从这个立体图像中获得。三维测量技术已应用于测量系统中的多点压成型机的测量,并取得了良好的效果。2 测量原理及系统设计本文介绍了基于计算机视觉的三维非接触测量技术,三维对象的信息是从一对立体图像中获取。一般来说,有两个问题影响的三维物体
3、获得确切的消息:一种是图像之间建立特殊点点和准确的映射关系,另一种是立体匹配问题。本文神经网络是用来映射关系接近的情况下摄像机标定。小波边缘检测,寻找非监督聚类和几何不变性适用于立体匹配。在多尺度,多分辨率的小波属性应用于图像拼接和数据集成。在实践中,这项技术包含了许多方法和技术,它可以测量任意大小和形状的对象。然而,有一些物体的表面很光滑。匹配功能不明显,因此用光栅对象预测。而扭曲的条纹上创建的对象被视为匹配功能。为了提高测量精度,用两个与融合光学轴相机,这两个相机和一小型自制的投影机就构成了一种灵活的测量头。一个基于立体视觉的三维测量的原理草图如图1所示。3 建立图像点和特殊点之间的映射关
4、系实际上,获得从两个图像对三维物体的信息是获取图像点之间的映射和特殊点的关系,但是到现在为止没有任何方法可以完全描述非线性映射关系,因为有许多复杂的非线性影响因素,包括摄像的径向变形和横向变形。但是,神经网络可以模拟人类的视觉,建立了简单的非线性映射来处理复杂的单元,因此本文就从图像点的过程中当作黑箱特殊点。和BP网络的6个神经细胞中间层网络来设置点之间的形象和特殊点的映射关系。图片左边的点A和一个右边的点纳入BP网络,一个特殊的点被输出。换言之,这个BP网络的结构是4-6-3。利用神经网络,样本的选择是很重要的。样本不仅在于衡量的范围,也显示测量系统的测量范围。虽然两个相机是用来抓拍对象,但
5、是这部分对象只有在焊接处的视野内才能被获取。因此,物体三维信息的立体图像,镜头焦点的测量精度,测量范围和目标与摄像机之间的两个基准距离控制三维测量系统的测量范围。本文的结构和功能和两个相机是用来抓拍对象构成对称是相同的,相机的图像区域的是,如图2所示。该镜头的焦点是;两个图像之间的中心垂直线是。共同的部分被视为双摄像头的连接视野。而超出的部视为盲区。假设视野角度为2,基本的成像关系公式为: (1)这个内切圆是视野范围,如果两个相机光轴的夹角是,两个图像中心之间的距离是2,其比例为: (2)这样,一个2R×2R的示例模板由8×8的格子组成。这个示例模板固定在工作台上。分别获取
6、三对立体图像,而示例模板沿垂直线方向移动到三个不同高度(0,R,2R)模拟三维测量范围。三对立体图像被视为训练样本,把它们输入网络。4 亚像素级的立体精确匹配对立体显示来说立体精确匹配要困难得多,所以申请采用立体显示在某种程度上受到限制。本文应用小波变换检测边缘点,寻找非主管聚类方法,提出以区分不同的边缘点群。在同一个点群的边缘点的二次曲线拟合,然后在立体精确匹配亚像素级的水平基础上取得几何不变性。41 条纹边缘拟合中的非聚类搜索一般来说,图像往往含有随机噪声,小波变换能抑制噪声和检测移动,同时不同结构图像边缘的信息传播在所有决议中。自从转化不变性是最重要的立体匹配的边缘特征。二次B-spin
7、e被用来处理一个多尺度的生成元素检测条纹边缘点。实际上,噪音仍然混合在这些离散边缘点中,因此,曲线拟合用于转化为连续曲线离散边缘点,并减少噪音。然而,在曲线拟合之前,至关重要的是,所有的离散边缘点根据图像中条纹边缘的实际情况分成不同的群。海明距离的聚类中心往往被视为约束条件群,换句话说,假设一个点的属性向量是,一个聚类中心的属性向量是,如果,n是聚类总数,这样的思想不符合的条纹边缘点的实际情况。在曲线拟合之前,不仅给定的群体,而且这组点属于已知,而群体数目与条纹边数相等。因此,在本文中提出了非主管聚类算法。如果D是一个集合点,n是D点的数量,如果D分成组,划分方法如下所示。1) 如果是属性向量
8、,被称为初始群体,这里是,的组数等于n;2)假如=,结束;3)在覆盖下的基础上,两个群体之间的距离也就可以计算所有群体。假如,且(T代表转置矩阵), = min,最近的两组被选择;4)和是合并到,于是,所以群体总数减少;5)重复步骤(2)。42 基于几何不变性的相应点搜索几何不变性的定义是几何图案和矢量保持精确不变。对于一个特殊的多边形,两种不同的成行将得到两种透视变换图像位面。以同样的方式,对于一个三维曲线,两种不同的二维曲线得到两个图像位面。因此,几何不变性应用于匹配直线和曲线。对于直线匹配,几何不变性由5个点在同一条直线或5条直线在同一平面所代表。我们假设是特殊平面上的任意5条直线,直线
9、方程为: (3)我们任意选择3直线,和在5条直线上(k1,k2,k3=1,2,3,4,5,k1k2,k1,k3,k2k3)。这三条直线方程给出为: (4)这些直线均按直线的角度转变成图像。直线的特征也转换相应的直线方程的参数。参数显示在上标处(例如)。它证明,尽管这连续的五条直线的形状可以有更多的变化,它们也服从几何不变性,如果M属于A,它们是: , (5)类似地,有一个组的二次曲线的一些几何不变量。如果这个特殊平面上的一条二次曲线,它的方程可以表现为如下的二次曲线: (6)如果是二次曲线的参数矩阵,它也表现为如下矩阵: (7)如果有两条二次曲线和,它们的参数矩阵分别为和。运用几何投影将它们转
10、化为和,其参数矩阵为和。它证明,如果是矩阵的轨道,有两个几何不变量不管几何投影模式是否变化。 (8) (9)这样,直线和曲线就有效匹配了。本文光栅投影在垂直方向和水平方向被分别提出来,而两相机抓拍图像。随着小波边缘检测,搜索式无监督聚类,边缘点到二次曲线拟合。几何不变性,二次曲线匹配,垂直曲线和横向曲线交叉点的计算。因此,亚像素级的立体精确匹配得以实现。5 基于小波的图像拼接当大规模的测量表面时,许多对立体图象在不同的观点或者移动和旋转中被抓拍到。两个相邻图像需要镶嵌。图像镶嵌的重要问题是图像配准,也就是说,两个相邻图像之间的重叠部分,以便付诸表决,并且两个相邻图像之间的相应匹配也是图像镶嵌的
11、复杂工作。通讯匹配在相应的立体视觉匹配之后。在这之前,从相同的角度或者不同的角度沿着基本路线转换来抓住两个图像,并在这之后,这两张图片的角度不仅要是转换,而且要旋转。本文,一些随机黑点能容易的镶嵌,这些黑点被认为是重要的拼接点。同时,我们用线性和对称双正交分解两个图像来镶嵌,使粗糙的图像可以得到很好的匹配和拼接,最终得到一个大的图像。事实上,小波变换是一种带通滤波,小波向量的显示用不同尺度的频带宽度来衡量,所以每个小波的频率带宽是不相等的。两个图像用Mallat算法分解成不同频率波段的小波向量,然后不同规模选择不同的镶嵌宽度来满足和拼接,于是一个大的镶嵌图便顺利且很好的完成了。6 实验及结果分
12、析在本次设计中,这项技术在MPF机的测量系统中得到了应用。在应用了该技术后,测量结果返回到CAD / CAE系统中显示闭环控制得到了实现。表面形状后测量,测量结果返回到CAD / CAE系统和闭环控制的实现。据测量条件、测量精度一旦成熟,我们选择两个摄像头(MTV1881CB),两个镜头和一个图像记录装置(METEOR)。这两个摄像头之间的距离为300毫米;物体表面和两部相机之间的距离为500毫米。A 150×150 mm的曲面是该工艺的标准测量范围,测量结果在标签 1上显示,测量步骤如下:1) 建立与图像点和特殊点之间的映射关系;2)三维表面在工作台上进行,首先,二个摄像机在没有干
13、扰和光线的情况下同时抓拍一对立体图像。其次,在抓住两对立体图像对,一对在光栅的垂直方向上抓拍,另一对在光栅的横向上抓拍;3)进程映像,消除背景,减少噪音,如图3a,3b所示;4)功能检测,如图3c;5)搜索对应点,并镶嵌图像;6)计算三维坐标,重建三维表面,如图3d。实验表明,测量误差小于0.5mm,测量时间约2秒,包括图像抓拍、图像处理、建立图像点和特殊点的映射关系、搜索相应的坐标点和调整计算。 图、3 图像处理7 结束语在本文中,提出了一种新的基于计算机视觉的三维测量技术,该技术设备简单、测量速度快、成本低。可以测量大型对象,测量精度低于0.5 mm/m。它还提供了一个适用于工业计算机视觉
14、的新思路。实验结果表明,三维测量技术是非常完美的。原文:3D Measurement Technology Basedon Computer Vision Abstract: On the basis of computer vision, a noncontact 3D measurement technology was proposed in this paper. Using neural network, the mapping relation between image point and special point was established. The projection
15、 of grating on object is regarded as matching features, with wavelet edge detection, searching non-supervisor clustering and geometric invariance. Stereo precision matching is achieved at subpixel level. Furthermore, the multi-scale and multi-resolution attributes of wavelet are applied to image mos
16、aic and data integration, so a large scale object can be measured. Experiments show that the technology has many advantages, such as simple equipment, fast speed and low cost, and that the measuring error is less than 0.5 mm/m. Key words: Computer vision; stereo matching; geometric invariance; neura
17、l network; wavelet transform; clustering1 IntroductionAt present, three-dimensional(3D) measuring machine is still a main role in 3D measurement. But it cannot measure on line because of its bulk and its complex construction, and it obtains data from point contact so that it cannot measure soft obje
18、ct. Therefore, it is important for industry to research noncontact fast nondestructive measurement on line. Although there have been many methods, such as laserscanning method, structured light method, phase measuring method, they cannot simultaneously satisfy the demands of measurement precision, m
19、easurement speed, automation and intellectualization, and low cost.Consequently, in this paper, using two-camera with the converging optical-axis to grab image. With processing image, stereo matching image mosaic and data integration, 3D information of object is obtained from a pair of stereo images
20、. The 3D measurement technology has been applied to the measurement system of the Multi-point Press-forming Machine (MPF machine)2, and good results are obtained.2 Measurement Principle and System Design This paper describes the 3D noncontact measurement technology based on computer vision, and 3D i
21、nformation of object is obtained from a pair of stereo images. Generally, there are two problems that influence obtaining 3D exact information of object: the one is establishing the exact mapping relation between image point and special point; the other is stereo matching problem. In this paper, neu
22、ral network is used to approaching the mapping relation without camera calibration. Wavelet edge detection, searching non-supervisor clustering and geometric invariance are applied to stereo matching. The multi-scale and multi-resolution attribute of wavelet is applied to image mosaic and data integ
23、ration. In practice, the technology includes many methods and techniques, it can measure arbitrary size and shape object. However, the surfaces of some objects are smooth. Matching features are inconspicuous, so grating is projected on object. And the distorted stripes are created on object. They ar
24、e regarded as matching features. For improving measurement precision, two-camera with converging optical-axis is chosen. And the two-camera and the small self-made projector constitute a flexible measuring head. A sketch of the 3D measurement principle based on stereo vision is shown in Fig.1. 3 Est
25、ablishment of the Mapping Relation Between Image Point and Special Point Actually, obtaining 3D information of object from a pair of two images is by mapping relation between image point and special point, but until now no approach can completely describe the nonlinear mapping relation since there a
26、re many complex nonlinear influencing factors including radial distortion and lateral distortion of camera. However, neural network can simulate human vision to establish complex mapping by simple nonlinear processing cells, so this paper regards the middle process from image point to special point
27、as a black box. And BP network with a middle layer of six neural cells is used to set up the mapping relation between image point and special point. Point A in left image and a point in right image are input into the BP network, a special point is output. In other words, the structure of BP network
28、is 4-6-3. Using neural network, the choosing of training samples is important The training samples not only lie in the measurable range, but also show measurement range of measurement system.While two-camera is used to grab object, the object and the part of object only in jointing viewing field can
29、 be able to be grabbed. So 3D information of object from a pair of stereo images, lens focus, measurement precision, once measuring area and the distance between object and baseline of two-camera control 3D measurement range of the system are obtained.In this paper, the structure and function of the
30、 two cameras that are posed symmetrically are identical, and the image area is , just as Fig.2. The lens focus is f; the line between two image centers is perpendicular to . The common part is regarded as joining viewing field of two-camera. And the part out of is known as blind area. If 2 is viewin
31、g field angle, on the basic of imaging relation, the formula is (1) An inscribed circle is done in the joining viewing field, if is included angle of two-camera optical axis, 2 is the distance between two image centers, its ratio is (2)In this way, a 2R×2R sample template with 8×8 grids is
32、 made. The sample template is put worktable. Three pairs of stereo images are grabbed respectively, while the sample template is moved to three different heights (0, R, 2R) along the vertical direction to simulate 3D measurement range. The three pairs of stereo images are regarded as training sample
33、s, and they are input network.4 Stereo Precise Matching at Subpixel Level Stereo precise matching is much more difficult in stereo vision, so the applying of stereo vision is restricted in a way. In this paper, wavelet transform is applied to detect edge points, searching non-supervisor clustering a
34、pproach is proposed to distinguish the different edge point groups. The edge points in the same point group are fitted quadratic curve, and then stereo precise matching is achieved at subpixel level based on geometry invariance.4.1 Stripe Edges Fitting Based on Searching Nonsupervisor Clustering Gen
35、erally, image often contains random noise, and wavelet transform can restrain noise and detect edge, while different structure image edges are described by the information spreading in all resolutions. Since translating invariance is the most important in stereo matching based on edge feature. Quadr
36、atic B-spine is selected for a multi-scale generating element to detect edge points of stripe.Actually, noise is still mixed in these discrete edge points, so curve fitting is used to translate the discrete edge points into a continuous curve, and to reduce noise. However, before curves are fitted,
37、it is crucial that all discrete edge points are distinguished into different groups according to the practical situation of the stripe edges in images. Hamming distance to clustering center is often regarded as constraint condition to cluster, in other words, if the attribute vector of a point is Xl
38、,and the attribute vector of a clustering center is , and if , n is the total number of groups, then Xli, so the idea doesn't accord with the practical situation of stripe edge points. Before curves are fitted, not only is the number of groups given, but also which group a point belongs to is kn
39、own, and the number of groups is equal to the number of stripe edges. Therefore, a searching non-supervisor clustering algorithm is proposed in this paper.If D is an aggregate of points, n is number of points in D, and if D is divided into groups, dividing approach is shown as follows.1) If is attri
40、bute vector, is known as initial group , that is ,the number of groups is equal to n; 2) If =, end;3) On the basis of under hood, the distance between two groups is computed for all groups. If , and (T stands for transpose), that is = min, and two nearest groups are chosen; 4) and are merged into ,
41、that is , so the total of groups decrease 1;5) Return (2).4.2 Searching Corresponding Points Based on Geometric InvarianceGeometric invariance is defined that geometrical figure and vector keep invariance in mathematical manipulation.For a special polygon, two different shape polygons will be obtain
42、ed in two image planes by perspective transform. In the same way, for a 3D curve, two different 2D curves are obtained in two image planes. Therefore geometric invariance is applied to matching straight lines and curves.For straight-line matching, representational geometric invariance is composed of
43、 five points in the same straight line or five straight lines in the same surface.We assume that is arbitrary five straight lines on special plane, straight-line equation is (3)We arbitrarily choose three straight lines ,and in the five straight lines (k1,k2,k3=1,2,3,4,5,k1k2,k1,k3,k2k3). The system
44、 of equations of the three straight lines are given by (4)And these straight lines are translated into image straight lines by perspective transform. The image straight lines have also corresponding straight-line equation parameters. And the parameters are shown with superscript (for example ). It i
45、s testified, though the shapes of five straight lines can more change, there are geometric invariants, if Mis det A, they are , (5)Analogously, there are some geometric invariants for a group of quadratic curves. If is a quadratic curve on the special plane, its equation can be shown as follows (6)A
46、nd if is parameter matrix of quadratic curve, it is also shown by matrix as follows (7)If there are two quadratic curves and ,their parameter matrixes are respectively and . They are translated into and by geometric projection, and their parameter matrixes are and . It is testified, if is track of m
47、atrix, there are two geometric invariants whether mode of geometric projection is changed. (8) (9)In this way, straight lines and curves are matched effectively.In this paper, grating is projected on object in vertical direction and lateral direction respectively, while two cameras grab images. With
48、 wavelet edge detection, searching non-supervisor, edge points are fitted into quadratic curves. With geometric invariance, quadratic curves are matched, and cross points of vertical curves and lateral curves are computed. So stereo precise matching at subpixel level is achieved.5 Image Mosaic Based
49、 on WaveletWhen large-scale surface is measured, many pairs of stereo images are grabbed from different viewpoints or with moving and rotating object. And two adjacent images need mosaic. The important question of image mosaic is image registration, that is to say, overlapped parts between two adjac
50、ent images are put in order, and corresponding matching between two adjacent images is also involved in image mosaic. Corresponding matching in registration is deferred from corresponding matching in stereo vision. In the former, two images are grabbed from the same viewpoint or from the different v
51、iewpoints that are translated along the basic line, and in the latter, the viewpoints of two images are not only translated but also revolved.In this paper, some black points are pasted at random on object in order to mosaic easily, and the black points are regarded as registration feature points. M
52、eanwhile, we use biorthogonal wavelet with linearity and symmetry to decompose two images that are will be mosaic, so the images can be matched and registered from coarse to fine on multi-scale, and lastly a big image is become.In fact, wavelet transform is a band-pass filter, wavelet vector on diff
53、erent scales shows the stated width of frequency band, and so frequency bandwidth of each wavelet vector is unequal. Two images are decomposed into wavelet vectors on different frequency bands based on Mallat algorithm, and then the different mosaic widths are selected on different scales to match and register, so a big mosaic image is smooth and fine.6 Experiments and Results Analysis In this paper, the technology is applied to the measurement system of MPF machine. After the s
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年度年福建省高校教师资格证之高等教育心理学考前冲刺试卷A卷含答案
- 房地产 总承包工程技术标述标汇报 -总承包工程技术标答辩标准范本2023版
- 一年级数学计算题专项练习1000题集锦
- 公共管理研究生社会实践报告
- 2024年居间协议范本大全
- 2024年城市渣土清理专项协议
- 2024年专业美容师劳动协议模板
- 2024建筑工程统一协议文件
- 办公室2024年度租赁协议范本
- 2024年自动门购销协议模板
- GMP质量管理体系文件 中药材洗、润、切制SOP
- 贵州茅台酒全国经销商信息汇总
- 儿科学教学课件:儿童股骨干骨折
- 喹啉安全技术说明书MSDS
- GB/T 25217.1-2010冲击地压测定、监测与防治方法第1部分:顶板岩层冲击倾向性分类及指数的测定方法
- GB/T 24511-2017承压设备用不锈钢和耐热钢钢板和钢带
- GB 30255-2019室内照明用LED产品能效限定值及能效等级
- GB 18613-2020电动机能效限定值及能效等级
- 深度解读强基计划-被强基计划课件
- Banach空间及其相关定理
- 小学数学西南师大三年级上册四两位数除以一位数的除法 两位数除以一位数的除法问题解决
评论
0/150
提交评论