[go: up one dir, main page]

CN107888892B - The visual field test method and system of VR equipment - Google Patents

The visual field test method and system of VR equipment Download PDF

Info

Publication number
CN107888892B
CN107888892B CN201711084944.1A CN201711084944A CN107888892B CN 107888892 B CN107888892 B CN 107888892B CN 201711084944 A CN201711084944 A CN 201711084944A CN 107888892 B CN107888892 B CN 107888892B
Authority
CN
China
Prior art keywords
image
rectangle
width
length
sides
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
CN201711084944.1A
Other languages
Chinese (zh)
Other versions
CN107888892A (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.)
Goertek Optical Technology Co Ltd
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN201711084944.1A priority Critical patent/CN107888892B/en
Publication of CN107888892A publication Critical patent/CN107888892A/en
Application granted granted Critical
Publication of CN107888892B publication Critical patent/CN107888892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3191Testing thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

本发明提供了一种VR设备的视场测试方法及系统,其中的方法包括:对投射在VR屏幕上的图像进行拍摄,获取第一图像;沿第一图像的中心设置一个矩形;将设置有矩形的第一图像投射在VR屏幕上并对其进行拍摄,获取第二图像;然后以第二图像的中心为起点,在第二图像中分别沿该起点的四周寻找矩形的四条边,确定矩形的四条边是否均在第二图像中;如果矩形的四条边均在第二图像中,则将设置在第一图像中的矩形的长和宽分别增加预定数值,并重新进行投屏拍摄;如果矩形的其中一条边不在第二图像中,则确定VR设备的视场为当前矩形的长和宽。通过本发明能够简单有效的对VR设备的视场进行测试,提高VR设备的生产质量,使其满足使用者的要求。

The present invention provides a field of view testing method and system for a VR device, wherein the method includes: shooting an image projected on a VR screen to obtain a first image; setting a rectangle along the center of the first image; Project the first image of the rectangle on the VR screen and shoot it to obtain the second image; then take the center of the second image as the starting point, find the four sides of the rectangle around the starting point in the second image respectively, and determine the rectangle Whether the four sides of the rectangle are all in the second image; if the four sides of the rectangle are in the second image, then increase the length and width of the rectangle set in the first image by a predetermined value, and re-shoot the screen; if If one of the sides of the rectangle is not in the second image, it is determined that the field of view of the VR device is the length and width of the current rectangle. The invention can simply and effectively test the field of view of the VR equipment, improve the production quality of the VR equipment, and make it meet the requirements of users.

Description

VR设备的视场测试方法及系统Method and system for testing field of view of VR equipment

技术领域technical field

本发明涉及光学测试技术领域,更为具体地,涉及一种VR设备的视场测试方法及系统。The present invention relates to the technical field of optical testing, and more specifically, to a method and system for testing a field of view of a VR device.

背景技术Background technique

VR(Virtual Reality,虚拟现实)通过综合利用计算机图形系统和各种控制设备,可为用户生成可交互的三维环境,并使用户产生沉浸感。目前,VR技术可广泛地应用于生活娱乐、城市规划、室内设计、工业仿真、道路桥梁设计等众多领域。VR设备显示时,用户无法看到外景,只能看到虚拟图像。VR (Virtual Reality, virtual reality) can generate an interactive three-dimensional environment for users through the comprehensive use of computer graphics systems and various control devices, and make users feel immersive. At present, VR technology can be widely used in many fields such as life entertainment, urban planning, interior design, industrial simulation, road and bridge design, etc. When the VR device is displayed, the user cannot see the external scene, but can only see the virtual image.

在VR设备中,通过VR镜头在VR屏幕上产生一个能够使人眼看到的虚拟图像,那么在VR设备中,VR设备的视场的大小决定了使用者观察到在VR屏幕上产生的虚拟图像的大小,因此,对VR设备的视场测试尤为重要。然而,目前尚没有一种有效的测试方法能够对VR设备的视场进行测试,这无疑会对VR设备的质量产生影响,从而降低使用者的使用体验。In a VR device, a virtual image that can be seen by the human eye is generated on the VR screen through the VR lens. Then in the VR device, the size of the field of view of the VR device determines the virtual image that the user observes on the VR screen. Therefore, it is particularly important to test the field of view of VR equipment. However, currently there is no effective testing method for testing the field of view of a VR device, which will undoubtedly affect the quality of the VR device, thereby reducing user experience.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,本发明的目的是提供一种VR设备的视场角测试方法及系统,以解决目前无法对VR设备的视场进行测试的问题。In view of the above problems, the purpose of the present invention is to provide a method and system for testing the field of view of VR equipment, so as to solve the problem that the field of view of VR equipment cannot be tested at present.

本发明提供一种VR设备的视场测试方法,包括:The present invention provides a field of view testing method for a VR device, comprising:

对投射在VR屏幕上的图像进行拍摄,获取第一图像;Shooting the image projected on the VR screen to obtain the first image;

沿第一图像的中心设置一个矩形,矩形的长与宽根据第一图像的长与宽确定;A rectangle is set along the center of the first image, and the length and width of the rectangle are determined according to the length and width of the first image;

将设置有矩形的第一图像投射在VR屏幕上,并对投射在VR屏幕上的设置有矩形的第一图像进行拍摄,获取第二图像;Projecting the first image with a rectangle set on the VR screen, and shooting the first image with a rectangle set on the VR screen to obtain a second image;

以第二图像的中心为起点,在第二图像中分别沿起点的四周寻找矩形的四条边,确定矩形的四条边是否均在第二图像中;其中,Taking the center of the second image as the starting point, search for the four sides of the rectangle around the starting point in the second image, and determine whether the four sides of the rectangle are all in the second image; wherein,

如果矩形的四条边均在第二图像中,则将设置在第一图像中的矩形的长和宽分别增加预定数值,并重新进行投屏拍摄;If the four sides of the rectangle are all in the second image, the length and width of the rectangle set in the first image are respectively increased by predetermined values, and the screen projection shooting is performed again;

如果矩形的其中一条边不在第二图像中,则确定VR设备的视场为当前矩形的长和宽。If one of the sides of the rectangle is not in the second image, determine that the field of view of the VR device is the length and width of the current rectangle.

此外,优选的方式为:将设置在第一图像中的矩形的长和宽分别增加预定数值,并重新进行投屏拍摄的过程中,将长和宽分别增加预定数值的矩形投放到第一图像中,并对投放有长和宽分别增加预定数值的矩形的第一图像重新进行拍摄,以重新获取第二图像。In addition, a preferred method is: increase the length and width of the rectangle set in the first image by a predetermined value, and re-shoot the screen, and place the rectangle whose length and width are respectively increased by a predetermined value on the first image , and re-shoot the first image in which the rectangle whose length and width are respectively increased by a predetermined value is placed, so as to re-acquire the second image.

此外,优选的方式为:在将长和宽分别增加预定数值的矩形投放到第一图像中的过程中,长和宽分别增加预定数值的矩形的中心与第一图像的中心重合。In addition, a preferred manner is: during the process of putting the rectangle whose length and width are increased by predetermined values into the first image, the center of the rectangle whose length and width are respectively increased by predetermined values coincides with the center of the first image.

此外,优选的方式为:在沿第一图像的中心设置一个矩形的过程中,沿第一图像的中心设置的矩形的颜色与第一图像的颜色不同。In addition, a preferred manner is: in the process of arranging a rectangle along the center of the first image, the color of the rectangle arranged along the center of the first image is different from the color of the first image.

此外,优选的方式为:矩形的初始的长与宽均小于第一图像的长与宽。In addition, a preferred manner is: both the initial length and width of the rectangle are smaller than the length and width of the first image.

此外,优选的方式为:在第二图像中分别沿起点的四周寻找矩形的四条边是指,在第二图像中分别沿起点的上方、下方、左方和右方四个方向寻找矩形的四条边。In addition, the preferred method is: to find the four sides of the rectangle along the four sides of the starting point in the second image respectively refers to searching for the four sides of the rectangle in the four directions of the top, bottom, left and right of the starting point in the second image. side.

与上述方法相对应,本发明提供一种VR设备的视场测试系统,包括:Corresponding to the above method, the present invention provides a field of view testing system for VR equipment, including:

第一图像获取单元,用于对投射在VR屏幕上的图像进行拍摄,获取第一图像;The first image acquisition unit is used to capture the image projected on the VR screen to acquire the first image;

矩形设置单元,用于沿第一图像获取单元所获取的第一图像的中心设置一个矩形,矩形的长与宽根据第一图像的长与宽确定;a rectangle setting unit, configured to set a rectangle along the center of the first image acquired by the first image acquisition unit, the length and width of the rectangle are determined according to the length and width of the first image;

第二图像获取单元,用于将矩形设置单元所设置的矩形投放到第一图像中,将投放有矩形的第一图像投射在VR屏幕上,并对投射在VR屏幕上的投放有矩形的第一图像进行拍摄,获取第二图像;The second image acquisition unit is used to project the rectangle set by the rectangle setting unit into the first image, project the first image with the rectangle on the VR screen, and project the first image with the rectangle projected on the VR screen. Shooting an image to obtain a second image;

视场确定单元,用于以第二图像获取单元所获取的第二图像的中心为起点,在第二图像中分别沿起点的四周寻找矩形的四条边,确定矩形的四条边是否均在第二图像中;其中,如果矩形的四条边均在第二图像中,则将设置在第一图像中的矩形的长和宽分别增加预定数值,并重新进行投屏拍摄;The field of view determination unit is used to take the center of the second image acquired by the second image acquisition unit as a starting point, search for the four sides of the rectangle around the starting point in the second image respectively, and determine whether the four sides of the rectangle are all within the second In the image; wherein, if the four sides of the rectangle are all in the second image, the length and width of the rectangle set in the first image are respectively increased by a predetermined value, and the projection screen is re-shot;

若矩形的其中一条边不在第二图像中,则确定VR设备的视场为当前矩形的长和宽。If one of the sides of the rectangle is not in the second image, determine that the field of view of the VR device is the length and width of the current rectangle.

上述本发明提供的VR设备的视场测试方法及系统,通过对投射在VR屏幕上的图像进行拍摄,获取第一图像;沿第一图像的中心设置一个矩形,该矩形的长与宽根据第一图像的长与宽确定;将设置有矩形的第一图像投射在VR屏幕上并对其进行拍摄,获取第二图像;然后以第二图像的中心为起点,在第二图像中分别沿该起点的四周寻找矩形的四条边,确定矩形的四条边是否均在第二图像中;如果矩形的四条边均在第二图像中,则将设置在第一图像中的矩形的长和宽分别增加预定数值,并重新进行投屏拍摄;如果矩形的其中一条边不在第二图像中,则确定VR设备的视场为当前矩形的长和宽。通过本发明能够简单有效的对VR设备的视场进行测试,提高VR设备的生产质量,使其满足使用者的要求,提高使用者的使用体验。The method and system for testing the field of view of a VR device provided by the present invention above obtains a first image by shooting an image projected on a VR screen; a rectangle is set along the center of the first image, and the length and width of the rectangle are according to the first image. The length and width of an image are determined; the first image with a rectangle is projected on the VR screen and photographed to obtain a second image; then starting from the center of the second image, the Find the four sides of the rectangle around the starting point, and determine whether the four sides of the rectangle are in the second image; if the four sides of the rectangle are in the second image, increase the length and width of the rectangle set in the first image respectively Predetermine the value, and perform screen projection shooting again; if one of the sides of the rectangle is not in the second image, determine that the field of view of the VR device is the length and width of the current rectangle. The invention can simply and effectively test the field of view of the VR equipment, improve the production quality of the VR equipment, meet the requirements of users, and improve the user experience.

为了实现上述以及相关目的,本发明的一个或多个方面包括后面将详细说明特别指出的特征。下面的说明以及附图详细说明了本发明的某些示例性方面。然而,这些方面指示的仅仅是可使用本发明的原理的各种方式中的一些方式。此外,本发明旨在包括所有这些方面以及它们的等同物。To the accomplishment of the foregoing and related ends, one or more aspects of the invention include the features particularly pointed out in the detailed description hereinafter. The following description and accompanying drawings detail certain exemplary aspects of the invention. These aspects are indicative, however, of but a few of the various ways in which the principles of the invention may be employed. Furthermore, the invention is intended to include all such aspects and their equivalents.

附图说明Description of drawings

通过参考以下结合附图的说明内容,并且随着对本发明的更全面理解,本发明的其它目的及结果将更加明白及易于理解。在附图中:Other objectives and results of the present invention will become clearer and easier to understand by referring to the following description in conjunction with the accompanying drawings, and with a more comprehensive understanding of the present invention. In the attached image:

图1为根据本发明实施例的VR设备的视场测试方法的第一流程图;Fig. 1 is the first flowchart of the field of view test method of the VR equipment according to the embodiment of the present invention;

图2为根据本发明实施例的VR设备的视场测试方法的第二流程图;2 is a second flow chart of a method for testing a field of view of a VR device according to an embodiment of the present invention;

图3为根据本发明实施例的VR设备的视场测试系统的逻辑结构框图。Fig. 3 is a logical structural block diagram of a field of view testing system for a VR device according to an embodiment of the present invention.

在所有附图中相同的标号指示相似或相应的特征或功能。The same reference numerals indicate similar or corresponding features or functions throughout the drawings.

具体实施方式Detailed ways

以下将结合附图对本发明的具体实施例进行详细描述。Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

针对前述目前无法对VR设备的视场进行测试的问题,本发明通过对投射在VR屏幕上的图像进行拍摄,获取第一图像;沿第一图像的中心设置一个矩形,该矩形的长与宽根据第一图像的长与宽确定;将设置有矩形的第一图像投射在VR屏幕上并对其进行拍摄,获取第二图像;然后以第二图像的中心为起点,在第二图像中分别沿该起点的四周寻找矩形的四条边,确定矩形的四条边是否均在第二图像中;如果矩形的四条边均在第二图像中,则将设置在第一图像中的矩形的长和宽分别增加预定数值,并重新进行投屏拍摄;如果矩形的其中一条边不在第二图像中,则确定VR设备的视场为当前矩形的长和宽。通过本发明能够简单有效的对VR设备的视场进行测试,提高VR设备的生产质量,使其满足使用者的要求,提高使用者的使用体验。Aiming at the aforementioned problem that the field of view of the VR device cannot be tested at present, the present invention obtains the first image by shooting the image projected on the VR screen; a rectangle is set along the center of the first image, and the length and width of the rectangle are Determined according to the length and width of the first image; project the first image with a rectangle on the VR screen and shoot it to obtain the second image; then take the center of the second image as the starting point, respectively in the second image Find the four sides of the rectangle around the starting point, and determine whether the four sides of the rectangle are in the second image; if the four sides of the rectangle are in the second image, set the length and width of the rectangle in the first image Respectively increase the predetermined values, and perform screen projection shooting again; if one of the sides of the rectangle is not in the second image, determine that the field of view of the VR device is the length and width of the current rectangle. The invention can simply and effectively test the field of view of the VR equipment, improve the production quality of the VR equipment, meet the requirements of users, and improve the user experience.

为说明本发明提供的VR设备的视场测试方法,图1示出了根据本发明实施例的VR设备的视场测试方法的第一流程。To illustrate the field of view testing method for a VR device provided by the present invention, FIG. 1 shows a first flow of the field of view testing method for a VR device according to an embodiment of the present invention.

如图1所示,本发明提供的VR设备的视场测试方法包括:As shown in Figure 1, the field of view testing method of the VR equipment provided by the present invention includes:

S110:对投射在VR屏幕上的图像进行拍摄,获取第一图像;S110: Shoot the image projected on the VR screen to obtain a first image;

S120:沿第一图像的中心设置一个矩形,该矩形的长与宽根据第一图像的长与宽确定;S120: setting a rectangle along the center of the first image, the length and width of the rectangle are determined according to the length and width of the first image;

S130:将设置有矩形的第一图像投射在VR屏幕上,并对投射在VR屏幕上的设置有矩形的第一图像进行拍摄,获取第二图像;S130: Project the first image with a rectangle set on the VR screen, and shoot the first image with a rectangle set on the VR screen to obtain a second image;

S140:以第二图像的中心为起点,在第二图像中分别沿起点的四周寻找矩形的四条边,确定矩形的四条边是否均在第二图像中;如果矩形的四条边均在第二图像中,则进入S150,如果矩形的其中一条边不在第二图像中,则进入S160;S140: Take the center of the second image as the starting point, search for the four sides of the rectangle around the starting point in the second image, and determine whether the four sides of the rectangle are all in the second image; if the four sides of the rectangle are all in the second image , then go to S150, if one of the sides of the rectangle is not in the second image, go to S160;

S150:将设置在第一图像中的矩形的长和宽分别增加预定数值,然后返回S130;S150: Increase the length and width of the rectangle set in the first image by predetermined values respectively, and then return to S130;

S160:确定VR设备的视场为当前矩形的长和宽。S160: Determine the field of view of the VR device as the length and width of the current rectangle.

需要说明的是,在上述步骤S120中,沿第一图像的中心设置一个矩形是指以第一图像的中心为中心设置一个矩形,且沿第一图像的中心设置的矩形的初始长与宽均小于第一图像的长与宽。It should be noted that in the above step S120, setting a rectangle along the center of the first image refers to setting a rectangle centered on the center of the first image, and the initial length and width of the rectangle set along the center of the first image are equal to Less than the length and width of the first image.

此外,在上述步骤S150中,将设置在第一图像中的矩形的长和宽分别增加预定数值,并重新进行投屏拍摄的过程中,是将长和宽分别增加预定数值的矩形投放到第一图像中,并对投放有长和宽分别增加预定数值的矩形的第一图像重新进行拍摄,以重新获取第二图像。In addition, in the above step S150, the length and width of the rectangle set in the first image are respectively increased by predetermined values, and in the process of re-shooting the screen, the rectangle whose length and width are respectively increased by predetermined values is placed on the first image. In the first image, the first image in which the rectangle whose length and width are respectively increased by a predetermined value is placed is re-shot, so as to re-acquire the second image.

进一步地,在将长和宽分别增加预定数值的矩形投放到第一图像中的过程中,长和宽分别增加预定数值的矩形的中心与第一图像的中心重合。也就是说,在重新获取第二图像时,同样是沿第一图像的中心设置一个矩形,而该矩形的长和宽是当前矩形的长和宽分别增加预定数值后的值。Further, during the process of placing the rectangle whose length and width are respectively increased by a predetermined value into the first image, the center of the rectangle whose length and width are respectively increased by a predetermined value coincides with the center of the first image. That is to say, when reacquiring the second image, a rectangle is also set along the center of the first image, and the length and width of the rectangle are the values obtained by increasing the length and width of the current rectangle by predetermined values respectively.

此外,为了能更好的与第一图像进行区分,在沿第一图像的中心设置一个矩形的过程中,沿第一图像的中心设置的矩形的颜色与第一图像的颜色不同。In addition, in order to better distinguish it from the first image, in the process of arranging a rectangle along the center of the first image, the color of the rectangle arranged along the center of the first image is different from the color of the first image.

另外,上述的在第二图像中分别沿起点的四周寻找矩形的四条边是指,在第二图像中分别沿起点的上方、下方、左方和右方四个方向寻找矩形的四条边。In addition, the aforementioned searching for the four sides of the rectangle around the starting point in the second image refers to searching for the four sides of the rectangle along four directions above, below, left and right of the starting point in the second image.

为了更为清楚的对本发明进行说明,图2示出了根据本发明实施例的VR设备的视场测试方法的第二流程;如图2所示:In order to illustrate the present invention more clearly, FIG. 2 shows the second process of the field of view testing method of the VR device according to the embodiment of the present invention; as shown in FIG. 2:

S210:对投射在VR屏幕上的图像进行拍摄,生成一张长*宽为M*N个像素的图像A;S210: Shoot the image projected on the VR screen to generate an image A whose length*width is M*N pixels;

S220:以图像A的中心为中心,绘制一个长*宽为(0.5M+2)*(0.5N+2)的绿色矩形D;S220: Taking the center of the image A as the center, draw a green rectangle D whose length*width is (0.5M+2)*(0.5N+2);

S230:将D投放到图像A中,利用相机对投放有D的图像A进行拍摄,获取图像B;S230: putting D into image A, using a camera to shoot image A with D placed therein, and obtaining image B;

