CN104392045B - A kind of real time enhancing virtual reality system and method based on intelligent mobile terminal - Google Patents

A kind of real time enhancing virtual reality system and method based on intelligent mobile terminal Download PDF

Info

Publication number
CN104392045B
CN104392045B CN201410688094.6A CN201410688094A CN104392045B CN 104392045 B CN104392045 B CN 104392045B CN 201410688094 A CN201410688094 A CN 201410688094A CN 104392045 B CN104392045 B CN 104392045B
Authority
CN
China
Prior art keywords
information
rgb
virtual reality
dimensional
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410688094.6A
Other languages
Chinese (zh)
Other versions
CN104392045A (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.)
Shenyang Jianzhu University
Original Assignee
Shenyang Jianzhu University
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 Shenyang Jianzhu University filed Critical Shenyang Jianzhu University
Priority to CN201410688094.6A priority Critical patent/CN104392045B/en
Publication of CN104392045A publication Critical patent/CN104392045A/en
Application granted granted Critical
Publication of CN104392045B publication Critical patent/CN104392045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

本发明涉及一种基于智能移动终端的实时增强虚拟现实系统及方法,包括:处理器、深度信息采集卡、RGB信息采集卡、存储单元以及显示屏,利用深度信息采集卡获得客观环境的三维深度信息;利用RGB信息采集卡获得客观环境基本信息;将上述三维深度信息和客观环境基本信息输入处理器进行处理,创建客观世界的三维模型;将处理的结果数据即客观世界的三维模型数据存储在存储单元中;利用接口电路进行增强虚拟现实的显示,实现人机交互。本发明系统设计合理,结构简单,实时性高,所需设备少,场景信息丢失少,可操作性强,应用范围广,成本较低等,能使用户真正体会到增强虚拟现实给人们带了的无穷魅力,构建的三维模型与实际客观环境模型误差小。

The invention relates to a real-time augmented virtual reality system and method based on an intelligent mobile terminal, comprising: a processor, a depth information acquisition card, an RGB information acquisition card, a storage unit and a display screen, and the depth information acquisition card is used to obtain the three-dimensional depth of the objective environment information; use the RGB information acquisition card to obtain the basic information of the objective environment; input the above-mentioned three-dimensional depth information and the basic information of the objective environment into the processor for processing, and create a three-dimensional model of the objective world; store the result data of the processing, that is, the three-dimensional model data of the objective world in In the storage unit; the interface circuit is used to display the augmented virtual reality to realize human-computer interaction. The system of the present invention has reasonable design, simple structure, high real-time performance, less equipment required, less loss of scene information, strong operability, wide application range, low cost, etc., enabling users to truly appreciate the benefits that augmented virtual reality brings to people. Infinite charm, the error between the constructed 3D model and the actual objective environment model is small.

Description

一种基于智能移动终端的实时增强虚拟现实系统及方法A real-time augmented virtual reality system and method based on an intelligent mobile terminal

技术领域technical field

本发明涉及一种虚拟现实系统生成技术,具体的说是一种基于智能移动终端的实时增强虚拟现实系统及方法。The invention relates to a generation technology of a virtual reality system, in particular to a real-time augmented virtual reality system and method based on an intelligent mobile terminal.

背景技术Background technique

增强现实技术(Augmented Reality,AR),是通过电脑技术将虚拟的信息应用到真实世界,真实的环境和虚拟的物体实时地叠加到了同一个画面或空间同时存在。增强现实提供了生成一种逼真的视、听、力、触和动等感觉的虚拟环境,不同于人类可以感知的信息。它不仅展现了真实世界的信息,而且将虚拟的信息同时显示出来,两种信息相互补充、叠加。增强现实借助计算机图形技术和可视化技术产生现实环境中不存在的虚拟对象,并通过传感技术将虚拟对象有机融入真实环境中,借助显示设备将虚拟对象与真实环境融为一体,实现用户和环境直接进行自然交互。它是一种全新的人机交互技术,利用这样一种技术,可以模拟真实的现场景观,它是以交互性和构想为基本特征的计算机高级人机界面。使用者不仅能够通过虚拟现实系统感受到在客观物理世界中所经历的“身临其境”的逼真性,而且能够突破空间、时间以及其它客观限制,感受到在真实世界中无法亲身经历的体验。因此,AR具有三个基本要素,即现实与虚拟的结合、实时互动和三维定位。Augmented reality technology (Augmented Reality, AR) is to apply virtual information to the real world through computer technology. The real environment and virtual objects are superimposed on the same picture or space in real time and exist simultaneously. Augmented reality provides a virtual environment that generates a realistic sense of sight, hearing, force, touch and movement, which is different from the information that humans can perceive. It not only shows the information of the real world, but also displays the virtual information at the same time, and the two kinds of information complement and superimpose each other. Augmented reality uses computer graphics technology and visualization technology to generate virtual objects that do not exist in the real environment, and organically integrates virtual objects into the real environment through sensing technology. Direct natural interaction. It is a brand-new human-computer interaction technology. Using such a technology, it can simulate the real on-site landscape. It is an advanced computer human-computer interface with interactivity and conception as its basic features. Users can not only feel the "immersive" realism experienced in the objective physical world through the virtual reality system, but also break through space, time and other objective constraints, and experience experiences that cannot be experienced in the real world. . Therefore, AR has three basic elements, namely the combination of reality and virtuality, real-time interaction and three-dimensional positioning.

要达到AR的虚实结合,用户需要通过某种装置来观看。目前流行的技术主要有透明装置和不透明装置两类,前者是利用透明装置,如3D眼镜和3D投影等装置,将虚拟影像投影到装置上,使用户感受增强虚拟现实的场景,但需要多个特殊设备配合使用,使用的场所、环境等都受到限制,已经逐渐不能满足人们随时随地进行增强虚拟现实要求的需要;后者是利用计算机等处理器将处理好的已经虚拟现实结合的影像,如智能手机、平板电脑等智能移动终端。由于智能移动终端具有复杂计算能力、录影、影像显示,还有GPS、网路连线、触控、倾斜度侦测等的多项功能,价格也逐渐降低,于是在智能移动终端为平台的AR研究越来越多。To achieve the combination of virtual reality and reality in AR, users need to use some kind of device to watch. Currently popular technologies mainly include transparent devices and opaque devices. The former uses transparent devices, such as 3D glasses and 3D projection devices, to project virtual images onto the device, allowing users to experience the scene of augmented virtual reality, but requires multiple Special equipment is used in conjunction with limited places and environments, which have gradually failed to meet people's needs for augmented virtual reality anytime and anywhere; Intelligent mobile terminals such as smartphones and tablets. Since smart mobile terminals have complex computing capabilities, video recording, image display, and multiple functions such as GPS, network connection, touch control, and inclination detection, the price is gradually reduced. There are more and more studies.

目前基于不透明装置的增强虚拟现实技术主流方法是通过图像视频采集卡进行客观环境信息的采集,主要有单目、双目和多目摄像机进行同一场景的采集,然后利用图像处理技术对不同摄像机采集到的同一场景进行特征提取,再利用特征匹配等算法进行场景匹配,得到客观环境的三维信息,进行三维重建得到客观环境的三维模型,最后再进行增强虚拟现实的实现。这样的方法缺点是:计算量巨大,需要进行大量的云数据处理与计算,三维信息的获取对于处理器的能力要求非常高,且该方法几乎不能进行实时三维建模,且在场景特征提取和三维重构过程中要丢失很多客观环境中有用的信息。At present, the mainstream method of augmented virtual reality technology based on opaque devices is to collect objective environmental information through image and video acquisition cards. The feature extraction of the same scene is carried out, and then the feature matching algorithm is used for scene matching to obtain the 3D information of the objective environment, and the 3D reconstruction is carried out to obtain the 3D model of the objective environment, and finally the augmented virtual reality is realized. The disadvantages of this method are: the amount of calculation is huge, and a large amount of cloud data processing and calculation is required. The acquisition of 3D information requires a very high processor capability, and this method can hardly perform real-time 3D modeling, and it is difficult to achieve real-time 3D modeling in scene features. In the process of 3D reconstruction, a lot of useful information in the objective environment will be lost.

为了进行实时三维模型建立,本发明采用RGB+D模型进行三维模型构建,直接利用深度信息采集卡获取客观环境的三维深度信息(Depth Information),利用CCD视频图像采集卡获取客观环境的基本信息(如色彩(RGB,Red,Green and Blue)、纹理信息、灰度信息和强度信息等),这样将客观环境信息中的三维深度信息的计算从处理器中解放出来,大大提高了增强虚拟现实的实时性。In order to establish a real-time three-dimensional model, the present invention adopts the RGB+D model to construct the three-dimensional model, directly uses the depth information acquisition card to obtain the three-dimensional depth information (Depth Information) of the objective environment, and uses the CCD video image acquisition card to obtain the basic information of the objective environment ( Such as color (RGB, Red, Green and Blue), texture information, grayscale information and intensity information, etc.), which liberates the calculation of three-dimensional depth information in the objective environment information from the processor, greatly improving the performance of augmented virtual reality. real-time.

在增强现实的环境中,使用者可以在看到周围真实环境的同时,还可以看到计算机产生的增强信息。由于增强现实在虚拟现实与真实世界之间的沟壑上架起了一座桥梁,因此,增强现实的应用潜力是相当巨大的,它可以广泛应用于智能机器人导航与避障、军事、模式驾驶、三维导航、医学、制造与维修、游戏与娱乐等众多领域。In an augmented reality environment, users can see computer-generated augmented information while seeing the real environment around them. Since augmented reality bridges the gap between virtual reality and the real world, the application potential of augmented reality is quite huge, and it can be widely used in intelligent robot navigation and obstacle avoidance, military, model driving, three-dimensional navigation , medicine, manufacturing and maintenance, games and entertainment and many other fields.

发明内容Contents of the invention

