CN105783782A - Surface curvature abrupt change optical contour measurement method - Google Patents

Surface curvature abrupt change optical contour measurement method Download PDF

Info

Publication number
CN105783782A
CN105783782A CN 201610311407 CN201610311407A CN105783782A CN 105783782 A CN105783782 A CN 105783782A CN 201610311407 CN201610311407 CN 201610311407 CN 201610311407 A CN201610311407 A CN 201610311407A CN 105783782 A CN105783782 A CN 105783782A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
curvature
abrupt
change
contour
optical
Prior art date
Application number
CN 201610311407
Other languages
Chinese (zh)
Inventor
余学才
赵晨晨
魏英杰
葛小武
周建华
Original Assignee
电子科技大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical means
    • G01B11/24Measuring arrangements characterised by the use of optical means for measuring contours or curvatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration, e.g. from bit-mapped to bit-mapped creating a similar image
    • G06T5/001Image restoration
    • G06T5/002Denoising; Smoothing

Abstract

The present invention discloses a surface curvature abrupt change optical contour measurement method. According to the method, an optical band image is obtained; mean filtering and binaryzation processing are performed on the optical band image; average gray calculation is performed on the binarized optical band image; an average gray algorithm is adopted to determine the special position of the curvature abrupt change of a step; in a 3D contour reconstruction process, corresponding recognition processing can be performed on a curvature abrupt change position, and the contour line of the curvature abrupt change position can be filtered out; and the contour of an object of which the surface is subjected to curvature abrupt change can be restored accurately.

Description

表面曲率突变光学轮廓测量方法 The curvature of the optical surface profilometry method of mutation

技术领域 FIELD

[0001] 本发明属于图像处理技术领域,具体设及一种表面曲率突变光学轮廓测量方法。 [0001] The present invention belongs to the technical field of image processing, is provided, and one specific mutation of curvature of the optical surface profilometry method.

背景技术 Background technique

[0002] 随着机械、汽车、航天等制造业和服务、制鞋、玩具等民用工业的发展,在模具制造业中对复杂表面进行测量的需要越来越多。 Need [0002] With the development of machinery, automotive, aerospace and other manufacturing and services, footwear, toys and other civilian industries, the measurement of complex surfaces in the mold manufacturing industry more and more. 迄今为止,光学=维轮廓测量技术已经有了很长时间的发展,已有许多成熟的测量方法。 So far, optical technology = dimensional profile measurement has been developed for a long time, there are many sophisticated methods of measurement. 但现有的=维轮廓系统的测量精度、自动化、自适应程度普遍偏低,尤其对复杂结构轮廓的测量,现尚存在许多没有解决的难题。 However, the measurement accuracy of existing = dimensional contour system, automated, adaptive degree is generally low, especially in the measurement of complex structures outline, now there are still many unresolved problems.

[0003] =维测量是各个应用领域,如制造业、检验、文档分析、工程设计、刑事侦查现场痕迹分析、自动在线检测、质量控制、机器人、医疗诊断和军事等领域中各种智能自主系统中不可分割的一部分。 [0003] = dimensional measurement is the various application areas, such as manufacturing, testing, documentation, analysis, engineering design, traces of the criminal investigation scene analysis, automatic on-line testing, quality control, robotics, medical diagnostics and military applications in a variety of intelligent autonomous systems an integral part. 随着现代检测技术的进步,=维测量技术逐步成为人们的研究重点,特别是随着激光技术、计算机技术W及图像处理技术等高新技术的发展,使得光学式=维测量技术得到广泛的应用。 With the advancement of modern detection technology, = dimensional measurement technology gradually become the focus of research, especially with the development of high-tech laser technology, computer technology and image processing technology such as W, so that optical technology = dimensional measurement widely used .

[0004] 而随着计算机技术和光电技术的发展,基于光学原理、W计算机图像处理为主要手段的=维复杂曲面非接触式快速测量技术也应运而生。 [0004] With the development of computer technology and optical technology, optical principle, W for the main computer image processing means based on complex surfaces dimension = rapid non-contact measurement techniques have emerged. 逆向工程,是指从实物上采集大量的=维坐标点,并由此建立该物体的几何模型,进而开发出同类产品的先进技术,复杂曲面的逆向工程也是逆向工程的难点之一,它是根据曲面的测量规划,对曲面进行数字化扫描检测,再将数字点云进行曲面重构生成CAD模型,随着机械、汽车、航天等制造业和服务、 制鞋、玩具等民用工业的发展,在模具制造业中对复杂表面进行测量的需要越来越多。 Reverse engineering refers to the collection of a large number of points = dimensional coordinates from the physical, and thus establish a geometric model of the object in order to develop one of the difficulties advanced technology of similar products, reverse engineering of complex surface is reverse engineering, it is according to the measurement surface planning to digitize the surface scan detection, and then digital point cloud surface reconstruction to generate CAD models, with the development of machinery, automotive, aerospace and other manufacturing and services, footwear, toys and other civilian industries, in It needs to be measured in the mold manufacturing industry to more and more complex surfaces.

[0005] 光学S维轮廓测量由于其非接触性、高精度与高分辨率,在CAD/CAE、反求工程、在线检测与质量保证、多媒体技术、医疗诊断、机器视觉等领域得到日益广泛的应用,被公认是最有前途的=维轮廓测量方法。 [0005] S-dimensional optical profilometry due to its non-contact, high resolution and high accuracy, in CAD / CAE, reverse engineering, and quality assurance of line, the field of multimedia technology, medical diagnosis, machine vision increasingly widely application, is recognized as the most promising = dimensional profile measurement method.

[0006] 对于曲率突变的几何物体,一般的=维测量方法都会失效。 [0006] For mutation of curvature of geometric objects, general = dimensional measurement methods will fail. 例如线结构激光法,当线形激光器光刀照射于曲率突变的表面时,受表面突变影响,激光带会变成无大面积无规则形状,从而使轮廓测量失败。 Laser structure such as a wire method, when the linear laser knife is irradiated to the curvature of the surface of the mutation, mutations affect the surface by the laser with no large area becomes irregularly shaped, so that the profile measurement failure.

发明内容 SUMMARY

[0007] 本发明的目的是解决上述问题,提供一种表面曲率突变光学轮廓测量方法,可准确的判断几何物体曲率突变的位置并作出相应的处理,使得轮廓测量不受影响。 [0007] The object of the present invention is to solve the above problems, there is provided a method of optically measuring the surface contour curvature of mutation, it can accurately determine the position of the mutation curvature of geometric objects and make the appropriate treatment, so that the profile measurement is not affected.

[000引为解决上述技术问题,本发明的技术方案是:一种表面曲率突变光学轮廓测量方法,包括W下步骤: [000 In order to solve the above cited technical problem, the technical solution of the present invention is: A method for optical measurement of surface curvature mutation profile W comprising the steps of:

[0009] SI:待测物处于位置j时,利用计算机软件发出脉冲调制信号对激光器进行调制, 激光器输出线型光束对待测物进行照明;同时利用计算机软件发出触发信号,触发CCD图像传感器同步采集待测物表面的光带图像,并将采集的图像记为Al,然后关闭激光器,CC时暴像机再次采集相同位置的图像,记为All; [0009] SI: when the analyte is in position j, using computer software to pulse modulation signal modulates the laser, the laser output beam to analytes linear illumination; while using computer software issues a trigger signal to trigger synchronous acquisition CCD image sensor the image light with the surface of the object to be detected, referred to as a captured image and Al, and then off the laser, camera image acquisition violent same position again when the CC, referred to as All;

[0010] S2:对由锁定成像所得的图像Ai、Aii进行处理,在此位置获得一幅去除背景光的光带图像Ij; [0010] S2: Aii processed by the locking of the imaged image obtained Ai,, an image Ij is obtained with a light background light is removed at this position;

[0011] S3:对上述S2中获得的光带图像。 [0011] S3: light band image obtained in the above-mentioned S2. 进行二值化处理; Binarizing process;

[0012] S4:对二值化处理后的光带图像。 [0012] S4: After the light band image binarization processing. 进行平均灰度计算,设该图片中有N个像素点, 第i个像素点的灰度值为Ni,则光带图像。 Calculating average gray performed, provided that there are N image pixels, the i-th pixel gray value Ni, the light band image. 的平均灰度为: The average gray level:

Figure CN105783782AD00041

[0013] S5:将待测物从位置j沿导轨平移距离L到达位置j+1处,重复步骤Sl至S4,得到与光带图像I位置连续的光带图像并计算出光带图像Iw的平均灰度N脚QW [0013] S5: The analytes from a position j along the track translation distance L to the position j + at 1, repeat steps Sl to S4, to obtain the continuous light band image I position of the light band image and calculates the light band image Iw average N gradation foot QW

[0014] S6:将光带图像Iw的平均灰度除W光带图像。 [0014] S6: The average gradation image Iw W with light with a light image other. 的平均灰度,得到比值进Nave] 行判断,若比值 Mean intensity, the ratio of feed to give Nave] Analyzing row, if the ratio

Figure CN105783782AD00042

则光带图像Iw为曲率突变图像,该位置为曲率突变位置,在待 The light band image Iw mutation image curvature, the curvature of the location of the mutation position, to be in

Figure CN105783782AD00043

测物的每个位置,计算机软件均采用=维表面轮廓重建技术进行同步的轮廓重建,若该位置为曲率突变位置,则滤出该位置轮廓线后返回S5;若比值财该位置没有曲率突变,返回S5;直到完成待测物整体的轮廓重建。 Each position, the computer software product are used = the measured dimensional surface contour reconstruction technique contour reconstruction of synchronization, if the location of the mutation position curvature, then filtered off position after the return S5 contour; Choi this position if the ratio of mutant no curvature return S5; analyte until the entire contour reconstruction.

