Virtual image distance measuring method and device of near-eye display device
By displaying preset virtual images on the near-eye display device and using the shooting device to move the target distance to obtain the offset information of the virtual image display angle, the problem of complex and inaccurate virtual image distance measurement in the prior art is solved, and efficient and accurate virtual image distance measurement is achieved.
Patent Information
- Application Number
- CN202411966404.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-05-23
AI Technical Summary
The existing virtual image distance measurement methods are complex and costly, making it difficult to accurately measure the virtual image distance of near-eye display devices, affecting the user experience.
By controlling the near-eye display device to display a preset virtual image, adjust the display angle of the virtual image in the target image, use the shooting device to move the target distance in the preset direction, obtain the offset information of the angle displayed by the virtual image in the target image, and calculate the virtual image distance based on the target distance and offset information.
The complexity of virtual image distance measurement is reduced, the accuracy and efficiency of measurement is improved, and the clarity of virtual images and user comfort is ensured.
Smart Images

Figure CN120028017A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of optical testing, and particularly to a method and device for measuring the virtual image distance of a near-eye display device. Background Art
[0002] The virtual image distance is one of the key parameters of a near-eye display device, directly affecting the user experience. Deviations in the virtual image distance can cause users to frequently adjust the focal length of their eyes when viewing the virtual image, which can easily lead to visual fatigue and dizziness over time. Therefore, the virtual image distance of near-eye display devices such as VR (Virtual Reality) devices and AR (Augmented Reality) devices needs to be accurately measured to ensure the clarity and comfort of virtual images. However, existing virtual image distance measurement methods have problems such as cumbersome calibration procedures and high equipment costs. How to reduce the complexity of measuring the virtual image distance of near-eye display devices has become an urgent problem to be solved. Summary of the Invention
[0003] The main purpose of this application is to provide a method and device for measuring the virtual image distance of a near-eye display device, aiming to reduce the complexity of measuring the virtual image distance of near-eye display devices.
[0004] In a first aspect, this application provides a method for measuring the virtual image distance of a near-eye display device. The method for measuring the virtual image distance of the near-eye display device includes the following steps:
[0005] Control the near-eye display device to display a preset virtual image;
[0006] Control the imaging device to obtain a target image of the preset virtual image, and adjust the display angle of the preset virtual image in the target image so that the display angle conforms to a preset display angle;
[0007] When the display angle conforms to the preset display angle, control the imaging device to move a target distance in a preset direction;
[0008] After the imaging device moves the target distance in the preset direction, obtain the offset information of the display angle of the preset virtual image in the target image;
[0009] Determine the virtual image distance of the near-eye display device according to the target distance and the offset information.
[0010] In some embodiments, the near-eye display device is disposed on a fixed fixture. The adjusting the display angle of the preset virtual image in the target image so that the display angle conforms to a preset display angle includes:
[0011] The fixing angle of the near-eye display device on the fixing fixture is adjusted so that the display angle of the preset virtual image in the target image matches the preset display angle.
[0012] In some embodiments, adjusting the fixed angle of the near-eye display device on the fixed fixture so that the display angle of the preset virtual image in the target image matches the preset display angle includes:
[0013] The fixing angle of the near-eye display device on the fixing fixture is adjusted, and when the preset virtual image in the target image coincides with the preset target image, it is determined that the display angle of the preset virtual image in the target image matches the preset display angle.
[0014] In some embodiments, after the photographing device moves the target distance in the preset direction, obtaining the offset information of the display angle of the preset virtual image in the target image includes:
[0015] After the shooting device moves the target distance in the preset direction, adjusting the fixed angle of the near-eye display device on the fixing fixture so that the display angle of the preset virtual image in the target image is restored to the preset display angle;
[0016] The offset information is determined according to an angle difference between a second fixed angle of the near-eye display device on the fixing fixture after adjustment and a first fixed angle of the near-eye display device on the fixing fixture before adjustment.
[0017] In some embodiments, when the display angle meets the preset display angle, controlling the camera to move a target distance in a preset direction includes:
[0018] Controlling the photographing device to move in the preset direction toward a direction away from the near-eye display device, and controlling the photographing device to acquire a target image of the preset virtual image during the movement;
[0019] When the target image meets a preset condition, the target distance moved by the shooting device is obtained.
[0020] In some embodiments, when the target image satisfies a preset condition, obtaining the target distance moved by the shooting device includes:
[0021] Detecting image quality parameters of the target image;
[0022] In a case where the image quality parameter matches a preset image quality parameter, a target distance moved by the photographing device is acquired.
[0023] In some embodiments, the preset direction includes: a first preset direction and a second preset direction, the first preset direction is opposite to the second preset direction; the target distance includes: a first target distance corresponding to the first preset direction and a second target distance corresponding to the second preset direction, the offset information includes first offset information corresponding to the first preset direction and second offset information corresponding to the second preset direction, and determining the virtual image distance of the near-eye display device according to the target distance and the offset information includes:
[0024] Calculate a first virtual image distance according to the first target distance and the first offset information;
[0025] Calculate a second virtual image distance according to the second target distance and the second offset information;
[0026] The virtual image distance of the near-eye display device is determined according to an average value of the first virtual image distance and the second virtual image distance.
[0027] In some embodiments, determining the virtual image distance of the near-eye display device according to the average value of the first virtual image distance and the second virtual image distance includes:
[0028] The virtual image distance of the near-eye display device is calculated based on the following formula:
[0029]
[0030] Wherein, VID represents the virtual image distance, D L is the first target distance, θ L is the first offset information, D R is the second target distance, θ R is the second offset information.
[0031] In some embodiments, determining the virtual image distance of the near-eye display device according to the target distance and the offset information includes:
[0032] The virtual image distance is determined according to a ratio of the target distance to a sine value of the offset information.
[0033] In a second aspect, an embodiment of the present application provides a virtual image distance measuring device for a near-eye display device, wherein the virtual image distance measuring device for the near-eye display device comprises a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the virtual image distance measuring method for the near-eye display device as described in any one of the embodiments of the present application are implemented.
[0034] The embodiment of the present application provides a method and device for measuring the virtual image distance of a near-eye display device. The method for measuring the virtual image distance of the near-eye display device controls the near-eye display device to display a preset virtual image; controls a shooting device to obtain a target image of the preset virtual image, and adjusts the display angle of the preset virtual image in the target image so that the display angle meets the preset display angle; when the display angle meets the preset display angle, controls the shooting device to move the target distance in a preset direction; after the shooting device moves the target distance in the preset direction, obtains the offset information of the display angle of the preset virtual image in the target image; determines the virtual image distance of the near-eye display device according to the target distance and the offset information. Based on the geometric relationship, the virtual image distance of the near-eye display device is calculated according to the offset information of the target distance and the display angle. Since both the target distance and the offset information can be directly obtained through the fixture, the complexity of the virtual image distance measurement is reduced, and the test efficiency of the near-eye display device is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0036] Figure 1 A schematic flow chart of a method for measuring a virtual image distance of a near-eye display device provided in one embodiment of the present application;
[0037] Figure 2 A schematic diagram of an eye box of a near-eye display device provided in one embodiment of the present application;
[0038] Figure 3a A schematic diagram of a target image of a preset virtual image provided by an embodiment of the present application;
[0039] Figure 3b A schematic diagram of a target image of a preset virtual image provided by an embodiment of the present application;
[0040] Figure 4 A schematic diagram of a photographing device provided by an embodiment of the present application moving a target distance in a preset direction;
[0041] Figure 5a A schematic diagram of a target image of a preset virtual image provided by an embodiment of the present application;
[0042] Figure 5b A schematic diagram of a target image of a preset virtual image provided by an embodiment of the present application;
[0043] Figure 6Schematic diagram of the relationship between the virtual image distance, the target distance, and the set of offset information provided by an embodiment of the present application. Detailed implementation manners
[0044] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0045] The flowchart shown in the accompanying drawings is only an example illustration, and does not necessarily include all the content and operations / steps, nor does it necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, combined, or partially merged, so the actual execution order may change according to the actual situation.
[0046] The embodiments of the present application provide a method and a device for measuring the virtual image distance of a near-eye display device.
[0047] Next, some embodiments of the present application will be described in detail with reference to the accompanying drawings. Without conflict, the following embodiments and the features in the embodiments can be combined with each other.
[0048] Please refer to Figure 1 , Figure 1 , which is a schematic flowchart of a method for measuring the virtual image distance of a near-eye display device provided by an embodiment of the present application. The method for measuring the virtual image distance of the near-eye display device can be used in a terminal device to measure the virtual image distance of the near-eye display device. For example, the method for measuring the virtual image distance of the near-eye display device provided by the embodiments of the present application is stored in the processor of the terminal device in the form of a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, the steps of the method for measuring the virtual image distance of the near-eye display device as described in any one of the embodiments of the present application are implemented. Among them, the terminal can be an electronic device such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device.
[0049] As Figure 1 shown, the method for measuring the virtual image distance of the near-eye display device includes steps S101 to S105.
[0050] Step S101: Control the near-eye display device to display a preset virtual image.
[0051] Please refer to Figure 2 , Figure 2 , which is a schematic diagram of the eye box of a near-eye display device provided by an embodiment of the present application.
[0052] As Figure 2 As shown, the virtual image displayed by the near-eye display device is located at Figure 2 The origin of the coordinate system, the eyebox refers to a cone area between the near-eye display device and the eyeball. When the human eye is in the eyebox of the near-eye display device, the virtual image displayed by the near-eye display device can be clearly observed; when the human eye leaves the eyebox, the image observed will be distorted or even impossible to observe. The virtual image distance (VID) refers to the distance from the observer's eyes to the virtual image. The near-eye display device to be tested is controlled to display a preset virtual image so that the virtual image distance of the near-eye display device can be determined based on the preset virtual image.
[0053] Exemplarily, the near-eye display device includes an optical waveguide, and smart glasses, smart helmets, etc. that implement near-eye display through the optical waveguide, which are not limited here.
[0054] Step S102: Control the shooting device to obtain a target image of the preset virtual image, and adjust a display angle of the preset virtual image in the target image so that the display angle conforms to a preset display angle.
[0055] Exemplarily, the camera is controlled to obtain a target image of a preset virtual image in the eye box. Since the projection of the eye box on the plane where the camera is located is a rectangular area, the camera can be controlled to move to the center of the rectangular area and obtain the target image of the preset virtual image. Specifically, the center position of the rectangular area can be determined by scanning on the side of the near-eye display device away from the virtual image.
[0056] In some embodiments, the camera includes an imaging luminance meter.
[0057] For example, since an imaging luminance meter has higher resolution and contrast than an ordinary visible light shooting device, obtaining a target image of a preset virtual image through an imaging luminance meter can better simulate the virtual image seen by the human eye in the eye box, thereby improving the accuracy of virtual image distance measurement.
[0058] In some embodiments, the near-eye display device is disposed on a fixed fixture, and the near-eye display device is disposed on a fixed fixture, and the adjusting the display angle of the preset virtual image in the target image so that the display angle conforms to the preset display angle includes:
[0059] The fixing angle of the near-eye display device on the fixing fixture is adjusted so that the display angle of the preset virtual image in the target image matches the preset display angle.
[0060] Exemplarily, the display angle of a preset virtual image displayed by the near-eye display device in the target image is related to the relative position between the near-eye display device and the shooting device. The fixed angle of the near-eye display device is adjusted by a fixed fixture so that the display angle of the preset virtual image in the target image is a preset display angle, for example, a horizontal angle, to facilitate subsequent measurement of the offset information of the display angle of the preset virtual image in the target image.
[0061] In some embodiments, adjusting the fixed angle of the near-eye display device on the fixed fixture so that the display angle of the preset virtual image in the target image matches the preset display angle includes:
[0062] The fixing angle of the near-eye display device on the fixing fixture is adjusted, and when the preset virtual image in the target image coincides with the preset target image, it is determined that the display angle of the preset virtual image in the target image matches the preset display angle.
[0063] Please refer to Figure 3a , Figure 3b , Figure 3a A schematic diagram of a target image of a preset virtual image provided by an embodiment of the present application; Figure 3b A schematic diagram of a target image of a preset virtual image provided by an embodiment of the present application.
[0064] For example, in order to facilitate the observation of the display angle of the preset virtual image in the target image, the preset virtual image may be as follows: Figure 3a , Figure 3b The crosshair cursor is shown. Figure 3a As shown, there is a certain deflection angle between the cross cursor displayed by the near-eye display device and the center of the optical axis target surface of the shooting device. The fixing fixture used to set the near-eye display device is adjusted so that the cross cursor corresponds to the preset target image of the optical axis target surface of the shooting device, such as Figure 3b As shown, the display angle of the cross cursor is a horizontal angle.
[0065] Step S103: When the display angle meets the preset display angle, control the photographing device to move a target distance in a preset direction.
[0066] Please refer to Figure 4 , Figure 4 A schematic diagram of a photographing device provided by an embodiment of the present application moving a target distance in a preset direction.
[0067] like Figure 4As shown, the camera moves from the first position to the second position by a target distance D. At this time, the first position, the second position and the position of the preset virtual image form a right triangle, and the target distance D and the virtual image distance VID are the right angles of the right triangle, respectively. The size of the virtual image distance VID needs to be calculated according to the target distance D and θ. Therefore, to obtain the target distance of the camera, specifically, the camera can be set on a positioning jig, and the camera can be moved by the positioning jig and the target distance of the movement can be recorded. Of course, it is not limited to this and is not limited here.
[0068] In some embodiments, when the display angle meets the preset display angle, controlling the camera to move a target distance in a preset direction includes:
[0069] Controlling the photographing device to move in the preset direction toward a direction away from the near-eye display device, and controlling the photographing device to acquire a target image of the preset virtual image during the movement;
[0070] When the target image meets a preset condition, the target distance moved by the shooting device is obtained.
[0071] It is understandable that in the process of measuring the virtual image distance of the near-eye display device, the camera needs to obtain the target image of the preset virtual image, so the camera can only move within the eye box of the near-eye display device. However, since the eye box of the near-eye display device is small, the target distance moved by the camera is also small, resulting in a certain error in the measurement of the target distance. Within the range allowed by the eye box size, the target distance needs to be as large as possible. Therefore, the distance from the camera to the boundary of the eye box projection plane is taken as the target distance, that is, Figure 4 The second position in is on the boundary of the eye box projection plane
[0072] Exemplarily, since the preset virtual image in the target image will change when the camera is located at the boundary of the eye box projection plane, such as blurring, distortion, and deformation, in order to determine whether the camera has moved to the boundary of the eye box projection plane, it is possible to determine whether the camera has reached the boundary of the eye box projection plane based on the target image of the preset virtual image, and when the camera reaches the boundary of the eye box projection plane, the moving distance of the camera is used as the target distance.
[0073] In some implementations, when the target image satisfies a preset condition, obtaining the target distance moved by the photographing device includes:
[0074] Detecting image quality parameters of the target image;
[0075] In a case where the image quality parameter matches a preset image quality parameter, a target distance moved by the photographing device is acquired.
[0076] Exemplarily, since the image quality of the target image will decrease when the imaging device is located at the boundary of the eye box projection plane, it is possible to determine whether the imaging device reaches the boundary of the eye box projection plane according to the image quality parameter of the target image.
[0077] Please refer to Figure 5a 、 Figure 5b , Figure 5a which is a schematic diagram of a target image of a preset virtual image provided by an embodiment of the present application; Figure 5b which is a schematic diagram of a target image of a preset virtual image provided by an embodiment of the present application.
[0078] Exemplarily, in order to improve the recognition rate of the target image, during the execution of step S103, it is possible to control the near-eye display device to display a preset virtual image in pure white, as shown in Figure 5a 、 Figure 5b . Among them, the target image of the preset virtual image when the imaging device is located inside the eye box is as shown in Figure 5a , and the target image of the preset virtual image when the imaging device is located inside the eye box is as shown in Figure 5b . It can be understood that the image quality of the target image decreases when the imaging device moves to the boundary of the eye box projection plane. Therefore, it is possible to determine whether the imaging device moves to the boundary of the eye box projection plane through the image quality parameter of the target image. Specifically, the image quality parameter can be, for example, the edge detection result of the target image. For the virtual image captured inside the eye box, the edge detection result will be clearer and more complete, and the number and intensity of the edges are relatively high; while for the virtual image captured at the boundary of the eye box projection plane, the edge detection result may be blurred, broken or missing, etc. Of course, it is not limited to this. The image quality parameter can also be indicators such as the Peak Signal-to-Noise Ratio (PSNR) and the Structural Similarity Index (SSIM) of the target image, which are not limited herein.
[0079] Step S104: After the imaging device moves the target distance in the preset direction, obtain the offset information of the display angle of the preset virtual image in the target image.
[0080] Exemplarily, since the light output by the near-eye display device to the human eye is parallel light, during the movement of the imaging device, the position of the preset virtual image will not change, but the display angle of the preset virtual image will change with the movement of the imaging device. Moreover, the angle θ between the second position and the first position with the preset virtual image as the vertex is equal to the offset of the display angle of the preset virtual image in the target image. Therefore, obtain the offset information of the display angle of the preset virtual image in the target image for subsequent calculation of the virtual image distance according to the offset information.
[0081] In some embodiments, after the photographing device moves the target distance in the preset direction, obtaining the offset information of the display angle of the preset virtual image in the target image includes:
[0082] After the shooting device moves the target distance in the preset direction, adjusting the fixed angle of the near-eye display device on the fixing fixture so that the display angle of the preset virtual image in the target image is restored to the preset display angle;
[0083] The offset information is determined according to an angle difference between a second fixed angle of the near-eye display device on the fixing fixture after adjustment and a first fixed angle of the near-eye display device on the fixing fixture before adjustment.
[0084] Exemplarily, after the display angle of the preset virtual image in the target image is adjusted in step S102, the display angle of the preset virtual image in the target image is the preset display angle, for example Figure 3b The cross cursor shown in FIG. 1 is a cross cursor, and after the shooting device moves the target distance, the display angle of the preset virtual image in the target image is deflected, for example Figure 3a In order to obtain the deflection amount of the display angle of the preset virtual image in the target image, the fixed angle of the near-eye display device can be adjusted by a fixed fixture to restore the display angle of the preset virtual image in the target image to the preset display angle, for example, Figure 3a Adjust again to Figure 3b The direction in the middle can obtain the offset information of the display angle according to the adjustment angle of the fixed fixture.
[0085] Step S105 : determining a virtual image distance of the near-eye display device according to the target distance and the offset information.
[0086] Exemplarily, since the first position, the second position and the position where the preset virtual image is located constitute the following Figure 4 For the right triangle shown, the virtual image distance VID can be calculated according to the target distance D and the size of the inner angle θ, and the size of the inner angle θ is equal to the offset information obtained in step S104.
[0087] In some embodiments, determining the virtual image distance of the near-eye display device according to the target distance and the offset information includes:
[0088] The virtual image distance is determined according to a ratio of the target distance to a sine value of the offset information.
[0089] like Figure 4As shown, the virtual image distance VID can be determined according to the ratio of the target distance D and the sine value of the internal angle θ, and the internal angle θ is equal to the offset information obtained in step S104, that is, VID=D / tan(θ).
[0090] In some embodiments, the preset direction includes: a first preset direction and a second preset direction, the first preset direction is opposite to the second preset direction; the target distance includes: a first target distance corresponding to the first preset direction and a second target distance corresponding to the second preset direction, the offset information includes first offset information corresponding to the first preset direction and second offset information corresponding to the second preset direction, and determining the virtual image distance of the near-eye display device according to the target distance and the offset information includes:
[0091] Calculate a first virtual image distance according to the first target distance and the first offset information;
[0092] Calculate a second virtual image distance according to the second target distance and the second offset information;
[0093] The virtual image distance of the near-eye display device is determined according to an average value of the first virtual image distance and the second virtual image distance.
[0094] For example, in order to improve the accuracy of virtual image distance measurement, the camera device can be moved in different directions, and the virtual image distances measured by moving the camera device in different directions can be calculated, so that the average of multiple measurements can be used as the virtual image distance of the near-eye display device, thereby reducing the error of virtual image distance measurement.
[0095] Exemplarily, the number of preset directions may be two or more, for example, there may also be a third preset direction and a third target distance and a third offset information corresponding to the third preset direction, which is not limited here.
[0096] Exemplarily, the first preset direction and the second preset direction are opposite directions, for example, opposite directions in the horizontal direction, that is, the x-direction and the x+direction.
[0097] Please refer to Figure 6 , Figure 6 A schematic diagram of the relationship between the virtual image distance, target distance, and offset information set provided in one embodiment of the present application.
[0098] like Figure 6 As shown, in some embodiments, determining the virtual image distance of the near-eye display device according to the average value of the first virtual image distance and the second virtual image distance includes:
[0099] The virtual image distance of the near-eye display device is calculated based on the following formula:
[0100]
[0101] Wherein, VID represents the virtual image distance, D L is the first target distance, θ L is the first offset information, D R is the second target distance, θ R is the second offset information.
[0102] Exemplarily, the camera is controlled to move a first target distance D in a first preset direction x-direction. L , and record the first offset information θ corresponding to the first target distance L ; Control the shooting device to move the first target distance D in the first preset direction x+ direction R , and record the first offset information θ corresponding to the first target distance R The virtual image distance of the near-eye display device is determined by the average value of the first virtual image distance and the second virtual image distance, thereby reducing the measurement error of the virtual image distance.
[0103] The embodiment of the present application provides a method for measuring the virtual image distance of a near-eye display device, which controls the near-eye display device to display a preset virtual image; controls a shooting device to obtain a target image of the preset virtual image, and adjusts the display angle of the preset virtual image in the target image so that the display angle meets the preset display angle; when the display angle meets the preset display angle, controls the shooting device to move the target distance in a preset direction; after the shooting device moves the target distance in the preset direction, obtains the offset information of the display angle of the preset virtual image in the target image; and determines the virtual image distance of the near-eye display device according to the target distance and the offset information. Based on the geometric relationship, the virtual image distance of the near-eye display device is calculated according to the offset information of the target distance and the display angle. Since both the target distance and the offset information can be directly obtained through the fixture, the complexity of the virtual image distance measurement is reduced, and the test efficiency of the near-eye display device is improved.
[0104] Specifically, the camera can be placed on a positioning jig, and the positioning jig is used to record the target distance of the camera; the near-eye display device can be placed on a fixed jig, and the offset information of the display angle of the preset virtual image in the target image can be recorded through the fixed jig. In this way, the virtual image distance of the near-eye display device can be calculated by only reading the readings of the positioning jig and the fixed jig, which reduces the complexity of the virtual image distance measurement.
[0105] An embodiment of the present application also provides a virtual image distance measuring device for a near-eye display device, wherein the virtual image distance measuring device for the near-eye display device comprises a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the virtual image distance measuring method for the near-eye display device as described in any one of the embodiments of the present application are implemented.
[0106] Exemplarily, the virtual image distance measuring device further includes: a shooting device, an alignment jig, and a fixing jig. The shooting device is arranged on the alignment jig, the alignment jig is used to move the shooting device in a preset direction and record the corresponding moving distance, the fixing jig is used to install the near-eye display device to be tested, and the shooting device is used to obtain a target image of a preset virtual image formed by the near-eye display device to be tested.
[0107] Exemplarily, the photographing device is an imaging luminance meter.
[0108] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0109] It should also be understood that the term "and / or" used in the specification of this application and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0110] The serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for measuring the virtual image distance of a near-eye display device, characterized in that: The method comprises: Controlling a near-eye display device to display a preset virtual image; Controlling the shooting device to obtain a target image of the preset virtual image, and adjusting a display angle of the preset virtual image in the target image so that the display angle conforms to a preset display angle; When the display angle meets the preset display angle, controlling the photographing device to move a target distance in a preset direction; After the photographing device moves the target distance in the preset direction, obtaining offset information of a display angle of the preset virtual image in the target image; A virtual image distance of the near-eye display device is determined according to the target distance and the offset information.
2. The method for measuring the virtual image distance of a near-eye display device according to claim 1, characterized in that: The near-eye display device is disposed on a fixed fixture, and the adjusting the display angle of the preset virtual image in the target image so that the display angle conforms to the preset display angle includes: The fixing angle of the near-eye display device on the fixing fixture is adjusted so that the display angle of the preset virtual image in the target image matches the preset display angle.
3. The method for measuring the virtual image distance of a near-eye display device according to claim 2, characterized in that: The step of adjusting the fixed angle of the near-eye display device on the fixed fixture so that the display angle of the preset virtual image in the target image matches the preset display angle includes: The fixing angle of the near-eye display device on the fixing fixture is adjusted, and when the preset virtual image in the target image coincides with the preset target image, it is determined that the display angle of the preset virtual image in the target image matches the preset display angle.
4. The method for measuring the virtual image distance of a near-eye display device according to claim 2, characterized in that: After the shooting device moves the target distance in the preset direction, obtaining the offset information of the display angle of the preset virtual image in the target image includes: After the shooting device moves the target distance in the preset direction, adjusting the fixed angle of the near-eye display device on the fixing fixture so that the display angle of the preset virtual image in the target image is restored to the preset display angle; The offset information is determined according to an angle difference between a second fixed angle of the near-eye display device on the fixing fixture after adjustment and a first fixed angle of the near-eye display device on the fixing fixture before adjustment.
5. The method for measuring the virtual image distance of a near-eye display device according to claim 1, characterized in that: When the display angle meets the preset display angle, controlling the shooting device to move a target distance in a preset direction includes: Controlling the photographing device to move in the preset direction toward a direction away from the near-eye display device, and controlling the photographing device to acquire a target image of the preset virtual image during the movement; When the target image meets a preset condition, the target distance moved by the shooting device is obtained.
6. The method for measuring the virtual image distance of a near-eye display device according to claim 5, characterized in that: The step of obtaining the target distance moved by the shooting device when the target image meets a preset condition includes: Detecting image quality parameters of the target image; In a case where the image quality parameter matches a preset image quality parameter, a target distance moved by the photographing device is acquired.
7. The method for measuring the virtual image distance of a near-eye display device according to claim 1, characterized in that: The preset direction includes: a first preset direction and a second preset direction, the first preset direction is opposite to the second preset direction; the target distance includes: a first target distance corresponding to the first preset direction and a second target distance corresponding to the second preset direction, the offset information includes first offset information corresponding to the first preset direction and second offset information corresponding to the second preset direction, and determining the virtual image distance of the near-eye display device according to the target distance and the offset information includes: Calculate a first virtual image distance according to the first target distance and the first offset information; Calculate a second virtual image distance according to the second target distance and the second offset information; The virtual image distance of the near-eye display device is determined according to an average value of the first virtual image distance and the second virtual image distance.
8. The method for measuring the virtual image distance of a near-eye display device according to claim 7, characterized in that: The determining the virtual image distance of the near-eye display device according to the average value of the first virtual image distance and the second virtual image distance comprises: The virtual image distance of the near-eye display device is calculated based on the following formula: Wherein, VID represents the virtual image distance, D L is the first target distance, θ L is the first offset information, D R is the second target distance, θ R is the second offset information.
9. The method for measuring the virtual image distance of a near-eye display device according to claim 1, characterized in that: The determining the virtual image distance of the near-eye display device according to the target distance and the offset information includes: The virtual image distance is determined according to a ratio of the target distance to a sine value of the offset information.
10. A virtual image distance measuring device for a near-eye display device, characterized in that: The virtual image distance measuring device of the near-eye display device comprises a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the virtual image distance measuring method of the near-eye display device as described in any one of claims 1 to 9 are implemented.