针对现有技术中三维信息的获取及计算对于处理器的能力要求非常高且、几乎不能进行实时三维建模,且在场景特征提取和三维重构过程中会丢失很多客观环境中有用的信息等不足,本发明要解决的技术问题是提供一种可将客观环境信息中的三维深度信息的计算从处理器中解放出来,大大提高增强虚拟现实的实时性的基于智能移动终端的实时增强虚拟现实系统及方法。The acquisition and calculation of 3D information in the prior art requires very high processor capabilities and it is almost impossible to perform real-time 3D modeling, and a lot of useful information in the objective environment will be lost in the process of scene feature extraction and 3D reconstruction. Insufficient, the technical problem to be solved in the present invention is to provide a kind of real-time augmented virtual reality based on intelligent mobile terminal that can liberate the calculation of the three-dimensional depth information in the objective environment information from the processor and greatly improve the real-time performance of augmented virtual reality. systems and methods.

为解决上述技术问题,本发明采用的技术方案是:In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is:

本发明一种基于智能移动终端的实时增强虚拟现实系统包括:A kind of real-time augmented virtual reality system based on intelligent mobile terminal of the present invention comprises:

处理器、深度信息采集卡、RGB信息采集卡、存储单元以及显示屏,其中处理器接收由深度信息采集卡和RGB信息采集卡采集的客观环境的三维深度信息和客观环境基本信息进行处理、三维模型构建,将处理的结果数据存储至存储单元中;处理器通过接口电路连接显示屏。Processor, depth information acquisition card, RGB information acquisition card, storage unit, and display screen, wherein the processor receives the 3D depth information of the objective environment collected by the depth information acquisition card and the RGB information acquisition card and processes the basic information of the objective environment. The model is built, and the processed result data is stored in the storage unit; the processor is connected to the display screen through the interface circuit.

所述深度信息采集卡为具有深度信息直接运算能力的摄像头,能够直接读取客观环境的三维深度信息。The depth information acquisition card is a camera capable of directly computing depth information, and can directly read 3D depth information of an objective environment.

本发明一种基于智能移动终端的实时增强虚拟现实方法包括以下步骤:A kind of real-time augmented virtual reality method based on intelligent mobile terminal of the present invention comprises the following steps:

利用深度信息采集卡获得客观环境的三维深度信息;Use the depth information acquisition card to obtain the three-dimensional depth information of the objective environment;

利用RGB信息采集卡获得客观环境基本信息;Use the RGB information acquisition card to obtain the basic information of the objective environment;

将上述三维深度信息和客观环境基本信息输入处理器进行处理,创建客观世界的三维模型;Input the above-mentioned 3D depth information and basic information of the objective environment into the processor for processing, and create a 3D model of the objective world;

将处理的结果数据即客观世界的三维模型数据存储在存储单元中;storing the processed result data, that is, the three-dimensional model data of the objective world in the storage unit;

利用接口电路进行增强虚拟现实的显示,实现人机交互。The interface circuit is used to display the augmented virtual reality to realize human-computer interaction.

创建客观世界的三维模型包括以下步骤:Creating a 3D model of the objective world includes the following steps:

信息滤波:对三维深度信息和客观环境基本信息即RGB+D图像即同时进行滤波,去除噪声图像;Information filtering: filter the three-dimensional depth information and the basic information of the objective environment, that is, the RGB+D image at the same time, and remove the noise image;

信息的跟踪算法:基于去噪后的RGB+ D信息的全部信息进行下一图像的估计;Information tracking algorithm: estimate the next image based on all the information of the denoised RGB+D information;

基于RGB+ D信息的三维重构:利用三维世界信息的估计参数和典型的三角拼接法对进行插值拼接,得到最终的客观世界三维模型。3D reconstruction based on RGB+D information: using estimated parameters of 3D world information and typical triangle mosaic method to pair Perform interpolation and splicing to obtain the final 3D model of the objective world.

对RGB+D图像同时进行滤波通过以下公式实现:Simultaneous filtering of RGB+D images is achieved by the following formula:

(1) (1)

其中,为滤波去噪后的RGB+D图像;为图像像素的邻域,为滤波器的权重系数;为含噪声的RGB+D图像,m,n分别为邻域中每一点的坐标值。in, is the RGB+D image after filtering and denoising; for image pixels neighborhood, is the weight coefficient of the filter; is a noise-containing RGB+D image, m , n are neighbors respectively The coordinate value of each point in .

采用典型高斯滤波器,即Using a typical Gaussian filter, that is

(2) (2)

其中,为图像每个像素点坐标,为滤波器在像素点采用邻域的集合,为高斯函数的标准差。in, is the coordinates of each pixel in the image, for the filter in pixels adopt neighborhood collection of is the standard deviation of the Gaussian function.

对于去噪后的三维世界信息的全部信息进行下一图像的估计为:For all the information of the denoised 3D world information, the estimation of the next image is:

采用极大似然估计,即Using maximum likelihood estimation, that is

(3) (3)

式中, (4)In the formula, (4)

(5) (5)

其中,为当前RGB+D图像;为估计新RGB+D图像;为当前图像和估计图像的李群代数算子;为图像元素,为位姿估计模型;为深度信息采集卡获取的深度信息;的标准差;为范数,且定义in, is the current RGB+D image; To estimate the new RGB+D image; is the Lie group algebraic operator of the current image and the estimated image; for image elements, ; is the pose estimation model; Depth information acquired for the depth information acquisition card; for standard deviation of is a norm, and defines

(6) (6)

其中,为参数,s为变量,式中,in, is a parameter, s is a variable, where, .

通过以下公式进行基于RGB+ D信息的三维重构:The 3D reconstruction based on RGB+D information is performed by the following formula:

