Image display method and device, electronic equipment and storage medium
By communicating with the eye recognition device to obtain interpupillary distance information and adjusting the pixel allocation method, it solves the image crosstalk problem caused by mismatched interpupillary distance in naked-eye 3D HUD, ensuring improved user experience and the stability of 3D effects.
Patent Information
- Application Number
- CN202410880165.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-29
AI Technical Summary
In the optical path design of naked-eye 3D HUD, users whose interpupillary distance does not meet the design benchmark may experience image crosstalk and fail to integrate the 3D effect, resulting in poor user experience.
Through communication and connection with the eye recognition device, the target object's eye position information is obtained, its interpupillary distance is determined, and the pixel allocation method of the display screen is adjusted according to the interpupillary distance difference, so that the displayed light is split by the spectroscopic element to form an appropriate left eye virtual image and The right eye virtual image ensures that users with different interpupillary distances can see the ideal 3D effect.
It enables users with different interpupillary distances to view ideal three-dimensional images, which improves the user's sense of immersion, maintains the quality of the 3D experience when the interpupillary distance changes, and avoids image crosstalk.
Smart Images

Figure CN118859533A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of head-up display technology, and in particular to an image display method, device, electronic device and storage medium. Background Art
[0002] Naked-eye 3D (3-dimension) display technology refers to a 3D display technology that allows users to directly watch 3D images with their naked eyes without wearing special 3D glasses, presenting a 3D effect. For example, by setting a slit grating or a cylindrical grating in front of the display screen, the light emitted by the display screen is split by the slit grating or the cylindrical grating, and then refracted by the imaging structure to enter the driver's left and right eyes respectively. The driver's left and right eyes see different images, forming binocular parallax, and synthesizing a three-dimensional picture with a sense of depth in the user's brain to achieve a 3D viewing experience.
[0003] In the optical path design of naked-eye 3D HUD (Head Up Display), a certain pupil distance value is usually used as a design benchmark for design, and light is evenly distributed to the user's left and right eyes, so that users with pupil distance equal to this pupil distance value can watch a very comfortable 3D effect image. However, when users with pupil distance greater than or less than this pupil distance value watch the same 3D effect image through the imaging structure, the user's left eye may see the image intended for the right eye, or the right eye may see the image intended for the left eye, resulting in crosstalk between the images seen by the user's left eye and right eye, resulting in poor user experience and the inability to integrate the 3D effect. Summary of the invention
[0004] In order to solve the problems of the prior art, the embodiments of the present application provide an image display method, device, electronic device and storage medium. The technical solution is as follows:
[0005] In one aspect, an image display method is provided, which is applied to a head-up display device, wherein the head-up display device is communicatively connected to an eye recognition device, and the head-up display device includes a display screen and a light splitting element; the method includes:
[0006] Acquire eye position information of the target object sent by the eye recognition device;
[0007] Determine the pupil distance of the target object and the eye box partition where the eyes of the target object are located based on the eye position information to obtain a target eye box partition;
[0008] Determining whether the pupil distance of the target object meets the standard pupil distance;
[0009] In the case where the result of the judgment is no, based on the difference between the pupil distance of the target object and the standard pupil distance, the preset pixel allocation method corresponding to the target eye box partition is adjusted to obtain a target pixel allocation method; the display screen is provided with display units distributed in an array, each of the display units corresponding to a sub-pixel in the image to be displayed; the preset pixel allocation method is set based on the standard pupil distance, indicating the corresponding relationship between the display unit and the sub-pixel of the image to be displayed;
[0010] The image to be displayed is displayed based on the target pixel allocation method, so that the light emitted from the display screen forms a left-eye virtual image and a right-eye virtual image after being split by the light splitting element.
[0011] On the other hand, an image display device is provided, which is applied to a head-up display device, wherein the head-up display device is communicatively connected to an eye recognition device, and the head-up display device includes a display screen and a light splitting element; the device includes:
[0012] A position acquisition module, used to acquire the eye position information of the target object sent by the eye recognition device;
[0013] An information determination module, configured to determine the pupil distance of the target object and the eye box partition where the eyes of the target object are located based on the eye position information, to obtain a target eye box partition;
[0014] A pupil distance determination module, used to determine whether the pupil distance of the target object meets the standard pupil distance;
[0015] A pixel allocation module, for adjusting the preset pixel allocation mode corresponding to the target eye box partition based on the difference between the pupil distance of the target object and the standard pupil distance to obtain a target pixel allocation mode when the result of the judgment is no; the display screen is provided with display units distributed in an array, each of the display units corresponding to a sub-pixel in the image to be displayed; the preset pixel allocation mode is set based on the standard pupil distance, indicating the corresponding relationship between the display unit and the sub-pixel of the image to be displayed;
[0016] The first image display module is used to display the image to be displayed based on the target pixel allocation method, so that the light emitted by the display screen forms a left-eye virtual image and a right-eye virtual image after being split by the light splitting element.
[0017] In an exemplary embodiment, the pixel allocation module includes:
[0018] A first pixel adjustment module, configured to adjust a preset pixel allocation method corresponding to the target eye box partition based on a difference between the pupil distance of the target object and the standard pupil distance, to obtain an adjusted pixel allocation method;
[0019] The pixel fusion module is used to fuse the preset pixel allocation mode with the adjusted pixel allocation mode to obtain the target pixel allocation mode.
[0020] In an exemplary embodiment, the preset pixel allocation mode further indicates brightness information of each of the display units; the preset pixel allocation mode corresponding to the eye box partition is formed by merging the initial pixel allocation mode corresponding to the eye box partition and the initial pixel allocation mode corresponding to the adjacent eye box partition of the eye box partition; the pixel fusion module includes:
[0021] A pixel superposition module, used for superimposing the preset pixel allocation mode with the adjusted pixel allocation mode to obtain a pixel allocation mode to be processed;
[0022] A unit determination module, used to determine, in the pixel allocation mode to be processed, a display unit between a fusion boundary in the preset pixel allocation mode and a fusion boundary in the adjusted pixel allocation mode, to obtain a display unit to be identified;
[0023] a target determination module, for each of the display units to be identified, when the brightness information of the display unit to be identified matches the target brightness information in the pixel allocation mode to be processed, determining that the display unit is a target display unit; the fusion boundary is a boundary between an initial pixel allocation mode corresponding to the eye box partition and an initial pixel allocation mode corresponding to an adjacent eye box partition of the eye box partition in the preset pixel allocation mode corresponding to the eye box partition;
[0024] A boundary fitting module, used for fitting the plurality of target display units to obtain a target fusion boundary;
[0025] The boundary coincidence module is used to adjust the preset pixel allocation mode until the fusion boundary in the preset pixel allocation mode coincides with the target fusion boundary to obtain the target pixel allocation mode.
[0026] In an exemplary embodiment, the fusion boundary is determined based on the brightness information of the display unit indicated by the initial pixel allocation method; the device also includes a target brightness module for determining target brightness information, and the target brightness module includes:
[0027] A brightness determination module, used to determine the brightness information of the display unit corresponding to the fusion boundary in the preset pixel allocation method, and obtain first brightness information;
[0028] and determining brightness information of a display unit corresponding to a fusion boundary in the adjusted pixel allocation method to obtain second brightness information;
[0029] The brightness evaluation module is used to calculate an average value based on the first brightness information and the second brightness information to obtain the target brightness information.
[0030] In an exemplary embodiment, the pixel allocation module includes:
[0031] A parameter acquisition module, used for sending the difference between the pupil distance of the target object and the standard pupil distance to the user terminal, so that the user terminal returns the adjustment parameters for the preset pixel allocation method;
[0032] The second pixel adjustment module is used to adjust the preset pixel allocation method based on the adjustment parameter to obtain the target pixel allocation method.
[0033] In an exemplary embodiment, the second pixel adjustment module includes:
[0034] A third pixel adjustment module, used to adjust the preset pixel allocation method based on the adjustment parameter to obtain a pixel allocation method to be confirmed;
[0035] A second image display module, configured to display the image to be displayed based on the pixel allocation method to be confirmed, so that the light emitted from the display screen forms a left-eye virtual image and a right-eye virtual image after being split by the light splitting element;
[0036] a clarity confirmation module, configured to send a virtual image clarity confirmation request to the user terminal, so that the user terminal returns a confirmation result of the virtual image clarity confirmation request; the confirmation result indicates whether the left eye virtual image and the right eye virtual image are clear; if the confirmation result indicates that the left eye virtual image and the right eye virtual image are not clear, the confirmation result further indicates a readjustment parameter for the pixel allocation method to be confirmed;
[0037] A fourth pixel adjustment module is used to adjust the pixel allocation method to be confirmed based on the readjustment parameter when the confirmation result indicates that the left eye virtual image and the right eye virtual image are not clear, display the image to be displayed based on the adjusted pixel allocation method to be confirmed, and update the confirmation result until the updated confirmation result indicates that the left eye virtual image and the right eye virtual image are clear, and then determine the adjusted pixel allocation method to be confirmed as the target pixel allocation method.
[0038] In an exemplary embodiment, the information determination module includes:
[0039] The pupil distance determination module is used to determine the distance between the eyes of the target object in the horizontal direction based on the eye position information to obtain the pupil distance of the target object.
[0040] On the other hand, an electronic device is provided, including a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the image display method of any of the above aspects.
[0041] On the other hand, a computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement an image display method as described in any of the above aspects.
[0042] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the image display method of any of the above aspects.
[0043] The embodiment of the present application obtains the eye position information of the target object sent by the eye recognition device by communicating with the eye recognition device; determines the pupil distance of the target object and the eye box partition where the eye of the target object is located based on the eye position information to obtain the target eye box partition; when the pupil distance of the target object does not meet the standard pupil distance, adjusts the preset pixel allocation method corresponding to the target eye box partition based on the difference between the pupil distance of the target object and the standard pupil distance to obtain the target pixel allocation method; the display screen is provided with display units distributed in an array, and each display unit corresponds to a sub-pixel in the image to be displayed; the preset pixel allocation method is set based on the standard pupil distance, indicating the corresponding relationship between the display unit and the sub-pixel of the image to be displayed; and the image to be displayed is displayed based on the target pixel allocation method, so that the light emitted by the display screen forms a left eye virtual image and a right eye virtual image after being split by a splitting element. By obtaining the pupil distance of the target object in real time and adjusting the pixel allocation method in real time, the adjusted target pixel allocation method matches the pupil distance of the target object, ensuring that users with different pupil distances can view the three-dimensional effect image in an ideal state. Even if the user's pupil distance changes with the movement of the head during the viewing process, there is no need to worry about the decline in the quality of the 3D experience. It achieves adaptation with changes in pupil distance and enhances the user's sense of immersion. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in 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 only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0045] Figure 1 is a schematic diagram of an application environment of a head-up display device provided in an embodiment of the present application;
[0046] Figure 2 is a schematic diagram of the principle of a head-up display device provided in an embodiment of the present application;
[0047] Figure 3 It is a schematic diagram of the principle of naked-eye 3D provided by an embodiment of the present application;
[0048] Figure 4 It is an illumination diagram, a waveform diagram and a brightness diagram of a simulated optical system provided in an embodiment of the present application;
[0049] Figure 5 It is a schematic diagram of pupil distance provided in an embodiment of the present application;
[0050] Figure 6 is a schematic diagram of a virtual image seen when the pupil distance of a user is equal to the standard pupil distance provided in an embodiment of the present application;
[0051] Figure 7 is a schematic diagram of a processing method of a first pixel allocation mode provided in an embodiment of the present application;
[0052] Figure 8 is a schematic diagram of a processing method of a second pixel allocation mode provided in an embodiment of the present application;
[0053] Fig. 9 is a schematic diagram of a pixel distribution state provided in an embodiment of the present application;
[0054] Fig.10 is a schematic diagram of a processing method of a third pixel allocation mode provided in an embodiment of the present application;
[0055] Fig.11 This is a schematic diagram of a virtual image seen when the pupil distance of a user is greater than the standard pupil distance provided by an embodiment of the present application;
[0056] Fig.12 is a schematic diagram of a virtual image under a non-ideal state provided by an embodiment of the present application;
[0057] Fig.13 It is a schematic diagram of an implementation environment of an image display method provided in an embodiment of the present application;
[0058] Fig.14 It is a flowchart of an image display method provided in an embodiment of the present application;
[0059] Fig.15 is another schematic diagram of pupil distance provided in an embodiment of the present application;
[0060] Fig.16is a schematic diagram of an adjusted pixel allocation method provided in an embodiment of the present application;
[0061] Fig.17 is a schematic diagram of determining a target fusion boundary provided in an embodiment of the present application;
[0062] Fig.18 is a schematic diagram of a first method for determining target pixel allocation provided by an embodiment of the present application;
[0063] Fig.19 is a schematic diagram of a second method for determining target pixel allocation provided in an embodiment of the present application;
[0064] Fig. 20 is a schematic diagram of a third method for determining target pixel allocation provided in an embodiment of the present application;
[0065] Fig.21 is a structural block diagram of an image display device provided in an embodiment of the present application;
[0066] Fig. 22 It is a hardware structure block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0067] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0068] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0069] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0070] See also Figure 1 , which shows a schematic diagram of the application environment of a head-up display device provided by an embodiment of the present application. The head-up display device can be used in automobiles as a driving assistance instrument, and can also be applied to other vehicles, such as airplanes, high-speed railways, etc. The following will take the vehicle-mounted HUD as an example to introduce the technical solution of the present application. Through the image display method of the embodiment of the present application, the HUD can clearly and accurately project the vehicle speed, navigation information, warning information, etc. in the form of images and characters through optical components in front of the driver, forming a virtual image with a three-dimensional effect in front of the driver's line of sight, and has a good imaging effect.
[0071] See also Figure 2 , which is a schematic diagram of the principle of a head-up display device provided by an embodiment of the present application. The 3DHUD includes an image generation unit, a cylindrical lens grating (or a slit grating) attached to the image generation unit, and a reflector assembly. The image generation unit is composed of an LCD (Liquid Crystal Display) and a backlight. The reflector assembly may include multiple reflectors, such as Figure 2 As shown, the figure includes a reflector 1 and a reflector 2, wherein the reflector 1 may be a plane mirror or a free-surface curved mirror, and the reflector 2 may be a free-surface curved mirror. When implementing 3D HUD, the outgoing light of the image generation unit is limited by the cylindrical grating (or slit grating), and the outgoing angles are different to achieve light splitting; the light emitted by the cylindrical grating (or slit grating) is refracted by the reflector assembly and the windshield of the vehicle in turn, and then enters the left eye and the right eye of the user respectively, and the images seen by the left eye and the right eye of the user are different.
[0072] See also Figure 3 , which is a schematic diagram of the principle of a naked-eye 3D provided by an embodiment of the present application. By optically designing the HUD, the user's left eye sees image P1 and the right eye sees image P2. Image P1 and image P2 can be synthesized into a three-dimensional picture with a sense of depth in the user's brain; by changing the position between the two images and adjusting the binocular parallax, the virtual image distance subjectively felt by the user can change (in fact, the virtual image distance remains unchanged). The closer the two images are, the closer the virtual image distance subjectively felt by the user; conversely, the farther the two images are, the farther the virtual image distance subjectively felt by the user.
[0073] See also Figure 4, which shows an illumination diagram, waveform diagram and brightness diagram of a simulated optical system provided by an embodiment of the present application, and uses LightTools software for simulation design. Specifically, different pixel widths are designed, the cylindrical grating and display screen thickness are set, and the cylindrical surface type is optimized, and finally the required eye point spacing and pupil distance numerical results can be obtained. In the specific implementation, a complete set of optical systems formed by simulation analysis is formed using a series of optical parameters (such as: eye box range 130*50, field of view angle 13*5°, display screen thickness, etc.) and optical devices (such as curved mirrors, plane mirrors, etc.), and the imaging design of the HUD is determined. The grating is then designed such as selection, surface shape, thickness, etc., and finally the required eye box partitions are obtained. In other words, the number of partitions that an eye box can be divided into has determined the distribution state of each beam of light in the eye box. From the figure, it can be seen that the eye point distance is approximately 129.911mm, which is basically the same as the standard pupil distance of 65mm (65mm is used as the standard pupil distance in this application, and other pupil distance values can be used as the standard pupil distance in specific implementation). The simulation result is the state that the user can see through the imaging structure reflected to the user's eyes in the eye box. If a cylindrical lens covers 6 sub-pixels, there are 3 eye points on the picture, representing the left eye, the right eye, and the left eye, respectively. The left eye is the 3 sub-pixels in the black part that are not lit, and the right eye is the 3 sub-pixels in the red part that are lit. Through the simulation result, the required eye point distance can be obtained by directly subtracting the distance between the two eye points.
[0074] See also Figure 5 , which shows a schematic diagram of pupil distance provided by an embodiment of the present application. If the standard pupil distance is 65mm, the left and right eyes are at two eye point positions in the above eye box (one is in the middle of the dark area, and the other is in the middle of the bright area), and the left and right eye boundaries are complementary, the left eye (no stripes) represents the virtual image that can be seen when the pixel is not lit, and the right eye (with stripes) represents the virtual image that can be seen when the pixel is lit. Please continue to refer to Figure 6 , which is a schematic diagram of the virtual image seen when the user's pupil distance is equal to the standard pupil distance provided in the embodiment of the present application. If the HUD is designed based on the user's left and right eye pupil distance of 65 mm, the left eye just sees the image P1 intended for the left eye, and the right eye just sees the image P2 intended for the right eye.
[0075] See also Figure 7, which is a schematic diagram of a processing method for the first pixel allocation method provided in an embodiment of the present application. Assuming that the eye box is divided into 8 sub-areas, e1 to e8, the virtual images shown in states 1, 2, 3, and 4 are as follows: for e3, an actual performance picture of the sub-pixel allocation state is taken at e3, and an actual performance picture of the sub-pixel allocation state is taken at its adjacent e1, e2, and e4. These four virtual images are fused and converted to the coordinate system of the display screen as the virtual image seen at e3, to obtain the visible area corresponding to e3 in the display screen; display units distributed in an array are provided in the visible area, and each of the display units corresponds to displaying a sub-pixel in the image to be displayed, and the obtained pixel allocation method is used as the preset pixel allocation method corresponding to e3. Please continue to refer to Figure 8 , which is a schematic diagram of a processing method of the second pixel allocation method provided by an embodiment of the present application, superimposing the virtual image shown in state 1 with the virtual image shown in state 2, determining the fusion boundary, superimposing the virtual image shown in state 2 with the virtual image shown in state 3, determining the fusion boundary, superimposing the virtual image shown in state 3 with the virtual image shown in state 4, determining the fusion boundary, and obtaining the above-mentioned images P1 and P2, that is, the eye point positions of images P1 and P2 correspond to the preset pixel allocation methods of the eye box partitions respectively. Similarly, the preset pixel allocation methods corresponding to other eye box partitions can be obtained, and the preset pixel allocation methods of the eye box partitions corresponding to the respective eye point positions are displayed.
[0076] See also Fig. 9 , which is a schematic diagram of a pixel distribution state provided by an embodiment of the present application, wherein: Figure 9-1 is the pixel distribution state corresponding to the virtual image shown in the above state 3, Figure 9-2 This is the pixel distribution state corresponding to the virtual image shown in state 4 above. If a cylindrical lens covers 8 sub-pixels, 4 sub-pixels L correspond to the image viewed by the left eye, and the other 4 sub-pixels R correspond to the image viewed by the right eye. The eye box is divided into 8 viewing areas. This arrangement is when the grating is tilted relative to the display screen. Please continue to refer to Fig.10 , which is a schematic diagram of a processing method of the third pixel allocation method provided in an embodiment of the present application, and is a pixel distribution corresponding to the standard pupil distance in the display screen, specifically a pixel distribution state obtained by combining state 3 and state 4. When the user's pupil distance is exactly the standard pupil distance, the pixels seen by the left and right eyes can complement each other. Under the standard pupil distance of 65mm, when the user views the virtual image, two images are given to the left and right eyes of the user, the left eye just sees the image that is intended for the left eye, and the right eye just sees the image that is intended for the right eye, and the two images are two images with parallax.
[0077] See also Fig.11, which is a schematic diagram of the virtual image seen by the user when the pupil distance is greater than the standard pupil distance provided by the embodiment of the present application. When the user's pupil distance is greater than the pupil distance of 65mm, if the left eye observes the eye point position unchanged, and the pupil distance changes from 65mm to 70mm, the left eye may be able to see the image intended for the left eye, but the image seen by the right eye will have crosstalk, such as image P2'. Please continue to refer to Fig.12 , which is a schematic diagram of a virtual image under a non-ideal state provided by an embodiment of the present application. If the user's eyes are translated left and right, the fusion boundary is also translated left and right, and the change in pupil distance is equivalent to moving left or right on the basis of the original right eye, which is equivalent to moving to R' on the basis of R; the fusion boundary is extracted according to the brightness, and its brightness is not uniformly 80%. There may be situations where the image brightness values obtained by other camera positions are 60%, 70%, etc. In this way, the user's eyes can see the brightness difference at the fusion boundary.
[0078] In view of this, the present application provides an image display method, which is applied to a head-up display device, the head-up display device is communicatively connected with an eye recognition device, and the head-up display device includes a display screen and a light splitting element. Fig.13 , which is a schematic diagram of the implementation environment of an image display method provided in an embodiment of the present application. The eye recognition device can be specifically set to a DMS (Driver Monitoring System). The installation position of the DMS is not specifically limited in the present application. It is required that the DMS can be rigidly fixed between the human eye and the front windshield, does not block the human eye's line of sight, and will not be blocked by the steering wheel or body posture during driving.
[0079] See also Fig.14 , which shows a flow chart of an image display method provided by an embodiment of the present application. It should be noted that this specification provides method operation steps such as the embodiments or flow charts, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the steps among many orders, and does not represent the only execution order. When the actual system or product is executed, it can be executed in sequence or in parallel according to the methods shown in the embodiments or drawings (for example, in a parallel processor or multi-threaded processing environment). Specifically, the method is applied to a head-up display device, which is communicatively connected to an eye recognition device, and the head-up display device includes a display screen and a spectroscopic element; such as Fig.14 As shown, the method may include:
[0080] S1401, obtaining eye position information of a target object sent by an eye recognition device.
[0081] The target object is the user who is currently using the head-up display device.
[0082] The eye position information includes the left eye position and the right eye position. Specifically, the left eye position is represented by the coordinate information corresponding to the left eye of the target object, and the right eye position is represented by the coordinate information corresponding to the right eye of the target object.
[0083] S1403, determining the pupil distance of the target object and the eye box partition where the eyes of the target object are located based on the eye position information, and obtaining a target eye box partition.
[0084] The target eye box partition includes a left eye box partition and a right eye box partition. Specifically, the left eye box partition is the eye box partition where the left eye of the target object is located, and the right eye box partition is the eye box partition where the right eye of the target object is located.
[0085] In an exemplary embodiment, the process of determining the pupil distance of the target object in the above step S1403 may include the following steps:
[0086] The distance between the eyes of the target object in the horizontal direction is determined based on the eye position information to obtain the pupil distance of the target object.
[0087] Specifically, if the head of the target object is offset, for example, the head is slightly tilted or tilted, the pupil distance of the target object is equivalent to being narrowed in the horizontal direction, and the pupil distance of the target object is regarded as changed, that is, the pupil distance of the target object is based on the data in the horizontal direction.
[0088] It can be seen from the above technical solutions of the embodiment of the present application that the embodiment of the present application calculates the horizontal distance between the eyes of the target object as the pupil distance of the target object. If the head of the target object is offset, it is regarded as a change in the pupil distance of the target object. The pixel allocation method is adjusted according to subsequent steps, so that the target object can always view the three-dimensional effect image in an ideal state when using the head-up display device, thereby enhancing the user's immersion.
[0089] S1405, determining whether the pupil distance of the target object meets the standard pupil distance.
[0090] Specifically, the head-up display device is designed based on the standard pupil distance. If the pupil distance of the target object meets the standard pupil distance, the image to be displayed is displayed based on the preset pixel allocation method corresponding to the target eye box partition; if the pupil distance of the target object does not meet the standard pupil distance, it is necessary to first adjust the preset pixel allocation method corresponding to the target eye box partition to match the pupil distance of the target object.
[0091] S1407, when the result of the judgment is no, based on the difference between the pupil distance of the target object and the standard pupil distance, adjusting the preset pixel allocation method corresponding to the target eye box partition to obtain the target pixel allocation method.
[0092] Specifically, the display screen is provided with display units distributed in an array, each display unit corresponds to displaying a sub-pixel in the image to be displayed, and the preset pixel allocation method is set based on the standard pupil distance, indicating the corresponding relationship between the display unit and the sub-pixel of the image to be displayed.
[0093] In a specific implementation, the preset pixel allocation method can be adjusted by translating pixels, and the moving distance of the pixels is determined according to the difference between the pupil distance of the target object and the standard pupil distance.
[0094] Among them, the target pixel allocation method matches the pupil distance of the target object. When the eyes of the target object are in the target eye box partition, the target pixel allocation method is used to enable the left eye of the target object to just see the image intended for the left eye, and the right eye to just see the image intended for the right eye.
[0095] In an exemplary implementation, the above step S1407 may include the following steps:
[0096] Based on the difference between the pupil distance of the target object and the standard pupil distance, a preset pixel allocation method corresponding to the target eye box partition is adjusted to obtain an adjusted pixel allocation method;
[0097] The preset pixel allocation method and the adjusted pixel allocation method are merged to obtain the target pixel allocation method.
[0098] Among them, the preset pixel allocation method matches the standard pupil distance.
[0099] The target pixel allocation method is matched with the pupil distance of the target object.
[0100] For details, please refer to Fig.10 , which are schematic diagrams of the processing method of the third pixel allocation method provided in the embodiment of the present application, and are the pixel distribution corresponding to the standard pupil distance (taking 65mm as an example) in the display screen, specifically the pixel distribution state obtained by combining state 3 and state 4. Please continue to refer to Fig.15 , 16 , which respectively show another pupil distance schematic diagram provided in an embodiment of the present application, and a schematic diagram of an adjusted pixel allocation method provided in an embodiment of the present application. When the pupil distance of the target object (taking 63 mm as an example) is smaller than the standard pupil distance, it is equivalent to the left eye shifting rightward relative to the right eye. Figure 10-1 Based on , the fusion boundary is shifted right by two pixels to obtain Figure 16-1 The adjusted pixel allocation shown in Figure 10-2 Based on , the fusion boundary is shifted right by two pixels to obtain Figure 16-2 The adjusted pixel distribution is shown.
[0101] Specifically, the preset pixel allocation mode and the adjusted pixel allocation mode are merged, specifically, the two pixel allocation modes are neutralized to obtain the optimal pixel allocation mode as the target pixel allocation mode.
[0102] In a specific implementation, two cameras can be installed. After optical design of the pupil distance range value (50-70mm) of the target object, the fusion boundary in the preset pixel allocation method corresponding to the left and right eyes is extracted after the left and right eye cameras respectively shoot, and then the target fusion boundary is determined according to the brightness information, thereby obtaining the target pixel allocation method.
[0103] It can be seen from the above technical solutions of the embodiments of the present application that the embodiments of the present application adjust the preset pixel allocation method according to the difference between the pupil distance of the target object and the standard pupil distance, and merge the preset pixel allocation method with the adjusted pixel allocation method to obtain the target pixel allocation method, so as to improve the imaging effect of the three-dimensional image and ensure that users with different pupil distances can view the three-dimensional effect image in an ideal state.
[0104] In an exemplary embodiment, the preset pixel allocation mode also indicates brightness information of each display unit; the preset pixel allocation mode corresponding to the eye box partition is merged with the initial pixel allocation mode corresponding to the eye box partition and the initial pixel allocation mode corresponding to the adjacent eye box partition of the eye box partition; the above-mentioned step of merging the preset pixel allocation mode with the adjusted pixel allocation mode to obtain the target pixel allocation mode may include the following steps:
[0105] The preset pixel allocation mode is superimposed on the adjusted pixel allocation mode to obtain the pixel allocation mode to be processed;
[0106] In the pixel allocation mode to be processed, a display unit between a fusion boundary in a preset pixel allocation mode and a fusion boundary in an adjusted pixel allocation mode is determined to obtain a display unit to be identified;
[0107] For each display unit to be identified, when the brightness information of the display unit to be identified in the pixel allocation mode to be processed matches the target brightness information, the display unit is determined to be the target display unit; the fusion boundary is the boundary between the initial pixel allocation mode corresponding to the eye box partition and the initial pixel allocation mode corresponding to the adjacent eye box partition of the eye box partition in the preset pixel allocation mode corresponding to the eye box partition;
[0108] Fitting multiple target display units to obtain target fusion boundaries;
[0109] The preset pixel allocation method is adjusted until the fusion boundary in the preset pixel allocation method coincides with the target fusion boundary, thereby obtaining the target pixel allocation method.
[0110] Among them, the preset pixel allocation method matches the standard pupil distance.
[0111] The pixel allocation method to be processed is a superimposed pixel allocation method based on the preset pixel allocation method and the adjusted pixel allocation method. Fig.17 FIG. 1 is a schematic diagram of determining a target fusion boundary provided in an embodiment of the present application. Fig.15 In the case shown, the preset pixel allocation method corresponding to the eye box partition where the right eye is located does not need to be adjusted, and the preset pixel allocation method corresponding to the eye box partition where the left eye is located is adjusted to obtain the adjusted pixel allocation method corresponding to the left eye; the preset pixel allocation method corresponding to the eye box partition where the left eye is located is superimposed with the adjusted pixel allocation method corresponding to the left eye, and the obtained pixel allocation method to be processed includes the fusion boundary of the two pixel allocation methods. Because when the user's pupil distance is exactly the standard pupil distance, the pixels seen by the left and right eyes are complementary, and therefore the fusion boundaries in the preset pixel allocation methods corresponding to the eye box partitions where the left and right eyes are located overlap.
[0112] The display unit to be identified is a display unit between the fusion boundary in the preset pixel allocation method and the fusion boundary in the adjusted pixel allocation method, which is specifically expressed as follows: Fig.17 A display unit between the left side of the two fusion boundaries (the right eye image boundary in the figure) in the preset pixel allocation method corresponding to the eye box partition where the left eye is located, and the right side of the two fusion boundaries (the left eye image boundary in the figure) in the adjusted pixel allocation method corresponding to the left eye.
[0113] The target brightness information may be determined based on brightness information of fusion boundaries on both sides of the display unit to be identified.
[0114] The target display unit is a display unit on the target fusion boundary.
[0115] The target pixel allocation method is matched with the pupil distance of the target object.
[0116] For specific implementation, please refer to Figures 18 to 20 , which respectively show schematic diagrams of three methods for determining target pixel allocation provided in the embodiments of the present application. Fig.18 As shown, Figure 18-1 is the pixel allocation method after adjustment. Figure 18-2 is the preset pixel allocation method. The two pixel allocation methods are superimposed to obtain Figure 18-3 The target fusion boundary shown is determined based on the target fusion boundary Figure 18-3 The target pixel allocation method is shown in Figure 2. Fig.19 As shown, Figure 19-1 is the pixel allocation method after adjustment. Figure 19-2 is the preset pixel allocation method. The two pixel allocation methods are superimposed to obtain Figure 19-3 The target fusion boundary shown is determined based on the target fusion boundary Figure 19-3 The target pixel allocation method is shown in Figure 2. Fig. 20 As shown, the adjusted pixel allocation method corresponding to the left eye is superimposed with the preset pixel allocation method corresponding to the eye box partition where the left eye is located, the target fusion boundary is determined, and the target pixel allocation method is obtained.
[0117] In a specific implementation, the speed at which the target fusion boundary moves left or right on the image frame can be converted according to the movement speed of the two eyes, and the target fusion boundary f(x, y, x) can be updated in real time. D ,y D ,z D ) to update the target pixel allocation method. Even if the user's pupil distance changes, users with different pupil distances can always keep the left eye seeing the image intended for the left eye and the right eye seeing the image intended for the right eye. Among them, (x, y) is the coordinate of the target fusion boundary, (x D ,y D ,z D ) are the eye position coordinates.
[0118] Specifically, when the left and right eyes move in the x-direction in the eye box, the target fusion boundary is expressed as an x-direction offset in the image coordinate system. The offset relationship is shown in formulas (1) to (2):
[0119] △x=k1△x D +b1 (1)
[0120] b1=k3△z D (2)
[0121] Where △x represents the moving distance in different directions; k is a moving conversion coefficient, which means that for every 1 unit of movement on the x / y / z axis, the image moves k in the corresponding direction of the image; △x D , △z D Indicates the movement distance of the eye position read by the DMS in the x, y, and z directions.
[0122] It can be seen from the above technical solutions of the embodiments of the present application that the embodiments of the present application fuse the preset pixel allocation method with the adjusted pixel allocation method, determine the target fusion boundary according to the brightness information, and then obtain the target pixel allocation method to improve the imaging effect of the three-dimensional image, thereby ensuring that users with different pupil distances can view the three-dimensional effect image in an ideal state.
[0123] In an exemplary embodiment, the blending boundary is determined based on the brightness information of the display unit indicated by the initial pixel allocation method; the target brightness information can be determined by the following steps:
[0124] Determine brightness information of a display unit corresponding to a fusion boundary in a preset pixel allocation method to obtain first brightness information;
[0125] and determining brightness information of a display unit corresponding to a fusion boundary in the adjusted pixel allocation method to obtain second brightness information;
[0126] An average value is calculated based on the first brightness information and the second brightness information to obtain target brightness information.
[0127] The first brightness information includes brightness information corresponding to each display unit on the fusion boundary in the preset pixel allocation method, indicating the brightness of the fusion boundary in the preset pixel allocation method.
[0128] The second brightness information includes brightness information corresponding to each display unit on the fusion boundary in the adjusted pixel allocation method, indicating the brightness of the fusion boundary in the adjusted pixel allocation method.
[0129] Among them, the target brightness information is the basis for determining the target fusion boundary.
[0130] For example, if the adjusted pixel allocation mode is 50% and the first brightness information is 100%, the middle value of 75% can be taken as the target brightness information.
[0131] It can be seen from the above technical solutions of the embodiments of the present application that the embodiments of the present application obtain the target brightness information by averaging the brightness information of the display unit corresponding to the fusion boundary in the preset pixel allocation method and the brightness information of the display unit corresponding to the fusion boundary in the adjusted pixel allocation method, and use the average value as the basis for determining the target fusion boundary, so as to determine the target pixel allocation method that matches the pupil distance of the target object, thereby achieving an ideal three-dimensional effect image display.
[0132] In an exemplary implementation, the above step S1407 may further include the following steps:
[0133] Sending the difference between the pupil distance of the target object and the standard pupil distance to the user terminal, so that the user terminal returns the adjustment parameters for the preset pixel allocation method;
[0134] The preset pixel allocation method is adjusted based on the adjustment parameters to obtain a target pixel allocation method.
[0135] Specifically, the target object interacts with the head-up display device through the user terminal.
[0136] In a specific implementation, the adjustment parameters may be set by the user based on experience, or may be tentative data proposed by the user, or the user terminal may display multiple options for the target object to select.
[0137] It can be seen from the above technical solutions of the embodiments of the present application that the embodiments of the present application interact with the user terminal, and the target object determines the adjustment parameters for the preset pixel allocation method according to the difference between its pupil distance and the standard pupil distance, and then the head-up display device adjusts the preset pixel allocation method according to the adjustment parameters provided by the target object. It can determine the target pixel allocation method that satisfies the user according to the needs of the user, thereby improving the user experience.
[0138] In an exemplary embodiment, the step of adjusting the preset pixel allocation mode based on the adjustment parameters to obtain the target pixel allocation mode may include the following steps:
[0139] Adjust the preset pixel allocation method based on the adjustment parameters to obtain the pixel allocation method to be confirmed;
[0140] Displaying the image to be displayed based on the pixel allocation method to be confirmed, so that the light emitted from the display screen is split by the light splitting element to form a left eye virtual image and a right eye virtual image;
[0141] Sending a virtual image clarity confirmation request to a user terminal so that the user terminal returns a confirmation result of the virtual image clarity confirmation request; the confirmation result indicates whether the left eye virtual image and the right eye virtual image are clear; when the confirmation result indicates that the left eye virtual image and the right eye virtual image are not clear, the confirmation result also indicates a readjustment parameter for the pixel allocation method to be confirmed;
[0142] When the confirmation result indicates that the virtual images for the left eye and the right eye are not clear, the pixel allocation method to be confirmed is adjusted based on the readjustment parameters, the image to be displayed is displayed based on the adjusted pixel allocation method to be confirmed, and the confirmation result is updated. When the updated confirmation result indicates that the virtual images for the left eye and the right eye are clear, the adjusted pixel allocation method to be confirmed is determined as the target pixel allocation method.
[0143] The pixel allocation method to be confirmed is a pixel allocation method obtained by adjusting the preset pixel allocation method according to the adjustment parameters returned by the user terminal, and the user needs to confirm whether the three-dimensional effect image formed based on the pixel allocation method is clear.
[0144] Specifically, if the confirmation result of the virtual image clarity confirmation request returned by the user terminal indicates that the left eye virtual image and the right eye virtual image are clear, the pixel allocation method to be confirmed is determined as the target pixel allocation method; if the confirmation result of the virtual image clarity confirmation request returned by the user terminal indicates that the left eye virtual image and the right eye virtual image are not clear, the pixel allocation method to be confirmed is adjusted based on the readjustment parameters for the pixel allocation method to be confirmed indicated by the confirmation result, until the confirmation result returned by the user terminal indicates that the left eye virtual image and the right eye virtual image are clear, then the adjusted pixel allocation method to be confirmed is determined as the target pixel allocation method.
[0145] It can be seen from the above technical solutions of the embodiments of the present application that the embodiments of the present application interact with the user terminal, and the target object determines the adjustment parameters for the preset pixel allocation method according to the difference between its pupil distance and the standard pupil distance, and then the head-up display device adjusts the preset pixel allocation method according to the adjustment parameters provided by the target object, and confirms the display effect to the user, and continuously adjusts until the three-dimensional effect image seen by the user is clear. The target pixel allocation method that satisfies the user can be determined according to the user's needs, thereby improving the user experience.
[0146] S1409, displaying the image to be displayed based on the target pixel allocation method, so that the light emitted from the display screen forms a left-eye virtual image and a right-eye virtual image after being split by the light splitting element.
[0147] Specifically, the target pixel allocation method matches the pupil distance of the target object. When the eyes of the target object are in the target eye box partition, the image to be displayed is displayed based on the target pixel allocation method. At this time, the left eye virtual image formed by the light emitted by the display screen after being split by the spectroscopic element corresponds to the image you want the left eye of the target object to see, and is just seen by the user's left eye. The right eye virtual image formed by the light emitted by the display screen after being split by the spectroscopic element corresponds to the image you want the right eye of the target object to see, and is just seen by the user's right eye.
[0148] It can be seen from the above technical solutions of the embodiment of the present application that the embodiment of the present application obtains the pupil distance of the target object in real time and adjusts the pixel allocation method in real time by communicating with the eye recognition device. The target pixel allocation method obtained after adjustment matches the pupil distance of the target object, thereby ensuring that users with different pupil distances can view the three-dimensional effect image in an ideal state. Even if the user's pupil distance changes with the movement of the head during the viewing process, there is no need to worry about the decline in the quality of the 3D experience. Adaptation with changes in pupil distance is achieved, thereby enhancing the user's sense of immersion.
[0149] Corresponding to the image display methods provided in the above-mentioned embodiments, an embodiment of the present application also provides an image display device. Since the image display device provided in the embodiment of the present application corresponds to the image display methods provided in the above-mentioned embodiments, the implementation methods of the aforementioned image display methods are also applicable to the image display device provided in this embodiment and will not be described in detail in this embodiment.
[0150] See also Fig.21 , which is a schematic diagram of the structure of an image display device provided in an embodiment of the present application, the device has the function of implementing the image display method in the above method embodiment, the function can be implemented by hardware, or by hardware executing corresponding software. The device is applied to a head-up display device, the head-up display device is connected to the eye recognition device, and the head-up display device includes a display screen and a light splitting element; Fig.21 As shown, the device may include:
[0151] A position acquisition module 2110 is used to acquire eye position information of a target object sent by an eye recognition device;
[0152] An information determination module 2120 is used to determine the pupil distance of the target object and the eye box partition where the eyes of the target object are located based on the eye position information, and obtain a target eye box partition;
[0153] The pupil distance determination module 2130 is used to determine whether the pupil distance of the target object meets the standard pupil distance;
[0154] The pixel allocation module 2140 is used to adjust the preset pixel allocation mode corresponding to the target eye box partition based on the difference between the pupil distance of the target object and the standard pupil distance to obtain the target pixel allocation mode when the result of the judgment is negative; the display screen is provided with display units distributed in an array, each display unit corresponding to a sub-pixel in the image to be displayed; the preset pixel allocation mode is set based on the standard pupil distance, indicating the corresponding relationship between the display unit and the sub-pixel of the image to be displayed;
[0155] The first image display module 2150 is used to display the image to be displayed based on the target pixel allocation method, so that the light emitted by the display screen forms a left eye virtual image and a right eye virtual image after being split by the beam splitting element.
[0156] In an exemplary embodiment, the pixel allocation module includes:
[0157] A first pixel adjustment module is used to adjust a preset pixel allocation method corresponding to a target eye box partition based on a difference between the pupil distance of the target object and a standard pupil distance, to obtain an adjusted pixel allocation method;
[0158] The pixel fusion module is used to fuse the preset pixel allocation mode with the adjusted pixel allocation mode to obtain the target pixel allocation mode.
[0159] In an exemplary embodiment, the preset pixel allocation mode also indicates brightness information of each display unit; the preset pixel allocation mode corresponding to the eye box partition, the initial pixel allocation mode corresponding to the eye box partition, and the initial pixel allocation mode corresponding to the adjacent eye box partition of the eye box partition are merged; the pixel fusion module includes:
[0160] A pixel superposition module, used for superimposing a preset pixel allocation mode with an adjusted pixel allocation mode to obtain a pixel allocation mode to be processed;
[0161] A unit determination module, used to determine, in the pixel allocation mode to be processed, a display unit between a fusion boundary in a preset pixel allocation mode and a fusion boundary in an adjusted pixel allocation mode, to obtain a display unit to be identified;
[0162] A target determination module is used to determine, for each display unit to be identified, that the display unit is a target display unit when the brightness information of the display unit to be identified in the pixel allocation mode to be processed matches the target brightness information; the fusion boundary is a boundary between an initial pixel allocation mode corresponding to an eye box partition and an initial pixel allocation mode corresponding to an adjacent eye box partition of the eye box partition in a preset pixel allocation mode corresponding to the eye box partition;
[0163] A boundary fitting module is used to fit multiple target display units to obtain a target fusion boundary;
[0164] The boundary coincidence module is used to adjust the preset pixel allocation mode until the fusion boundary in the preset pixel allocation mode coincides with the target fusion boundary to obtain the target pixel allocation mode.
[0165] In an exemplary embodiment, the fusion boundary is determined based on the brightness information of the display unit indicated by the initial pixel allocation method; the device also includes a target brightness module for determining the target brightness information, the target brightness module including:
[0166] A brightness determination module, used to determine the brightness information of the display unit corresponding to the fusion boundary in the preset pixel allocation method, and obtain first brightness information;
[0167] and determining brightness information of a display unit corresponding to a fusion boundary in the adjusted pixel allocation method to obtain second brightness information;
[0168] The brightness evaluation module is used to calculate an average value based on the first brightness information and the second brightness information to obtain target brightness information.
[0169] In an exemplary embodiment, the pixel allocation module includes:
[0170] A parameter acquisition module, used for sending the difference between the pupil distance of the target object and the standard pupil distance to the user terminal, so that the user terminal returns the adjustment parameters for the preset pixel allocation method;
[0171] The second pixel adjustment module is used to adjust the preset pixel allocation method based on the adjustment parameters to obtain the target pixel allocation method.
[0172] In an exemplary embodiment, the second pixel adjustment module includes:
[0173] A third pixel adjustment module, used to adjust the preset pixel allocation method based on the adjustment parameters to obtain the pixel allocation method to be confirmed;
[0174] A second image display module, used for displaying the image to be displayed based on the pixel allocation mode to be confirmed, so that the light emitted by the display screen forms a left eye virtual image and a right eye virtual image after being split by the light splitting element;
[0175] a clarity confirmation module, used to send a virtual image clarity confirmation request to a user terminal, so that the user terminal returns a confirmation result of the virtual image clarity confirmation request; the confirmation result indicates whether the left eye virtual image and the right eye virtual image are clear; if the confirmation result indicates that the left eye virtual image and the right eye virtual image are not clear, the confirmation result also indicates a readjustment parameter for the pixel allocation method to be confirmed;
[0176] The fourth pixel adjustment module is used to adjust the pixel allocation method to be confirmed based on the readjustment parameter when the confirmation result indicates that the left eye virtual image and the right eye virtual image are not clear, display the image to be displayed based on the adjusted pixel allocation method to be confirmed, and update the confirmation result until the updated confirmation result indicates that the left eye virtual image and the right eye virtual image are clear, and then determine the adjusted pixel allocation method to be confirmed as the target pixel allocation method.
[0177] In an exemplary embodiment, the information determination module includes:
[0178] The pupil distance determination module is used to determine the distance between the eyes of the target object in the horizontal direction based on the eye position information to obtain the pupil distance of the target object.
[0179] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0180] An embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement any one of the image display methods provided in the above method embodiments.
[0181] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required for functions, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.
[0182] The method embodiments provided in the embodiments of the present application may be executed in a computer terminal, a server or a similar computing device, that is, the above-mentioned electronic device may include a computer terminal, a server or a similar computing device. Fig. 22 is a hardware structure block diagram of a computer device running an image display method provided by an embodiment of the present invention, such as Fig. 22 As shown, the internal structure of the computer device may include but is not limited to: a processor, a network interface and a memory. The processor, network interface and memory in the computer device may be connected via a bus or other means. Fig. 22 The example of connecting through bus is taken in the following.
[0183] Among them, the processor (or CPU (Central Processing Unit)) is the computing core and control core of the computer device. The network interface may optionally include a standard wired interface, a wireless interface (such as WI-FI, a mobile communication interface, etc.). Memory is a memory device in a computer device for storing programs and data. It is understandable that the memory here can be a high-speed RAM storage device or a non-volatile memory device (non-volatile memory), such as at least one disk storage device; optionally, it can also be at least one storage device located away from the aforementioned processor. The memory provides a storage space, which stores the operating system of the electronic device, including but not limited to: Windows system (an operating system), Linux (an operating system), Android (Android, a mobile operating system) system, IOS (a mobile operating system) system, etc., and the present invention is not limited to this; and, in the storage space, one or more instructions suitable for being loaded and executed by the processor are also stored, and these instructions can be one or more computer programs (including program codes). In the embodiment of this specification, the processor loads and executes one or more instructions stored in the memory to implement the image display method provided in the above method embodiment.
[0184] An embodiment of the present application also provides a computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to implementing an image display method. The at least one instruction or the at least one program is loaded and executed by the processor to implement any one of the image display methods provided in the above method embodiments.
[0185] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
[0186] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0187] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0188] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0189] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. An image display method, characterized in that: Applied to a head-up display device, the head-up display device is communicatively connected with an eye recognition device, and the head-up display device includes a display screen and a light splitting element; the method includes: Acquire eye position information of the target object sent by the eye recognition device; Determine the pupil distance of the target object and the eye box partition where the eyes of the target object are located based on the eye position information to obtain a target eye box partition; Determining whether the pupil distance of the target object meets the standard pupil distance; In the case where the result of the judgment is no, based on the difference between the pupil distance of the target object and the standard pupil distance, the preset pixel allocation method corresponding to the target eye box partition is adjusted to obtain a target pixel allocation method; the display screen is provided with display units distributed in an array, each of the display units corresponding to a sub-pixel in the image to be displayed; the preset pixel allocation method is set based on the standard pupil distance, indicating the corresponding relationship between the display unit and the sub-pixel of the image to be displayed; The image to be displayed is displayed based on the target pixel allocation method, so that the light emitted from the display screen forms a left-eye virtual image and a right-eye virtual image after being split by the light splitting element.
2. The image display method according to claim 1, characterized in that: The step of adjusting the preset pixel allocation method corresponding to the target eye box partition based on the difference between the pupil distance of the target object and the standard pupil distance to obtain the target pixel allocation method includes: Based on the difference between the pupil distance of the target object and the standard pupil distance, adjusting the preset pixel allocation method corresponding to the target eye box partition to obtain an adjusted pixel allocation method; The preset pixel allocation method and the adjusted pixel allocation method are merged to obtain the target pixel allocation method.
3. The image display method according to claim 2, characterized in that: The preset pixel allocation method also indicates the brightness information of each of the display units; the preset pixel allocation method corresponding to the eye box partition is formed by merging the initial pixel allocation method corresponding to the eye box partition and the initial pixel allocation method corresponding to the adjacent eye box partition of the eye box partition; the preset pixel allocation method and the adjusted pixel allocation method are merged to obtain the target pixel allocation method, including: Superimposing the preset pixel allocation mode and the adjusted pixel allocation mode to obtain a pixel allocation mode to be processed; In the pixel allocation mode to be processed, determining a display unit between a fusion boundary in the preset pixel allocation mode and a fusion boundary in the adjusted pixel allocation mode, and obtaining a display unit to be identified; For each of the display units to be identified, when the brightness information of the display unit to be identified matches the target brightness information in the pixel allocation mode to be processed, the display unit is determined to be a target display unit; the fusion boundary is a boundary between an initial pixel allocation mode corresponding to the eye box partition and an initial pixel allocation mode corresponding to an adjacent eye box partition of the eye box partition in the preset pixel allocation mode corresponding to the eye box partition; Fitting a plurality of the target display units to obtain a target fusion boundary; The preset pixel allocation method is adjusted until the fusion boundary in the preset pixel allocation method coincides with the target fusion boundary, thereby obtaining the target pixel allocation method.
4. The image display method according to claim 3, characterized in that: The fusion boundary is determined based on brightness information of the display unit indicated by the initial pixel allocation method; the method further includes: Determine the brightness information of the display unit corresponding to the fusion boundary in the preset pixel allocation method to obtain first brightness information; and determining brightness information of a display unit corresponding to a fusion boundary in the adjusted pixel allocation method to obtain second brightness information; The target brightness information is obtained by calculating an average value based on the first brightness information and the second brightness information.
5. The image display method according to claim 1, characterized in that: The step of adjusting the preset pixel allocation method corresponding to the target eye box partition based on the difference between the pupil distance of the target object and the standard pupil distance to obtain the target pixel allocation method includes: Sending the difference between the pupil distance of the target object and the standard pupil distance to the user terminal, so that the user terminal returns the adjustment parameter for the preset pixel allocation method; The preset pixel allocation method is adjusted based on the adjustment parameters to obtain the target pixel allocation method.
6. The image display method according to claim 5, characterized in that: The step of adjusting the preset pixel allocation method based on the adjustment parameter to obtain the target pixel allocation method includes: Adjust the preset pixel allocation method based on the adjustment parameter to obtain a pixel allocation method to be confirmed; Displaying the image to be displayed based on the pixel allocation method to be confirmed, so that the light emitted from the display screen forms a left-eye virtual image and a right-eye virtual image after being split by the light splitting element; Sending a virtual image clarity confirmation request to the user terminal, so that the user terminal returns a confirmation result of the virtual image clarity confirmation request; the confirmation result indicates whether the left eye virtual image and the right eye virtual image are clear; if the confirmation result indicates that the left eye virtual image and the right eye virtual image are not clear, the confirmation result also indicates a readjustment parameter for the pixel allocation method to be confirmed; When the confirmation result indicates that the left eye virtual image and the right eye virtual image are not clear, the pixel allocation method to be confirmed is adjusted based on the readjustment parameter, the image to be displayed is displayed based on the adjusted pixel allocation method to be confirmed, and the confirmation result is updated until the updated confirmation result indicates that the left eye virtual image and the right eye virtual image are clear, and the adjusted pixel allocation method to be confirmed is determined as the target pixel allocation method.
7. The image display method according to claim 1, characterized in that: The determining the pupil distance of the target object based on the eye position information comprises: The distance between the eyes of the target object in the horizontal direction is determined based on the eye position information to obtain the pupil distance of the target object.
8. An image display device, characterized in that: Applied to a head-up display device, the head-up display device is communicatively connected with an eye recognition device, the head-up display device includes a display screen and a light splitting element; the device includes: A position acquisition module, used to acquire the eye position information of the target object sent by the eye recognition device; An information determination module, configured to determine the pupil distance of the target object and the eye box partition where the eyes of the target object are located based on the eye position information, to obtain a target eye box partition; A pupil distance determination module, used to determine whether the pupil distance of the target object meets the standard pupil distance; A pixel allocation module, for adjusting the preset pixel allocation mode corresponding to the target eye box partition based on the difference between the pupil distance of the target object and the standard pupil distance to obtain a target pixel allocation mode when the result of the judgment is no; the display screen is provided with display units distributed in an array, each of the display units corresponding to a sub-pixel in the image to be displayed; the preset pixel allocation mode is set based on the standard pupil distance, indicating the corresponding relationship between the display unit and the sub-pixel of the image to be displayed; The first image display module is used to display the image to be displayed based on the target pixel allocation method, so that the light emitted by the display screen forms a left-eye virtual image and a right-eye virtual image after being split by the light splitting element.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the image display method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the image display method according to any one of claims 1 to 7.
Citation Information
Cited By
Image display method and apparatus, and electronic device and storage medium
WO2026007439A1
