CN114596421A - Parameter detection method, device and equipment - Google Patents
Parameter detection method, device and equipment Download PDFInfo
- Publication number
- CN114596421A CN114596421A CN202011429634.0A CN202011429634A CN114596421A CN 114596421 A CN114596421 A CN 114596421A CN 202011429634 A CN202011429634 A CN 202011429634A CN 114596421 A CN114596421 A CN 114596421A
- Authority
- CN
- China
- Prior art keywords
- image
- display device
- pixel
- preset
- moment
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 45
- 230000007246 mechanism Effects 0.000 claims abstract description 26
- 238000000034 method Methods 0.000 claims description 29
- 230000001186 cumulative effect Effects 0.000 claims description 22
- 230000008569 process Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 8
- 238000005259 measurement Methods 0.000 abstract description 14
- 238000007796 conventional method Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 238000004040 coloring Methods 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 238000007654 immersion Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/20—Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2219/00—Indexing scheme for manipulating 3D models or images for computer graphics
- G06T2219/20—Indexing scheme for editing of 3D models
- G06T2219/2012—Colour editing, changing, or manipulating; Use of colour codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2219/00—Indexing scheme for manipulating 3D models or images for computer graphics
- G06T2219/20—Indexing scheme for editing of 3D models
- G06T2219/2016—Rotation, translation, scaling
Landscapes
- Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Architecture (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
技术领域technical field
本发明涉及数据处理技术领域,尤其是涉及一种参数检测方法、装置及设备。The present invention relates to the technical field of data processing, and in particular, to a parameter detection method, device and equipment.
背景技术Background technique
虚拟现实(Virtual Reality,VR)技术是一种可以创建和体验虚拟世界的计算机仿真系统,它利用计算机生成一种模拟环境,并通过多源信息融合的、交互式的三维动态视景和实体行为的系统仿真使用户沉浸到该模拟环境中。Virtual reality (Virtual Reality, VR) technology is a computer simulation system that can create and experience virtual worlds. The system simulation of the immersion user is immersed in the simulation environment.
其中,转动延迟和角度漂移是用户选购VR显示设备的两个重要指标。检测VR显示设备的转动延迟和角度漂移是否达标,也成为产品出厂前的重要检测项。现有检测方案常采用采用的方法是对平台上若干特定位置进行标记和编码,在测量过程中依次采集这些标记的位置和时间,对旋转过程进行线性拟合和估算,间接地完成对显示设备位置的测量,无法实时、精确地记录设备转动的实际角度,进而影响拟合计算的误差,造成测量结果准确性差的问题。Among them, rotation delay and angle drift are two important indicators for users to purchase VR display devices. Detecting whether the rotational delay and angular drift of the VR display device meet the standards has also become an important detection item before the product leaves the factory. The method often used in the existing detection scheme is to mark and encode several specific positions on the platform, collect the positions and times of these marks in turn during the measurement process, perform linear fitting and estimation on the rotation process, and indirectly complete the display equipment. Position measurement cannot accurately record the actual angle of equipment rotation in real time, which in turn affects the error of fitting calculation, resulting in the problem of poor accuracy of measurement results.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种参数检测方法、装置及设备,用于解决现有检测VR显示设备的转动延迟和角度漂移的方法,无法实时、精确地记录设备转动的实际角度,进而影响拟合计算的误差,造成测量结果准确性差的问题。The purpose of the present invention is to provide a parameter detection method, device and device, which are used to solve the problem that the existing method for detecting the rotation delay and angular drift of VR display device cannot accurately record the actual angle of the device rotation in real time, thereby affecting the fitting The error of calculation results in the problem of poor accuracy of measurement results.
为了达到上述目的,本发明提供一种参数检测装置,包括:In order to achieve the above object, the present invention provides a parameter detection device, comprising:
暗箱;dark box;
位于所述暗箱内的待测试的虚拟现实VR显示设备和摄像单元,所述摄像单元固定于所述VR显示设备的目镜中心处;A virtual reality VR display device to be tested and a camera unit located in the camera obscura, and the camera unit is fixed at the center of the eyepiece of the VR display device;
转动机构,所述转动机构与所述暗箱连接;a rotating mechanism, the rotating mechanism is connected with the camera obscura;
驱动装置,所述驱动装置与所述转动机构连接,所述驱动装置驱动所述转动机构转动,所述转动机构带动所述暗箱分别在三个预设方向上转动,所述三个预设方向分别对应以所述VR显示设备为原点构成的三维坐标系的三个坐标轴所在方向;a driving device, the driving device is connected with the rotating mechanism, the driving device drives the rotating mechanism to rotate, and the rotating mechanism drives the camera obscura to rotate in three preset directions respectively, the three preset directions respectively correspond to the directions of the three coordinate axes of the three-dimensional coordinate system formed with the VR display device as the origin;
处理器,所述处理器分别连接所述VR显示设备、所述摄像单元和所述驱动装置。and a processor, where the processor is respectively connected to the VR display device, the camera unit and the driving device.
其中,所述转动机构包括:多个转动轴,所述驱动装置包括:多个伺服电机;Wherein, the rotating mechanism includes: a plurality of rotating shafts, and the driving device includes: a plurality of servo motors;
其中,所述伺服电机驱动对应的转动轴在对应的预设方向上转动,以带动暗箱在对应的预设方向上转动。Wherein, the servo motor drives the corresponding rotating shaft to rotate in the corresponding preset direction, so as to drive the camera obscura to rotate in the corresponding preset direction.
本发明还提供一种参数检测方法,应用于如上述实施例的参数检测装置,包括:The present invention also provides a parameter detection method, which is applied to the parameter detection device of the above-mentioned embodiment, including:
获取虚拟现实VR图像以及所述VR图像的每个像素点的颜色值,不同像素点的颜色值不同,所述VR图像为以待测试的VR显示设备为球心的球面图像;Acquiring the virtual reality VR image and the color value of each pixel of the VR image, the color values of different pixels are different, and the VR image is a spherical image with the VR display device to be tested as the center of the sphere;
在所述VR显示设备显示所述VR图像的情况下,记录驱动装置在各时刻累计转动的角度,并在对应各时刻分别获取摄像单元所拍摄的每个平面图像;In the case that the VR display device displays the VR image, recording the cumulative rotation angle of the driving device at each moment, and respectively acquiring each plane image captured by the camera unit at each moment;
根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述VR图像在各时刻转动的角度;Obtain the rotation angle of the VR image at each moment according to the color values of a plurality of preset pixel positions on each plane image;
根据所述驱动装置在各时刻累计转动的角度以及所述VR图像在各时刻转动的角度,计算得到所述VR显示设备的转动延迟时间和角度漂移;According to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment, the rotation delay time and the angle drift of the VR display device are calculated and obtained;
其中,所述驱动装置驱动所述VR显示设备分别在三个预设方向上转动,所述三个预设方向分别对应以所述VR显示设备为原点构成的三维坐标系的三个坐标轴所在方向,所述摄像单元固定于所述VR显示设备的目镜中心处,所述每个平面图像均为所述VR图像的部分图像。Wherein, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the three coordinate axes of the three-dimensional coordinate system formed with the VR display device as the origin. The camera unit is fixed at the center of the eyepiece of the VR display device, and each plane image is a partial image of the VR image.
其中,所述获取虚拟现实VR图像以及所述VR图像的每个像素点的颜色值,包括:Wherein, the acquiring the virtual reality VR image and the color value of each pixel of the VR image includes:
绘制VR图像,得到所述VR图像的每个像素点的位置坐标;Drawing a VR image to obtain the position coordinates of each pixel of the VR image;
基于对所述每个像素点的位置坐标,对所述每个像素点进行颜色编码,得到所述每个像素点的颜色值,所述每个像素点的位置坐标与颜色值具有预设对应关系。Based on the position coordinates of each pixel, color coding is performed on each pixel to obtain the color value of each pixel, and the position coordinates of each pixel and the color value have a preset correspondence relation.
其中,所述根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述VR图像在各时刻转动的角度,包括:Wherein, obtaining the rotation angle of the VR image at each moment according to the color values of a plurality of preset pixel positions on each plane image includes:
根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述每个平面图像上多个预设像素点位置对应于所述VR图像的位置坐标;According to the color values of the plurality of preset pixel positions on each plane image, the position coordinates of the plurality of preset pixel positions on each plane image corresponding to the VR image are obtained;
根据所述每个平面图像上多个预设像素点位置对应于所述VR图像的位置坐标,计算得到所述VR图像在各时刻转动的角度。According to the position coordinates of a plurality of preset pixel points on each plane image corresponding to the VR image, the rotation angle of the VR image at each moment is calculated.
其中,所述多个预设像素点位置包括:所述平面图像中对应于所述摄像单元的视野中心的像素点位置以及位于所述平面图像的四个顶点的像素点位置。The plurality of preset pixel positions include: pixel positions in the plane image corresponding to the center of the field of view of the camera unit and pixel positions located at four vertices of the plane image.
本发明还提供一种参数检测装置,包括:The present invention also provides a parameter detection device, comprising:
第一获取模块,用于获取虚拟现实VR图像以及所述VR图像的每个像素点的颜色值,不同像素点的颜色值不同,所述VR图像为以待测试的VR显示设备为球心的球面图像;The first acquisition module is used to acquire the virtual reality VR image and the color value of each pixel of the VR image. The color values of different pixels are different, and the VR image is centered on the VR display device to be tested. spherical image;
第二获取模块,用于在所述VR显示设备显示所述VR图像的情况下,记录驱动装置在各时刻累计转动的角度,并在对应各时刻分别获取摄像单元所拍摄的每个平面图像;A second acquisition module, configured to record the cumulative rotation angle of the driving device at each moment when the VR display device displays the VR image, and to acquire each plane image captured by the camera unit at each corresponding moment;
第一处理模块,用于根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述VR图像在各时刻转动的角度;a first processing module, configured to obtain the rotation angle of the VR image at each moment according to the color values of a plurality of preset pixel point positions on each plane image;
第一计算模块,用于根据所述驱动装置在各时刻累计转动的角度以及所述VR图像在各时刻转动的角度,计算得到所述VR显示设备的转动延迟时间和角度漂移;a first calculation module, configured to calculate the rotation delay time and angular drift of the VR display device according to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment;
其中,所述驱动装置驱动所述VR显示设备分别在三个预设方向上转动,所述三个预设方向分别对应以所述VR显示设备为原点构成的三维坐标系的三个坐标轴所在方向,所述摄像单元固定于所述VR显示设备的目镜中心处,所述每个平面图像均为所述VR图像的部分图像。Wherein, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the three coordinate axes of the three-dimensional coordinate system formed with the VR display device as the origin. The camera unit is fixed at the center of the eyepiece of the VR display device, and each plane image is a partial image of the VR image.
本发明还提供一种参数检测设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序;所述处理器执行所述程序时实现如上述所述的参数检测方法。The present invention also provides a parameter detection device, comprising a memory, a processor, and a program stored on the memory and running on the processor; the processor implements the above-mentioned parameters when executing the program Detection method.
本发明还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述所述的参数检测方法中的步骤。The present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps in the above-mentioned parameter detection method.
本发明的上述技术方案至少具有如下有益效果:The above-mentioned technical scheme of the present invention has at least the following beneficial effects:
本发明实施例中,通过位于暗箱内的待测试的虚拟现实VR显示设备和摄像单元,摄像单元固定于VR显示设备的目镜中心处;分别连接暗箱和驱动装置的转动机构,分别连接VR显示设备、摄像单元和驱动装置的处理器,其中,驱动装置驱动转动机构转动,带动暗箱分别在三个预设方向上转动,三个预设方向分别对应以VR显示设备为原点构成的三维坐标系的三个坐标轴所在方向,如此,通过驱动装置驱动转动机构转动,带动暗箱,即VR显示设备,分别在三个预设方向上转动,待测试的VR显示设备能够自由转动,且能够实现对VR显示设备的实际转动角度的精准控制和实时记录,进而提升后续测量VR显示设备的转动延迟和角度漂移的测量结果的准确性。In the embodiment of the present invention, through the virtual reality VR display device to be tested and the camera unit located in the camera obscura, the camera unit is fixed at the center of the eyepiece of the VR display device; the camera unit and the rotating mechanism of the driving device are respectively connected to the VR display device. , a processor of a camera unit and a driving device, wherein the driving device drives the rotating mechanism to rotate, and drives the camera obscura to rotate in three preset directions respectively, and the three preset directions respectively correspond to the three-dimensional coordinate system formed by the VR display device as the origin. The directions of the three coordinate axes, in this way, the rotating mechanism is driven by the driving device to rotate, which drives the camera obscura, that is, the VR display device, to rotate in three preset directions respectively. The VR display device to be tested can rotate freely, and can realize the VR Accurate control and real-time recording of the actual rotation angle of the display device, thereby improving the accuracy of the subsequent measurement of the rotation delay and angle drift of the VR display device.
附图说明Description of drawings
图1表示本发明实施例的参数检测设备的结构示意图之一;FIG. 1 shows one of the schematic structural diagrams of a parameter detection device according to an embodiment of the present invention;
图2表示本发明实施例的参数检测设备的结构示意图之二;FIG. 2 shows the second schematic structural diagram of the parameter detection device according to the embodiment of the present invention;
图3表示本发明实施例的参数检测方法的流程示意图;3 shows a schematic flowchart of a parameter detection method according to an embodiment of the present invention;
图4表示本发明实施例的VR图像的示意图;FIG. 4 shows a schematic diagram of a VR image according to an embodiment of the present invention;
图5表示本发明实施例的随时间VR设备转动角度与VR图像转动角度的示意图;FIG. 5 is a schematic diagram showing the rotation angle of the VR device and the rotation angle of the VR image over time according to an embodiment of the present invention;
图6表示本发明实施例的参数检测装置的模块示意图;6 is a schematic block diagram of a parameter detection device according to an embodiment of the present invention;
图7表示本发明实施例的参数检测设备的结构示意图。FIG. 7 is a schematic structural diagram of a parameter detection device according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, the following will be described in detail with reference to the accompanying drawings and specific embodiments.
本发明针对现有检测VR显示设备的转动延迟和角度漂移的方法,无法实时、精确地记录设备转动的实际角度,进而影响拟合计算的误差,造成测量结果准确性差的问题,提供一种参数检测方法、装置及设备。Aiming at the problem that the existing method for detecting the rotation delay and angle drift of the VR display device cannot accurately record the actual angle of the device rotation in real time, thereby affecting the error of the fitting calculation and causing the poor accuracy of the measurement result, the present invention provides a parameter Detection method, device and equipment.
如图1~2所示,为本发明实施例提供的参数检测设备的结构示意图。该参数检测设备包括:暗箱1;位于暗箱1内的待测试的虚拟现实VR显示设备2和摄像单元3,摄像单元3固定于VR显示设备2的目镜中心处;转动机构,转动机构与暗箱1连接,驱动装置,驱动装置与转动机构连接,驱动装置驱动转动机构转动,转动机构带动暗箱1分别在三个预设方向上转动,所述三个预设方向分别对应以所述VR显示设备2为原点构成的三维坐标系的三个坐标轴所在方向;处理器4,处理器4分别连接VR显示设备2、摄像单元3和驱动装置。1 to 2 are schematic structural diagrams of a parameter detection device provided by an embodiment of the present invention. The parameter detection device includes: a camera obscura 1; a virtual reality
可选地,摄像单元3为高清摄像机。摄像单元3固定于VR显示设备2的目镜中心处,摄像单元3与VR显示设备同步运动,即摄像单元3随VR显示设备的转动而转动。Optionally, the
需要说明的是,待测试的虚拟现实VR显示设备2和摄像单元3均被置于暗箱1中,能够避免外界光照对测量准确性的影响。It should be noted that the virtual reality
这里,处理器4与驱动装置可集成在一个设备内。Here, the
需要说明的是,由于VR显示设备2被置于暗箱1中,转动机构带动暗箱1分别在三个预设方向上转动,即转动机构带动VR显示设备2分别在三个预设方向上转动。It should be noted that, since the
这里,三维坐标系为三维笛卡尔坐标系,该坐标系下的三个坐标轴分别为x坐标轴、y坐标轴和z坐标轴。由于转动机构能够带动VR显示设备2分别在三个预设方向上转动,从而可以实现对VR显示设备在三个旋转自由度的转动延迟和角度漂移的检测。Here, the three-dimensional coordinate system is a three-dimensional Cartesian coordinate system, and the three coordinate axes under the coordinate system are the x coordinate axis, the y coordinate axis, and the z coordinate axis, respectively. Since the rotation mechanism can drive the
可选地,所述转动机构包括:多个转动轴,所述驱动装置包括:多个伺服电机(图中未显示);其中,所述伺服电机驱动对应的转动轴在对应的预设方向上转动,以带动暗箱1在对应的预设方向上转动。Optionally, the rotating mechanism includes: a plurality of rotating shafts, and the driving device includes: a plurality of servo motors (not shown in the figure); wherein, the servo motors drive corresponding rotating shafts in corresponding preset directions Rotate to drive the camera obscura 1 to rotate in the corresponding preset direction.
具体的,多个转动轴中的每个转动轴分别由一个伺服电机驱动,即多个转动轴中的每个转动轴分别由一个伺服电机对转动角度进行控制。Specifically, each of the multiple rotating shafts is driven by a servo motor, that is, each rotating shaft of the multiple rotating shafts is controlled by a servo motor to control the rotation angle.
作为一可选地实现方式,多个转动轴包括:第一转动轴5、第二转动轴6和第三转动轴7,所述第一转动轴5、所述第二转动轴6和所述第三转动轴7分别分布在所述三个预设方向上。驱动装置包括:第一伺服电机、第二伺服电机和第三伺服电机。As an optional implementation, the plurality of rotating shafts include: a first
具体的,三个预设方向包括以所述VR显示设备2为原点构成的三维坐标系的x轴方向、y轴方向和z轴方向。Specifically, the three preset directions include the x-axis direction, the y-axis direction, and the z-axis direction of the three-dimensional coordinate system formed with the
这里,第一转动轴5分布在y轴方向,该第一转动轴5可称作纵摇转动轴;第二转动轴6分布在x轴方向,该第二转动轴6可称作翻滚转动轴;第三转动轴7分布在z轴方向,该第三转动轴7可称作偏航转动轴。Here, the
这里,具体的,第一伺服电机用于驱动第一转动轴5转动,第一转动轴5带动暗箱1在y轴方向转动;第二伺服电机用于驱动第二转动轴6转动,第二转动轴6带动暗箱1在x轴方向转动;第三伺服电机用于驱动第三转动轴7转动,第三转动轴7带动暗箱1在z轴方向转动。Here, specifically, the first servo motor is used to drive the
为了实现对三个预设方向上即三个旋转自由度的转动延迟时间和角度漂移的同时测量,进一步地,如图1所示,作为一可选地实现方式,本发明实施例的转动机构还可包括:In order to realize the simultaneous measurement of the rotational delay time and the angular drift in the three preset directions, that is, the three rotational degrees of freedom, further, as shown in FIG. Also includes:
与所述第一转动轴5连接的第一支架8,暗箱1固定于第一支架8;分别连接第一转动轴5和第二转动轴6的第二支架9;分别连接第二转动轴6和第三转动轴7的第三支架10。The
其中,在第一伺服电机驱动第一转动轴5转动的情况下,第一转动轴5带动第一支架8和暗箱1在第一预设方向转动。比如,第一预设方向为y轴方向。Wherein, when the first servo motor drives the first
在第二伺服电机驱动第二转动轴6转动的情况下,第二转动轴6带动第二支架9、第一转动轴5和暗箱1在第二预设方向转动。比如,第二预设方向为x轴方向。When the second servo motor drives the second rotating shaft 6 to rotate, the second rotating shaft 6 drives the
需要说明的是,对应该情况下,不影响第一转动轴5带动第一支架8和暗箱1在第一预设方向转动,也就是说,在第二伺服电机驱动第二转动轴6转动的同时,第一伺服电机驱动第一转动轴5转动的情况下,暗箱1可同时在第二预设方向和第一预设方向转动。It should be noted that, in this case, it does not affect the first
在第三伺服电机驱动第三转动轴7转动的情况下,第三转动轴7带动第三支架、第二转动轴6和暗箱1在第三预设方向转动。比如,第三预设方向为z轴方向。When the third servo motor drives the third rotating shaft 7 to rotate, the third rotating shaft 7 drives the third bracket, the second rotating shaft 6 and the dark box 1 to rotate in a third preset direction. For example, the third preset direction is the z-axis direction.
需要说明的是,对应该情况下,不影响第一转动轴5带动第一支架8和暗箱1在第一预设方向转动以及第二转动轴6带动第二支架9在第二预设方向转动,也就是说,在第三伺服电机驱动第三转动轴7转动的同时,第二伺服电机驱动第二转动轴6转动,且第一伺服电机驱动第一转动轴5转动的情况下,暗箱1可同时在第三预设方向、第二预设方向和第一预设方向转动。It should be noted that, in this case, it does not affect the first
可选的,第一支架8、第二支架9和第三支架10均为圆环形支架。其中,所述第一支架8的半径小于所述第二支架9的半径,所述第二支架9的半径小于所述第三支架10的半径。如此,在三个转动轴在各自预设方向上转动时,能够相互之间不影响,且不影响暗箱1,也就是VR显示设备2,在三个预设方向上的同时转动。Optionally, the
本发明实施例的参数检测装置,通过位于暗箱内的待测试的虚拟现实VR显示设备和摄像单元,摄像单元固定于VR显示设备的目镜中心处;分别连接暗箱和驱动装置的转动机构,分别连接VR显示设备、摄像单元和驱动装置的处理器,其中,驱动装置驱动转动机构转动,带动暗箱分别在三个预设方向上转动,三个预设方向分别对应以VR显示设备为原点构成的三维坐标系的三个坐标轴所在方向,如此,通过驱动装置驱动转动机构转动,带动暗箱,即VR显示设备,分别在三个预设方向上转动,待测试的VR显示设备能够自由转动,且能够实现对VR显示设备的实际转动角度的精准控制和实时记录,进而提升后续测量VR显示设备的转动延迟和角度漂移的测量结果的准确性。The parameter detection device of the embodiment of the present invention passes through the virtual reality VR display device to be tested and the camera unit located in the camera obscura. The camera unit is fixed at the center of the eyepiece of the VR display device; the camera camera unit and the rotating mechanism of the driving device are respectively connected to The processor of the VR display device, the camera unit and the driving device, wherein the driving device drives the rotating mechanism to rotate, and drives the camera obscura to rotate in three preset directions respectively, and the three preset directions respectively correspond to the three-dimensional image formed by the VR display device as the origin. The directions of the three coordinate axes of the coordinate system are located. In this way, the rotating mechanism is driven by the driving device to rotate, and the camera obscura, that is, the VR display device, is rotated in three preset directions respectively. The VR display device to be tested can rotate freely and can Realize precise control and real-time recording of the actual rotation angle of the VR display device, thereby improving the accuracy of the subsequent measurement of the rotation delay and angle drift of the VR display device.
如图3所示,为本发明实施例提供的参数检测方法的流程示意图。该方法应用于如上述所述的参数检测装置。其中,该方法可包括:As shown in FIG. 3 , it is a schematic flowchart of a parameter detection method provided by an embodiment of the present invention. The method is applied to the parameter detection device as described above. Wherein, the method may include:
步骤301,获取虚拟现实VR图像以及所述VR图像的每个像素点的颜色值,不同像素点的颜色值不同,所述VR图像为以待测试的VR显示设备为球心的球面图像;
本步骤中,VR图像为预先绘制的虚拟空间图像,即VR图像为特制的虚拟空间图像。In this step, the VR image is a pre-drawn virtual space image, that is, the VR image is a specially-made virtual space image.
其中,本步骤可具体包括:Wherein, this step can specifically include:
绘制VR图像,得到所述VR图像的每个像素点的位置坐标;Drawing a VR image to obtain the position coordinates of each pixel of the VR image;
这里,VR图像为球面图像,球面图像上的任意一像素点可由二维坐标唯一确定。VR图像的每个像素点的位置坐标可以是对应极坐标系下的坐标值。Here, the VR image is a spherical image, and any pixel point on the spherical image can be uniquely determined by two-dimensional coordinates. The position coordinate of each pixel of the VR image may be the coordinate value in the corresponding polar coordinate system.
基于对所述每个像素点的位置坐标,对所述每个像素点进行颜色编码,得到所述每个像素点的颜色值,所述每个像素点的位置坐标与颜色值具有预设对应关系。Based on the position coordinates of each pixel, color coding is performed on each pixel to obtain the color value of each pixel, and the position coordinates of each pixel and the color value have a preset correspondence relation.
本步骤中,如图4所示,以RGB(RGB即是代表红、绿、蓝三个通道的颜色)色彩和极坐标为例,球面图像上的任意一像素点可由二维坐标唯一确定,因此,可将P点处的颜色值作为其坐标的函数进行编码着色。In this step, as shown in Figure 4, taking the color and polar coordinates of RGB (RGB is the color representing the three channels of red, green and blue) as an example, any pixel on the spherical image It can be uniquely determined by two-dimensional coordinates, so the color value at point P can be used as its coordinates function for encoding and coloring.
可选地,令任意一像素点P处的颜色为 Optionally, let the color at any pixel point P be
其中,Δθ分别为球面图像上单个像素点在两个维度上所对应的球心角(或电机步进角),mod为取余函数。in, Δθ is the spherical center angle (or motor step angle) corresponding to a single pixel on the spherical image in two dimensions, and mod is the remainder function.
通过上述对像素点的颜色编码处理,每个像素点的位置坐标与颜色值具有预设对应关系。也就是说,通过像素点的颜色值便可确定该像素点在球面图像,即VR图像,的所处位置,即位置坐标。Through the above-mentioned color coding process for the pixel points, the position coordinates of each pixel point and the color value have a preset corresponding relationship. That is to say, the position of the pixel in the spherical image, that is, the VR image, can be determined by the color value of the pixel, that is, the position coordinate.
步骤302,在所述VR显示设备显示所述VR图像的情况下,记录驱动装置在各时刻累计转动的角度,并在对应各时刻分别获取摄像单元所拍摄的每个平面图像;
可选地,所述驱动装置驱动所述VR显示设备分别在三个预设方向上转动,所述三个预设方向分别对应以所述VR显示设备为原点构成的三维坐标系的三个坐标轴所在方向,所述摄像单元固定于所述VR显示设备的目镜中心处,所述每个平面图像均为所述VR图像的部分图像。Optionally, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to three coordinates of a three-dimensional coordinate system formed with the VR display device as an origin. In the direction of the axis, the camera unit is fixed at the center of the eyepiece of the VR display device, and each plane image is a partial image of the VR image.
需要说明的是,记录驱动装置在各时刻累计转动角度,即记录VR显示设备在三个预设方向上的转动角度的时间序列。It should be noted that the recording driving device accumulates the rotation angles at each moment, that is, records the time series of the rotation angles of the VR display device in the three preset directions.
这里,驱动装置驱动VR显示设备转动之前,需要保证暗箱1处于静止状态。Here, before the driving device drives the VR display device to rotate, it is necessary to ensure that the camera obscura 1 is in a stationary state.
步骤303,根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述VR图像在各时刻转动的角度;
本步骤,每个平面图像为VR图像的部分图像,随着驱动装置驱动VR显示设备分别在三个预设方向上转动,在对应各时刻摄像单元拍摄的平面图像也各部相同。也就是说,拍摄单元拍摄的平面图像对应的是不同转动角度上的VR图像的部分图像。In this step, each plane image is a partial image of the VR image. As the driving device drives the VR display device to rotate in three preset directions, the plane images captured by the camera unit at corresponding moments are also the same. That is to say, the plane images captured by the capturing unit correspond to partial images of the VR images at different rotation angles.
这里,每个平面图像上的预设像素点位置以及数量都是相同的。Here, the preset pixel positions and numbers on each plane image are the same.
由于VR图像的每个像素点的位置坐标与颜色值具有预设对应关系,每个平面图像为所述VR图像的部分图像,已知每个平面图像上多个预设像素点位置的颜色值,并可得到对应各时刻多个预设像素点在VR图像上的位置坐标,进而通过位置坐标并可计算得到VR图像在各时刻转动的角度。Since the position coordinates of each pixel of the VR image have a preset corresponding relationship with the color value, each plane image is a partial image of the VR image, and the color values of multiple preset pixel positions on each plane image are known. , and the position coordinates of a plurality of preset pixels corresponding to each moment on the VR image can be obtained, and then the rotation angle of the VR image at each moment can be calculated through the position coordinates.
步骤304,根据所述驱动装置在各时刻累计转动的角度以及所述VR图像在各时刻转动的角度,计算得到所述VR显示设备的转动延迟时间和角度漂移;
本步骤中,参考图5,随时间VR设备转动角度与VR图像转动角度的示意图。可通过取同一时刻,驱动装置在该时刻对应转动的角度与VR图像在该时刻转动的角度,计算两个角度之差,得到角度漂移Δs;可通过计算驱动装置与VR图像到达同一转动角度时对应的时间之差,得到转动延迟时间Δt。In this step, referring to FIG. 5 , a schematic diagram of the rotation angle of the VR device and the rotation angle of the VR image over time. By taking the same moment, the corresponding rotation angle of the driving device at this moment and the rotation angle of the VR image at this moment, and calculating the difference between the two angles, the angle drift Δs can be obtained; by calculating when the driving device and the VR image reach the same rotation angle The difference between the corresponding times, the rotation delay time Δt is obtained.
作为一可选地实现方式,本发明实施例的方法步骤303可包括:As an optional implementation manner,
根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述每个平面图像上多个预设像素点位置对应于所述VR图像的位置坐标;According to the color values of the plurality of preset pixel positions on each plane image, the position coordinates of the plurality of preset pixel positions on each plane image corresponding to the VR image are obtained;
本步骤中,可通过解码每个平面图像上多个预设像素点位置的颜色值,得到所述每个平面图像上多个预设像素点位置对应于所述VR图像的位置坐标。In this step, the position coordinates of the multiple preset pixel positions on each planar image corresponding to the VR image may be obtained by decoding the color values of the multiple preset pixel positions on each planar image.
具体的,通过上述由像素点的位置坐标得到像素点的颜色值的编码过程的逆过程,即解码处理,得到每个平面图像上多个预设像素点位置对应于所述VR图像的位置坐标。Specifically, through the inverse process of the encoding process of obtaining the color value of the pixel point from the position coordinate of the pixel point, that is, the decoding process, the position coordinates of a plurality of preset pixel point positions on each plane image corresponding to the VR image are obtained .
当然,也可以通过记录每个像素点的位置坐标与颜色值,通过查表得到每个平面图像上多个预设像素点位置对应于所述VR图像的位置坐标。Of course, the position coordinates and color values of each pixel can also be recorded, and the position coordinates of a plurality of preset pixel positions on each plane image corresponding to the VR image can be obtained by looking up a table.
根据所述每个平面图像上多个预设像素点位置对应于所述VR图像的位置坐标,计算得到所述VR图像在各时刻转动的角度。According to the position coordinates of a plurality of preset pixel points on each plane image corresponding to the VR image, the rotation angle of the VR image at each moment is calculated.
可选地,所述多个预设像素点位置包括:所述平面图像中对应于所述摄像单元的视野中心的像素点位置以及位于所述平面图像的四个顶点的像素点位置。Optionally, the plurality of preset pixel positions include: pixel positions in the plane image corresponding to the center of the field of view of the camera unit and pixel positions located at four vertices of the plane image.
需要说明的是,之所以选用多个预设像素点位置,可通过多次计算,提升计算准确性。特别地,当VR显示设备进行纵摇转动(绕y轴转动)时,平面图像中对应于所述摄像单元的视野中心的像素点位置的坐标是保持不变的,因此在该情况下,需要通过位于所述平面图像的四个顶点的像素点位置的坐标,计算VR显示设备显示的VR图像中纵摇转动的角度。It should be noted that the reason for selecting multiple preset pixel point positions can improve the calculation accuracy through multiple calculations. In particular, when the VR display device is rotated (rotated around the y-axis), the coordinates of the pixel position in the plane image corresponding to the center of the field of view of the camera unit remain unchanged. Therefore, in this case, it is necessary to According to the coordinates of the pixel positions located at the four vertices of the plane image, the angle of the pitch rotation in the VR image displayed by the VR display device is calculated.
本发明实施例的参数检测方法,通过获取虚拟现实VR图像以及所述VR图像的每个像素点的颜色值,不同像素点的颜色值不同,所述VR图像为以待测试的VR显示设备为球心的球面图像;在所述VR显示设备显示所述VR图像的情况下,记录驱动装置在各时刻累计转动的角度,并在对应各时刻分别获取摄像单元所拍摄的每个平面图像;根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述VR图像在各时刻转动的角度;根据所述驱动装置在各时刻累计转动的角度以及所述VR图像在各时刻转动的角度,计算得到所述VR显示设备的转动延迟时间和角度漂移,其中,其中,所述驱动装置驱动所述VR显示设备分别在三个预设方向上转动,所述三个预设方向分别对应以所述VR显示设备为原点构成的三维坐标系的三个坐标轴所在方向,所述摄像单元固定于所述VR显示设备的目镜中心处,所述每个平面图像均为所述VR图像的部分图像,如此,能够实现对VR显示设备的实际转动角度的精准控制和实时记录,提升测量VR显示设备的转动延迟和角度漂移的测量结果的准确性。In the parameter detection method of the embodiment of the present invention, by acquiring a virtual reality VR image and the color value of each pixel of the VR image, the color values of different pixels are different, and the VR image is based on the VR display device to be tested as The spherical image of the center of the sphere; when the VR display device displays the VR image, record the cumulative rotation angle of the driving device at each moment, and obtain each plane image captured by the camera unit at the corresponding moment; according to The color values of a plurality of preset pixel positions on each plane image are obtained to obtain the rotation angle of the VR image at each moment; according to the cumulative rotation angle of the driving device at each moment and the VR image at each moment The rotation angle is calculated to obtain the rotation delay time and the angle drift of the VR display device, wherein, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions Corresponding to the directions of the three coordinate axes of the three-dimensional coordinate system formed by the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each plane image is the VR display device. Part of the image, in this way, can realize precise control and real-time recording of the actual rotation angle of the VR display device, and improve the accuracy of the measurement results for measuring the rotation delay and angle drift of the VR display device.
如图6所示,本发明实施例还提供一种参数检测装置,该装置包括:As shown in FIG. 6 , an embodiment of the present invention further provides a parameter detection device, which includes:
第一获取模块601,用于获取虚拟现实VR图像以及所述VR图像的每个像素点的颜色值,不同像素点的颜色值不同,所述VR图像为以待测试的VR显示设备为球心的球面图像;The
第二获取模块602,用于在所述VR显示设备显示所述VR图像的情况下,记录驱动装置在各时刻累计转动的角度,并在对应各时刻分别获取摄像单元所拍摄的每个平面图像;The
第一处理模块603,用于根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述VR图像在各时刻转动的角度;The
第一计算模块604,用于根据所述驱动装置在各时刻累计转动的角度以及所述VR图像在各时刻转动的角度,计算得到所述VR显示设备的转动延迟时间和角度漂移;The
其中,所述驱动装置驱动所述VR显示设备分别在三个预设方向上转动,所述三个预设方向分别对应以所述VR显示设备为原点构成的三维坐标系的三个坐标轴所在方向,所述摄像单元固定于所述VR显示设备的目镜中心处,所述每个平面图像均为所述VR图像的部分图像。Wherein, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the three coordinate axes of the three-dimensional coordinate system formed with the VR display device as the origin. The camera unit is fixed at the center of the eyepiece of the VR display device, and each plane image is a partial image of the VR image.
可选地,所述第一获取模块601包括:Optionally, the first obtaining
绘制单元,用于绘制VR图像,得到所述VR图像的每个像素点的位置坐标;a drawing unit, used to draw a VR image, to obtain the position coordinates of each pixel of the VR image;
第一获取单元,用于基于对所述每个像素点的位置坐标,对所述每个像素点进行颜色编码,得到所述每个像素点的颜色值,所述每个像素点的位置坐标与颜色值具有预设对应关系。a first obtaining unit, configured to color-code each pixel based on the position coordinates of each pixel, to obtain the color value of each pixel, and the position coordinates of each pixel Has a preset correspondence with color values.
可选地,所述第一处理模块603包括:Optionally, the
第一处理单元,用于根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述每个平面图像上多个预设像素点位置对应于所述VR图像的位置坐标;a first processing unit, configured to obtain the position coordinates of the plurality of preset pixel positions on each plane image corresponding to the VR image according to the color values of the plurality of preset pixel positions on each plane image ;
第二处理单元,用于根据所述每个平面图像上多个预设像素点位置对应于所述VR图像的位置坐标,计算得到所述VR图像在各时刻转动的角度。The second processing unit is configured to calculate and obtain the rotation angle of the VR image at each moment according to the position coordinates of the plurality of preset pixel points on each plane image corresponding to the VR image.
可选地,所述多个预设像素点位置包括:所述平面图像中对应于所述摄像单元的视野中心的像素点位置以及位于所述平面图像的四个顶点的像素点位置。Optionally, the plurality of preset pixel positions include: pixel positions in the plane image corresponding to the center of the field of view of the camera unit and pixel positions located at four vertices of the plane image.
本发明实施例的参数检测装置,通过获取虚拟现实VR图像以及所述VR图像的每个像素点的颜色值,不同像素点的颜色值不同,所述VR图像为以待测试的VR显示设备为球心的球面图像;在所述VR显示设备显示所述VR图像的情况下,记录驱动装置在各时刻累计转动的角度,并在对应各时刻分别获取摄像单元所拍摄的每个平面图像;根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述VR图像在各时刻转动的角度;根据所述驱动装置在各时刻累计转动的角度以及所述VR图像在各时刻转动的角度,计算得到所述VR显示设备的转动延迟时间和角度漂移,其中,其中,所述驱动装置驱动所述VR显示设备分别在三个预设方向上转动,所述三个预设方向分别对应以所述VR显示设备为原点构成的三维坐标系的三个坐标轴所在方向,所述摄像单元固定于所述VR显示设备的目镜中心处,所述每个平面图像均为所述VR图像的部分图像,如此,能够实现对VR显示设备的实际转动角度的精准控制和实时记录,提升测量VR显示设备的转动延迟和角度漂移的测量结果的准确性。The parameter detection device of the embodiment of the present invention obtains a virtual reality VR image and the color value of each pixel of the VR image, and the color value of different pixels is different, and the VR image is based on the VR display device to be tested. The spherical image of the center of the sphere; when the VR display device displays the VR image, record the cumulative rotation angle of the driving device at each moment, and obtain each plane image captured by the camera unit at the corresponding moment; according to The color values of a plurality of preset pixel positions on each plane image are obtained to obtain the rotation angle of the VR image at each moment; according to the cumulative rotation angle of the driving device at each moment and the VR image at each moment The rotation angle is calculated to obtain the rotation delay time and the angle drift of the VR display device, wherein, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions Corresponding to the directions of the three coordinate axes of the three-dimensional coordinate system formed by the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each plane image is the VR display device. Part of the image, in this way, can realize precise control and real-time recording of the actual rotation angle of the VR display device, and improve the accuracy of the measurement results for measuring the rotation delay and angle drift of the VR display device.
在此需要说明的是,本发明实施例提供的上述装置,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted here that the above-mentioned device provided by the embodiment of the present invention can realize all the method steps realized by the above-mentioned method embodiment, and can achieve the same technical effect, and the same as the method embodiment in this embodiment is not repeated here. The parts and beneficial effects will be described in detail.
为了更好的实现上述目的,如图7所示,本发明实施例还提供一种参数检测设备,包括处理器700和收发器710,所述收发器710在处理器的控制下接收和发送数据,所述处理器700用于执行如下过程:In order to better achieve the above purpose, as shown in FIG. 7 , an embodiment of the present invention further provides a parameter detection device, including a
获取虚拟现实VR图像以及所述VR图像的每个像素点的颜色值,不同像素点的颜色值不同,所述VR图像为以待测试的VR显示设备为球心的球面图像;Acquiring the virtual reality VR image and the color value of each pixel of the VR image, the color values of different pixels are different, and the VR image is a spherical image with the VR display device to be tested as the center of the sphere;
在所述VR显示设备显示所述VR图像的情况下,记录驱动装置在各时刻累计转动的角度,并在对应各时刻分别获取摄像单元所拍摄的每个平面图像;In the case that the VR display device displays the VR image, recording the cumulative rotation angle of the driving device at each moment, and respectively acquiring each plane image captured by the camera unit at each moment;
根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述VR图像在各时刻转动的角度;Obtain the rotation angle of the VR image at each moment according to the color values of a plurality of preset pixel positions on each plane image;
根据所述驱动装置在各时刻累计转动的角度以及所述VR图像在各时刻转动的角度,计算得到所述VR显示设备的转动延迟时间和角度漂移;According to the cumulative rotation angle of the driving device at each moment and the rotation angle of the VR image at each moment, the rotation delay time and the angle drift of the VR display device are calculated and obtained;
其中,所述驱动装置驱动所述VR显示设备分别在三个预设方向上转动,所述三个预设方向分别对应以所述VR显示设备为原点构成的三维坐标系的三个坐标轴所在方向,所述摄像单元固定于所述VR显示设备的目镜中心处,所述每个平面图像均为所述VR图像的部分图像。Wherein, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions respectively correspond to the three coordinate axes of the three-dimensional coordinate system formed with the VR display device as the origin. The camera unit is fixed at the center of the eyepiece of the VR display device, and each plane image is a partial image of the VR image.
可选地,所述处理器700还用于执行如下过程:Optionally, the
绘制VR图像,得到所述VR图像的每个像素点的位置坐标;Drawing a VR image to obtain the position coordinates of each pixel of the VR image;
基于对所述每个像素点的位置坐标,对所述每个像素点进行颜色编码,得到所述每个像素点的颜色值,所述每个像素点的位置坐标与颜色值具有预设对应关系。Based on the position coordinates of each pixel, color coding is performed on each pixel to obtain the color value of each pixel, and the position coordinates of each pixel and the color value have a preset correspondence relation.
可选地,所述处理器700还用于执行如下过程:Optionally, the
根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述每个平面图像上多个预设像素点位置对应于所述VR图像的位置坐标;According to the color values of the plurality of preset pixel positions on each plane image, the position coordinates of the plurality of preset pixel positions on each plane image corresponding to the VR image are obtained;
根据所述每个平面图像上多个预设像素点位置对应于所述VR图像的位置坐标,计算得到所述VR图像在各时刻转动的角度。According to the position coordinates of a plurality of preset pixel points on each plane image corresponding to the VR image, the rotation angle of the VR image at each moment is calculated.
可选地,所述多个预设像素点位置包括:所述平面图像中对应于所述摄像单元的视野中心的像素点位置以及位于所述平面图像的四个顶点的像素点位置。Optionally, the plurality of preset pixel positions include: pixel positions in the plane image corresponding to the center of the field of view of the camera unit and pixel positions located at four vertices of the plane image.
本发明实施例的参数检测设备,通过获取虚拟现实VR图像以及所述VR图像的每个像素点的颜色值,不同像素点的颜色值不同,所述VR图像为以待测试的VR显示设备为球心的球面图像;在所述VR显示设备显示所述VR图像的情况下,记录驱动装置在各时刻累计转动的角度,并在对应各时刻分别获取摄像单元所拍摄的每个平面图像;根据所述每个平面图像上多个预设像素点位置的颜色值,得到所述VR图像在各时刻转动的角度;根据所述驱动装置在各时刻累计转动的角度以及所述VR图像在各时刻转动的角度,计算得到所述VR显示设备的转动延迟时间和角度漂移,其中,其中,所述驱动装置驱动所述VR显示设备分别在三个预设方向上转动,所述三个预设方向分别对应以所述VR显示设备为原点构成的三维坐标系的三个坐标轴所在方向,所述摄像单元固定于所述VR显示设备的目镜中心处,所述每个平面图像均为所述VR图像的部分图像,如此,能够实现对VR显示设备的实际转动角度的精准控制和实时记录,提升测量VR显示设备的转动延迟和角度漂移的测量结果的准确性。The parameter detection device according to the embodiment of the present invention obtains a virtual reality VR image and the color value of each pixel of the VR image, and the color values of different pixels are different, and the VR image is based on the VR display device to be tested. The spherical image of the center of the sphere; when the VR display device displays the VR image, record the cumulative rotation angle of the driving device at each moment, and obtain each plane image captured by the camera unit at the corresponding moment; according to The color values of a plurality of preset pixel positions on each plane image are obtained to obtain the rotation angle of the VR image at each moment; according to the cumulative rotation angle of the driving device at each moment and the VR image at each moment The rotation angle is calculated to obtain the rotation delay time and the angle drift of the VR display device, wherein, the driving device drives the VR display device to rotate in three preset directions respectively, and the three preset directions Corresponding to the directions of the three coordinate axes of the three-dimensional coordinate system formed by the VR display device as the origin, the camera unit is fixed at the center of the eyepiece of the VR display device, and each plane image is the VR display device. Part of the image, in this way, can realize precise control and real-time recording of the actual rotation angle of the VR display device, and improve the accuracy of the measurement results for measuring the rotation delay and angle drift of the VR display device.
本发明实施例还提供一种参数检测设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现如上所述的参数检测方法实施例中的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present invention further provides a parameter detection device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the above-mentioned program when the processor executes the program Each process in the embodiment of the parameter detection method can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
本发明实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的参数检测方法实施例中的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, each process in the above-mentioned embodiment of the parameter detection method can be implemented, and the same technical effect can be achieved. , in order to avoid repetition, it will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可读存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, the embodiments of the present application may be provided as a method, a system or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-readable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.
本申请是参照根据本申请实施例的方法、设备(系统)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其它可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其它可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow and/or a block or blocks of the flowchart.
这些计算机程序指令也可存储在能引导计算机或其它可编程数据处理设备以特定方式工作的计算机可读存储介质中,使得存储在该计算机可读存储介质中的指令产生包括指令装置的纸制品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable storage medium capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce a paper product comprising the instruction means, The instruction means implements the functions specified in the flow or flows of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其它可编程数据处理设备上,使得计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他科编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device to cause the computer or other programmable device to perform a series of operational steps to produce a computer-implemented process, thereby causing the instructions to be executed on the computer or other programmable data processing device Steps are provided for implementing the functions specified in a flow or flows of the flowcharts and/or a block or blocks of the block diagrams.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. These improvements and modifications It should also be regarded as the protection scope of the present invention.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011429634.0A CN114596421A (en) | 2020-12-07 | 2020-12-07 | Parameter detection method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011429634.0A CN114596421A (en) | 2020-12-07 | 2020-12-07 | Parameter detection method, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114596421A true CN114596421A (en) | 2022-06-07 |
Family
ID=81803213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011429634.0A Pending CN114596421A (en) | 2020-12-07 | 2020-12-07 | Parameter detection method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114596421A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100962557B1 (en) * | 2009-02-05 | 2010-06-11 | 한국과학기술원 | Augmented reality implementation apparatus and method of the same |
US20160262608A1 (en) * | 2014-07-08 | 2016-09-15 | Krueger Wesley W O | Systems and methods using virtual reality or augmented reality environments for the measurement and/or improvement of human vestibulo-ocular performance |
CN106375750A (en) * | 2016-09-30 | 2017-02-01 | 宇龙计算机通信科技(深圳)有限公司 | Image display method and display device |
CN106441810A (en) * | 2016-12-16 | 2017-02-22 | 捷开通讯(深圳)有限公司 | Device and method for detecting delay time of VR (virtual reality) equipment |
CN107016704A (en) * | 2017-03-09 | 2017-08-04 | 杭州电子科技大学 | A kind of virtual reality implementation method based on augmented reality |
US20170324941A1 (en) * | 2016-05-04 | 2017-11-09 | InsideMaps Inc. | Stereoscopic Imaging Using Mobile Computing Devices Having Front-Facing And Rear-Facing Cameras |
US20180352209A1 (en) * | 2017-06-02 | 2018-12-06 | Ostendo Technologies, Inc. | Methods and Systems for Light Field Compression Using Multiple Reference Depth Image-Based Rendering |
CN109186959A (en) * | 2018-09-28 | 2019-01-11 | 歌尔股份有限公司 | Detection method, device and the equipment of the curvature of field of VR optics module |
US20200368616A1 (en) * | 2017-06-09 | 2020-11-26 | Dean Lindsay DELAMONT | Mixed reality gaming system |
-
2020
- 2020-12-07 CN CN202011429634.0A patent/CN114596421A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100962557B1 (en) * | 2009-02-05 | 2010-06-11 | 한국과학기술원 | Augmented reality implementation apparatus and method of the same |
US20160262608A1 (en) * | 2014-07-08 | 2016-09-15 | Krueger Wesley W O | Systems and methods using virtual reality or augmented reality environments for the measurement and/or improvement of human vestibulo-ocular performance |
US20170324941A1 (en) * | 2016-05-04 | 2017-11-09 | InsideMaps Inc. | Stereoscopic Imaging Using Mobile Computing Devices Having Front-Facing And Rear-Facing Cameras |
CN106375750A (en) * | 2016-09-30 | 2017-02-01 | 宇龙计算机通信科技(深圳)有限公司 | Image display method and display device |
CN106441810A (en) * | 2016-12-16 | 2017-02-22 | 捷开通讯(深圳)有限公司 | Device and method for detecting delay time of VR (virtual reality) equipment |
CN107016704A (en) * | 2017-03-09 | 2017-08-04 | 杭州电子科技大学 | A kind of virtual reality implementation method based on augmented reality |
US20180352209A1 (en) * | 2017-06-02 | 2018-12-06 | Ostendo Technologies, Inc. | Methods and Systems for Light Field Compression Using Multiple Reference Depth Image-Based Rendering |
US20200368616A1 (en) * | 2017-06-09 | 2020-11-26 | Dean Lindsay DELAMONT | Mixed reality gaming system |
CN109186959A (en) * | 2018-09-28 | 2019-01-11 | 歌尔股份有限公司 | Detection method, device and the equipment of the curvature of field of VR optics module |
Non-Patent Citations (3)
Title |
---|
K RAAEN等: ""Measuring latency in virtual reality systems"", 《ENTERTAINMENT COMPUTING - ICEC 2015 》, 1 December 2015 (2015-12-01) * |
周前祥;: "虚拟环境中人体因素问题的研究进展", 计算机仿真, no. 02, 28 February 2006 (2006-02-28) * |
高钦泉;黄伟萍;杜民;韦孟宇;柯栋忠;: "基于双目视觉的盆腔微创手术增强现实导航仿真系统的设计", 计算机应用, no. 09, 10 September 2018 (2018-09-10) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111801198B (en) | Hand-eye calibration method, system and computer storage medium | |
US20240153143A1 (en) | Multi view camera registration | |
CN109859275A (en) | A kind of monocular vision hand and eye calibrating method of the rehabilitation mechanical arm based on S-R-S structure | |
CN106426172B (en) | A kind of scaling method and system of industrial robot tool coordinates system | |
CN104154875A (en) | Three-dimensional data acquisition system and acquisition method based on two-axis rotation platform | |
CN106767913B (en) | A compound eye system calibration device and calibration method based on a single LED light-emitting point and a two-dimensional turntable | |
CN112116651B (en) | Ground target positioning method and system based on monocular vision of unmanned aerial vehicle | |
CN109064400A (en) | Three-dimensional point cloud joining method, apparatus and system | |
CN106408556A (en) | Minimal object measurement system calibration method based on general imaging model | |
CN114469057A (en) | Wireless capsule positioning device, magnetic field sensor positioning method and device | |
CN110336973B (en) | Information processing method and device, electronic device and medium | |
CN110458959B (en) | Method, device, equipment and computer readable storage medium for simulating three-dimensional display of body | |
CN104469170B (en) | Binocular camera shooting device, image processing method and device | |
CN105631161B (en) | A kind of determination method and apparatus that actual situation model is overlapped | |
CN111145345A (en) | Method and system for constructing 3D model of tunnel construction area | |
CN109360243A (en) | A kind of scaling method of the movable vision system of multiple degrees of freedom | |
JP2016063394A (en) | Projection image generation device, projection image generation method and projection image generation program | |
CN114596421A (en) | Parameter detection method, device and equipment | |
CN108038871A (en) | The pivot of rotating platform determines method, apparatus, server and storage medium | |
CN106355617A (en) | Dynamic positioning algorithm in the motion capture system | |
CN116423495A (en) | PNP-based 3D positioning tracking method and system | |
CN111855151B (en) | Detection device and detection method for polarizer transmission shaft | |
CN113923317B (en) | Camera frame synchronization test method, device and storage medium | |
CN110049243A (en) | Image-pickup method, device, equipment and medium | |
CN119052448B (en) | Method and device for rapid calibration and rapid conversion of coordinate systems of surveillance cameras |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |