Head-up display method and device for left and right eye prediction fusion image, carrier and medium

By predicting the user's eye position, the traditional HUD display lacks three-dimensionality and image distortion are solved, and more realistic information display is achieved and driving safety is improved.

CN118972541APending Publication Date: 2024-11-15HANGZHOU FERVCLOUD TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411023397.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Traditional HUD display lacks three-dimensionality and depth. The existing methods can easily lead to image distortion and ghosting when using the principle of human eye parallax, which cannot meet the driver's needs for more intuitive and vivid information display.

Method used

By predicting the position of the user's eyes, obtaining the position data of the left and right eye captured historically, calculating real-time predicted positions, performing multiple pixel points fusions, generating target fusion images, and projecting them to the display screen, enhancing the three-dimensionality and depth sense of the image.

Benefits of technology

Reduce image distortion and ghosting, provide a more realistic visual experience, and improve driving safety and comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972541A_ABST
    Figure CN118972541A_ABST
Patent Text Reader

Abstract

The invention discloses a head-up display method and device for a left and right eye prediction fusion image, a carrier and a medium. Comprising the following steps: determining left and right eye real-time predicted position data of a user according to historically captured left and right eye historical position data of the user; obtaining left and right eye display images to be fused and displayed, respectively obtaining pixel points at different positions from the left and right eye display images, and carrying out multiple fusion to obtain a plurality of fused images; and obtaining a target fusion image according to the left and right eye real-time prediction position data and the plurality of fusion images, and projecting the target fusion image to a display screen for head-up display. By predicting the eye position of the user, image fusion display can be performed in advance, and image distortion and ghosting phenomena are reduced, so that the problem of imaging crosstalk is avoided, and the driving safety and the operation efficiency are improved while the user experience is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to a head-up display method, device, carrier and medium for predicting and fusion images of left and right eyes. Background Art

[0002] In traditional HUD displays, images are usually flat and lack a sense of three-dimensionality and depth. However, naked-eye 3D HUD display technology uses the parallax principle of the human eye to allow the left and right eyes to see different images, thus creating a sense of three-dimensionality.

[0003] With the continuous development of the automotive industry, drivers have higher and higher demands for information display. Traditional 2D HUD display can no longer meet drivers' demands for more intuitive and vivid information display. The naked-eye 3D HUD display technology can present important driving information to drivers in a more realistic way, improving driving safety and comfort.

[0004] At present, there are some methods that attempt to fuse the real-time position data of the left and right eyes of DMS. However, due to the shadow retention effect of the human eye, when real-time data is used as a parameter to generate an image fusion picture, people feel that the crosstalk is large, and it is easy to cause image distortion and ghosting during projection. Summary of the invention

[0005] The present invention provides a head-up display method, device, carrier and medium for predicting left-eye and right-eye fusion images, which achieves more personalized and accurate image display while providing a better visual experience by predicting the user's eye position.

[0006] According to one aspect of the present invention, a head-up display method for left-eye and right-eye predicted fusion images is provided, the method comprising:

[0007] Determine the real-time predicted position data of the left and right eyes of the user according to the historical position data of the left and right eyes of the user captured in history;

[0008] Obtaining left and right eye display images to be fused and displayed, respectively obtaining pixel points at different positions from the left and right eye display images for multiple fusions to obtain multiple fused images;

[0009] According to the real-time predicted position data of the left and right eyes and multiple fused images, a target fused image is obtained, and the target fused image is projected onto the display screen for head-up display.

[0010] Optionally, the real-time predicted position data of the user's left and right eyes is determined based on the historical position data of the user's left and right eyes captured historically, including: obtaining N left and right eye positions of the user historically captured by the driver monitoring system, where N is an integer greater than 2; obtaining the first N-1 left and right eye positions in order of capture time from far to near to calculate the left and right eye historical position convergence value; determining the real-time predicted position data of the user's left and right eyes based on the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position.

[0011] The advantage of this setting is that by considering multiple historical data points, the impact of individual outliers can be reduced and the accuracy of prediction can be improved. By calculating the historical data convergence value, the historical change trend of the data can be determined, so that the user's left and right eye positions can be predicted more accurately.

[0012] Optionally, the real-time predicted position data of the left and right eyes of the user is determined based on the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value, including: if the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value is greater than a difference threshold, then obtaining a target prediction variable corresponding to the left and right eye historical position convergence value based on the variable configuration list; determining the sum of the target prediction variable and the Nth left and right eye historical position value as the real-time predicted position data of the left and right eyes; if the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value is less than or equal to a preset difference threshold, then determining the Nth left and right eye historical position value as the real-time predicted position data of the left and right eyes.

[0013] The advantage of this setting is that when the data difference is large, the target prediction variable can be introduced to adjust the prediction result, improving the accuracy and adaptability of the prediction. The variable configuration list can meet different needs. It can improve the response speed of the system and quickly determine the real-time prediction position when the data difference is small.

[0014] Optionally, before obtaining pixel points at different positions from the left and right eye display images and performing multiple fusions to obtain multiple fused images, the method also includes: determining the number of fusions of the fused images, and dividing the display screen into multiple areas according to the number of fusions; wherein the number of areas matches the number of fusions.

[0015] The advantage of this setting is that by determining the number of fusion times, the degree and effect of fusion can be controlled. Different fusion times can produce different visual effects to meet the needs of different users or adapt to different application scenarios.

[0016] Optionally, pixel points at different positions are respectively obtained from the left and right eye display images and fused multiple times to obtain multiple fused images, including: each pixel point of the left and right eye display images is expanded into RGB channel values ​​respectively to obtain a left eye RGB channel arrangement diagram and a right eye RGB channel arrangement diagram; according to the left eye RGB channel arrangement diagram and the right eye RGB channel arrangement diagram, the fused images in each fusion round corresponding to the number of fusion times are determined.

[0017] The advantage of this setting is that by expanding each pixel of the left and right eye display images into RGB channel values, the color information of the image can be analyzed and processed in more detail, and the color details can be better preserved and integrated during the fusion process. By fusing the left and right eye display images, the stereoscopic sense and depth of the image can be enhanced, allowing users to see a stereoscopic three-dimensional image.

[0018] Optionally, according to the left-eye RGB channel arrangement diagram and the right-eye RGB channel arrangement diagram, a fused image under each fusion round corresponding to the number of fusion times is determined, including: generating a full-eye RGB channel arrangement diagram to be filled corresponding to the fused image; determining a fusion strategy corresponding to each fusion round, and according to the fusion strategy, selecting RGB channel values ​​from the left-eye RGB channel arrangement diagram and the right-eye RGB channel arrangement diagram to fill in the matching image position in the full-eye RGB channel arrangement diagram to be filled, so as to obtain the fused image under each fusion round.

[0019] The advantage of this setting is that different fusion rounds and fusion strategies can adapt to the different eye positions of the user, so that the user's left and right eyes can achieve the best observation effect at any line of sight position.

[0020] Optionally, the fusion strategy includes: the number of RGB channel value groups, the number of first line indents, and the number of vertical indents.

[0021] The advantage of this setting is that different fusion effects can be achieved by setting different fusion strategies, which provides users with flexibility and customizability to meet the requirements of image fusion in different situations.

[0022] Optionally, according to the fusion strategy, RGB channel values ​​are selected from the left-eye RGB channel arrangement diagram and the right-eye RGB channel arrangement diagram respectively to fill the matching image positions in the full-eye RGB channel arrangement diagram to be filled, so as to obtain the fused images under each fusion round, including: obtaining the current fusion strategy corresponding to the current fusion round, and determining the initial filling mode of the first row corresponding to the full-eye RGB channel arrangement diagram to be filled according to the number of RGB channel value groupings in the current fusion strategy; adjusting the initial filling mode of the first row according to the number of indentation bits of the first row corresponding to the current fusion round to obtain the target filling mode of the first row; determining each non-first row filling mode in turn starting from the second row according to the target filling mode of the first row and the number of vertical indentation bits; selecting RGB channel values ​​from the left-eye RGB channel arrangement diagram and the right-eye RGB channel arrangement diagram according to the first row target filling mode and each non-first row filling mode to fill the matching image positions in the full-eye RGB channel arrangement diagram to be filled, so as to obtain the fused image under the current fusion round.

[0023] The advantage of this setting is that by adjusting the initial filling mode of the first row through the back indentation, the indentation effect between the first row and other rows can be achieved, thereby creating a sense of hierarchy and three-dimensionality in the fused image. Fusion according to the fusion strategy can make the filling mode of each row consistent, ensuring the quality of image fusion.

[0024] Optionally, in each fusion strategy under different fusion rounds, the number of RGB channel value groups and the number of vertical indents are the same; in adjacent fusion rounds, the number of first line indents in the latter fusion round is 1 more than the number of first line indents in the previous fusion round.

[0025] The advantage of this setting is that by keeping the number of RGB channel value groups and the number of vertical indents the same in different fusion rounds, the stability of the fusion effect can be improved. The gradually increasing number of first line indents can add a certain sense of depth to the fused image and improve the visual effect of the image.

[0026] Optionally, the number of RGB channel value groups is 4 and the number of vertical indents is 1.

[0027] The advantage of this setting is that by setting the specific number of RGB channel value groups and the number of vertical indents, the fusion process can be controlled more finely to ensure the accuracy of image fusion.

[0028] Optionally, a target fused image is obtained based on the real-time predicted position data of the left and right eyes and multiple fused images, including: obtaining the fusion rounds corresponding to each area in the display screen in a mapping relationship between areas and fusion rounds established in advance based on the real-time predicted position data of the left and right eyes; and using the fusion images under the fusion rounds corresponding to each area to stitch together the target fused image.

[0029] The advantage of this setting is that it can dynamically determine the fusion round corresponding to each area based on the real-time position data of the user's left and right eyes, ensuring that the spliced ​​target fusion image matches the user's perspective, providing the user with a better visual experience.

[0030] Optionally, before obtaining pixel points at different positions from the left and right eye display images for multiple fusions, it also includes: determining a target partition according to the partition into which the real-time predicted left eye position and the real-time predicted right eye position fall in the virtual image coordinate space; using the distortion correction parameters corresponding to the target partition to perform distortion correction on the left and right eye display images to obtain corrected left and right eye display images; wherein, the distortion correction parameters corresponding to each observation position are determined by displaying a standard dot matrix image on the display screen in advance and simulating the display image observed by the human eye at different observation positions to obtain the distorted display image corresponding to each observation position, and comparing the image difference between the distorted display image and the standard dot matrix image.

[0031] The advantage of this setting is that by displaying the standard dot matrix image and simulating the observation of the human eye at different observation positions, the distorted display image corresponding to each observation position can be obtained, which helps to fully understand the distortion of the displayed image at different viewing angles. By generating distortion correction parameters, the distortion characteristics of each partition can be accurately described, thereby achieving more accurate distortion correction.

[0032] According to another aspect of the present invention, a head-up display device for predicting and fusion images of left and right eyes is provided, the device comprising:

[0033] The left and right eye position prediction module is used to determine the real-time predicted position data of the left and right eyes of the user based on the historical position data of the left and right eyes of the user captured in history;

[0034] An image fusion module is used to obtain left and right eye display images to be fused and displayed, and obtain pixel points at different positions from the left and right eye display images for multiple fusions to obtain multiple fused images;

[0035] The target fusion image determination and display module is used to obtain the target fusion image based on the real-time predicted position data of the left and right eyes and multiple fusion images, and project the target fusion image onto the display screen for head-up display.

[0036] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0037] at least one processor;

[0038] and a memory communicatively coupled to the at least one processor;

[0039] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the head-up display method of left-eye and right-eye predicted fusion images described in any embodiment of the present invention.

[0040] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a head-up display method for left-eye and right-eye predicted fused images as described in any embodiment of the present invention when executed.

[0041] The technical solution of the embodiment of the present invention can predict the current left and right eye positions of the user by analyzing the historical left and right eye positions of the user. By performing image fusion display in advance through prediction, image distortion and ghosting can be reduced, thereby avoiding the problem of imaging crosstalk. By acquiring pixel points at different positions from the left and right eye display images for multiple fusions, the details and three-dimensional sense of the image can be enhanced, providing a more realistic and vivid visual effect. By projecting the target fused image onto the display screen for head-up display, the user can obtain important information without looking down at the instrument, thereby improving driving safety.

[0042] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0044] Figure 1 is a flowchart of a head-up display method for left-eye and right-eye predicted fusion images provided according to Embodiment 1 of the present invention;

[0045] Figure 2 is a flowchart of another head-up display method of left-eye and right-eye predicted fused images provided according to Embodiment 1 of the present invention;

[0046] Figure 3 is a schematic diagram of a left-right eye historical position change curve provided according to Embodiment 1 of the present invention;

[0047] Figure 4 is a schematic diagram of a left-eye and right-eye historical position prediction curve provided according to the first embodiment of the present invention;

[0048] Figure 5 is another schematic diagram of a left-right eye historical position change curve provided according to the first embodiment of the present invention;

[0049] Figure 6 is another schematic diagram of left-eye and right-eye historical position prediction curves provided according to the first embodiment of the present invention;

[0050] Figure 7 is a schematic diagram of a head-up display imaging process provided according to Embodiment 1 of the present invention;

[0051] Figure 8 is a schematic diagram of a naked-eye 3D imaging principle provided according to Embodiment 1 of the present invention;

[0052] Fig. 9 is a schematic diagram of a fused image head-up display process provided according to Embodiment 1 of the present invention;

[0053] Fig.10 is a flowchart of another head-up display method of left-eye and right-eye predicted fused images provided according to Embodiment 2 of the present invention;

[0054] Fig.11 2 is a schematic diagram of the structure of a head-up display device for predicting and fusion images of left and right eyes provided according to Embodiment 3 of the present invention;

[0055] Fig.12 It is a structural schematic diagram of a vehicle for implementing a head-up display method of left-eye and right-eye predicted fusion images according to an embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0057] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0058] Embodiment 1

[0059] Figure 1 A flowchart of a head-up display method for left-right eye prediction fusion images is provided for the first embodiment of the present invention. This embodiment is applicable to the case of predicting the user's eye position for head-up display. The method can be executed by a head-up display device for left-right eye prediction fusion images. The head-up display device for left-right eye prediction fusion images can be implemented in the form of hardware and / or software. The head-up display device for left-right eye prediction fusion images can be configured in a vehicle. Figure 1 As shown, the method includes:

[0060] S110 . Determine the real-time predicted position data of the left and right eyes of the user according to the historical position data of the left and right eyes of the user captured in history.

[0061] The left-eye historical position data refers to the specific position information of the left-eye and right-eye of the user recorded in a specified historical period, including the real-time position of the left eye and the real-time position of the right eye, expressed in coordinate form. The left-eye real-time predicted position data refers to the predicted value of the position of the left-eye and right-eye of the user at the next moment from the current moment obtained by analyzing the known historical position data.

[0062] In a specific implementation, the real-time predicted position data of the left and right eyes of the user can be determined by constructing an eye position prediction model. That is, a large amount of historically captured historical position data of the left and right eyes of the user is collected. Then, a machine learning algorithm is used to process and model the historical position data of the left and right eyes. The modeling algorithm can be regression analysis, time series prediction, neural network, etc. Through learning and training the historical position data of the left and right eyes, the eye position prediction model can identify the rules therein and predict the real-time predicted position data of the left and right eyes of the user.

[0063] Figure 2 A flowchart of a head-up display method for left-eye and right-eye predicted fusion images is provided for the first embodiment of the present invention, wherein step S110 mainly includes the following steps S111 to S113:

[0064] S111. Obtain N left and right eye positions of the user captured historically by the driver monitoring system, where N is an integer greater than 2.

[0065] Specifically, the driver monitoring system may include sensors and cameras that can accurately capture the position of the user's eyes. The sensors and cameras can monitor the subtle movements and changes of the user's eyes in real time to determine the positions of the left and right eyes. The processor can extract N left and right eye positions of the user captured historically from the driver monitoring system. N is set to an integer greater than 2 in order to accumulate sufficient sample data for analysis and prediction, which can provide more historical information and increase the reliability of the prediction.

[0066] Furthermore, the driver monitoring system can determine the real-time position of the user's left and right eyes through infrared tracking technology or image recognition technology. Infrared tracking technology refers to emitting infrared light to the user's eyes, and then using sensors to receive the reflected light, and calculating the real-time position of the left and right eyes based on the change in light and time difference. Image recognition technology refers to using a camera to capture an image of the user's eyes, and using image processing algorithms to identify the eye's feature points, such as the pupil center, eye corners, etc., to determine the historical position values ​​of the left and right eyes.

[0067] In a specific implementation, the driver monitoring system may include a DMS eye tracking device, which is a device that acquires the driver's eye status in real time by installing an optical camera and an infrared camera on the car. It analyzes the acquired information through a deep learning algorithm, can determine the driver's status, realize driver identification, driver fatigue monitoring, driver attention monitoring, and monitoring of dangerous driving behaviors, and issue different levels of warnings.

[0068] In summary, by obtaining multiple historical left and right eye positions, the information contained in the historical data can be fully utilized to improve the accuracy and reliability of the prediction.

[0069] S112, obtaining the first N-1 left and right eye positions in the order of capture time from far to near, and calculating the left and right eye historical position convergence value.

[0070] Specifically, the processor will use a time series data analysis method, that is, to process the data in the order of capture time from far to near. Specifically, the first N-1 left and right eye positions can be obtained, and the left and right eye historical position convergence value can be calculated through a specific algorithm or calculation method. The convergence value refers to the trend or concentration of the left and right eye positions.

[0071] In summary, by processing the data in the order of capture time from far to near and calculating the convergence value, the time trend of the eye position change can be effectively captured.

[0072] S113 . Determine the real-time predicted position data of the left and right eyes of the user according to the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position.

[0073] Specifically, the processor can analyze and determine the real-time predicted position data of the user's left and right eyes based on the calculated data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position, that is, obtain the real-time predicted position data of the left and right eyes by comprehensively analyzing the trend of historical data. Among them, if the data difference is large, it means that the latest data deviates from the historical trend. If the data difference is small or equal to the preset threshold, it means that the latest data is relatively consistent with the historical trend.

[0074] Optionally, the real-time predicted position data of the left and right eyes of the user is determined based on the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value, including: if the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value is greater than a difference threshold, then obtaining a target prediction variable corresponding to the left and right eye historical position convergence value based on the variable configuration list; determining the sum of the target prediction variable and the Nth left and right eye historical position value as the real-time predicted position data of the left and right eyes; if the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value is less than or equal to a preset difference threshold, then determining the Nth left and right eye historical position value as the real-time predicted position data of the left and right eyes.

[0075] Specifically, when the processor determines the real-time predicted position data of the left and right eyes of the user according to the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value, there are the following two situations.

[0076] Among them, the first case refers to the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value is greater than the preset difference threshold. At this time, the current data fluctuations on the surface are large, that is, the user's eye position is changing dynamically, and the processor will obtain the target prediction variable corresponding to the left and right eye historical position convergence value based on the preset variable configuration list. The variable configuration list refers to a prediction variable configuration table obtained through a large amount of data training and learning, which contains prediction variables corresponding to different convergence values. After obtaining the target prediction variable, the processor will add it to the Nth left and right eye historical position value, and determine the sum as the real-time predicted position data of the left and right eyes.