(7) (7)

其中,(p)为三维重构的最小单元;为能量函数,且满足最小;为智能移动终端三维重构的地平面估计,这里采用简单的低通滤波器,即利用RGB+D信息的进行地平面估计;为能量函数的估计参数,的梯度,为RGB+D信息集合。in, ( p ) is the smallest unit of three-dimensional reconstruction; is an energy function, and Satisfy minimum; For the ground plane estimation of the three-dimensional reconstruction of the intelligent mobile terminal, a simple low-pass filter is used here, that is, the ground plane estimation is performed using RGB+D information; is the energy function The estimated parameters of for the gradient of It is a collection of RGB+D information.

本发明方法还包括以下步骤:The inventive method also comprises the following steps:

若移动终端的处理器的数据处理能力不足,则通过移动网络或者wifi将全部处理过程上传到网络服务器或者个人PC机中处理,然后将处理后得到的数据再通过移动网络或者wifi下载到移动智能终端。If the data processing capability of the processor of the mobile terminal is insufficient, upload the entire processing process to the network server or personal PC for processing through the mobile network or wifi, and then download the processed data to the mobile smart phone through the mobile network or wifi. terminal.

本发明方法还包括以下步骤:The inventive method also comprises the following steps:

若多个用户使用移动智能终端,则用户利用联网功能共享AR数据,多个用户在任何地点、任何时间享受增强虚拟现实的应用。If multiple users use mobile smart terminals, users can use the networking function to share AR data, and multiple users can enjoy augmented virtual reality applications at any place and any time.

本发明具有以下有益效果及优点:The present invention has the following beneficial effects and advantages:

1.本发明系统设计合理,结构简单,实时性高,所需设备少,可操作性强,应用范围广,成本较低等,能使用户真正体会到增强虚拟现实给人们带了的无穷魅力。1. The system of the present invention has reasonable design, simple structure, high real-time performance, less equipment required, strong operability, wide application range, low cost, etc., enabling users to truly experience the infinite charm that augmented virtual reality brings to people .

2. 本发明采用RGB+D模型进行三维模型构建,直接利用深度信息采集卡获取客观环境的三维深度信息(Depth Information),利用CCD视频图像采集卡获取客观环境的基本信息,将客观环境信息中的三维深度信息的计算从处理器中解放出来,实时性高,场景信息丢失少,构建的三维模型与实际客观环境模型误差小。2. The present invention uses the RGB+D model to construct a three-dimensional model, directly uses the depth information acquisition card to obtain the three-dimensional depth information (Depth Information) of the objective environment, uses the CCD video image acquisition card to obtain the basic information of the objective environment, and converts the objective environment information into The calculation of the 3D depth information is freed from the processor, with high real-time performance, less loss of scene information, and small errors between the constructed 3D model and the actual objective environment model.

3. 本发明可以广泛应用于智能机器人导航与避障、军事、模式驾驶、三维导航、医学、制造与维修、游戏与娱乐等众多领域。3. The present invention can be widely used in many fields such as intelligent robot navigation and obstacle avoidance, military affairs, model driving, three-dimensional navigation, medicine, manufacturing and maintenance, games and entertainment, etc.

附图说明Description of drawings

图1为本发明系统结构示意图;Fig. 1 is a schematic structural diagram of the system of the present invention;

图2为 基于智能移动终端的实时增强虚拟现实系统功能框图;Fig. 2 is a functional block diagram of a real-time augmented virtual reality system based on an intelligent mobile terminal;

图3为本发明方法主流程图;Fig. 3 is the main flowchart of the method of the present invention;

图4为本发明方法中三维重构算法流程图。Fig. 4 is a flowchart of the three-dimensional reconstruction algorithm in the method of the present invention.

其中,101为移动终端;102为处理器;103为存储单元;104为接口电路;105为RGB视频图像采集卡;106为深度信息采集卡;107为光源;108为显示屏。Among them, 101 is a mobile terminal; 102 is a processor; 103 is a storage unit; 104 is an interface circuit; 105 is an RGB video image acquisition card; 106 is a depth information acquisition card; 107 is a light source; 108 is a display screen.

具体实施方式detailed description

下面结合说明书附图对本发明作进一步阐述。The present invention will be further elaborated below in conjunction with the accompanying drawings of the description.

如图1、2所示,本发明基于智能移动终端的实时增强虚拟现实系统包括:处理器、深度信息采集卡、RGB信息采集卡、存储单元以及显示屏,其中处理器接收由深度采信息集卡和RGB信息采集卡采集的客观环境的三维深度信息和客观环境基本信息进行处理、三维模型构建,将处理的结果数据存储至存储单元中;处理器通过接口电路连接显示屏。As shown in Figures 1 and 2, the real-time augmented virtual reality system based on the intelligent mobile terminal of the present invention includes: a processor, a depth information acquisition card, an RGB information acquisition card, a storage unit, and a display screen, wherein the processor receives information collected by the depth The three-dimensional depth information and basic information of the objective environment collected by the RGB information acquisition card and the RGB information acquisition card are processed, the three-dimensional model is constructed, and the processed result data is stored in the storage unit; the processor is connected to the display screen through the interface circuit.

本实施例中,移动终端101可以是智能手机、平板电脑、掌上电脑等,处理器102、存储单元103、接口电路104采用智能终端的内部元件,本发明对数据处理和计算的能力要求不高,因此,目前大多数智能终端处理器的运算能力都达到要求。105为RGB视频图像采集卡,普通CCD式摄像头即可满足要求,深度信息采集卡106采用具有深度信息直接运算能力的Kinect摄像头,能够直接读取客观环境的三维深度信息。光源107用于补偿自然光线不足对客观环境信息的影响。In this embodiment, the mobile terminal 101 can be a smart phone, a tablet computer, a palmtop computer, etc., and the processor 102, the storage unit 103, and the interface circuit 104 adopt the internal components of the smart terminal, and the present invention does not require high data processing and computing capabilities. , therefore, the computing capability of most intelligent terminal processors can meet the requirement at present. 105 is an RGB video image acquisition card, and an ordinary CCD camera can meet the requirements. The depth information acquisition card 106 adopts a Kinect camera with direct calculation capability of depth information, which can directly read the three-dimensional depth information of the objective environment. The light source 107 is used to compensate the impact of insufficient natural light on objective environmental information.

本发明利用处理器102进行数据的计算处理,实时构建环境三维模型,且实现增强虚拟现实的应用,将处理的结果数据存储在存储单元103中,利用接口电路104进行增强虚拟现实的显示屏108,实现人机交互。The present invention utilizes the processor 102 to perform calculation and processing of data, builds a three-dimensional model of the environment in real time, and realizes the application of augmented virtual reality, stores the processed result data in the storage unit 103, and utilizes the interface circuit 104 to perform augmented virtual reality display 108 , to achieve human-computer interaction.

如图3所示,本发明一种基于智能移动终端的实时增强虚拟现实方法包括以下步骤:As shown in Figure 3, a kind of real-time augmented virtual reality method based on intelligent mobile terminal of the present invention comprises the following steps:

利用深度信息采集卡获得客观环境的三维深度信息;Use the depth information acquisition card to obtain the three-dimensional depth information of the objective environment;

利用RGB信息采集卡获得客观环境基本信息;Use the RGB information acquisition card to obtain the basic information of the objective environment;

将上述三维深度信息和客观环境基本信息输入处理器进行处理,创建客观世界的三维模型;Input the above-mentioned 3D depth information and basic information of the objective environment into the processor for processing, and create a 3D model of the objective world;

将处理的结果数据即客观世界的三维模型数据存储在存储单元中;storing the processed result data, that is, the three-dimensional model data of the objective world in the storage unit;

利用接口电路进行增强虚拟现实的显示,实现人机交互。The interface circuit is used to display the augmented virtual reality to realize human-computer interaction.

为了进行实时三维模型建立,本发明采用RGB+D模型进行三维模型构建,直接利用深度信息采集卡获取客观环境的三维深度信息(Depth Information),利用CCD视频图像采集卡获取客观环境的基本信息(如色彩(RGB,Red,Green and Blue)、纹理信息、灰度信息和强度信息等),这样将客观环境信息中的三维深度信息的计算从处理器中解放出来,提高了增强虚拟现实的实时性。In order to establish a real-time three-dimensional model, the present invention adopts the RGB+D model to construct the three-dimensional model, directly uses the depth information acquisition card to obtain the three-dimensional depth information (Depth Information) of the objective environment, and uses the CCD video image acquisition card to obtain the basic information of the objective environment ( Such as color (RGB, Red, Green and Blue), texture information, grayscale information and intensity information, etc.), which liberates the calculation of three-dimensional depth information in the objective environment information from the processor and improves the real-time performance of augmented virtual reality. sex.

本发明方法的主要步骤有:The main steps of the inventive method have:

步骤1:利用图2中深度信息采集卡和RGB信息采集卡获得三维世界信息,以后采用RGB+D来表示;Step 1: Use the depth information acquisition card and RGB information acquisition card in Figure 2 to obtain 3D world information, which will be represented by RGB+D in the future;

步骤2:将RGB+D信息输入智能移动终端处理器进行处理,对于由深度信息采集卡和RGB信息采集卡采集到的客观世界RGB+D信息进行处理,最终得到客观世界的三维模型,如图4所示:Step 2: Input the RGB+D information into the intelligent mobile terminal processor for processing, process the objective world RGB+D information collected by the depth information acquisition card and RGB information acquisition card, and finally obtain the 3D model of the objective world, as shown in the figure 4 shows:

(1)RGB+D信息滤波:对强度图像和深度图像同时进行滤波去噪:(1) RGB+D information filtering: filter and denoise the intensity image and depth image at the same time:

(1) (1)

其中,为滤波去噪后的RGB+D图像;为图像像素的邻域,为滤波器的权重系数;为含噪声RGB+D图像,为图像邻域的坐标集合,m,n分别为邻域中每一点的坐标值。这里采用典型高斯滤波器,即in, is the RGB+D image after filtering and denoising; for image pixels neighborhood, is the weight coefficient of the filter; is a noisy RGB+D image, for the image The coordinate set of the neighborhood, m and n are respectively the neighborhood The coordinate value of each point in . A typical Gaussian filter is used here, namely

(2) (2)

