CN107396097A - A kind of method and apparatus of the parallax test of virtual reality device - Google Patents

A kind of method and apparatus of the parallax test of virtual reality device Download PDF

Info

Publication number
CN107396097A
CN107396097A CN201710781307.3A CN201710781307A CN107396097A CN 107396097 A CN107396097 A CN 107396097A CN 201710781307 A CN201710781307 A CN 201710781307A CN 107396097 A CN107396097 A CN 107396097A
Authority
CN
China
Prior art keywords
point
eye image
image planes
parallax
distance
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.)
Granted
Application number
CN201710781307.3A
Other languages
Chinese (zh)
Other versions
CN107396097B (en
Inventor
楚明磊
张�浩
陈丽莉
陈寅伟
董瑞君
王晨如
刘亚丽
张雪冰
陈东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Beijing BOE Optoelectronics Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Beijing BOE Optoelectronics Technology 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 BOE Technology Group Co Ltd, Beijing BOE Optoelectronics Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201710781307.3A priority Critical patent/CN107396097B/en
Publication of CN107396097A publication Critical patent/CN107396097A/en
Application granted granted Critical
Publication of CN107396097B publication Critical patent/CN107396097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)
  • Eye Examination Apparatus (AREA)

Abstract

The method and apparatus that the embodiment of the present invention provides a kind of parallax test of virtual reality device, are related to display technology field, the problem of can solve the problem that the display effect of quantitative test virtual reality device.Wherein virtual reality device includes:For the left lens for determining left eye image planes and left display screen, and for the right lens for determining right eye image planes and right display screen.The parallax method of testing includes:First according to the device parameter of virtual reality device to be measured, the left eye image planes and the first offset distance of right eye image planes in the lateral direction of virtual display device to be measured are calculated, the first offset distance is as test parallax characterization value.Secondly, test parallax characterization value is obtained into comparative result compared with reference to parallax characterization value.The parallax method of testing is used to carry out quantitative test to the display effect of virtual reality device.

Description