[0077] In addition, the second case refers to the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value is less than or equal to the preset difference threshold. This indicates that the current data fluctuation is relatively small, that is, the user's eye position is basically unchanged. At this time, the Nth left and right eye historical position value can be directly identified as the real-time predicted position data of the left and right eyes, because it can already more accurately reflect the current eye position.

[0078] In a specific implementation, the position of the human eye can be predicted by moving along the DMS real-time data, performing uniform motion, adding prediction variables, and adding the DMS real-time data to the prediction variables. Figure 3 A schematic diagram of a position change curve of historical position values ​​of left and right eyes is provided for the first embodiment of the present invention. Figure 4 A schematic diagram of a position prediction curve of historical position values ​​of left and right eyes is provided for the first embodiment of the present invention. Figure 3 In the example, the eye position Ep0 at time t0, the eye position Ep1 at time t1, the distance Ld between Ep0 and Ep1, and the time interval t between time t0 and t1 are given by Figure 4 It can be seen that the motion trajectory of the DMS real-time data in the time period t0-t1 is a fluctuating motion, which does not conform to the image fusion usage scenario. Figure 5 Another schematic diagram of a position change curve of the historical position values ​​of the left and right eyes is provided for the first embodiment of the present invention. Figure 6 Another left-right eye historical position value position prediction curve diagram is provided for the first embodiment of the present invention, the eye position Ep0 at time t0, the eye position Ep1 at time t1; the distance Ld between Ep0 and Ep1, the time interval t between time t0 and t1, in the time period t0-t1, the use of motion following DMS real-time data can effectively reduce the jitter of the data and better fit the actual movement trajectory of the human eye; when the human eye is in motion, the predicted variables are added to the eye position coordinates, which can be better used for image fusion display. Thereby avoiding the influence of the human eye's shadow.

[0079] In summary, the real-time predicted position data is determined based on the difference between the historical convergence value and the latest data, so that the prediction method can adapt to different situations. When the data difference is large, the superimposed prediction variable processing is performed, and when the difference is small, simple rules are followed, which has strong flexibility and adaptability. And when the latest data is less different from the historical trend, the latest data is directly used as the predicted value, while ensuring a certain accuracy, avoiding overly complex calculations, and improving the stability and response speed of the system.

[0080] S120 , obtaining left and right eye display images to be fused and displayed, and obtaining pixel points at different positions from the left and right eye display images respectively, performing fusion multiple times to obtain multiple fused images.

[0081] The pixel point refers to the smallest unit of the image. The fused image refers to a new image obtained by processing the left and right eye display images according to the fusion rules.

[0082] Specifically, the processor can obtain the left and right eye display images that need to be fused and displayed. The left and right eye display images can be prepared in advance, or generated according to real-time application scenarios and user needs, and the images include but are not limited to image files such as pictures, videos, and video streams. The processor will select corresponding pixel points from different positions in the left and right eye display images according to the pre-set fusion rules, and fuse them in turn to obtain multiple fused images.

[0083] Optionally, before obtaining pixel points at different positions from the left and right eye display images for multiple fusions, it also includes: determining a target partition according to the partition into which the real-time predicted left eye position and the real-time predicted right eye position fall in the virtual image coordinate space; using the distortion correction parameters corresponding to the target partition to perform distortion correction on the left and right eye display images to obtain corrected left and right eye display images; wherein, the distortion correction parameters corresponding to each observation position are determined by displaying a standard dot matrix image on the display screen in advance and simulating the display image observed by the human eye at different observation positions to obtain the distorted display image corresponding to each observation position, and comparing the image difference between the distorted display image and the standard dot matrix image.

[0084] The distortion correction parameter is a matrix used to correct the deformation of the image caused by the optical system or other factors. Different partitions correspond to different distortion correction parameters, so it is necessary to use the distortion correction parameters corresponding to the target partition for correction. The distortion correction parameters can effectively correct the image according to the characteristics of the partition, thereby obtaining a clearer and more accurate image.

[0085] Specifically, after the standard dot matrix image is displayed on the display screen, the camera device can simulate the display image that can be observed by the human eye at different observation positions, thereby obtaining a distorted display image corresponding to each observation position, and determining the partition corresponding to each observation position in the virtual image coordinate space. The processor will compare and analyze the distorted display image with the standard dot matrix image, including comparing the differences between the two in terms of pixel arrangement, shape, size, position, etc., to evaluate the image distortion generated by each screen partition. Based on the comparative analysis, the distortion correction parameters corresponding to each partition can be determined.

[0086] In a specific implementation, the following steps can be used to determine the distortion correction parameters of each partition: first, a square grid image with a regular geometric structure can be used as a standard dot matrix image for head-up display. Then, a camera device is used to simulate the distorted display image corresponding to each observation position of the human eye, and then feature points are extracted from the standard dot matrix image and the distorted display image. By matching the feature points, the mapping relationship between the standard dot matrix image and the distorted display image can be determined, and based on the mapping relationship, the distortion parameter matrix of each partition can be further constructed as the distortion correction parameter.

[0087] To sum up, after determining the distortion correction parameters, in the subsequent image display process, the distortion correction parameters corresponding to the target partition can be used to correct the image distortion. The corrected image can more realistically reflect the shape and proportion of the object, reduce visual distortion and deformation, and thus provide users with a more accurate display effect.

[0088] Optionally, pixel points at different positions are obtained from the left and right eye display images respectively, and are fused multiple times to obtain multiple fused images, including: calling a shader plug-in in a three-dimensional image processing engine, obtaining pixel points at different positions from the left and right eye display images respectively, and are fused multiple times to obtain multiple fused images.

[0089] Specifically, the processor will call the shader plug-in in the 3D image processing engine. The shader plug-in is a component of the 3D image processing engine and has 3D image processing functions. The processor can call the shader plug-in and extract pixels at different positions from the left and right eye display images according to the preset fusion rules, and perform multiple fusions. In each fusion process, the shader plug-in will combine the selected pixels according to the preset fusion rules, and finally generate multiple fused images.

[0090] In summary, after multiple fusions of shader plug-ins, multiple fused images can be generated, thereby better meeting different application needs and visual effect requirements.

[0091] S130, acquiring a target fused image according to the real-time predicted position data of the left and right eyes and the multiple fused images, and projecting the target fused image onto a display screen for head-up display.

[0092] Figure 7A schematic diagram of the head-up display imaging process is provided for the first embodiment of the present invention. The head-up display (HUD) is a driving assistance instrument used on a vehicle. It is a comprehensive electronic display device composed of electronic components, display components, controllers, etc. The HUD can project vehicle speed, navigation information, warning information, etc. in the form of images and characters in front of the driver through optical components. The HUD can project images or information directly into the user's field of vision, allowing the user to see the relevant content without lowering his head.

[0093] Figure 8 A schematic diagram of the naked-eye 3D imaging principle is provided for the first embodiment of the present invention. The naked-eye 3D display technology refers to a 3D display technology that allows users to directly watch three-dimensional images with their naked eyes without wearing special 3D glasses, presenting a 3D effect. The front-end display part of the naked-eye 3D display technology needs to be calculated by the pixel imaging unit so that the left and right eyes of the person see different pictures, and merge them into a 3D effect picture in the brain. Figure 8 In the HUD, the optical design is performed on the HUD so that the user's left eye sees image P1 and the right eye sees image P2 through the imaging structure, such as the windshield. Due to the binocular parallax formed by images P1 and P2, the objects seen by the user have a sense of depth and space. The right eye sees the image of the right eye, which is synthesized into a three-dimensional picture with a sense of depth in the user's brain. Naked-eye 3D imaging can adjust the binocular parallax by changing the position between the two images, so that the distance of the virtual image perceived by the user changes (the actual distance of the virtual image remains unchanged). The closer the two images are, the closer the virtual image distance perceived by the user is; conversely, the farther the two images are, the farther the virtual image distance perceived by the user is.

[0094] Optionally, a target fused image is obtained based on the real-time predicted position data of the left and right eyes and multiple fused images, including: obtaining the fusion rounds corresponding to each area in the display screen in a mapping relationship between areas and fusion rounds established in advance based on the real-time predicted position data of the left and right eyes; and using the fusion images under the fusion rounds corresponding to each area to stitch together the target fused image.

[0095] Specifically, each position data has a corresponding preset fusion rule, and the fusion rule includes the number of fused images selected for each area for display. The processor can determine the fusion round corresponding to each area in the display screen in the pre-established mapping relationship between the area and the fusion round according to the real-time position data of the left and right eyes. Then, the fused images under the fusion round corresponding to each area are used for splicing operations to obtain the target fused image. It should be noted that the splicing process needs to consider the alignment and matching of pixels to ensure that the target fused image after splicing is visually continuous and consistent.

[0096] Specific application scenarios: Fig. 9 The present invention provides a schematic diagram of a fusion image head-up display process, such as Fig. 9 As shown, the DMS device obtains the position information of the left and right eyes in real time, and calculates the predicted eye position through the prediction algorithm, and transmits the eye position data to the 3D image processing engine. The 3D image processing engine can switch the image fusion rules and display content in real time based on the predicted eye position, and combine with image distortion correction to achieve the naked eye 3D effect in the AR HUD display. By combining the eye box position partitioning scheme of 3DHUD, the 3D image processing engine calculates the left and right fused images in real time, and determines the target fusion object in the target screen partition in real time to display the dynamic head-up display to the user.

[0097] The technical solution of the embodiment of the present invention can predict the current left and right eye positions of the user by analyzing the historical left and right eye positions of the user. By performing image fusion display in advance through prediction, image distortion and ghosting can be reduced, thereby avoiding the problem of imaging crosstalk. By acquiring pixel points at different positions from the left and right eye display images for multiple fusions, the details and three-dimensional sense of the image can be enhanced, providing a more realistic and vivid visual effect. By projecting the target fused image onto the display screen for head-up display, the user can obtain important information without looking down at the instrument, thereby improving driving safety.

[0098] Embodiment 2

[0099] Fig.10 This is a flowchart of a head-up display method for left-eye predicted fusion images provided in Embodiment 2 of the present invention. Based on Embodiment 1 above, this embodiment adds a specific process of obtaining pixels at different positions from the left-eye corrected images for multiple fusions to obtain multiple fusion images. The specific content of step S210 is roughly the same as step S110 in Embodiment 1, so it will not be repeated in this embodiment. Fig.10 As shown, the method includes:

[0100] S210 . Determine the real-time predicted position data of the left and right eyes of the user according to the historical position data of the left and right eyes of the user captured historically.

[0101] Optionally, the real-time predicted position data of the user's left and right eyes is determined based on the historical position data of the user's left and right eyes captured historically, including: obtaining N left and right eye positions of the user historically captured by the driver monitoring system, where N is an integer greater than 2; obtaining the first N-1 left and right eye positions in order of capture time from far to near to calculate the left and right eye historical position convergence value; determining the real-time predicted position data of the user's left and right eyes based on the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position.

[0102] Optionally, the real-time predicted position data of the left and right eyes of the user is determined based on the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value, including: if the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value is greater than a difference threshold, then obtaining a target prediction variable corresponding to the left and right eye historical position convergence value based on the variable configuration list; determining the sum of the target prediction variable and the Nth left and right eye historical position value as the real-time predicted position data of the left and right eyes; if the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value is less than or equal to a preset difference threshold, then determining the Nth left and right eye historical position value as the real-time predicted position data of the left and right eyes.

[0103] S220, determining the fusion times of the fused image, and dividing the display screen into a plurality of regions according to the fusion times; wherein the number of regions matches the fusion times.

[0104] S230 , expand each pixel of the left-eye and right-eye display images into RGB channel values ​​respectively, to obtain a left-eye RGB channel arrangement diagram and a right-eye RGB channel arrangement diagram.

[0105] Specifically, the processor will expand each pixel in the left-eye display image and the right-eye display image into RGB channel values ​​respectively to describe the color composition of each pixel.

[0106] S240 , determining fused images in each fusion round corresponding to the number of fusion times according to the left-eye RGB channel arrangement diagram and the right-eye RGB channel arrangement diagram.

[0107] Specifically, the processor will perform various fusion rounds in sequence according to the RGB channel arrangement diagram of the left eye and the RGB channel arrangement diagram of the right eye according to the pre-set fusion times. In each round of fusion, the RGB channel values ​​of the left eye and the right eye can be extracted and combined according to the set fusion strategy.

[0108] Optionally, according to the left-eye RGB channel arrangement diagram and the right-eye RGB channel arrangement diagram, a fused image under each fusion round corresponding to the number of fusion times is determined, including: generating a full-eye RGB channel arrangement diagram to be filled corresponding to the fused image; determining a fusion strategy corresponding to each fusion round, and according to the fusion strategy, selecting RGB channel values ​​from the left-eye RGB channel arrangement diagram and the right-eye RGB channel arrangement diagram to fill in the matching image position in the full-eye RGB channel arrangement diagram to be filled, so as to obtain the fused image under each fusion round.

[0109] The full-eye RGB channel arrangement map to be filled is a blank image whose size and pixel layout are the same as those of the fused image and is used to store the RGB channel values ​​selected during the fusion process.

[0110] Specifically, the processor can select corresponding RGB channel values ​​from the left eye RGB channel arrangement diagram and the right eye RGB channel arrangement diagram in each round of fusion according to the fusion strategy, and fill them into the corresponding positions in the full eye RGB channel arrangement diagram to be filled. It should be noted that the fused image obtained by each fusion is a complete full eye RGB channel arrangement diagram, and the processor can perform different degrees of fusion in each fusion round according to the fusion strategy.

[0111] Optionally, the fusion strategy includes: the number of RGB channel value groups, the number of first line indents, and the number of vertical indents.

[0112] Among them, the values ​​involved in the fusion strategy need to be adapted to the arrangement of the spectroscopic grating. The number of RGB channel value groups is related to the number of pixels covered by the grating unit. For example, when a grating unit can cover 8 pixels (i.e., the backlight lamp beads), the number of RGB channel value groups needs to be set to 4. At this time, among every 8 lamp beads, the 4 lamp beads on the left and the 4 lamp beads on the right will emit in different directions, and can be seen by the left eye and the right eye respectively.

[0113] Specifically, in each round, different indentation numbers of different rows are also used to adapt to various different arrangements of the spectroscopic gratings. The crosstalk phenomenon can be effectively reduced by arranging the gratings in an inclined manner.

[0114] It should be noted that the indentation of different rounds is mainly for traversing various states. Different states correspond to the display of pixels (lamp beads) covered by the grating. It should be noted that there is an upper limit to the number of states. For example, in the case of 4 groups, when each round is indented by 1 bit, the upper limit of the number of states is reached in 8 rounds. At this time, the situation of the 9th round will be the same as the 1st round. Therefore, the upper limit of the round is actually the upper limit of the number of states. When partitioning and selecting the number of fusion rounds, it is actually selecting the corresponding state for fusion operation. The fusion round needs to select the most appropriate state according to specific needs and conditions to achieve the best fusion effect and achieve the desired goal.

[0115] Optionally, according to the fusion strategy, RGB channel values ​​are selected from the left-eye RGB channel arrangement diagram and the right-eye RGB channel arrangement diagram respectively to fill the matching image positions in the full-eye RGB channel arrangement diagram to be filled, so as to obtain the fused images under each fusion round, including: obtaining the current fusion strategy corresponding to the current fusion round, and determining the initial filling mode of the first row corresponding to the full-eye RGB channel arrangement diagram to be filled according to the number of RGB channel value groupings in the current fusion strategy; adjusting the initial filling mode of the first row according to the number of indentation bits of the first row corresponding to the current fusion round to obtain the target filling mode of the first row; determining each non-first row filling mode in turn starting from the second row according to the target filling mode of the first row and the number of vertical indentation bits; selecting RGB channel values ​​from the left-eye RGB channel arrangement diagram and the right-eye RGB channel arrangement diagram according to the first row target filling mode and each non-first row filling mode to fill the matching image positions in the full-eye RGB channel arrangement diagram to be filled, so as to obtain the fused image under the current fusion round.

[0116] Specifically, according to the number of RGB channel value groups, it can be determined which channel values ​​are selected from the left eye and right eye RGB channel arrangement diagrams to fill the first row of pixels in the full eye RGB channel arrangement diagram to be filled. Then, according to the number of indents in the first row of the current fusion round, the filling position of the first row is moved to the right by a certain number of places to adjust the indentation of the initial filling method of the first row. Starting from the second row, the processor can determine the filling method of each non-first row in turn according to the target filling method of the first row and the number of vertical indents, where the number of vertical indents determines the vertical offset of each row of the filling position relative to the previous row.

[0117] Further, according to the first row target filling method and each non-first row filling method, the corresponding RGB channel values ​​are selected from the left eye and right eye RGB channel arrangement diagrams in turn to fill in the corresponding pixel points in the full eye RGB channel arrangement diagram to be filled, so as to complete the image filling fusion under the current fusion round and obtain the fused image of this round. The processor repeats the above steps to perform multiple fusion rounds, and finally obtains the fused images corresponding to each fusion round.

[0118] Optionally, in each fusion strategy under different fusion rounds, the number of RGB channel value groups and the number of vertical indents are the same; in adjacent fusion rounds, the number of first line indents in the latter fusion round is 1 more than the number of first line indents in the previous fusion round.

[0119] Among them, in different fusion rounds, the number of RGB channel value groups and the number of vertical indents are the same, which means that the number of RGB channel values ​​fused in each fusion round and the adjustment method of the vertical spacing between rows are fixed. In adjacent fusion rounds, the number of indents after the first line of the next fusion round is 1 more than the number of indents of the first line of the previous fusion round, which means that as the fusion rounds increase, the indent to the right of the first line increases by 1.

[0120] Specifically, the same number of RGB channel value groups ensures consistency in the division and processing of color channel values ​​in each fusion round, thereby maintaining the stability and consistency of color information processing in the fusion process as a whole.

[0121] Optionally, the number of RGB channel value groups is 4 and the number of vertical indents is 1.

[0122] Specifically, the number of RGB channel value groups of 4 means that every four RGB values ​​in the horizontal direction are grouped, and the number of vertical indents of 1 means that the RGB value indents one position downward in the vertical direction for each row. By grouping the four RGB values ​​in the horizontal direction of the left and right eye display images into a group, and indenting one position downward in the vertical direction for each row, the left and right eye images are fused N times, and each fusion is indented one position backward from the first row, and the pixels are saved by taking N fusion images. N is the total number of fusions corresponding to the number of screen partitions.

[0123] S250, obtaining a fusion round corresponding to each area in the display screen according to the mapping relationship between the areas and the fusion rounds established in advance according to the real-time position data of the left and right eyes.

[0124] S260: Use the fused images of the fusion rounds corresponding to each region to stitch together to obtain a target fused image.

[0125] The technical solution of the embodiment of the present invention can more intuitively understand the difference and distribution of the left and right eye images in the color channels by expanding each pixel of the left and right eye display images respectively to obtain the RGB channel arrangement diagrams of the left and right eyes, so that the fused image can better integrate the information of the left and right eyes. By fusing the left and right eye display images, the stereoscopic sense and depth sense of the image can be enhanced, so that the user can see a stereoscopic three-dimensional image.

[0126] Embodiment 3

[0127] Fig.11 This is a schematic diagram of the structure of a head-up display device for predicting and fusion images of left and right eyes provided in the third embodiment of the present invention. Fig.11 As shown, the device includes: a left-right eye position prediction module 310, which is used to determine the real-time predicted position data of the left-right eyes of the user according to the historical position data of the left-right eyes of the user captured in history;

[0128] The image fusion module 320 is used to obtain left and right eye display images to be fused and displayed, and obtain pixel points at different positions from the left and right eye display images for multiple fusions to obtain multiple fused images;

[0129] The target fused image determination and display module 330 is used to obtain the target fused image based on the real-time predicted position data of the left and right eyes and multiple fused images, and project the target fused image onto the display screen for head-up display.

[0130] Optionally, the left and right eye position prediction module 310 specifically includes: a left and right eye historical position acquisition unit, used to obtain N left and right eye positions of the user historically captured by the driver monitoring system, where N is an integer greater than 2; a left and right eye historical position convergence value calculation unit, used to obtain the first N-1 left and right eye positions in the order of capture time from far to near to calculate the left and right eye historical position convergence value; a left and right eye position prediction unit, used to determine the user's left and right eye real-time predicted position data based on the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position.

[0131] Optionally, the left and right eye position prediction unit is specifically used to: if the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value is greater than a difference threshold, then obtain the target prediction variable corresponding to the left and right eye historical position convergence value based on the variable configuration list; determine the sum of the target prediction variable and the Nth left and right eye historical position value as the left and right eye real-time predicted position data; if the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position value is less than or equal to a preset difference threshold, then determine the Nth left and right eye historical position value as the left and right eye real-time predicted position data.

[0132] Optionally, the device also includes: a display screen division module, which is used to obtain pixel points at different positions from the left and right eye correction images for multiple fusions to obtain multiple fused images, determine the number of fusion times of the fused images, and divide the display screen into multiple areas according to the number of fusions; wherein the number of areas matches the number of fusions.

[0133] Optionally, the image fusion module 320 specifically includes: an RBG arrangement diagram generation unit, which is used to expand each pixel point of the left and right eye display images into RGB channel values ​​respectively to obtain a left eye RGB channel arrangement diagram and a right eye RGB channel arrangement diagram; a fused image generation unit, which is used to determine the fused images in each fusion round corresponding to the number of fusion times according to the left eye RGB channel arrangement diagram and the right eye RGB channel arrangement diagram.

[0134] Optionally, the fused image generating unit specifically includes: a whole-eye RBG arrangement diagram generating subunit, used to generate a whole-eye RGB channel arrangement diagram to be filled corresponding to the fused image; an image fusion filling subunit, used to determine a fusion strategy corresponding to each fusion round, and according to the fusion strategy, select RGB channel values ​​from the left-eye RGB channel arrangement diagram and the right-eye RGB channel arrangement diagram to fill the matching image position in the whole-eye RGB channel arrangement diagram to be filled, so as to obtain the fused image under each fusion round.

[0135] Optionally, an image fusion filling subunit is specifically used to: obtain a current fusion strategy corresponding to a current fusion round, and determine an initial filling mode for the first row corresponding to the full-eye RGB channel arrangement diagram to be filled according to the number of RGB channel value groups in the current fusion strategy; adjust the initial filling mode for the first row according to the number of first row indentation bits corresponding to the current fusion round to obtain a target filling mode for the first row; determine each non-first row filling mode in turn starting from the second row according to the first row target filling mode and the number of vertical indentation bits; select RGB channel values ​​from the left eye RGB channel arrangement diagram and the right eye RGB channel arrangement diagram according to the first row target filling mode and each non-first row filling mode to fill the matching image position in the full-eye RGB channel arrangement diagram to be filled, to obtain a fused image under the current fusion round.

[0136] Optionally, the target fusion image determination and display module 330 is specifically used to: obtain the fusion round corresponding to each area in the display screen according to the mapping relationship between the pre-established area and the fusion round of the real-time position data of the left and right eyes; use the fusion images under the fusion round corresponding to each area to splice and obtain the target fusion image.

[0137] Optionally, the device also includes: a distortion correction module, which is used to determine the target partition according to the partition in which the real-time predicted left eye position and the real-time predicted right eye position fall in the virtual image coordinate space before obtaining pixel points at different positions from the left and right eye display images for multiple fusions; use the distortion correction parameters corresponding to the target partition to perform distortion correction on the left and right eye display images to obtain corrected left and right eye display images; wherein, the distortion correction parameters corresponding to each observation position are determined by displaying a standard dot matrix image on the display screen in advance, simulating the display image observed by the human eye at different observation positions to obtain the distorted display image corresponding to each observation position, and comparing the image difference between the distorted display image and the standard dot matrix image.

[0138] The technical solution of the embodiment of the present invention can predict the current left and right eye positions of the user by analyzing the historical left and right eye positions of the user. By performing image fusion display in advance through prediction, image distortion and ghosting can be reduced, thereby avoiding the problem of imaging crosstalk. By acquiring pixel points at different positions from the left and right eye display images for multiple fusions, the details and three-dimensional sense of the image can be enhanced, providing a more realistic and vivid visual effect. By projecting the target fused image onto the display screen for head-up display, the user can obtain important information without looking down at the instrument, thereby improving driving safety.

[0139] A head-up display device for left-eye predicted fused images provided by an embodiment of the present invention can execute a head-up display method for left-eye predicted fused images provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0140] Embodiment 4

[0141] Fig.12 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0142] like Fig.12 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0143] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0144] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a head-up display method for predicting fusion images of left and right eyes.

[0145] In some embodiments, a head-up display method for left-right eye prediction fusion images may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the head-up display method for left-right eye prediction fusion images described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform a head-up display method for left-right eye prediction fusion images in any other appropriate manner (e.g., by means of firmware).

[0146] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0147] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0148] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0149] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0150] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0151] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0152] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0153] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A head-up display method for left-eye and right-eye predicted fusion images, characterized in that: include: Determine the real-time predicted position data of the left and right eyes of the user according to the historical position data of the left and right eyes of the user captured in history; Obtaining left and right eye display images to be fused and displayed, respectively obtaining pixel points at different positions from the left and right eye display images for multiple fusions to obtain multiple fused images; A target fused image is acquired according to the real-time predicted position data of the left and right eyes and the multiple fused images, and the target fused image is projected onto a display screen for head-up display.

2. The method according to claim 1, characterized in that According to the historical position data of the left and right eyes of the user captured in history, the real-time predicted position data of the left and right eyes of the user are determined, including: Obtain N left and right eye positions of the user captured historically by the driver monitoring system, where N is an integer greater than 2; According to the order of capture time from far to near, obtain the first N-1 left and right eye positions to calculate the left and right eye historical position convergence value; The real-time predicted position data of the left and right eyes of the user are determined according to the data difference between the left and right eye historical position convergence value and the Nth left and right eye historical position.

3. The method according to claim 2, characterized in that According to the data difference between the left-right eye historical position convergence value and the Nth left-right eye historical position value, the user's left-right eye real-time predicted position data is determined, including: If the data difference between the left-right eye historical position convergence value and the Nth left-right eye historical position value is greater than the difference threshold, obtaining the target prediction variable corresponding to the left-right eye historical position convergence value based on the variable configuration list; Determine the sum of the target prediction variable and the Nth left-eye and right-eye historical position values ​​as the left-eye and right-eye real-time prediction position data; If the data difference between the left-right eye historical position convergence value and the Nth left-right eye historical position value is less than or equal to a preset difference threshold, the Nth left-right eye historical position value is determined as the left-right eye real-time predicted position data.

4. The method according to claim 1, characterized in that: Before acquiring pixel points at different positions from the left and right eye display images and fusing them multiple times to obtain multiple fused images, the method further includes: Determining the number of fusion times of the fused image, and dividing the display screen into a plurality of areas according to the number of fusion times; The number of regions matches the number of fusions.

5. The method according to claim 4, characterized in that Pixels at different positions are obtained from the left and right eye display images for multiple fusions to obtain multiple fused images, including: Expand each pixel of the left and right eye display images into RGB channel values ​​respectively to obtain a left eye RGB channel arrangement diagram and a right eye RGB channel arrangement diagram; According to the left eye RGB channel arrangement diagram and the right eye RGB channel arrangement diagram, a fused image in each fusion round corresponding to the fusion number is determined.

6. The method according to claim 5, characterized in that According to the left eye RGB channel arrangement diagram and the right eye RGB channel arrangement diagram, a fused image in each fusion round corresponding to the fusion number is determined, including: Generate a full-eye RGB channel arrangement map to be filled corresponding to the fused image; Determine the fusion strategy corresponding to each fusion round, and according to the fusion strategy, select RGB channel values ​​from the left eye RGB channel arrangement diagram and the right eye RGB channel arrangement diagram to fill the matching image position in the full eye RGB channel arrangement diagram to be filled, and obtain the fused image under each fusion round.

7. The method according to claim 6, characterized in that The fusion strategy includes: the number of RGB channel value groups, the number of first line indents and the number of vertical indents.

8. The method according to claim 7, characterized in that According to the fusion strategy, RGB channel values ​​are selected from the left eye RGB channel arrangement diagram and the right eye RGB channel arrangement diagram to be filled into the matching image position in the full eye RGB channel arrangement diagram to be filled, and the fused image under each fusion round is obtained, including: Obtain the current fusion strategy corresponding to the current fusion round, and determine the initial filling method of the first row corresponding to the full-eye RGB channel arrangement diagram to be filled according to the number of RGB channel value groups in the current fusion strategy; According to the number of first-line back-indent bits corresponding to the current fusion round, the back-indent adjustment is performed on the first-line initial filling mode to obtain the first-line target filling mode; According to the first line target filling mode and the number of vertical indents, starting from the second line, each non-first line filling mode is determined in sequence; According to the first-row target filling method and each non-first-row filling method, RGB channel values ​​are selected from the left-eye RGB channel arrangement diagram and the right-eye RGB channel arrangement diagram to be filled into the matching image position in the full-eye RGB channel arrangement diagram to be filled, so as to obtain a fused image under the current fusion round.

9. The method according to claim 7, characterized in that: In each fusion strategy under different fusion rounds, the number of RGB channel value groups and the number of vertical indents are the same; In adjacent fusion rounds, the number of indents after the first line of the latter fusion round is 1 more than the number of indents after the first line of the previous fusion round.

10. The method according to claim 9, characterized in that The number of RGB channel value groups is 4, and the number of vertical indent digits is 1.

11. The method according to claim 4, characterized in that Acquiring a target fused image according to the real-time predicted position data of the left and right eyes and the multiple fused images, including: According to the mapping relationship between the areas and fusion rounds established in advance, the left and right eye real-time predicted position data are used to obtain the fusion rounds corresponding to each area in the display screen; The target fused image is obtained by splicing the fused images in the fusion rounds corresponding to each region.

12. The method according to claim 1, characterized in that Before obtaining pixel points at different positions from the left and right eye display images for multiple fusions, it also includes: Determine a target partition according to the partition into which the real-time predicted left eye position and the real-time predicted right eye position fall in the virtual image coordinate space; Using the distortion correction parameters corresponding to the target partition, the left-eye and right-eye display images are subjected to distortion correction to obtain corrected left-eye and right-eye display images; Among them, the distortion correction parameters corresponding to each observation position are determined by displaying a standard dot matrix image on the display screen in advance and simulating the display image observed by the human eye at different observation positions to obtain the distorted display image corresponding to each observation position, and comparing the image difference between the distorted display image and the standard dot matrix image.

13. A head-up display device for predicting and fusion images of left and right eyes, characterized in that: include: The left and right eye position prediction module is used to determine the real-time predicted position data of the left and right eyes of the user based on the historical position data of the left and right eyes of the user captured in history; An image fusion module is used to obtain left and right eye display images to be fused and displayed, and obtain pixel points at different positions from the left and right eye display images for multiple fusions to obtain multiple fused images; The target fused image determination and display module is used to obtain the target fused image according to the real-time predicted position data of the left and right eyes and the multiple fused images, and project the target fused image onto the display screen for head-up display.

14. A carrier, characterized in that: The vehicle comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so as to enable the at least one processor to perform the method according to any one of claims 1 to 12.

15. A computer storage medium, characterized in that The computer storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method according to any one of claims 1 to 12 when executed.

Citation Information

Cited By

  • Head-up display method and device for predictive fused left-eye and right-eye image, vehicle, and medium

    WO2026025893A1