其中,为图像每个像素点坐标,为滤波器在像素点采用邻域的集合,为高斯函数的标准差。in, is the coordinates of each pixel in the image, for the filter in pixels adopt neighborhood collection of is the standard deviation of the Gaussian function.

(2)基于RGB+D的跟踪算法:利用深度信息采集卡、RGB信息采集卡采集到的当前图像RGB+D全部信息进行下一图像的估计,采用极大似然估计,即(2) Tracking algorithm based on RGB+D: use all the RGB+D information of the current image collected by the depth information acquisition card and RGB information acquisition card to estimate the next image, and use the maximum likelihood estimation, that is,

(3) (3)

式中, (4)In the formula, (4)

(5) (5)

其中,为当前RGB+D图像;为估计新RGB+D图像;为当前图像和估计图像的李群代数算子;为图像元素,为RGB+D图像的信息集合,即为位姿估计模型;为深度信息采集卡获取的深度信息;的标准差;为范数,且定义in, is the current RGB+D image; To estimate the new RGB+D image; is the Lie group algebraic operator of the current image and the estimated image; for image elements, is the information set of RGB+D image, namely ; is the pose estimation model; Depth information acquired for the depth information acquisition card; for standard deviation of is a norm, and defines

(6) (6)

其中,为参数,s为变量,式中, in, is a parameter, s is a variable, where,

通过上述算法,可以估计出采集卡深度信息采集卡、RGB信息采集卡实时获得的客观世界视频帧是否为关键帧,如果是关键帧,则将该帧RGB+D图像更新到三维重构模型中,如果不是关键帧,则重新跟踪,直到捕捉到关键帧,最后,本发明是利用深度信息采集卡、RGB信息采集卡捕捉到的客观世界关键帧进行三维模型重构,而关键帧中包含的是全部客观世界信息,即RGB+D信息,进而保证客观世界重构三维模型信息完整性。这样,利用本算法可以估计客观世界的三维信息,其特征在于采用客观世界的全部信息,且没有进行特征提取和特征匹配,包含了客观世界中的所有信息,其运算效率高,实时性高,而现在流行的算法是基于图像特征,这需要对图像进行特征提取、特征匹配等过程,其缺点是运算量大、效率低、实时性差,另外在特征提取过程中会丢失很多客观世界信息。Through the above algorithm, it can be estimated whether the video frame of the objective world obtained in real time by the depth information acquisition card and RGB information acquisition card of the acquisition card is a key frame, and if it is a key frame, update the RGB+D image of this frame to the 3D reconstruction model , if it is not a key frame, then re-track until the key frame is captured. Finally, the present invention uses the key frames of the objective world captured by the depth information acquisition card and the RGB information acquisition card to reconstruct the 3D model, and the key frame contains It is all objective world information, that is, RGB+D information, thereby ensuring the integrity of the reconstructed 3D model information in the objective world. In this way, the three-dimensional information of the objective world can be estimated by using this algorithm, which is characterized in that all the information of the objective world is used, and no feature extraction and feature matching are performed, and all information in the objective world is included. It has high computing efficiency and high real-time performance. The current popular algorithms are based on image features, which require feature extraction, feature matching and other processes on the image. The disadvantages are large amount of calculation, low efficiency, and poor real-time performance. In addition, a lot of objective world information will be lost in the process of feature extraction.

(3)基于RGB+D信息的三维重构算法:(3) 3D reconstruction algorithm based on RGB+D information:

(7) (7)

其中,为三维重构的最小单元;为能量函数,且满足最小;为智能移动终端三维重构的地平面估计,这里采用简单的低通滤波器,即利用RGB+D信息的进行估计地平面估计;为为能量函数的估计参数,的梯度,为RGB+D信息集合。in, The smallest unit for three-dimensional reconstruction; is an energy function, and Satisfy minimum; For the ground plane estimation of the three-dimensional reconstruction of the intelligent mobile terminal, a simple low-pass filter is used here, that is, the ground plane estimation is estimated by using RGB+D information; is the energy function The estimated parameters of for the gradient of It is a collection of RGB+D information.

最后利用典型的三角拼接法对进行插值拼接,得到最终的三维客观世界模型。Finally, using the typical triangle splicing method to Interpolation and splicing are performed to obtain the final 3D objective world model.

步骤3:将基于步骤1、2处理后得到的数据可以存储于存储单元。Step 3: The data obtained after processing based on steps 1 and 2 can be stored in the storage unit.

步骤4:将基于智能移动终端的实时增强虚拟现实应用在智能移动终端显示屏进行显示。Step 4: Display the real-time augmented virtual reality application based on the smart mobile terminal on the display screen of the smart mobile terminal.

若移动终端的处理器的数据处理能力不足,则可以通过移动网络或者wifi将步骤1、2、3的处理过程上传到网络服务器或者个人PC机中处理,然后将处理后得到的数据再通过移动网络或者wifi下载到移动智能终端,这样可以提高系统的数据处理能力,如图2中的扩展存储单元和扩展处理器(如网络服务器或PC机)所示。If the data processing capacity of the processor of the mobile terminal is insufficient, the processing process of steps 1, 2, and 3 can be uploaded to the network server or personal PC for processing through the mobile network or wifi, and then the processed data can be processed through the mobile terminal. The network or wifi is downloaded to the mobile intelligent terminal, which can improve the data processing capability of the system, as shown in the extended storage unit and extended processor (such as a network server or PC) in Figure 2.