A kind of method and apparatus of the parallax test of virtual reality device
Technical field
The present invention relates to display technology field, more particularly to the method and dress of a kind of parallax test of virtual reality device Put.
Background technology
Virtual reality (English full name:Virtual Reality, abbreviation VR) it is the new and high technology occurred in recent years.Virtually Real world devices can simulate a virtual three-dimensional world, and be supplied to the sensory experience of user's vision, the sense of hearing etc., be allowed with this User can carry out interaction just as on the spot in person.In order to obtain good experience, display effect of the people to virtual reality device The requirement more and more higher of fruit.
At present, the display picture of virtual reality device is mainly directly observed by testing staff, with to virtual reality device Display effect evaluated.But the subjective impact of this examined personnel of mode is larger, for example, during testing staff's fatigue and , can be variant to the subjective experience of the display effect of virtual reality device when not tired, so as to the evaluation to virtual reality device It is different.Therefore, a kind of method that display effect to virtual reality device carries out quantitative test is needed badly.
The content of the invention
The method and apparatus that embodiments of the invention provide a kind of parallax test of virtual reality device, can solve the problem that quantitative The problem of testing the display effect of virtual reality device.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
The first aspect of the embodiment of the present invention, there is provided a kind of parallax method of testing of virtual reality device, it is described virtual existing Real equipment includes:For the left lens for determining left eye image planes and left display screen, and for determine right eye image planes right lens and Right display screen;The parallax method of testing includes:
According to the device parameter of virtual reality device to be measured, the left eye image planes of the calculating virtual display device to be measured With the first offset distance of the right eye image planes in the lateral direction, first offset distance is as test parallax characterization value; By the test parallax characterization value compared with reference to parallax characterization value, comparative result is obtained.
Optionally, the device parameter according to virtual reality device to be measured, the virtual display device to be measured is calculated First offset distance of the left eye image planes with right eye image planes in the lateral direction includes:
According to the length of the left display screen of the virtual reality device to be measured in the lateral direction, or, treated according to described Survey the left display screen length in the lateral direction of virtual reality device and the center of the left lens and the left display screen Center calculates orthographic projection of the center of the left lens on the left display screen to institute in the second offset distance of left and right directions State the left margin of left display screen or the first distance of right margin;
According between the described first distance and the focal length and the left display screen and the left lens of the left lens Distance, orthographic projection of the center of the left lens in the left eye image planes is calculated to the left eye image planes left margin or right margin Second distance;
According to the length of the right display screen in the lateral direction, or, according to the right display screen in the lateral direction Length and the center of the right lens and the center of the right display screen left and right directions the 3rd offset distance, described in calculating Orthographic projection of the center of right lens on the right display screen is to the left margin of the right display screen or the 3rd distance of right margin;
According between the described 3rd distance and the focal length and the right display screen and the right lens of the right lens Distance, orthographic projection of the center of the right lens in the right eye image planes is calculated to the right eye image planes left margin or right margin The 4th distance;
According to the center of center and the right lens of the second distance, the 4th distance and the left lens it Between distance calculate first offset distance.
Optionally, the parallax method of testing also includes:
Using any point in the left eye image planes as the origin of coordinates, with orthogonal first direction in the left eye image planes and Second direction is respectively X-direction and Y direction, and rectangular co-ordinate is established as Z-direction using the vertical direction of the left eye image planes System;
Determine the coordinate of orthographic projection of the center of the left lens in the left eye image planes;According in the left lens The relative position at the center of the heart and the right lens, determine that orthographic projection of the center of the right lens in the right eye image planes exists Coordinate in the rectangular coordinate system;
Or using any point in the right eye image planes as the origin of coordinates, with the right eye image planes orthogonal first Direction and second direction are respectively X-direction and Y direction, are established using the vertical direction of the right eye image planes as Z-direction straight Angular coordinate system;
Determine the coordinate of orthographic projection of the center of the right lens in the right eye image planes;According in the left lens The relative position at the center of the heart and the right lens, determine that orthographic projection of the center of the left lens in the left eye image planes exists Coordinate in the rectangular coordinate system;
One in wherein described first direction and the second direction is left and right directions;
The device parameter according to virtual reality device to be measured, calculate the left eye of the virtual display device to be measured First offset distance of the image planes with the right eye image planes in the lateral direction includes:
Based on the rectangular coordinate system, according to the device parameter of the virtual reality device to be measured, the void to be measured is calculated Intend the left eye image planes and the first offset distance of the right eye image planes in the lateral direction of display device.
Optionally, parallax method of testing also includes:
Control refers to first point of the left display screen display of virtual display device, and controls right display screen display second Point, described first point and the second point are arranged in the lateral direction, described first point correspond to the left eye image planes the 3rd Point, the second point correspond to the 4th point of the right eye image planes;
Control at described first point and/or the second point moves in the lateral direction, and receive user instruction, the user Instruct the thirdly relative position with described 4th point allowed for instruction user;
Thirdly with described 4th point in the relative position indicated by the user instruction described in obtaining, described first The 5th distance between point and the second point;
According to the described 5th distance and the device parameter with reference to virtual display device, calculate described in thirdly and institute State at the 4th point in the relative position indicated by the user instruction, it is described thirdly and it is described 4th point between the 6th away from From, it is described with reference to parallax characterization value to obtain, it is described to include with reference to parallax characterization value:It is described thirdly and described between 4th point At least one of maximum allowable range, minimum allowable range and optimum distance.
The second aspect of the embodiment of the present invention, there is provided a kind of parallax method of testing of virtual reality device, it is described virtual existing Real equipment includes:For the left lens for determining left eye image planes and left display screen, and for determine right eye image planes right lens and Right display screen;The parallax method of testing includes:
Left first point of the screen display of display is controlled, and controls the right display screen display second point, described first Point and the second point are arranged in the lateral direction, and described first point corresponds to the left eye image planes thirdly, and described second Point corresponds to the 4th point of the right eye image planes;
Control at described first point and/or the second point moves in the lateral direction, and receive user instruction, the user Instruct the thirdly relative position with described 4th point allowed for instruction user;
Thirdly with described 4th point in the relative position indicated by the user instruction described in obtaining, described first The 5th distance between point and the second point;
According to the described 5th distance and the device parameter of the virtual display device, calculate described in thirdly with described the 4 points in the relative position indicated by the user instruction, it is described thirdly and it is described 4th point between the 6th distance, To obtain parallax characterization value, the parallax characterization value includes:It is described thirdly and it is described 4th point between maximum allowable range, At least one of minimum allowable range and optimum distance.
Optionally, in left first point of the screen display of display of the control, and the right display screen display second point is controlled Before, the parallax method of testing also includes:
Using any point in the left eye image planes as the origin of coordinates, with orthogonal first direction in the left eye image planes and Second direction is respectively X-direction and Y direction, and rectangular co-ordinate is established as Z-direction using the vertical direction of the left eye image planes System;Determine the coordinate of orthographic projection of the center of the left lens in the left eye image planes;According to the center of the left lens and The relative position at the center of the right lens, determine orthographic projection of the center of the right lens in the right eye image planes described Coordinate in rectangular coordinate system;
Or using any point in the right eye image planes as the origin of coordinates, with the right eye image planes orthogonal first Direction and second direction are respectively X-direction and Y direction, are established using the vertical direction of the right eye image planes as Z-direction straight Angular coordinate system;Determine the coordinate of orthographic projection of the center of the right lens in the right eye image planes;According to the left lens Center and the relative position at the center of the right lens, determine orthographic projection of the center of the left lens in the left eye image planes Coordinate in the rectangular coordinate system;
One in wherein described first direction and the second direction is left and right directions;
Control first point and/or the second point move in the lateral direction, including:By controlling described A little move in the lateral direction, it is described thirdly at the origin of coordinates to cause;The second point is controlled described Right and left moves up.
Optionally, the method for testing also includes:Multiple 6th distances of same type are averaged, to obtain Parallax characterization value, the type of the 6th distance include:It is described thirdly and it is described 4th point between maximum allowable range, most It is small to allow distance and optimum distance.
Optionally, the parallax method of testing also includes:Elimination Error processing is carried out to the parallax characterization value.
The third aspect of the embodiment of the present invention, there is provided a kind of parallax test device of virtual reality device, it is described virtual existing Real equipment includes:For the left lens for determining left eye image planes and left display screen, and for determine right eye image planes right lens and Right display screen;The parallax test device includes:
Computing module, for the device parameter according to virtual reality device to be measured, calculate the virtual display device to be measured The left eye image planes and the first offset distance of the right eye image planes in the lateral direction, first offset distance is as surveying Try parallax characterization value;
Comparison module, for compared with reference to parallax characterization value, obtaining comparing knot the test parallax characterization value Fruit.
The fourth aspect of the embodiment of the present invention, there is provided a kind of parallax test device of virtual reality device, it is described virtual existing Real equipment includes:For the left lens for determining left eye image planes and left display screen, and for determine right eye image planes right lens and Right display screen;The parallax test device includes:
Display control module, for controlling left first point of the screen display of display, and control and show on the right display screen Show second point, and the second point are arranged in the lateral direction, and correspond to the virtual display at described first point at described first point Thirdly, the second point corresponds to the 4th point of the right eye image planes of the virtual display device to the left eye image planes of equipment;Also For controlling and/or the second point to move in the lateral direction at described first point;
Receiving module, for receiving user instruction, the user instruction be used for that instruction user to allow it is described thirdly and Described 4th point of relative position;
Acquisition module, it is described thirdly with described 4th point in the relative position that user allows for obtaining, it is described The 5th distance between first point and the second point;
Computing module, for calculating described the according to the device parameter of the described 5th distance and the virtual display device 3 points and it is described 4th point in the relative position indicated by the user instruction, it is described thirdly and described between 4th point The 6th distance, to obtain parallax characterization value, the parallax characterization value includes:It is described thirdly and it is described 4th point between most It is big to allow at least one of distance, minimum allowable range and optimum distance.
5th aspect of the embodiment of the present invention, there is provided a kind of computer-readable storage medium, be stored with computer-readable storage medium Computer instruction, when the computer instruction is being run in parallax test device so that the parallax test device performs such as Embodiment one or the parallax method of testing as described in embodiment two.
6th aspect of the embodiment of the present invention, there is provided a kind of computer program product for including instruction, when the computer Program product in parallax test device when being run so that the parallax test device is performed such as embodiment one or such as embodiment two Described parallax method of testing.
Based on this, the embodiment of the present invention provides the method and apparatus that a kind of parallax of virtual reality device is tested, first, root According to the device parameter of virtual reality device to be measured, the left eye image planes of virtual display device to be measured are calculated with right eye image planes in right and left The first upward offset distance, wherein the first offset distance is as test parallax characterization value.Then will test parallax characterization value with It is compared with reference to parallax characterization value, obtains comparative result.Now can be according to above-mentioned comparative result to the virtual reality to be measured The parallax situation of equipment is judged.Because the parallax of virtual reality device directly affects its display effect, such as show picture The far and near position in face, so as to the comparative result according to test parallax characterization value and reference parallax characterization value, to be measured virtual The display effect of real world devices carries out rational judgment, so, can be without judging to treat according to the subjective experience of tester Survey the display effect of virtual reality device.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of parallax method of testing of virtual reality device provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of the first offset distance in the parallax method of testing shown in Fig. 1;
Fig. 3 is a kind of optical imaging concept signal of left lens, left display screen and left eye image planes in virtual reality device Figure;
Fig. 4 is the method for the first offset distance shown in a kind of calculating Fig. 2 provided in an embodiment of the present invention;
Fig. 5 is in the parallax method of testing shown in Fig. 4, and what the center of the center of left lens and left display screen shifted shows It is intended to;
Fig. 6 is one kind of lens, display screen and image planes in virtual reality device in the parallax method of testing shown in Fig. 4 Structural representation;
Fig. 7 is a kind of structural representation of left eye image planes and right eye image planes in the parallax method of testing shown in Fig. 4;
It is provided in an embodiment of the present invention a kind of with left in left eye image planes when Fig. 8 is using parallax method of testing shown in Fig. 4 Lens centre is the schematic diagram that the origin of coordinates establishes rectangular coordinate system;
Fig. 9 is a kind of method of testing flow chart obtained with reference to parallax characterization value provided in an embodiment of the present invention;
Figure 10 is a kind of position view of first point and second point in the method for testing shown in Fig. 9;
Figure 11 is thirdly a kind of position view with the 4th point in the method for testing shown in Fig. 9;
When Figure 12 is using method of testing shown in Fig. 9, it is provided in an embodiment of the present invention it is a kind of with left eye image planes it is left thoroughly Mirror center is the schematic diagram that the origin of coordinates establishes coordinate system;
Figure 13 is the parallax method of testing of another virtual reality device provided in an embodiment of the present invention;
Figure 14 is a kind of structural representation of parallax test device provided in an embodiment of the present invention;
Figure 15 includes the structural representation of coordinate determining module for the parallax test device shown in Figure 14;
Figure 16 is the structural representation of another parallax test device provided in an embodiment of the present invention;
Figure 17 is structural representation of the parallax test device including coordinate determining module and Error processing module shown in Figure 16 Figure.
Reference:
10- left lens;11- right lens;The left display screens of 20-;The right display screens of 21-;30- left eye image planes;31- right eye image planes; 41- computing modules;42- comparison modules;43- coordinate determining modules;50- display control modules;51- receiving modules;52- obtains mould Block;53- Error processing modules.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Embodiment one
The present invention provides a kind of parallax method of testing of virtual reality device as shown in Figure 1, and virtual reality device includes For the left lens for determining left eye image planes and left display screen, and for the right lens for determining right eye image planes and right display screen.Institute Stating parallax method of testing includes:
Step S101, according to the device parameter of virtual reality device to be measured, set as shown in Fig. 2 calculating virtual display to be measured Standby left eye image planes 30 and the first offset distance L of right eye image planes 31 in the lateral direction1, the first offset distance L1As test Parallax characterization value.
It should be noted that the first, device parameter of virtual reality device to be measured, can refer to composition virtual reality to be measured and set The standby component parameter of itself, such as the focal length that device parameter is left lens;It can also refer to and form virtual reality device to be measured The distance between each component, such as the distance between the left display screen of virtual reality device to be measured and left lens.
Secondth, those skilled in the art know, the lens in virtual reality device are the lens with enlarging function, are shown Example, left lens and right lens can be common convex lens, or Fresnel Lenses.In addition, as shown in figure 3, left eye Image planes 30 are not the planes of necessary being in virtual reality device, but the void determined according to left lens 10 and left display screen 20 Image planes.Right eye image planes 31 are similarly described, and here is omitted.
Wherein, left eye image planes 30 and the first offset distance L of right eye image planes 31 in the lateral direction1Can with as shown in Fig. 2 For left eye image planes 30 left margin the distance between to the left margin of right eye image planes 31;Or arrived for the right margin of left eye image planes 30 The distance between right margin of right eye image planes 31.
Step S102, test parallax characterization value is obtained into comparative result compared with reference to parallax characterization value.
It should be noted that those skilled in the art know, left eye image planes 30 and right eye image planes 31 in virtual display device On the distance between two virtual view points, the far and near position of display picture can be influenceed, therefore can be anti-with above-mentioned distance Reflect the parallax of virtual reality device.So as to the first offset distance with left eye image planes 30 and right eye image planes 31 in the lateral direction From L1As the test parallax characterization value of virtual reality device to be measured, by test parallax characterization value with being carried out with reference to parallax characterization value Compare, and rational judgment is carried out to the display effect of virtual reality device to be measured according to comparative result.
Wherein, can be tested with reference to parallax characterization value by substantial amounts of user on same virtual reality device, Or can also be tested by same user on different virtual reality devices, to obtain the left side that user can allow In the ultimate range between two virtual view points, minimum range and optimum distance in eye image planes 30 and right eye image planes 31 It is at least one.
Example, the ultimate range being more than when test parallax characterization value in the above-mentioned characterization value with reference to parallax, or less than upper It when stating minimum range, then can determine that the parallax of the virtual reality device to be measured has larger problem, now think to need to treat this The parallax for surveying virtual reality device is adjusted.When testing parallax characterization value and optimum distance is less than a preset value, can recognize It is more or less the same for test parallax characterization value with optimum distance, then can determine that the parallax of the virtual reality device to be measured is good.
On this basis, above-mentioned parallax method of testing can also include:Exported according to above-mentioned comparative result and regarded for instruction The information of difference.Wherein, the information can include above-mentioned comparative result, can also include opinion rating, example corresponding to comparative result Such as good, preferable, difference.
Based on this, the embodiment of the present invention provides a kind of parallax method of testing of virtual virtual reality device, first, according to treating The device parameter of virtual reality device is surveyed, calculates the left eye image planes 30 of virtual display device to be measured with right eye image planes 31 in right and left The first upward offset distance L1, wherein the first offset distance L1As test parallax characterization value.Then parallax characterization value will be tested Compared with reference to parallax characterization value, comparative result is obtained.Now can be to be measured virtual existing to this according to above-mentioned comparative result The parallax situation of real equipment is judged.Because the parallax of virtual reality device directly affects its display effect, such as show The far and near position of picture, so as to the comparative result according to test parallax characterization value and reference parallax characterization value, to void to be measured The display effect for intending real world devices carries out rational judgment, so, can be without being judged according to the subjective experience of tester The display effect of virtual reality device to be measured.
Hereinafter, it is inclined as above-mentioned first the distance between using the left margin of left eye image planes 30 to the left margin of right eye image planes 31 Move distance L1, to calculating the first offset distance L1Concrete mode carry out detailed illustration.Optionally, above-mentioned steps S101 Including step as shown in Figure 4, specifically:
Step S201, as shown in figure 5, length according to the left display screen 20 of virtual reality device to be measured in the lateral direction W1, or, according to the length W of the left display screen 20 of virtual reality device to be measured in the lateral direction1With the center C of left lens 10 With the center D of left display screen 20 left and right directions the second offset distance L2, the center C of left lens 10 is calculated in left display screen 20 On left margins of the orthographic projection Q to left display screen 20 or the first distance S to right margin1.In Fig. 5 and Fig. 6, the first distance S1With The distance between point Q and point Pl on the left margin of left display screen 20 is represented.
It should be noted that the length of display screen in the lateral direction refers to that the viewing area of display screen is in the lateral direction Length.
Specifically, when the center D of left display screen 20 and the center C of left lens 10 have deviation, such as shown in figure 5, The center D of left display screen 20 is deviated to the right the second offset distance L relative to the center C of left lens 102When, above-mentioned first distanceIt is similarly described, when the center D of left display screen 20 is deviated to the left the second offset distance relative to the center C of left lens 10 From L2When, above-mentioned first distance
Step S202, with reference to figure 3, Fig. 6 and Fig. 7, according to the first distance S1And the focal length F of left lens 10 and a left side show The distance between display screen 20 and left lens 10 d0, orthographic projection Os of the center C of left lens 10 in left eye image planes 30 is calculated to left eye The left margin of image planes 30 or the second distance S of right margin2.In Fig. 6, second distance S2With the point on the left margin of left eye image planes 30 The distance between PL and point O are represented.
It should be noted that in step S201 and step S202, the first distance S is calculated1With second distance S2When, it should select Select the border on equidirectional, such as the first distance S1For left lens 10 orthographic projection Qs of the center C on left display screen 20 to a left side The distance of the left margin of display screen 20, second distance S2For left lens 10 orthographic projection Os of the center C in left eye image planes 30 to a left side The distance of the eye left margin of image planes 30.It is that left margin is illustrated with all borders in the present embodiment.
As shown in figure 3, as the distance between focal length F, left display screen 20 and the left lens 10 of known left lens 10 d0When, root According to lens imaging formula,Wherein, d1Represent the distance between left lens 10 and left eye image planes 30, and similar three Angular theorem,Wherein, H represents that the thing of left lens 10 is high, and h represents the image height of left lens 10, can calculate lens Relation between image height h and the high H of thing, i.e.,
With the first distance S on above-mentioned left display screen 201It is high for thing, with the second distance S in left eye image planes 302For image height, It can be obtained with reference to formula (1), above-mentioned second distance
Step S203, the length W according to right display screen 21 in the lateral direction2, or, according to right display screen 21 in left and right Length W on direction2With the center C ' and right display screen 21 of right lens 11 the 3rd offset distance in left and right directions, calculate right Orthographic projection Qs ' of the center C ' of lens 11 on right display screen 21 arrives the left margin of right display screen 21 to the 3rd distance of right margin S3.In Fig. 6, the 3rd distance S3Represented with the distance between point Pr on the left margin of point Q ' and right display screen 21.
Step S204, according to the 3rd distance S3And between the focal length and right display screen 21 and right lens 11 of right lens 11 Distance, calculate orthographic projection Os ' of the center C ' in right eye image planes 31 of right lens 11 to the left margin of right eye image planes 31 or to the right side The 4th distance S on border4.In Fig. 6, the 4th distance S4With the distance between point PR on point O ' and the left margin of right eye image planes 31 Represent.
Wherein, the 3rd distance S3With the 4th distance S4Calculation and the first distance S1With second distance S2Calculating side Formula is identical, and here is omitted.
It should be noted that the embodiment of the present invention is to above-mentioned steps S201 and step S202 and step S203 and step S204 execution sequence does not limit.Such as can be with as described above, performing above-mentioned steps S201, step S202, step successively S203 and step S204;Step S203 and step S204 can also be first carried out, to calculate the 3rd distance S3With the 4th distance S4, Step S201 and step S202 are performed again, to calculate the first distance S1With second distance S2
Step S205, according to second distance S2, the 4th distance S4And the center C of left lens 10 and the center of right lens 11 The distance between C ' S00Calculate the first offset distance L1
It should be noted that those skilled in the art know, the positive throwing of the center C ' of right lens 11 in right eye image planes 31 The distance L of the orthographic projection O of shadow O ' and the center C of left lens 10 in left eye image planes 30 in the lateral direction0Equal to right lens 11 Center C ' and left lens 10 the distance between center C S00
In the case, as shown in fig. 7, the first offset distance L1=L0+S3-S4
Based on this, the distance between the left margin of left eye image planes 30 and the left margin of right eye image planes 31 can be calculated, and Using the distance as above-mentioned first offset distance L1
It should be noted that when using the distance between right margin of the right margin of left eye image planes 30 and right eye image planes 31 as First offset distance L1When, calculate the first offset distance L1Principle it is same as described above, here is omitted.
On this basis, for the ease of the above-mentioned first offset distance L of calculating1, optionally, above-mentioned method of testing also includes:
First, as shown in Figure 7 and Figure 8, using any point in left eye image planes 30 as the origin of coordinates, with mutual in left eye image planes 30 Vertical first direction and second direction is respectively X-direction and Y direction, using the vertical direction of left eye image planes 30 as Z axis side To rectangular coordinate system is established, one in first direction and second direction is left and right directions.In Fig. 8, using the bearing of trend of X-axis as Left and right directions.
Secondly, orthographic projection Os of the center C of left lens 10 in left eye image planes 30 coordinate is determined.Next, according to left saturating The center C of mirror 10 and the center C ' of right lens 11 relative position, determine the center C ' of right lens 11 in right eye image planes 31 Coordinates of the orthographic projection O ' in the rectangular coordinate system.
Specifically, with reference to above-mentioned, the orthographic projection O ' and left lens 10 of the center C ' of right lens 11 in right eye image planes 31 The distance L of orthographic projection Os of the center C in left eye image planes 30 in the lateral direction0Equal to the center C ' and left lens of right lens 11 The distance between 10 center C S00.Therefore after above-mentioned point O coordinate determines, it may be determined that go out above-mentioned point O ' and sat at the right angle Coordinate in mark system.
So, the coordinate using O ' points in above-mentioned rectangular coordinate system is used as reference, it may be determined that goes out right eye image planes 31 Go up other coordinates in above-mentioned rectangular coordinate system.So as to by the point in left eye image planes 30 and right eye image planes 31 same Showed in coordinate system.
The present embodiment is optional, as shown in fig. 7, using the orthographic projection O of the center C of left lens 10 in left eye image planes 30 as coordinate Origin, as the center C of known left lens 10 and the distance between the center C ' S of right lens 1100When, then the center C ' of right lens 11 Orthographic projection O ' in right eye image planes 31 is (L in the coordinate of above-mentioned rectangular coordinate system0, 0,0).
Or first using any point in right eye image planes 31 as the origin of coordinates, with right eye image planes 31 orthogonal first Direction and second direction are respectively X-direction and Y direction, and right angle is established as Z-direction using the vertical direction of right eye image planes 31 One in coordinate system, wherein first direction and second direction is left and right directions.
Secondly, orthographic projection Os ' of the center C ' of right lens 11 in right eye image planes 31 coordinate is determined.Next, according to a left side The center C of lens 10 and the center C ' of right lens 11 relative position, determine the center C of left lens 10 in left eye image planes 30 Coordinates of the orthographic projection O in above-mentioned rectangular coordinate system.
So, the coordinate using O points in above-mentioned rectangular coordinate system is used as reference, it may be determined that goes out in left eye image planes 30 Other coordinates in above-mentioned rectangular coordinate system.
In the case, above-mentioned steps S101 includes:Based on above-mentioned rectangular coordinate system, according to virtual reality device to be measured Device parameter, calculate the left eye image planes 30 and the first offset distance of right eye image planes 31 in the lateral direction of virtual display device to be measured From L1.The embodiment of the present invention is established right angle as the origin of coordinates using orthographic projection Os of the center C of left lens 10 in left eye image planes 30 and sat Mark system is illustrated.
With reference to above-mentioned, as shown in fig. 7, orthographic projection Os of the center C of left lens 10 in left eye image planes 30 coordinate be (0, 0,0), then the coordinate of the PL points on the left margin of left eye image planes 30 is (- S3, 0,0), the center D ' of right lens 11 is in right eye image planes The coordinate of orthographic projection O ' on 31 is (L0, 0,0), the coordinate of the PR points on the left margin of right eye image planes 31 is (L0-S4, 0,0).
In the case, according to the distance between 2 points of range formula, above-mentioned PL points and PR points, i.e. the first offset distanceWherein, the first distance S3, the 4th distance S4 calculation are same as above, this Place repeats no more.
In addition, above-mentioned parallax method of testing is as shown in figure 9, can also include:
Step S301, as shown in Figure 10, the first point A is shown on left display screen 20 of the control with reference to virtual display device, and Controlling and second point B is shown on right display screen 21, the first point A and second point B arrange in the lateral direction, as shown in figure 11, first Point A corresponds to the thirdly A ' of the left eye image planes 30 with reference to virtual display device, and second point is corresponded to reference to virtual display device Right eye image planes 31 the 4th point B '.
It should be noted that those skilled in the art know, when the point in control display screen moves, in corresponding image planes Point can also move.
Step S302, control the first point A and/or second point B is moved in the lateral direction, and receives user instruction, user Instruct the thirdly A ' allowed for instruction user and the 4th point B ' relative position.
It should be noted that first, example, the first point A and second point B can be controlled to move in the lateral direction, Or as shown in Figure 10, a little moving in the lateral direction in the first point A and second point B is controlled, to cause left eye image planes 30 On thirdly A ' and right eye image planes 31 on the 4th point B ' relative distance change, i.e., thirdly A ' and the 4th point B's ' Relative position changes, so that as shown in figure 12, the far and near position for the point P that user watches changes.
The thirdly A ' and the 4th point B ' relative position that user allows refer to that user is felt with reference to virtual reality device Thirdly A ' and fourth point B ' of the far and near position of display picture (such as P points in Figure 11) in OK range relative position Put.
Secondth, the particular location not comprising thirdly A ' and the 4th point B ' relative position in user instruction, but including The thirdly A ' and the specific instruction of the 4th point B ' relative position allowed for instruction user.Example, user instruction can be with Including the first instruction, the second instruction and the 3rd instruction.As shown in figure 11, as user it was observed that point be located at point P1At position When, user sends the first instruction, then so that currently thirdly A ' and the 4th point B ' relative position allow thirdly as user The farthest relative position of A ' and the 4th B ' points;As user it was observed that point be located at point P3When at position, user sends second Instruction, then using thirdly A ' that currently thirdly A ' and the 4th point B ' relative position allow as user and the 4th point B ' most Nearly relative position;As user it was observed that point be located at point P2When at position, user sends the 3rd instruction, with currently thirdly The thirdly A ' and the 4th point B ' optimal relative position that A ' and the 4th point B ' relative position allow as user.Wherein example , when user sends instruction, by the gesture of user or CCU can be pressed so that above-mentioned first point A and second Point B stops movement.
Step S303, thirdly A ' and the 4th point B ' are in the relative position indicated by user instruction for acquisition, the first point A The 5th distance S between second point B5
It should be noted that with reference to above-mentioned, the first point A and second point B on display screen are the point of necessary being, therefore the The distance between one point A and second point B can be obtained by measurement.
Specifically, after receiving user instruction, thirdly A ' and the 4th point B ' according to indicated by user instruction permit in user Perhaps relative position, the 5th distance between now the first point A and second point B corresponding with thirdly A ' and the 4th point B ' is calculated S5
Step S304, according to the 5th distance S5And with reference to virtual display device device parameter, calculate thirdly A ' and 4th point B ' is in the relative position indicated by user instruction, thirdly the 6th distance S between A ' and the 4th point B '6, with Obtain referring to parallax characterization value, wherein with reference to parallax characterization value including:As shown in figure 11, thirdly between A ' and the 4th point B ' At least one of maximum allowable range rmax, minimum allowable range rmin and optimum distance rmid.
Specifically, according to the focal length F of the left lens 10 with reference to virtual display device and left display screen 20 and left lens 10 it Between distance d0The proportionate relationship between the image height of left lens 10 and thing height can be calculated, specific calculation is referred to The calculation for calculating the high proportionate relationship of lens image height and thing in virtual display device to be measured is stated, here is omitted.
On this basis, the 5th distance S between above-mentioned first point A and second point B5It is high as thing, with thirdly A ' And the 4th the 6th distance S between point B '6As image height, so as to calculate the 6th distance S6, the 6th distance S6As with reference to parallax Characterization value.
So, the reference parallax characterization value with reference to virtual parallax equipment can be obtained.The test of above-mentioned acquisition is regarded Poor characterization value, can be to the display effect of virtual reality device to be measured according to comparative result compared with reference to parallax characterization value Evaluated.
On this basis, in order that the reference parallax characterization value that must be measured is more accurate, optionally, the parallax test side Method also includes:To multiple 6th distance S of same type6Average, to obtain referring to parallax characterization value, characterized with reference to parallax The type of value includes:Thirdly maximum allowable range rmax, the minimum allowable range rmin between A ' and the 4th point B ' and most Good distance rmid.
It should be noted that obtain above-mentioned multiple 6th distance S6, above-mentioned steps S301- can be performed by being repeated several times Step S304 is obtained.Multiple 6th distance S6The maximum allowable range between multiple thirdly A ' and the 4th point B ' can be included At least one of rmax, multiple minimum allowable range rmin and multiple optimum distance rmid.
On this basis, to multiple maximum allowable range rmax, multiple minimum allowable range rmin and it is multiple most preferably away from Averaged respectively from rmid, the average value to finally give can improve the reference measured and regard as parallax characterization value is referred to The accuracy of poor characterization value.
On this basis, because the image that virtual reality device is shown also has parallax in itself, the parallax can be to measuring Certain influence is produced with reference to parallax characterization value.Therefore it is optional, carry out elimination Error processing with reference to parallax characterization value to above-mentioned.
Example, when above-mentioned reference parallax characterization value includes maximum allowable range rmax and minimum allowable range rmin, Carry out maximum allowable range rmax '=rmax-20%* (rmax-rmin) after elimination Error processing;Minimum allowable range Rmin '=rmin+20%* (rmax-rmin).Or only include maximum allowable range rmax with reference to parallax characterization value when above-mentioned When, carry out maximum allowable range rmax '=rmax*80% after elimination Error processing.Similarly, when reference parallax characterization value is it During his type, the mode for eliminating Error processing is identical.It is of course also possible to above-mentioned reference is regarded according to the parallax situation of image in itself Poor characterization value carries out elimination Error processing, and this is not limited by the present invention.
So, carrying out the reference parallax characterization value after elimination Error processing can more accurately reflect that virtual reality is set Standby display effect.
Embodiment two
The embodiment of the present invention provides a kind of parallax method of testing of virtual reality device, as shown in figure 13, including:
Step S401, as shown in Figure 10, the first point A of display on the left display screen 20 of virtual display device is controlled, and is controlled Second point B is shown on right display screen 21, the first point A and second point B arrange in the lateral direction, as shown in figure 11, the first A pairs of point The thirdly A ' of the left eye image planes 30 of virtual display device should be arrived, second point B corresponds to the right eye image planes 31 of virtual display device The 4th point B '.
Step S402, control the first point A and/or second point B is moved in the lateral direction, and receives user instruction, user Instruct the thirdly A ' allowed for instruction user and the 4th point B ' relative position.
Step S403, thirdly A ' and the 4th point B ' are in the relative position indicated by user instruction for acquisition, the first point A The 5th distance S between second point B5
Step S404, according to the 5th distance S5And the device parameter of virtual display device, calculate thirdly A ' and the 4th Point B ' is in the relative position indicated by user instruction, thirdly the 6th distance S between A ' and the 4th point B '5, to obtain Parallax characterization value, wherein parallax characterization value include:As shown in figure 11, the thirdly maximum allowable range between A ' and the 4th point B ' At least one of rmax, minimum allowable range rmin and optimum distance rmid.
It should be noted that the above-mentioned distance S of acquisition the 5th5With the 6th distance S6Method of testing with being obtained in embodiment one 5th distance S5With the 6th distance S6Method of testing it is identical, here is omitted.
Based on this, the embodiment of the present invention provides a kind of parallax method of testing of virtual reality device, first, in left display screen The first point A is shown on 20, second point B is shown on right display screen 21, the first point A and second point B arrange in the lateral direction.So Afterwards, by controlling the movements of the second point B on the first point A and the right display screen 21 on left display screen 20 in the lateral direction, with The relative distance between the 4th point B ' on thirdly A ' and right eye image planes 31 in control left eye image planes 30 changes.Connect down Come, determine the thirdly A ' and the 4th point B ' of user's permission relative position, and receive user instruction.Next, obtain the 3rd Point A ' and the 4th point B ' are in the relative position indicated by user instruction, the 5th distance between the first point A and second point B S5.Finally according to the 5th distance S5And the device parameter of virtual display device, calculate in the relative position indicated by user instruction During place, thirdly the 6th distance S between A ' and the 4th point B '6, to obtain parallax characterization value.Due to regarding for virtual reality device Difference can directly affect its display effect, such as the far and near position of display picture, so as to according to parallax characterization value quantitative test The display effect of virtual reality device, and then realize and the quantification of the display effect of virtual reality device is tested.
On this basis, optionally, before above-mentioned steps S401 is performed, parallax method of testing also includes:
First using any point in left eye image planes 30 as the origin of coordinates, with orthogonal first direction in left eye image planes 30 and Second direction is respectively X-direction and Y direction, and rectangular coordinate system is established as Z-direction using the vertical direction of left eye image planes 30, One in first direction and second direction is left and right directions.
Secondly, orthographic projection Os of the center C of left lens 10 in left eye image planes 30 coordinate is determined.Next, according to left saturating The center C of mirror 10 and the center C ' of right lens 11 relative position, determine the center C ' of right lens 11 in right eye image planes 31 Coordinates of the orthographic projection O ' in above-mentioned rectangular coordinate system.
So, the coordinate using O ' points in above-mentioned rectangular coordinate system is used as reference, it may be determined that goes out right eye image planes 31 Go up other coordinates in above-mentioned rectangular coordinate system.So as to by the point in left eye image planes 30 and right eye image planes 31 same Showed in coordinate system.
Or first using any point in right eye image planes 31 as the origin of coordinates, with right eye image planes 31 orthogonal first Direction and second direction are respectively X-direction and Y direction, and right angle is established as Z-direction using the vertical direction of right eye image planes 31 One in coordinate system, wherein first direction and second direction is left and right directions.
Secondly, orthographic projection Os ' of the center C ' of right lens 11 in right eye image planes 31 coordinate is determined.Next, according to a left side The center C of lens 10 and the center C ' of right lens 11 relative position, determine the center C of left lens 10 in left eye image planes 30 Coordinates of the orthographic projection O in above-mentioned rectangular coordinate system.
So, the coordinate using O points in above-mentioned rectangular coordinate system is used as reference, it may be determined that goes out in left eye image planes 30 Other coordinates in above-mentioned rectangular coordinate system.
The present embodiment is preferable, using the orthographic projection O of the center C of left lens 10 in left eye image planes 30 as the origin of coordinates, or, It is that the origin of coordinates establishes coordinate system with the orthographic projection O ' of the center C ' of right lens 11 in right eye image planes 31.
On this basis, optionally, in above-mentioned steps S402, control the first point A and/or second point B is in the lateral direction It is mobile, including:By controlling the first point A to move in the lateral direction, to cause as shown in figure 12, thirdly A ' is located at coordinate original At point.Control second point B is moved in the lateral direction, and the 4th point B ' can be caused to be moved left and right in right eye image planes 31.So that Thirdly A ' and the 4th point B ' relative position is obtained to change.
Based on this, when obtaining parallax characterization value, it is only necessary to control second point B to be moved on right display screen 21, to cause Three point A ' and the 4th point B ' relative position change, so that the far and near position hair of the display picture of virtual reality device Changing.So, the parallax method of testing of above-mentioned virtual reality device can be simplified.
On this basis, in order that the parallax characterization value that must be measured is more accurate, optionally, the method for testing is also wrapped Include:To multiple 6th distance S of same type6Average, to obtain parallax characterization value, the type of parallax characterization value includes: Thirdly maximum allowable range rmax, minimum allowable range rmin and the optimum distance rmid between A ' and the 4th point B '.
It should be noted that obtain above-mentioned multiple 6th distance S6Above-mentioned steps S301- can be performed by being repeated several times Step S304 is obtained.Multiple 6th distance S6The maximum allowable range between multiple thirdly A ' and the 4th point B ' can be included Rmax, multiple minimum allowable range rmin and multiple optimum distance rmid.
On this basis, to multiple maximum allowable range rmax, multiple minimum allowable range rmin and it is multiple most preferably away from Averaged respectively from rmid, the average value to finally give can improve the parallax characterization value measured as parallax characterization value Accuracy.
On this basis, because the image that virtual reality device is shown also has parallax in itself, the parallax can be to measuring Parallax characterization value produces certain influence.Therefore it is optional, elimination Error processing is carried out to above-mentioned parallax characterization value.
Example, when above-mentioned parallax characterization value includes maximum allowable range rmax and minimum allowable range rmin, carry out Eliminate maximum allowable range rmax '=rmax-20%* (rmax-rmin) after Error processing;Minimum allowable range rmin= Rmin+20%* (rmax-rmin).Or when above-mentioned reference parallax characterization value only includes maximum allowable range rmax, carry out Eliminate maximum allowable range rmax '=rmax*80% after Error processing.Similarly, when parallax characterization value is other types, disappear Except the mode of Error processing is identical.It is of course also possible to above-mentioned parallax characterization value is disappeared according to the parallax situation of image in itself Except Error processing, this is not limited by the present invention.
So, virtual reality device can more accurately be reflected by carrying out the parallax characterization value after elimination Error processing Display effect.
Embodiment three
The embodiment of the present invention provides a kind of parallax test device of virtual reality device, wherein, virtual reality device includes: For determining the left lens 10 and left display screen 20 of left eye image planes 30, and for determining right lens 11 and the right side of right eye image planes 31 Display screen 21.The parallax test device can be software or hardware, wherein the realization of each functional module may be referred to above-mentioned reality Example is applied, will not be repeated here, as shown in figure 14, the device includes:
Computing module 41, for the device parameter according to virtual reality device to be measured, as shown in Fig. 2 calculating to be measured virtual The left eye image planes 30 of display device and the first offset distance L of right eye image planes 31 in the lateral direction1, the first offset distance L1Make To test parallax characterization value.
Comparison module 42, for compared with reference to parallax characterization value, test parallax characterization value to be obtained into comparative result.
It should be noted that each module in the present embodiment can be the processor being separately provided, or be integrated in Realized in some processor of the parallax test device, parallax test device can also be stored in the form of program code In memory, called by some processor of parallax test device and perform the function of above unit.Described here Processor can be a central processing unit (English full name:Central Processing Unit, English abbreviation:CPU), scheme Shape processor (English full name:Graphics Processing Unit, English abbreviation:) or specific integrated circuit (English GPU Literary full name:Application Specific Integrated Circuit, English abbreviation:ASIC), or it is arranged to Implement one or more integrated circuits of the embodiment of the present invention.
The embodiment of the present invention provides a kind of parallax test device, applied to the parallax method of testing as described in embodiment one, With the parallax method of testing identical beneficial effect provided with embodiment one.Because previous embodiment has been tested the parallax The beneficial effect of method is described in detail, and here is omitted.
Further, above-mentioned computing module 41 is applied particularly to following aspect, as shown in figure 5, being existed according to left display screen 20 Length W on left and right directions1, or, according to the length W of left display screen 20 in the lateral direction1With the center C of left lens 10 with Second offset distance Ls of the center D of left display screen 20 in left and right directions2, the center C of left lens 10 is calculated on left display screen 20 Left margins of the orthographic projection Q to left display screen 20 or the first distance S to right margin1.In Fig. 5 and Fig. 6, the first distance S1With point Q The distance between point Pl on the left margin of left display screen 20 is represented.
With reference to figure 3, Fig. 6 and Fig. 7, according to the first distance S1And the focal length F and left display screen 20 of left lens 10 and a left side The distance between lens 10 d0, orthographic projection Os of the center C of left lens 10 in left eye image planes 30 is calculated to a left side for left eye image planes 30 Border or the second distance S of right margin2.In Fig. 6, second distance S2With between the point PL on the left margin of left eye image planes 30 and point O Distance represent.
According to the length W of right display screen 21 in the lateral direction2, or, according to right display screen 21 in the lateral direction Length W2With the center C ' and right display screen 21 of right lens 11 the 3rd offset distance in left and right directions, right lens 11 are calculated Orthographic projection Qs ' of the center C ' on right display screen 21 arrives the left margin of right display screen 21 to the 3rd distance S of right margin3.In Fig. 6, 3rd distance S3Represented with the distance between point Pr on the left margin of point Q ' and right display screen 21.
According to the 3rd distance S3And the distance between the focal length and right display screen 21 of right lens 11 and right lens 11, meter Calculate the of orthographic projection Os ' of the center C ' in right eye image planes 31 of right lens 11 to the left margin of right eye image planes 31 or to right margin Four distance S4.In Fig. 6, the 4th distance S4Represented with the distance between point PR on point O ' and the left margin of right eye image planes 31.
On this basis, as shown in figure 15, parallax test device also includes coordinate determining module 43, coordinate determining module 43 For as shown in figure 8, with any point in left eye image planes 30, example, with the positive throwing of the center C of left lens 10 in left eye image planes 30 Shadow O is the origin of coordinates, is respectively X-direction and Y-axis side with orthogonal first direction in left eye image planes 30 and second direction To, rectangular coordinate system is established as Z-direction using the vertical direction of left eye image planes 30, wherein, in first direction and second direction One is left and right directions.
On this basis, above-mentioned coordinate determining module 43 is additionally operable to determine the center C of left lens 10 in left eye image planes 30 Orthographic projection O coordinate;And according to the center C of left lens 10 and the center C ' of right lens 11 relative position, determine right lens Orthographic projection O ' coordinates in above-mentioned rectangular coordinate system of the 11 center C ' in right eye image planes 31.
Or coordinate determining module 43 is used for any point in right eye image planes 31, for example, right lens 11 center C ' just Projection O ' is the origin of coordinates, is respectively X-direction and Y-axis with orthogonal first direction in right eye image planes 31 and second direction Direction, rectangular coordinate system is established by Z-direction of the vertical direction of right eye image planes 31, wherein in first direction and second direction One is left and right directions.
On this basis, above-mentioned coordinate determining module 43 is additionally operable to determine the center C ' of right lens 11 in right eye image planes 31 Orthographic projection O ' coordinate.And according to the center C of left lens 10 and the center C ' of right lens 11 relative position, determine left lens Orthographic projection Os of the 10 center C in left eye image planes 30 coordinate.
On this basis, computing module 41 is used to be based on above-mentioned rectangular coordinate system, is joined according to the equipment of virtual reality device Number, calculate left eye image planes 30 and the first offset distance L of right eye image planes 31 in the lateral direction of virtual display device1
Example IV
The embodiment of the present invention provides a kind of parallax test device of virtual reality device, wherein, virtual reality device includes: For determining the left lens 10 and left display screen 20 of left eye image planes 30, for the right lens 11 for determining right eye image planes 31 and right display Screen 21.Above-mentioned parallax test device is as shown in figure 16, including:
Display control module 50, as shown in Figure 10, first is shown on the left display screen 20 for controlling virtual display device Point A, and control and second point B is shown on right display screen 21, the first point A and second point B arrange in the lateral direction, the first A pairs of point The thirdly A ' of the left eye image planes 30 of virtual display device should be arrived, second point B corresponds to the right eye image planes 31 of virtual display device The 4th point B ';It is additionally operable to control the first point A and/or second point B to move in the lateral direction.
Receiving module 51, for receiving user instruction, user instruction is used for the thirdly A ' and the 4th that instruction user allows Point B ' relative position.
Acquisition module 52, for obtain thirdly A ' and the 4th point B ' in the relative position indicated by user instruction, The 5th distance S between first point A and second point B5
Computing module 41, for according to the 5th distance S5And the device parameter of virtual display device, calculate thirdly A ' With the 4th point B ' in the relative position indicated by user instruction, thirdly the 6th distance S between A ' and the 4th point B '5, To obtain parallax characterization value, wherein parallax characterization value includes:As shown in figure 11, the maximum thirdly between A ' and the 4th point B ' permits Perhaps at least one of distance rmax, minimum allowable range rmin and optimum distance rmid.
The embodiment of the present invention provides a kind of parallax test device, applied to the parallax method of testing as described in embodiment two, With the parallax method of testing identical beneficial effect provided with embodiment two.Because previous embodiment has been tested the parallax The beneficial effect of method is described in detail, and here is omitted.
On this basis, optionally, parallax test device is as shown in figure 17, in addition to coordinate determining module 43, and coordinate is true Cover half block 43 is used for any point in left eye image planes 30, example, with the orthographic projection O at the center of left lens 10 in left eye image planes 30 It is respectively X-direction and Y direction with orthogonal first direction in left eye image planes 30 and second direction for the origin of coordinates, Rectangular coordinate system is established as Z-direction using the vertical direction of left eye image planes 30;
On this basis, above-mentioned coordinate determining module 43 is additionally operable to determine the center C of left lens 10 in left eye image planes 30 Orthographic projection O coordinate;And according to the center C of left lens 10 and the center C ' of right lens 11 relative position, determine right lens Orthographic projection O ' coordinates in above-mentioned rectangular coordinate system of the 11 center C ' in right eye image planes 31.
Or coordinate determining module 43 is used for any point in right eye image planes 31, for example, right lens 11 center C ' just Projection O ' is the origin of coordinates, is respectively X-direction and Y-axis with orthogonal first direction in right eye image planes 31 and second direction Direction, rectangular coordinate system is established by Z-direction of the vertical direction of right eye image planes 31, wherein in first direction and second direction One is left and right directions.
On this basis, above-mentioned coordinate determining module 43 is additionally operable to determine the center C ' of right lens 11 in right eye image planes 31 Orthographic projection O ' coordinate.And according to the center C of left lens 10 and the center C ' of right lens 11 relative position, determine left lens Orthographic projection Os of the 10 center C in left eye image planes 30 coordinate.
In the case, above-mentioned display control module 50 is specifically used for by controlling the first point A to move in the lateral direction, Make it that thirdly A ' is located at the origin of coordinates, and for controlling second point B to move in the lateral direction.
On this basis, above-mentioned computing module 41 is additionally operable to multiple 6th distance S to same type6Average, with Parallax characterization value is obtained, the type of parallax characterization value includes:Thirdly the maximum allowable range rmax between A ' and the 4th point B ', Minimum allowable range rmin and optimum distance rmid.
Optionally, parallax test device is as shown in figure 17, in addition to Error processing module 53, and Error processing module 53 is used for Elimination Error processing is carried out to above-mentioned parallax characterization value.
Embodiment five
The embodiment of the present invention provides a kind of computer-readable storage medium, and computer instruction is stored with computer-readable storage medium, When the computer instruction is being run in parallax test device so that the parallax test device is performed such as embodiment one or real Apply any of example two parallax method of testing.With the parallax method of testing identical provided with previous embodiment beneficial to effect Fruit.Because the beneficial effect of the parallax method of testing has been described in detail for previous embodiment, here is omitted.
Embodiment six
The embodiment of the present invention provide it is a kind of comprising instruction computer program product, when the computer program product regarding When being run in poor test device so that the parallax test device performs such as any of embodiment one or embodiment two parallax Method of testing.With the parallax method of testing identical beneficial effect provided with previous embodiment.Due to previous embodiment The beneficial effect of the parallax method of testing is described in detail, here is omitted.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (12)

