CN108205817A - Obtain the methods, devices and systems of target surface - Google Patents
Obtain the methods, devices and systems of target surface Download PDFInfo
- Publication number
- CN108205817A CN108205817A CN201611187536.4A CN201611187536A CN108205817A CN 108205817 A CN108205817 A CN 108205817A CN 201611187536 A CN201611187536 A CN 201611187536A CN 108205817 A CN108205817 A CN 108205817A
- Authority
- CN
- China
- Prior art keywords
- target
- light source
- target point
- target surface
- image
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/005—General purpose rendering architectures
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
- G01B11/25—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/30—Polynomial surface description
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2215/00—Indexing scheme for image rendering
- G06T2215/06—Curved planar reformation of 3D line structures
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Physics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- Algebra (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
技术领域technical field
本发明涉及飞艇领域,具体而言,涉及一种获取目标曲面的方法、装置和系统。The present invention relates to the field of airships, in particular to a method, device and system for acquiring a target curved surface.
背景技术Background technique
副气囊是飞艇必不可少的组成部分,通过副气囊的充放气实现在不同气温下整个飞艇囊体的气压和气动外形的保持,从而保障飞艇的长时间持续浮空能力,因此在飞艇的设计实践中,时刻监控副气囊的状态是必要的,由于副气囊整体结构的特性,只能用非接触方法进行监测。The auxiliary airbag is an essential part of the airship. Through the inflation and deflation of the auxiliary airbag, the air pressure and aerodynamic shape of the entire airship can be maintained at different temperatures, thereby ensuring the long-term continuous floating ability of the airship. Therefore, in the airship In design practice, it is necessary to monitor the state of the auxiliary airbag at all times. Due to the characteristics of the overall structure of the auxiliary airbag, it can only be monitored by non-contact methods.
现有的飞艇副气囊的监控方法是在三维重构方法的基础上,采用激光三维扫描方法或基于双目立体视觉的立体重构,三维重构是一项可行性很高的方法,但采用激光三维扫描方法的激光三维扫描成本太高,基于双目立体视觉的立体重构时,由于双目摄像机需要预先校准好,校准难度较高,并且囊内复杂的气流等情况难以保证双目视觉所必须的稳定状态,因此立体视觉在超过25m左右的距离上精度不能达标。The existing airship auxiliary airbag monitoring method is based on the three-dimensional reconstruction method, using laser three-dimensional scanning method or three-dimensional reconstruction based on binocular stereo vision. Three-dimensional reconstruction is a highly feasible method, but the use of The cost of laser 3D scanning in the laser 3D scanning method is too high. When stereo reconstruction based on binocular stereo vision is performed, the binocular camera needs to be calibrated in advance, which is difficult to calibrate, and it is difficult to ensure binocular vision due to the complex airflow in the capsule. The necessary stable state, so the accuracy of stereo vision cannot reach the standard at a distance of more than 25m.
针对现有技术中在采用双目摄像机监控飞艇副气囊的状态时,由于双目摄像机的配准难度高导致精确度低的问题,目前尚未提出有效的解决方案。In the prior art, when binocular cameras are used to monitor the state of airship auxiliary airbags, due to the high difficulty of binocular camera registration resulting in low accuracy, no effective solution has been proposed yet.
发明内容Contents of the invention
本发明实施例提供了一种获取目标曲面的方法、装置和系统,以至少解决现有技术中在采用双目摄像机监控飞艇副气囊的状态时,由于双目摄像机的配准难度高导致精确度低的技术问题。Embodiments of the present invention provide a method, device and system for obtaining a target curved surface, to at least solve the problem of high accuracy due to the high registration difficulty of binocular cameras when binocular cameras are used to monitor the state of airship auxiliary airbags in the prior art. Low technical issues.
根据本发明实施例的一个方面,提供了一种获取目标曲面的方法,包括:采集由光线投射在目标曲面上而产生的图像,图像包括:多个亮条纹,其中,光线为两台预设光源发出的出射光线,分别来自两台预设光源的亮条纹间隔排列;从图像中的亮条纹上取多个目标点;获取多个目标点的坐标值,并根据多个目标点的坐标值获取目标曲面;根据目标曲面确定副气囊的容积。According to an aspect of an embodiment of the present invention, there is provided a method for acquiring a target curved surface, including: collecting an image generated by projecting light on the target curved surface, the image includes: a plurality of bright stripes, wherein the light is two preset The outgoing light from the light source comes from the bright stripes of two preset light sources arranged at intervals; multiple target points are taken from the bright stripes in the image; the coordinate values of multiple target points are obtained, and according to the coordinate values of multiple target points Obtain the target surface; determine the volume of the auxiliary airbag according to the target surface.
根据本发明实施例的另一方面,还提供了一种获取目标曲面的装置,包括:采集模块,用于采集由光线投射在目标曲面上而产生的图像,图像包括:多个亮条纹,其中,光线为两台预设光源发出的出射光线,分别来自两台预设光源的亮条纹间隔排列;第一获取模块,用于从图像中的亮条纹上取多个目标点;第二获取模块,用于获取多个目标点的坐标值,并根据多个目标点的坐标值获取目标曲面;确定模块,用于根据目标曲面确定副气囊的容积。According to another aspect of the embodiments of the present invention, there is also provided a device for acquiring a curved surface of a target, including: a collection module, configured to collect an image generated by projecting light on the curved surface of the target, the image includes: a plurality of bright stripes, wherein , the light is the outgoing light from two preset light sources, and the bright stripes from the two preset light sources are arranged at intervals; the first acquisition module is used to obtain multiple target points from the bright stripes in the image; the second acquisition module , used to acquire the coordinate values of multiple target points, and acquire the target surface according to the coordinate values of the multiple target points; the determining module is used to determine the volume of the auxiliary airbag according to the target curved surface.
根据本发明实施例的又一方面,还提供了一种获取目标曲面的系统,包括:两台预设光源,用于发出的出射光线;图像采集设备,用于采集由出射光线投射在目标曲面上而产生的图像,图像包括:多个亮条纹,目标曲面为飞艇副气囊的表面;控制器,与图像采集设备相连,用于从图像中的亮条纹上取多个目标点;获取多个目标点的坐标值,根据多个目标点的坐标值获取目标曲面;并根据目标曲面确定飞艇副气囊的容积。According to yet another aspect of the embodiments of the present invention, there is also provided a system for acquiring a curved surface of a target, including: two preset light sources, used for emitting outgoing rays; an image acquisition device, used for collecting The image generated above, the image includes: a plurality of bright stripes, the target surface is the surface of the airship auxiliary airbag; the controller, connected with the image acquisition device, is used to take multiple target points from the bright stripes in the image; acquire multiple The coordinate value of the target point is used to obtain the target surface according to the coordinate values of the multiple target points; and the volume of the airship auxiliary airbag is determined according to the target surface.
在本发明实施例中,采集由光线投射在目标曲面上而产生的图像,从图像中的亮条纹上取多个目标点,获取多个目标点的坐标值,并根据多个目标点的坐标值获取目标曲面,并根据目标曲面确定副气囊的容积。上述方案环境适用性强,使用过程中即使光源和相机的姿态发生较大的变化,也无需校准,并可以有效的监测出副气囊的状况,监测的精度也能满足实际需求。In the embodiment of the present invention, the image generated by the projection of light on the target surface is collected, multiple target points are taken from the bright stripes in the image, the coordinate values of multiple target points are obtained, and according to the coordinates of multiple target points The value gets the target surface and determines the volume of the side airbag based on the target surface. The above solution has strong environmental applicability. Even if the attitude of the light source and camera changes greatly during use, no calibration is required, and the status of the auxiliary airbag can be effectively monitored, and the monitoring accuracy can meet actual needs.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是根据本发明实施例的一种获取目标曲面的方法的流程图;Fig. 1 is a flow chart of a method for acquiring a target curved surface according to an embodiment of the present invention;
图2是根据本发明实施例的一种可选的预设光源和相机的分布示意图;Fig. 2 is a schematic distribution diagram of an optional preset light source and a camera according to an embodiment of the present invention;
图3是根据本发明实施例的一种可选的相机采集到的图像示意图;Fig. 3 is a schematic diagram of an image collected by an optional camera according to an embodiment of the present invention;
图4是根据本发明实施例的一种可选的获取目标点坐标值的示意图;FIG. 4 is a schematic diagram of an optional acquisition of target point coordinates according to an embodiment of the present invention;
图5是根据本发明实施例的一种获取目标曲面的装置的结构示意图;以及5 is a schematic structural diagram of an apparatus for acquiring a target curved surface according to an embodiment of the present invention; and
图6是根据本发明实施例的一种获取目标曲面的系统的结构示意图。Fig. 6 is a schematic structural diagram of a system for acquiring a target curved surface according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
实施例1Example 1
根据本发明实施例,提供了一种获取目标曲面的方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present invention, an embodiment of a method for obtaining a target curved surface is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
图1是根据本发明实施例的获取目标曲面的方法的流程图,如图1所示,该方法包括如下步骤:Fig. 1 is the flow chart of the method for obtaining target curved surface according to the embodiment of the present invention, as shown in Fig. 1, this method comprises the following steps:
步骤S102,采集由光线投射在目标曲面上而产生的图像,图像包括:多个亮条纹,其中,光线为两台预设光源发出的出射光线,分别来自两台预设光源的亮条纹间隔排列。Step S102, collect the image generated by the light projected on the target surface, the image includes: a plurality of bright stripes, wherein the light is the outgoing light from two preset light sources, and the bright stripes from the two preset light sources are arranged at intervals .
具体的,上述目标曲面为需要监测的飞艇的副气囊的表面,在上述步骤中,可以由相机来采集含有亮条纹的图像。Specifically, the above-mentioned target curved surface is the surface of the auxiliary airbag of the airship that needs to be monitored. In the above-mentioned steps, images containing bright stripes can be collected by the camera.
在一种可选的实施例中,上述亮条纹可以是对预设光源的出射光线进行分束调制得到,由于预设光源的出射光线经过分束调制会得到间隔排列的亮暗线,间隔排列的亮暗线会在副气囊表面构成亮条纹,再采用相机采集亮条纹构成的图像。In an optional embodiment, the above-mentioned bright stripes can be obtained by beam-splitting and modulating the outgoing light of the preset light source. Since the outgoing light of the preset light source is beam-splitting and modulated, bright and dark lines arranged at intervals will be obtained. The bright and dark lines will form bright stripes on the surface of the auxiliary airbag, and then the camera is used to collect the image formed by the bright stripes.
步骤S104,从图像中的亮条纹上取多个目标点。Step S104, taking a plurality of target points from the bright stripes in the image.
具体的,上述目标点用于确定目标曲面。Specifically, the above target points are used to determine the target curved surface.
此处需要说明的是,多个亮条纹的间距不同,取目标点的密集程度也不同,因此同一个目标曲面的监测精度也会受到多个亮条纹的间距以及取目标点的密集程度的影响。在取得的目标点较多的情况下,监测得到的目标曲面更精确,但由于目标点较多,计算量也较大;而在取得的目标点较少的情况下,监测得到的目标曲面不够精确,但数据计算量较小。因此可以根据实际的监测要求来取得目标点,以达到精确度与计算量之间的平衡。What needs to be explained here is that the spacing of multiple bright stripes is different, and the density of the target points is also different. Therefore, the monitoring accuracy of the same target surface will also be affected by the spacing of multiple bright stripes and the density of the target points. . In the case of more target points obtained, the target surface obtained by monitoring is more accurate, but due to more target points, the calculation amount is also large; and in the case of less target points obtained, the target surface obtained by monitoring is not enough Accurate, but the amount of data calculation is small. Therefore, the target point can be obtained according to the actual monitoring requirements, so as to achieve the balance between the accuracy and the amount of calculation.
步骤S106,获取多个目标点的坐标值,并根据多个目标点的坐标值获取目标曲面。Step S106, acquiring the coordinate values of multiple target points, and acquiring the target curved surface according to the coordinate values of the multiple target points.
在上述步骤中,在确定目标点之后,可以结合多个目标点的坐标值,通过三维立体重构方法得到相似度较高的目标曲面,得到的结果可以包括用于表示目标曲面的函数和/或目标曲面示意图。In the above steps, after the target point is determined, the coordinate values of multiple target points can be combined to obtain a target surface with a high similarity through a three-dimensional reconstruction method, and the obtained result can include functions used to represent the target surface and/or or target surface schematic.
此处需要说明的是,上述实施例提供的获取目标曲面的方法所适用的环境适应性较好、系统搭建简单、图像处理明了、成本低廉。可以应用于飞艇副气囊监控,还可以应用于制作双补光灯立体成像相机、暗室环境下的三维重构应用等。能够在这些场景中发挥三维重构、立体拍照、目标位置监测、立体成像重构的作用。What needs to be explained here is that the method for obtaining the target curved surface provided by the above-mentioned embodiments is suitable for environments with good adaptability, simple system construction, clear image processing, and low cost. It can be applied to the monitoring of the auxiliary airbag of the airship, and can also be applied to the production of a stereoscopic imaging camera with dual fill lights, and the application of 3D reconstruction in a darkroom environment, etc. It can play the role of three-dimensional reconstruction, stereo photography, target position monitoring, and stereo imaging reconstruction in these scenes.
由上可知,本申请上述步骤采集由光线投射在目标曲面上而产生的图像,从图像中的亮条纹上取多个目标点,以及多个目标点的坐标值,并根据多个目标点的坐标值获取目标曲面。上述方案环境适用性强,使用过程中即使预设光源和相机的姿态发生较大的变化,也无需校准,适用于多种场景下对可变曲面的获取,尤其适用于监测飞艇副气囊内的囊体表面曲面,监测的精度也能满足实际需求。It can be seen from the above that the above steps of the present application collect the image generated by the projection of light on the target surface, take multiple target points from the bright stripes in the image, and the coordinate values of multiple target points, and according to the multiple target points Coordinate values to get the target surface. The above scheme has strong environmental applicability. Even if the attitude of the preset light source and camera changes greatly during use, no calibration is required. It is suitable for obtaining variable surfaces in various scenarios, especially for monitoring the airbag inside the airship auxiliary airbag. The surface of the capsule is curved, and the monitoring accuracy can also meet the actual needs.
可选的,根据本申请上述实施例,在步骤102中采集由光线投射在目标曲面上而产生的图像之前,方法还包括:步骤S108,生成亮条纹,其中,生成亮条纹的步骤包括:Optionally, according to the above-mentioned embodiment of the present application, before collecting the image generated by the light projected on the target surface in step 102, the method further includes: step S108, generating bright stripes, wherein the step of generating bright stripes includes:
步骤S112,在目标曲面前方设置间隔预设距离的两台预设光源。Step S112, setting two preset light sources separated by a preset distance in front of the target curved surface.
步骤S114,对两台预设光源的出射光线进行分束调制,使出射光线形成多个亮条纹。Step S114 , performing beam splitting and modulation on the outgoing light from the two preset light sources, so that the outgoing light forms a plurality of bright stripes.
具体的,上述预设光源可以是近红外光源,通过分束调制后形成多个亮条纹。Specifically, the aforementioned preset light source may be a near-infrared light source, which forms a plurality of bright stripes after beam splitting and modulation.
图2是根据本发明实施例的一种可选的预设光源和相机的分布示意图,在一种可选的情况下,结合图2所示的示例,预设光源为近红外光源,放置于目标曲面前,第一光源1发出第一光源分束光线201,第二光源2发出第二光源分束光线202,第一光源分束光线201和第二光源分束光线202在目标曲面203上具有一定的重叠覆盖面,用于采集图像的相机3位于第一光源1和第二光源2之间,采集出射光线构成的亮条纹。在目标曲面203上第一光源分束光线201和第二光源分束光线202的重叠覆盖面上,所述第一光源1和第二光源2发出的亮条纹间隔排列。Fig. 2 is a schematic diagram of the distribution of an optional preset light source and a camera according to an embodiment of the present invention. In an optional case, in combination with the example shown in Fig. 2, the preset light source is a near-infrared light source placed in Before the target curved surface, the first light source 1 emits the first light source split light 201 , the second light source 2 emits the second light source split light 202 , and the first light source split light 201 and the second light source split light 202 are on the target curved surface 203 With a certain overlapping coverage, the camera 3 for collecting images is located between the first light source 1 and the second light source 2, and collects bright fringes formed by outgoing light rays. On the overlapping surface of the first light source split light 201 and the second light source split light 202 on the target curved surface 203 , the bright stripes emitted by the first light source 1 and the second light source 2 are arranged at intervals.
此处需要说明的是,上述相机以及预设光源的分布位置并不一定局限于上述实施例,在知晓第一光源1和第二光源2之间的距离,以及第一光源1和第二光源2个亮条纹与基线(第一光源1与第二光源2之间的连线)之间的夹角的情况下,通过预定的计算方法就能够获取到目标点的坐标值。It should be noted here that the distribution positions of the above-mentioned cameras and preset light sources are not necessarily limited to the above-mentioned embodiments. After knowing the distance between the first light source 1 and the second light source 2 and the distance between the first light source 1 and the second light source In the case of the angle between the two bright stripes and the baseline (the line connecting the first light source 1 and the second light source 2), the coordinate value of the target point can be obtained through a predetermined calculation method.
在一种可选的实施例中,可以利用衍射光栅使出射光线形成多个亮条纹。In an optional embodiment, a diffraction grating may be used to form multiple bright fringes of outgoing light.
由上可知,本申请上述步骤在目标曲面前方设置间隔预设距离的两台预设光源,对两台预设光源的出射光线进行分束调制,使出射光线形成亮条纹。上述方案通过在目标曲面前方设置光源,并对预设光源进行分束调制,形成了用于获取目标点的图像。It can be seen from the above that in the above steps of the present application, two preset light sources are arranged in front of the target surface with a preset distance, and beam-splitting modulation is performed on the outgoing light of the two preset light sources, so that the outgoing light forms bright stripes. In the above solution, a light source is set in front of the target surface, and the preset light source is beam-splitting and modulated to form an image for acquiring the target point.
可选的,根据本申请上述实施例,步骤104中,从图像中的亮条纹上取多个目标点,包括:Optionally, according to the above-mentioned embodiment of the present application, in step 104, multiple target points are taken from the bright stripes in the image, including:
步骤S1041,对采集的图像取等间距直线,其中,直线与多个亮条纹相交。Step S1041, taking equidistant straight lines on the collected image, wherein the straight lines intersect with multiple bright stripes.
具体的,上述采集图像所使用的设备可以是相机3,作为一种可选的实施例,上述直线可以与亮条纹垂直,在多个亮条纹为竖直亮条纹的情况下,上述直线为水平线,结合图2所示的示例,相机3可以部署于第一光源1和第二光源2之间,且与第一光源1和第二光源2的距离相等。图3是根据本发明实施例的一种可选的相机3采集到的图像示意图,对采集的图像取等间距水平线的结果可以如图3所示。在一种可选的实施例中,结合图3所示的示例,通过分束调制,光源1和光源2在目标曲面上形成的亮条纹均为竖直的亮条纹,在光源1和光源2的亮条纹均覆盖的目标曲面上取等间距水平线。等间距水平线平行于第一光源1和第二光源2的连线。Specifically, the above-mentioned device used for collecting images may be a camera 3. As an optional embodiment, the above-mentioned straight line may be perpendicular to the bright stripes. In the case where multiple bright stripes are vertical bright stripes, the above-mentioned straight line is a horizontal , with reference to the example shown in FIG. 2 , the camera 3 may be deployed between the first light source 1 and the second light source 2 , and at the same distance from the first light source 1 and the second light source 2 . FIG. 3 is a schematic diagram of an image collected by an optional camera 3 according to an embodiment of the present invention. The result of taking equidistant horizontal lines for the collected image may be shown in FIG. 3 . In an optional embodiment, with reference to the example shown in FIG. 3 , through beam splitting modulation, the bright stripes formed by the light source 1 and the light source 2 on the target surface are all vertical bright stripes. Take equally spaced horizontal lines on the target surface where the bright stripes are covered. The equidistant horizontal lines are parallel to the connecting line between the first light source 1 and the second light source 2 .
步骤S1043,确定直线与多个亮条纹的交点为多个目标点。Step S1043, determining the intersection points of the straight line and the plurality of bright stripes as the plurality of target points.
每个水平线与第一光源1和第二光源2的亮条纹均产生交点,这些交点即为目标点。Each horizontal line has intersection points with the bright stripes of the first light source 1 and the second light source 2, and these intersection points are target points.
由上可知,本申请上述步骤通过对采集的图像取等间距水平线,来获取目标点。It can be known from the above that the above steps of the present application obtain the target points by taking equidistant horizontal lines on the collected images.
可选的,根据本申请上述实施例,在步骤106中,所述两台预设光源为第一光源和第二光源2,获取多个目标点的坐标值的方法包括:Optionally, according to the above-mentioned embodiment of the present application, in step 106, the two preset light sources are the first light source and the second light source 2, and the method for obtaining the coordinate values of multiple target points includes:
步骤S1061,两台预设光源为第一光源1和第二光源2,确定两台预设光源中第一光源1为原点,第一光源1与第二光源2的连线作为第一维度,确定在预设平面上与第一维度垂直的方向为第二维度,其中,预设平面为由两台预设光源与一待测目标点C确定的平面,目标点C属于第二光源2所发出并在目标曲面上形成的第m条亮条纹上的点。Step S1061, the two preset light sources are the first light source 1 and the second light source 2, and the first light source 1 is determined as the origin of the two preset light sources, and the connection line between the first light source 1 and the second light source 2 is used as the first dimension, Determine the direction perpendicular to the first dimension on the preset plane as the second dimension, wherein the preset plane is a plane determined by two preset light sources and a target point C to be measured, and the target point C belongs to the second light source 2 The point on the mth bright streak that is emitted and formed on the target surface.
步骤S1062,根据第一维度和第二维度建立坐标系。Step S1062, establishing a coordinate system according to the first dimension and the second dimension.
在一种可选的实施例中,图4是根据本发明实施例的一种可选的获取目标点坐标值的示意图,结合图4所示的示例,该示例中建立的坐标系的原点O为第一光源1的位置,P(1,0)为第二光源2的位置,x轴方向为第一光源1向第二光源2延伸的方向,y轴方向为在第一光源1、第二光源2和目标点C确定的平面上垂直于x轴方向延伸的方向,且目标点C的y轴坐标为正。In an optional embodiment, FIG. 4 is a schematic diagram of an optional acquisition of target point coordinates according to an embodiment of the present invention. In conjunction with the example shown in FIG. 4, the origin O of the coordinate system established in this example is the position of the first light source 1, P(1,0) is the position of the second light source 2, the x-axis direction is the direction in which the first light source 1 extends to the second light source 2, and the y-axis direction is the direction between the first light source 1 and the second light source 2 The direction extending perpendicular to the x-axis direction on the plane defined by the two light sources 2 and the target point C, and the y-axis coordinate of the target point C is positive.
步骤S1063,如图4所示,在坐标系中选取与目标点C相对两侧相邻的由第一光源1发出的两个亮条纹中的亮点作为两个第一辅助点A和B,直线AC和直线BC近似为一条直线L1;经过原点O和辅助点A的辅助线为L2,经过原点O和辅助点B的辅助线为L3,第二光源2所在位置P(1,0)与目标点C的辅助线L4与辅助线L2和L3分别相交于两个第二辅助点E和D;并获取两个第二辅助点E和D的坐标值(x2,y2)和(x1,y1)。Step S1063, as shown in Figure 4, select the bright spots in the two bright stripes emitted by the first light source 1 adjacent to the opposite sides of the target point C in the coordinate system as the two first auxiliary points A and B, and the straight line AC and straight line BC are approximately a straight line L1; the auxiliary line passing through the origin O and auxiliary point A is L2, the auxiliary line passing through the origin O and auxiliary point B is L3, and the position P(1, 0) of the second light source 2 is in line with the target The auxiliary line L4 of point C intersects with the auxiliary lines L2 and L3 respectively at two second auxiliary points E and D; and obtains the coordinate values (x2, y2) and (x1, y1) of the two second auxiliary points E and D .
A点和B点是第一光源1发出的第n条和第n+1条亮条纹上的点,C点是第二光源2发出的第m条亮条纹上的点,根据光栅衍射原理和光栅常数、光源波长等参数,n和m是可以测量得知的已知自然数,即,辅助线L2、L3以及L4分别与x轴的夹角α、β、γ为可测量获知的,即夹角α、β、γ为已知,而在图4中,第一光源1和第二光源2的距离即线段OP也为已知。则在三角形EOP中,OP的长度已知,夹角α和γ已知,则可计算得知D点的坐标值(x1,y1),同理,可计算得知E点的坐标值(x2,y2)。Points A and B are the points on the nth and n+1th bright stripes emitted by the first light source 1, and point C is the point on the mth bright stripes emitted by the second light source 2. According to the principle of grating diffraction and Parameters such as grating constant and light source wavelength, n and m are known natural numbers that can be measured, that is, the included angles α, β, and γ between the auxiliary lines L2, L3, and L4 and the x-axis are measurable and known, that is, The angles α, β, and γ are known, and in FIG. 4 , the distance between the first light source 1 and the second light source 2 , that is, the line segment OP is also known. Then in the triangle EOP, if the length of OP is known, and the included angles α and γ are known, then the coordinate value (x1, y1) of point D can be calculated. Similarly, the coordinate value of point E can be calculated (x2 ,y2).
步骤S1065,根据两个第二辅助点E和D的坐标值以及两个第一辅助点A和B与C的距离的比例关系,获取目标点的坐标值。Step S1065, according to the coordinate values of the two second auxiliary points E and D and the proportional relationship between the distances between the two first auxiliary points A and B and C, the coordinate value of the target point is obtained.
线段AC与BC的长度比值可由相机3拍摄的如图2所示的亮条纹图像中测量得知:C点为图3中的某一已知亮条纹上的点,测量与C点相对两侧相邻的两条亮条纹与C点所在亮条纹的距离,即计算亮条纹之间的在水平方向上的像素数,可得到线段AC与BC的长度比值本实施例中,由于相邻条纹的间距相比于其与x轴的距离为很小,所以可以将线段EC与DC的长度比值近似与线段AC与BC的长度比值相等,即因此可以根据点D、点E的坐标以及EC/DC的比值,得到目标点C的坐标值。The length ratio of line segment AC to BC can be measured from the bright stripe image shown in Figure 2 captured by camera 3: point C is a point on a known bright stripe in Figure 3, measured on both sides of point C The distance between two adjacent bright stripes and the bright stripe where point C is located is to calculate the number of pixels in the horizontal direction between the bright stripes, and the length ratio of the line segment AC to BC can be obtained In this embodiment, since the distance between adjacent stripes is very small compared to the distance between them and the x-axis, the length ratio of the line segment EC to DC can be approximately equal to the length ratio of the line segment AC to BC, that is Therefore, the coordinate value of the target point C can be obtained according to the coordinates of point D and point E and the ratio of EC/DC.
由上可知,本申请上述步骤通过构建坐标系和辅助点,实现了获取目标点的技术目的。It can be seen from the above that the above steps of the present application achieve the technical purpose of obtaining the target point by constructing the coordinate system and auxiliary points.
步骤S1066,将待测目标点C替换为另一目标点,重复步骤S1061-S1065,直至获取所有预定目标点的坐标值。Step S1066, replace the target point C to be measured with another target point, and repeat steps S1061-S1065 until the coordinate values of all predetermined target points are obtained.
可选的,根据本申请上述实施例,在获取所述多个目标点的坐标值,并根据所述多个目标点的坐标值获取所述目标曲面之后,方法还包括:Optionally, according to the above-mentioned embodiments of the present application, after obtaining the coordinate values of the multiple target points, and obtaining the target curved surface according to the coordinate values of the multiple target points, the method further includes:
步骤S110,根据目标曲面确定目标曲面所属的飞艇副气囊的容积。Step S110, according to the target curved surface, determine the volume of the airship auxiliary airbag to which the target curved surface belongs.
具体的,上述飞艇副气囊的容积用于表征副气囊的充气情况,从而能够获取飞艇的气囊的状态,以及飞艇的飞行状态。Specifically, the volume of the auxiliary airbag of the airship is used to characterize the inflation of the auxiliary airbag, so that the state of the airbag of the airship and the flight state of the airship can be obtained.
步骤S112,获取预设的安全容积范围。Step S112, acquiring a preset safety volume range.
具体的,上述预设的安全容积范围可以包括一个最大容积和一个最小容积。Specifically, the aforementioned preset safety volume range may include a maximum volume and a minimum volume.
步骤S114,在飞艇副气囊的容积不处于安全容积范围的情况下,发出报警信号。Step S114, when the volume of the auxiliary airbag of the airship is not within the safe volume range, an alarm signal is sent.
具体的,在飞艇副气囊的容积大于最大容积或小于最小容积的情况下,确认飞艇副气囊的容积不处于安全容积范围内,因此副气囊处于非安全状态,发出报警信号。还可以具有实时数据显示装置,用于实时显示副气囊的容积。Specifically, when the volume of the airship auxiliary airbag is greater than the maximum volume or smaller than the minimum volume, it is confirmed that the volume of the airship auxiliary airbag is not within the safe volume range, so the auxiliary airbag is in an unsafe state, and an alarm signal is sent. There may also be a real-time data display device for real-time display of the volume of the auxiliary airbag.
需要说明的是,飞艇副气囊内部填充空气,处于飞艇主气囊内部,且与之气囊之间填充氦气,通过主气囊与副气囊之间的氦气为飞艇提供浮力。在一种可选的实施例中,由于副气囊的体积小于最小容积而产生报警信号,则可以认为飞艇主气囊体积过大,可能是由于主气囊内气体温度过高而引起;在另一种可选的实施例中,由于副气囊的体积大于最大容积而产生报警信号,则可以认为飞艇气囊体积过小,可能是由于气囊气体温度过低而引起。It should be noted that the interior of the auxiliary airbag of the airship is filled with air, it is inside the main airbag of the airship, and the space between the airbag and the airbag is filled with helium, and the buoyancy of the airship is provided by the helium between the main airbag and the auxiliary airbag. In an optional embodiment, because the volume of the auxiliary airbag is less than the minimum volume and an alarm signal is generated, it can be considered that the volume of the main airbag of the airship is too large, which may be caused by the excessive temperature of the gas in the main airbag; in another In an optional embodiment, if an alarm signal is generated because the volume of the auxiliary airbag is greater than the maximum volume, it can be considered that the volume of the airship airbag is too small, which may be caused by the temperature of the gas in the airbag being too low.
由上可知,本申请上述步骤通过获取预设的安全容积范围,在飞艇副气囊的容积不处于安全容积范围的情况下,发出报警信号,实现了对飞艇副气囊的状态的监控,从而实现了对飞艇飞行状态的监控。As can be seen from the above, the above steps of the present application obtain the preset safe volume range, and when the volume of the airship auxiliary airbag is not within the safe volume range, an alarm signal is sent to realize the monitoring of the state of the airship auxiliary airbag, thereby realizing Monitoring of airship flight status.
可选的,根据本申请上述实施例,两台预设光源及用于采集图像的装置均设置于飞艇副气囊内,根据目标曲面确定目标曲面所属的飞艇副气囊的容积的方法包括:使用曲面上的目标点至光源的距离对曲面进行积分,得到飞艇副气囊的内部容积。Optionally, according to the above-mentioned embodiments of the present application, the two preset light sources and the device for collecting images are all arranged in the airship auxiliary airbag, and the method for determining the volume of the airship auxiliary airbag to which the target curved surface belongs includes: using the curved surface The distance from the target point on the surface to the light source is integrated on the surface to obtain the internal volume of the airship auxiliary airbag.
在一种可选的实施例中,以图2所示的示例进行描述,203为飞艇副气囊的目标曲面,也即相机拍摄到的部分,第一光源1和第二光源2都处于飞艇副气囊内部,在获取到目标曲面之后,实际可以得到以第一光源1为锥顶,以曲面203为底面的椎体,由于获取到了目标曲面上每个目标点的坐标,因此能够知晓曲面203上每个目标点距离锥顶光源1的距离,使用曲面203上的目标点至光源1的距离对曲面203进行积分,能够得到椎体的体积,通过椎体的体积则能够得到飞艇副气囊的内部容积。In an optional embodiment, the example shown in FIG. 2 is used for description. 203 is the target curved surface of the airship auxiliary airbag, that is, the part captured by the camera. Both the first light source 1 and the second light source 2 are in the airship auxiliary airbag. Inside the airbag, after the target curved surface is obtained, the cone body with the first light source 1 as the top of the cone and the curved surface 203 as the bottom surface can actually be obtained. Since the coordinates of each target point on the target curved surface are obtained, it is possible to know the The distance between each target point and the cone-top light source 1, using the distance from the target point on the curved surface 203 to the light source 1 to integrate the curved surface 203, the volume of the vertebral body can be obtained, and the interior of the airship auxiliary airbag can be obtained through the volume of the vertebral body volume.
实施例2Example 2
根据实施例1提供的获取目标曲面的方法,本申请还提供了一种获取目标曲面的装置,图5是根据本发明实施例的一种获取目标曲面的装置的结构示意图,该装置包括:According to the method for obtaining a target curved surface provided in Embodiment 1, the present application also provides a device for obtaining a target curved surface. FIG. 5 is a schematic structural diagram of a device for obtaining a target curved surface according to an embodiment of the present invention. The device includes:
采集模块50,用于采集由光线投射在目标曲面上而产生的图像,图像包括:多个亮条纹,其中,光线为两台预设光源发出的出射光线,分别来自两台预设光源的亮条纹间隔排列。The collection module 50 is used to collect the image generated by the light projected on the target surface, the image includes: a plurality of bright stripes, wherein the light is the outgoing light from two preset light sources, and the bright lights from the two preset light sources are respectively The stripes are arranged at intervals.
具体的,上述目标曲面为需要监测的副气囊的表面,在上述步骤中,可以由相机来采集含有多个亮条纹的图像。Specifically, the above-mentioned target curved surface is the surface of the auxiliary airbag to be monitored, and in the above-mentioned steps, an image containing multiple bright stripes may be collected by the camera.
在一种可选的实施例中,上述亮条纹可以是对预设光源的出射光线进行分束调制得到,由于预设光源的出射光线经过分束调制会得到间隔排列的亮暗线,间隔排列的亮暗线会在副气囊避免构成多个亮条纹,再采用相机采集多个亮条纹构成的图像。In an optional embodiment, the above-mentioned bright stripes can be obtained by beam-splitting and modulating the outgoing light of the preset light source. Since the outgoing light of the preset light source is beam-splitting and modulated, bright and dark lines arranged at intervals will be obtained. The bright and dark lines will avoid forming multiple bright stripes in the auxiliary airbag, and then use the camera to collect the image formed by multiple bright stripes.
具体的,上述目标点用于确定目标曲面。Specifically, the above target points are used to determine the target curved surface.
此处需要说明的是,亮条纹的间距不同,取目标点的密集程度也不一定相同,因此同一个目标曲面的监测精度也会受到多个亮条纹的间距以及取目标点的密集程度的影响,在取得的目标点较多的情况下,监测得到的目标曲面更精确,但由于目标点较多,计算量也较大,在取得的目标点较少的情况下,监测得到的目标曲面不够精确,但数据计算量较小,因此可以根据实际的监测要求来取得目标点。What needs to be explained here is that the spacing of the bright stripes is different, and the density of the target points is not necessarily the same. Therefore, the monitoring accuracy of the same target surface will also be affected by the spacing of multiple bright stripes and the density of the target points. , when more target points are obtained, the target surface obtained by monitoring is more accurate, but since there are more target points, the calculation amount is also large, and when there are fewer target points obtained, the target surface obtained by monitoring is not enough Accurate, but the amount of data calculation is small, so the target point can be obtained according to the actual monitoring requirements.
第一获取模块52,用于从所述图像中的亮条纹上取多个目标点。The first acquisition module 52 is configured to acquire multiple target points from the bright stripes in the image.
第二获取模块54,用于获取多个目标点的坐标值,并根据多个目标点的坐标值获取目标曲面。The second acquiring module 54 is configured to acquire the coordinate values of multiple target points, and acquire the target curved surface according to the coordinate values of the multiple target points.
在上述装置中,由于光源为预设的光源,因此光源与目标曲面的距离是已知的,在确定目标点之后,可以根据光源与目标曲面之间的距离关系,计算每个目标点的坐标值,在一种可选的实施例中,可以根据三维立体重构方法直接得到相似度较高的目标曲面。本实施例中的三维立体重构方法可以为如实施例1中的步骤S1061-S1066所述的方法。In the above device, since the light source is a preset light source, the distance between the light source and the target surface is known. After the target point is determined, the coordinates of each target point can be calculated according to the distance relationship between the light source and the target surface. In an optional embodiment, the target surface with high similarity can be directly obtained according to the three-dimensional reconstruction method. The three-dimensional reconstruction method in this embodiment may be the method described in steps S1061-S1066 in Embodiment 1.
确定模块,用于根据目标曲面确定副气囊的容积。The determining module is used for determining the volume of the auxiliary airbag according to the target curved surface.
此处需要说明的是,上述实施例提供的获取目标曲面的方法所适用的环境适应性较好、系统搭建简单、图像处理明了、成本低廉。除了应用于飞艇副气囊监控之外,还可以应用于制作双补光灯立体成像相机、暗室环境下的三维重构应用等。能够在这些场景中发挥三维重构、立体拍照、目标位置监测、立体成像重构的作用。What needs to be explained here is that the method for obtaining the target curved surface provided by the above-mentioned embodiments is suitable for environments with good adaptability, simple system construction, clear image processing, and low cost. In addition to being used in airship auxiliary airbag monitoring, it can also be used in the production of stereoscopic imaging cameras with dual fill lights, 3D reconstruction applications in darkroom environments, etc. It can play the role of three-dimensional reconstruction, stereo photography, target position monitoring, and stereo imaging reconstruction in these scenes.
由上可知,本申请上述装置通过采集模块采集由光线投射在目标曲面上而产生的图像,通过第一获取模块从图像中的亮条纹上取多个目标点,通过第二获取模块获取多个目标点的坐标值,并根据多个目标点的坐标值获取目标曲面,并通过确定模块根据目标曲面确定副气囊的容积。上述方案环境适用性强,使用过程中即使光源和相机的姿态发生较大的变化,也无需校准,并可以有效的监测出副气囊的状况,监测的精度也能满足实际需求。It can be seen from the above that the above-mentioned device of the present application collects the image generated by the projection of light on the target curved surface through the acquisition module, obtains multiple target points from the bright stripes in the image through the first acquisition module, and acquires multiple target points through the second acquisition module. The coordinate value of the target point is obtained, and the target surface is obtained according to the coordinate values of the multiple target points, and the volume of the auxiliary airbag is determined according to the target surface through the determination module. The above solution has strong environmental applicability. Even if the attitude of the light source and camera changes greatly during use, no calibration is required, and the status of the auxiliary airbag can be effectively monitored, and the monitoring accuracy can meet actual needs.
可选的,根据本申请上述实施例,上述装置还包括:生成模块,用于在采集由光线投射在目标曲面上而产生的图像之前,生成亮条纹,其中,生成模块包括:Optionally, according to the above-mentioned embodiments of the present application, the above-mentioned device further includes: a generating module, configured to generate bright stripes before collecting an image generated by light rays projected on the target curved surface, wherein the generating module includes:
设置单元,用于在目标曲面前方设置间隔预设距离的两台预设光源。The setting unit is used for setting two preset light sources separated by a preset distance in front of the target surface.
调制单元,用于对两台预设光源的出射光线进行分束调制,使出射光线形成亮条纹。The modulation unit is used to perform beam splitting and modulation on the outgoing light of the two preset light sources, so that the outgoing light forms bright stripes.
由上可知,本申请上述装置通过设置单元在目标曲面前方设置间隔预设距离的两台预设光源,通过调制单元对两台预设光源的出射光线进行分束调制,使出射光线形成亮条纹。上述方案通过在目标曲面前方设置光源,并对光源进行分束调制,形成了用于获取目标点的图像。It can be seen from the above that the above-mentioned device of the present application sets two preset light sources separated by a preset distance in front of the target surface through the setting unit, and performs beam splitting and modulation on the outgoing light of the two preset light sources through the modulation unit, so that the outgoing light forms bright stripes . In the above solution, a light source is set in front of the target surface, and the light source is beam-splitting and modulated to form an image for acquiring the target point.
可选的,根据本申请上述实施例,第一获取模块52包括:Optionally, according to the foregoing embodiments of the present application, the first acquisition module 52 includes:
第一获取单元,用于对采集的图像取等间距直线,其中,直线与亮条纹相交。The first acquiring unit is configured to acquire equidistant straight lines on the acquired image, wherein the straight lines intersect the bright stripes.
第一确定单元,用于确定直线与亮条纹的交点为多个目标点。The first determination unit is configured to determine the intersection points of the straight line and the bright stripes as a plurality of target points.
可选的,根据本申请上述实施例,第二获取模块54包括:Optionally, according to the foregoing embodiments of the present application, the second obtaining module 54 includes:
第二确定单元,用于确定所述两台预设光源中第一光源1为原点,所述第一光源1与第二光源2的连线作为第一维度,确定在预设平面上与所述第一维度垂直的方向为第二维度,其中,所述预设平面为由所述两台预设光源与一待测的目标点确定的平面,所述待测的目标点对应于所述第二光源2发出的一亮条纹,所述待测的目标点对应于所述第二光源2发出的一亮条纹。The second determining unit is used to determine that the first light source 1 is the origin of the two preset light sources, and the connection line between the first light source 1 and the second light source 2 is used as the first dimension to determine the connection between the two preset light sources and the second light source. The direction perpendicular to the first dimension is the second dimension, wherein the preset plane is a plane determined by the two preset light sources and a target point to be measured, and the target point to be measured corresponds to the A bright fringe emitted by the second light source 2 , the target point to be measured corresponds to a bright fringe emitted by the second light source 2 .
建立单元,用于根据第一维度和第二维度建立坐标系;Establishing a unit for establishing a coordinate system according to the first dimension and the second dimension;
第二获取单元,用于在坐标系中选取与目标点两侧相邻的由第一光源1发出的两条亮条纹中的亮点作为两个第一辅助点,第二光源2与所述目标点的连线与两条辅助线的交点为两个第二辅助点,其中,两条辅助线为第一光源1与所述第一辅助点的连线;The second acquisition unit is used to select the bright spots in the two bright stripes emitted by the first light source 1 adjacent to both sides of the target point in the coordinate system as the two first auxiliary points, the second light source 2 and the target The intersections of the line connecting the points and the two auxiliary lines are two second auxiliary points, wherein the two auxiliary lines are the connecting lines between the first light source 1 and the first auxiliary points;
第三获取单元,用于根据第二辅助点的坐标值以及第一辅助点的距离的比例,获取目标点的坐标值。The third obtaining unit is configured to obtain the coordinate value of the target point according to the coordinate value of the second auxiliary point and the distance ratio of the first auxiliary point.
可选的,根据本申请上述实施例,上述装置还包括:Optionally, according to the above-mentioned embodiments of the present application, the above-mentioned device further includes:
确定模块,用于根据目标曲面确定目标曲面所属的飞艇副气囊的容积;A determination module is used to determine the volume of the airship auxiliary airbag to which the target surface belongs according to the target surface;
第三获取模块,用于获取预设的安全容积范围;The third obtaining module is used to obtain a preset safe volume range;
报警模块,用于在飞艇副气囊的容积不处于安全容积范围的情况下,发出报警信号。The alarm module is used to send an alarm signal when the volume of the airship auxiliary airbag is not within the safe volume range.
实施例3Example 3
根据实施例1提供的获取目标曲面的方法,本申请还提供了一种获取目标曲面的系统,图6是根据本发明实施例的一种获取目标曲面的系统的结构示意图,该装置包括:According to the method for obtaining a target curved surface provided in Embodiment 1, the present application also provides a system for obtaining a target curved surface. FIG. 6 is a schematic structural diagram of a system for obtaining a target curved surface according to an embodiment of the present invention. The device includes:
两台预设光源60,用于发出的出射光线。Two preset light sources 60 are used for emitting light.
具体的,上述目标曲面为需要监测的副气囊的表面,在上述步骤中,可以由相机来采集含有多个亮条纹的图像。Specifically, the above-mentioned target curved surface is the surface of the auxiliary airbag to be monitored, and in the above-mentioned steps, an image containing multiple bright stripes may be collected by the camera.
在一种可选的实施例中,上述多个亮条纹可以是对光源的出射光线进行分束调制得到,由于光源的出射光线经过分束调制会得到间隔排列的亮暗线,间隔排列的亮暗线会在副气囊避免构成多个亮条纹,再采用相机采集亮条纹构成的图像。In an optional embodiment, the above-mentioned plurality of bright stripes can be obtained by beam-splitting and modulating the outgoing light of the light source. Since the outgoing light of the light source is subjected to beam-splitting modulation, bright and dark lines arranged at intervals will be obtained, and bright and dark lines arranged at intervals will be obtained. It will avoid forming multiple bright stripes in the auxiliary airbag, and then use the camera to collect the image formed by the bright stripes.
图像采集设备62,用于采集由出射光线投射在目标曲面上而产生的图像,图像包括:亮条纹,目标曲面为副气囊的表面。The image acquisition device 62 is used to acquire an image generated by projecting the outgoing light on the target curved surface, the image includes: bright stripes, and the target curved surface is the surface of the auxiliary airbag.
具体的,上述目标点用于确定目标曲面。Specifically, the above target points are used to determine the target curved surface.
此处需要说明的是,亮条纹的间距不同,取目标点的密集程度也不一定相同,因此同一个目标曲面的监测精度也会受到亮条纹的间距以及取目标点的密集程度的影响,在取得的目标点较多的情况下,监测得到的目标曲面更精确,但由于目标点较多,计算量也较大,在取得的目标点较少的情况下,监测得到的目标曲面不够精确,但数据计算量较小,因此可以根据实际的监测要求来取得目标点。What needs to be explained here is that the spacing of the bright stripes is different, and the density of the target points is not necessarily the same. Therefore, the monitoring accuracy of the same target surface will also be affected by the spacing of the bright stripes and the density of the target points. When more target points are obtained, the target surface obtained by monitoring is more accurate. However, due to the large number of target points, the calculation amount is also large. In the case of few target points obtained, the target surface obtained by monitoring is not accurate enough. However, the amount of data calculation is small, so the target point can be obtained according to the actual monitoring requirements.
处理器64,与图像采集设备相连,用于从图像中的亮条纹上取多个目标点;获取多个目标点的坐标值,根据多个目标点的坐标值获取目标曲面;并根据目标曲面确定副气囊的容积。Processor 64, connected with the image acquisition device, used to take multiple target points from the bright stripes in the image; obtain the coordinate values of multiple target points, and obtain the target curved surface according to the coordinate values of the multiple target points; and according to the target curved surface Determine the volume of the auxiliary airbag.
在上述系统中,由于光源为预设的光源,因此光源与目标曲面的距离是已知的,在确定目标点之后,可以根据光源与目标曲面之间的距离关系,计算每个目标点的坐标值,在一种可选的实施例中,可以根据三维立体重构方法直接得到相似度较高的目标曲面。In the above system, since the light source is a preset light source, the distance between the light source and the target surface is known. After the target point is determined, the coordinates of each target point can be calculated according to the distance relationship between the light source and the target surface. In an optional embodiment, the target surface with high similarity can be directly obtained according to the three-dimensional reconstruction method.
此处需要说明的是,上述实施例提供的获取目标曲面的方法所适用的环境适应性较好、系统搭建简单、图像处理明了、成本低廉。除了应用于飞艇副气囊监控之外,还可以应用于制作双补光灯立体成像相机、暗室环境下的三维重构应用等。能够在这些场景中发挥三维重构、立体拍照、目标位置监测、立体成像重构的作用。What needs to be explained here is that the method for obtaining the target curved surface provided by the above-mentioned embodiments is suitable for environments with good adaptability, simple system construction, clear image processing, and low cost. In addition to being used in airship auxiliary airbag monitoring, it can also be used in the production of stereoscopic imaging cameras with dual fill lights, 3D reconstruction applications in darkroom environments, etc. It can play the role of three-dimensional reconstruction, stereo photography, target position monitoring, and stereo imaging reconstruction in these scenes.
由上可知,本申请上述系统通过预设光源发出的出射光线,通过图像采集设备采集由出射光线投射在目标曲面上而产生的图像,通过处理器与图像采集设备相连,从图像中的亮条纹上取多个目标点;获取多个目标点的坐标值,根据多个目标点的坐标值获取目标曲面;并根据目标曲面确定副气囊的容积。上述方案环境适用性强,使用过程中即使光源和相机的姿态发生较大的变化,也无需校准,并可以有效的监测出副气囊的状况,监测的精度也能满足实际需求。It can be seen from the above that the above-mentioned system of the present application uses the outgoing light emitted by the preset light source, and the image acquisition device collects the image generated by the outgoing light projected on the target surface, and is connected to the image acquisition device through the processor. From the bright stripes in the image Take multiple target points; obtain the coordinate values of multiple target points, and obtain the target surface according to the coordinate values of the multiple target points; and determine the volume of the auxiliary airbag according to the target surface. The above solution has strong environmental applicability. Even if the attitude of the light source and camera changes greatly during use, no calibration is required, and the status of the auxiliary airbag can be effectively monitored, and the monitoring accuracy can meet actual needs.
可选的,根据本申请上述实施例,上述系统还包括:预设光源为两台光源,设置于目标曲面前方,并与目标曲面间隔预设距离。Optionally, according to the above-mentioned embodiment of the present application, the above-mentioned system further includes: the preset light source is two light sources, arranged in front of the target curved surface, and separated from the target curved surface by a preset distance.
Claims (15)
- A kind of 1. method for obtaining target surface, which is characterized in that including:The image that acquisition is incident upon on target surface and is generated by light, described image include:Multiple bright fringes, wherein, it is described Light is the emergent ray that two default light sources are sent out, and is alternatively arranged respectively from the bright fringes of two default light sources;Multiple target points are taken from the bright fringes in described image;The coordinate value of the multiple target point is obtained, and the target surface is obtained according to the coordinate value of the multiple target point.
- 2. it according to the method described in claim 1, it is characterized in that, is incident upon on target surface and generated by light in acquisition Before image, the method further includes:The bright fringes is generated, wherein, the step of generating the bright fringes, includes:Two default light sources of setting interval pre-determined distance in front of the target surface;The emergent ray of default light source described to two is split modulation, and the emergent ray is made to form the multiple bright wisp Line.
- 3. according to the method described in claim 2, it is characterized in that, take multiple target points from the bright fringes in described image, Including:Equidistant straight line is taken to the described image of acquisition, wherein, the straight line intersects with the multiple bright fringes;The intersection point for determining the straight line and the bright fringes is the multiple target point.
- 4. according to the method described in claim 3, it is characterized in that, obtain the coordinate value of the multiple target point, including:Two default light sources are first light source and second light source, determine that first light source is original in two default light sources The line of point, the first light source and second light source be the first dimension, determine in preset plane with first dimension perpendicular Direction for the second dimension, wherein, the preset plane is what is determined by two default light sources and a target point to be measured Plane, the target point to be measured correspond to the bright fringes that the second light source is sent out;Coordinate system is established according to first dimension and second dimension;It chooses in a coordinate system bright in two bright fringes sent out by the first light source adjacent with the target point both sides For point as two the first auxiliary magnets, the second light source and the line of the target point and the intersection point of two articles of auxiliary lines are two the Two auxiliary magnets, wherein, two auxiliary lines are the first light source and the line of described two first auxiliary magnets;According to the coordinate value of described two second auxiliary magnets and described two first auxiliary magnets and the target point to be measured The proportionate relationship of distance obtains the coordinate value of the target point.
- 5. according to the method described in claim 4, it is characterized in that, according to the coordinate value of described two second auxiliary magnets and institute Two the first auxiliary magnets and the proportionate relationship of the distance of the target point to be measured are stated, obtain the coordinate value of the target point, packet It includes:Measure to obtain described two first auxiliary magnets to the ratio of the distance of the target point to be measured according to described image Example value;Using the ratio value of described two first auxiliary magnets to the distance of the target point to be measured as the described two second auxiliary It puts to the ratio value of the distance of the target point to be measured;According to the ratio of the coordinate value of described two second auxiliary magnets and described two second auxiliary magnets to the distance of the target point Example value, obtains the coordinate value of the target point to be measured.
- 6. method as claimed in any of claims 1 to 5, which is characterized in that the target surface is a dirigible The surface of balloonet.
- 7. according to the method described in claim 6, it is characterized in that, in the coordinate value for obtaining the multiple target point, and according to After the coordinate value of the multiple target point obtains the target surface, the method further includes:The volume of dirigible balloonet according to belonging to the target surface determines the target surface;Obtain preset safe volume range;In the case where the volume of the dirigible balloonet is not at the safe volume range, alarm signal is sent out.
- 8. the method according to the description of claim 7 is characterized in that two default light sources and the device for acquiring image It may be contained in the dirigible balloonet, the appearance of the dirigible balloonet according to belonging to the target surface determines the target surface Long-pending method includes:The curved surface is integrated using the distance of the target point on the curved surface to light source, obtains dirigible pair The internal capacity of air bag.
- 9. a kind of device for obtaining target surface, which is characterized in that including:Acquisition module, for acquiring the image for being incident upon on target surface and being generated by light, described image includes:Multiple bright wisps Line, wherein, the light is the emergent ray that two default light sources are sent out, respectively from the bright fringes of two default light sources It is alternatively arranged;First acquisition module, for taking multiple target points from the bright fringes in described image;Second acquisition module, for obtaining the coordinate value of the multiple target point, and according to the coordinate value of the multiple target point Obtain the target surface.
- 10. device according to claim 9, which is characterized in that described device further includes:Generation module, for acquiring Before the image for be incident upon on target surface and generated by light, the bright fringes is generated, wherein, the generation module includes:Setting unit, for two default light sources of the setting interval pre-determined distance in front of the target surface;Modulation unit, the emergent ray for default light source described to two are split modulation, form the emergent ray The bright fringes.
- 11. device according to claim 10, which is characterized in that first acquisition module includes:First acquisition unit takes equidistant straight line for the described image to acquisition, wherein, the straight line and the multiple bright wisp Line intersects;First determination unit, the intersection point for determining the straight line and the bright fringes is the multiple target point.
- 12. according to the devices described in claim 11, which is characterized in that two default light sources are first light source and the second light Source, second acquisition module include:Second determination unit, for determining in two default light sources that first light source is origin, the first light source and second The line of light source determines that in preset plane be the second dimension with the direction of first dimension perpendicular as the first dimension, In, the preset plane is the plane determined by two default light sources and a target point to be measured, the target to be measured Point corresponds to the bright fringes that the second light source is sent out, and the target point to be measured corresponds to one that the second light source is sent out Bright fringes;Unit is established, for establishing coordinate system according to first dimension and second dimension;Second acquisition unit is adjacent by the first light source with the target point both sides to be measured for choosing in a coordinate system Bright spot in two bright fringes sent out is as two the first auxiliary magnets, the line and two of the second light source and the target point The intersection point of auxiliary line is two the second auxiliary magnets, wherein, two auxiliary lines are the first light source and described first auxiliary Help line a little;Third acquiring unit, for the coordinate value according to second auxiliary magnet and first auxiliary magnet with it is described to be measured The ratio of the distance of target point obtains the coordinate value of the target point.
- 13. the device according to any one in claim 9 to 12, which is characterized in that described device further includes:Determining module, for the volume of the dirigible balloonet belonging to determining the target surface according to the target surface;Third acquisition module, for obtaining preset safe volume range;Alarm module in the case of being not at the safe volume range in the volume of the dirigible balloonet, sends out report Alert signal.
- 14. a kind of system for obtaining target surface, which is characterized in that including:Two default light sources, for the emergent ray sent out;Image capture device, for acquiring the image for being incident upon on target surface and being generated by the emergent ray, described image Including:Multiple bright fringes, the target surface are the surface of dirigible balloonet;Processor is connected with described image collecting device, for taking multiple target points from the bright fringes in described image;It obtains The coordinate value of the multiple target point obtains the target surface according to the coordinate value of the multiple target point;And according to described Target surface determines the volume of the dirigible balloonet.
- 15. system according to claim 14, which is characterized in that the system also includes:Two default light sources are set Be placed in front of the target surface, and with target surface interval pre-determined distance.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611187536.4A CN108205817B (en) | 2016-12-20 | 2016-12-20 | Method, device and system for obtaining target curved surface |
| PCT/CN2017/091951 WO2018113257A1 (en) | 2016-12-20 | 2017-07-06 | Technical field of method, device and system for acquiring target curved surface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611187536.4A CN108205817B (en) | 2016-12-20 | 2016-12-20 | Method, device and system for obtaining target curved surface |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108205817A true CN108205817A (en) | 2018-06-26 |
| CN108205817B CN108205817B (en) | 2021-11-09 |
Family
ID=62604309
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611187536.4A Expired - Fee Related CN108205817B (en) | 2016-12-20 | 2016-12-20 | Method, device and system for obtaining target curved surface |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108205817B (en) |
| WO (1) | WO2018113257A1 (en) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5175601A (en) * | 1991-10-15 | 1992-12-29 | Electro-Optical Information Systems | High-speed 3-D surface measurement surface inspection and reverse-CAD system |
| US6751344B1 (en) * | 1999-05-28 | 2004-06-15 | Champion Orthotic Investments, Inc. | Enhanced projector system for machine vision |
| KR20070066541A (en) * | 2005-12-22 | 2007-06-27 | 재단법인 포항산업과학연구원 | 3D displacement measurement device and method of structure through digital image processing |
| CN101561259A (en) * | 2009-04-21 | 2009-10-21 | 天津大学 | Phase controllable multi-frequency fiber interference fringe projection device |
| CN103018740A (en) * | 2012-07-19 | 2013-04-03 | 电子科技大学 | InSAR (Interferometric Synthetic Aperture Radar) imaging method based on curved surface projection |
| WO2013091016A1 (en) * | 2011-12-23 | 2013-06-27 | Canon Kabushiki Kaisha | Structured light system for robust geometry acquisition |
| CN104034261A (en) * | 2014-06-10 | 2014-09-10 | 深圳先进技术研究院 | Surface normal measurement device and method |
| CN105674909A (en) * | 2015-12-31 | 2016-06-15 | 天津市兆瑞测控技术有限公司 | A simple and high-precision two-dimensional profile measurement method |
-
2016
- 2016-12-20 CN CN201611187536.4A patent/CN108205817B/en not_active Expired - Fee Related
-
2017
- 2017-07-06 WO PCT/CN2017/091951 patent/WO2018113257A1/en not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5175601A (en) * | 1991-10-15 | 1992-12-29 | Electro-Optical Information Systems | High-speed 3-D surface measurement surface inspection and reverse-CAD system |
| US6751344B1 (en) * | 1999-05-28 | 2004-06-15 | Champion Orthotic Investments, Inc. | Enhanced projector system for machine vision |
| KR20070066541A (en) * | 2005-12-22 | 2007-06-27 | 재단법인 포항산업과학연구원 | 3D displacement measurement device and method of structure through digital image processing |
| CN101561259A (en) * | 2009-04-21 | 2009-10-21 | 天津大学 | Phase controllable multi-frequency fiber interference fringe projection device |
| WO2013091016A1 (en) * | 2011-12-23 | 2013-06-27 | Canon Kabushiki Kaisha | Structured light system for robust geometry acquisition |
| CN103018740A (en) * | 2012-07-19 | 2013-04-03 | 电子科技大学 | InSAR (Interferometric Synthetic Aperture Radar) imaging method based on curved surface projection |
| CN104034261A (en) * | 2014-06-10 | 2014-09-10 | 深圳先进技术研究院 | Surface normal measurement device and method |
| CN105674909A (en) * | 2015-12-31 | 2016-06-15 | 天津市兆瑞测控技术有限公司 | A simple and high-precision two-dimensional profile measurement method |
Non-Patent Citations (3)
| Title |
|---|
| 吴敖 等: "单图三维重构方法", 《计算机工程》 * |
| 张聪: "基于光纤干涉投射的物体表面三维形貌测量关键技术研究", 《中国优秀硕士学位论文全文数据库(电子期刊)》 * |
| 蒋波: "三维纹理轮廓机器视觉测量技术研究", 《中国优秀硕士学位论文全文数据库(电子期刊)》 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108205817B (en) | 2021-11-09 |
| WO2018113257A1 (en) | 2018-06-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10401143B2 (en) | Method for optically measuring three-dimensional coordinates and controlling a three-dimensional measuring device | |
| JP7059355B2 (en) | Equipment and methods for generating scene representations | |
| US20170292828A1 (en) | Method for optically measuring three-dimensional coordinates and calibration of a three-dimensional measuring device | |
| CN110728671B (en) | Vision-Based Dense Reconstruction Methods for Textureless Scenes | |
| CN106127745B (en) | The combined calibrating method and device of structure light 3 D vision system and line-scan digital camera | |
| CN102062578B (en) | Handheld optical target for measuring visual coordinate and measuring method thereof | |
| CN204346588U (en) | For non-contacting thermometric device and thermometry | |
| CN108474658B (en) | Ground form detection method and system, unmanned aerial vehicle landing method and unmanned aerial vehicle | |
| JP5633058B1 (en) | 3D measuring apparatus and 3D measuring method | |
| CN104335005A (en) | 3-D scanning and positioning system | |
| KR101273534B1 (en) | 3d projecting image auto calibration method | |
| CN105940674A (en) | Systems and methods for adjusting the baseline of an imaging system having a microlens array | |
| CN104567728A (en) | Laser vision profile measurement system, measurement method and three-dimensional target | |
| CN107995434A (en) | Image acquisition method, electronic device, and computer-readable storage medium | |
| CN106767526A (en) | A kind of colored multi-thread 3-d laser measurement method based on the projection of laser MEMS galvanometers | |
| US20150022659A1 (en) | Luminance measuring apparatus | |
| CN107393011A (en) | A kind of quick three-dimensional virtual fitting system and method based on multi-structured light vision technique | |
| WO2022048541A1 (en) | Binocular vision-based environment sensing method and apparatus, and unmanned aerial vehicle | |
| US20150189144A1 (en) | Information processing apparatus and method thereof | |
| WO2016040271A1 (en) | Method for optically measuring three-dimensional coordinates and controlling a three-dimensional measuring device | |
| CN116563370B (en) | Ranging and velocity measurement methods based on monocular computer vision | |
| BRPI0514755B1 (en) | METHOD FOR AUTOMATED 3D IMAGE FORMATION | |
| CN106170086A (en) | The method of drawing three-dimensional image and device, system | |
| CN109186942A (en) | The test parallelism detection method, apparatus and readable storage medium storing program for executing of structure light video camera head | |
| JP6381262B2 (en) | Information processing apparatus, information processing method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20230821 Address after: Room 501, Building D2, Songshan Lake International Innovation and Entrepreneurship Community, Songshan Lake High tech Industrial Development Zone, Dongguan City, Guangdong Province, 523000 Patentee after: Dongguan Dongguan Institute of Science and Technology Innovation Address before: 523000 Room 502, 5th floor, building 1, innovation and Technology Park, Songshanhu high tech Industrial Development Zone, Dongguan City, Guangdong Province Patentee before: DONGGUAN FRONTIER TECHNOLOGY INSTITUTE |
|
| TR01 | Transfer of patent right | ||
| EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20180626 Assignee: DONGGUAN CHUANGFENG TECHNOLOGY DEVELOPMENT Co.,Ltd. Assignor: Dongguan Dongguan Institute of Science and Technology Innovation Contract record no.: X2024980030416 Denomination of invention: Method, device, and system for obtaining target surfaces Granted publication date: 20211109 License type: Common License Record date: 20241129 Application publication date: 20180626 Assignee: Dongguan Yuzhihang Information Technology Co.,Ltd. Assignor: Dongguan Dongguan Institute of Science and Technology Innovation Contract record no.: X2024980028789 Denomination of invention: Method, device, and system for obtaining target surfaces Granted publication date: 20211109 License type: Common License Record date: 20241128 |
|
| EE01 | Entry into force of recordation of patent licensing contract | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20211109 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |