WO2018040328A1 - 测试虚拟现实头显设备软件的方法及装置 - Google Patents

测试虚拟现实头显设备软件的方法及装置 Download PDF

Info

Publication number
WO2018040328A1
WO2018040328A1 PCT/CN2016/107714 CN2016107714W WO2018040328A1 WO 2018040328 A1 WO2018040328 A1 WO 2018040328A1 CN 2016107714 W CN2016107714 W CN 2016107714W WO 2018040328 A1 WO2018040328 A1 WO 2018040328A1
Authority
WO
WIPO (PCT)
Prior art keywords
feature point
image
right eye
left eye
virtual reality
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.)
Ceased
Application number
PCT/CN2016/107714
Other languages
English (en)
French (fr)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to JP2017504419A priority Critical patent/JP6560740B2/ja
Priority to RU2017126372A priority patent/RU2665901C1/ru
Publication of WO2018040328A1 publication Critical patent/WO2018040328A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/332Displays for viewing with the aid of special glasses or head-mounted displays [HMD]
    • H04N13/344Displays for viewing with the aid of special glasses or head-mounted displays [HMD] with head-mounted left-right displays
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/144Processing image signals for flicker reduction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/324Colour aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/398Synchronisation thereof; Control thereof
    • 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
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N2013/0074Stereoscopic image analysis
    • H04N2013/0081Depth or disparity estimation from stereoscopic image signals

Definitions

  • the present disclosure relates to the field of software testing technologies, and in particular, to a method and apparatus for testing virtual reality head-display device software.
  • Virtual Reality (VR) head-mounted display device referred to as virtual reality head-display device
  • VR head-display device is a product that uses simulation technology and computer graphics human-machine interface technology, multimedia technology, sensing technology, network technology and other technologies.
  • the principle is to divide one picture into two images, which correspond to the left and right eyes of the user respectively, so that the images seen by the left and right eyes of the user are independent of each other, so that the left and right eyes of the user can respectively view the corresponding images through the lens of the virtual reality head display device.
  • Stereoscopic vision is formed by independent images of the left and right eyes.
  • Embodiments of the present disclosure provide a method and apparatus for testing virtual reality head-display device software.
  • the technical solution is as follows:
  • a method for testing virtual reality head display device software including:
  • each set of feature point positions includes a first position and a right eye feature of the left eye feature points in the left eye image Pointing at a second position in the right eye image; each set of the left eye feature point and the right eye feature point having the same preset color value, the preset color value including each pixel in the test image a unique color value in the color value of the point;
  • the embodiment can automatically test the result that the virtual reality head display device software generates the human eye observable stereo image, save test time, save labor cost, and test
  • the quantitative position value greatly improves the test accuracy, the test standard is unified, and the application range is wide, which can be applied to the testing of various virtual reality head display device software.
  • the first relative position of the left eye feature point in the left eye image and the right eye feature point in the right eye image are determined according to each set of feature point positions.
  • the difference between the two relative positions including:
  • a difference in pitch between the first pitch and the second pitch is calculated.
  • the technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the relative position of the same pixel in the left and right eye images is quantitatively represented by the difference between the first pitch and the second pitch, and the calculation is simple. Convenient.
  • the determining, according to the difference between the first relative position and the second relative position, the result of the virtual reality head display device software generating a human eye observable stereoscopic image comprises:
  • the technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: when the pitch difference corresponding to the left eye feature point and the right eye feature point of a group is not within the preset range, It is determined that the virtual reality head display device software cannot correctly generate a stereoscopic image observable by the human eye, thereby improving test accuracy.
  • the method further includes:
  • the virtual reality head display device software satisfies a condition for generating a human eye observable stereoscopic image, wherein the N is an integer greater than or equal to 1.
  • the embodiment defines acquiring the logarithm of the left eye image and the right eye image, and after testing the limited logarithmic left eye image and the right eye image, Determine the test results, have a certain test accuracy and test efficiency.
  • the method further includes:
  • the testing device can independently analyze the test image to obtain a preset color value without requiring tester input, reduce tester operation, and reduce labor cost.
  • each of the pair of left eye images and right eye images of the N pair of left eye images and right eye images is different.
  • N pairs of different left-eye images and right-eye images can be analyzed to test the virtual reality head-display device software, which can reduce unnecessary analysis and calculation, and improve test efficiency and test accuracy.
  • the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may include the following beneficial effects: the embodiment may
  • an apparatus for testing virtual reality head display device software includes:
  • a first acquiring module configured to acquire, from the virtual reality head display device, a pair of left eye images and right eye images corresponding to the test image;
  • a second acquiring module configured to perform image analysis on the pair of left eye images and the right eye image to obtain a plurality of sets of feature point positions, wherein each set of feature point positions includes a left eye feature point in the left eye image a second position of the first position and the right eye feature point in the right eye image; each set of the left eye feature point and the right eye feature point have the same preset color value, the preset color value including a unique color value among color values of each pixel in the test image;
  • a first determining module configured to determine, according to each set of the feature point positions, a first relative position of the left eye feature point in the left eye image for each set of the left eye feature point and the right eye feature point a difference from the second relative position of the right eye feature point in the right eye image;
  • a second determining module configured to determine, according to a difference between the first relative position and the second relative position, that the virtual reality head display device software is a result of generating a human eye observable stereo image, where The virtual reality head display device software is configured to generate a pair of left eye images and right eye images corresponding to the test images.
  • the first determining module comprises:
  • a first determining submodule configured to determine, according to each set of feature point positions, a first spacing between the left eye feature point and a first frame of the left eye image, and the right eye feature point and the right a second spacing between the second borders of the eye image; wherein the first border and the second border are both left borders; or the first border and the second border are both right borders;
  • a second determining submodule configured to calculate a difference in spacing between the first spacing and the second spacing.
  • the second determining module comprises:
  • a third determining submodule configured to determine the virtual reality head display device software when a difference between the first spacing and the second spacing determined according to any set of feature point positions is not within a preset range The condition for generating a stereoscopic image that can be observed by the human eye cannot be satisfied.
  • the apparatus further includes:
  • a third determining module configured to: in the acquired N pairs of left eye images and right eye images, a difference between the first spacing and the second spacing determined according to each set of feature point positions is preset In the range, it is determined that the virtual reality head display device software can satisfy a condition for generating a human eye observable stereo image, wherein the N is an integer greater than or equal to 1.
  • the apparatus further includes:
  • a third obtaining module configured to acquire the test image
  • a fourth acquiring module configured to perform image analysis on the test image to obtain the preset color value.
  • each of the pair of left eye images and right eye images of the N pair of left eye images and right eye images is different.
  • an apparatus for testing virtual reality head display device software includes:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • each set of feature point positions includes a first position and a right eye feature of the left eye feature points in the left eye image Pointing at a second position in the right eye image; each set of the left eye feature point and the right eye feature point having the same preset color value, the preset color value including each pixel in the test image a unique color value in the color value of the point;
  • FIG. 1 is a flow chart showing a method of testing virtual reality head display device software, according to an exemplary embodiment.
  • FIG. 2 is a flow chart showing a method of testing virtual reality head display device software, according to an exemplary embodiment.
  • FIG. 3 is a flow chart showing a method of testing virtual reality head display device software, according to an exemplary embodiment.
  • FIG. 4 is a block diagram of an apparatus for testing virtual reality head-display device software, according to an exemplary embodiment.
  • FIG. 5 is a block diagram of an apparatus for testing virtual reality head-display device software, according to an exemplary embodiment.
  • FIG. 6 is a block diagram of an apparatus for testing virtual reality head-display device software, according to an exemplary embodiment.
  • FIG. 7 is a block diagram of an apparatus for testing virtual reality head-display device software, according to an exemplary embodiment.
  • FIG. 8 is a block diagram of an apparatus for testing virtual reality head-display device software, according to an exemplary embodiment.
  • FIG. 9 is a block diagram of an apparatus for testing virtual reality head-display device software, according to an exemplary embodiment.
  • FIG. 10 is a block diagram of an apparatus for testing virtual reality head-display device software, according to an exemplary embodiment.
  • Virtual reality also known as virtual technology, also called virtual environment
  • virtual reality is the use of computer simulation to generate a virtual space in three dimensions.
  • the world provides users with a simulation of the senses such as vision, allowing the user to feel as if they are immersed in the situation, and can observe things in the three-dimensional space in a timely and unrestricted manner.
  • the computer can immediately perform complex calculations and transmit the accurate 3D world video back, giving the user a sense of presence.
  • the technology integrates the latest developments in computer graphics, computer simulation, artificial intelligence, sensing, display and network parallel processing. It is a high-tech simulation system generated by computer technology.
  • the virtual reality head display device is a head-mounted display that generates different images for the left and right eyes, and the human eye acquires such a difference image to generate a stereoscopic effect in the brain.
  • the virtual reality head display device software is an application software developed for the above virtual reality head display device, and can generate different images for the left and right eyes, and form a stereoscopic image in the brain after the human eye observes.
  • Virtual reality head-mounted devices can be divided into three categories: external head-mounted devices, integrated head-mounted devices, and mobile-end display devices.
  • External head display equipment user experience is good, with independent screen, product structure is complex, high technical content, but requires hardware support such as PC; integrated head display equipment, also called VR one machine, without the need for external hardware equipment, The display function and hardware are integrated into one head display; the mobile terminal display device has a simple structure and low price, and can be viewed by being placed in a mobile phone, and is convenient to use.
  • the virtual reality head-mounted device it is necessary to present the user with two different images of the left and right eyes. After the two images are observed by the human eye, whether it can form a stereoscopic image observable by the human eye is an important factor in judging the correctness of the function of the virtual reality head display device, and is also one of the important test items of the virtual reality head display device. .
  • the universal test method is manual test, that is, the tester actually wears the virtual reality head display device, runs the virtual reality head display device, and directly observes whether a stereoscopic image observable by the human eye can be formed.
  • manual testing must be manually and manually tested, which takes time and labor costs.
  • the human eye can only judge qualitatively, resulting in insufficient test accuracy, large test error, and different testers' judgment standards are inconsistent and cannot meet test consistency requirements. .
  • the virtual reality head display device software may generate a corresponding pair of left eye images and right eye images according to the pre-stored test images multiple times, and then send a pair of left eye images and right eye images corresponding to the test images to the image.
  • a test device such that the test device can acquire a pair of left eye images and right eye images corresponding to a test image from the virtual reality head display device multiple times, and perform an image on the acquired pair of left eye images and right eye images after each acquisition.
  • each set of feature point positions includes a first position of the left eye feature point in the left eye image and a second position of the right eye feature point in the right eye image;
  • the left eye feature point and The right eye feature point is that a pixel point in the test image corresponds to a pixel point in the left eye image and the right eye image respectively;
  • the testing device determines the first feature of the left eye feature point in the left eye image according to each set of feature point positions.
  • the relative position and the second position of the right eye feature point in the right eye image determine the deviation value of the same pixel in the left and right eyes, and analyze the user to use the left and right eyes according to the deviation value.
  • This embodiment does not require manual manual testing, and can automatically test whether the virtual reality head display device software can correctly generate stereoscopic images that can be observed by the human eye, save test time, save labor cost, and test quantitative position values. It greatly improves the test accuracy, the test standard is unified, and the application range is wide, which can be applied to the testing of various virtual reality head-mounted device software.
  • FIG. 1 is a flowchart of a method for testing virtual reality head display device software according to an exemplary embodiment. As shown in FIG. 1 , a method for testing virtual reality head display device software is used in a terminal, including the following step S101. -S104:
  • step S101 a pair of left eye images and right eye images corresponding to the test images are acquired from the virtual reality head display device a plurality of times.
  • the virtual reality head display device software in the virtual reality head display device can be turned on, and the virtual reality head display device software can generate a pair of left eye images and right eye images for the pre-stored test images.
  • the virtual reality head display device can transmit the currently generated pair of left eye images and right eye images to the testing device at regular intervals.
  • the test device may also send an image request message to the virtual reality head display device at a certain length of time.
  • the virtual reality head display device pairs the currently generated test image with a pair of left eyes.
  • the image and right eye image are sent to the test device.
  • the duration may be 2 s.
  • the virtual reality head display device software can immediately perform a complicated operation according to the scene changed by the user after the movement, and generate the left and right eye images after the movement, so that the user has a sense of presence; Therefore, in order to test the virtual reality head display device software under the scene change, the virtual reality head display device can be placed on the mechanical device capable of automatically adjusting the angle. After the mechanical device is turned on, the angle of the virtual reality head display device can be automatically adjusted and changed. Scenes. In this way, the virtual reality head display device can transmit a pair of left eye images and right eye images corresponding to the test images at various angles to the test device.
  • step S102 image analysis is performed on the pair of left eye images and the right eye image to acquire a plurality of sets of feature point positions, wherein each set of feature point positions includes a first position and a position of a left eye feature point in the left eye image a second position of the right eye feature point in the right eye image; each set of the left eye feature point and the right eye feature point has the same preset color value, the preset color value including each of the test images A unique color value in the color value of a pixel.
  • image analysis may be performed on the left eye image and the right eye image to acquire a first pixel in the left eye image and a right eye in the test image.
  • the first position of one pixel in the left eye image and the second position in the right eye image are a set of feature point positions.
  • one pixel in the test image is converted into a pixel in the left and right eye images, and the same pixel corresponds to the color value of the pixel in the left eye image and corresponds to the right eye image.
  • the color values of the pixels are the same. Therefore, in the embodiment, the testing device can respectively obtain the left eye feature point and the right eye feature point having the same preset color value from the left and right eye images according to the preset color value, where the preset color value is in the test image.
  • the color value of each pixel has a unique color value, that is, only one pixel in the test image has the preset color value.
  • the left eye feature point having the preset color value in the left eye image and the left eye feature point having the preset color value in the right eye image are the same pixel point, that is, the test image has the preset color value. Pixels.
  • the preset color value may be input by the tester into the test device, and the tester may set a plurality of model points on the test image in the virtual reality head display device software, and the color value of each analog point Set to a different preset color value, which is a color value that is not clearly determined by other pixels on the test image, and the tester inputs the preset color values to the test device, and the test device records the pre-recorded values. Set the color value.
  • the preset color value may be an RGB value, and the RGB value is used to represent the color of the pixel in the picture, and the RGB value is The higher the brightness of a large picture, for example, RGB (255, 255, 255) can be used to represent white, and RGB (0, 0, 0) to represent black. It is worth noting that in practical applications, you can also choose the Lab value and so on to represent the color value.
  • the preset color value in this embodiment is an RGB value, and the RGB value can accurately represent the color value of one pixel point, which is convenient for setting the preset color value, and the RGB value can make the testing device accurately and conveniently determine that the same pixel is in the left and right. The position in the eye image improves test efficiency.
  • the testing device may perform image analysis on the left eye image and the right eye image, obtain color values of respective pixels in the left eye image, and color values of respective pixels in the right eye image, and obtain the same preset color value.
  • a left eye feature point and a right eye feature point each group of left eye feature points and right eye feature points having the same preset color value become a set of feature points; and further, the test device can acquire the left eye feature points in the left eye image
  • the first position and the right eye feature point are in a second position in the right eye image.
  • the preset color value stored in the test device may be one or two or more, so the test device may acquire a set of feature points or sets of feature points, and each set of feature points has corresponding An identical preset color value.
  • the test device can obtain a plurality of sets of feature point positions from a pair of left and right eye images, each set of feature points having the same preset color value, and each set of feature point positions can be indexed by the number of the image and the color value of the feature points.
  • Form a two-dimensional array For example, the left eye image in the first pair of left and right eye images is labeled 00, and the right eye image is numbered 01, then a[00][color value 1] - position 1 indicates that the color value in the left eye image is 1. The first position of the pixel is position 1; then a[01][color value 1] - position 2 indicates that the second position of the pixel having a color value of 1 in the right eye image is position 2.
  • step S103 for each set of the left eye feature point and the right eye feature point, determining a first relative position and a position of the left eye feature point in the left eye image according to each set of feature point positions A difference between a second relative position of the right eye feature point in the right eye image.
  • step S104 determining, according to a difference between the first relative position and the second relative position, a result of the virtual reality head display device software generating a human eye observable stereo image, wherein the virtual reality head
  • the display device software is configured to generate a corresponding pair of left eye images and right eye images according to the pre-stored test images.
  • the left eye image and the right eye image have parallax in the horizontal direction, and the relative positions of the same pixel in the left eye image and the right eye image have a certain deviation if the same pixel is in the left eye image and the right eye image.
  • the deviation of the relative position is within a certain deviation range, the left eye image and the right eye image are observed by the human eye, and a stereoscopic image is formed in the human brain. If the deviation range is exceeded, the left eye image and the right eye image are observed by the human eye. After that, stereo images cannot be formed in the human brain.
  • the pair of left eye images and right eye images acquired by the testing device in the embodiment are generated by the virtual reality head display device software according to the pre-stored test images, if the pair of left eye images and right eye images pass the person
  • the stereoscopic image can be formed in the human brain after the eye observation, which indicates that the virtual reality head display device software can correctly generate the human eye observable stereo image, and if the pair of left eye images and right eye images are observed by the human eye, the image cannot be
  • the formation of a stereoscopic image in the human brain indicates that the virtual reality head-display device software cannot correctly generate a stereoscopic image that can be observed by the human eye.
  • the testing device can determine the pair of left eye images and the right eye according to the difference between the first relative position of the left eye feature point in the left eye image and the second relative position of the right eye feature point in the right eye image. Can the image form a stereoscopic image in the human brain after observation by the human eye?
  • the virtual reality head display device software generates a result of observable stereoscopic images by the human eye.
  • the difference between the first relative position and the second relative position exceeds the deviation range of the formed stereoscopic image, it is determined that the pair of the left eye image and the right eye image cannot form a stereoscopic image in the human brain after being observed by the human eye.
  • the result of the virtual reality head display device software generating the human eye observable stereo image is that the virtual reality head display device software cannot correctly generate the human eye observable stereo image; if the difference between the first relative position and the second relative position is formed Within the deviation range of the stereoscopic image, it is determined that the pair of left-eye images and right-eye images can form a stereoscopic image in the human brain after being observed by the human eye, and the virtual reality head-display device software generates a stereoscopic image of the human eye to be virtual.
  • Realistic head-mounted device software can correctly generate stereoscopic images that can be observed by human eyes.
  • the lower left corner of the left-eye image is the origin of the Cartesian coordinate system
  • the unit is the number of pixel points
  • the horizontal direction is the x-axis
  • the vertical direction is the y-axis
  • the coordinate value is used to represent the left-eye feature point in the left-eye image.
  • the first position, the first position of the left eye feature point whose color value is 1 in the left eye image can be represented by coordinates (24, 30), that is, a[00][color value 1]-coordinates (24, 30); the lower left corner of the right eye image is the origin of the Cartesian coordinate system, the unit is the number of pixel points, the horizontal direction is the x-axis, the vertical direction is the y-axis, and the coordinate value is used to represent the left-eye feature point in the left-eye image.
  • the second position, the second position of the right eye feature point whose color value is 1 in the right eye image can be represented by coordinates (20, 30), that is, a[01][color value 1]-(20,30 ).
  • the test device can obtain the first relative position of the left eye feature point in the left eye image as 30 pixels in the horizontal direction from the lower left corner of the left eye image in the horizontal direction, and the right eye feature point in the right eye image.
  • the second relative position is 30 pixels in the horizontal direction from the lower left corner of the right eye image, and the difference between the first relative position and the second relative position is: the right eye image is in the right eye image.
  • the first relative position is compared with the left-eye feature point in the left-right position of the left-eye image, and the offset value is 4, and the testing device can determine the virtual state according to whether the offset value is within the deviation range of forming the stereoscopic image. Whether the actual head-mounted device software can correctly generate a stereoscopic image that can be observed by the human eye.
  • the virtual reality head display device software can automatically test the result of generating a stereoscopic image observable by the human eye, saving test time, saving labor cost, and testing the quantitative position value, greatly improving the test accuracy, and testing standard. Uniform, wide application range, can be applied to all kinds of virtual reality head-mounted device software testing.
  • step S103 includes steps A1-A2.
  • a first spacing between the left eye feature point and the first border of the left eye image, and the right eye feature point and the right eye image are determined according to each set of feature point positions.
  • a second spacing between the second borders wherein the first border and the second border are both left borders; or the first border and the second border are both right borders.
  • step A2 a difference in pitch between the first pitch and the second pitch is calculated.
  • the first relative position of the left eye feature point in the left eye image is the first between the left eye feature point and the left eye image left border.
  • the second relative position of the right eye feature point in the right eye image is the second distance between the right eye feature point and the left edge of the right eye image, and the difference between the first relative position and the second relative position is The difference in spacing between a pitch and a second pitch. If the first border and the second border are both the right border, the first relative position of the left eye feature point in the left eye image is between the left eye feature point and the left eye image right border.
  • the first spacing, the second relative position of the right eye feature point in the right eye image is the second spacing between the right eye feature point and the right border of the right eye image
  • the relative position of the left eye feature point in the left eye image is The difference between the relative positions of the right eye feature points in the right eye image is the difference in pitch between the first pitch and the second pitch.
  • the first position of the left eye feature point whose color value is the color value 1 in the left eye image is the coordinate (24, 30), and the second position of the right eye feature point whose color value is the color value 1 in the right eye image.
  • the first spacing is 24 pixels
  • the second spacing is 20 pixels
  • the spacing difference is 4 pixels.
  • the difference in spacing between each set of feature points can be stored as a two-digit array indexed by the image number and the color of the feature point. If the first pair of left and right eye images are numbered 0, then a[0][color value 1] 4 indicates that the difference in pitch corresponding to a pair of feature points whose color values are 1 in the first pair of left and right eye images is 4 pixels.
  • the left eye image and the right eye image have no parallax in the vertical direction, so when determining the relative position of the left eye feature point in the left eye image and the relative position of the right eye feature point in the right eye image, Instead of the vertical direction, it is only necessary to determine the offset in the horizontal direction.
  • test terminal After the test terminal obtains the difference in the pitch, it can determine whether the virtual reality head display device software can correctly generate a stereoscopic image observable by the human eye according to the difference in the pitch.
  • the offset of the same pixel at the left and right eyes is quantitatively represented by the difference in pitch between the first pitch and the second pitch, and the calculation is simple and convenient.
  • step S104 includes step B1.
  • step B1 when the difference between the first spacing and the second spacing determined according to any set of feature point positions is not within a preset range, determining that the virtual reality head display device software cannot satisfy the generation The condition in which the human eye can observe a stereoscopic image.
  • the stereoscopic image can be formed in the brain after the left eye image and the right eye image are respectively observed by the left and right eyes of the human body.
  • the difference between the first pitch and the second pitch determined according to any set of feature point positions is not within the preset range, then determining The left and right eye images generated by the virtual reality head display device software cannot cause the human body to form a stereoscopic image in the brain, that is, it is determined that the virtual reality head display device software cannot correctly generate a stereoscopic image observable by the human eye.
  • the virtual reality head display device software when the difference between the first pitch and the second pitch determined by the set of feature points is not within the preset range, it is determined that the virtual reality head display device software does not satisfy the generation of the human eye observable stereo image. Conditions to improve test accuracy.
  • the method further comprises step C1.
  • step C1 in the acquired N pairs of left eye images and right eye images, the difference between the first pitch and the second pitch determined according to each set of feature point positions is within a preset range. And determining that the virtual reality head display device software can satisfy a condition for generating a human eye observable stereoscopic image, wherein the N is an integer greater than or equal to 1.
  • the virtual reality head display device sends N pairs of left eye images and right eye images to the testing device, and the test device acquires the pair of left eye images and the right eye for each pair of left eye images and right eye images.
  • the distance difference between the first pitch and the second pitch is determined to be within a preset range according to each set of feature point positions, and then the virtual reality head-mounted device software is determined to be satisfied.
  • a condition is generated in which a human eye can observe a stereoscopic image.
  • the N can be set in consideration of both the test accuracy and the test efficiency according to the actual situation. If the test accuracy is emphasized, the N value can be set larger. If the test efficiency is emphasized, the N value can be set smaller, and Without limitation, by way of example, N can be set to 10 in consideration of test accuracy and test efficiency.
  • This embodiment defines the logarithm of acquiring the left eye image and the right eye image. After testing the left-eye image and the right-eye image of the limited logarithm, the test result is determined, and the test accuracy and the test efficiency are determined.
  • the method further includes steps D1-D2.
  • step D1 the test image is acquired.
  • step D2 image analysis is performed on the test image to obtain the preset color value.
  • the virtual reality head display device may send the test image to the test device, and after the test device acquires the test image, perform image analysis on the test image to obtain color values corresponding to each pixel point in the side view image, and then A unique preset color value is selected among the color values, that is, only one pixel of each pixel has the preset color value.
  • the test device can independently analyze the test image to obtain a preset color value without requiring tester input, reduce tester operation, and reduce labor cost.
  • each of the pair of left eye images and right eye images of the N pair of left eye images and right eye images are different.
  • the virtual reality head display device can triggerably generate the generated pair of left eye images and right eye images to the testing device when the scene changes, so that the N pairs of left eye images and the right acquired by the testing device are In the eye image, each pair of left eye image and right eye image are different; and then the testing device can analyze each pair of different left eye images and right eye images, calculate the spacing difference corresponding to each group of feature points, and determine
  • the virtual reality head display device software generates a result of observable stereoscopic images by the human eye.
  • N pairs of different left-eye images and right-eye images can be analyzed to test the virtual reality head-display device software, which can reduce unnecessary analysis and calculation, and improve test efficiency and test accuracy.
  • FIG. 2 is a flowchart of a method for testing virtual reality head display device software according to an exemplary embodiment. As shown in FIG. 2, the method may be implemented by a device having image processing functions, including the following steps:
  • step S201 a pair of left eye images and a right image corresponding to the test image are acquired N times from the virtual reality head display device. Eye image.
  • step S202 performing image analysis on the pair of left eye images and the right eye image to acquire a plurality of sets of feature point positions, wherein each set of feature point positions includes a first of the left eye feature points in the left eye image a second position of the position and right eye feature points in the right eye image; each set of the left eye feature point and the right eye feature point have the same preset color value, the preset color value including the A unique color value among the color values of each pixel in the test image.
  • step S203 for each set of the left eye feature point and the right eye feature point, determining a number between the left eye feature point and the first frame of the left eye image according to each set of feature point positions a spacing, and a second spacing between the right eye feature point and the second border of the right eye image; wherein the first border and the second border are both left borders; or A border and the second border are both right borders.
  • step S204 a difference in pitch between the first pitch and the second pitch is calculated.
  • step S205 when the difference between the first spacing and the second spacing determined according to any set of feature point positions is not within a preset range, determining that the virtual reality head display device software cannot satisfy the generation The condition in which the human eye can observe a stereoscopic image.
  • step S206 in the acquired N pairs of left eye images and right eye images, the difference between the first pitch and the second pitch determined according to each set of feature point positions is within a preset range. And determining, by the virtual reality head-display device software, a condition for generating a human-observable stereoscopic image, wherein the N is an integer greater than or equal to 1.
  • FIG. 3 is a flowchart of a method for testing virtual reality head display device software according to an exemplary embodiment. As shown in FIG. 3, the method may be implemented by a device having image processing functions, including the following steps:
  • step S301 a test image is acquired.
  • step S302 image analysis is performed on the test image to obtain the preset color value.
  • step S303 a pair of left eye images and right eye images corresponding to the test images are acquired N times from the virtual reality head display device.
  • step S304 image analysis is performed on the pair of left eye images and the right eye image to acquire a plurality of sets of feature point positions, wherein each set of feature point positions includes a first of the left eye feature points in the left eye image a second position of the position and right eye feature points in the right eye image; each set of the left eye feature point and the right eye feature point have the same preset color value, the preset color value including the A unique color value among the color values of each pixel in the test image.
  • step S305 for each set of the left eye feature point and the right eye feature point, determining a number between the left eye feature point and the first frame of the left eye image according to each set of feature point positions a spacing, and a second spacing between the right eye feature point and the second border of the right eye image; wherein the first border and the second border are both left borders; or A border and the second border are both right borders.
  • step S306 a difference in pitch between the first pitch and the second pitch is calculated.
  • step S307 when the difference between the first spacing and the second spacing determined according to any set of feature point positions is not within a preset range, determining that the virtual reality head display device software cannot satisfy the generation The condition in which the human eye can observe a stereoscopic image.
  • step S308 in the acquired N pairs of left eye images and right eye images, determining according to each set of feature point positions Determining that the virtual reality head display device software satisfies a condition for generating a human eye observable stereo image when the difference between the first pitch and the second pitch is within a preset range, wherein the N For an integer greater than or equal to 1, each of the left-eye image and the right-eye image in the N-pair left-eye image and the right-eye image is different.
  • FIG. 4 is a block diagram of an apparatus for testing virtual reality head-display device software, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both, according to an exemplary embodiment.
  • the device for testing the virtual reality head display device software includes a first obtaining module 401, a second obtaining module 402, a first determining module 403 and a second determining module 404, wherein:
  • the first obtaining module 401 is configured to acquire, from the virtual reality head display device, a pair of left eye images and right eye images corresponding to the test image multiple times;
  • the second obtaining module 402 is configured to perform image analysis on the pair of left eye images and the right eye image to obtain a plurality of sets of feature point positions, wherein each set of feature point positions includes a left eye feature point in the left eye image a first position and a right eye feature point in a second position in the right eye image; each set of the left eye feature point and the right eye feature point have the same preset color value, the preset color value And including a color value unique among color values of each pixel in the test image;
  • a first determining module 403 configured to determine, for each set of the left eye feature point and the right eye feature point, a first relative position of the left eye feature point in the left eye image according to each set of feature point positions a difference between a position and a second relative position of the right eye feature point in the right eye image;
  • a second determining module 404 configured to determine, according to a difference between the first relative position and the second relative position, that the virtual reality head display device software is a result of generating a human eye observable stereo image, where The virtual reality head display device software is configured to generate a corresponding pair of left eye images and right eye images according to the pre-stored test images.
  • the first determining module 403 includes a first determining submodule 4031 and a second determining submodule 4032, wherein:
  • a first determining sub-module 4031 configured to determine, according to each set of feature point positions, a first spacing between the left-eye feature point and a first border of the left-eye image, and the right-eye feature point and the a second spacing between the second borders of the image of the right eye; wherein the first border and the second border are both left borders; or the first border and the second border are both right borders;
  • the second determining sub-module 4032 is configured to calculate a difference in spacing between the first spacing and the second spacing.
  • the second determining module 404 includes a third determining submodule 4041, wherein the third determining submodule 4041 is configured to determine the location according to any set of feature points.
  • the third determining submodule 4041 is configured to determine the location according to any set of feature points.
  • the apparatus further includes a third determining module 405, wherein the third determining module 405 is configured to: in each of the acquired N pairs of left eye images and right eye images, according to each Determining that the virtual reality head display device is soft when the difference between the first pitch and the second pitch determined by the group feature point position is within a preset range
  • the component can satisfy the condition for generating a stereoscopic image of the human eye, wherein the N is an integer greater than or equal to 1.
  • the preset color value comprises an RGB value.
  • the apparatus further includes a third obtaining module 406 and a fourth obtaining module 407, wherein:
  • a third obtaining module 406, configured to acquire the test image
  • the fourth obtaining module 407 is configured to perform image analysis on the test image to obtain the preset color value.
  • each of the pair of left eye images and right eye images of the N pair of left eye images and right eye images is different.
  • FIG. 9 is a block diagram of an apparatus for testing virtual reality head display device software, which is applicable to a terminal device, according to an exemplary embodiment.
  • device 900 can be a mobile phone, game console, computer, tablet device, personal digital assistant, and the like.
  • Apparatus 900 can include one or more of the following components: processing component 901, memory 902, power component 903, multimedia component 904, audio component 905, input/output (I/O) interface 906, sensor component 907, and communication component 908.
  • Processing component 901 typically controls the overall operation of device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 901 can include one or more processors 920 to execute instructions to perform all or part of the steps described above.
  • processing component 901 can include one or more modules to facilitate interaction between component 901 and other components.
  • processing component 901 can include a multimedia module to facilitate interaction between multimedia component 904 and processing component 901.
  • Memory 902 is configured to store various types of data to support operation at device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phone book data, messages, pictures, videos, and the like. Memory 902 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 903 provides power to various components of device 900.
  • Power component 903 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 900.
  • the multimedia component 904 includes a screen between the device 900 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 904 includes a front camera and/or a rear camera. When the device 900 is in an operating mode, such as shooting The front camera and/or rear camera can receive external multimedia data in the shooting mode or video mode. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 905 is configured to output and/or input an audio signal.
  • the audio component 905 includes a microphone (MIC) that is configured to receive an external audio signal when the device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 902 or transmitted via communication component 908.
  • the audio component 905 also includes a speaker for outputting an audio signal.
  • the I/O interface 906 provides an interface between the processing component 901 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 907 includes one or more sensors for providing state assessment of various aspects to device 900.
  • sensor assembly 907 can detect an open/closed state of device 900, relative positioning of components, such as the display and keypad of device 900, and sensor component 907 can also detect changes in position of one component of device 900 or device 900. The presence or absence of user contact with device 900, device 900 orientation or acceleration/deceleration, and temperature variation of device 900.
  • Sensor assembly 907 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 907 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 907 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 908 is configured to facilitate wired or wireless communication between device 900 and other devices.
  • the device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 908 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 908 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 900 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 902 comprising instructions executable by processor 920 of apparatus 900 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a device for testing virtual reality head display device software comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • each set of feature point positions includes a first position and a right eye feature of the left eye feature points in the left eye image Pointing at a second position in the right eye image; each set of the left eye feature point and the right eye feature point having the same preset color value, the preset color value including each pixel in the test image a unique color value in the color value of the point;
  • the processor can also be configured to:
  • Determining, according to each set of feature point positions, a first relative position of the left eye feature point in the left eye image and a second relative position of the right eye feature point in the right eye image Differences including:
  • a difference in pitch between the first pitch and the second pitch is calculated.
  • the processor can also be configured to:
  • a result of the virtual reality head display device software generating a human eye observable stereo image including:
  • the processor can also be configured to:
  • the method further includes:
  • the virtual reality head display device software satisfies a condition for generating a human eye observable stereoscopic image, wherein the N is an integer greater than or equal to 1.
  • the processor can also be configured to:
  • the method further includes:
  • the processor can also be configured to:
  • Each of the left-eye image and the right-eye image in the N-pair left-eye image and the right-eye image is different.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of the apparatus 900, to enable the apparatus 900 to perform the method of testing the virtual reality head display device software, the method comprising:
  • each set of feature point positions includes a first position and a right eye feature of the left eye feature points in the left eye image Pointing at a second position in the right eye image; each set of the left eye feature point and the right eye feature point having the same preset color value, the preset color value including each pixel in the test image a unique color value in the color value of the point;
  • the instructions in the storage medium may further include:
  • Determining, according to each set of feature point positions, a first relative position of the left eye feature point in the left eye image and a second relative position of the right eye feature point in the right eye image Differences including:
  • a difference in pitch between the first pitch and the second pitch is calculated.
  • the instructions in the storage medium may further include:
  • a result of the virtual reality head display device software generating a human eye observable stereo image including:
  • the instructions in the storage medium may further include:
  • the method further includes:
  • the virtual reality head display device software satisfies a condition for generating a human eye observable stereoscopic image, wherein the N is an integer greater than or equal to 1.
  • the instructions in the storage medium may further include:
  • the method further includes:
  • FIG. 10 is a block diagram of an apparatus for testing virtual reality head display device software, according to an exemplary embodiment.
  • device 1000 can be provided as a computer.
  • Apparatus 1000 includes a processing component 1011 that further includes one or more processors, and memory resources represented by memory 1012 for storing instructions executable by processing component 1011, such as an application.
  • An application stored in memory 1012 can include one or more modules each corresponding to a set of instructions.
  • processing component 1011 is configured to execute instructions to perform the methods described above.
  • Apparatus 1000 can also include a power supply component 1013 configured to perform power management of apparatus 1000, a wired or wireless network interface 1014 configured to connect apparatus 1000 to the network, and an input/output (I/O) interface 1015.
  • the device 1000 can operate based on an operating system stored in the memory 1012, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Processing Or Creating Images (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本公开是关于测试虚拟现实头显设备软件的方法及装置。该方法包括:对获取到的测试图像对应的一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中每组的左眼特征点和右眼特征点具有相同的预设颜色值,预设颜色值包括测试图像中具有唯一性的颜色值;根据每组特征点位置,确定左眼特征点在左眼图像中的第一相对位置与右眼特征点在右眼图像中的第一相对位置之间的差异,并据此确定虚拟现实头显设备软件生成人眼可观测立体图像的结果。该技术方案可以自动测试出虚拟现实头显设备软件,节约了测试时间,节省了人力成本,且测试的是定量的位置参数,大大提高测试精度,测试标准统一,应用范围广,可以适用于各类虚拟现实头显设备软件的测试。

Description

测试虚拟现实头显设备软件的方法及装置
本申请基于申请号为201610798359.7、申请日为2016年08月31日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及软件测试技术领域,尤其涉及测试虚拟现实头显设备软件的方法及装置。
背景技术
虚拟现实(Virtual Reality,VR)头戴显示设备,简称虚拟现实头显设备,是利用仿真技术与计算机图形学人机接口技术、多媒体技术、传感技术、网络技术等多种技术集合的产品,其原理是将一个画面分为两个图像,分别对应于用户的左右眼,让用户左右眼所看到的图像相互独立,这样,用户左右眼通过虚拟现实头显设备的透镜可以分别观看到对应于左右眼的独立图像,形成立体视觉。
发明内容
本公开实施例提供测试虚拟现实头显设备软件的方法及装置。所述技术方案如下:
根据本公开实施例的第一方面,提供一种测试虚拟现实头显设备软件的方法,包括:
从虚拟现实头显设备中多次获取测试图像对应的一对左眼图像和右眼图像;
对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在所述左眼图像中的第一位置和右眼特征点在所述右眼图像中的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值;
针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异;
根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件生成人眼可观测立体图像的结果,其中,所述虚拟现实头显设备软件用于根据预存的所述测试图像生成对应的一对左眼图像和右眼图像。
本公开的实施例提供的技术方案可以包括以下有益效果:本实施例可以自动测试出虚拟现实头显设备软件生成人眼可观测立体图像的结果,节约了测试时间,节省了人力成本,且测试的是定量的位置值,大大提高测试精度,测试标准统一,应用范围广,可以适用于各类虚拟现实头显设备软件的测试。
在一个实施例中,所述根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异,包括:
根据每组特征点位置,确定所述左眼特征点与所述左眼图像的第一边框之间的第一间距,以及所述右眼特征点与所述右眼图像的第二边框之间的第二间距;其中,所述第一边框和所述第二边框都为左边框;或者,所述第一边框和所述第二边框都为右边框;
计算所述第一间距和所述第二间距之间的间距差。
本公开的实施例提供的技术方案可以包括以下有益效果:本实施例将同一像素点在左右眼图像中的相对位置定量地用第一间距和第二间距之间的间距差来表示,计算简单便捷。
在一个实施例中,所述根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件生成人眼可观测立体图像的结果,包括:
当根据任一组特征点位置确定的所述第一间距和所述第二间距之间的间距差不在预设范围内时,确定所述虚拟现实头显设备软件不能满足生成人眼可观测立体图像的条件。
本公开的实施例提供的技术方案可以包括以下有益效果:本实施例可以在有一组的所述左眼特征点和所述右眼特征点对应的所述间距差不在预设范围内时,就确定所述虚拟现实头显设备软件不能正确生成人眼可观测的立体图像,提高测试精度。
在一个实施例中,所述方法还包括:
在获取到的N对左眼图像和右眼图像中,根据每组特征点位置确定的所述第一间距和所述第二间距之间的间距差均在预设范围内时,确定所述虚拟现实头显设备软件满足生成人眼可观测立体图像的条件,其中,所述N为大于等于1的整数。
本公开的实施例提供的技术方案可以包括以下有益效果:本实施例限定了获取左眼图像和右眼图像的对数,可以在测试完限定对数的左眼图像和右眼图像后,就确定出测试结果,有一定的测试精度和测试效率。
在一个实施例中,所述方法还包括:
获取所述测试图像;
对所述测试图像进行图像分析,获取所述预设颜色值。
本公开的实施例提供的技术方案可以包括以下有益效果:本实施例中测试装置可以自主分析测试图像,获取预设颜色值,而不需要测试人员输入,减少测试人员操作,降低人力成本。
在一个实施例中,所述N对左眼图像和右眼图像中的每对左眼图像和右眼图像都不同。
本实施例可以对N对不同的左眼图像和右眼图像进行分析来测试虚拟现实头显设备软件,可以减少不必要的分析计算,提升测试效率和测试精度。
本公开的实施例提供的技术方案可以包括以下有益效果:本实施例可以
根据本公开实施例的第二方面,提供一种测试虚拟现实头显设备软件的装置,包括:
第一获取模块,用于从虚拟现实头显设备中多次获取测试图像对应的一对左眼图像和右眼图像;
第二获取模块,用于对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在所述左眼图像中的第一位置和右眼特征点在所述右眼图像中的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值;
第一确定模块,用于针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异;
第二确定模块,用于根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件是生成人眼可观测立体图像的结果,其中,所述虚拟现实头显设备软件用于生成所述测试图像对应的一对左眼图像和右眼图像。
在一个实施例中,所述第一确定模块包括:
第一确定子模块,用于根据每组特征点位置,确定所述左眼特征点与所述左眼图像的第一边框之间的第一间距,以及所述右眼特征点与所述右眼图像的第二边框之间的第二间距;其中,所述第一边框和所述第二边框都为左边框;或者,所述第一边框和所述第二边框都为右边框;
第二确定子模块,用于计算所述第一间距和所述第二间距之间的间距差。
在一个实施例中,所述第二确定模块包括:
第三确定子模块,用于在根据任一组特征点位置确定的所述第一间距和所述第二间距之间的间距差不在预设范围内时,确定所述虚拟现实头显设备软件不能满足生成人眼可观测立体图像的条件。
在一个实施例中,所述装置还包括:
第三确定模块,用于在获取到的N对左眼图像和右眼图像中,根据每组特征点位置确定的所述第一间距和所述第二间距之间的间距差均在预设范围内时,确定所述虚拟现实头显设备软件能满足生成人眼可观测立体图像的条件,其中,所述N为大于等于1的整数。
在一个实施例中,所述装置还包括:
第三获取模块,用于获取所述测试图像;
第四获取模块,用于对所述测试图像进行图像分析,获取所述预设颜色值。
在一个实施例中,所述N对左眼图像和右眼图像中的每对左眼图像和右眼图像都不同。
根据本公开实施例的第三方面,提供一种测试虚拟现实头显设备软件的装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
从虚拟现实头显设备中多次获取测试图像对应的一对左眼图像和右眼图像;
对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在所述左眼图像中的第一位置和右眼特征点在所述右眼图像中的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值;
针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异;
根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件生成人眼可观测立体图像的结果,其中,所述虚拟现实头显设备软件用于生成所述测试图像对应的一对左眼图像和右眼图像。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是根据一示例性实施例示出的测试虚拟现实头显设备软件的方法的流程图。
图2是根据一示例性实施例示出的测试虚拟现实头显设备软件的方法的流程图。
图3是根据一示例性实施例示出的测试虚拟现实头显设备软件的方法的流程图。
图4是根据一示例性实施例示出的测试虚拟现实头显设备软件的装置的框图。
图5是根据一示例性实施例示出的测试虚拟现实头显设备软件的装置的框图。
图6是根据一示例性实施例示出的测试虚拟现实头显设备软件的装置的框图。
图7是根据一示例性实施例示出的测试虚拟现实头显设备软件的装置的框图。
图8是根据一示例性实施例示出的测试虚拟现实头显设备软件的装置的框图。
图9是根据一示例性实施例示出的测试虚拟现实头显设备软件的装置的框图。
图10是根据一示例性实施例示出的测试虚拟现实头显设备软件的装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
虚拟现实,又称虚拟技术,也称虚拟环境,是利用电脑模拟产生一个三维空间的虚拟 世界,提供用户关于视觉等感官的模拟,让用户感觉仿佛身历其境,可以及时、没有限制地观察三维空间内的事物。用户进行位置移动时,电脑可以立即进行复杂的运算,将精确的三维世界视频传回,使用户产生临场感。该技术集成了计算机图形、计算机仿真、人工智能、感应、显示及网络并行处理等技术的最新发展成果,是一种由计算机技术辅助生成的高技术模拟系统。
虚拟现实头显设备是一种头戴型显示器,针对左右眼生成不同的图像,人眼获取这种带有差异的图像后在脑中产生立体感。虚拟现实头显设备软件是针对于上述虚拟现实头显设备开发的应用软件,能够针对左右眼生成不同的图像,人眼观测后脑中形成立体图像。虚拟现实头显设备可分为三类:外接式头显设备、一体式头显设备、移动端头显设备。外接式头显设备,用户体验较好,具备独立屏幕,产品结构复杂,技术含量较高,不过需要PC等硬件的支持;一体式头显设备,也叫VR一体机,无需借助外部硬件设备,将显示功能和硬件集成到一个头显中;移动端头显设备,结构简单,价格低廉,只要放入手机即可观看,使用方便。
无论哪种虚拟现实头显设备,均需要向用户呈现左右眼两幅不同的图像。而这两幅图像经过人眼观察后,是否能形成一个人眼可观测的立体图像,是判断虚拟现实头显设备功能正确性的一个重要因素,也是虚拟现实头显设备的重要测试项之一。
相关技术中,针对这一测试项,通用的测试方法为人工测试,即通过测试人员实际佩戴虚拟现实头显设备,运行虚拟现实头显设备,直接观测能否形成人眼可观测的立体图像,以进行判断。但是人工测试必须要人工手动进行测试,耗费时间,人力成本高;另外,人眼只能定性判断,导致测试精度不够,测试误差大,而且不同的测试人员判断标准不一致,无法满足测试一致性要求。
本公开实施例中,虚拟现实头显设备软件可以多次根据预存的测试图像生成对应的一对左眼图像和右眼图像,然后将测试图像对应的一对左眼图像和右眼图像发送给测试装置,这样测试装置可以多次从虚拟现实头显设备获取某测试图像对应的一对左眼图像和右眼图像,每次获取后都对获取的一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在左眼图像中的第一位置和右眼特征点在右眼图像中的第二位置;左眼特征点和右眼特征点是该测试图像中某一像素点分别对应到左眼图像和右眼图像中的像素点;测试装置根据每组特征点位置,确定左眼特征点在左眼图像中的第一相对位置和右眼特征点在右眼图像中的第二位置,确定出同一像素点在左右眼的偏差值,并根据该偏差值分析出用户使用左右眼观看该对左眼图像和右眼图像后是否能看到立体图像,即确定虚拟现实头显设备软件是否能正确生成人眼可观测的立体图像。本实施例不需要人工手动进行测试,可以自动测试出虚拟现实头显设备软件是否能正确生成人眼可观测的立体图像,节约了测试时间,节省了人力成本,且测试的是定量的位置值,大大提高测试精度,测试标准统一,应用范围广,可以适用于各类虚拟现实头显设备软件的测试。
图1是根据一示例性实施例示出的一种测试虚拟现实头显设备软件的方法的流程图,如图1所示,测试虚拟现实头显设备软件的方法用于终端中,包括以下步骤S101-S104:
在步骤S101中,从虚拟现实头显设备中多次获取测试图像对应的一对左眼图像和右眼图像。
在测试虚拟现实头显设备软件时,可以开启虚拟现实头显设备中的虚拟现实头显设备软件,虚拟现实头显设备软件就可以针对预存的测试图像生成一对左眼图像和右眼图像,该虚拟现实头显设备可以每隔一定时长就将当前生成的一对左眼图像和右眼图像发送给测试装置。当然,测试装置也可以每隔一定时长向该虚拟现实头显设备发送一次图像请求消息,该虚拟现实头显设备在接收到该图像请求消息后,将当前生成的测试图像对应的一对左眼图像和右眼图像发送给测试装置。示例地,一定时长可以是2s。
这里,当用户带着虚拟现实头显设备进行位置移动时,虚拟现实头显设备软件可以根据用户移动后变化的场景立即进行复杂的运算,生成移动后的左右眼图像,使用户产生临场感;故为了测试场景变化下的虚拟现实头显设备软件,可以将虚拟现实头显设备安放于可自动调整角度的机械装置上,该机械装置开启后,可以自动调整虚拟现实头显设备的角度,变化场景。这样,虚拟现实头显设备就可以向测试装置发送各种角度下的测试图像对应的一对左眼图像和右眼图像。
在步骤S102中,对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼图像中左眼特征点的第一位置和所述右眼图像中右眼特征点的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值。
这里,针对一对左眼图像和右眼图像,可以对该对左眼图像和右眼图像进行图像分析,获取测试图像中的某一像素点在左眼图像中的第一位置和在右眼图像中的第二位置。一个像素点在左眼图像中的第一位置和在右眼图像中的第二位置即为一组特征点位置。
由于在虚拟现实开发环境中,会将测试图像中的某一个像素点转换为左右眼图像中像素点,且同一像素点对应到左眼图像中的像素点的颜色值与对应到右眼图像中的像素点的颜色值是相同的。故本实施例中测试装置可以根据预设颜色值,从左右眼图像中分别获取具有同一预设颜色值的左眼特征点和右眼特征点,这里,预设颜色值是所述测试图像中各像素点的颜色值中具有唯一性的颜色值,即所述测试图像中只有一个像素点具有该预设颜色值。则左眼图像中具有该预设颜色值的左眼特征点和右眼图像中具有该预设颜色值的左眼特征点就是同一个像素点,即都是测试图像中具有该预设颜色值的像素点。
这里需要说明的是,预设颜色值可以是测试人员输入到测试装置中的,测试人员可以在虚拟现实头显设备软件中的测试图像上设置若干个的模型点,每个模拟点的颜色值设置为不同的预设颜色值,该预设颜色值是测试图像上其他像素点没有的,可以明确分辨的颜色值;同时测试人员将这些预设颜色值输入到测试装置,测试装置记录这些预设颜色值。
这里,预设颜色值可以是RGB值,RGB值用于表征图片中像素的颜色,RGB值越 大图片的亮度越高,例如,可以用RGB(255,255,255)来表示白色,用RGB(0,0,0)来表示黑色。值得说明的是,在实际应用中还可以选择Lab值等来表征颜色值。本实施例中的预设颜色值为RGB值,RGB值可以精确表示一个像素点的颜色值,方便预设颜色值的设置,并且RGB值可以使测试装置精确方便地确定出同一像素点在左右眼图像中的位置,提升测试效率。
故,测试装置可以对该对左眼图像和右眼图像进行图像分析,获取左眼图像中各个像素点的颜色值和右眼图像中各个像素点的颜色值,获取具有同一预设颜色值的左眼特征点和右眼特征点,每一组具有同一预设颜色值的左眼特征点和右眼特征点成为一组特征点;进而测试装置可以获取左眼特征点在左眼图像中的第一位置和右眼特征点在右眼图像中的第二位置。
这里需要说明的是,测试装置中存储的预设颜色值可以是一个,也可以是两个或两个以上,故测试装置可以获取一组特征点或多组特征点,每组特征点对应具有一个相同的预设颜色值。
测试装置可以从一对左右眼图像中获取到多组特征点位置,每组特征点都具有相同的预设颜色值,每组特征点位置可以以图像的编号和特征点的颜色值为索引,形成一个二维数组。示例地,第一对左右眼图像中的左眼图像的标号为00,右眼图像的编号为01,则a[00][颜色值1]—位置1表示左眼图像中颜色值为1的像素点的第一位置为位置1;则a[01][颜色值1]—位置2表示右眼图像中颜色值为1的像素点的第二位置为位置2。
在步骤S103中,针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异。
在步骤S104中,根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件生成人眼可观测立体图像的结果,其中,所述虚拟现实头显设备软件用于根据预存的所述测试图像生成对应的一对左眼图像和右眼图像。
这里,左眼图像与右眼图像在水平方向上存在视差,同一像素点在左眼图像和右眼图像中的相对位置有一定的偏差,如果同一像素点在左眼图像和右眼图像中的相对位置的偏差在特定的偏差范围内,则左眼图像与右眼图像通过人眼观测后,人脑中会形成立体图像,如果超过这个偏差范围,左眼图像与右眼图像通过人眼观测后,人脑中不能形成立体图像。由于本实施例中测试装置获取的这一对左眼图像和右眼图像是虚拟现实头显设备软件根据预存的所述测试图像生成的,故如果这一对左眼图像和右眼图像通过人眼观测后能够在人脑中形成立体图像,则表明该虚拟现实头显设备软件能正确生成人眼可观测立体图像,如果这一对左眼图像和右眼图像通过人眼观测后不能够在人脑中形成立体图像,则表明该虚拟现实头显设备软件不能正确生成人眼可观测立体图像。故,测试装置可以根据左眼特征点在左眼图像中的第一相对位置与右眼特征点在右眼图像中的第二相对位置之间的差异,确定这一对左眼图像和右眼图像通过人眼观测后能否在人脑中形成立体图像,进而确 定虚拟现实头显设备软件生成人眼可观测立体图像的结果。
这里,如果第一相对位置与第二相对位置之间的差异超过该形成立体图像的偏差范围,则确定这一对左眼图像和右眼图像通过人眼观测后不能在人脑中形成立体图像,虚拟现实头显设备软件生成人眼可观测立体图像的结果为虚拟现实头显设备软件不能正确生成人眼可观测立体图像;如果第一相对位置与第二相对位置之间的差异在该形成立体图像的偏差范围内,则确定这一对左眼图像和右眼图像通过人眼观测后能在人脑中形成立体图像,虚拟现实头显设备软件生成人眼可观测立体图像的结果为虚拟现实头显设备软件能正确生成人眼可观测立体图像。
示例地,以左眼图像的左下角为直角坐标系的原点,单位为像素点个数,水平方向为x轴,垂直方向为y轴,用坐标值来表示左眼特征点在左眼图像中的第一位置,则左眼图像中颜色值为颜色值1的左眼特征点的第一位置可以用坐标(24,30)表示,即a[00][颜色值1]—坐标(24,30);以右眼图像的左下角为直角坐标系的原点,单位为像素点个数,水平方向为x轴,垂直方向为y轴,用坐标值来表示左眼特征点在左眼图像中的第二位置,则右眼图像中颜色值为颜色值1的右眼特征点的第二位置可以用坐标(20,30)表示,即a[01][颜色值1]—(20,30)。则测试装置可以获得左眼特征点在左眼图像中的第一相对位置为离左眼图像的左下角水平方向24个像素点垂直方向30个像素点,右眼特征点在右眼图像中的第二相对位置为离右眼图像的左下角水平方向20个像素点垂直方向30个像素点,则第一相对位置与第二相对位置之间的差异为:与右眼特征点在右眼图像中的第一相对位置相比左眼特征点在左眼图像中偏右的位置,偏移值为4,测试装置可以根据该偏移值是否在形成立体图像的偏差范围内来确定所述虚拟现实头显设备软件是否能正确生成人眼可观测的立体图像。
本实施例可以自动测试出虚拟现实头显设备软件生成人眼可观测的立体图像的结果,节约了测试时间,节省了人力成本,且测试的是定量的位置值,大大提高测试精度,测试标准统一,应用范围广,可以适用于各类虚拟现实头显设备软件的测试。
在一个实施例中,步骤S103包括步骤A1-A2。
在步骤A1中,根据每组特征点位置,确定所述左眼特征点与所述左眼图像的第一边框之间的第一间距,以及所述右眼特征点与所述右眼图像的第二边框之间的第二间距;其中,所述第一边框和所述第二边框都为左边框;或者,所述第一边框和所述第二边框都为右边框。
在步骤A2中,计算所述第一间距和所述第二间距之间的间距差。
本实施例中,若第一边框和第二边框都为左边框,则左眼特征点在左眼图像中的第一相对位置为左眼特征点与左眼图像的左边框之间的第一间距,右眼特征点在右眼图像中的第二相对位置为右眼特征点与右眼图像的左边框之间的第二间距,第一相对位置与第二相对位置之间的差异为第一间距和第二间距之间的间距差。若第一边框和第二边框都为右边框,则左眼特征点在左眼图像中的第一相对位置是左眼特征点与左眼图像的右边框之间的 第一间距,右眼特征点在右眼图像中的第二相对位置为右眼特征点与右眼图像的右边框之间的第二间距,左眼特征点在左眼图像中的相对位置与右眼特征点在右眼图像中的相对位置之间的差异为第一间距和第二间距之间的间距差。
示例地,假设左眼图像中颜色值为颜色值1的左眼特征点的第一位置为坐标(24,30),右眼图像中颜色值为颜色值1的右眼特征点的第二位置为坐标(20,30);则第一间距为24个像素点,第二间距为20个像素点,间距差为4个像素点。可以将每组特征点对应的间距差,存储为以图像编号和特征点的颜色为索引的一个二位数组,如第一对左右眼图像标号为0,则a[0][颜色值1]—4表示第一对左右眼图像中颜色值为颜色值1的一对特征点对应的间距差为4个像素点。
这里需要说明的是,左眼图像和右眼图像在垂直方向上没有视差,故在确定左眼特征点在左眼图像中的相对位置和右眼特征点在右眼图像中的相对位置时,可以不考虑垂直方向,只需确定水平方向上的偏移量。
测试终端获得间距差后,就可以根据该间距差确定虚拟现实头显设备软件是否能正确生成人眼可观测的立体图像。
本实施例将同一像素点在左右眼的偏移量定量地用第一间距和第二间距之间的间距差来表示,计算简单便捷。
在一个实施例中,步骤S104包括步骤B1。
在步骤B1中,当根据任一组特征点位置确定的所述第一间距和所述第二间距之间的间距差不在预设范围内时,确定所述虚拟现实头显设备软件不能满足生成人眼可观测立体图像的条件。
其中,同一像素点在左眼图像和右眼图像中的相对位置的偏差在该预设范围内时,人体左右眼分别观测到左眼图像和右眼图像后可以在脑中形成立体图像。
本实施例中,针对任一组特征点,只要进行步骤A1和A2后,根据任一组特征点位置确定出的第一间距和第二间距之间的间距差不在预设范围内,则确定虚拟现实头显设备软件生成的左右眼图像不能使人体在脑中形成立体图像,即确定虚拟现实头显设备软件不能正确生成人眼可观测的立体图像。
本实施例可以在有一组特征点位置确定出的第一间距和第二间距之间的间距差不在预设范围内时,就确定该虚拟现实头显设备软件不满足生成人眼可观测立体图像的条件,提高测试精度。
在一个实施例中,所述方法还包括步骤C1。
在步骤C1中,在获取到的N对左眼图像和右眼图像中,根据每组特征点位置确定的所述第一间距和所述第二间距之间的间距差均在预设范围内时,确定所述虚拟现实头显设备软件能满足生成人眼可观测立体图像的条件,其中,所述N为大于等于1的整数。
本实施例中,虚拟现实头显设备会向测试装置发送N对左眼图像和右眼图像,测试装置每获取一对左眼图像和右眼图像,就分析获取该对左眼图像和右眼图像对应的多组特征 点位置,并根据每组特征点位置确定第一间距和第二间距之间的间距差,如果根据每组特征点位置确定的所述第一间距和所述第二间距之间的间距差均在预设范围内,就继续分析获取下一对左眼图像和右眼图像对应的多组特征点,并根据每组特征点位置确定第一间距和第二间距之间的间距差,直至获取到的N对左眼图像和右眼图像中,根据每组特征点位置确定第一间距和第二间距之间的间距差均在预设范围内,则确定所述虚拟现实头显设备软件满足生成人眼可观测立体图像的条件。
这里,所述N可以按照实际情况综合考虑测试精度和测试效率两方面进行设置,如果侧重测试精度,N值可以设置的大一点,如果侧重测试效率,N值可以设置的小一点,在此并不做限制,示例地,综合考虑测试精度和测试效率可以将N设置为10。
本实施例限定了获取左眼图像和右眼图像的对数,可以在测试完限定对数的左眼图像和右眼图像后,就确定出测试结果,有一定的测试精度和测试效率。
在一个实施例中,所述方法还包括步骤D1-D2。
在步骤D1中,获取所述测试图像。
在步骤D2中,对所述测试图像进行图像分析,获取所述预设颜色值。
本实施例中,虚拟现实头显设备可以将测试图像发送给测试装置,测试装置获取到测试图像后,对测试图像进行图像分析,获取侧视图像中各个像素点对应的颜色值,然后从这些颜色值中选择出具有唯一性的预设颜色值,即各个像素点中只有一个像素点具有该预设颜色值。
本实施例中测试装置可以自主分析测试图像,获取预设颜色值,而不需要测试人员输入,减少测试人员操作,降低人力成本。
如果N对左眼图像和右眼图像中有两对左眼图像和右眼图像是相同的,则测试装置就需要重复地对这相同的两对左眼图像和右眼图像进行分析计算,故为了减少不必要的分析计算,在一个实施例中,所述N对左眼图像和右眼图像中的每对左眼图像和右眼图像都不同。
本实施例中,虚拟现实头显设备可以在场景变化时,触发性地将生成的一对左眼图像和右眼图像发送给测试装置,这样,测试装置获取到的N对左眼图像和右眼图像中,每对左眼图像和右眼图像都不同;进而测试装置就可以对各对不同的左眼图像和右眼图像进行分析,计算各组特征点对应的间距差,并以此确定虚拟现实头显设备软件生成人眼可观测立体图像的结果。
本实施例可以对N对不同的左眼图像和右眼图像进行分析来测试虚拟现实头显设备软件,可以减少不必要的分析计算,提升测试效率和测试精度。
下面通过几个实施例详细介绍实现过程。
图2是根据一示例性实施例示出的一种测试虚拟现实头显设备软件的方法的流程图,如图2所示,该方法可以由具有图像处理功能的设备实现,包括以下步骤:
在步骤S201中,从虚拟现实头显设备中N次获取测试图像对应的一对左眼图像和右 眼图像。
在步骤S202中,对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在所述左眼图像中的第一位置和右眼特征点在所述右眼图像中的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值。
在步骤S203中,针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点与所述左眼图像的第一边框之间的第一间距,以及所述右眼特征点与所述右眼图像的第二边框之间的第二间距;其中,所述第一边框和所述第二边框都为左边框;或者,所述第一边框和所述第二边框都为右边框。
在步骤S204中,计算所述第一间距和所述第二间距之间的间距差。
在步骤S205中,当根据任一组特征点位置确定的所述第一间距和所述第二间距之间的间距差不在预设范围内时,确定所述虚拟现实头显设备软件不能满足生成人眼可观测立体图像的条件。
在步骤S206中,在获取到的N对左眼图像和右眼图像中,根据每组特征点位置确定的所述第一间距和所述第二间距之间的间距差均在预设范围内时,确定所述虚拟现实头显设备软件满足生成人眼可观测立体图像的条件,其中,所述N为大于等于1的整数。
图3是根据一示例性实施例示出的一种测试虚拟现实头显设备软件的方法的流程图,如图3所示,该方法可以由具有图像处理功能的设备实现,包括以下步骤:
在步骤S301中,获取测试图像。
在步骤S302中,对所述测试图像进行图像分析,获取所述预设颜色值。
在步骤S303中,从虚拟现实头显设备中N次获取测试图像对应的一对左眼图像和右眼图像。
在步骤S304中,对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在所述左眼图像中的第一位置和右眼特征点在所述右眼图像中的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值。
在步骤S305中,针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点与所述左眼图像的第一边框之间的第一间距,以及所述右眼特征点与所述右眼图像的第二边框之间的第二间距;其中,所述第一边框和所述第二边框都为左边框;或者,所述第一边框和所述第二边框都为右边框。
在步骤S306中,计算所述第一间距和所述第二间距之间的间距差。
在步骤S307中,当根据任一组特征点位置确定的所述第一间距和所述第二间距之间的间距差不在预设范围内时,确定所述虚拟现实头显设备软件不能满足生成人眼可观测立体图像的条件。
在步骤S308中,在获取到的N对左眼图像和右眼图像中,根据每组特征点位置确定 的所述第一间距和所述第二间距之间的间距差均在预设范围内时,确定所述虚拟现实头显设备软件满足生成人眼可观测立体图像的条件,其中,所述N为大于等于1的整数,所述N对左眼图像和右眼图像中的每对左眼图像和右眼图像都不同。
下述为本公开装置实施例,可以用于执行本公开方法实施例。
图4是根据一示例性实施例示出的一种测试虚拟现实头显设备软件的装置的框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图4所示,该测试虚拟现实头显设备软件的装置包括第一获取模块401,第二获取模块402,第一确定模块403和第二确定模块404,其中:
第一获取模块401,用于从虚拟现实头显设备中多次获取测试图像对应的一对左眼图像和右眼图像;
第二获取模块402,用于对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在所述左眼图像中的第一位置和右眼特征点在所述右眼图像中的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值;
第一确定模块403,用于针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异;
第二确定模块404,用于根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件是生成人眼可观测立体图像的结果,其中,所述虚拟现实头显设备软件用于根据预存的所述测试图像生成对应的一对左眼图像和右眼图像。
在一个实施例中,如图5所示,所述第一确定模块403包括第一确定子模块4031和第二确定子模块4032,其中:
第一确定子模块4031,用于根据每组特征点位置,确定所述左眼特征点与所述左眼图像的第一边框之间的第一间距,以及所述右眼特征点与所述右眼图像的第二边框之间的第二间距;其中,所述第一边框和所述第二边框都为左边框;或者,所述第一边框和所述第二边框都为右边框;
第二确定子模块4032,用于计算所述第一间距和所述第二间距之间的间距差。
在一个实施例中,如图6所示,所述第二确定模块404包括第三确定子模块4041,其中,第三确定子模块4041,用于在根据任一组特征点位置确定的所述第一间距和所述第二间距之间的间距差不在预设范围内时,确定所述虚拟现实头显设备软件不能满足生成人眼可观测立体图像的条件。
在一个实施例中,如图7所示,所述装置还包括第三确定模块405,其中,第三确定模块405,用于在获取到的N对左眼图像和右眼图像中,根据每组特征点位置确定的所述第一间距和所述第二间距之间的间距差均在预设范围内时,确定所述虚拟现实头显设备软 件能满足生成人眼可观测立体图像的条件,其中,所述N为大于等于1的整数。
在一个实施例中,所述预设颜色值包括RGB值。
在一个实施例中,如图8所示,所述装置还包括第三获取模块406和第四获取模块407,其中:
第三获取模块406,用于获取所述测试图像;
第四获取模块407,用于对所述测试图像进行图像分析,获取所述预设颜色值。
在一个实施例中,所述N对左眼图像和右眼图像中的每对左眼图像和右眼图像都不同。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图9是根据一示例性实施例示出的一种用于测试虚拟现实头显设备软件的装置的框图,该装置适用于终端设备。例如,装置900可以是移动电话,游戏控制台,电脑、平板设备,个人数字助理等。
装置900可以包括以下一个或多个组件:处理组件901,存储器902,电源组件903,多媒体组件904,音频组件905,输入/输出(I/O)接口906,传感器组件907,以及通信组件908。
处理组件901通常控制装置900的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件901可以包括一个或多个处理器920来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件901可以包括一个或多个模块,便于处理组件901和其他组件之间的交互。例如,处理组件901可以包括多媒体模块,以方便多媒体组件904和处理组件901之间的交互。
存储器902被配置为存储各种类型的数据以支持在装置900的操作。这些数据的示例包括用于在装置900上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器902可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件903为装置900的各种组件提供电力。电源组件903可以包括电源管理系统,一个或多个电源,及其他与为装置900生成、管理和分配电力相关联的组件。
多媒体组件904包括在所述装置900和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件904包括一个前置摄像头和/或后置摄像头。当装置900处于操作模式,如拍 摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件905被配置为输出和/或输入音频信号。例如,音频组件905包括一个麦克风(MIC),当装置900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器902或经由通信组件908发送。在一些实施例中,音频组件905还包括一个扬声器,用于输出音频信号。
I/O的接口906为处理组件901和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件907包括一个或多个传感器,用于为装置900提供各个方面的状态评估。例如,传感器组件907可以检测到装置900的打开/关闭状态,组件的相对定位,例如所述组件为装置900的显示器和小键盘,传感器组件907还可以检测装置900或装置900一个组件的位置改变,用户与装置900接触的存在或不存在,装置900方位或加速/减速和装置900的温度变化。传感器组件907可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件907还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件907还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件908被配置为便于装置900和其他设备之间有线或无线方式的通信。装置900可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件908经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件908还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器902,上述指令可由装置900的处理器920执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种测试虚拟现实头显设备软件的装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
从虚拟现实头显设备中多次获取测试图像对应的一对左眼图像和右眼图像;
对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在所述左眼图像中的第一位置和右眼特征点在所述右眼图像中的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值;
针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异;
根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件生成人眼可观测立体图像的结果,其中,所述虚拟现实头显设备软件用于根据预存的所述测试图像生成对应的一对左眼图像和右眼图像。
所述处理器还可以被配置为:
所述根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异,包括:
根据每组特征点位置,确定所述左眼特征点与所述左眼图像的第一边框之间的第一间距,以及所述右眼特征点与所述右眼图像的第二边框之间的第二间距;其中,所述第一边框和所述第二边框都为左边框;或者,所述第一边框和所述第二边框都为右边框;
计算所述第一间距和所述第二间距之间的间距差。
所述处理器还可以被配置为:
所述根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件生成人眼可观测立体图像的结果,包括:
当根据任一组特征点位置确定的所述第一间距和所述第二间距之间的间距差不在预设范围内时,确定所述虚拟现实头显设备软件不能满足生成人眼可观测立体图像的条件。
所述处理器还可以被配置为:
所述方法还包括:
在获取到的N对左眼图像和右眼图像中,根据每组特征点位置确定的所述第一间距和所述第二间距之间的间距差均在预设范围内时,确定所述虚拟现实头显设备软件满足生成人眼可观测立体图像的条件,其中,所述N为大于等于1的整数。
所述处理器还可以被配置为:
所述方法还包括:
获取所述测试图像;
对所述测试图像进行图像分析,获取所述预设颜色值。
所述处理器还可以被配置为:
所述N对左眼图像和右眼图像中的每对左眼图像和右眼图像都不同。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由装置900的处理器执行时,使得装置900能够执行上述测试虚拟现实头显设备软件的方法,所述方法包括:
从虚拟现实头显设备中多次获取测试图像对应的一对左眼图像和右眼图像;
对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在所述左眼图像中的第一位置和右眼特征点在所述右眼图像中的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值;
针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异;
根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件生成人眼可观测立体图像的结果,其中,所述虚拟现实头显设备软件用于根据预存的所述测试图像生成对应的一对左眼图像和右眼图像。
所述存储介质中的指令还可以包括:
所述根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异,包括:
根据每组特征点位置,确定所述左眼特征点与所述左眼图像的第一边框之间的第一间距,以及所述右眼特征点与所述右眼图像的第二边框之间的第二间距;其中,所述第一边框和所述第二边框都为左边框;或者,所述第一边框和所述第二边框都为右边框;
计算所述第一间距和所述第二间距之间的间距差。
所述存储介质中的指令还可以包括:
所述根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件生成人眼可观测立体图像的结果,包括:
当根据任一组特征点位置确定的所述第一间距和所述第二间距之间的间距差不在预设范围内时,确定所述虚拟现实头显设备软件不能满足生成人眼可观测立体图像的条件。
所述存储介质中的指令还可以包括:
所述方法还包括:
在获取到的N对左眼图像和右眼图像中,根据每组特征点位置确定的所述第一间距和所述第二间距之间的间距差均在预设范围内时,确定所述虚拟现实头显设备软件满足生成人眼可观测立体图像的条件,其中,所述N为大于等于1的整数。
所述存储介质中的指令还可以包括:
所述方法还包括:
获取所述测试图像;
对所述测试图像进行图像分析,获取所述预设颜色值。
图10是根据一示例性实施例示出的一种测试虚拟现实头显设备软件的装置的框图。 例如,装置1000可以被提供为一计算机。装置1000包括处理组件1011,其进一步包括一个或多个处理器,以及由存储器1012所代表的存储器资源,用于存储可由处理组件1011的执行的指令,例如应用程序。存储器1012中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1011被配置为执行指令,以执行上述方法。
装置1000还可以包括一个电源组件1013被配置为执行装置1000的电源管理,一个有线或无线网络接口1014被配置为将装置1000连接到网络,和一个输入输出(I/O)接口1015。装置1000可以操作基于存储在存储器1012的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (13)

  1. 一种测试虚拟现实头显设备软件的方法,其特征在于,包括:
    从虚拟现实头显设备中多次获取测试图像对应的一对左眼图像和右眼图像;
    对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在所述左眼图像中的第一位置和右眼特征点在所述右眼图像中的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值;
    针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异;
    根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件生成人眼可观测立体图像的结果,其中,所述虚拟现实头显设备软件用于根据预存的所述测试图像生成对应的一对左眼图像和右眼图像。
  2. 根据权利要求1所述的方法,其特征在于,所述根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异,包括:
    根据每组特征点位置,确定所述左眼特征点与所述左眼图像的第一边框之间的第一间距,以及所述右眼特征点与所述右眼图像的第二边框之间的第二间距;其中,所述第一边框和所述第二边框都为左边框;或者,所述第一边框和所述第二边框都为右边框;
    计算所述第一间距和所述第二间距之间的间距差。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件生成人眼可观测立体图像的结果,包括:
    当根据任一组特征点位置确定的所述第一间距和所述第二间距之间的间距差不在预设范围内时,确定所述虚拟现实头显设备软件不能满足生成人眼可观测立体图像的条件。
  4. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    在获取到的N对左眼图像和右眼图像中,根据每组特征点位置确定的所述第一间距和所述第二间距之间的间距差均在预设范围内时,确定所述虚拟现实头显设备软件满足生成人眼可观测立体图像的条件,其中,所述N为大于等于1的整数。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:
    获取所述测试图像;
    对所述测试图像进行图像分析,获取所述预设颜色值。
  6. 根据权利要求4所述的方法,其特征在于,所述N对左眼图像和右眼图像中的每对左眼图像和右眼图像都不同。
  7. 一种测试虚拟现实头显设备软件的装置,其特征在于,包括:
    第一获取模块,用于从虚拟现实头显设备中多次获取测试图像对应的一对左眼图像和右眼图像;
    第二获取模块,用于对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在所述左眼图像中的第一位置和右眼特征点在所述右眼图像中的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值;
    第一确定模块,用于针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异;
    第二确定模块,用于根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件是生成人眼可观测立体图像的结果,其中,所述虚拟现实头显设备软件用于根据预存的所述测试图像生成对应的一对左眼图像和右眼图像。
  8. 根据权利要求7所述的装置,其特征在于,所述第一确定模块包括:
    第一确定子模块,用于根据每组特征点位置,确定所述左眼特征点与所述左眼图像的第一边框之间的第一间距,以及所述右眼特征点与所述右眼图像的第二边框之间的第二间距;其中,所述第一边框和所述第二边框都为左边框;或者,所述第一边框和所述第二边框都为右边框;
    第二确定子模块,用于计算所述第一间距和所述第二间距之间的间距差。
  9. 根据权利要求8所述的装置,其特征在于,所述第二确定模块包括:
    第三确定子模块,用于在根据任一组特征点位置确定的所述第一间距和所述第二间距之间的间距差不在预设范围内时,确定所述虚拟现实头显设备软件不能满足生成人眼可观测立体图像的条件。
  10. 根据权利要求8所述的装置,其特征在于,所述装置还包括:
    第三确定模块,用于在获取到的N对左眼图像和右眼图像中,根据每组特征点位置确定的所述第一间距和所述第二间距之间的间距差均在预设范围内时,确定所述虚拟现实头显设备软件能满足生成人眼可观测立体图像的条件,其中,所述N为大于等于1的整数。
  11. 根据权利要求7-10任一项所述的装置,其特征在于,所述装置还包括:
    第三获取模块,用于获取所述测试图像;
    第四获取模块,用于对所述测试图像进行图像分析,获取所述预设颜色值。
  12. 根据权利要求10所述的装置,其特征在于,所述N对左眼图像和右眼图像中的每对左眼图像和右眼图像都不同。
  13. 一种测试虚拟现实头显设备软件的装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    从虚拟现实头显设备中多次获取测试图像对应的一对左眼图像和右眼图像;
    对所述一对左眼图像和右眼图像进行图像分析,获取多组特征点位置,其中,每组特征点位置包括左眼特征点在所述左眼图像中的第一位置和右眼特征点在所述右眼图像中的第二位置;每组所述左眼特征点和所述右眼特征点具有相同的预设颜色值,所述预设颜色值包括所述测试图像中各像素点的颜色值中具有唯一性的颜色值;
    针对每组所述左眼特征点和所述右眼特征点,根据每组特征点位置,确定所述左眼特征点在所述左眼图像中的第一相对位置与所述右眼特征点在所述右眼图像中的第二相对位置之间的差异;
    根据所述第一相对位置与所述第二相对位置之间的差异,确定所述虚拟现实头显设备软件生成人眼可观测立体图像的结果,其中,所述虚拟现实头显设备软件用于根据预存的所述测试图像生成对应的一对左眼图像和右眼图像。
PCT/CN2016/107714 2016-08-31 2016-11-29 测试虚拟现实头显设备软件的方法及装置 Ceased WO2018040328A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017504419A JP6560740B2 (ja) 2016-08-31 2016-11-29 バーチャルリアリティヘッドマウントディスプレイ機器ソフトウェアをテストする方法、装置、プログラム、及び記録媒体
RU2017126372A RU2665901C1 (ru) 2016-08-31 2016-11-29 Способ и аппаратура для тестирования программного обеспечения головного устройства отображения виртуальной реальности

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610798359.7 2016-08-31
CN201610798359.7A CN106325521B (zh) 2016-08-31 2016-08-31 测试虚拟现实头显设备软件的方法及装置

Publications (1)

Publication Number Publication Date
WO2018040328A1 true WO2018040328A1 (zh) 2018-03-08

Family

ID=57787721

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/107714 Ceased WO2018040328A1 (zh) 2016-08-31 2016-11-29 测试虚拟现实头显设备软件的方法及装置

Country Status (6)

Country Link
US (1) US10178379B2 (zh)
EP (1) EP3291548A1 (zh)
JP (1) JP6560740B2 (zh)
CN (1) CN106325521B (zh)
RU (1) RU2665901C1 (zh)
WO (1) WO2018040328A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10178379B2 (en) 2016-08-31 2019-01-08 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for testing virtual reality head display device

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106932904A (zh) 2017-02-27 2017-07-07 阿里巴巴集团控股有限公司 虚拟现实头戴设备
CN107396082B (zh) * 2017-07-14 2020-04-21 歌尔股份有限公司 一种图像数据的处理方法和装置
CN107657654B (zh) * 2017-09-21 2021-11-23 北京小鸟看看科技有限公司 一种虚拟现实场景渲染方法、装置和头戴显示设备
CN110134222A (zh) * 2018-02-02 2019-08-16 上海集鹰科技有限公司 一种vr头显定位瞄准系统及其定位瞄准方法
US11189054B2 (en) * 2018-09-28 2021-11-30 Apple Inc. Localization and mapping using images from multiple devices
US11004256B2 (en) * 2019-05-08 2021-05-11 Citrix Systems, Inc. Collaboration of augmented reality content in stereoscopic view in virtualized environment
US11687427B2 (en) * 2020-04-03 2023-06-27 T-Mobile Usa, Inc. Multiple XR extended reality application validation process and testing
CN113138560B (zh) * 2021-04-12 2024-06-25 维沃移动通信有限公司 终端控制方法、装置、设备及可读存储介质
US12347089B2 (en) 2022-02-22 2025-07-01 Universal City Studios Llc Head-mounted display testing system and method
CN114858413A (zh) * 2022-03-30 2022-08-05 青岛虚拟现实研究院有限公司 一种用于vr设备的测试装置
US11886227B1 (en) 2022-07-13 2024-01-30 Bank Of America Corporation Virtual-reality artificial-intelligence multi-user distributed real-time test environment
CN115278203A (zh) * 2022-07-20 2022-11-01 广州视享科技有限公司 虚拟现实设备的校准方法、校准装置以及校准机器人

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295206A (zh) * 2007-04-25 2008-10-29 佳能株式会社 用于立体观察的系统
US20150116316A1 (en) * 2013-10-28 2015-04-30 Brown University Virtual reality methods and systems
CN105787980A (zh) * 2016-03-17 2016-07-20 北京牡丹视源电子有限责任公司 一种检测虚拟现实显示设备视场角的方法及系统

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3089306B2 (ja) * 1993-08-26 2000-09-18 松下電器産業株式会社 立体画像撮像及び表示装置
JPH08211332A (ja) * 1995-02-03 1996-08-20 Olympus Optical Co Ltd 立体映像再生装置
JPH099300A (ja) * 1995-06-26 1997-01-10 Matsushita Electric Ind Co Ltd 立体表示装置
JP3579162B2 (ja) * 1995-06-29 2004-10-20 松下電器産業株式会社 立体cg画像生成装置
JP3673217B2 (ja) * 2001-12-20 2005-07-20 オリンパス株式会社 映像表示装置
JP2003199126A (ja) * 2001-12-25 2003-07-11 Canon Inc 画像処理装置およびその方法
RU2322771C2 (ru) * 2005-04-25 2008-04-20 Святослав Иванович АРСЕНИЧ Стереопроекционная система
JP5172991B2 (ja) * 2011-05-30 2013-03-27 株式会社東芝 三次元映像処理装置および鑑賞位置チェック方法
CN103380625A (zh) * 2011-06-16 2013-10-30 松下电器产业株式会社 头戴式显示器及其位置偏差调整方法
CN102427542B (zh) * 2011-09-28 2014-07-30 深圳超多维光电子有限公司 一种立体图像处理方法、图像处理装置和相应的终端设备
US9596449B2 (en) * 2012-02-16 2017-03-14 Sony Corporation Transmitting apparatus, transmitting method, and receiving apparatus
WO2013168667A1 (ja) * 2012-05-09 2013-11-14 富士フイルム株式会社 画像処理装置及び方法並びに撮像装置
KR101511315B1 (ko) * 2012-10-30 2015-04-14 한국과학기술원 스테레오스코픽 컨텐츠를 위한 다이나믹 플로팅 윈도우 생성 방법 및 시스템
US9118911B2 (en) * 2013-02-07 2015-08-25 Delphi Technologies, Inc. Variable disparity three-dimensional (3D) display system and method of operating the same
WO2014156033A1 (en) * 2013-03-26 2014-10-02 Seiko Epson Corporation Head-mounted display device, control method of head-mounted display device, and display system
CN103595990B (zh) * 2013-10-30 2015-05-20 清华大学 运动感知的双目立体视频舒适度获取方法
US9942532B2 (en) * 2015-11-03 2018-04-10 International Business Machines Corporation Eye-fatigue reduction system for head-mounted displays
CN105867606A (zh) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 虚拟现实头盔中的图像获取方法、装置及虚拟现实头盔
CN106325521B (zh) 2016-08-31 2018-06-29 北京小米移动软件有限公司 测试虚拟现实头显设备软件的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295206A (zh) * 2007-04-25 2008-10-29 佳能株式会社 用于立体观察的系统
US20150116316A1 (en) * 2013-10-28 2015-04-30 Brown University Virtual reality methods and systems
CN105787980A (zh) * 2016-03-17 2016-07-20 北京牡丹视源电子有限责任公司 一种检测虚拟现实显示设备视场角的方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10178379B2 (en) 2016-08-31 2019-01-08 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for testing virtual reality head display device

Also Published As

Publication number Publication date
US10178379B2 (en) 2019-01-08
RU2665901C1 (ru) 2018-09-04
JP2018536300A (ja) 2018-12-06
CN106325521A (zh) 2017-01-11
US20180063517A1 (en) 2018-03-01
JP6560740B2 (ja) 2019-08-14
EP3291548A1 (en) 2018-03-07
CN106325521B (zh) 2018-06-29

Similar Documents

Publication Publication Date Title
US10178379B2 (en) Method and apparatus for testing virtual reality head display device
US11636653B2 (en) Method and apparatus for synthesizing virtual and real objects
US11030733B2 (en) Method, electronic device and storage medium for processing image
US11308692B2 (en) Method and device for processing image, and storage medium
KR101649596B1 (ko) 피부색 조절방법, 장치, 프로그램 및 기록매체
CN109582122B (zh) 增强现实信息提供方法、装置及电子设备
US20170161582A1 (en) Image processing method, device and medium
US20200402321A1 (en) Method, electronic device and storage medium for image generation
EP2927787A1 (en) Method and device for displaying picture
WO2017031898A1 (zh) 信息显示方法和装置
CN107958223B (zh) 人脸识别方法及装置、移动设备、计算机可读存储介质
CN112202962A (zh) 屏幕亮度调节方法、装置及存储介质
CN106097428B (zh) 三维模型测量信息的标注方法及装置
CN113870213A (zh) 图像显示方法、装置、存储介质以及电子设备
US20170302908A1 (en) Method and apparatus for user interaction for virtual measurement using a depth camera system
TWI603225B (zh) 液晶顯示器顯示視角的調整方法和裝置
US9619016B2 (en) Method and device for displaying wallpaper image on screen
CN106267820A (zh) 控制虚拟现实游戏的方法、装置及终端
CN114155175B (zh) 图像生成方法、装置、电子设备及存储介质
US11656351B2 (en) Method and mobile device for acquiring AR or VR information by averaging pixel values
CN108924529B (zh) 图像显示的控制方法及装置
CN112764658B (zh) 内容展示方法、装置及存储介质
CN104581122B (zh) 三维图像的生成方法、装置、系统及移动终端
CN106249858B (zh) 一种显示转换方法、装置及终端设备
CN106293398B (zh) 推荐虚拟现实资源的方法、装置及终端

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2017504419

Country of ref document: JP

ENP Entry into the national phase

Ref document number: 2017126372

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16914890

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16914890

Country of ref document: EP

Kind code of ref document: A1