1. the parallax method of testing of a kind of virtual reality device, it is characterised in that the virtual reality device includes:For determining The left lens of left eye image planes and left display screen, and for the right lens for determining right eye image planes and right display screen;The parallax is surveyed Method for testing includes:
According to the device parameter of virtual reality device to be measured, the left eye image planes of the calculating virtual display device to be measured and institute The first offset distance of right eye image planes in the lateral direction is stated, first offset distance is as test parallax characterization value;
By the test parallax characterization value compared with reference to parallax characterization value, comparative result is obtained.
2. the parallax method of testing according to claim 1, it is characterised in that the setting according to virtual reality device to be measured Standby parameter, calculate the left eye image planes and the first offset distance of right eye image planes in the lateral direction of the virtual display device to be measured Including:
According to the length of the left display screen of the virtual reality device to be measured in the lateral direction, or, according to the void to be measured Intend the left display screen length in the lateral direction of real world devices and the center of the left lens and the center of the left display screen In the second offset distance of left and right directions, orthographic projection of the center of the left lens on the left display screen is calculated to the left side The left margin of display screen or the first distance of right margin;
According to described first distance and the left lens focal length and the left display screen and the left lens between away from From calculating orthographic projection of the center of the left lens in the left eye image planes to the left eye image planes left margin or right margin Second distance;
According to the length of the right display screen in the lateral direction, or, according to the length of the right display screen in the lateral direction Degree and the center of the right lens and the center of the right display screen are calculated described right saturating in the 3rd offset distance of left and right directions Orthographic projection of the center of mirror on the right display screen is to the left margin of the right display screen or the 3rd distance of right margin;
According to the described 3rd distance and the right lens focal length and the right display screen and the right lens between away from From calculating orthographic projection of the center of the right lens in the right eye image planes to the right eye image planes left margin or right margin 4th distance;
According between the second distance, the 4th distance and the center of the left lens and the center of the right lens Distance calculates first offset distance.
3. parallax method of testing according to claim 1, it is characterised in that the parallax method of testing also includes:
Using any point in the left eye image planes as the origin of coordinates, with orthogonal first direction and second in the left eye image planes Direction is respectively X-direction and Y direction, and rectangular coordinate system is established as Z-direction using the vertical direction of the left eye image planes;
Determine the coordinate of orthographic projection of the center of the left lens in the left eye image planes;
According to the relative position at the center of the left lens and the center of the right lens, determine the center of the right lens in institute State coordinate of the orthographic projection in the rectangular coordinate system in right eye image planes;
Or using any point in the right eye image planes as the origin of coordinates, with orthogonal first direction in the right eye image planes It is respectively X-direction and Y direction with second direction, right angle is established as Z-direction using the vertical direction of the right eye image planes and sat Mark system;
Determine the coordinate of orthographic projection of the center of the right lens in the right eye image planes;
According to the relative position at the center of the left lens and the center of the right lens, determine the center of the left lens in institute State coordinate of the orthographic projection in the rectangular coordinate system in left eye image planes;
One in wherein described first direction and the second direction is left and right directions;
The device parameter according to virtual reality device to be measured, calculate the left eye image planes of the virtual display device to be measured Include with the first offset distance of the right eye image planes in the lateral direction:
Based on the rectangular coordinate system, according to the device parameter of the virtual reality device to be measured, calculate described to be measured virtual aobvious Show the left eye image planes and the first offset distance of the right eye image planes in the lateral direction of equipment.
4. according to the parallax method of testing described in claim any one of 1-3, it is characterised in that the parallax method of testing is also wrapped Include:
Control refers to first point of the left display screen display of virtual display device, and controls right display screen display second point, institute State at first point and the second point is arranged in the lateral direction, described first point corresponds to the left eye image planes thirdly, institute State at the 4th point that second point corresponds to the right eye image planes;
Control at described first point and/or the second point moves in the lateral direction, and receive user instruction, the user instruction For instruction user allow described in the thirdly relative position with described 4th point;
Obtain it is described thirdly with described 4th point in the relative position indicated by the user instruction, described first point with The 5th distance between the second point;
According to the described 5th distance and the device parameter with reference to virtual display device, calculate described in thirdly with described the 4 points in the relative position indicated by the user instruction, it is described thirdly and it is described 4th point between the 6th distance, It is described with reference to parallax characterization value to obtain, it is described to include with reference to parallax characterization value:It is described thirdly and described between 4th point At least one of maximum allowable range, minimum allowable range and optimum distance.
5. the parallax method of testing of a kind of virtual reality device, it is characterised in that the virtual reality device includes:For determining The left lens of left eye image planes and left display screen, and for the right lens for determining right eye image planes and right display screen;The parallax is surveyed Method for testing includes:
Control it is described it is left display first point of screen display, and control it is described it is right display screen display second point, described first point and The second point is arranged in the lateral direction, and described first point corresponds to the left eye image planes thirdly, the second point pair The 4th point of the right eye image planes should be arrived;
Control at described first point and/or the second point moves in the lateral direction, and receive user instruction, the user instruction For instruction user allow described in the thirdly relative position with described 4th point;
Obtain it is described thirdly with described 4th point in the relative position indicated by the user instruction, described first point with The 5th distance between the second point;
According to the described 5th distance and the virtual display device device parameter, calculate described in thirdly with described 4th point In the relative position indicated by the user instruction, it is described thirdly and it is described 4th point between the 6th distance, with To parallax characterization value, the parallax characterization value includes:It is described thirdly and it is described 4th point between maximum allowable range, minimum Allow at least one of distance and optimum distance.
6. parallax method of testing according to claim 5, it is characterised in that in the left display screen display first of the control Point, and control it is described it is right display screen display second point before, the parallax method of testing also includes:
Using any point in the left eye image planes as the origin of coordinates, with orthogonal first direction and second in the left eye image planes Direction is respectively X-direction and Y direction, and rectangular coordinate system is established as Z-direction using the vertical direction of the left eye image planes;
Determine the coordinate of orthographic projection of the center of the left lens in the left eye image planes;
According to the relative position at the center of the left lens and the center of the right lens, determine the center of the right lens in institute State coordinate of the orthographic projection in the rectangular coordinate system in right eye image planes;
Or using any point in the right eye image planes as the origin of coordinates, with orthogonal first direction in the right eye image planes It is respectively X-direction and Y direction with second direction, right angle is established as Z-direction using the vertical direction of the right eye image planes and sat Mark system;
Determine the coordinate of orthographic projection of the center of the right lens in the right eye image planes;
According to the relative position at the center of the left lens and the center of the right lens, determine the center of the left lens in institute State coordinate of the orthographic projection in the rectangular coordinate system in left eye image planes;
One in wherein described first direction and the second direction is left and right directions;
Control first point and/or the second point move in the lateral direction, including:
Moved in the lateral direction by controlling at described first point, it is described thirdly at the origin of coordinates to cause;Control The second point is made to move up in the right and left.
7. parallax method of testing according to claim 5, it is characterised in that the parallax method of testing also includes:
Multiple 6th distances of same type are averaged, to obtain parallax characterization value, the type of the 6th distance Including:It is described thirdly and it is described 4th point between maximum allowable range, minimum allowable range and optimum distance.
8. according to the parallax method of testing described in claim any one of 5-7, it is characterised in that the parallax method of testing is also wrapped Include:Elimination Error processing is carried out to the parallax characterization value.
9. the parallax test device of a kind of virtual reality device, it is characterised in that the virtual reality device includes:For determining The left lens of left eye image planes and left display screen, and for the right lens for determining right eye image planes and right display screen;The parallax is surveyed Trial assembly put including:
Computing module, for the device parameter according to virtual reality device to be measured, the institute of the calculating virtual display device to be measured Left eye image planes and the first offset distance of the right eye image planes in the lateral direction are stated, first offset distance regards as test Poor characterization value;
Comparison module, for compared with reference to parallax characterization value, the test parallax characterization value to be obtained into comparative result.
10. the parallax test device of a kind of virtual reality device, it is characterised in that the virtual reality device includes:For true Determine the left lens of left eye image planes and left display screen, and for the right lens for determining right eye image planes and right display screen;The parallax Test device includes:
Display control module, for controlling left first point of the screen display of display, and control the right display screen display the 2 points, described first point and the second point are arranged in the lateral direction, and described first point corresponds to the virtual display device Left eye image planes thirdly, the second point corresponds to the 4th point of the right eye image planes of the virtual display device;It is additionally operable to Control at described first point and/or the second point moves in the lateral direction;
Receiving module, for receiving user instruction, the user instruction be used for that instruction user to allow it is described thirdly with it is described 4th point of relative position;
Acquisition module, it is described thirdly with described 4th point in the relative position that user allows for obtaining, described first The 5th distance between point and the second point;
Computing module, for according to the described 5th distance and the virtual display device device parameter calculate described in thirdly With described 4th point in the relative position indicated by the user instruction, it is described thirdly and it is described 4th point between Six distances, to obtain parallax characterization value, the parallax characterization value includes:It is described thirdly and it is described 4th point between maximum permit Perhaps at least one of distance, minimum allowable range and optimum distance.
11. a kind of computer-readable storage medium, it is characterised in that computer instruction is stored with, when the computer instruction is in parallax When being run in test device so that the parallax test device is performed such as any one of claim 1-4 or such as claim 5-8 Any one of parallax method of testing.
12. a kind of computer program product for including instruction, it is characterised in that when the computer program product is tested in parallax When being run on device so that the parallax test device is performed such as any one of claim 1-4 or as appointed in claim 5-8 Parallax method of testing described in one.
CN201710781307.3A 2017-09-01 2017-09-01 A kind of method and apparatus of the parallax test of virtual reality device Active CN107396097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710781307.3A CN107396097B (en) 2017-09-01 2017-09-01 A kind of method and apparatus of the parallax test of virtual reality device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710781307.3A CN107396097B (en) 2017-09-01 2017-09-01 A kind of method and apparatus of the parallax test of virtual reality device

Publications (2)

Publication Number Publication Date
CN107396097A true CN107396097A (en) 2017-11-24
CN107396097B CN107396097B (en) 2019-05-10

Family

ID=60347585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710781307.3A Active CN107396097B (en) 2017-09-01 2017-09-01 A kind of method and apparatus of the parallax test of virtual reality device

Country Status (1)

Country Link
CN (1) CN107396097B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109856802A (en) * 2019-04-17 2019-06-07 京东方科技集团股份有限公司 Interpupillary distance adjusting method, device and virtual display device
CN111696048A (en) * 2019-03-15 2020-09-22 北京四维图新科技股份有限公司 Smoothing method and device for wall sampling line
CN112326202A (en) * 2020-10-23 2021-02-05 歌尔光学科技有限公司 Binocular parallax testing method, device and tool of virtual reality equipment
CN112362309A (en) * 2020-10-27 2021-02-12 青岛歌尔声学科技有限公司 Eccentric parallax testing method and device
CN113012182A (en) * 2021-04-25 2021-06-22 歌尔光学科技有限公司 Offset state test method, test device and storage medium
CN113670232A (en) * 2021-08-18 2021-11-19 歌尔光学科技有限公司 Virtual reality equipment eccentric standard sample and standard sample eccentric value measuring method
CN114252235A (en) * 2021-11-30 2022-03-29 青岛歌尔声学科技有限公司 Detection method and device for head-mounted display equipment, head-mounted display equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104584548A (en) * 2012-08-16 2015-04-29 埃西勒国际通用光学公司 Pictures positioning on display elements
CN105872526A (en) * 2015-01-21 2016-08-17 成都理想境界科技有限公司 Binocular AR (Augmented Reality) head-mounted display device and information display method thereof
US20160286210A1 (en) * 2015-03-27 2016-09-29 Osterhout Group, Inc. See-through computer display systems
US20160353093A1 (en) * 2015-05-28 2016-12-01 Todd Michael Lyon Determining inter-pupillary distance
US20170171538A1 (en) * 2015-12-10 2017-06-15 Cynthia S. Bell Ar display with adjustable stereo overlap zone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104584548A (en) * 2012-08-16 2015-04-29 埃西勒国际通用光学公司 Pictures positioning on display elements
CN105872526A (en) * 2015-01-21 2016-08-17 成都理想境界科技有限公司 Binocular AR (Augmented Reality) head-mounted display device and information display method thereof
US20160286210A1 (en) * 2015-03-27 2016-09-29 Osterhout Group, Inc. See-through computer display systems
US20160353093A1 (en) * 2015-05-28 2016-12-01 Todd Michael Lyon Determining inter-pupillary distance
US20170171538A1 (en) * 2015-12-10 2017-06-15 Cynthia S. Bell Ar display with adjustable stereo overlap zone

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111696048A (en) * 2019-03-15 2020-09-22 北京四维图新科技股份有限公司 Smoothing method and device for wall sampling line
CN111696048B (en) * 2019-03-15 2023-11-14 北京四维图新科技股份有限公司 Smoothing processing method and device for wall sampling line
CN109856802A (en) * 2019-04-17 2019-06-07 京东方科技集团股份有限公司 Interpupillary distance adjusting method, device and virtual display device
CN112326202A (en) * 2020-10-23 2021-02-05 歌尔光学科技有限公司 Binocular parallax testing method, device and tool of virtual reality equipment
CN112362309A (en) * 2020-10-27 2021-02-12 青岛歌尔声学科技有限公司 Eccentric parallax testing method and device
CN112362309B (en) * 2020-10-27 2023-03-03 青岛歌尔声学科技有限公司 Eccentric parallax testing method and device
CN113012182A (en) * 2021-04-25 2021-06-22 歌尔光学科技有限公司 Offset state test method, test device and storage medium
CN113670232A (en) * 2021-08-18 2021-11-19 歌尔光学科技有限公司 Virtual reality equipment eccentric standard sample and standard sample eccentric value measuring method
CN114252235A (en) * 2021-11-30 2022-03-29 青岛歌尔声学科技有限公司 Detection method and device for head-mounted display equipment, head-mounted display equipment and medium