若移动智能终端的存储单元容量有限,则将数据处理结果通过移动网络或者wifi上传到扩展存储单元中,提高信息存储容量。If the capacity of the storage unit of the mobile intelligent terminal is limited, the data processing result is uploaded to the extended storage unit through the mobile network or wifi to increase the information storage capacity.

若多个用户的移动智能终端,则用户可以利用联网功能共享AR数据,这样,多个用户可以在任何地点,任何时间享受增强虚拟现实的应用。If multiple users have mobile smart terminals, users can use the networking function to share AR data, so that multiple users can enjoy augmented virtual reality applications at any place and any time.

Claims (5)

1. A real-time augmented virtual reality method based on an intelligent mobile terminal is characterized by comprising the following steps:
acquiring three-dimensional depth information of an objective environment by using a depth information acquisition card;
obtaining basic information of an objective environment by using an RGB information acquisition card;
inputting the three-dimensional depth information and the basic information of the objective environment into a processor for processing, and creating a three-dimensional model of an objective world;
storing the processed result data, namely the three-dimensional model data of the objective world, in a storage unit;
the interface circuit is used for displaying the augmented virtual reality to realize human-computer interaction;
creating a three-dimensional model of an objective world includes the steps of:
information filtering: filtering the three-dimensional depth information and the basic information of the objective environment, namely RGB + D images, simultaneously to remove noise images;
information tracking algorithm: estimating the next image based on all the denoised RGB + D information;
three-dimensional reconstruction based on RGB + D information: carrying out interpolation splicing on the minimum unit of the three-dimensional reconstruction by utilizing the estimation parameters of the three-dimensional world information and a typical triangular splicing method to obtain a final objective world three-dimensional model;
the simultaneous filtering of the RGB + D image is achieved by the following formula:
wherein, I' (x, y) is an RGB + D image after filtering and denoising; epsilon is the neighborhood of the image pixel (x, y), and w (m, n) is the weight coefficient of the filter; i (m, n) is an RGB + D image containing noise, and m, n are coordinate values of each point in a neighborhood epsilon respectively;
three-dimensional reconstruction based on RGB + D information is performed by the following formula:
wherein u (p) is the minimum unit of three-dimensional reconstruction,in the form of a picture element or a picture element,e (u) is an energy function, and u satisfies Emin (u); pi (p) is the ground plane estimation of the three-dimensional reconstruction of the intelligent mobile terminal, and a simple low-pass filter is adopted, namely the ground plane estimation is carried out by utilizing RGB + D informationα and VπFor the estimated parameters of the energy function E (u),is a gradient of u, ΩDIs the RGB + D information set.
2. The real-time augmented virtual reality method based on intelligent mobile terminal according to claim 1,
the method is characterized in that: using a classical Gaussian filter, i.e.
Wherein, (x, y) is the coordinate of each pixel point of the image, (m, n) is the set of neighborhood epsilon adopted by the filter at the pixel point (x, y), and sigma is2Is the standard deviation of the gaussian function.
3. The real-time augmented virtual reality method based on the intelligent mobile terminal according to claim 1, characterized in that: and estimating the next image of all the denoised three-dimensional world information as follows:
using maximum likelihood estimation, i.e.
In the formula, rp(p,ξj,i)=Ii(p)-Ij(ω(p,Di(p),ξj,i)) (4)
Wherein, IiIs the current RGB + D image; i isjfor new estimation of RGB + D image ξj,iLie group algebra operators for the current image and the estimated image;in the form of a picture element or a picture element,omega is a pose estimation model; diDepth information acquired by a depth information acquisition card; viIs DiStandard deviation of (d); i | · | purple windδIs a norm, and defines
Wherein, delta is a parameter, s is a variable, in the formula,
4. the real-time augmented virtual reality method based on the intelligent mobile terminal according to claim 1, characterized in that: further comprising the steps of:
if the data processing capacity of the processor of the mobile terminal is insufficient, the whole processing process is uploaded to a network server or a personal computer for processing through a mobile network or wifi, and then the processed data is downloaded to the mobile intelligent terminal through the mobile network or wifi.
5. The real-time augmented virtual reality method based on the intelligent mobile terminal according to claim 1, characterized in that: further comprising the steps of:
if a plurality of users use the mobile intelligent terminal, the users share the AR data by using the networking function, and the plurality of users enjoy the application of the augmented virtual reality at any place and any time.
CN201410688094.6A 2014-11-25 2014-11-25 A kind of real time enhancing virtual reality system and method based on intelligent mobile terminal Active CN104392045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410688094.6A CN104392045B (en) 2014-11-25 2014-11-25 A kind of real time enhancing virtual reality system and method based on intelligent mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410688094.6A CN104392045B (en) 2014-11-25 2014-11-25 A kind of real time enhancing virtual reality system and method based on intelligent mobile terminal

Publications (2)

Publication Number Publication Date
CN104392045A CN104392045A (en) 2015-03-04
CN104392045B true CN104392045B (en) 2018-01-09

Family

ID=52609948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410688094.6A Active CN104392045B (en) 2014-11-25 2014-11-25 A kind of real time enhancing virtual reality system and method based on intelligent mobile terminal

Country Status (1)

Country Link
CN (1) CN104392045B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105093522B (en) * 2015-07-08 2017-10-24 清华大学 Binocular based on phase turns many mesh virtual view synthetic methods
EP3338251B1 (en) * 2015-08-18 2023-01-25 Magic Leap, Inc. Virtual and augmented reality systems and methods
CN106095114A (en) * 2016-06-29 2016-11-09 宁波市电力设计院有限公司 Electric power industry based on VR technology expands engineering aid system and method for work thereof
CN106355647A (en) * 2016-08-25 2017-01-25 北京暴风魔镜科技有限公司 Augmented reality system and method
CN106371609A (en) * 2016-09-21 2017-02-01 平越 VR (virtual reality) entertainment system with time-length markers and method thereof
CN106485782A (en) * 2016-09-30 2017-03-08 珠海市魅族科技有限公司 Method and device that a kind of reality scene is shown in virtual scene
CN108109207B (en) * 2016-11-24 2021-11-05 深圳市豪恩安全科技有限公司 Visual three-dimensional modeling method and system
US10452133B2 (en) * 2016-12-12 2019-10-22 Microsoft Technology Licensing, Llc Interacting with an environment using a parent device and at least one companion device
CN110741327B (en) * 2017-04-14 2023-06-23 广州千藤文化传播有限公司 Mud toy system and method based on augmented reality and digital image processing
CN107343192A (en) * 2017-07-20 2017-11-10 武汉市陆刻科技有限公司 A kind of 3D solids interpolation model and VR mobile terminal interaction methods and system
CN107441706A (en) * 2017-08-17 2017-12-08 安徽迪万科技有限公司 The sense of reality scene of game constructing system that virtual reality is combined with oblique photograph
CN109922331B (en) * 2019-01-15 2021-12-07 浙江舜宇光学有限公司 Image processing method and device
CN110266939B (en) * 2019-05-27 2022-04-22 联想(上海)信息技术有限公司 Display method, electronic device, and storage medium
CN110267029A (en) * 2019-07-22 2019-09-20 广州铭维软件有限公司 A kind of long-range holographic personage's display technology based on AR glasses

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103035135A (en) * 2012-11-27 2013-04-10 北京航空航天大学 Children cognitive system based on augment reality technology and cognitive method
CN103106604A (en) * 2013-01-23 2013-05-15 东华大学 Three dimensional (3D) virtual fitting method based on somatosensory technology

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012054231A2 (en) * 2010-10-04 2012-04-26 Gerard Dirk Smits System and method for 3-d projection and enhancements for interactivity

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103035135A (en) * 2012-11-27 2013-04-10 北京航空航天大学 Children cognitive system based on augment reality technology and cognitive method
CN103106604A (en) * 2013-01-23 2013-05-15 东华大学 Three dimensional (3D) virtual fitting method based on somatosensory technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Kinect深度信息的实时三维重建和滤波算法研究;陈晓明;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130715;I138-1107页 *

Also Published As

Publication number Publication date
CN104392045A (en) 2015-03-04

Similar Documents

Publication Publication Date Title
CN104392045B (en) A kind of real time enhancing virtual reality system and method based on intelligent mobile terminal
CN104504671B (en) Method for generating virtual-real fusion image for stereo display
WO2019005999A1 (en) Method and system for performing simultaneous localization and mapping using convolutional image transformation
Girbacia et al. Virtual restoration of deteriorated religious heritage objects using augmented reality technologies
WO2016114930A2 (en) Systems and methods for augmented reality art creation
CN106101689A (en) Utilize the method that mobile phone monocular cam carries out augmented reality to virtual reality glasses
CN115690382B (en) Training method of deep learning model, and method and device for generating panorama
CN113220251B (en) Object display method, device, electronic equipment and storage medium
CN105898271A (en) 360-degree panoramic video playing method, playing module and mobile terminal
CN116917949A (en) Modeling objects from monocular camera output
CN112766215B (en) Face image processing method and device, electronic equipment and storage medium
CN108230384A (en) Picture depth computational methods, device, storage medium and electronic equipment
WO2017029679A1 (en) Interactive 3d map with vibrant street view
Zhu et al. SAVE: shared augmented virtual environment for real-time mixed reality applications
WO2011123710A1 (en) Synthesizing panoramic three-dimensional images
WO2021151380A1 (en) Method for rendering virtual object based on illumination estimation, method for training neural network, and related products
CN117689826A (en) Three-dimensional model construction and rendering method, device, equipment and medium
CN113870439A (en) Method, apparatus, device and storage medium for processing image
CN112308977A (en) Video processing method, video processing device and storage medium
CN110096144A (en) A kind of interaction holographic projection methods and system based on three-dimensional reconstruction
CN115311414A (en) Live-action rendering method and device based on digital twinning and related equipment
CN111383313B (en) Virtual model rendering method, device, equipment and readable storage medium
CN109816791B (en) Method and apparatus for generating information
US12051168B2 (en) Avatar generation based on driving views
CN116563740A (en) Control method and device based on augmented reality, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant