[go: up one dir, main page]

CN101619962B - Active three-dimensional panoramic view vision sensor based on full color panoramic view LED light source - Google Patents

Active three-dimensional panoramic view vision sensor based on full color panoramic view LED light source Download PDF

Info

Publication number
CN101619962B
CN101619962B CN 200910101326 CN200910101326A CN101619962B CN 101619962 B CN101619962 B CN 101619962B CN 200910101326 CN200910101326 CN 200910101326 CN 200910101326 A CN200910101326 A CN 200910101326A CN 101619962 B CN101619962 B CN 101619962B
Authority
CN
China
Prior art keywords
panoramic
light source
color
led light
vision sensor
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.)
Expired - Fee Related
Application number
CN 200910101326
Other languages
Chinese (zh)
Other versions
CN101619962A (en
Inventor
汤一平
俞立
汤晓燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
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
Application filed by Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN 200910101326 priority Critical patent/CN101619962B/en
Publication of CN101619962A publication Critical patent/CN101619962A/en
Application granted granted Critical
Publication of CN101619962B publication Critical patent/CN101619962B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units
    • G03B15/05Combinations of cameras with electronic flash apparatus; Electronic flash units
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B37/00Panoramic or wide-screen photography; Photographing extended surfaces, e.g. for surveying; Photographing internal surfaces, e.g. of pipe
    • G03B37/06Panoramic or wide-screen photography; Photographing extended surfaces, e.g. for surveying; Photographing internal surfaces, e.g. of pipe involving anamorphosis
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B2215/00Special procedures for taking photographs; Apparatus therefor
    • G03B2215/05Combinations of cameras with electronic flash units
    • G03B2215/0564Combinations of cameras with electronic flash units characterised by the type of light source
    • G03B2215/0567Solid-state light source, e.g. LED, laser
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B2215/00Special procedures for taking photographs; Apparatus therefor
    • G03B2215/05Combinations of cameras with electronic flash units
    • G03B2215/0564Combinations of cameras with electronic flash units characterised by the type of light source
    • G03B2215/0575Ring shaped lighting arrangements
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B2215/00Special procedures for taking photographs; Apparatus therefor
    • G03B2215/05Combinations of cameras with electronic flash units
    • G03B2215/0582Reflectors

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

The invention relates to an active three-dimensional panoramic view vision sensor based on a full color panoramic view LED light source, which comprises an omnibearing vision sensor, a panoramic view optical generator with a colorful structure and a microprocessor for performing three-dimensional shooting measurement on an omnibearing image. The omnibearing vision sensor and the panoramic view optical generator with the colorful structure are arranged on the same axial lead; the omnibearing vision sensor comprises an image unit and a hyperboloid catadioptric unit; the panoramic view optical generator with the colorful structure comprises an LED optical generator unit with a colorful structure and a hyperboloid catadioptric unit; a hyperboloid catadioptric mirror surface and a hyperboloid refraction mirror surface have same image parameters; and the microprocessor comprises an LED light source control unit, a video image reading module, a special information calculation module and a three-dimensional image reconstruction module. The active three-dimensional panoramic view vision sensor can reduce the calculation, quickly finish the measurement, and has good real-time property and strong practicability.

Description

基于全彩色全景LED光源的主动三维立体全景视觉传感器 Active three-dimensional panoramic vision sensor based on full-color panoramic LED light source

技术领域technical field

本发明涉及LED光源、光学技术以及计算机视觉技术在立体视觉测量方面的应用,尤其是一种主动三维立体全景视觉传感器。The invention relates to the application of LED light source, optical technology and computer vision technology in stereo vision measurement, in particular to an active three-dimensional stereo panorama vision sensor.

背景技术Background technique

基于计算机视觉的双目立体视觉三维测量与立体重构技术,是一门新兴的、极具发展潜力和实用价值的应用技术,可被广泛应用于工业检测、地理勘测、医学整容、骨科矫形、文物复制、刑侦取证、保安识别、机器人视觉、模具快速成型、礼品、虚拟现实、动画电影、游戏等许多应用领域。Binocular stereo vision 3D measurement and stereo reconstruction technology based on computer vision is an emerging application technology with great development potential and practical value, which can be widely used in industrial inspection, geographical survey, medical cosmetic surgery, orthopedic orthopedics, Reproduction of cultural relics, criminal investigation and evidence collection, security identification, robot vision, rapid prototyping of molds, gifts, virtual reality, animated films, games and many other application fields.

立体视觉的基本原理是从两个视点观察同一景物,以获取在不同视角下的感知图像,通过三角测量原理计算图像像素间的位置偏差、即视差,来获取景物的三维信息,这一过程与人类视觉的立体感知过程是类似的。The basic principle of stereo vision is to observe the same scene from two viewpoints to obtain perceptual images under different viewing angles, and calculate the position deviation between image pixels, that is, parallax, through the principle of triangulation to obtain the three-dimensional information of the scene. The stereoscopic perception process of human vision is similar.

立体视觉测量中的关键是要实现同一被测物体在不同角度观测的立体匹配,所谓的立体匹配是指根据对所选特征的计算,建立特征之间的对应关系,将同一个空间物理点在不同图像中的映像点对应起来。立体匹配是立体视觉中最重要也是最困难的问题。当空间三维场景被投影为二维图像时,同一景物在不同视点下的图像会有很大不同,而且场景中的诸多因素,如光照条件,景物几何形状和物理特性、噪声干扰和畸变以及摄像机特性等,都被综合成单一的图像中的灰度值。因此,要准确地对包含了如此之多不利因素的图像进行无歧义的匹配,显然是十分困难的,至今这个问题还没有得到很好的解决。立体匹配的有效性有赖于三个问题的解决,即:选择正确的匹配特征,寻找特征间的本质属性及建立能正确匹配所选择特征的稳定算法。The key in stereo vision measurement is to achieve stereo matching of the same measured object observed at different angles. The so-called stereo matching refers to establishing the correspondence between features based on the calculation of the selected features, and placing the same physical point in the same space Mapping points in different images are mapped. Stereo matching is the most important and difficult problem in stereo vision. When a spatial three-dimensional scene is projected into a two-dimensional image, the images of the same scene at different viewpoints will be very different, and many factors in the scene, such as lighting conditions, scene geometry and physical characteristics, noise interference and distortion, and camera Features, etc., are integrated into a single gray value in the image. Therefore, it is obviously very difficult to accurately match images containing so many unfavorable factors without ambiguity, and this problem has not been well solved so far. The effectiveness of stereo matching depends on the solution of three problems, namely: selecting the correct matching features, finding the essential properties between features and establishing a stable algorithm that can correctly match the selected features.

立体视觉测量是模仿人类利用双目线索感知距离的方法,实现对三维信息的感知,在实现上采用三角测量的方法,运用两个摄像机对同一物点从不同位置成像,并进而从视差中计算出距离。但是目前立体视觉的技术还无法达到全方位的实时感知,在摄像机标定、特征提取和立体图像匹配方面还没有得到很好的解决。Stereo vision measurement is a method of imitating the human perception of distance using binocular cues to realize the perception of three-dimensional information. The method of triangulation is used in the realization, using two cameras to image the same object point from different positions, and then calculate from the parallax out of distance. However, the current stereo vision technology is still unable to achieve all-round real-time perception, and has not been well resolved in terms of camera calibration, feature extraction and stereo image matching.

目前双目立体视觉测量系统的一个局限性是焦距固定,由于一个固定的焦距只能在一定景深范围内清晰拍摄图像,因而限制了测试区域;标定技术还没有很好解决,立体视觉测量系统在各种运动中变化参数是不可避免的,比如运输过程中的震动、工作冲击等的影响,而实际中又不可能总是放几张棋盘在“眼前”进行标定,因而限制了许多应用;双目立体视觉测量系统还没有实现小型化、微型化,使得在机器人、航模等领域的应用受到限制;计算量大,难以进行实时处理,因而限制了实时目标辨识等应用;双目视觉的对应点匹配歧异性大,造成了匹配的误差,影响了匹配精度。A limitation of the current binocular stereo vision measurement system is that the focal length is fixed. Since a fixed focal length can only clearly capture images within a certain depth of field, the test area is limited; the calibration technology has not been well solved, and the stereo vision measurement system is in the market. It is inevitable to change parameters in various sports, such as the impact of vibration during transportation, work shock, etc. In practice, it is impossible to always put a few chessboards in front of you for calibration, thus limiting many applications; The stereo vision measurement system has not yet achieved miniaturization and miniaturization, which limits the application in the fields of robots and aircraft models; the amount of calculation is large, and it is difficult to perform real-time processing, thus limiting applications such as real-time target recognition; the corresponding point of binocular vision The large matching discrepancies cause matching errors and affect the matching accuracy.

近年发展起来的全方位视觉传感器ODVS(OmniDirectionalVisionSensors)为实时获取场景的全景图像提供了一种新的解决方案。ODVS的特点是视野广(360度),能把一个半球视野中的信息压缩成一幅图像,一幅图像的信息量更大;获取一个场景图像时,ODVS在场景中的安放位置更加自由;监视环境时ODVS不用瞄准目标;检测和跟踪监视范围内的运动物体时算法更加简单;可以获得场景的实时图像。同时也为构建双目全方位视觉传感器的立体视觉测量系统提供了一个基本要素。Omni Directional Vision Sensors (ODVS), developed in recent years, provides a new solution for real-time acquisition of panoramic images of scenes. ODVS is characterized by a wide field of view (360 degrees), which can compress the information in a hemispheric field of view into one image, and the amount of information in one image is larger; when acquiring a scene image, the placement position of ODVS in the scene is more free; monitoring ODVS does not need to aim at the target in the environment; the algorithm is simpler when detecting and tracking moving objects within the monitoring range; real-time images of the scene can be obtained. At the same time, it also provides a basic element for constructing a stereo vision measurement system of a binocular omnidirectional vision sensor.

中国发明专利申请号为200510045648.1公开了一种全向立体视觉成像方法及装置,该专利中将一透视相机镜头的光轴和两反射镜面的共同对称轴重合放置,空间中的一点分别经两反射镜面反射后分别在所述透视相机的像平面成像于不同的两点,相当于两个相机成像;装置包括两个反射镜面、相机,所述相机镜头的光轴和两反射镜面的共同对称轴重合。这种方案的存在的问题是:1)由于一幅图像包括了的特征点“两幅”全向图像,允许的图像视差减小了一半,因此视觉系统的测量范围至少也减少了一半;2)上下两个反射镜面会出现遮挡,影响立体视觉范围;3)由于同一物体的特征点在上下两个反射镜面上经折反射后的成像点在一幅图像上离中心点的位置不同,上反射镜面的成像分辨率要比下反射镜面的成像分辨率高两倍以上;4)由于透视相机镜头存在的对焦问题,只能满足两个反射镜面中的某一个反射镜面为最佳焦距,因而必然会影响成像质量;5)两个反射镜面的焦点距离就是该系统的基线距,因而造成基线距过短,影响测量精度。Chinese invention patent application No. 200510045648.1 discloses an omnidirectional stereo vision imaging method and device. In this patent, the optical axis of a perspective camera lens and the common symmetry axis of the two reflecting mirrors are placed coincidentally, and a point in the space is respectively reflected by the two mirrors. After the specular reflection, the image plane of the perspective camera is imaged at two different points, which is equivalent to two camera imaging; the device includes two reflective mirrors, a camera, the optical axis of the camera lens and the common axis of symmetry of the two reflective mirrors coincide. The problems of this scheme are: 1) Since one image includes "two" omnidirectional images of feature points, the allowable image parallax is reduced by half, so the measurement range of the vision system is also reduced by at least half; 2 ) The upper and lower mirror surfaces will be blocked, which will affect the stereo vision range; 3) Since the imaging points of the feature points of the same object on the upper and lower mirror surfaces after catadioptric reflection are at different positions from the center point on an image, the upper and lower The imaging resolution of the reflective mirror surface is more than twice as high as that of the lower reflective mirror surface; 4) Due to the focusing problem of the perspective camera lens, only one of the two reflective mirror surfaces can be satisfied as the best focal length, so It will inevitably affect the imaging quality; 5) The focal distance of the two mirrors is the baseline distance of the system, thus causing the baseline distance to be too short and affecting the measurement accuracy.

中国发明专利申请号为200810062128.5公开了一种基于双目全方位视觉传感器的立体视觉测量装置,该专利中组成立体视觉测量装置的两个ODVS采用了平均角分辨率设计,采集图像的两个摄像机的参数完全一致,具有极好的对称性,能实现快速的点与点的匹配,从而达到立体视觉测量的目的。但是从完成点对点匹配到立体测量仍需要较大的计算资源,要实现实时在线的立体测量以及三维立体重构仍然存在着一些“病态”计算问题。The Chinese Invention Patent Application No. 200810062128.5 discloses a stereo vision measurement device based on a binocular omnidirectional vision sensor. In this patent, the two ODVSs that make up the stereo vision measurement device adopt an average angular resolution design, and the two cameras that collect images The parameters are exactly the same, with excellent symmetry, and can realize fast point-to-point matching, so as to achieve the purpose of stereo vision measurement. However, large computing resources are still required from point-to-point matching to stereo measurement, and there are still some "sick" computing problems in order to realize real-time online stereo measurement and 3D stereo reconstruction.

上述所介绍的三维立体视觉测量技术中最大难题是被动式的立体摄像测量中普遍存在的计算机资源消耗大、实时性能差、实用性不强、鲁棒性不高。通常解决该问题的一种有效的方法是采用结构光主动视觉技术,如点结构光、线结构光扫描法以及编码结构光法等。然而这些方法必须使用精密标定装置事先标定有关参数,而且它们只能适用于特定的场合,要做到在线实时标定或不标定重构三维场景,难度很大,有时甚至不可能。同时针对全方位视觉需要有一种全景的彩色光编码技术来支持。The biggest problem in the 3D stereo vision measurement technology introduced above is the large consumption of computer resources, poor real-time performance, poor practicability, and low robustness commonly found in passive stereo camera measurement. An effective way to solve this problem is to use structured light active vision technology, such as point structured light, line structured light scanning method and coded structured light method. However, these methods must use precision calibration devices to calibrate the relevant parameters in advance, and they can only be applied to specific occasions. It is very difficult, sometimes even impossible, to achieve online real-time calibration or reconstruction of 3D scenes without calibration. At the same time, a panoramic color light coding technology is required to support omnidirectional vision.

LED光源的出现为实现全景的彩色光编码技术提供了技术基础,使用超高亮度功率型红、绿、蓝三基色LED,可制成结构紧凑发光效率比传统白炽灯光源高的多的数字式调色调光光源,配合计算机控制技术,可得到极其丰富多彩的发光效果。The emergence of LED light sources provides a technical basis for the realization of panoramic color light coding technology. Using ultra-high-brightness power red, green, and blue three-primary color LEDs, it can be made into a digital light source with a compact structure and much higher luminous efficiency than traditional incandescent light sources. Adjusting the dimming light source, combined with computer control technology, can get extremely colorful lighting effects.

LED,发光二极管又叫光发射二极管,英文名为Light Emitting Diode,是一种可将电能变为光能的一种半导体器件,属于固态光源。LED光源具有以下几个优点:(1)光色纯:LED是分立的光谱,谱线狭窄,色彩丰富,鲜艳,可以有多样化的色调选择和配光;(2)光束集中:LED发光大部分集中会聚于中心,发散角小,发射光角在10°~100°,发光均匀性好,可以减少眩光,减化全景的彩色光编码器的结构;(3)小型化:LED是用环氧树脂封装固态光源,其结构既不像白炽灯有玻璃泡、灯丝等易损坏部件,也不像荧光灯有体积大的灯管和附件,它是一种全固体结构,因此能经得起震动、冲击而不至损坏,而且体积也相对减小,重量也轻,应用灵活,可在狭小空间投光,利于集成在全方位视觉传感器内;每个单元LED小片是3-5mm的正方形,所以可以制备成符合全景彩色结构光器形状的器件;(4)响应速度快:LED灯响应时间短,可瞬间启动,反复开关,可灵活控制,加上时序控制电路可实现多种动、闪、跳的灯光变幻。LED发光的响应时间为纳秒级,荧光灯一般为毫秒级:(5)效能高:消耗能量比同光效的白炽灯减少80%,可以省去散热部分的设计;(6)颜色丰富:改变电流可以变色,发光二极管方便地通过化学修饰方法,调整材料的能带结构和带隙,实现红黄绿兰橙多色发光;通过设计可以覆盖整个可见光和红外光;(7)超长寿命:LED元件的寿命非常长,理论上可达到50000小时之久,是投影灯泡的十倍,如果每天使用5小时计算,LED光源可以使用10年以上,而且频繁的开关,也不会影响到使用寿命;(8)亮度衰减小:LED的发光指向性非常强,亮度衰减比传统光源低很多,在使用2000小时之后,其衰退率不超过5%。因此,利用LED器件的这些优点来实现一种全景的彩色光编码器,为主动三维立体全景视觉传感器提供一种主动全景结构光源。LED, light-emitting diode, also known as light-emitting diode, English name is Light Emitting Diode, is a semiconductor device that can convert electrical energy into light energy, and belongs to solid-state light source. LED light source has the following advantages: (1) Pure light color: LED is a discrete spectrum with narrow spectral lines, rich and bright colors, and can have a variety of color tone selection and light distribution; (2) Concentrated beam: LED emits large Parts are concentrated in the center, the divergence angle is small, the emission angle is 10°~100°, the uniformity of light emission is good, it can reduce glare, and reduce the structure of the color light encoder of the panorama; (3) miniaturization: LED is a ring Oxygen resin encapsulated solid-state light source, its structure is neither like incandescent lamps with glass bulbs, filaments and other fragile parts, nor fluorescent lamps with bulky tubes and accessories, it is an all-solid structure, so it can withstand vibration , impact without damage, and the volume is relatively small, light weight, flexible application, can cast light in a small space, which is conducive to integration in the omnidirectional visual sensor; each unit LED chip is a square of 3-5mm, so It can be prepared into a device that conforms to the shape of a panoramic color structured light device; (4) Fast response speed: LED lights have a short response time, can be started instantly, switched on and off repeatedly, and can be flexibly controlled. Jumping lights change. The response time of LED lighting is nanoseconds, and fluorescent lamps are generally milliseconds: (5) High efficiency: energy consumption is 80% lower than that of incandescent lamps with the same light efficiency, which can save the design of heat dissipation part; (6) Rich colors: change The current can change color, and the light-emitting diode can easily adjust the energy band structure and band gap of the material through chemical modification methods to achieve red, yellow, green, blue and orange multi-color light emission; through the design, it can cover the entire visible light and infrared light; (7) Ultra-long life: LED components The lifespan is very long, theoretically up to 50,000 hours, which is ten times longer than that of projection bulbs. If it is used for 5 hours a day, the LED light source can be used for more than 10 years, and frequent switching will not affect the service life;( 8) Small brightness attenuation: LED has very strong luminous directivity, and its brightness attenuation is much lower than that of traditional light sources. After 2000 hours of use, its decay rate does not exceed 5%. Therefore, these advantages of the LED device are used to realize a panoramic color light encoder, and provide an active panoramic structured light source for an active three-dimensional panoramic vision sensor.

发明内容Contents of the invention

为了克服已有的立体视觉测量装置的计算机资源消耗大、实时性能差、实用性不强、鲁棒性不高等不足,本发明提供一种能够减少计算机资源消耗、快速完成测量、实时性好、实用性强、鲁棒性高的主动三维立体全景视觉传感器。In order to overcome the disadvantages of the existing stereo vision measurement devices, such as high consumption of computer resources, poor real-time performance, poor practicability, and low robustness, the present invention provides a device that can reduce the consumption of computer resources, quickly complete the measurement, and has good real-time performance. An active three-dimensional panoramic vision sensor with strong practicability and high robustness.

本发明解决其技术问题所采用的技术方案是:The technical solution adopted by the present invention to solve its technical problems is:

一种基于全彩色全景LED光源的主动三维立体全景视觉传感器,包括全方位视觉传感器、全景彩色结构光发生器以及用于对全方位图像进行三维立体摄像测量的微处理器,所述全方位视觉传感器与所述全景彩色结构光发生器配置在同一根轴心线上;An active three-dimensional panoramic vision sensor based on a full-color panoramic LED light source, including an omnidirectional vision sensor, a panoramic color structured light generator, and a microprocessor for performing three-dimensional camera measurements on omnidirectional images. The sensor is arranged on the same axis as the panoramic color structured light generator;

所述全方位视觉传感器包括第一双曲面镜、第一上盖、第一透明半圆形外罩、第一下固定座、第一摄像单元固定座、摄像单元、第一连接单元和上罩;所述的第一双曲面镜固定在所述的第一上盖上,所述的第一连接单元将所述的第一下固定座和第一透明半圆形外罩连接成一体,所述的第一透明半圆形外罩与所述的第一上盖以及所述的上罩固定在一起,所述的摄像单元固定在所述的第一摄像单元固定座上,所述的第一摄像单元固定座固定在所述的第一下固定座上,所述全方位视觉传感器中的摄像单元的输出与所述微处理器连接;The omnidirectional visual sensor includes a first hyperboloid mirror, a first upper cover, a first transparent semicircular outer cover, a first lower fixing seat, a first camera unit fixing seat, a camera unit, a first connecting unit and an upper cover; The first hyperboloid mirror is fixed on the first upper cover, the first connection unit connects the first lower fixing seat and the first transparent semicircular outer cover into one body, and the The first transparent semicircular outer cover is fixed together with the first upper cover and the upper cover, the camera unit is fixed on the fixing base of the first camera unit, and the first camera unit The fixing seat is fixed on the first lower fixing seat, and the output of the camera unit in the omnidirectional vision sensor is connected with the microprocessor;

所述全景彩色结构光发生器包括第二双曲面镜、第二上盖、第二透明半圆形外罩、第二下固定座、第二连接单元和LED光源;所述的第二双曲面镜固定在所述的第二上盖上,所述的第二连接单元将所述的第二下固定座和第二透明半圆形外罩连接成一体,所述的第二透明半圆形外罩与所述的第二上盖通过螺钉固定在一起,所述的LED光源固定在所述的第二连接单元上;The panoramic color structured light generator includes a second hyperboloid mirror, a second upper cover, a second transparent semicircular cover, a second lower fixing seat, a second connection unit and an LED light source; the second hyperboloid mirror fixed on the second upper cover, the second connecting unit connects the second lower fixing seat and the second transparent semicircular cover into one body, and the second transparent semicircular cover is connected with the second transparent semicircular cover The second upper cover is fixed together by screws, and the LED light source is fixed on the second connection unit;

所述第二双曲面镜和第一双曲面镜具有相同的成像参数;The second hyperboloid mirror and the first hyperboloid mirror have the same imaging parameters;

所述微处理器包括:The microprocessor includes:

LED光源控制单元、视频图像读取单元、空间信息计算单元、三维图像重构单元和存储设备;LED light source control unit, video image reading unit, spatial information calculation unit, 3D image reconstruction unit and storage device;

LED光源控制单元,用于控制全景彩色光编码发生器发出全彩色全景结构光,在LED光源控制单元使LED光源的供电电源处于ON状态时,在全方位视觉传感器的成像单元中直接获得空间某物点的深度和方位角度信息;在LED光源控制单元使LED光源的供电电源处于OFF状态时,在全方位视觉传感器的成像单元中直接获得空间某物点的实际色彩信息;实际LED光源的供电电源开关控制采用电子开关来实现;The LED light source control unit is used to control the panoramic color light coding generator to emit full-color panoramic structured light. When the LED light source control unit makes the power supply of the LED light source in the ON state, the imaging unit of the omnidirectional visual sensor can directly obtain a certain space. The depth and azimuth angle information of the object point; when the LED light source control unit makes the power supply of the LED light source in the OFF state, the actual color information of a certain object point in space is directly obtained in the imaging unit of the omnidirectional visual sensor; the power supply of the actual LED light source The power switch control is realized by electronic switch;

视频图像读取模块,用于读取全方位视觉传感器的视频图像,并保存在所述的存储设备中,其输出与所述的空间信息计算模块连接;在LED光源的供电电源处于ON状态时所读取的全景视频图像中的各像素色彩带有某物点的深度和方位角度信息;在LED光源的供电电源处于OFF状态时所读取的全景视频图像中的各像素色彩带有某物点的实际色彩信息;The video image reading module is used to read the video image of the omnidirectional visual sensor, and save it in the storage device, and its output is connected to the spatial information calculation module; when the power supply of the LED light source is in the ON state The color of each pixel in the read panoramic video image has the depth and azimuth angle information of a certain point; when the power supply of the LED light source is in the OFF state, the color of each pixel in the read panoramic video image contains The actual color information of the point;

空间信息计算模块,用于计算空间上的物点到立体视觉测量装置中心点的距离及入射角,分别计算空间物点与全方位视觉传感器的实焦点Om的距离R1、空间物点与全景彩色结构光调制单元的实焦点Op的距离R2、空间物点与中央眼的距离R以及空间物点的入射角φ;其输出与三维图像重构模块连接;The spatial information calculation module is used to calculate the distance and incident angle from the object point in space to the center point of the stereo vision measuring device, and calculate the distance R1 between the object point in space and the real focal point Om of the omnidirectional visual sensor, the object point in space and the panorama The distance R2 of the real focus Op of the color structured light modulation unit, the distance R between the space object point and the central eye, and the incident angle φ of the space object point; its output is connected to the three-dimensional image reconstruction module;

三维图像重构模块,用于将在全方位视觉传感器中所获取的全景图像进行柱状展开运算,展开图中横坐标表示方位角,纵坐标表示入射角;在展开全方位图像时需要将该中心部分的图像单独分离出来,然后对全方位图像进行展开,展开算法中水平方向的计算步长为,Δβ=2π/l,式中l为水平展开幅度;垂直方向的计算步长为Δm=(αo-maxo-min)/m;式中,αo-max为全景原图最大有效半径Rmax对应的场景光线入射角,αo-min为全景原图最小有效半径Rmin对应的场景光线入射角;The three-dimensional image reconstruction module is used to carry out columnar expansion operation on the panoramic image acquired in the omnidirectional vision sensor. Part of the image is separated separately, and then the omni-directional image is expanded. The calculation step size in the horizontal direction in the expansion algorithm is Δβ=2π/l, where l is the horizontal expansion range; the calculation step size in the vertical direction is Δm=( α o-maxo-min )/m; where α o-max is the scene light incident angle corresponding to the maximum effective radius Rmax of the original panoramic image, and α o-min is the scene corresponding to the minimum effective radius Rmin of the original panoramic image angle of incidence of light;

与用极坐标表示的全景原图中的原像点A(Φ,β)对应的球面展开方式中的A点坐标分别为:The coordinates of point A in the spherical expansion mode corresponding to the original image point A (Φ, β) in the original panorama image represented by polar coordinates are:

x=β/Δβ,y=(αoo-min)/Δm         (8)x=β/Δβ, y=(α oo-min )/Δm (8)

式中:Δβ为水平方向的计算步长,β为方位角,Δm为垂直方向的计算步长,αo全景原图有效半径R对应的场景光线入射角,αo-min为全景原图最小有效半径Rmin对应的场景光线入射角;In the formula: Δβ is the calculation step in the horizontal direction, β is the azimuth angle, Δm is the calculation step in the vertical direction, α o is the scene light incident angle corresponding to the effective radius R of the original panorama image, and α o-min is the minimum of the original panorama image The scene light incident angle corresponding to the effective radius Rmin;

在对全景图像进行柱状展开时,针对LED光源的供电电源处于ON/OFF两种状态会产生两种不同的柱状展开图;当LED光源的供电电源处于ON的状态时,在柱状展开图上带有全景彩色结构光所照射全景视频图像;当LED光源的供电电源处于OFF的状态时,在柱状展开图上自然光所投射的全景视频图像。When performing columnar expansion on a panoramic image, two different columnar expansion diagrams will be generated for the power supply of the LED light source in the ON/OFF state; when the power supply of the LED light source is in the ON state, the columnar expansion diagram with There are panoramic video images illuminated by panoramic color structured light; when the power supply of the LED light source is OFF, the panoramic video images projected by natural light on the columnar expansion diagram.

作为优选的一种方案:所述的LED光源是由多组不同中心波长的LED所组成,每个LED的发散角选择在10°,所述的LED光源的基板是一个圆形平板,每个LED均固定在该圆形平板上;不同中心波长的LED是以中心波长小到大从所述的圆形平板的内径到外径进行排列,同一中心波长的LED配置在所述的圆形平板的同一直径上;每个LED都正对着所述的第二双曲面镜。As a preferred solution: the LED light source is composed of multiple groups of LEDs with different center wavelengths, the divergence angle of each LED is selected at 10°, the substrate of the LED light source is a circular flat plate, each LEDs are all fixed on the circular plate; LEDs with different central wavelengths are arranged from the inner diameter to the outer diameter of the circular plate from small to large central wavelengths, and LEDs with the same central wavelength are arranged on the circular plate On the same diameter; each LED is facing the second hyperbolic mirror.

进一步,对全彩色全景LED光源采用分时控制技术,通过电子开关来控制全景彩色结构光发生器的发光或者不发光,在LED光源控制单元使LED光源的供电电源处于ON状态时,在全方位视觉传感器的成像单元中直接获得空间某物点的深度和方位角度信息;在LED光源控制单元使LED光源的供电电源处于OFF状态时,在全方位视觉传感器的成像单元中直接获得空间某物点的实际色彩信息。Further, the time-sharing control technology is adopted for the full-color panoramic LED light source, and the panoramic color structured light generator is controlled to emit light or not to emit light through an electronic switch. When the LED light source control unit makes the power supply of the LED light source in the ON state, The imaging unit of the visual sensor directly obtains the depth and azimuth angle information of a certain point in space; when the LED light source control unit turns off the power supply of the LED light source, the imaging unit of the omnidirectional visual sensor directly obtains a certain point in space of the actual color information.

更进一步,所述的第一双曲面镜和第二双曲面镜构成的光学系统由下面5个等式表示;Further, the optical system formed by the first hyperboloid mirror and the second hyperboloid mirror is represented by the following 5 equations;

((X2+Y2)/a2)-((Z-c)2/b2)=-1    当Z>0时      (1)((X 2 +Y 2 )/a 2 )-((Zc) 2 /b 2 )=-1 When Z>0 (1)

cc == aa 22 ++ bb 22 -- -- -- (( 22 ))

β=tan-1(Y/X)                                (3)β=tan -1 (Y/X) (3)

α=tan-1[(b2+c2)sinγ-2bc]/(b2+c2)cosγ      (4)α=tan -1 [(b 2 +c 2 )sinγ-2bc]/(b 2 +c 2 )cosγ (4)

γγ == tanthe tan -- 11 [[ ff // (( xx 22 ++ ythe y 22 )) ]] -- -- -- (( 55 ))

式中X、Y、Z表示空间坐标,c表示双曲面镜的焦点,2c表示两个焦点之间的距离,a,b分别是双曲面镜的实轴和虚轴的长度,β表示入射光线在XY投影平面上与X轴的夹角,即方位角,α表示入射光线在XZ投影平面上与X轴的夹角,这里将α称为入射角,α大于或等于0时称为俯角,将α小于0时称为仰角,f表示成像平面到双曲面镜的虚焦点的距离,γ表示折反射光线与Z轴的夹角x,y表示在成像平面上的一个点。In the formula, X, Y, and Z represent the space coordinates, c represents the focal point of the hyperbolic mirror, 2c represents the distance between the two focal points, a, b are the lengths of the real axis and imaginary axis of the hyperbolic mirror, respectively, and β represents the incident light The angle between the X-axis and the X-axis on the XY projection plane is the azimuth angle. α represents the angle between the incident light and the X-axis on the XZ projection plane. Here, α is called the incident angle, and when α is greater than or equal to 0, it is called the depression angle. When α is less than 0, it is called the elevation angle, f represents the distance from the imaging plane to the virtual focus of the hyperbolic mirror, γ represents the angle x between the refraction light and the Z axis, and y represents a point on the imaging plane.

作为优选的再一种方案:所述全方位视觉传感器与所述全景彩色结构光发生器之间采用背靠背型连接,所述全方位视觉传感器的第一上盖与所述全景彩色结构光发生器的第二上盖连接;将两个具有同一参数的双曲面镜面的凹面对着凹面。As another preferred solution: a back-to-back connection is adopted between the omnidirectional vision sensor and the panoramic color structured light generator, and the first upper cover of the omnidirectional vision sensor is connected to the panoramic color structured light generator. The second upper cover connection; the concave surface of two hyperbolic mirrors with the same parameters face the concave surface.

或者是:所述全方位视觉传感器与所述全景彩色结构光发生器之间采用面对面连接,将所述全景彩色结构光发生器的第二连接单元和所述全方位视觉传感器的第一连接单元通过螺钉进行连接。Alternatively, a face-to-face connection is adopted between the omnidirectional visual sensor and the panoramic color structured light generator, and the second connecting unit of the panoramic color structured light generator is connected to the first connecting unit of the omnidirectional visual sensor. The connection is made by screws.

又或者是:所述全方位视觉传感器与所述全景彩色结构光发生器之间采用面对背连接方式,将所述全景彩色结构光发生器的第二上盖与所述全方位视觉传感器的第一连接单元连接;将两个具有同一参数的双曲面镜面的凸面对着凹面,其中凸面是全方位视觉传感器的第一双曲面镜,凹面是全景彩色结构光发生器的第二双曲面镜。Alternatively, a face-to-back connection is adopted between the omnidirectional visual sensor and the panoramic color structured light generator, and the second upper cover of the panoramic color structured light generator is connected to the omnidirectional visual sensor. The first connection unit is connected; the convex surface of two hyperboloid mirrors with the same parameter faces the concave surface, wherein the convex surface is the first hyperbolic mirror of the omnidirectional vision sensor, and the concave surface is the second hyperbolic surface of the panoramic color structured light generator mirror.

再或者是:所述全方位视觉传感器与所述全景彩色结构光发生器之间采用背对面连接方式,将所述全方位视觉传感器的第一上盖与所述全景彩色结构光发生器的第二连接单元连接;将两个具有同一参数的双曲面镜面的凹面对着凸面,其中凹面是全方位视觉传感器的第一双曲面镜,凸面是全景彩色结构光发生器的第二双曲面镜。Alternatively, the omnidirectional vision sensor and the panoramic color structured light generator are connected in a back-to-face manner, and the first upper cover of the omnidirectional vision sensor is connected to the first upper cover of the panoramic color structured light generator. Two connection units are connected; the concave surface of two hyperboloid mirrors with the same parameter faces the convex surface, wherein the concave surface is the first hyperbolic mirror of the omnidirectional vision sensor, and the convex surface is the second hyperbolic mirror of the panoramic color structured light generator .

进一步,所述的空间信息计算模块包括折射角αp计算单元、入射角αo计算单元和距离计算单元;其中,Further, the spatial information calculation module includes a refraction angle α p calculation unit, an incident angle α o calculation unit and a distance calculation unit; wherein,

折射角αp计算单元,用于利用全景彩色结构光发生器的折射角αp与LED器件所发射出的光波长之间具有一定的函数关系来计算的,当LED光源的供电电源处于ON状态时,成像平面上的像素的色彩分量与折射角αp存在一一对应关系,利用该关系来得到折射角αpThe refraction angle α p calculation unit is used to calculate the refraction angle α p of the panoramic color structured light generator and the wavelength of light emitted by the LED device. When the power supply of the LED light source is in the ON state When , there is a one-to-one correspondence between the color components of the pixels on the imaging plane and the refraction angle α p , and use this relationship to obtain the refraction angle α p ;

入射角αo计算模块,用于利用全方位视觉传感器的入射角αo与折反射角γo之间存在着公式(9)所示的函数关系,The incident angle α o calculation module is used to utilize the functional relationship shown in the formula (9) between the incident angle α o and the refraction angle γ o of the omnidirectional visual sensor,

αo=tan-1[(b2+c2)sinγo-2bc]/(b2+c2)cosγo    (9)α o =tan −1 [(b 2 +c 2 )sinγ o −2bc]/(b 2 +c 2 )cosγ o (9)

折反射角γo与成像平面上的一个点(x,y)存在着公式(10)所示的函数关系,There is a functional relationship between the refraction angle γ o and a point (x, y) on the imaging plane as shown in formula (10),

γγ == tanthe tan -- 11 [[ ff // (( xx 22 ++ ythe y 22 )) ]] -- -- -- (( 1010 ))

通过公式(9)和(10)可得到成像平面上的一个点(x,y)与入射角αo之间的函数关系;The functional relationship between a point (x, y) on the imaging plane and the angle of incidence α o can be obtained by formulas (9) and (10);

距离计算单元,用于利用公式(11)~(14)分别计算空间物点与全方位视觉传感器的实焦点Om的距离R1、空间物点与全景彩色结构光发送单元的实焦点Op的距离R2、空间物点与中央眼的距离R以及空间物点的入射角φ,The distance calculation unit is used to calculate the distance R1 between the space object point and the real focus O m of the omnidirectional visual sensor, and the distance R1 between the space object point and the real focus O p of the panoramic color structured light sending unit by using formulas (11) to (14). The distance R2, the distance R between the space object point and the central eye, and the incident angle φ of the space object point,

RR 11 == Oo mm AA ‾‾ == coscos (( αα oo )) sinsin (( αα oo ++ αα pp )) BB -- -- -- (( 1111 ))

RR 22 == Oo pp AA ‾‾ == coscos (( αα pp )) sinsin (( αα oo ++ αα pp )) BB -- -- -- (( 1212 ))

RR == OAOA ‾‾ == RR 22 22 ++ (( BB // 22 )) 22 -- 22 RR 22 (( BB // 22 )) coscos (( αα pp ++ 9090 ))

== BB [[ coscos (( αα pp )) sinsin (( αα oo ++ αα pp )) ]] 22 ++ 0.250.25 ++ coscos (( αα pp )) sinsin (( αα oo ++ αα pp )) sinsin (( αα pp )) -- -- -- (( 1313 ))

φφ == arcsinarcsin [[ BB 22 RR coscos (( αα oo )) ]] -- -- -- (( 1414 ))

式中:B为基线距,αo为入射角,αp为折射角,R1为物点A与全方位视觉传感器的实焦点Om的距离,R2为物点A与全景彩色结构光发生器的实焦点Op的距离,R为物点A与中央眼的距离,φ为空间物点相对于中央眼的入射角。In the formula: B is the baseline distance, α o is the angle of incidence, α p is the refraction angle, R1 is the distance between the object point A and the real focus O m of the omnidirectional vision sensor, R2 is the distance between the object point A and the panoramic color structured light generator The distance of the real focal point Op of , R is the distance between the object point A and the central eye, and φ is the incident angle of the spatial object point relative to the central eye.

再进一步,在所述的空间信息计算模块中,设置一张光编码表来实现某一光波长λ与某一折射角αp之间存在的映射关系,一张入射角计算表来实现某一个点的坐标数据与该点所对应的入射角αo之间存在的映射关系,折射角αp、入射角αo计算采用查表方式实现;首先按全方位视觉传感器的成像平面的点坐标顺序读取某一个点的波长λ值,以点坐标值检索入射角计算表得到该点所对应的入射角αo,接着以该点的光波长λ值检索光编码表得到该光波长λ所对应的折射角αp;最后利用公式(11)或者公式(12)或者公式(13)计算得到空间上某一点的距离信息。Further, in the spatial information calculation module, an optical encoding table is set to realize the mapping relationship between a certain light wavelength λ and a certain refraction angle α p , and an incident angle calculation table is used to realize a certain The mapping relationship between the coordinate data of a point and the incident angle α o corresponding to the point, the calculation of the refraction angle α p and the incident angle α o is realized by looking up the table; first, according to the order of the point coordinates of the imaging plane of the omnidirectional vision sensor Read the wavelength λ value of a certain point, use the point coordinate value to retrieve the incident angle calculation table to obtain the incident angle α o corresponding to the point, and then use the light wavelength λ value of the point to search the optical code table to obtain the corresponding light wavelength λ The refraction angle α p of ; finally, the distance information of a certain point in space is calculated by formula (11) or formula (12) or formula (13).

本发明的技术构思为:要实现上述发明内容,必须要解决两个核心问题:(1)实现一种全景的彩色光编码器,能为主动三维立体全景视觉传感器提供一种主动全景结构光源;(2)实现一种能获得与实际物体一一对应的景物深度和色彩对应图的全景视觉传感器。The technical idea of the present invention is: to realize the content of the above invention, two core problems must be solved: (1) realize a panoramic color light encoder, which can provide an active panoramic structured light source for the active three-dimensional panoramic vision sensor; (2) Realize a panoramic vision sensor capable of obtaining a scene depth and color map corresponding to an actual object one by one.

实现一种全景的彩色光编码器主要是要通过一种能产生全景的彩色光编码技术来实现的,使得在一个二维的全景视频图像的每一个像素点本身都带有景物的深度信息,通过该技术能提高图像空间的信号源质量从而解决立体视觉测量中的快速匹配问题;要实现主动三维立体全景视觉传感,需要开发出一种能获得与实际物体一一对应的景物深度和色彩对应图的全景视觉传感器,通过集成全景彩色结构光发生器和全方位视觉传感器来构建一种主动立体全景视觉传感器,实现在全景视觉传感器的成像平面上的任何像素单元都具有景物深度、方位和色彩信息,最终实现用一幅全景图像来直接感知、表达与重构三维全景场景。The realization of a panoramic color light encoder is mainly achieved through a color light encoding technology that can generate a panoramic view, so that each pixel in a two-dimensional panoramic video image itself has the depth information of the scene, This technology can improve the quality of the signal source in the image space to solve the problem of fast matching in stereo vision measurement; to realize active three-dimensional stereo panoramic vision sensing, it is necessary to develop a method that can obtain the depth and color of the scene corresponding to the actual object one-to-one. Corresponding to the panoramic vision sensor of the figure, an active stereoscopic panoramic vision sensor is constructed by integrating a panoramic color structured light generator and an omnidirectional vision sensor, so that any pixel unit on the imaging plane of the panoramic vision sensor has the depth, orientation and Color information, and ultimately achieve a panoramic image to directly perceive, express and reconstruct a 3D panoramic scene.

全方位视觉传感器的工作原理是:进入双曲面镜的中心的光,根据双曲面的镜面特性向着其虚焦点折射。实物图像经双曲面镜反射到聚光透镜中成像,在该成像平面上的一个点P(x,y)对应着实物在空间上的一个点的坐标A(X,Y,Z);The working principle of the omnidirectional vision sensor is: the light entering the center of the hyperboloid mirror is refracted toward its virtual focus according to the specular characteristics of the hyperboloid. The image of the real object is reflected by the hyperboloid mirror into the condenser lens for imaging, and a point P (x, y) on the imaging plane corresponds to the coordinate A (X, Y, Z) of a point of the real object in space;

图7中的2-1-双曲线面镜,12-入射光线,13-双曲面镜的实焦点Om(0,0,c),14-双曲面镜的虚焦点,即摄像单元6的中心Oc(0,0,-c),15-反射光线,16-成像平面,17-实物图像的空间坐标A(X,Y,Z),18-入射到双曲面镜面上的图像的空间坐标,19-反射在成像平面上的点P(x,y)。2-1-hyperbolic mirror in Fig. 7, 12-incident light, the real focal point Om(0,0,c) of 13-hyperbolic mirror, the imaginary focal point of 14-hyperbolic mirror, i.e. the center of camera unit 6 Oc(0,0,-c), 15-reflected light, 16-imaging plane, 17-space coordinates A(X, Y, Z) of the real object image, 18-space coordinates of the image incident on the hyperboloid mirror surface, 19 - Point P(x,y) reflected on the imaging plane.

图7中所示的双曲面镜构成的光学系统可以由下面5个等式表示;The optical system that the hyperboloid mirror shown in Fig. 7 constitutes can be expressed by following 5 equations;

((X2+Y2)/a2)-((Z-c)2/b2)=-1            当Z>0时       (1)((X 2 +Y 2 )/a 2 )-((Zc) 2 /b 2 )=-1 When Z>0 (1)

cc == aa 22 ++ bb 22 -- -- -- (( 22 ))

β=tan-1(Y/X)                                         (3)β=tan -1 (Y/X) (3)

α=tan-1[(b2+c2)sinγ-2bc]/(b2+c2)cosγ               (4)α=tan -1 [(b 2 +c 2 )sinγ-2bc]/(b 2 +c 2 )cosγ (4)

γγ == tanthe tan -- 11 [[ ff // (( xx 22 ++ ythe y 22 )) ]] -- -- -- (( 55 ))

式中X、Y、Z表示空间坐标,c表示双曲面镜的焦点,2c表示两个焦点之间的距离,a,b分别是双曲面镜的实轴和虚轴的长度,β表示入射光线在XY投影平面上与X轴的夹角,即方位角,α表示入射光线在XZ投影平面上与X轴的夹角,这里将α称为入射角,α大于或等于0时称为俯角,将α小于0时称为仰角,f表示成像平面到双曲面镜的虚焦点的距离,γ表示折反射光线与Z轴的夹角;x,y表示在成像平面上的一个点;In the formula, X, Y, and Z represent the space coordinates, c represents the focal point of the hyperbolic mirror, 2c represents the distance between the two focal points, a, b are the lengths of the real axis and imaginary axis of the hyperbolic mirror, respectively, and β represents the incident light The angle between the X-axis and the X-axis on the XY projection plane is the azimuth angle. α represents the angle between the incident light and the X-axis on the XZ projection plane. Here, α is called the incident angle, and when α is greater than or equal to 0, it is called the depression angle. When α is less than 0, it is called the elevation angle, f represents the distance from the imaging plane to the virtual focus of the hyperbolic mirror, and γ represents the angle between the refraction light and the Z axis; x, y represent a point on the imaging plane;

为了获得比较大的立体视觉范围,在所述的双曲面镜面2设计时需要尽可能加大双曲面镜面的仰角,采用减小双曲面镜的实轴a和虚轴b的比来加大双曲面镜面的仰角,设计时需根据立体视觉的范围、双曲面镜的直径大小来选择一个适当的实轴a和虚轴b的比,最大仰角极限是双曲线的渐进线与X轴的夹角;In order to obtain a relatively large stereoscopic vision range, it is necessary to increase the elevation angle of the hyperboloid mirror as much as possible during the design of the hyperboloid mirror 2, and to increase the ratio of the real axis a and the imaginary axis b of the hyperboloid mirror to increase the hyperboloid For the elevation angle of the curved mirror surface, an appropriate ratio between the real axis a and the imaginary axis b should be selected according to the range of stereoscopic vision and the diameter of the hyperboloid mirror. The maximum elevation angle limit is the angle between the asymptotic line of the hyperbola and the X axis ;

全景彩色结构光发生器的工作原理是:LED光源9的基板是一个圆形平板,每个LED均固定在该圆形平板上,如附图5所示;不同中心波长的LED是以中心波长小到大从所述的圆形平板的内径到外径进行排列,同一中心波长的LED配置在所述的圆形平板的同一直径上,每个LED的发散角选择在10°左右,每个LED都正对着所述第二双曲面镜面2-2;在LED光源的供电电源处于ON状态时,每个LED都发射出各自中心波长的光,这些特定波长的光经过第二双曲面镜面2-2折反射,由于双曲面镜面具有单视点的功能,所有折反射光的光线均经过双曲面镜面的实焦点Om向外折反射,这样就在整个半球面上产生了一圈圈的彩色结构光,且每种波长的光都对应着第二双曲面镜面2-2上的某个折射角αpThe working principle of the panoramic color structured light generator is: the substrate of the LED light source 9 is a circular plate, and each LED is fixed on the circular plate, as shown in Figure 5; LEDs with different central wavelengths are based on the central wavelength Arrange from the inner diameter to the outer diameter of the circular plate from small to large, LEDs with the same central wavelength are arranged on the same diameter of the circular plate, the divergence angle of each LED is selected at about 10°, each The LEDs are all facing the second hyperboloid mirror 2-2; when the power supply of the LED light source is in the ON state, each LED emits the light of its own center wavelength, and the light of these specific wavelengths passes through the second hyperboloid mirror 2-2 catadioptric reflection, because the hyperboloid mirror surface has the function of a single viewpoint, all the rays of refracted light are refracted and reflected outwards through the real focus O m of the hyperboloid mirror surface, thus producing circles of circles on the entire hemispherical surface Color structured light, and each wavelength of light corresponds to a certain refraction angle α p on the second hyperbolic mirror surface 2-2;

基于全彩色全景LED光源的主动三维立体全景视觉传感器的工作原理是:从安置在全景彩色结构光发生器的第二双曲面镜面2-2正对面处的LED光源9,在LED光源的供电电源处于ON状态时,LED光源9发射出从园中心到园外径的一圈圈的峰值波长依次增长的彩色光,这些一圈圈彩色光投射到全景彩色结构光发生器的第二双曲面镜面2-2上后,以第二双曲面镜面2-2的实焦点为中心向外四周折射,在水平方向360°形成了呈双曲线函数关系变化的一圈圈的峰值波长的折反射光,空间上的一个点A(X,Y,Z)接受到一定波长的光,该光点继续向全方位视觉传感器的双曲面镜2-1反射,光线朝向全方位视觉传感器的双曲面镜2-1的实焦点,根据双曲面的镜面特性向着全方位视觉传感器的虚焦点14折反射,图7所示;反映实物图像的各具有一定波长的光点经全方位视觉传感器的双曲面镜2-1反射到聚光透镜中成像,在该成像平面上的一个点P(x,y)对应着实物在空间上的一个点的坐标A(X,Y,Z),光路图如图6中的粗实线所示;实际上通过两个同一的双曲面镜面以及LED光源9的共同作用使得在原有立体摄像测量中的特征选取、图像匹配步骤进行简化,通过两个同一参数的双曲面镜面以及LED光源9的共同作用确定了空间上的一个点A(X,Y,Z)在成像平面上点P(x,y)的入射角和方位角,即称为确定空间上的点A(X,Y,Z)的约束条件;这是因为由于全景彩色结构光发生器与全方位视觉传感器具有两个相同参数的双曲面镜,且两个相同参数的双曲面镜在同一个轴心线上,因此确定点A(X,Y,Z)的方位角是非常容易的,关于发射角可以通过LED光源9所确定的光线波长来确定,关于入射角可以通过成像平面上点P(x,y)来确定,这样就确定了点A(X,Y,Z)与观察点的空间位置关系;The operating principle of the active three-dimensional panoramic vision sensor based on the full-color panoramic LED light source is: from the LED light source 9 directly opposite to the second hyperboloid mirror 2-2 of the panoramic color structured light generator, the power supply of the LED light source When in the ON state, the LED light source 9 emits circles of colored light with successively increasing peak wavelengths from the center of the garden to the outer diameter of the circle, and these circles of colored light are projected onto the second hyperbolic mirror surface of the panoramic color structured light generator After 2-2 is on, the real focal point of the second hyperboloid mirror surface 2-2 is refracted around the center, and 360° in the horizontal direction forms a circle of refracted light with a peak wavelength that changes in a hyperbolic function relationship. A point A (X, Y, Z) in space receives light of a certain wavelength, the light point continues to reflect to the hyperbolic mirror 2-1 of the omnidirectional vision sensor, and the light is directed towards the hyperboloid mirror 2-1 of the omnidirectional vision sensor The real focal point of 1, according to the specular characteristic of hyperboloid toward the virtual focal point 14 refractions of omnidirectional vision sensor, as shown in Figure 7; Each light spot with certain wavelength that reflects physical image passes through the hyperboloid mirror 2 of omnidirectional visual sensor 1 is reflected into the condenser lens for imaging, and a point P (x, y) on the imaging plane corresponds to the coordinates A (X, Y, Z) of a point in space of the real object. The light path diagram is shown in Figure 6 As shown in the thick solid line; in fact, the feature selection and image matching steps in the original stereo camera measurement are simplified through the joint action of two identical hyperboloid mirror surfaces and the LED light source 9, through two hyperboloid mirror surfaces with the same parameters and The joint effect of LED light sources 9 determines the incidence angle and azimuth angle of a point A (X, Y, Z) on the imaging plane point P (x, y) on the space, which is called the point A (X) on the determined space. , Y, Z) constraints; this is because the panoramic color structured light generator and the omnidirectional vision sensor have two hyperboloid mirrors with the same parameters, and the two hyperboloid mirrors with the same parameters are on the same axis , so it is very easy to determine the azimuth angle of point A (X, Y, Z). Regarding the emission angle, it can be determined by the light wavelength determined by the LED light source 9. Regarding the incident angle, it can be determined by the point P(x, y) on the imaging plane. ) to determine, so that the spatial position relationship between the point A (X, Y, Z) and the observation point is determined;

本发明中采用“中央眼”视觉方式来描述空间上某一物点A的信息(R,φ,β,r,g,b,t),所谓的中央眼是立体视觉基线距的中点,是通过全方位视觉传感器和全景彩色结构光发送器的视点之间的连线中心点来算得到,这里将中央眼的坐标作为高斯球面坐标的原点O,如图8所示;空间上某一物点A的信息(R,φ,β,r,g,b,t)中的R用公式(13)的计算结果设置,φ用公式(14)的计算结果设置,β用公式(3)的计算结果设置,r,g,b分别用当LED光源的供电电源处于OFF状态时全方位视觉传感器的成像平面上该像素点的实际色彩分量值设置,t用微处理器的时钟进行设置;这样空间上的任何点的信息都能用(R,φ,β,r,g,b,t)7个分量值进行表达,如附图9所示。In the present invention, the "central eye" visual mode is used to describe the information (R, φ, β, r, g, b, t) of a certain object point A in space. The so-called central eye is the midpoint of the stereoscopic vision baseline distance, It is calculated by the center point of the line between the omnidirectional vision sensor and the viewpoint of the panoramic color structured light transmitter. Here, the coordinates of the central eye are taken as the origin O of the Gaussian spherical coordinates, as shown in Figure 8; In the information (R, φ, β, r, g, b, t) of object point A, R is set by the calculation result of formula (13), φ is set by the calculation result of formula (14), and β is set by formula (3) The calculation result setting of r, g, b are respectively set with the actual color component value of the pixel on the imaging plane of the omnidirectional vision sensor when the power supply of the LED light source is in OFF state, and t is set with the clock of the microprocessor; In this way, the information of any point in space can be expressed by (R, φ, β, r, g, b, t) 7 component values, as shown in Fig. 9 .

本发明的有益效果主要表现在:The beneficial effects of the present invention are mainly manifested in:

1)、获取实时的全景立体视频图像,跟踪的监控物体不会出现丢失,采用大仰角的双曲面镜的全景立体视频设计,解决了大空间内的快速移动目标对象的实时跟踪提供了完整的理论体系和模型;1) Obtain real-time panoramic stereoscopic video images, and the tracked monitoring objects will not be lost. The panoramic stereoscopic video design of the hyperboloid mirror with a large elevation angle solves the real-time tracking of fast-moving target objects in a large space and provides a complete solution Theoretical systems and models;

2)、提供了一种全新的立体视觉获取方法,通过主动的全景彩色结构光发生、基于双曲面镜的彩色光发射的技术和基于双曲面镜折反射的全方位成像技术,实现了快速的全景立体摄像测量;2) Provide a brand-new stereo vision acquisition method, through active panoramic color structured light generation, color light emission technology based on hyperboloid mirror and omni-directional imaging technology based on hyperboloid mirror catadioptric reflection, to achieve fast Panoramic stereo camera measurement;

3)、不再需要繁琐的摄像机标定工作、特征提取、立体图像匹配等步骤,为快速全景立体摄像测量提供了一种新的手段;3) No need for cumbersome camera calibration work, feature extraction, stereo image matching and other steps, providing a new method for fast panoramic stereo camera measurement;

4)、通过全景彩色结构光发生器所生成的全景立体图像本身具有立体感和距离感;4) The panoramic stereo image generated by the panoramic color structured light generator itself has a sense of three-dimensionality and distance;

5)、充分利用了LED光色纯和光束集中的优点,构成全景彩色结构光发生器的每个LED都具有分立的光谱,谱线狭窄,色彩丰富,鲜艳,LED发光大部分集中会聚于中心,发散角小,为准确立体摄像测量提供了一种高分辨率的、高清晰的彩色投影装置;5) Making full use of the advantages of pure light color and concentrated beam of LED light, each LED that constitutes the panoramic color structured light generator has a separate spectrum with narrow spectral lines, rich and bright colors, and most of the LED light is concentrated in the center , the divergence angle is small, and it provides a high-resolution, high-definition color projection device for accurate stereoscopic camera measurement;

6)、充分利用了LED的响应速度快和效能高的特点,通过对LED供电电源的控制,在一个成像芯片不但能获得全景范围内空间物点的深度距离信息,而且也能获得空间物点的色彩信息,同时发光效率高不需要任何散热装置;6), making full use of the characteristics of fast response and high efficiency of the LED, through the control of the LED power supply, not only the depth and distance information of the spatial object point within the panoramic range can be obtained in one imaging chip, but also the spatial object point can be obtained Color information, while high luminous efficiency does not require any cooling device;

7)、作为主动光源,LED具有小型化、轻量化、超长寿命和亮度衰减小等优点,在便携、可靠、使用寿命、维护成本等性能指标上具有明显的优势;7) As an active light source, LED has the advantages of miniaturization, light weight, super long life and low brightness attenuation, and has obvious advantages in performance indicators such as portability, reliability, service life, and maintenance cost;

8)、采用同一极球面坐标处理手段,可利用数字几何的计算方法能容易实现三维图像重构和三维物体测量。可广泛的应用于各种工业检测、地理勘测、医学整容、骨科矫形、文物复制、刑侦取证、保安识别、机器人视觉、模具快速成型、礼品、虚拟现实、人体测量、动画电影、游戏等许多应用领域。8) Using the same polar spherical coordinate processing method, the calculation method of digital geometry can be used to easily realize three-dimensional image reconstruction and three-dimensional object measurement. It can be widely used in various industrial inspections, geographic surveys, medical cosmetic surgery, orthopedic orthopedics, cultural relics reproduction, criminal investigation and evidence collection, security identification, robot vision, mold rapid prototyping, gifts, virtual reality, anthropometry, animation films, games and many other applications field.

附图说明Description of drawings

图1为一种全方位视觉传感器的结构图;Fig. 1 is a structural diagram of an omnidirectional vision sensor;

图2为一种全景彩色结构光发生器的结构图;Fig. 2 is a structural diagram of a panoramic color structured light generator;

图3为一种面对面型的基于全彩色全景LED光源的主动三维立体全景视觉传感器的原理图;Fig. 3 is a schematic diagram of a face-to-face active three-dimensional panoramic vision sensor based on a full-color panoramic LED light source;

图4为一种面对面型的基于全彩色全景LED光源的主动三维立体全景视觉传感器的立体测量范围示意图;Fig. 4 is a schematic diagram of the stereo measurement range of a face-to-face active three-dimensional stereo panoramic vision sensor based on a full-color panoramic LED light source;

图5为全景彩色结构光发生器的发光原理示意图;Fig. 5 is a schematic diagram of the light emitting principle of the panoramic color structured light generator;

图6为背靠背型的基于全彩色全景LED光源的主动三维立体全景视觉传感器的处理结构框图;Fig. 6 is the block diagram of the processing structure of the active three-dimensional panoramic vision sensor based on the full-color panoramic LED light source of the back-to-back type;

图7为全方位视觉传感器的成像原理图;Fig. 7 is the imaging principle diagram of omnidirectional vision sensor;

图8为高斯球面坐标与三维直角坐标之间的关系示意图;Fig. 8 is a schematic diagram of the relationship between Gaussian spherical coordinates and three-dimensional Cartesian coordinates;

图9为双目视觉中的中央眼的概念图;Fig. 9 is a conceptual diagram of the central eye in binocular vision;

图10为面对背型主动三维立体全景视觉传感器的双曲面镜的配置图;Fig. 10 is the configuration diagram of the hyperboloid mirror facing the back-type active three-dimensional panoramic vision sensor;

图11为面对面型主动三维立体全景视觉传感器的双曲面镜的配置图;Fig. 11 is the configuration diagram of the hyperbolic mirror of the face-to-face active three-dimensional panoramic vision sensor;

图12为背靠背型主动三维立体全景视觉传感器的双曲面镜的配置图;Fig. 12 is the configuration diagram of the hyperbolic mirror of the back-to-back active three-dimensional panoramic vision sensor;

图13为背对面型主动三维立体全景视觉传感器的双曲面镜的配置图;Fig. 13 is the configuration diagram of the hyperbolic mirror of the back-to-face active three-dimensional panoramic vision sensor;

图14为一种面对面型的基于全彩色全景LED光源的主动三维立体全景视觉传感器的立体摄像测量的原理图;Fig. 14 is a schematic diagram of a face-to-face stereo camera measurement of an active three-dimensional stereo panoramic vision sensor based on a full-color panoramic LED light source;

图15为全方位视觉传感器和全景彩色结构光发生器具有相同极平面的示意图。Fig. 15 is a schematic diagram of the omnidirectional vision sensor and the panoramic color structured light generator having the same polar plane.

具体实施方式Detailed ways

下面结合附图对本发明作进一步描述。The present invention will be further described below in conjunction with the accompanying drawings.

实施例1Example 1

参照图1~5,图7~9、图11、图14~15,一种基于全彩色全景LED光源的主动三维立体全景视觉传感器,包括全方位视觉传感器、全景彩色结构光发生器以及用于对全方位图像进行三维立体摄像测量的微处理器,所述全方位视觉传感器与所述全景彩色结构光发生器配置在同一根轴心线上;所述全方位视觉传感器包括第一双曲面镜面2-1、第一上盖1-1、第一透明半圆形外罩3-1、第一下固定座4-1、摄像单元固定座5-1、摄像单元6、第一连接单元7-1、上罩8,如附图1所示;所述的第一双曲面镜面2-1固定在所述的第一上盖1-1上,所述的第一连接单元7-1将所述的第一下固定座4-1和第一透明半圆形外罩3-1连接成一体,所述的第一透明半圆形外罩3-1与所述的第一上盖1-1以及所述的上罩8通过螺钉固定在一起,所述的摄像单元6用螺钉固定在所述的摄像单元固定座5-1上,所述的摄像单元固定座5-1用螺钉固定在所述的第一下固定座4-1上,所述全方位视觉传感器中的所述的摄像单元6的输出与所述微处理器连接;所述全景彩色结构光发生器包括第二双曲面镜面2-2、第二上盖1-2、第二透明半圆形外罩3-2、第二下固定座4-2、第二连接单元7-2、LED光源9,如附图2所示;所述的第二双曲面镜面2-2固定在所述的第二上盖1-2上,所述的第二连接单元7-2将所述的第二下固定座4-2和第二透明半圆形外罩3-2连接成一体,所述的第二透明半圆形外罩3-2与所述的第二上盖1-2通过螺钉固定在一起,所述的LED光源9固定在所述的第二连接单元7-2上;所述第二双曲面镜面2-2和第一双曲面镜面2-1具有相同的成像参数;所述全景彩色结构光发生器和所述全方位视觉传感器通过螺钉进行连接,如附图3所示;Referring to Figures 1 to 5, Figures 7 to 9, Figures 11, and Figures 14 to 15, an active three-dimensional panoramic vision sensor based on a full-color panoramic LED light source includes an omnidirectional vision sensor, a panoramic color structured light generator, and a A microprocessor for three-dimensional camera measurement of omnidirectional images, the omnidirectional visual sensor and the panoramic color structured light generator are arranged on the same axis; the omnidirectional visual sensor includes a first hyperbolic mirror surface 2-1, the first upper cover 1-1, the first transparent semicircular cover 3-1, the first lower fixing seat 4-1, the camera unit fixing seat 5-1, the camera unit 6, the first connection unit 7- 1. Upper cover 8, as shown in Figure 1; the first hyperboloid mirror 2-1 is fixed on the first upper cover 1-1, and the first connection unit 7-1 connects the first The first lower fixing seat 4-1 and the first transparent semicircular cover 3-1 are connected into one body, and the first transparent semicircular cover 3-1 is connected with the first upper cover 1-1 and The upper cover 8 is fixed together by screws, the camera unit 6 is fixed on the camera unit fixing seat 5-1 with screws, and the camera unit fixing seat 5-1 is fixed on the camera unit fixing seat 5-1 with screws. On the first lower fixing seat 4-1, the output of the camera unit 6 in the omnidirectional vision sensor is connected to the microprocessor; the panoramic color structured light generator includes a second hyperboloid mirror surface 2 -2. The second upper cover 1-2, the second transparent semicircular cover 3-2, the second lower fixing seat 4-2, the second connecting unit 7-2, and the LED light source 9, as shown in Figure 2; The second hyperboloid mirror surface 2-2 is fixed on the second upper cover 1-2, and the second connecting unit 7-2 connects the second lower fixing base 4-2 and the second The transparent semicircular cover 3-2 is connected as a whole, the second transparent semicircular cover 3-2 and the second upper cover 1-2 are fixed together by screws, and the LED light source 9 is fixed on On the second connecting unit 7-2; the second hyperboloid mirror 2-2 and the first hyperboloid mirror 2-1 have the same imaging parameters; the panoramic color structured light generator and the omnidirectional The vision sensor is connected by screws, as shown in Figure 3;

所述的LED光源9是由几组不同中心波长的LED所组成,每个LED的发散角选择在10°左右,LED光源9的基板是一个圆形平板,每个LED均固定在该圆形平板上,如附图5所示;不同中心波长的LED是以中心波长小到大从所述的圆形平板的内径到外径进行排列,同一中心波长的LED配置在所述的圆形平板的同一直径上;每个LED都正对着所述第二双曲面镜面2-2,这样每个LED所发出的特定波长的光经过第二双曲面镜面2-2折反射,由于双曲面镜面具有单视点的功能,所有折反射光的光线均经过双曲面镜面的实焦点Om向外折反射,这样就在整个半球面上产生了一圈圈的彩色结构光,这就是全景彩色结构光发生器的发光原理;所形成的彩色结构光与所述全景彩色结构光发生器的折射角αp之间具有一定的函数关系,因此只要得到某一个光的波长就可以估算出全景彩色结构光发生器的折射角αp;附图5中是经第二双曲面镜面2-2折反射后在整个半球面上产生的一圈圈的彩色结构光示意图,从第二双曲面镜面2-2的实焦点Om来讲,所产生的一圈圈的彩色结构光是以较短的波长到较长的波长从折射角αp的俯角到折射角αp的仰角连续变化的;The LED light source 9 is composed of several groups of LEDs with different central wavelengths, the divergence angle of each LED is selected at about 10°, the substrate of the LED light source 9 is a circular flat plate, and each LED is fixed on the circular plate. On the flat plate, as shown in Figure 5; LEDs with different central wavelengths are arranged from the inner diameter to the outer diameter of the circular flat plate from small to large central wavelengths, and LEDs with the same central wavelength are arranged on the circular flat plate on the same diameter; each LED is facing the second hyperboloid mirror 2-2, so that the light of a specific wavelength emitted by each LED is refracted and reflected by the second hyperboloid mirror 2-2, due to the hyperboloid mirror With the function of a single viewpoint, all light rays of refraction and reflection are refracted and reflected outward by the real focus O m of the hyperboloid mirror surface, so that circles of colored structured light are produced on the entire hemispherical surface, which is panoramic colored structured light The light emitting principle of the generator; there is a certain functional relationship between the formed colored structured light and the refraction angle αp of the panoramic colored structured light generator, so as long as the wavelength of a certain light is obtained, the occurrence of panoramic colored structured light can be estimated. The refraction angle αp of device; Accompanying drawing 5 is the schematic diagram of the colored structured light that produces circles on the whole hemispherical surface after the refraction and reflection of the second hyperboloid mirror surface 2-2, from the second hyperboloid mirror surface 2-2 For the focal point O m , the circles of colored structured light produced continuously change from the depression angle of the refraction angle αp to the elevation angle of the refraction angle αp from the shorter wavelength to the longer wavelength;

所述的双曲面镜面,双曲面镜构成的光学系统由下面5个等式表示;Described hyperboloid mirror surface, the optical system that hyperboloid mirror forms is represented by following 5 equations;

((X2+Y2)/a2)-((Z-c)2/b2)=-1           当Z>0时         (1)((X 2 +Y 2 )/a 2 )-((Zc) 2 /b 2 )=-1 When Z>0 (1)

cc == aa 22 ++ bb 22 -- -- -- (( 22 ))

β=tan-1(Y/X)                                          (3)β=tan -1 (Y/X) (3)

α=tan-1[(b2+c2)sinγ-2bc]/(b2+c2)cosγ                (4)α=tan -1 [(b 2 +c 2 )sinγ-2bc]/(b 2 +c 2 )cosγ (4)

γγ == tanthe tan -- 11 [[ ff // (( xx 22 ++ ythe y 22 )) ]] -- -- -- (( 55 ))

式中X、Y、Z表示空间坐标,c表示双曲面镜的焦点,2c表示两个焦点之间的距离,a,b分别是双曲面镜的实轴和虚轴的长度,β表示入射光线在XY投影平面上与X轴的夹角,即方位角,α表示入射光线在XZ投影平面上与X轴的夹角,这里将α称为入射角,α大于或等于0时称为俯角,将α小于0时称为仰角,f表示成像平面到双曲面镜的虚焦点的距离,γ表示折反射光线与Z轴的夹角;x,y表示在成像平面上的一个点。In the formula, X, Y, and Z represent the space coordinates, c represents the focal point of the hyperbolic mirror, 2c represents the distance between the two focal points, a, b are the lengths of the real axis and imaginary axis of the hyperbolic mirror, respectively, and β represents the incident light The angle between the X-axis and the X-axis on the XY projection plane is the azimuth angle. α represents the angle between the incident light and the X-axis on the XZ projection plane. Here, α is called the incident angle, and when α is greater than or equal to 0, it is called the depression angle. When α is less than 0, it is called the elevation angle, f represents the distance from the imaging plane to the virtual focus of the hyperbolic mirror, γ represents the angle between the refraction light and the Z axis; x, y represent a point on the imaging plane.

进一步,所述全方位视觉传感器与所述全景彩色结构光发生器之间采用面对面型连接,如附图3、附图4和附图11所示,所述全景彩色结构光发生器的第二连接单元7-2和所述全方位视觉传感器的第一连接单元7-1通过螺钉进行连接;Further, a face-to-face connection is adopted between the omnidirectional vision sensor and the panoramic color structured light generator, as shown in accompanying drawings 3, 4 and 11, the second of the panoramic color structured light generator The connection unit 7-2 is connected with the first connection unit 7-1 of the omnidirectional vision sensor by screws;

根据全景彩色结构光发生器的发光原理,这时某一波长光的波长与折射角αp成一一对应关系,换句话说,该波长光的波长确定了从全景彩色结构光发生器的视点Op的极线方向,由于本发明中全方位视觉传感器的镜面与全景彩色结构光发生器的镜面采用相同的参数,并将两个镜面的轴线配置在同一轴心线上,如附图15所示,这种结构方式能保证某一波长光的波长在全景彩色结构光发生器镜面上的折射与在全方位视觉传感器镜面上的折反射必定在同一极平面上,即具有相同的方位角,因此通过这种结构简化了双目立体视觉中的极线匹配难题。According to the luminescence principle of the panoramic color structured light generator, the wavelength of a certain wavelength of light has a one-to-one correspondence with the refraction angle αp. In other words, the wavelength of this wavelength of light determines the viewpoint Op of the panoramic color structured light generator. The polar direction of the polar line, because the mirror surface of the omnidirectional visual sensor and the mirror surface of the panoramic color structured light generator adopt the same parameters in the present invention, and the axes of the two mirror surfaces are arranged on the same axis line, as shown in Figure 15 , this structure can ensure that the refraction of a certain wavelength of light on the mirror surface of the panoramic color structured light generator and the refraction and reflection on the mirror surface of the omnidirectional vision sensor must be on the same polar plane, that is, have the same azimuth angle, so This structure simplifies the epipolar line matching problem in binocular stereo vision.

具有某一特定波长的点将在全方位视觉传感器的成像平面上有一个对应点,即P(x,y),根据双曲面镜的折反射成像原理可通过公式(6)计算出该点的折反射光线与Z轴的夹角γo;有了折反射角γo,就可以通过公式(7)计算得到具有某一特定波长的点的入射角αo,A point with a specific wavelength will have a corresponding point on the imaging plane of the omnidirectional vision sensor, that is, P(x, y). According to the catadioptric imaging principle of the hyperbolic mirror, the The angle γo between the refraction light and the Z axis; with the refraction angle γo, the incident angle αo of a point with a certain wavelength can be calculated by formula (7),

γγ 00 == tanthe tan -- 11 [[ ff // (( xx 22 ++ ythe y 22 )) ]] -- -- -- (( 66 ))

αo=tan-1[(b2+c2)sinγo-2bc]/(b2+c2)cosγo            (7)α o =tan -1 [(b 2 +c 2 )sinγ o -2bc]/(b 2 +c 2 )cosγ o (7)

某一波长光的波长的折射角αp与入射角αo均在同一极平面上,有了这两个数据就能方便地得到空间点与观察点的位置深度和角度信息,即在全方位视觉传感器成像平面上的某一个像素点的位置代表入射角αo的信息,该像素点的色彩代表折射角αp的信息。The refraction angle αp and the incident angle αo of the wavelength of a certain wavelength of light are on the same polar plane. With these two data, the position, depth and angle information of the space point and the observation point can be easily obtained, that is, in the omnidirectional visual sensor The position of a certain pixel on the imaging plane represents the information of the incident angle αo, and the color of the pixel represents the information of the refraction angle αp.

为了获得成像点的实际色彩信息,在设计的基于全彩色全景LED光源的主动三维立体全景视觉传感器中采用分时控制技术,即通过控制全景彩色结构光发生器的发光,即控制LED光源的供电,当给LED光源的供电时获得空间某物点的深度和方位角度信息;当让LED光源的供电电源切断时,由于LED光源的响应速度快,这样通过自然光来获得物点的色彩信息;时间信息由微处理器的时钟时间来确定;因此,如图9所示的任何空间物点A(R,φ,β,r,g,b,t)的深度、角度、色彩和时间等信息都可以在高斯球面坐标系中进行表达。实现了在主动立体全景视觉传感器中所获得的立体视频信息具备与实际物体成一一对应的景物深度和色彩对应图。In order to obtain the actual color information of the imaging point, the active three-dimensional panoramic vision sensor based on the full-color panoramic LED light source is designed using time-sharing control technology, that is, by controlling the light emission of the panoramic color structured light generator, that is, controlling the power supply of the LED light source , when the LED light source is powered, the depth and azimuth angle information of a certain point in space is obtained; when the power supply of the LED light source is cut off, due to the fast response speed of the LED light source, the color information of the object point is obtained through natural light; time The information is determined by the clock time of the microprocessor; therefore, the depth, angle, color and time information of any spatial object point A (R, φ, β, r, g, b, t) as shown in Fig. Can be expressed in a Gaussian spherical coordinate system. It is realized that the stereoscopic video information obtained in the active stereoscopic panoramic vision sensor has a one-to-one corresponding map of scene depth and color with the actual object.

所述的微处理器中包括:LED光源控制单元、视频图像读取模块、空间信息计算模块、三维图像重构模块和存储设备;The microprocessor includes: LED light source control unit, video image reading module, spatial information calculation module, three-dimensional image reconstruction module and storage device;

所述的LED光源控制单元,用于控制全景彩色结构光发生器发出全彩色全景结构光,在LED光源控制单元使LED光源的供电电源处于ON状态时,在全方位视觉传感器的成像单元中直接获得空间某物点的深度和方位角度信息;在LED光源控制单元使LED光源的供电电源处于OFF状态时,在全方位视觉传感器的成像单元中直接获得空间某物点的实际色彩信息;实际LED光源的供电电源开关控制采用电子开关来实现;The LED light source control unit is used to control the panoramic color structured light generator to emit full-color panoramic structured light. When the LED light source control unit makes the power supply of the LED light source in the ON state, the imaging unit of the omnidirectional visual sensor directly Obtain the depth and azimuth angle information of a certain point in space; when the LED light source control unit makes the power supply of the LED light source in the OFF state, directly obtain the actual color information of a certain point in space in the imaging unit of the omnidirectional vision sensor; the actual LED The power supply switch control of the light source is realized by electronic switch;

所述的视频图像读取模块,用于读取全方位视觉传感器的视频图像,并保存在所述的存储设备中,其输出与所述的空间信息计算模块连接;在LED光源的供电电源处于ON状态时所读取的全景视频图像中的各像素色彩带有某物点的深度和方位角度信息;在LED光源的供电电源处于OFF状态时所读取的全景视频图像中的各像素色彩带有某物点的实际色彩信息;如附图13所示;The video image reading module is used to read the video image of the omnidirectional visual sensor and store it in the storage device, and its output is connected to the spatial information calculation module; when the power supply of the LED light source is in The color of each pixel in the panoramic video image read in the ON state has the depth and azimuth angle information of a certain point; the color band of each pixel in the panoramic video image read when the power supply of the LED light source is in the OFF state There is actual color information of a certain point; as shown in Figure 13;

所述的空间信息计算模块,用于计算空间上的物点到立体视觉测量装置中心点的距离及入射角,分别计算空间物点与全方位视觉传感器的实焦点Om的距离R1、空间物点与全景彩色结构光发生器的实焦点Op的距离R2、空间物点与中央眼的距离R以及空间物点的入射角φ;其输出与三维图像重构模块连接;The space information calculation module is used to calculate the distance and the incident angle from the object point on the space to the central point of the stereo vision measuring device, and calculate the distance R1, the space object point and the real focal point Om of the omnidirectional visual sensor respectively. The distance R2 between the point and the real focal point O of the panoramic color structured light generator, the distance R between the space object point and the central eye, and the incident angle φ of the space object point; its output is connected with the three-dimensional image reconstruction module;

所述的三维图像重构模块,用于将在全方位视觉传感器中所获取的全景图像进行柱状展开运算,展开图中横坐标表示方位角,纵坐标表示入射角;在展开全方位图像时需要将该中心部分的图像单独分离出来,然后对全方位图像进行展开,展开算法中水平方向的计算步长为,Δβ=2π/l,式中l为水平展开幅度;垂直方向的计算步长为Δm=(αo-maxo-min)/m;式中,αo-max为全景原图最大有效半径Rmax对应的场景光线入射角,αo-min为全景原图最小有效半径Rmin对应的场景光线入射角;The three-dimensional image reconstruction module is used to carry out columnar expansion operation on the panoramic image acquired in the omnidirectional visual sensor, the abscissa in the expanded figure represents the azimuth, and the ordinate represents the angle of incidence; when unfolding the omnidirectional image, it needs Separate the image of the central part separately, and then expand the omni-directional image. The calculation step size in the horizontal direction in the expansion algorithm is, Δβ=2π/l, where l is the horizontal expansion range; the calculation step size in the vertical direction is Δm=(α o-maxo-min )/m; where, α o-max is the scene light incident angle corresponding to the maximum effective radius Rmax of the original panoramic image, and α o-min is the minimum effective radius Rmin of the original panoramic image Corresponding scene light incident angle;

与用极坐标表示的全景原图中的原像点A(Φ,β)对应的球面展开方式中的A点坐标分别为:The coordinates of point A in the spherical expansion mode corresponding to the original image point A (Φ, β) in the original panorama image represented by polar coordinates are:

x=β/Δβ,y=(αoo-min)/Δm             (8)x=β/Δβ, y=(α oo-min )/Δm (8)

式中:Δβ为水平方向的计算步长,β为方位角,Δm为垂直方向的计算步长,αo全景原图有效半径R对应的场景光线入射角,αo-min为全景原图最小有效半径Rmin对应的场景光线入射角;In the formula: Δβ is the calculation step in the horizontal direction, β is the azimuth angle, Δm is the calculation step in the vertical direction, α o is the scene light incident angle corresponding to the effective radius R of the original panorama image, and α o-min is the minimum of the original panorama image The scene light incident angle corresponding to the effective radius Rmin;

在对全景图像进行柱状展开时,针对LED光源的供电电源处于ON/OFF两种状态会产生两种不同的柱状展开图;当LED光源的供电电源处于ON的状态时,在柱状展开图上带有全景彩色结构光所照射全景视频图像;当LED光源的供电电源处于OFF的状态时,在柱状展开图上自然光所投射的全景视频图像;When performing columnar expansion on a panoramic image, two different columnar expansion diagrams will be generated for the power supply of the LED light source in the ON/OFF state; when the power supply of the LED light source is in the ON state, the columnar expansion diagram with Panoramic video images illuminated by panoramic color structured light; when the power supply of the LED light source is OFF, the panoramic video images projected by natural light on the columnar expansion diagram;

作为优选的再一种方案:所述的空间信息计算单元包括折射角αp计算单元、入射角αo计算单元和距离计算单元;As another preferred solution: the spatial information calculation unit includes a refraction angle αp calculation unit, an incident angle αo calculation unit and a distance calculation unit;

折射角αp计算单元,用于利用全景彩色结构光发生器的折射角αp与LED器件所发射出的光波长之间具有一定的函数关系来计算的,当LED光源的供电电源处于ON状态时,成像平面上的像素的色彩分量与折射角αp存在一一对应关系,利用该关系来得到折射角αpThe refraction angle α p calculation unit is used to calculate the refraction angle α p of the panoramic color structured light generator and the wavelength of light emitted by the LED device. When the power supply of the LED light source is in the ON state When , there is a one-to-one correspondence between the color components of the pixels on the imaging plane and the refraction angle α p , and use this relationship to obtain the refraction angle α p ;

入射角αo计算单元,用于利用全方位视觉传感器的入射角αo与折反射角γo之间存在着公式(9)所示的函数关系,The incident angle α o calculation unit is used to utilize the functional relationship shown in the formula (9) between the incident angle α o and the refraction angle γ o of the omnidirectional visual sensor,

αo=tan-1[(b2+c2)sinγo-2bc]/(b2+c2)cosγo               (9)α o =tan −1 [(b 2 +c 2 )sinγ o −2bc]/(b 2 +c 2 )cosγ o (9)

折反射角γo与成像平面上的一个点(x,y)存在着公式(10)所示的函数关系,There is a functional relationship between the refraction angle γ o and a point (x, y) on the imaging plane as shown in formula (10),

γγ == tanthe tan -- 11 [[ ff // (( xx 22 ++ ythe y 22 )) ]] -- -- -- (( 1010 ))

通过公式(9)和(10)可得到成像平面上的一个点(x,y)与入射角αo之间的函数关系;The functional relationship between a point (x, y) on the imaging plane and the angle of incidence α o can be obtained by formulas (9) and (10);

距离计算单元,用于利用公式(11)~(14)分别计算空间物点与全方位视觉传感器的实焦点Om的距离R1、空间物点与全景彩色结构光发送单元的实焦点Op的距离R2、空间物点与中央眼的距离R以及空间物点的入射角φ,The distance calculation unit is used to calculate the distance R1 between the space object point and the real focus O m of the omnidirectional visual sensor, and the distance R1 between the space object point and the real focus O p of the panoramic color structured light sending unit by using formulas (11) to (14). The distance R2, the distance R between the space object point and the central eye, and the incident angle φ of the space object point,

RR 11 == Oo mm AA ‾‾ == coscos (( αα oo )) sinsin (( αα oo ++ αα pp )) BB -- -- -- (( 1111 ))

RR 22 == Oo pp AA ‾‾ == coscos (( αα pp )) sinsin (( αα oo ++ αα pp )) BB -- -- -- (( 1212 ))

RR == OAOA ‾‾ == RR 22 22 ++ (( BB // 22 )) 22 -- 22 RR 22 (( BB // 22 )) coscos (( αα pp ++ 9090 ))

== BB [[ coscos (( αα pp )) sinsin (( αα oo ++ αα pp )) ]] 22 ++ 0.250.25 ++ coscos (( αα pp )) sinsin (( αα oo ++ αα pp )) sinsin (( αα pp )) -- -- -- (( 1313 ))

φφ == arcsinarcsin [[ BB 22 RR coscos (( αα oo )) ]] -- -- -- (( 1414 ))

式中:B为基线距,αo为入射角,αp为折射角,R1为物点A与全方位视觉传感器的实焦点Om的距离,R2为物点A与全景彩色结构光发生器的实焦点Op的距离,R为物点A与中央眼的距离,φ为空间物点相对于中央眼的入射角。In the formula: B is the baseline distance, α o is the angle of incidence, α p is the refraction angle, R1 is the distance between the object point A and the real focus O m of the omnidirectional vision sensor, R2 is the distance between the object point A and the panoramic color structured light generator The distance of the real focal point Op of , R is the distance between the object point A and the central eye, and φ is the incident angle of the spatial object point relative to the central eye.

再进一步,在所述的空间信息计算模块中,设置一张光编码表来实现某一光波长λ与某一折射角αp之间存在的映射关系,一张入射角计算表来实现某一个点的坐标数据与该点所对应的入射角αo之间存在的映射关系,折射角αp、入射角αo计算采用查表方式实现;首先在LED光源的供电电源处于ON状态时按全方位视觉传感器的成像平面的点坐标顺序读取某一个像素点的波长λ值,以点坐标值检索入射角计算表得到该点所对应的入射角αo,接着以该点的光波长λ值检索光编码表得到该光波长λ所对应的折射角αp;最后利用公式(11)或者公式(12)或者公式(13)计算得到空间上某一点的距离信息;附图14(a)是当LED光源的供电电源处于ON状态时全方位视觉传感器的成像平面上某个像素点P(i,j)所具有的信息示意图,其中i,j的位置可以用于确定入射角αo,,P(i,j)的色彩可以用于确定折射角αp;附图14(b)是当LED光源的供电电源处于OFF状态时全方位视觉传感器的成像平面上某个像素点P(i,j)所具有的信息示意图,其中i,j的位置可以用于确定入射角αo,,P(i,j)的色彩确定空间物点的实际色彩;Further, in the spatial information calculation module, an optical encoding table is set to realize the mapping relationship between a certain light wavelength λ and a certain refraction angle α p , and an incident angle calculation table is used to realize a certain The mapping relationship between the coordinate data of a point and the incident angle α o corresponding to the point, the calculation of the refraction angle α p and the incident angle α o is realized by looking up the table; firstly, when the power supply of the LED light source is in the ON state, press the full The point coordinates of the imaging plane of the azimuth vision sensor read the wavelength λ value of a certain pixel point sequentially, use the point coordinate value to retrieve the incident angle calculation table to obtain the incident angle α o corresponding to the point, and then use the light wavelength λ value of the point Retrieve the optical code table to obtain the refraction angle α p corresponding to the light wavelength λ; finally use formula (11) or formula (12) or formula (13) to calculate the distance information of a certain point in space; Figure 14 (a) is When the power supply of the LED light source is in the ON state, a schematic diagram of the information of a certain pixel point P(i, j) on the imaging plane of the omnidirectional vision sensor, where the position of i, j can be used to determine the incident angle α o ,, The color of P(i, j) can be used to determine the refraction angle α p ; Figure 14(b) is a pixel point P(i, j) Schematic diagram of the information possessed, where the position of i, j can be used to determine the color of the incident angle α o ,, P(i, j) to determine the actual color of the spatial object point;

全方位视觉传感器的工作原理是:进入双曲面镜的中心的光,根据双曲面的镜面特性向着其虚焦点折射。实物图像经双曲面镜反射到聚光透镜中成像,在该成像平面上的一个点P(x,y)对应着实物在空间上的一个点的坐标A(X,Y,Z);The working principle of the omnidirectional vision sensor is: the light entering the center of the hyperboloid mirror is refracted toward its virtual focus according to the specular characteristics of the hyperboloid. The image of the real object is reflected by the hyperboloid mirror into the condenser lens for imaging, and a point P (x, y) on the imaging plane corresponds to the coordinate A (X, Y, Z) of a point of the real object in space;

图7中的2-1-双曲线面镜,12-入射光线,13-双曲面镜的实焦点Om(0,0,c),14-双曲面镜的虚焦点,即摄像单元6的中心Oc(0,0,-c),15-反射光线,16-成像平面,17-实物图像的空间坐标A(X,Y,Z),18-入射到双曲面镜面上的图像的空间坐标,19-反射在成像平面上的点P(x,y)。2-1-hyperbolic mirror in Fig. 7, 12-incident light, the real focal point Om(0,0,c) of 13-hyperbolic mirror, the imaginary focal point of 14-hyperbolic mirror, i.e. the center of camera unit 6 Oc(0,0,-c), 15-reflected light, 16-imaging plane, 17-space coordinates A(X, Y, Z) of the real object image, 18-space coordinates of the image incident on the hyperboloid mirror surface, 19 - Point P(x,y) reflected on the imaging plane.

图7中所示的双曲面镜构成的光学系统可以由下面5个等式表示;The optical system that the hyperboloid mirror shown in Fig. 7 constitutes can be expressed by following 5 equations;

((X2+Y2)/a2)-((Z-c)2/b2)=-1      当Z>0时      (1)((X 2 +Y 2 )/a 2 )-((Zc) 2 /b 2 )=-1 When Z>0 (1)

cc == aa 22 ++ bb 22 -- -- -- (( 22 ))

β=tan-1(Y/X)                                  (3)β=tan -1 (Y/X) (3)

α=tan-1[(b2+c2)sinγ-2bc]/(b2+c2)cosγ        (4)α=tan -1 [(b 2 +c 2 )sinγ-2bc]/(b 2 +c 2 )cosγ (4)

γγ == tanthe tan -- 11 [[ ff // (( xx 22 ++ ythe y 22 )) ]] -- -- -- (( 55 ))

式中X、Y、Z表示空间坐标,c表示双曲面镜的焦点,2c表示两个焦点之间的距离,a,b分别是双曲面镜的实轴和虚轴的长度,β表示入射光线在XY投影平面上与X轴的夹角,即方位角,α表示入射光线在XZ投影平面上与X轴的夹角,这里将α称为入射角,α大于或等于0时称为俯角,将α小于0时称为仰角,f表示成像平面到双曲面镜的虚焦点的距离,γ表示折反射光线与Z轴的夹角;x,y表示在成像平面上的一个点;In the formula, X, Y, and Z represent the space coordinates, c represents the focal point of the hyperbolic mirror, 2c represents the distance between the two focal points, a, b are the lengths of the real axis and imaginary axis of the hyperbolic mirror, respectively, and β represents the incident light The angle between the X-axis and the X-axis on the XY projection plane is the azimuth angle. α represents the angle between the incident light and the X-axis on the XZ projection plane. Here, α is called the incident angle, and when α is greater than or equal to 0, it is called the depression angle. When α is less than 0, it is called the elevation angle, f represents the distance from the imaging plane to the virtual focus of the hyperbolic mirror, and γ represents the angle between the refraction light and the Z axis; x, y represent a point on the imaging plane;

为了获得比较大的立体视觉范围,在所述的双曲面镜面2设计时需要尽可能加大双曲面镜面的仰角,采用减小双曲面镜的实轴a和虚轴b的比来加大双曲面镜面的仰角,设计时需根据立体视觉的范围、双曲面镜的直径大小来选择一个适当的实轴a和虚轴b的比,最大仰角极限是双曲线的渐进线与X轴的夹角;In order to obtain a relatively large stereoscopic vision range, it is necessary to increase the elevation angle of the hyperboloid mirror as much as possible during the design of the hyperboloid mirror 2, and to increase the ratio of the real axis a and the imaginary axis b of the hyperboloid mirror to increase the hyperboloid For the elevation angle of the curved mirror surface, an appropriate ratio between the real axis a and the imaginary axis b should be selected according to the range of stereoscopic vision and the diameter of the hyperboloid mirror. The maximum elevation angle limit is the angle between the asymptotic line of the hyperbola and the X axis ;

全景彩色结构光发生器的工作原理是:LED光源9的基板是一个圆形平板,每个LED均固定在该圆形平板上,如附图5所示;不同中心波长的LED是以中心波长小到大从所述的圆形平板的内径到外径进行排列,同一中心波长的LED配置在所述的圆形平板的同一直径上,在附图5中在不同的直径上共排列了12中不同中心波长的LED,其中心波长是以425nm到623nm均匀分布在不同的直径上,每个LED的发散角选择在10°左右,每个LED都正对着所述第二双曲面镜面2-2;在LED光源的供电电源处于ON状态时,每个LED都发射出各自中心波长的光,这些特定波长的光经过第二双曲面镜面2-2折反射,由于双曲面镜面具有单视点的功能,所有折反射光的光线均经过双曲面镜面的实焦点Om向外折反射,这样就在整个半球面上产生了一圈圈的彩色结构光,根据双曲面镜的特点该彩色结构光在半球范围内形成了以中心波长是以425nm到623nm从最小俯角到最大仰角的排列,如附图5所示,这样每种波长的光都对应着第二双曲面镜面2-2上的某个折射角αpThe working principle of the panoramic color structured light generator is: the substrate of the LED light source 9 is a circular plate, and each LED is fixed on the circular plate, as shown in Figure 5; LEDs with different central wavelengths are based on the central wavelength From small to large, they are arranged from the inner diameter to the outer diameter of the circular flat plate, LEDs with the same central wavelength are arranged on the same diameter of the circular flat plate, and a total of 12 LEDs are arranged on different diameters in Figure 5 For LEDs with different central wavelengths, the central wavelengths are evenly distributed on different diameters from 425nm to 623nm, the divergence angle of each LED is selected at about 10°, and each LED is facing the second hyperbolic mirror 2 -2; When the power supply of the LED light source is in the ON state, each LED emits light of its own center wavelength, and the light of these specific wavelengths is reflected by the second hyperboloid mirror 2-2, because the hyperboloid mirror has a single viewpoint The function of all refracted and reflected light is refracted outward through the real focus O m of the hyperboloid mirror, so that a circle of colored structured light is produced on the entire hemispherical surface. According to the characteristics of the hyperboloid mirror, the color structure The light forms an arrangement within the hemisphere with the center wavelength being 425nm to 623nm from the minimum depression angle to the maximum elevation angle, as shown in Figure 5, so that the light of each wavelength corresponds to the light on the second hyperbolic mirror surface 2-2. a certain angle of refraction α p ;

基于全彩色全景LED光源的主动三维立体全景视觉传感器的工作原理是:从安置在全景彩色结构光发生器的第二双曲面镜面2-2正对面处的LED光源9,在LED光源的供电电源处于ON状态时,LED光源9发射出从园中心到园外径的一圈圈的峰值波长依次增长的彩色光,这些一圈圈彩色光投射到全景彩色结构光发生器的第二双曲面镜面2-2上后,以第二双曲面镜面2-2的实焦点为中心向外四周折射,在水平方向360°形成了呈双曲线函数关系变化的一圈圈的峰值波长的折反射光,空间上的一个点A(X,Y,Z)接受到一定波长的光,该光点继续向全方位视觉传感器的双曲面镜2-1反射,光线朝向全方位视觉传感器的双曲面镜2-1的实焦点,根据双曲面的镜面特性向着全方位视觉传感器的虚焦点14折反射,图7所示;反映实物图像的各具有一定波长的光点经全方位视觉传感器的双曲面镜2-1反射到聚光透镜中成像,在该成像平面上的一个点P(x,y)对应着实物在空间上的一个点的坐标A(X,Y,Z),光路图如图6中的粗实线所示;实际上通过两个同一的双曲面镜面以及LED光源9的共同作用使得在原有立体摄像测量中的特征选取、图像匹配步骤进行简化,通过两个同一参数的双曲面镜面以及LED光源9的共同作用确定了空间上的一个点A(X,Y,Z)在成像平面上点P(x,y)的入射角和方位角,即称为确定空间上的点A(X,Y,Z)的约束条件;这是因为由于全景彩色结构光发生器与全方位视觉传感器具有两个相同参数的双曲面镜,且两个相同参数的双曲面镜在同一个轴心线上,因此确定点A(X,Y,Z)的方位角是非常容易的,关于发射角可以通过LED光源9所确定的光线波长来确定,关于入射角可以通过成像平面上点P(x,y)来确定,这样就确定了点A(X,Y,Z)与观察点的空间位置关系;The operating principle of the active three-dimensional panoramic vision sensor based on the full-color panoramic LED light source is: from the LED light source 9 directly opposite to the second hyperboloid mirror 2-2 of the panoramic color structured light generator, the power supply of the LED light source When in the ON state, the LED light source 9 emits circles of colored light with successively increasing peak wavelengths from the center of the garden to the outer diameter of the circle, and these circles of colored light are projected onto the second hyperbolic mirror surface of the panoramic color structured light generator After 2-2 is on, the real focal point of the second hyperboloid mirror surface 2-2 is refracted around the center, and 360° in the horizontal direction forms a circle of refracted light with a peak wavelength that changes in a hyperbolic function relationship. A point A (X, Y, Z) in space receives light of a certain wavelength, the light point continues to reflect to the hyperbolic mirror 2-1 of the omnidirectional vision sensor, and the light is directed towards the hyperboloid mirror 2-1 of the omnidirectional vision sensor The real focal point of 1, according to the specular characteristic of hyperboloid toward the virtual focal point 14 refractions of omnidirectional vision sensor, as shown in Figure 7; Each light spot with certain wavelength that reflects physical image passes through the hyperboloid mirror 2 of omnidirectional visual sensor 1 is reflected into the condenser lens for imaging, and a point P (x, y) on the imaging plane corresponds to the coordinates A (X, Y, Z) of a point in space of the real object. The light path diagram is shown in Figure 6 As shown in the thick solid line; in fact, the feature selection and image matching steps in the original stereo camera measurement are simplified through the joint action of two identical hyperboloid mirror surfaces and the LED light source 9, through two hyperboloid mirror surfaces with the same parameters and The joint effect of LED light sources 9 determines the incidence angle and azimuth angle of a point A (X, Y, Z) on the imaging plane point P (x, y) on the space, which is called the point A (X) on the determined space. , Y, Z) constraints; this is because the panoramic color structured light generator and the omnidirectional vision sensor have two hyperboloid mirrors with the same parameters, and the two hyperboloid mirrors with the same parameters are on the same axis , so it is very easy to determine the azimuth angle of point A (X, Y, Z). Regarding the emission angle, it can be determined by the light wavelength determined by the LED light source 9. Regarding the incident angle, it can be determined by the point P(x, y) on the imaging plane. ) to determine, so that the spatial position relationship between the point A (X, Y, Z) and the observation point is determined;

本发明中采用“中央眼”视觉方式来描述空间上某一物点A的信息(R,φ,β,r,g,b,t),所谓的中央眼是立体视觉基线距的中点,是通过全方位视觉传感器和全景彩色结构光发送器的视点之间的连线中心点来算得到,这里将中央眼的坐标作为高斯球面坐标的原点O,如图8所示;空间上某一物点A的信息(R,φ,β,r,g,b,t)中的R用公式(13)的计算结果设置,φ用公式(14)的计算结果设置,β用公式(3)的计算结果设置,r,g,b分别用当LED光源的供电电源处于OFF状态时全方位视觉传感器的成像平面上该像素点的实际色彩分量值设置,t用微处理器的时钟进行设置;这样空间上的任何点的信息都能用(R,φ,β,r,g,b,t)7个分量值进行表达,如附图9所示。In the present invention, the "central eye" visual mode is used to describe the information (R, φ, β, r, g, b, t) of a certain object point A in space. The so-called central eye is the midpoint of the stereoscopic vision baseline distance, It is calculated by the center point of the line between the omnidirectional vision sensor and the viewpoint of the panoramic color structured light transmitter. Here, the coordinates of the central eye are taken as the origin O of the Gaussian spherical coordinates, as shown in Figure 8; In the information (R, φ, β, r, g, b, t) of object point A, R is set by the calculation result of formula (13), φ is set by the calculation result of formula (14), and β is set by formula (3) The calculation result setting of r, g, b are respectively set with the actual color component value of the pixel on the imaging plane of the omnidirectional vision sensor when the power supply of the LED light source is in OFF state, and t is set with the clock of the microprocessor; In this way, the information of any point in space can be expressed by (R, φ, β, r, g, b, t) 7 component values, as shown in Fig. 9 .

实施例2Example 2

参照图6、图12、图13~14,本实施例在全景彩色结构光发生器与全方位视觉传感器的连接方式上采用背靠背型连接,如附图附图6、附图12所示,所述全方位视觉传感器的第一上盖1-1与所述全景彩色结构光发生器的第二上盖1-2连接;这种连接方式将两个具有同一参数的双曲面镜面的凹面对着凹面,且要保证两个第一双曲面镜面2-1、2-2的轴心线重合,如图6所示;从图6中可知,背靠背型的基于全彩色全景LED光源的主动三维立体全景视觉传感器的基线距B最短,立体视觉测量范围最小,但是其结构最紧凑。Referring to Figure 6, Figure 12, and Figures 13 to 14, this embodiment adopts a back-to-back connection in the connection mode between the panoramic color structured light generator and the omnidirectional visual sensor, as shown in Figure 6 and Figure 12 of the accompanying drawings, so The first upper cover 1-1 of the omni-directional vision sensor is connected with the second upper cover 1-2 of the panoramic color structured light generator; this connection method combines the concave pairs of two hyperboloid mirrors with the same parameter Concave surface, and it is necessary to ensure that the axes of the two first hyperboloid mirror surfaces 2-1, 2-2 coincide, as shown in Figure 6; it can be seen from Figure 6 that the back-to-back active three-dimensional based on full-color panoramic LED light source The baseline distance B of the stereo panoramic vision sensor is the shortest, and the measurement range of the stereo vision is the smallest, but its structure is the most compact.

本实施例的其他结构与工作过程与实施例1相同。The other structures and working process of this embodiment are the same as those of Embodiment 1.

实施例3Example 3

参照图10、图14~图15,本实施例在全景彩色结构光发生器与全方位视觉传感器的连接方式上采用面对背连接方式,如附图10所示,将全景彩色结构光发生器的第二上盖1-2与所述全方位视觉传感器的第一连接单元7-1连接;这种连接方式将两个具有同一参数的双曲面镜面的凸面对着凹面,其中凸面是全方位视觉传感器的第一双曲面镜面2-1,凹面是全景彩色结构光发生器的第二双曲面镜面2-2,同时要保证两个第一双曲面镜面2-1、2-2的轴心线重合;这种面对背型的基于全彩色全景LED光源的主动三维立体全景视觉传感器的基线距B和立体测量范围处于图11和图12所示的基于全彩色全景LED光源的主动三维立体全景视觉传感器的中间状态。Referring to Figure 10 and Figures 14 to 15, this embodiment adopts a face-to-back connection mode between the panoramic color structured light generator and the omnidirectional visual sensor, as shown in Figure 10, the panoramic color structured light generator The second upper cover 1-2 is connected with the first connection unit 7-1 of the omnidirectional vision sensor; in this connection mode, the convex surface of two hyperboloid mirrors with the same parameter faces the concave surface, wherein the convex surface is the full The first hyperboloid mirror surface 2-1 of the azimuth vision sensor, the concave surface is the second hyperboloid mirror surface 2-2 of the panoramic color structured light generator, and the axes of the two first hyperboloid mirror surfaces 2-1, 2-2 must be guaranteed at the same time The center line coincides; the baseline distance B and the stereo measurement range of the active three-dimensional panoramic vision sensor based on the full-color panoramic LED light source of this face-to-back type are in the active three-dimensional based on the full-color panoramic LED light source shown in Figure 11 and Figure 12. The intermediate state of the stereo panoramic vision sensor.

本实施例的其他结构与工作过程与实施例1相同。The other structures and working process of this embodiment are the same as those of Embodiment 1.

实施例4Example 4

参照图13~15,本实施例在全景彩色结构光发生器与全方位视觉传感器的连接方式上采用背对面连接方式,如附图13所示,将全方位视觉传感器的第一上盖1-1与所述全景彩色结构光发生器的第二连接单元7-2连接;这种连接方式将两个具有同一参数的双曲面镜面的凹面对着凸面,其中凹面是全方位视觉传感器的第一双曲面镜面2-1,凸面是全景彩色结构光发生器的第二双曲面镜面2-2,同时要保证两个第一双曲面镜面2-1、2-2的轴心线重合;这种背对面型的基于全彩色全景LED光源的主动三维立体全景视觉传感器的基线距B和立体测量范围处于图11和图12所示的基于全彩色全景LED光源的主动三维立体全景视觉传感器的中间状态。,Referring to Figures 13-15, this embodiment adopts a back-to-face connection mode between the panoramic color structured light generator and the omnidirectional visual sensor. As shown in Figure 13, the first upper cover of the omnidirectional visual sensor 1- 1 is connected to the second connection unit 7-2 of the panoramic color structured light generator; in this connection mode, the concave surface of two hyperboloid mirrors with the same parameter faces the convex surface, wherein the concave surface is the first omnidirectional visual sensor A hyperboloid mirror surface 2-1, the convex surface is the second hyperboloid mirror surface 2-2 of the panoramic color structured light generator, and it is necessary to ensure that the axis lines of the two first hyperboloid mirror surfaces 2-1, 2-2 coincide; this The baseline distance B and the stereo measurement range of the active three-dimensional panoramic vision sensor based on the full-color panoramic LED light source of a back-to-face type are in the middle of the active three-dimensional panoramic vision sensor based on the full-color panoramic LED light source shown in Figure 11 and Figure 12 state. ,

本实施例的其他结构与工作过程与实施例1相同。The other structures and working process of this embodiment are the same as those of Embodiment 1.

实施例5Example 5

参照图1~图15,本实施例的LED光源的光谱范围的选择方面,在一些特殊场合,如需要全景彩色结构光发生器发出的是红外光谱,因此将LED器件的光谱范围选择在700nm~2000nm。Referring to Figures 1 to 15, in terms of the selection of the spectral range of the LED light source in this embodiment, in some special occasions, if the panoramic color structured light generator is required to emit the infrared spectrum, the spectral range of the LED device is selected between 700nm and 2000nm.

本实施例的其他结构和工作过程与实施例1相同。Other structures and working processes of this embodiment are the same as those of Embodiment 1.

Claims (10)

1.一种基于全彩色全景LED光源的主动三维立体全景视觉传感器,其特征在于:所述主动三维立体全景视觉传感器包括全方位视觉传感器、全景彩色结构光发生器以及用于对全方位图像进行三维立体摄像测量的微处理器,所述全方位视觉传感器与所述全景彩色结构光发生器配置在同一根轴心线上;1. an active three-dimensional stereoscopic panoramic vision sensor based on full-color panoramic LED light source, it is characterized in that: described active three-dimensional stereoscopic panoramic vision sensor comprises omnidirectional vision sensor, panoramic color structured light generator and is used for omnidirectional image A microprocessor for three-dimensional stereo camera measurement, the omnidirectional visual sensor and the panoramic color structured light generator are arranged on the same axis; 所述全方位视觉传感器包括第一双曲面镜、第一上盖、第一透明半圆形外罩、第一下固定座、第一摄像单元固定座、摄像单元、第一连接单元和上罩;所述的第一双曲面镜固定在所述的第一上盖上,所述的第一连接单元将所述的第一下固定座和第一透明半圆形外罩连接成一体,所述的第一透明半圆形外罩与所述的第一上盖以及所述的上罩固定在一起,所述的摄像单元固定在所述的第一摄像单元固定座上,所述的第一摄像单元固定座固定在所述的第一下固定座上,所述全方位视觉传感器中的摄像单元的输出与所述微处理器连接;The omnidirectional visual sensor includes a first hyperboloid mirror, a first upper cover, a first transparent semicircular outer cover, a first lower fixing seat, a first camera unit fixing seat, a camera unit, a first connecting unit and an upper cover; The first hyperboloid mirror is fixed on the first upper cover, the first connection unit connects the first lower fixing seat and the first transparent semicircular outer cover into one body, and the The first transparent semicircular outer cover is fixed together with the first upper cover and the upper cover, the camera unit is fixed on the fixing base of the first camera unit, and the first camera unit The fixing seat is fixed on the first lower fixing seat, and the output of the camera unit in the omnidirectional vision sensor is connected with the microprocessor; 所述全景彩色结构光发生器包括第二双曲面镜、第二上盖、第二透明半圆形外罩、第二下固定座、第二连接单元和LED光源;所述的第二双曲面镜固定在所述的第二上盖上,所述的第二连接单元将所述的第二下固定座和第二透明半圆形外罩连接成一体,所述的第二透明半圆形外罩与所述的第二上盖通过螺钉固定在一起,所述的LED光源固定在所述的第二连接单元上;The panoramic color structured light generator includes a second hyperboloid mirror, a second upper cover, a second transparent semicircular cover, a second lower fixing seat, a second connection unit and an LED light source; the second hyperboloid mirror fixed on the second upper cover, the second connecting unit connects the second lower fixing seat and the second transparent semicircular cover into one body, and the second transparent semicircular cover is connected with the second transparent semicircular cover The second upper cover is fixed together by screws, and the LED light source is fixed on the second connection unit; 所述第二双曲面镜和第一双曲面镜具有相同的成像参数;The second hyperboloid mirror and the first hyperboloid mirror have the same imaging parameters; 所述微处理器包括:The microprocessor includes: LED光源控制单元、视频图像读取单元、空间信息计算单元、三维图像重构单元和存储设备;LED light source control unit, video image reading unit, spatial information calculation unit, 3D image reconstruction unit and storage device; LED光源控制单元,用于控制全景彩色光编码发生器发出全彩色全景结构光,在LED光源控制单元使LED光源的供电电源处于ON状态时,在全方位视觉传感器的成像单元中直接获得空间某物点的深度和方位角度信息;在LED光源控制单元使LED光源的供电电源处于OFF状态时,在全方位视觉传感器的成像单元中直接获得空间某物点的实际色彩信息;实际LED光源的供电电源开关控制采用电子开关来实现;The LED light source control unit is used to control the panoramic color light coding generator to emit full-color panoramic structured light. When the LED light source control unit makes the power supply of the LED light source in the ON state, the imaging unit of the omnidirectional visual sensor can directly obtain a certain space. The depth and azimuth angle information of the object point; when the LED light source control unit makes the power supply of the LED light source in the OFF state, the actual color information of a certain object point in space is directly obtained in the imaging unit of the omnidirectional visual sensor; the power supply of the actual LED light source The power switch control is realized by electronic switch; 视频图像读取单元,用于读取全方位视觉传感器的视频图像,并保存在所述的存储设备中,其输出与所述的空间信息计算单元连接;在LED光源的供电电源处于ON状态时所读取的全景视频图像中的各像素色彩带有某物点的深度和方位角度信息;在LED光源的供电电源处于OFF状态时所读取的全景视频图像中的各像素色彩带有某物点的实际色彩信息;The video image reading unit is used to read the video image of the omnidirectional visual sensor and store it in the storage device, and its output is connected to the spatial information calculation unit; when the power supply of the LED light source is in the ON state The color of each pixel in the read panoramic video image has the depth and azimuth angle information of a certain point; when the power supply of the LED light source is in the OFF state, the color of each pixel in the read panoramic video image contains The actual color information of the point; 空间信息计算单元,用于计算空间上的物点到立体视觉测量装置中心点的距离及入射角,分别计算空间物点与全方位视觉传感器的实焦点Om的距离R1、空间物点与全景彩色结构光调制单元的实焦点Op的距离R2、空间物点与中央眼的距离R以及空间物点的入射角φ;其输出与三维图像重构单元连接;The spatial information calculation unit is used to calculate the distance and incident angle from the object point in space to the center point of the stereo vision measuring device, and calculate the distance R1 between the object point in space and the real focal point Om of the omnidirectional visual sensor, the object point in space and the panorama The distance R2 of the real focus Op of the color structured light modulation unit, the distance R between the space object point and the central eye, and the incident angle φ of the space object point; its output is connected to the three-dimensional image reconstruction unit; 三维图像重构单元,用于将在全方位视觉传感器中所获取的全景图像进行柱状展开运算,展开图中横坐标表示方位角,纵坐标表示入射角;在展开全方位图像时需要将该中心部分的图像单独分离出来,然后对全方位图像进行展开,展开算法中水平方向的计算步长为,Δβ=2π/l,式中l为水平展开幅度;垂直方向的计算步长为Δm=(αo-maxo-min)/m;式中,αo-max为全景原图最大有效半径Rmax对应的场景光线入射角,αo-min为全景原图最小有效半径Rmin对应的场景光线入射角;The three-dimensional image reconstruction unit is used to carry out columnar expansion operation on the panoramic image acquired in the omnidirectional vision sensor. Part of the image is separated separately, and then the omni-directional image is expanded. The calculation step size in the horizontal direction in the expansion algorithm is Δβ=2π/l, where l is the horizontal expansion range; the calculation step size in the vertical direction is Δm=( α o-maxo-min )/m; where α o-max is the scene light incident angle corresponding to the maximum effective radius Rmax of the original panoramic image, and α o-min is the scene corresponding to the minimum effective radius Rmin of the original panoramic image angle of incidence of light; 与用极坐标表示的全景原图中的原像点A(φ,β)对应的球面展开方式中的A点坐标分别为:The coordinates of point A in the spherical expansion mode corresponding to the original image point A (φ, β) in the original panorama image represented by polar coordinates are:                                             (8) (8) x=β/Δβ,y=(αoo-min)/Δmx=β/Δβ, y=(α oo-min )/Δm 式中:Δβ为水平方向的计算步长,β为方位角,Δm为垂直方向的计算步长,αo全景原图有效半径R对应的场景光线入射角,αo-min为全景原图最小有效半径Rmin对应的场景光线入射角;In the formula: Δβ is the calculation step in the horizontal direction, β is the azimuth angle, Δm is the calculation step in the vertical direction, α o is the scene light incident angle corresponding to the effective radius R of the original panorama image, and α o-min is the minimum of the original panorama image The scene light incident angle corresponding to the effective radius Rmin; 在对全景图像进行柱状展开时,针对LED光源的供电电源处于ON/OFF两种状态会产生两种不同的柱状展开图;当LED光源的供电电源处于ON的状态时,在柱状展开图上带有全景彩色结构光所照射全景视频图像;当LED光源的供电电源处于OFF的状态时,在柱状展开图上显示自然光所投射的全景视频图像。When performing columnar expansion on a panoramic image, two different columnar expansion diagrams will be generated for the power supply of the LED light source in the ON/OFF state; when the power supply of the LED light source is in the ON state, the columnar expansion diagram with Panoramic video images illuminated by panoramic color structured light; when the power supply of the LED light source is in the OFF state, the panoramic video images projected by natural light are displayed on the columnar expansion diagram. 2.如权利要求1所述的基于全彩色全景LED光源的主动三维立体全景视觉传感器,其特征在于:所述的LED光源是由多组不同中心波长的LED所组成,每个LED的发散角选择在10°,所述的LED光源的基板是一个圆形平板,每个LED均固定在该圆形平板上;不同中心波长的LED是以中心波长小到大从所述的圆形平板的内径到外径进行排列,同一中心波长的LED配置在所述的圆形平板的同一直径上;每个LED都正对着所述的第二双曲面镜。2. the active three-dimensional stereo panoramic vision sensor based on full-color panoramic LED light source as claimed in claim 1, is characterized in that: described LED light source is made up of the LED of multiple groups of different center wavelengths, and the divergence angle of each LED Selected at 10°, the substrate of the LED light source is a circular plate, and each LED is fixed on the circular plate; LEDs with different central wavelengths are from the small to large central wavelengths of the circular plate. Arranged from the inner diameter to the outer diameter, LEDs with the same central wavelength are arranged on the same diameter of the circular flat plate; each LED faces the second hyperbolic mirror. 3.如权利要求1或2所述的基于全彩色全景LED光源的主动三维立体全景视觉传感器,其特征在于:对全彩色全景LED光源采用分时控制技术,通过电子开关来控制全景彩色结构光发生器的发光或者不发光,在LED光源控制单元使LED光源的供电电源处于ON状态时,在全方位视觉传感器的成像单元中直接获得空间某物点的深度和方位角度信息;在LED光源控制单元使LED光源的供电电源处于OFF状态时,在全方位视觉传感器的成像单元中直接获得空间某物点的实际色彩信息。3. The active three-dimensional panoramic vision sensor based on full-color panoramic LED light sources as claimed in claim 1 or 2, characterized in that: the full-color panoramic LED light source adopts time-sharing control technology, and the panoramic color structured light is controlled by electronic switches Whether the generator emits light or not, when the LED light source control unit makes the power supply of the LED light source in the ON state, the depth and azimuth angle information of a certain point in space can be directly obtained in the imaging unit of the omnidirectional visual sensor; When the unit makes the power supply of the LED light source in the OFF state, the actual color information of a certain point in space is directly obtained in the imaging unit of the omnidirectional vision sensor. 4.如权利要求1或2所述的基于全彩色全景LED光源的主动三维立体全景视觉传感器,其特征在于:所述的第一双曲面镜和第二双曲面镜构成的光学系统由下面5个等式表示;4. the active three-dimensional stereo panoramic vision sensor based on full-color panoramic LED light source as claimed in claim 1 or 2, is characterized in that: the optical system that described first hyperboloid mirror and the second hyperboloid mirror constitutes by following 5 an equation expresses; ((X2+Y2)/a2)-((Z-c)2/b2)=-1  当Z>0时   (1)((X 2 +Y 2 )/a 2 )-((Zc) 2 /b 2 )=-1 When Z>0 (1) cc == aa 22 ++ bb 22 -- -- -- (( 22 )) β=tan-1(Y/X)                           (3)β=tan -1 (Y/X) (3) α=tan-1[(b2+c2)sinγ-2bc]/(b2+c2)cosγ (4)α=tan -1 [(b 2 +c 2 )sinγ-2bc]/(b 2 +c 2 )cosγ (4) γγ == tanthe tan -- 11 [[ ff // (( xx 22 ++ ythe y 22 )) ]] -- -- -- (( 55 )) 式中X、Y、Z表示空间坐标,c表示两个焦点之间的距离的二分之一,2c表示两个焦点之间的距离,a,b分别是双曲面镜的实轴和虚轴的长度,β表示入射光线在XY投影平面上与X轴的夹角,即方位角,α表示入射光线在XZ投影平面上与X轴的夹角,这里将α称为入射角,α大于或等于0时称为俯角,将α小于0时称为仰角,f表示成像平面到双曲面镜的虚焦点的距离,γ表示折反射光线与Z轴的夹角;x,y表示在成像平面上的一个点。In the formula, X, Y, and Z represent space coordinates, c represents one-half of the distance between the two focal points, 2c represents the distance between the two focal points, a, b are the real axis and imaginary axis of the hyperbolic mirror respectively β represents the angle between the incident light on the XY projection plane and the X axis, that is, the azimuth angle, and α represents the angle between the incident light on the XZ projection plane and the X axis. Here, α is called the incident angle, and α is greater than or When it is equal to 0, it is called the depression angle, when α is less than 0, it is called the elevation angle, f represents the distance from the imaging plane to the virtual focus of the hyperbolic mirror, γ represents the angle between the refraction light and the Z axis; x, y represent the imaging plane of a point. 5.如权利要求1或2所述的基于全彩色全景LED光源的主动三维立体全景视觉传感器,其特征在于:所述全方位视觉传感器与所述全景彩色结构光发生器之间采用背靠背型连接,所述全方位视觉传感器的第一上盖与所述全景彩色结构光发生器的第二上盖连接;将两个具有同一参数的双曲面镜面的凹面对着凹面。5. The active three-dimensional panoramic vision sensor based on full-color panoramic LED light source as claimed in claim 1 or 2, characterized in that: the back-to-back connection is adopted between the omnidirectional vision sensor and the panoramic color structured light generator , the first upper cover of the omnidirectional vision sensor is connected with the second upper cover of the panoramic color structured light generator; the concave surfaces of the two hyperboloid mirrors with the same parameters face the concave surfaces. 6.如权利要求1或2所述的基于全彩色全景LED光源的主动三维立体全景视觉传感器,其特征在于:所述全方位视觉传感器与所述全景彩色结构光发生器之间采用面对面连接,将所述全景彩色结构光发生器的第二连接单元和所述全方位视觉传感器的第一连接单元通过螺钉进行连接。6. The active three-dimensional panoramic vision sensor based on full-color panoramic LED light source as claimed in claim 1 or 2, characterized in that: face-to-face connection is adopted between the omnidirectional vision sensor and the panoramic color structured light generator, The second connection unit of the panoramic color structured light generator and the first connection unit of the omnidirectional vision sensor are connected by screws. 7.如权利要求1或2所述的基于全彩色全景LED光源的主动三维立体全景视觉传感器,其特征在于:所述全方位视觉传感器与所述全景彩色结构光发生器之间采用面对背连接方式,将所述全景彩色结构光发生器的第二上盖与所述全方位视觉传感器的第一连接单元连接;将两个具有同一参数的双曲面镜面的凸面对着凹面,其中凸面是全方位视觉传感器的第一双曲面镜,凹面是全景彩色结构光发生器的第二双曲面镜。7. The active three-dimensional panoramic vision sensor based on full-color panoramic LED light sources as claimed in claim 1 or 2, wherein: a face-to-back sensor is used between the omnidirectional vision sensor and the panoramic color structured light generator. The connection method is to connect the second upper cover of the panoramic color structured light generator with the first connection unit of the omnidirectional visual sensor; the convex surface of two hyperboloid mirrors with the same parameter faces the concave surface, wherein the convex surface is the first hyperboloid mirror of the omnidirectional vision sensor, and the concave surface is the second hyperboloid mirror of the panoramic color structured light generator. 8.如权利要求1或2所述的基于全彩色全景LED光源的主动三维立体全景视觉传感器,其特征在于:所述全方位视觉传感器与所述全景彩色结构光发生器之间采用背对面连接方式,将所述全方位视觉传感器的第一上盖与所述全景彩色结构光发生器的第二连接单元连接;将两个具有同一参数的双曲面镜面的凹面对着凸面,其中凹面是全方位视觉传感器的第一双曲面镜,凸面是全景彩色结构光发生器的第二双曲面镜。8. The active three-dimensional panoramic vision sensor based on full-color panoramic LED light source as claimed in claim 1 or 2, characterized in that: the omnidirectional vision sensor and the panoramic color structured light generator adopt back-to-face connection way, the first upper cover of the omni-directional vision sensor is connected with the second connection unit of the panoramic color structured light generator; the concave surface of two hyperboloid mirrors with the same parameter faces the convex surface, wherein the concave surface is The first hyperboloid mirror of the omnidirectional vision sensor, the convex surface is the second hyperboloid mirror of the panoramic color structured light generator. 9.如权利要求1所述的基于全彩色全景LED光源的主动三维立体全景视觉传感器,其特征在于:所述的空间信息计算单元包括折射角αp计算单元、入射角αo计算单元和距离计算单元;其中,9. the active three-dimensional stereo panoramic vision sensor based on full-color panoramic LED light source as claimed in claim 1, is characterized in that: described spatial information calculation unit comprises refraction angle α p calculation unit, incident angle α o calculation unit and distance computing unit; where, 折射角αp计算单元,用于利用全景彩色结构光发生器的折射角αp与LED光源所发射出的光波长之间具有一定的函数关系来计算的,当LED光源的供电电源处于ON状态时,成像平面上的像素的色彩分量与折射角αp存在一一对应关系,利用该关系来得到折射角αpThe refraction angle α p calculation unit is used to calculate the refraction angle α p of the panoramic color structured light generator and the wavelength of light emitted by the LED light source. When the power supply of the LED light source is in the ON state When , there is a one-to-one correspondence between the color components of the pixels on the imaging plane and the refraction angle α p , and use this relationship to obtain the refraction angle α p ; 入射角αo计算单元,用于利用全方位视觉传感器的入射角αo与折反射角γo之间存在着公式(9)所示的函数关系,The incident angle α o calculation unit is used to utilize the functional relationship shown in the formula (9) between the incident angle α o and the refraction angle γ o of the omnidirectional visual sensor, αo=tan-1[(b2+c2)sinγo-2bc]/(b2+c2)cosγo    (9)α o =tan −1 [(b 2 +c 2 )sinγ o −2bc]/(b 2 +c 2 )cosγ o (9) 其中,b是双曲面镜的虚轴的长度,c表示两个焦点之间的距离的二分之一;Wherein, b is the length of the imaginary axis of the hyperbolic mirror, and c represents one-half of the distance between the two focal points; 折反射角γo与成像平面上的一个点(x,y)存在着公式(10)所示的函数关系,There is a functional relationship between the refraction angle γ o and a point (x, y) on the imaging plane as shown in formula (10), γγ 00 == tanthe tan -- 11 [[ ff // (( xx 22 ++ ythe y 22 )) ]] -- -- -- (( 1010 )) f表示成像平面到双曲面镜的虚焦点的距离;f represents the distance from the imaging plane to the virtual focus of the hyperbolic mirror; 通过公式(9)和(10)可得到成像平面上的一个点(x,y)与入射角αo之间的函数关系;The functional relationship between a point (x, y) on the imaging plane and the angle of incidence α o can be obtained by formulas (9) and (10); 距离计算单元,用于利用公式(11)~(14)分别计算空间物点与全方位视觉传感器的实焦点Om的距离R1、空间物点与全景彩色结构光发送单元的实焦点Op的距离R2、空间物点与中央眼的距离R以及空间物点的入射角φ,The distance calculation unit is used to calculate the distance R1 between the space object point and the real focus O m of the omnidirectional visual sensor, and the distance R1 between the space object point and the real focus O p of the panoramic color structured light sending unit by using formulas (11) to (14). The distance R2, the distance R between the space object point and the central eye, and the incident angle φ of the space object point, RR 11 == Oo mm AA ‾‾ == coscos (( αα oo )) sinsin (( αα oo ++ αα pp )) BB -- -- -- (( 1111 )) RR 22 == Oo pp AA ‾‾ == coscos (( αα pp )) sinsin (( αα oo ++ αα pp )) BB -- -- -- (( 1212 )) RR == OAOA ‾‾ == RR 22 22 ++ (( BB // 22 )) 22 -- 22 RR 22 (( BB // 22 )) coscos (( αα pp ++ 9090 )) -- -- -- (( 1313 )) == BB [[ coscos (( αα pp )) sinsin (( αα oo ++ αα pp )) ]] 22 ++ 0.250.25 ++ coscos (( αα pp )) sinsin (( αα oo ++ αα pp )) sinsin (( αα pp )) φφ == arcsinarcsin [[ BB 22 RR coscos (( αα oo )) ]] -- -- -- (( 1414 )) 式中:B为基线距,αo为入射角,αp为折射角,R1为物点A与全方位视觉传感器的实焦点Om的距离,R2为物点A与全景彩色结构光发生器的实焦点Op的距离,R为物点A与中央眼的距离,φ为空间物点相对于中央眼的入射角。In the formula: B is the baseline distance, α o is the angle of incidence, α p is the refraction angle, R1 is the distance between the object point A and the real focus O m of the omnidirectional vision sensor, R2 is the distance between the object point A and the panoramic color structured light generator The distance of the real focal point Op of , R is the distance between the object point A and the central eye, and φ is the incident angle of the spatial object point relative to the central eye. 10.如权利要求9所述的基于全彩色全景LED光源的主动三维立体全景视觉传感器,其特征在于:在所述的空间信息计算单元中,设置一张光编码表来实现某一光波长λ与某一折射角αp之间存在的映射关系,一张入射角计算表来实现某一个点的坐标数据与该点所对应的入射角αo之间存在的映射关系,折射角αp、入射角αo计算采用查表方式实现;10. The active three-dimensional stereoscopic panoramic vision sensor based on full-color panoramic LED light source as claimed in claim 9, is characterized in that: in the described spatial information calculation unit, a light encoding table is set to realize a certain light wavelength λ The mapping relationship between the coordinate data of a certain point and the incident angle α o corresponding to the point is realized by an incident angle calculation table, the refraction angle α p , The calculation of incident angle α o is realized by look-up table; 首先按全方位视觉传感器的成像平面的点坐标顺序读取某一个点的波长λ值,以点坐标值检索入射角计算表得到该点所对应的入射角αo,接着以该点的光波长λ值检索光编码表得到该光波长λ所对应的折射角αp;最后利用公式(11)或者公式(12)或者公式(13)计算得到空间上某一点的距离信息。First read the wavelength λ value of a certain point according to the point coordinates of the imaging plane of the omnidirectional vision sensor, retrieve the incident angle calculation table with the point coordinate value to obtain the incident angle α o corresponding to the point, and then use the light wavelength of the point The λ value retrieves the optical code table to obtain the refraction angle α p corresponding to the light wavelength λ; finally, the distance information of a certain point in space is calculated by using formula (11) or formula (12) or formula (13).
CN 200910101326 2009-07-30 2009-07-30 Active three-dimensional panoramic view vision sensor based on full color panoramic view LED light source Expired - Fee Related CN101619962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910101326 CN101619962B (en) 2009-07-30 2009-07-30 Active three-dimensional panoramic view vision sensor based on full color panoramic view LED light source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910101326 CN101619962B (en) 2009-07-30 2009-07-30 Active three-dimensional panoramic view vision sensor based on full color panoramic view LED light source

Publications (2)

Publication Number Publication Date
CN101619962A CN101619962A (en) 2010-01-06
CN101619962B true CN101619962B (en) 2011-03-09

Family

ID=41513313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910101326 Expired - Fee Related CN101619962B (en) 2009-07-30 2009-07-30 Active three-dimensional panoramic view vision sensor based on full color panoramic view LED light source

Country Status (1)

Country Link
CN (1) CN101619962B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101866056A (en) * 2010-05-28 2010-10-20 中国科学院合肥物质科学研究院 Three-dimensional imaging method and system based on LED array common lens TOF depth measurement
AT511924A1 (en) * 2011-09-09 2013-03-15 Christof Dipl Ing Fh Huemer PHOTO AUTOMAT AND DEVICE FOR RECORDING AN OMNIDIRECTIONAL IMAGE
US9239389B2 (en) * 2011-09-28 2016-01-19 Samsung Electronics Co., Ltd. Obstacle sensor and robot cleaner having the same
CN102980513B (en) * 2012-11-02 2016-01-20 浙江工业大学 Monocular full-view stereo vision sensor centered by thing
CN103064244B (en) * 2013-01-07 2016-04-06 浙江大学 Based on true color 360 ° of three-dimensional display apparatus and the method for high-speed projector
CN104374374B (en) * 2014-11-11 2017-07-07 浙江工业大学 3D environment dubbing system and 3D panoramas display method for drafting based on active panoramic vision
US10178374B2 (en) * 2015-04-03 2019-01-08 Microsoft Technology Licensing, Llc Depth imaging of a surrounding environment
CN105023270A (en) * 2015-05-29 2015-11-04 汤一平 Proactive 3D stereoscopic panorama visual sensor for monitoring underground infrastructure structure
CN107084671B (en) * 2017-02-24 2019-07-16 浙江大学 A concave sphere diameter measurement system and measurement method based on three-line structured light
CN110345863A (en) * 2018-04-01 2019-10-18 深圳慎始科技有限公司 A kind of solid state annular three-dimensional imaging device
JP7043375B2 (en) * 2018-09-18 2022-03-29 株式会社日立製作所 Stereo camera, in-vehicle lighting unit, and stereo camera system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804720A (en) * 2005-01-12 2006-07-19 中国科学院沈阳自动化研究所 Omnidirectional stereoscopic vision imaging method and device
CN101408422A (en) * 2008-10-16 2009-04-15 浙江工业大学 Traffic accident on-site mapper based on binocular tridimensional all-directional vision

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804720A (en) * 2005-01-12 2006-07-19 中国科学院沈阳自动化研究所 Omnidirectional stereoscopic vision imaging method and device
CN101408422A (en) * 2008-10-16 2009-04-15 浙江工业大学 Traffic accident on-site mapper based on binocular tridimensional all-directional vision

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开平11-95344A 1999.04.09

Also Published As

Publication number Publication date
CN101619962A (en) 2010-01-06

Similar Documents

Publication Publication Date Title
CN101619962B (en) Active three-dimensional panoramic view vision sensor based on full color panoramic view LED light source
CN101487703B (en) Fast Panoramic Stereo Camera Measuring Device
CN101655347B (en) Active 3D Stereo Omnidirectional Vision Sensor Based on Laser Diode Light Source
US10466036B2 (en) Attachable depth and orientation tracker device and method of depth and orientation tracking using focal plane polarization and color camera
CN101308018B (en) Stereo vision measuring apparatus based on binocular omnidirectional visual sense sensor
US11612307B2 (en) Light field capture and rendering for head-mounted displays
CN105452895B (en) For being detected optically by the detector of at least one object
CN103245322B (en) A kind of distance-finding method based on binocular stereo vision and system
CN206892529U (en) Structured light generators
CN110470238A (en) A kind of hand-held laser 3 d scanner, scan method and device
CN101614947B (en) Color panoramic projective light source for initiative three-dimensional panoramic vision
JP2008026236A (en) Position and attitude measuring instrument, and position and attitude measuring method
CN104567818B (en) A kind of portable round-the-clock actively panoramic vision sensor
CN105004324B (en) A kind of monocular vision sensor with range of triangle function
CN107072498A (en) Image processing apparatus, range-measurement system and endoscopic system
US20210203911A1 (en) Light Field Imaging System by Projecting Near-Infrared Spot in Remote Sensing Based on Multifocal Microlens Array
CN101776452A (en) Active three-dimensional omnidirectional vision-based river width measuring device
WO2022134938A1 (en) Binocular sensor visual measurement probe and binocular sensor
CN109188358B (en) High-precision visible light positioning method based on imaging sensor
CN109709661A (en) A cylindrical structured light projection device based on a panoramic annular belt projection objective lens
CN213126269U (en) Structured light generator and depth data measuring head
CN106568420A (en) Indoor visible light-based positioning method and system
CN111862170A (en) Optical motion capture system and method
CN216621031U (en) An omnidirectional three-dimensional scanning system
CN212256370U (en) Optical motion capture system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110309

Termination date: 20130730