Also Published As

Publication number Publication date
CN107396097B (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN107396097A (en) A kind of method and apparatus of the parallax test of virtual reality device
CN105487555B (en) A kind of station keeping method and device of unmanned plane
CN103314286B (en) Soldering inspection method and soldering inspection machine and base plate inspection system
Mardanbegi et al. Parallax error in the monocular head-mounted eye trackers
CN107003744B (en) Viewpoint determines method, apparatus and electronic equipment
CN105423993B (en) Deformation monitoring coordinate basis method for building up based on 3 D laser scanning and device
CN103890541B (en) Device and method for measuring diameter of cylindrical object
CN104006825A (en) System and method for calibration of machine vision cameras along at least three discrete planes
KR20120080215A (en) Method for viewing points detecting and apparatus thereof
CN104990689B (en) Localization method and device in a kind of optic test
CN111161358B (en) Camera calibration method and device for structured light depth measurement
CN104142209B (en) Mass cg measurement apparatus and method
CN110030926B (en) Calibration method for laser beam space pose
CN104913775B (en) Measurement method, unmanned plane localization method and the device of unmanned plane distance away the ground
TW201514446A (en) System and method for obtaining cloud points in 3D coordinates measurement
CN106996752A (en) Three-dimensional scanner and 3-D scanning method
CN106095103A (en) The display control method of virtual reality, device and relevant device
CN105931261A (en) Method and device for modifying extrinsic parameters of binocular stereo camera
CN104833342A (en) Mobile terminal and method of establishing stereoscopic model through multipoint distance measurement
CN109445620A (en) A kind of interaction pen automatic identifying method
CN109341522A (en) The device and method of vibration mirror scanning type laser measurement three-dimensional coordinate
CN112082481B (en) Precision evaluation method of visual detection system for detecting thread characteristics
TWI402489B (en) Method for measuring inclination angle of plane via electronic device
JP2000205821A (en) Instrument and method for three-dimensional shape measurement
US20020031261A1 (en) Matching device

Legal Events

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