S240:以图像B的中心为起点,在图像B中分别沿该起点的上方、下方、左方和右方四个方向寻找绿色矩形D的四个边L1、L2、L3和L4;如果绿色矩形D的四个边L1、L2、L3和L4均在图像B中,则进入S250,如果绿色矩形D的其中一条边不在图像B中,则进入S260;S240: Taking the center of the image B as the starting point, search for the four sides L1, L2, L3 and L4 of the green rectangle D along the four directions above, below, left and right of the starting point in the image B; if the green rectangle The four sides L1, L2, L3 and L4 of D are all in the image B, then enter S250, if one of the sides of the green rectangle D is not in the image B, then enter S260;

S250:将绿色矩形D的长与宽分别增加2个像素,然后返回S230;S250: Increase the length and width of the green rectangle D by 2 pixels respectively, and then return to S230;

S260:VR设备的视场为当前绿色矩形D的长与宽。S260: The field of view of the VR device is the length and width of the current green rectangle D.

与上述方法相对应,本发明提供一种VR设备的视场测试系统,图3示出了根据本发明实施例的VR设备的视场测试系统的逻辑结构。Corresponding to the above method, the present invention provides a field of view testing system for a VR device. FIG. 3 shows a logical structure of the field of view testing system for a VR device according to an embodiment of the present invention.

如图3所示,本发明提供的VR设备的视场测试系统300包括第一图像获取单元310、矩形设置单元320、第二图像获取单元330、视场确定单元340。As shown in FIG. 3 , the field of view testing system 300 of a VR device provided by the present invention includes a first image acquisition unit 310 , a rectangle setting unit 320 , a second image acquisition unit 330 , and a field of view determination unit 340 .

其中,第一图像获取单元310用于对投射在VR屏幕上的图像进行拍摄,获取第一图像;矩形设置单元320用于沿第一图像获取单元310所获取的第一图像的中心设置一个矩形,矩形的长与宽根据第一图像的长与宽确定;第二图像获取单元330用于将矩形设置单元320所设置的矩形投放到第一图像中,将投放有矩形的第一图像投射在VR屏幕上,并对投射在VR屏幕上的投放有矩形的第一图像进行拍摄,获取第二图像;视场确定单元340用于以第二图像获取单元330所获取的第二图像的中心为起点,在第二图像中分别沿起点的四周寻找矩形的四条边,确定矩形的四条边是否均在第二图像中;其中,如果矩形的四条边均在第二图像中,则将设置在第一图像中的矩形的长和宽分别增加预定数值,并重新进行投屏拍摄;若矩形的其中一条边不在第二图像中,则确定VR设备的视场为当前矩形的长和宽。Wherein, the first image acquisition unit 310 is used to shoot the image projected on the VR screen to acquire the first image; the rectangle setting unit 320 is used to set a rectangle along the center of the first image acquired by the first image acquisition unit 310 , the length and width of the rectangle are determined according to the length and width of the first image; the second image acquisition unit 330 is used to place the rectangle set by the rectangle setting unit 320 into the first image, and project the first image with the rectangle on the on the VR screen, and shoot the first image projected on the VR screen with a rectangle to obtain the second image; Starting point, find the four sides of the rectangle around the starting point in the second image, and determine whether the four sides of the rectangle are all in the second image; where, if the four sides of the rectangle are all in the second image, set the The length and width of the rectangle in the first image are respectively increased by a predetermined value, and the screen shooting is performed again; if one of the sides of the rectangle is not in the second image, it is determined that the field of view of the VR device is the length and width of the current rectangle.

通过上述可知,本发明提供的VR设备的视场测试方法及系统能够应用到实际的产线中对VR设备的视场进行测试,且简单实用,能够提高VR设备的生产质量,使其满足使用者的要求,提高使用者的使用体验。From the above, it can be seen that the field of view testing method and system of VR equipment provided by the present invention can be applied to the actual production line to test the field of view of VR equipment, and is simple and practical, which can improve the production quality of VR equipment and make it meet the needs of users. To meet the requirements of users and improve the user experience.

如上参照附图以示例的方式描述根据本发明的VR设备的视场测试方法及系统。但是,本领域技术人员应当理解,对于上述本发明所提出的VR设备的视场测试方法及系统,还可以在不脱离本发明内容的基础上做出各种改进。因此,本发明的保护范围应当由所附的权利要求书的内容确定。The method and system for testing the field of view of a VR device according to the present invention are described above by way of example with reference to the accompanying drawings. However, those skilled in the art should understand that various improvements can be made to the field of view testing method and system for VR equipment proposed in the present invention without departing from the content of the present invention. Therefore, the protection scope of the present invention should be determined by the contents of the appended claims.

Claims (7)

1. A field of view testing method of a VR device, comprising:
shooting an image projected on a VR screen to obtain a first image;
setting a rectangle along the center of the first image, wherein the length and the width of the rectangle are determined according to the length and the width of the first image;
projecting a first image with a rectangle on the VR screen, and shooting the first image with the rectangle projected on the VR screen to obtain a second image;
respectively searching four sides of the rectangle in the second image along the periphery of the starting point by taking the center of the second image as the starting point, and determining whether the four sides of the rectangle are in the second image; wherein,
if the four sides of the rectangle are in the second image, respectively increasing the length and the width of the rectangle arranged in the first image by preset values, and performing screen projection shooting again;
determining the field of view of the VR device to be the length and width of the current rectangle if one of the sides of the rectangle is not in the second image.
2. The visual field test method of the VR device of claim 1, wherein, in the process of increasing the length and width of the rectangle provided in the first image by predetermined values, respectively, and performing the screen-projection photographing again,
and projecting the rectangle with the length and the width respectively increased by the preset numerical value into the first image, and shooting the first image in which the rectangle with the length and the width respectively increased by the preset numerical value is projected again to obtain a second image again.
3. The method of claim 2, wherein, in projecting a rectangle having a length and a width increased by predetermined values, respectively, into the first image,
the center of the rectangle whose length and width are increased by predetermined values, respectively, coincides with the center of the first image.
4. The method of claim 1, wherein, in setting a rectangle along a center of the first image,
the color of a rectangle disposed along the center of the first image is different from the color of the first image.
5. The field of view testing method of the VR device of claim 1, wherein,
the initial length and width of the rectangle are both less than the length and width of the first image.
6. The field of view testing method of the VR device of claim 1, wherein,
finding the four sides of the rectangle in the second image along the four sides of the starting point respectively means finding the four sides of the rectangle in the second image along four directions above, below, left and right of the starting point respectively.
7. A field of view testing system of a VR device, comprising:
the first image acquisition unit is used for shooting an image projected on the VR screen to acquire a first image;
a rectangle setting unit configured to set a rectangle along a center of the first image acquired by the first image acquiring unit, wherein a length and a width of the rectangle are determined according to the length and the width of the first image;
the second image acquisition unit is used for projecting the rectangle set by the rectangle setting unit into the first image, projecting the first image with the rectangle projected on the VR screen, shooting the first image with the rectangle projected on the VR screen and acquiring a second image;
a field-of-view determining unit, configured to find four sides of the rectangle in the second image along the periphery of the starting point, respectively, with a center of the second image acquired by the second image acquiring unit as the starting point, and determine whether all the four sides of the rectangle are in the second image; wherein,
if the four sides of the rectangle are in the second image, respectively increasing the length and the width of the rectangle arranged in the first image by preset values, and performing screen projection shooting again;
and if one side of the rectangle is not in the second image, determining the field of view of the VR device to be the length and the width of the current rectangle.
CN201711084944.1A 2017-11-07 2017-11-07 The visual field test method and system of VR equipment Active CN107888892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711084944.1A CN107888892B (en) 2017-11-07 2017-11-07 The visual field test method and system of VR equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711084944.1A CN107888892B (en) 2017-11-07 2017-11-07 The visual field test method and system of VR equipment

Publications (2)

Publication Number Publication Date
CN107888892A CN107888892A (en) 2018-04-06
CN107888892B true CN107888892B (en) 2019-08-02

Family

ID=61779013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711084944.1A Active CN107888892B (en) 2017-11-07 2017-11-07 The visual field test method and system of VR equipment

Country Status (1)

Country Link
CN (1) CN107888892B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108776003B (en) * 2018-06-08 2019-10-22 歌尔股份有限公司 A detection method for a VR device
CN109186959B (en) * 2018-09-28 2020-02-07 歌尔股份有限公司 Method, device and equipment for detecting field curvature of VR optical module
CN110907142B (en) * 2019-12-09 2021-08-03 中国科学院长春光学精密机械与物理研究所 A system and method for testing visual and somatosensory equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2261647A1 (en) * 1996-07-31 1998-02-05 Virtual-Eye.Com, Inc. Visual field testing method and apparatus
CN102647574A (en) * 2011-02-16 2012-08-22 三洋电机株式会社 Projection display apparatus and image adjusting method
CN104427282A (en) * 2013-09-10 2015-03-18 索尼公司 Information processing apparatus, information processing method, and program
CN105787980A (en) * 2016-03-17 2016-07-20 北京牡丹视源电子有限责任公司 Method and system for detecting field angle of virtual reality display device
CN106124169A (en) * 2016-06-29 2016-11-16 南京睿悦信息技术有限公司 A kind of VR helmet equipment angle of visual field measuring method
CN106843470A (en) * 2016-12-28 2017-06-13 歌尔科技有限公司 A kind of method of controlling viewing angle, device and VR systems

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2261647A1 (en) * 1996-07-31 1998-02-05 Virtual-Eye.Com, Inc. Visual field testing method and apparatus
CN102647574A (en) * 2011-02-16 2012-08-22 三洋电机株式会社 Projection display apparatus and image adjusting method
CN104427282A (en) * 2013-09-10 2015-03-18 索尼公司 Information processing apparatus, information processing method, and program
CN105787980A (en) * 2016-03-17 2016-07-20 北京牡丹视源电子有限责任公司 Method and system for detecting field angle of virtual reality display device
CN106124169A (en) * 2016-06-29 2016-11-16 南京睿悦信息技术有限公司 A kind of VR helmet equipment angle of visual field measuring method
CN106843470A (en) * 2016-12-28 2017-06-13 歌尔科技有限公司 A kind of method of controlling viewing angle, device and VR systems

Also Published As

Publication number Publication date
CN107888892A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN108989678B (en) Image processing method and mobile terminal
US20150356770A1 (en) Street view map display method and system
CN110648363B (en) Camera gesture determining method and device, storage medium and electronic equipment
WO2018019282A1 (en) Binocular panorama image obtaining method and apparatus, and storage medium
US20160094770A1 (en) Image Processing Method and Apparatus, and Terminal
CN106249508B (en) Autofocus method and system, and photographing device
CN111835982B (en) Image acquisition method, image acquisition device, electronic device and storage medium
CN107888892B (en) The visual field test method and system of VR equipment
CN110324603A (en) For handling method, electronic equipment and the medium of image
CN109829981A (en) Three-dimensional scenic rendering method, device, equipment and storage medium
JP7027049B2 (en) Image processing equipment, image processing methods and programs
WO2020042494A1 (en) Method for screenshot of vr scene, device and storage medium
CN109840946B (en) Virtual object display method and device
CN109429060A (en) Interpupillary distance measurement method, wearable eye equipment and storage medium
CN105929538A (en) Virtual reality equipment display method and device
CN108447105A (en) A kind of processing method and processing device of panoramic picture
CN111429537A (en) Optical detection method, device and equipment for movie screen and intelligent network sensor
US11468258B2 (en) Information processing apparatus, information processing method, and storage medium
US12067677B2 (en) Information processing apparatus, information processing method, and computer-readable storage medium
CN109559382A (en) Intelligent guide method, apparatus, terminal and medium
CN104063041B (en) A kind of information processing method and electronic equipment
US11113379B2 (en) Unlocking method and virtual reality device
CN107704397B (en) Application program testing method and device and electronic equipment
JP2007315777A (en) Three-dimensional shape measurement system
US9552059B2 (en) Information processing method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201013

Address after: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronic office building)

Patentee after: GoerTek Optical Technology Co.,Ltd.

Address before: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268

Patentee before: GOERTEK Inc.