[0015] 优选地,步骤S3中光带图像在二值化处理处理前进行均值滤波。 [0015] Preferably, the light band image in step S3 mean filter prior to binarization processing.

[0016] 优选地,步骤S6中k的大小与待测物的表面曲率相关。 [0016] Preferably, in step S6 surface curvature k and the size was measured correlation.

[0017] 本发明的有益效果是:本发明所提供的表面曲率突变光学轮廓测量方法,采用平均灰度算法判断台阶曲率突变的特殊位置,在=维轮廓重建的过程中,能对曲率突变位置作出相应的识别处理,准确的还原出该表面曲率突变物体的轮廓。 [0017] Advantageous effects of the present invention are: surface curvature according to the present invention provides mutant optical profilometry measurements, the algorithm is determined using the average gray special location curvature mutation step, the contour reconstruction = dimension of the process, the position of the mutation can be of curvature corresponding to the recognition process, accurately restore the contour of the object surface curvature mutation.

附图说明 BRIEF DESCRIPTION

[0018] 图1是本发明表面曲率突变光学轮廓测量方法流程图; [0018] FIG. 1 is a flowchart of an optical profile measuring method of the present invention, mutation surface curvature;

[0019] 图2是本发明表面曲率突变光学轮廓测量装置的示意图; [0019] FIG. 2 is a schematic diagram of the present invention, the curvature of the surface of the optical profile measuring apparatus mutation;

[0020] 图3是本发明被测物台阶的示意图; [0020] FIG. 3 is a schematic diagram of the present invention was measured step;

[0021] 图4是本发明第一台阶位置的灰度图像; [0021] FIG. 4 is a grayscale image of the position of the first step of the present invention;

[0022] 图5是本发明台阶临界位置的灰度图像; [0022] FIG. 5 is a grayscale image of the position of the critical steps of the present invention;

[0023] 图6是本发明第二台阶位置的灰度图像; [0023] FIG. 6 is a grayscale image of the position of the second step of the present invention;

[0024] 图7是本发明被测物台阶平均灰度变化图; [0024] FIG. 7 is a test of the present invention the average gray level change map;

[0025] 图8是本发明被测物台阶的轮廓重建效果图; [0025] FIG. 8 is a step of the present invention was measured contour reconstruction renderings;

[0026] 附图标记说明:1、固定架;2、CC时暴像机;3、线结构激光器;4、位移平台;5、待测物。 [0026] REFERENCE NUMERALS: 1, bracket; 2, CC camera when the storm; 3, laser line structure; 4, displacement of the platform; 5, analyte.

具体实施方式 detailed description

[0027] 下面结合附图和具体实施例对本发明做进一步的说明: Drawings and specific embodiments of the present invention will be further described [0027] below with:

[0028] 如图2所示,本发明的表面曲率突变光学轮廓测量装置,包括固定架1、两台轴对称的CO)摄像机2、=只共面的线结构激光器3、位移平台4和一台计算机。 [0028] 2, the present invention is a mutant surface curvature of the optical profile measuring apparatus, comprising a chassis 1, a laser line structure 2, = only two coplanar axisymmetric CO) cameras 3, 4 and a displacement of the platform computer. 两台CO)摄像机2通过S维调节平台固定到固定架I的两个相邻的支柱上,并通过调节S维调节平台保证两台CCD 摄像机的光轴的交点在测量区域的中屯、。 Two CO) dimensional adjustment by the camera 2 is fixed to the bracket S internet two adjacent columns I and internet adjusted by adjusting the dimension S of the optical axis to ensure intersection of the two CCD camera in the measurement region Tun. =只线结构激光器3通过二维调节平台固定在固定架1的另外两个支柱及下方位置,使=只线结构激光器3的夹角成120% W确保每一只激光器到被测物中屯、轴等距,运样保证照射到物体表面的激光强度相同。 3 = only two-dimensional laser line structure adjustable platform fixed to the other two strut mount and a lower position 1, so that only the line structure laser angle = 3 to 120% W is only to ensure that each laser to the measured object Tun , equidistant from the axis, the sample transport to ensure that the same intensity of laser light irradiating the object surface.

[0029] 由于CO)摄像机和线结构激光器均固定在固定架上,要实现激光对被测物的纵向扫描来获取系列的轮廓线,如果移动CC时暴像机和线结构激光器来扫描,那么系统的稳定性和可操作性将会下降,并且很难控制扫描速度。 [0029] Since CO) cameras and laser line structures are fixed to the holder, to realize a laser to obtain series of vertical scanning of the contour line of the test object, if the camera moves and the line CC storm scanned laser structure, then maneuverability and stability of the system will decline, and it is difficult to control the scanning speed. 为了解决上述问题,本测量系统采用固定CC时暴像机和线结构激光器的位置,移动待测物相对于激光的位置来扫描物体,为方便被测物的移动速度和距离的控制,将位移平台4放置于固定架1中部下方的导轨上并确保固定在位移平台4上的待测物5于测量区域的中屯、点上,位移平台4通过步进电机进行驱动可W沿导轨移动。 To solve the above problems, the present measuring system and the camera using the position of the storm line laser structure fixed the CC, the analyte moves relative to the laser beam to scan the object, and to facilitate control of the moving speed of the measured object distance, displacement platform 4 is placed on the chassis 1 below the middle rail and fixed in the displacement ensure that the platform 4 Tun analytes in the measurement area, the point of translation table 54 is performed by driving the stepping motor can be moved along the guide rail W.

[0030] 计算机连接CC时暴像机来捕获图像,连接步进电机来驱动控制位移平台移动,连接线结构激光器W控制线结构激光器的亮或灭。 [0030] When connected to a computer CC violent camera to capture an image, the stepping motor is connected to control the displacement of the drive stage movement, the laser line structure connecting the control line W laser structure on or off.

[0031] 本发明还提供一种基于上述装置的表面曲率突变光学轮廓测量方法,其流程图如图1所示,调节二维调整平台使线结构激光器的激光面共面,=个线结构激光器发射的激光在待测物表面形成一个待测物横截面轮廓的激光光带,再使用CO)摄像机获取光带图像,将获取的图像传送到计算机中计算被测物的轮廓信息,具体包括W下步骤: [0031] The present invention also provides a mutant of the apparatus based on surface curvature of the contour of optical measurements, the flow chart shown in Figure 1, the two-dimensional adjustment of the laser platform to adjust the laser surface coplanar line structure, a line laser structure = the laser emission is formed in the surface to be measured with a laser beam cross-sectional profile of the object to be detected, then the use of CO) with a camera acquiring an optical image, the acquired images to computer contour information calculating analyte, comprising specifically W the next step:

[0032] SI:待测物处于位置j时,利用计算机软件发出脉冲调制信号对激光器进行调制, 激光器输出线型光束对待测物进行照明;同时利用计算机软件发出触发信号,触发CCD图像传感器同步采集待测物表面的光带图像,并将采集的图像记为Al,然后关闭激光器,CC时暴像机再次采集相同位置的图像,记为All; [0032] SI: when the analyte is in position j, using computer software to pulse modulation signal modulates the laser, the laser output beam to analytes linear illumination; while using computer software issues a trigger signal to trigger synchronous acquisition CCD image sensor the image light with the surface of the object to be detected, referred to as a captured image and Al, and then off the laser, camera image acquisition violent same position again when the CC, referred to as All;

[0033] S2:对由锁定成像所得的图像Ai、Aii进行处理,在此位置获得一幅去除背景光的光带图像Ij; [0033] S2: Aii processed by the locking of the imaged image obtained Ai,, an image Ij is obtained with a light background light is removed at this position;

[0034] S3:对上述S2中获得的光带图像。 [0034] S3: light band image obtained in the above-mentioned S2. 进行均值滤波和二值化处理; Mean filter and a binarization process;

[0035] S4:对二值化处理后的光带图像。 [0035] S4: After the light band image binarization processing. 进行平均灰度计算,设该图片中有N个像素点, 第i个像素点的灰度值为Ni,则光带图像。 Calculating average gray performed, provided that there are N image pixels, the i-th pixel gray value Ni, the light band image. 的平均灰度为: The average gray level:

Figure CN105783782AD00051

[0036] S5:将待测物从位置j沿导轨平移距离L到达位置j+1处,重复步骤Sl至S4,得到与光带图像I位置连续的光带图像并计算出光带图像Iw的平均灰度^ave/4 SN ave,+i [0036] S5: The analytes from a position j along the track translation distance L to the position j + at 1, repeat steps Sl to S4, to obtain the continuous light band image I position of the light band image and calculates the light band image Iw average gradation ^ ave / 4 SN ave, + i

[0037] S6:将光带图像Iw的平均灰度除W光带图像。 [0037] S6: The average gradation image Iw W with light with a light image other. 的平均灰度,得到比值进Navej 行判断,若比值 Mean intensity, to give a ratio of the intake line Navej determination, if the ratio

Figure CN105783782AD00052

则光带图像Iw为曲率突变图像,该位置为曲率突变位置,在待测物的每个位置,计算机软件均采用=维表面轮廓重建技术进行同步的轮廓重建,若该位置为曲率突变位置,则滤出该位置轮廓线后返回S5;若比值 The light band image Iw mutation image curvature, the curvature of the position location of the mutation in each position of the analyte, computer software are used = dimensional surface contour reconstruction technique contour reconstruction of synchronization, if the location of the mutation position curvature, then filtered off position after the return S5 contour; if the ratio

Figure CN105783782AD00053

则该位置没有曲率突变,返回S5;直到完成待测物整体的轮廓重建。 The position of the mutation without curvature, return S5; analyte until the entire contour reconstruction.

[0038] 本发明的表面曲率突变光学轮廓测量装置经过激光锁定成像技术取得了复杂形面轮廓的光带图像,消除了环境光对光带图像的影响,然而,由于被测物体本身的轮廓不匀称、表面反射率变化剧烈不均匀等原因,获取的光带图像会产生缺损,或光带边缘毛刺等, 严重影响了光带图像的质量,所W在一般的图像处理中我们对复杂结构的轮廓光带进行了一些预处理,主要有图像均值滤波算法和图像二值化。 [0038] The curvature of the surface profile of the present invention, the optical measuring apparatus mutant locking laser-light imaging technology achieved with complex shaped surface profile image, eliminating the influence of ambient light with the optical image, however, since the contour of the object itself is not symmetry, vigorously uneven surface reflectance change and other reasons, the image acquisition optical tape will produce defects, such as burrs or optical tape edge, seriously affecting the quality of light with images in general image processing in the complex structures we W a contour of the light with some pre-processing performed, the main image mean filter algorithm and image binarization.

Figure CN105783782AD00061

[0039] 在对光带图像进行二值化的同时,我们同步采用了平均灰度的算法从图片中分辨出台阶曲率突变的位置。 [0039] While the light with binarized image, we use the average gradation of the synchronization algorithm to distinguish mutations from the position of the curvature of the stepped image. 设计算机采集的一副经讨々h理的灰原图像中有N个像素点,第i个像素点的灰度值为Ni,则运幅图像的平均灰度为: 当计算机采集的位置到达:? 物体曲率突变的位置时,显示出来的平均灰度运一数据将于其他非突变位置有明显的差异,从而轻松的判断出来运些特殊位置。 Haibara image provided by a computer acquisition 々 h reasonable discussion there are N pixels, the i-th pixel gray value Ni, the average grayscale images transported as follows: when the position reaches the computer acquisition :? position of the object when the curvature mutation displayed an average gray data to be transported there are significant differences other non-mutated positions, to easily run out of some special position determination.

[0040] 本实施例的待测物W台阶为例进行说明,如图3所示,该待测物具有四个台阶,从下往上的两个台阶分别为第一台阶和第二台阶,它们之间用过一个垂直面过渡,该垂直面为台阶临界位置。 [0040] W stepped analyte present embodiment will be described as an example, shown in Figure 3, the DUT has four steps, from the bottom of two steps, respectively a first step and a second step, they used a transition between vertical plane, the vertical plane stepped critical position.

[0041] 图4至图6所示为计算机采集到的并经过预处理的=幅图像,此时都为灰度图像。 [0041] FIG. 4 to FIG. 6 is a computer collected and subjected to preprocessing = images, at this time are grayscale image. 它们分别为激光扫到被测物的第一台阶位置所得的图像,扫到台阶临界位置(此位置为该物体曲率突变的位置)所得的图像,扫到第二台阶所得的图像。 Respectively to the laser scan position of the image obtained was measured first step, the resulting image (the position of this mutant for the curvature of the object position) to the step scan critical position, to a second sweeping step of the resultant image.

[0042] 经过反复的实验测试,我们得出第一台阶位置和第二台阶位置所测得图片平均灰度在0.650~0.750之前浮动,而对于曲率突变的台阶临界位置,此位置的平均灰度在3.50 ~3.90之间浮动。 [0042] After repeated experimental tests, we have come to the measured position of the first step and the second step position before the image average gray float 0.650 ~ 0.750, the critical step for the curvature of the mutated position, this position of the average gradation float between 3.50 ~ 3.90. 可见台阶临界位置的平均灰度要比第一台阶位置和第二台阶位置的平均灰度大的多,前者为后者的五到六倍,从而本实施例中待测物台阶的k = 5。 Visible average gray level threshold position than a first average gray large multi-step and second step position, the former for the latter five to six times, so that analyte in the embodiment according to the present embodiment the step of k = 5 .

[0043] 因为测量系统经历的是连续扫描的过程,电脑采集的图像也是具有一定的规律, 先采集一部分第一台阶位置的图片,当第一台阶被激光扫描完毕,接着采集到一两张台阶临界位置的图片,来到第二台阶的位置,有采集到大量的第二台阶的图片,灰度值在此过程中的变化如图7所示,可W很直观的发现待测物位于位置坐标6时,激光恰好扫到曲率突变的位置。 [0043] Since the measurement system is subjected to continuous scanning process, the computer image is acquired with a certain regularity, a first step to collect the part of the image position, the first step is completed when the laser scanner, then collected twelve step image critical position, to the second step position, has acquired a large number of pictures of the second step, the gradation value changes in the process shown in Figure 7, W can be found very intuitive analyte located 6 coordinates, the position of the laser to just sweep curvature mutation.

[0044] 用上述表面曲率突变光学轮廓测量方法对该台阶进行测量的具体过程如下: [0044] Specific mutations of optical measurements during the above-described profile of the surface curvature measuring step as follows:

[0045] 台阶固定在位移平台上处于位置1处,利用计算机软件发出脉冲调制信号对激光 [0045] at a position on a fixed displacement step platform, the laser emits a pulse modulation signal using computer software

Figure CN105783782AD00062

器进行调制,激光器输出线型光束对待测物进行照明;同时利用计算机软件发出触发信号, 触发CCD图像传感器同步采集待测物表面的光带图像,并将采集的图像记为Al,然后关闭激光器,CC时暴像机再次采集相同位置的图像,记为All;对由锁定成像所得的图像Ai、Aii进行处理,在此位置获得一幅去除背景井对光带图像Ii进行均值滤波和二值化处理后计算出光带图像Ii的平均灰度. Is modulated laser output beam to analytes linear illumination; computer software while using a trigger signal, the CCD image sensor trigger light synchronous with the image capture surface of the object to be detected, referred to as a captured image and Al, and then turn off the laser , the CC when storm again acquired camera images of the same position, referred to as All; pair of, Aii is processed by the lock imaged image obtained Ai, in this position to obtain a well to remove background light with the image Ii and two values ​​mean filter after treatment with light to calculate the average gray image Ii.

[0046] 步进电机驱动控制位移平台沿导轨平移距离40mm到达位置2,重复上述步骤获得光带图像12,计算出光带图像12的平均灰适 [0046] The stepping motor driving control displacement of the platform along the rail reaches the position of the translation distance 40mm 2, repeating the above steps to obtain a light band image 12, calculates the average gray image with light of the appropriate 12

Figure CN105783782AD00063

小于台阶的k值5,位置2没有曲率突变。 5 is smaller than the step value of k, position 2 mutations without curvature.

[0047] 步进电机驱动控制位移平台沿导轨平移距离40mm到抹仿晉3,軍复h述步骤获得光带图像13,计算出光带图像13的平均灰度为0.698;则- [0047] The stepping motor driving control displacement of the platform along the rail to the translation distance 40mm imitation Jin applicator 3, said step of obtaining military complex h light band image 13, the average light gray band image 13 is calculated 0.698; the -

Figure CN105783782AD00071

J、于台阶的k J, at steps k

Figure CN105783782AD00072

值5,位置3也没有曲率突变。 5 value, no curvature position 3 mutation.

[004引继续重复上述步骤,依次测得 [004 continues to repeat the above cited steps, sequentially measured

Figure CN105783782AD00073

[0049] 当台阶移动到位置即寸》1值甘^埋^図像16的平均灰度iVavee为3.792,其与光带图像Is的平均灰度的比1 则位置6为曲率突变位置,同步轮廓重建滤出该位置轮廓线。 [0049] When the step moves to a position inch i.e. "buried ^ 1 ^ Gan value as the average gradation charts iVavee 16 is 3.792, and the average gradation which optical tape image Is is a ratio of location of the mutation at position 6 of curvature, the contour synchronization reconstructed contour filtered off position.

[0050] 重复上述步骤,直到完成待测物整体的轮廓重建。 [0050] Repeat the above steps until the entire contour reconstruction analyte.

[0051] 如图8所示,为台阶从位置1到位置11的轮廓重建效果图,其中由于曲率突变位置6 的轮廓线被滤出,故会留下缝隙,但是由于该缝隙的宽度极小,可W忽略不计。 [0051] As shown in FIG 8, a stepped from position 1 to position 11 of FIG contour reconstruction effect, wherein the mutation position due to the curvature of the contour line 6 is filtered off, it will leave a gap, but since the width of the slit is minimal , W may be negligible.

[0052] 本发明的表面曲率突变光学轮廓测量方法,得到满足被测物体目标面形数据,所需的激光光带的灰度图像后,需要对图像进行处理,本发明采用细化处理和和均值滤波消除噪声,之后对图像进行二值化处理,本发明采用平均灰度算法可W判断出不利于轮廓重建的曲率突变的位置。 [0052] The present invention is a mutant surface curvature measuring optical profile methods, the object is met the target surface shape data, the desired gray scale image with the laser light, the need for image processing, and thinning processing using the present invention, and mean filter to eliminate noise, the image after binarization processing, the present invention uses the average gradation W algorithm may be judged that the position is not conducive to the curvature of the contour reconstruction mutation. 获得轮廓数据后本发明采用最短对角线的轮廓线拼接来重构曲率突变物体的S维表面轮廓,最后借助VTK(visualization too化it)进行显示S维轮廓。 After obtaining the contour data of the contour lines of the present invention uses the shortest diagonal to reconstruct the splice mutation curvature dimensional surface profile of the object S, and finally by VTK (visualization too of it) is displayed S dimensional contour.

[0053] 本领域的普通技术人员将会意识到,运里所述的实施例是为了帮助读者理解本发明的原理,应被理解为本发明的保护范围并不局限于运样的特别陈述和实施例。 [0053] Those of ordinary skill in the art will recognize that, in operation of the embodiment is to aid the reader in understanding the principles of the present invention, it should be understood that the scope of the present invention is not limited to the specifically stated and the sample transport Example. 本领域的普通技术人员可W根据本发明公开的运些技术启示做出各种不脱离本发明实质的其它各种具体变形和组合,运些变形和组合仍然在本发明的保护范围内。 Those of ordinary skill in the art that various W may be various other specific variations and combinations of the present invention without departing from the spirit of the operation in accordance with teachings of the present invention such techniques disclosed, variations and combinations of these transport remain within the scope of the present invention.

Claims (3)

  1. 1. 一种表面曲率突变光学轮廓测量方法,其特征在于,包括以下步骤: S1:待测物处于位置j时,利用计算机软件发出脉冲调制信号对激光器进行调制,激光器输出线型光束对待测物进行照明;同时利用计算机软件发出触发信号,触发CCD图像传感器同步采集待测物表面的光带图像,并将采集的图像记为^,然后关闭激光器,CCD摄像机再次采集相同位置的图像,记为An; S2:对由锁定成像所得的图像Α^Αη进行处理,在此位置获得一幅去除背景光的光带图像Ij; S3:对上述S2中获得的光带图像I」进行二值化处理; S4:对二值化处理后的光带图像I」进行平均灰度计算,设该图片中有N个像素点,第i个像素点的灰度值为&,则光带图像L的平均灰度为: An optical measuring method of surface curvature mutant profile, characterized by comprising the steps of: S1: When the analyte is in position j, using computer software to pulse modulation signal modulates the laser, the laser output beam to analytes linear illumination; computer software while using a trigger signal, the CCD image sensor trigger light synchronous with the image capture surface of the object to be detected, referred to as a captured image and ^, then the laser is turned off, CCD camera to capture the same position again, referred to as An; S2: ^ Αη for processing the imaged image obtained by the lock Α, an image Ij is obtained with a light background light is removed at this position; S3: S2 obtained in the above-described light band image I "binarization process ; S4: after the binarization processing optical band image I 'is calculated by averaging gray, provided the picture there are N pixels, the gray pixels of the i-th value of &, L is the average optical band image gray is:
    Figure CN105783782AC00021
    S5:将待测物从位置j沿导轨平移距离L到达位置j+Ι处,重复步骤S1至S4,得到与光带图像I位置连续的光带图像M,并计算出光带图像Ij+1的平均灰度NaveJ+1; S6:将光带图像Ij+1的平均灰度除以光带图像I」的平均灰度, S5: The analytes from a position j j + Ι at, repeat steps S1 to S4, to give light band image I position of the continuous light band image M along the track translation distance L reaches the position, and calculates the light band image Ij + 1 of average gray NaveJ + 1; S6: the average gray light band image Ij + 1 is divided by the average gray light band image I "in,
    Figure CN105783782AC00022
    Break
    Figure CN105783782AC00023
    •则光带图像Ij+1为曲率突变图像,该位置为曲率突变位置,在待测物的每个位置,计算机软件均采用三维表面轮廓重建技术进行同步的轮廓重建,若该位置为曲率突变位置,则滤出该位置轮廓线后返回S5 • the light band image Ij + 1 mutation image curvature, the curvature of the position location of the mutation in each position of the analyte, computer software are used for three-dimensional surface contour reconstruction contour reconstruction of synchronization, if the position of the mutation curvature after the position, the position of the contour lines of the filtered return S5
    Figure CN105783782AC00024
    ,则该位置没有曲率突变,返回S5;直到完成待测物整体的轮廓重建。 , The position of the mutation without curvature, return S5; analyte until the entire contour reconstruction.
  2. 2. 根据权利要求1所述的表面曲率突变光学轮廓测量方法,其特征在于:所述步骤S3中光带图像在二值化处理处理前进行均值滤波。 The surface curvature of the optical measurement method of a mutant as claimed in claim contour, wherein: said step S3, the light band image mean filter prior to binarization processing.
  3. 3. 根据权利要求1所述的表面曲率突变光学轮廓测量方法,其特征在于:所述步骤S6中k的大小与待测物的表面曲率相关。 3. The curvature of the surface of an optical measurement according to claim mutant profile method, wherein: a surface curvature of the step S6 k the size of the relevant test object.
CN 201610311407 2016-05-12 2016-05-12 Surface curvature abrupt change optical contour measurement method CN105783782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201610311407 CN105783782A (en) 2016-05-12 2016-05-12 Surface curvature abrupt change optical contour measurement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201610311407 CN105783782A (en) 2016-05-12 2016-05-12 Surface curvature abrupt change optical contour measurement method

Publications (1)

Publication Number Publication Date
CN105783782A true true CN105783782A (en) 2016-07-20

Family

ID=56402100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201610311407 CN105783782A (en) 2016-05-12 2016-05-12 Surface curvature abrupt change optical contour measurement method

Country Status (1)

Country Link
CN (1) CN105783782A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6246480B1 (en) * 1999-09-01 2001-06-12 Lucent Technologies Inc. Stepped etalon
CN103080940A (en) * 2010-08-11 2013-05-01 金属板材技术解决方案股份有限公司 Method for generating optimized, constant curvature 2D or 3D roller profile curves and corresponding device
CN103278090A (en) * 2013-05-14 2013-09-04 陕西科技大学 Visual measurement method for volume of irregular object
CN103499585A (en) * 2013-10-22 2014-01-08 常州工学院 Non-continuity lithium battery thin film defect detection method and device based on machine vision
CN104574502A (en) * 2014-12-22 2015-04-29 博迈科海洋工程股份有限公司 Laser cross section feature identification method based on steel structure model
CN104764413A (en) * 2014-12-22 2015-07-08 博迈科海洋工程股份有限公司 Novel method for measuring welding deformation of marine structure deck plate
CN104808688A (en) * 2015-04-28 2015-07-29 武汉大学 Unmanned aerial vehicle curvature continuous adjustable path planning method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6246480B1 (en) * 1999-09-01 2001-06-12 Lucent Technologies Inc. Stepped etalon
CN103080940A (en) * 2010-08-11 2013-05-01 金属板材技术解决方案股份有限公司 Method for generating optimized, constant curvature 2D or 3D roller profile curves and corresponding device
CN103278090A (en) * 2013-05-14 2013-09-04 陕西科技大学 Visual measurement method for volume of irregular object
CN103499585A (en) * 2013-10-22 2014-01-08 常州工学院 Non-continuity lithium battery thin film defect detection method and device based on machine vision
CN104574502A (en) * 2014-12-22 2015-04-29 博迈科海洋工程股份有限公司 Laser cross section feature identification method based on steel structure model
CN104764413A (en) * 2014-12-22 2015-07-08 博迈科海洋工程股份有限公司 Novel method for measuring welding deformation of marine structure deck plate
CN104808688A (en) * 2015-04-28 2015-07-29 武汉大学 Unmanned aerial vehicle curvature continuous adjustable path planning method

Similar Documents

Publication Publication Date Title
Nayar et al. Shape from focus: An effective approach for rough surfaces
US6266138B1 (en) System and method for detecting defects in a surface of a workpiece
Wang Designs and implementations of automated systems for pavement surface distress survey
US20040184653A1 (en) Optical inspection system, illumination apparatus and method for use in imaging specular objects based on illumination gradients
Strecha et al. On benchmarking camera calibration and multi-view stereo for high resolution imagery
US20020118874A1 (en) Apparatus and method for taking dimensions of 3D object
US6909514B2 (en) Wheel profile inspection apparatus and method
US20050201611A1 (en) Non-contact measurement method and apparatus
US20060140473A1 (en) System and method for object measurement
US20060018530A1 (en) Pattern inspecting method
US6382510B1 (en) Automatic inspection system using barcode localization and method thereof
US20080055591A1 (en) Apparatus and methods for two-dimensional and three-dimensional inspection of a workpiece
US20070014468A1 (en) System and method for confidence measures for mult-resolution auto-focused tomosynthesis
US7352892B2 (en) System and method for shape reconstruction from optical images
Shirmohammadi et al. Camera as the instrument: the rising trend of vision based measurement
CN101566465A (en) Method for measuring object deformation in real time
WO2000063681A2 (en) Image editing for preparing a texture analysis
US20050046872A1 (en) Method and system for image processing for structured light profiling of a part
CN102221559A (en) Online automatic detection method of fabric defects based on machine vision and device thereof
US20050259859A1 (en) Method and Apparatus for Characterizing a Surface, and Method and Apparatus for Determining a Shape Anomaly of a Surface
DE10317078A1 (en) Reflective surface analysis method for inspecting/checking a reflective shiny mirror-like surface moves/changes an existing or created pattern to produce images on a surface at different times
JPH11166818A (en) Calibrating method and device for three-dimensional shape measuring device
US20090128648A1 (en) Image processing device and image processing method for performing three dimensional measurements
US20090279083A1 (en) Methodology for evaluating the start and profile of a thread with a vision-based system
US20150009301A1 (en) Method and apparatus for measuring the three dimensional structure of a surface

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination