A head-up display brightness self-adaptive adjusting method, system, device and medium
By combining a brightness recognition model and an ambient brightness sensor, the system identifies the forward-facing real-world image and ambient brightness, and adjusts the brightness level of the head-up display system. This solves the problem of unclear display caused by changes in ambient light brightness, achieves more accurate brightness adjustment, and improves the user experience.
Patent Information
- Application Number
- CN202511156399.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-19
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2045-08-19
AI Technical Summary
Existing vehicle head-up display systems have low accuracy in adjusting brightness when ambient light changes, resulting in poor clarity of displayed content under different lighting conditions and affecting the user's visual experience.
By combining a brightness recognition model and an ambient brightness sensor, the system identifies the forward-facing real-world image and the ambient brightness, determines the primary and secondary brightness values, and adjusts the brightness level of the head-up display area based on the relationship between the two, thereby achieving more accurate brightness adjustment.
The brightness adjustment accuracy of the head-up display system has been improved under different lighting conditions, ensuring that the driver can see the projected content more clearly and comfortably.
Smart Images

Figure CN120656430B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive electronics technology, specifically to a method, system, device, and medium for adaptive brightness adjustment of a head-up display. Background Technology
[0002] Currently, head-up display (HUD) systems are widely used in the automotive field, allowing drivers to view key vehicle information through the windshield without taking their eyes off the road. HUD technology typically acquires information from the vehicle's sensors and systems and projects it onto the windshield. This information often includes vehicle speed, vehicle status, navigation guidance, and safety warnings. To provide accurate and real-time information display, the HUD system needs to effectively process and integrate this information. HUD systems typically use projection technology to project images or text onto the windshield. The projection technology needs to provide high-resolution, high-brightness, and high-contrast images to ensure the driver can clearly see the projected information.
[0003] In driving scenarios, changes in ambient light brightness have a significant impact on the clarity of HUD displays. With the same HUD brightness, when the ambient light increases, the brightness contrast between the HUD-projected content and the environment decreases, making the displayed content blurry and less clear; conversely, when the ambient light decreases, the brightness contrast between the HUD-projected content and the environment increases, making it particularly glaring for the viewer.
[0004] Therefore, adjusting the HUD's display brightness in real time based on ambient light levels is a way to improve the user's visual experience. The current conventional approach involves equipping the HUD system with a photosensor to acquire ambient light levels and automatically adjusting the HUD's brightness accordingly to ensure the projected information is clearly visible under various lighting conditions. However, this method of adjusting the HUD's display brightness based solely on a uniform brightness value from the sensor has relatively low accuracy. Summary of the Invention
[0005] In view of this, this application provides a method, system, device, and medium for adaptive brightness adjustment of a head-up display. It aims to solve or partially solve the problems existing in the prior art.
[0006] The first aspect of this application provides a method for adaptive brightness adjustment of a head-up display, the method comprising:
[0007] The brightness of the current forward-facing real-world image is identified by a brightness recognition model to obtain a first brightness value. The lens orientation for acquiring the forward-facing real-world image is consistent with the orientation of the driver's head-up display area.
[0008] Based on the first brightness value and the current second brightness value, a primary brightness value is determined. The current second brightness value is the current ambient brightness value collected by the ambient brightness sensor.
[0009] When the entire head-up display area is adjusted to the same brightness level, the brightness of the image in the current head-up display area is identified by the brightness recognition model to obtain the brightness value. The image in the current head-up display area is the area image corresponding to the head-up display area in the currently acquired forward real-scene image.
[0010] Based on the second brightness value, determine the brightness level corresponding to the second brightness value, and set the brightness level corresponding to the second brightness value as the current initial brightness level;
[0011] Based on the relationship between the primary brightness value and the secondary brightness value, the initial brightness level of the head-up display area is adjusted to obtain the corresponding target brightness level;
[0012] The head-up display area is controlled to currently display at the target brightness level.
[0013] A second aspect of this application provides a brightness adaptive adjustment system for a head-up display, the system comprising:
[0014] The first brightness determination module is used to perform brightness recognition on the current forward real-view image through a brightness recognition model to obtain a first brightness value, wherein the lens orientation for acquiring the forward real-view image is consistent with the orientation of the driver's head-up display area.
[0015] The main brightness determination module is used to determine the main brightness value based on the first brightness value and the current second brightness value, wherein the current second brightness value is the current ambient brightness collected by the ambient brightness sensor.
[0016] The brightness determination module is used to identify the brightness of the image in the current head-up display area by means of a brightness recognition model when the entire head-up display area is adjusted to the same brightness level, and to obtain the brightness value. The image in the current head-up display area is the area image in the currently acquired forward real-scene image that corresponds to the head-up display area.
[0017] The initial brightness level determination module is used to determine the brightness level corresponding to the second brightness value based on the second brightness value, and to determine the brightness level corresponding to the second brightness value as the current initial brightness level;
[0018] The brightness adjustment module is used to adjust the current initial brightness level of the head-up display area according to the relationship between the main brightness value and the secondary brightness value, so as to obtain the corresponding target brightness level.
[0019] The display control module is used to control the head-up display area to currently display at the target brightness level.
[0020] A third aspect of this application provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and running on the processor, wherein the computer program, when executed by the processor, implements the steps of a brightness adaptive adjustment method for a head-up display as described in the first aspect of this application.
[0021] The fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of a brightness adaptive adjustment method for a head-up display as described in the first aspect of this application.
[0022] The adaptive brightness adjustment method for head-up displays provided in this application has the following advantages:
[0023] This application provides a brightness adaptive adjustment method for a head-up display (HUD). First, a brightness recognition model is used to identify the brightness of the current forward-facing real-world image to obtain a first brightness value. The lens angle for acquiring the forward-facing real-world image is consistent with the driver's gaze direction towards the HUD area. Based on the first brightness value and a current second brightness value, a primary brightness value is determined. The current second brightness value is the current ambient brightness acquired by an ambient brightness sensor. While adjusting the entire HUD area at the same brightness level, the brightness recognition model is used to identify the brightness of the image within the current HUD area to obtain a secondary brightness value. The image within the current HUD area is the region in the current forward-facing real-world image corresponding to the HUD area. Based on the second brightness value, a brightness level corresponding to the second brightness value is determined, and this brightness level is set as the current initial brightness level. Based on the relationship between the primary and secondary brightness values, the current initial brightness level of the HUD area is adjusted to obtain a corresponding target brightness level. Finally, the HUD area is controlled to display at the target brightness level.
[0024] Therefore, based on the advantages and disadvantages of determining brightness values through image recognition as discovered in this application (advantages: fast speed, good directionality, high sensitivity in low-light environments, ability to identify local brightness, and guidance for more refined HUD effect adjustments; disadvantages: limited by algorithm accuracy and training data volume, resulting in certain errors, only recognizing light from a certain direction, and poor perception of ambient light, while in real-world environments, ambient light from all directions affects the human eye), and the advantages and disadvantages of brightness values collected by sensors (advantages: able to perceive a wider range of ambient illuminance, with relatively stable illuminance values in the same scene; disadvantages: excessively large measurement angle, too wide perception range, inability to perceive illuminance values in the direction of human vision, inability to distinguish local illuminance differences, and high latency), this application simultaneously employs both brightness determination methods to obtain a total global ambient brightness (i.e., a first brightness value). This method can retain the advantages of both brightness determination methods, not only enabling global ambient brightness determination across the entire scene (e.g., determining global ambient brightness based on image recognition when sensors cannot function in low-light environments), but also ensuring that the determined global ambient brightness is more accurate. Meanwhile, compared to previous methods that only used uniform brightness values from sensors as a reference for adjustment, this application's adjustment method is based on more accurate global ambient brightness. It considers not only global ambient brightness but also the local brightness of the head-up display area, resulting in better accuracy in adjusting the brightness of the head-up display area. This allows for more precise adjustment of the display brightness to a level that allows the driver to see the projected content more clearly and comfortably based on the current scene. The primary brightness value incorporates the influence of ambient light on the human eye, compensating for the insufficient coverage of secondary brightness values. Furthermore, the relatively stable primary brightness value effectively constrains and limits the variation range of secondary brightness values, reducing errors in image recognition results. Attached Figure Description
[0025] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 This is a flowchart illustrating a brightness adaptive adjustment method for a head-up display according to one embodiment of this application;
[0027] Figure 2 Another flowchart illustrating a head-up display brightness adaptive adjustment method according to one embodiment of this application;
[0028] Figure 3This is a flowchart illustrating a brightness adaptive adjustment method for a head-up display based on a lower and lower limit range, as shown in one embodiment of this application.
[0029] Figure 4 This is a schematic diagram illustrating the relationship between different upper and lower limits and brightness adjustment in a head-up display brightness adaptive adjustment method according to an embodiment of this application;
[0030] Figure 5 This is a schematic diagram illustrating the optimal brightness level range in a brightness adaptive adjustment method for a head-up display according to one embodiment of this application;
[0031] Figure 6 This is a schematic diagram of each sub-region of the head-up display area in a brightness adaptive adjustment method for a head-up display according to an embodiment of this application;
[0032] Figure 7 This is a schematic diagram illustrating a head-up display brightness adaptive adjustment system according to one embodiment of this application. Detailed Implementation
[0033] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0034] refer to Figure 1 , Figure 1 This is a flowchart illustrating a head-up display brightness adaptive adjustment method according to one embodiment of this application. Figure 1 As shown, the method includes:
[0035] Step S1: The brightness of the current forward-facing real-world image is identified by a brightness recognition model to obtain a first brightness value, wherein the lens orientation of the forward-facing real-world image acquisition is consistent with the orientation of the driver's head-up display area.
[0036] In this embodiment, the image acquisition device for capturing forward-facing real-view images can be a dashcam, an in-vehicle surround-view forward-facing camera, or other cameras capable of capturing forward-facing real-view images from inside the vehicle. The lens orientation for capturing forward-facing real-view images is consistent with the orientation of the driver's head-up display area, ensuring that the orientation of the captured forward-facing real-view images aligns with the orientation of the driver's head-up display area. The forward-facing real-view images are real-time scene images within the field of view of the vehicle's windshield.
[0037] In this embodiment, since the image acquisition device for acquiring the forward real-scene image can be an image acquisition device that shares functions with other devices, the actual acquired image may include not only the forward real-scene image but also other image content that does not belong to the forward real-scene image. Therefore, in practical applications, this application will set the effective area of brightness recognition processing and crop the forward real-scene image from the actual acquired image. Specifically: the coordinates of each vertex in the acquired image corresponding to the forward real-scene image are preset; the coordinates of each vertex in the acquired image corresponding to the forward real-scene image are determined by the coordinate points in the image coordinate system; the area enclosed by each vertex coordinate is determined as the forward real-scene image. A rectangular area is commonly enclosed by four vertices, but a rectangular area can also be determined by starting the coordinate point and widening and heightening it. The method of determining the forward real-scene image by vertices can also select irregular areas (such as setting five vertex coordinates, with the five vertex coordinates connected sequentially to form a pentagon), and the number of vertex coordinates can be increased or decreased as needed, resulting in a richer variety of area shapes and stronger adaptability.
[0038] In this embodiment, a qualified brightness recognition model is pre-trained, and the brightness of the current forward real-world image is recognized by the brightness recognition model to obtain the corresponding first brightness value.
[0039] Step S2: Determine the main brightness value based on the first brightness value and the current second brightness value. The current second brightness value is the current ambient brightness collected by the ambient brightness sensor.
[0040] In this embodiment, an ambient brightness sensor is installed on the roof or below the windshield between the driver and passenger seats. This sensor collects the current ambient brightness, which is then used as the second brightness value. After obtaining this second brightness value, the primary brightness value of the current global environment is determined based on the current first brightness value and the current second brightness value. An optional, simple implementation involves summing the current first brightness value and the current second brightness value and taking the average as the primary brightness value.
[0041] Step S3: With the entire head-up display area adjusted to the same brightness level, the brightness of the image in the current head-up display area is identified by the brightness recognition model to obtain the brightness value. The image in the current head-up display area is the area image corresponding to the head-up display area in the currently acquired forward real-scene image.
[0042] In this embodiment, when the entire head-up display area of the windshield is adjusted to the same brightness level, this application will crop the area image located within the head-up display area from the current forward-facing real-view image in step S1. Specifically, the cropping method is as follows: First, the image acquisition device for acquiring the forward-facing real-view image is fixed. The coordinate range of the area image located within the head-up display area in the forward-facing real-view image acquired by the image acquisition device is pre-calibrated in the image coordinate system. Then, the image within the calibrated coordinate range in the forward-facing real-view image is directly cropped. The resulting cropped image is the image within the head-up display area. The forward-facing real-view image, as a component of the global ambient brightness, is much larger than the image within the head-up display area.
[0043] In this embodiment, after cropping the image located within the head-up display area in the current forward real-view image, the brightness of the current image within the head-up display area is identified using the same brightness recognition model as in step S1, thereby obtaining the brightness value of this local area of the head-up display area.
[0044] Step S4: Determine the brightness level corresponding to the second brightness value based on the second brightness value, and set the brightness level corresponding to the second brightness value as the current initial brightness level.
[0045] In this embodiment, the application pre-defines the mapping relationship between each different second brightness value and brightness level. After determining the current second brightness value, the brightness level corresponding to the current second brightness value is determined by querying the mapping relationship, and the determined brightness level is set as the current initial brightness level. The current initial brightness level is not the currently displayed brightness level, but rather a brightness level that needs to be adjusted based on this initial brightness level. For example, if the current initial brightness level is determined to be level 10, it will not be displayed at level 10. Instead, the current primary brightness value and the current secondary brightness value are determined based on steps S1 to S3, and then the brightness is adjusted based on these two values at the initial brightness level of level 10 to obtain the corresponding target brightness level (e.g., level 15). Finally, the content displayed in the head-up display area is displayed at the current brightness level of level 15.
[0046] Step S5: Based on the relationship between the primary brightness value and the secondary brightness value, adjust the current initial brightness level of the head-up display area to obtain the corresponding target brightness level.
[0047] In this embodiment, after obtaining the current primary brightness value and secondary brightness value through steps S1 to S3, the initial brightness level of the head-up display area is adjusted based on the brightness deviation between the two to obtain the corresponding target brightness level. One optional brightness adjustment method is as follows: when the secondary brightness value is higher than the primary brightness value, it indicates that the brightness of this local area of the head-up display area is higher than the global ambient brightness. In this case, the initial brightness level of the head-up display area is appropriately increased so that the user can see the content displayed in the head-up display area more clearly; when the secondary brightness value is lower than the primary brightness value, it indicates that the brightness of this local area of the head-up display area is lower than the global ambient brightness. In this case, the initial brightness level of the head-up display area is appropriately decreased to ensure that the driver can see the displayed content of the head-up display area more clearly while providing the driver with a more comfortable viewing experience.
[0048] Step S6: Control the head-up display area to currently display at the target brightness level.
[0049] In this embodiment, after determining the current target brightness level through step S5, a control signal corresponding to the target brightness level is sent to the head-up display system to control the head-up display system to display the head-up display content at the target brightness level.
[0050] In this embodiment, the brightness level of the head-up display (HUD) system refers to the brightness at which the HUD system displays the content. This brightness level is a projection brightness level of the light source projected onto the vehicle's windshield by the HUD system, directly determining the display brightness of the projected content. A higher projection brightness level of the light source projected onto the windshield results in a brighter display of the projected content. The secondary brightness value in this application refers to the background brightness of the HUD area on the windshield (i.e., the ambient brightness reflected by this small HUD area), while the primary brightness value reflects the global ambient brightness of a larger area. Of the brightness level and secondary brightness value, one represents the light source brightness projected onto the HUD area on the windshield when the HUD system projects the content, and the other represents the background brightness of the HUD area. The number of brightness levels depends on the hardware's capabilities (e.g., thousand-level dimming, ten-thousand-level dimming), and the level adjustment is primarily achieved by changing the proportion of the high-level PWM signal.
[0051] This application provides a method for adaptive brightness adjustment of a head-up display (HUD). First, a brightness recognition model is used to identify the brightness of the current forward-facing real-world image to obtain a first brightness value. The lens used to acquire the forward-facing real-world image is oriented in the same direction as the driver's gaze towards the HUD area. Based on the first brightness value and a current second brightness value, a primary brightness value is determined. The current second brightness value is the current ambient brightness acquired by an ambient brightness sensor. While adjusting the entire HUD area at the same brightness level, the brightness recognition model is used to identify the brightness of the image within the current HUD area to obtain a secondary brightness value. The image within the current HUD area is the region in the current forward-facing real-world image corresponding to the HUD area. Based on the relationship between the primary and secondary brightness values, the initial brightness level of the HUD area is adjusted to obtain a corresponding target brightness level. Finally, the HUD area is controlled to display at the target brightness level.
[0052] Therefore, based on the advantages and disadvantages of determining brightness values through image recognition as discovered in this application (advantages: fast speed, good directionality, high sensitivity in low-light environments, ability to identify local brightness, and guidance for more refined HUD effect adjustments; disadvantages: limited by algorithm accuracy and training data volume, resulting in certain errors, only recognizing light from a certain direction, and poor perception of ambient light, while in real-world environments, ambient light from all directions affects the human eye), and the advantages and disadvantages of brightness values collected by sensors (advantages: able to perceive a wider range of ambient illuminance, with relatively stable illuminance values in the same scene; disadvantages: excessively large measurement angle, too wide perception range, inability to perceive illuminance values in the direction of human vision, inability to distinguish local illuminance differences, and high latency), this application simultaneously employs both brightness determination methods to obtain a total global ambient brightness (i.e., a first brightness value). This method can retain the advantages of both brightness determination methods, not only enabling global ambient brightness determination across the entire scene (e.g., determining global ambient brightness based on image recognition when sensors cannot function in low-light environments), but also ensuring that the determined global ambient brightness is more accurate. Meanwhile, compared to the previous method of adjusting brightness based solely on a uniform brightness value from a sensor, this application's adjustment method is based on a more accurate global ambient brightness. It considers not only the global ambient brightness but also the local brightness of the head-up display area, resulting in better accuracy in adjusting the brightness of the head-up display area. This allows for more precise adjustment of the display brightness to a level that allows the driver to see the projected content more clearly and comfortably based on the current scene.
[0053] In conjunction with the above embodiments, in one implementation, this application also provides a brightness adaptive adjustment method for a head-up display. In this brightness adaptive adjustment method, step S2 may include: determining a second weight corresponding to the second brightness value based on the second brightness value; determining a first weight for the first brightness value based on the second weight and a total weight; and performing a weighted summation of the first brightness value and the second brightness value based on the first weight and the second weight to obtain a main brightness value.
[0054] In this embodiment, the application pre-defines a mapping relationship between each different second brightness value and a second weight, wherein the second weight is the weight assigned to the second brightness value. Each second brightness value in this mapping relationship has a corresponding second weight value.
[0055] In this embodiment, since the image can only recognize grayscale values from 0 to 255, image recognition cannot accurately reflect brightness in brighter ambient light conditions. Therefore, this application increases the weight of the second brightness value collected by the ambient brightness sensor relative to the main brightness value in brighter ambient light conditions to obtain a more accurate global ambient brightness. Conversely, in dimmer ambient light conditions, the accuracy of the ambient brightness sensor decreases as the ambient light dims. In this scenario, image recognition can better reflect brightness compared to the ambient brightness sensor. Therefore, this application decreases the weight of the second brightness value collected by the ambient brightness sensor relative to the main brightness value in dimmer ambient light conditions to obtain a more accurate global ambient brightness. Thus, the pre-defined mapping relationship between the second brightness value and the second weight in this application must satisfy the following: the smaller the second brightness value, the smaller the corresponding second weight value; the larger the second brightness value, the larger the corresponding second weight value.
[0056] In this embodiment, during an allocation process, the sum of the weights of the first weight and the second weight is 1, where the first weight is the weight assigned to the first brightness value. After determining the current second brightness value, the second weight corresponding to the second brightness value is determined by querying a pre-defined mapping relationship. Based on the determined second weight corresponding to the second brightness value, and based on the fact that the sum of the weights of the first weight and the second weight is 1, the first weight corresponding to the obtained first brightness value is determined. After obtaining the first weight corresponding to the current first brightness value and the second weight corresponding to the current second brightness value, the current first brightness value and the current second brightness value are weighted and summed to obtain the current main brightness value.
[0057] In conjunction with the above embodiments, in one implementation, this application also provides a method for adaptive brightness adjustment of a head-up display. In this method, step S5 may include: determining the difference between the secondary brightness value and the primary brightness value; when the secondary-primary difference is greater than zero, increasing the current initial brightness level of the head-up display area to obtain a corresponding target brightness level; when the secondary-primary difference is less than zero, decreasing the current initial brightness level of the head-up display area to obtain a corresponding target brightness level; and when the secondary-primary difference is equal to zero, determining the current initial brightness level of the head-up display area as the target brightness level.
[0058] In this embodiment, one possible implementation of step S5 is as follows: Figure 2 As shown, the current slave-master difference value is obtained by subtracting the current master brightness value from the current slave brightness value. If the current slave-master difference value is greater than zero, the current initial brightness level of the head-up display area is increased to obtain the corresponding target brightness level. If the current slave-master difference value is less than zero, the current initial brightness level of the head-up display area is decreased to obtain the corresponding target brightness level. If the current slave-master difference value is equal to zero, the current initial brightness level of the head-up display area is determined as the target brightness level.
[0059] In this embodiment, the reason for increasing the initial brightness level of the head-up display area when the difference between the primary and secondary brightness values is greater than zero (i.e., when the secondary brightness value is greater than the primary brightness value) allows the user to see the displayed content more clearly is that when the HUD displays content in the head-up display area, it is displayed through the reflection of the light source projected by the HUD system. Since the head-up display area is transparent, the ambient light in the background of this area is also reflected. At this time, the reflection of the ambient light and the reflection of the light projected by the HUD system merge. If the brightness of the reflected light from the HUD system's light source is insufficient, most of the reflected light will be washed away by the reflected ambient light, resulting in unclear visibility. Therefore, this application determines that the head-up display area is too bright when the secondary brightness value is greater than the primary brightness value, and accordingly increases the brightness of the light source projected by the HUD system. This ensures that after some of the reflected light from the HUD system is washed away by the ambient light, there is still sufficient brightness for the user to clearly see the displayed content. Therefore, when the master and slave brightness values are similar (or have minimal deviation), it is determined that the background ambient brightness of the head-up display area is consistent (or nearly consistent) with the overall ambient brightness. In this case, the HUD system can be directly controlled to project a light source with a brightness corresponding to the initial brightness level for content display, allowing the user to clearly see the displayed content. For ease of understanding, a specific example is used: if the area in front of the vehicle is filled with dark-colored vehicles, the master-slave brightness value deviation is small, and the initial brightness level is the optimal brightness level for this environment, requiring no further adjustment. When the master and slave brightness values deviate significantly, and the slave brightness value is greater than the master brightness value, it is determined that the background ambient brightness of the head-up display area is higher than the overall ambient brightness. In this case, the initial brightness level is increased, and the HUD system is then controlled to project a light source with a brightness corresponding to the target brightness level obtained after the increase for content display. For ease of understanding, a specific example is used: if there are many dark-colored vehicles in front of the vehicle, and a white vehicle is present, and from the driver's perspective looking at the head-up display area, the white vehicle is located within the head-up display area, serving as the background. Because its color is white, if the HUD system continues to control the displayed content at an initial brightness level that matches the current ambient brightness, the user will have difficulty seeing the content clearly. Therefore, the initial brightness level is appropriately increased to ensure that the user can clearly see the displayed content. Specifically, the presence of the white vehicle causes the secondary brightness value to be greater than the primary brightness value. Therefore, this application increases the initial brightness level when the secondary brightness value is greater than the primary brightness value so that the user can clearly see the displayed content in this scenario. It should be understood that the example of the white vehicle is merely a specific example to facilitate understanding of the solution in this application. There are many scenarios where the secondary brightness value of the head-up display area is greater than the brightness of the entire environment, and no specific limitation is made here.
[0060] In conjunction with the above embodiments, in one implementation, this application also provides a brightness adaptive adjustment method for a head-up display. In this head-up display brightness adaptive adjustment method, step S5 may include: determining the difference between the secondary brightness value and the primary brightness value; determining the relationship between the obtained secondary-primary difference value and a basic lower / lower limit range; when the secondary-primary difference value is greater than the basic lower limit value of the basic lower / lower limit range, increasing the current initial brightness level of the head-up display area to obtain a corresponding target brightness level; when the secondary-primary difference value is less than the basic lower limit value of the basic lower / lower limit range, decreasing the current initial brightness level of the head-up display area to obtain a corresponding target brightness level; and when the secondary-primary difference value is within the basic lower / lower limit range, determining the current initial brightness level of the head-up display area as the target brightness level.
[0061] In this embodiment, to avoid problems such as driver eye fatigue and driver distraction caused by frequent adjustment of the head-up display area's brightness, this application sets a basic lower limit range. The display brightness is only adjusted when the main difference value exceeds this basic lower limit range. This method can effectively avoid frequent adjustment of the head-up display area's brightness.
[0062] Specifically, another optional implementation of step S5 is as follows: Figure 3 As shown, the current slave-master difference value is obtained by subtracting the current master brightness value from the current slave brightness value. When the current slave-master difference value is greater than the lower limit of the preset lower limit range, the initial brightness level of the head-up display area is increased to obtain the corresponding target brightness level. When the current slave-master difference value is less than the lower limit of the preset lower limit range, the initial brightness level of the head-up display area is decreased to obtain the corresponding target brightness level. When the current slave-master difference value is within the lower limit range (i.e., less than or equal to the lower limit of the preset lower limit range, or greater than or equal to the lower limit of the preset lower limit range), the current initial brightness level of the head-up display area is determined as the target brightness level. The lower limit range can be set according to the actual application scenario and is not specifically limited here.
[0063] In conjunction with the above embodiments, in one implementation, this application also provides a method for adaptive brightness adjustment of a head-up display. In this method, when the primary difference value is greater than the basic limit of the basic lower limit range, the initial brightness level of the head-up display area is increased to obtain a corresponding target brightness level. This includes: when the primary difference value is greater than the basic limit of the basic lower limit range, determining the relationship between the primary difference value and each upper limit value in a preset upper limit value group, where the preset upper limit value group includes the basic upper limit value; determining the maximum upper limit value greater than the primary difference value from the preset upper limit value group; determining the target increase level number corresponding to the maximum upper limit value in a first mapping relationship, where the first mapping relationship records the increase level number corresponding to each upper limit value; and increasing the current initial brightness level of the head-up display area by the target increase level number to obtain the corresponding target brightness level.
[0064] In this embodiment, to improve the precision of display brightness adjustment and better adjust the display brightness to a level that allows the driver to see the projected content more clearly and comfortably under different environmental conditions, this application pre-sets a number of different upper limit values, which form a preset upper limit value group, including a basic upper limit value. Simultaneously, this application pre-sets a corresponding number of adjustment levels for each upper limit value in the preset upper limit value group, forming a first mapping relationship. For example, the upper limit value Xi has a corresponding number of adjustment levels Ai (i takes values from 1 to n). The preset number can be set according to the actual application scenario and is not specifically limited here.
[0065] In this embodiment, as Figure 4As shown, when the current master-slave difference is greater than the base limit of the basic range, the relationship between the current master-slave difference and each upper limit value in the preset upper limit value group is determined. Then, the maximum upper limit value that the current master-slave difference is greater than is determined from the preset upper limit value group. At this time, the current master-slave difference is greater than the maximum upper limit value, but less than the next upper limit value in the preset upper limit value group, which is ordered from smallest to largest. In this case, as long as the current master-slave difference is between the maximum upper limit value and the next upper limit value, the corresponding upward adjustment level is the upward adjustment level corresponding to the maximum upper limit value in the first mapping relationship. For example, a preset upper limit value group includes upper limit values X1 to Xn, which are sorted in ascending order. The current master-slave difference is greater than X1, X2, and X3 in the preset upper limit value group, and X3 is the maximum value among X1, X2, and X3. Therefore, the maximum upper limit value that the current master-slave difference is greater than is determined to be X3. At the same time, the current master-slave difference is less than the next upper limit value X4 after the maximum upper limit value X3. In this case, the current master-slave difference is located between the maximum upper limit value X3 and the next upper limit value X4. The corresponding upward adjustment level is the upward adjustment level corresponding to the maximum upper limit value X3 in the first mapping relationship. Then, the target upward adjustment level corresponding to the maximum upper limit value is determined in the first mapping relationship. The first mapping relationship records the upward adjustment level corresponding to each upper limit value. For example, if the maximum upper limit value that the master-slave difference is greater than is X3, the upward adjustment level corresponding to the upper limit value X3 recorded in the first mapping relationship is 5. After determining the target adjustment level number corresponding to the maximum upper limit value in the first mapping relationship, the current initial brightness level of the head-up display area is increased by the target adjustment level number to obtain the corresponding target brightness level. For example, if the current initial brightness level is 10 and the determined target adjustment level number is 5, then the current initial brightness level of the head-up display area is increased by 5 levels to obtain the corresponding target brightness level of 15.
[0066] In conjunction with the above embodiments, in one implementation, this application also provides a brightness adaptive adjustment method for a head-up display. In this brightness adaptive adjustment method, when the primary difference value is less than the lower limit value of the basic lower limit range, the current initial brightness level of the head-up display area is lowered to obtain a corresponding target brightness level. This includes: when the primary difference value is less than the lower limit value of the basic lower limit range, determining the magnitude relationship between the primary difference value and each lower limit value in a preset lower limit value group, the preset lower limit value group including the basic lower limit value; determining the minimum lower limit value less than the primary difference value from the preset lower limit value group; determining the target reduction level number corresponding to the minimum lower limit value in a second mapping relationship, the second mapping relationship recording the reduction level number corresponding to each lower limit value; and reducing the current initial brightness level of the head-up display area by the target reduction level number to obtain the corresponding target brightness level.
[0067] In this embodiment, similarly, to improve the precision of display brightness adjustment and better adjust the display brightness to a level that allows the driver to see the projected content more clearly and comfortably under different environmental conditions, this application pre-sets a number of different lower limit values, which form a preset lower limit value group, including a basic lower limit value. Simultaneously, this application pre-sets a corresponding number of adjustment levels for each lower limit value in the preset lower limit value group, forming a second mapping relationship. For example, the lower limit value Yi has a corresponding number of adjustment levels Bi (i takes values from 1 to n).
[0068] In this embodiment, as Figure 4As shown, when the current master-slave difference is greater than the lower limit of the basic lower limit range, the relationship between the current master-slave difference and each lower limit value in the preset lower limit value group is determined. Then, the minimum lower limit value less than the current master-slave difference is determined from the preset lower limit value group. At this time, the current master-slave difference is less than the minimum lower limit value, and greater than the next lower limit value in the preset lower limit value group, which is ordered from largest to smallest. In this case, as long as the current master-slave difference is between the minimum lower limit value and the next lower limit value, the corresponding downgrade level is the downgrade level number corresponding to the minimum lower limit value in the second mapping relationship. For example, a preset lower limit value group includes lower limit values Y1 to Yn, which are sorted from largest to smallest. The current master-slave difference is less than Y1, Y2, and Y3 in the preset lower limit value group, and Y3 is the minimum value among Y1, Y2, and Y3. Therefore, the minimum lower limit value that the current master-slave difference is less than is determined to be X3. At the same time, the current master-slave difference is greater than the next lower limit value Y4 of the minimum lower limit value Y3. At this time, the current master-slave difference is located between the minimum lower limit value Y3 and the next lower limit value Y4. The corresponding downgrade level is the downgrade level corresponding to the minimum lower limit value Y3 in the second mapping relationship. Then, the target downgrade level corresponding to the minimum lower limit value is determined in the second mapping relationship. The second mapping relationship records the downgrade level corresponding to each lower limit value. For example, if the minimum lower limit value that the master-slave difference is less than is Y3, the downgrade level corresponding to the lower limit value Y3 recorded in the second mapping relationship is 5. After determining the target reduction level number corresponding to the minimum lower limit value in the second mapping relationship, the current initial brightness level of the head-up display area is reduced by the target reduction level number to obtain the corresponding target brightness level. For example, if the current initial brightness level is 10 and the determined target reduction level number is 5, then the current initial brightness level of the head-up display area is reduced by 5 levels to obtain the corresponding target brightness level of 5.
[0069] In conjunction with the above embodiments, in one implementation, this application also provides a brightness adaptive adjustment method for a head-up display. This brightness adaptive adjustment method for a head-up display further includes: determining an optimal brightness level range corresponding to the second brightness value based on the second brightness value; determining the relationship between the target brightness level and the optimal brightness level range; updating the target brightness level to the upper limit of the optimal brightness level range when the target brightness level is greater than the upper limit of the optimal brightness level range; and updating the target brightness level to the lower limit of the optimal brightness level range when the target brightness level is less than the lower limit of the optimal brightness level range.
[0070] In this embodiment, to prevent excessive adjustment of the actual brightness, such as Figure 5 As shown, this application pre-calibrates a corresponding optimal brightness level range for each second brightness value. Figure 5 The system records the optimal brightness level range corresponding to various second brightness values, including an upper limit and a lower limit. After determining the current second brightness value, the optimal brightness level range corresponding to that value is obtained. Then, after determining the current target brightness level, it is further compared with the optimal brightness level range corresponding to the current second brightness value. If the current target brightness level is greater than the upper limit of the optimal brightness level range, the current target brightness level is updated to the upper limit of the optimal brightness level range; that is, the upper limit of the optimal brightness level range is determined as the new target brightness level, and the content displayed in the head-up display area is currently displayed at this new target brightness level. If the current target brightness level is less than the lower limit of the optimal brightness level range, the current target brightness level is updated to the lower limit of the optimal brightness level range; that is, the lower limit of the optimal brightness level range is determined as the new target brightness level, and the content displayed in the head-up display area is currently displayed at this new target brightness level. When the current target brightness level is within the range of the optimal brightness level, the current target brightness level is not updated, and the content displayed in the head-up display area is directly displayed using the current target brightness level.
[0071] In conjunction with the above embodiments, in one implementation, this application also provides a method for adaptive brightness adjustment of a head-up display (HUD). This method further includes: when adjusting the brightness level of the entire HUD area by region, using a brightness recognition model to identify the brightness of the image in each current HUD sub-region, obtaining a secondary brightness value for each HUD sub-region, wherein the image in the current HUD sub-region is the region image corresponding to the HUD sub-region in the currently acquired forward real-scene image; adjusting the initial brightness level of each HUD sub-region according to the relationship between the primary brightness value and the secondary brightness values of each HUD sub-region, obtaining a target brightness level for each HUD sub-region; and controlling each HUD region to currently display at its respective target brightness level.
[0072] In this embodiment, when the entire head-up display area has regional brightness level adjustment, that is, when the entire head-up display area can be divided into multiple sub-regions, and the display brightness of the head-up display content can be adjusted independently for each sub-region, this application will crop the regional images located within each head-up display sub-region from the current forward-facing real-view image in step S1. The specific cropping method is as follows: First, the image acquisition device for acquiring the forward-facing real-view image is fixed. The coordinate range of the regional images located within each head-up display sub-region in the image coordinate system is pre-calibrated in the forward-facing real-view image acquired by the image acquisition device. Then, the images within each calibrated coordinate range in the forward-facing real-view image are directly cropped. The images obtained by this cropping are the images within each head-up display sub-region. Figure 6 As shown, Figure 6 The image shows the positional relationship of the forward-facing real-view image, the head-up display area, and each head-up display sub-area in the image coordinate system. The largest rectangular area is the forward-facing real-view image. P1 in the forward-facing real-view image is the image within the head-up display area, while P11, P12, P13, and P14 are the images within each head-up display sub-area of the head-up display area. The brightness of the head-up display content in each head-up display sub-area can be adjusted independently.
[0073] In this embodiment, after cropping the images located within each head-up display (HUD) sub-region of the current forward-facing real-world image, the brightness value of each image within the HUD sub-region is determined through image recognition. Since the method for determining the brightness value of each image within the HUD sub-region is the same, we will use an image within a single HUD sub-region as an example: The brightness of the current image within the HUD sub-region is recognized using the same brightness recognition model as in step S1, thus obtaining the brightness value of this local sub-region. Through the same implementation method, each HUD sub-region will obtain a brightness value corresponding to its own HUD sub-region.
[0074] In this embodiment, the implementation method for adjusting the initial brightness level of each head-up display (HUD) sub-region after obtaining its secondary brightness value is the same. Taking one HUD sub-region as an example: after obtaining the secondary brightness value of the HUD sub-region, the initial brightness level of the HUD sub-region is adjusted according to the relationship between the primary brightness value determined in steps S1 to S2 and the secondary brightness value of the HUD sub-region, thereby obtaining the target brightness level corresponding to the HUD sub-region; then, the HUD sub-region is controlled to display content at its current target brightness level. The method for determining the current initial brightness level of the HUD sub-region is also the same: based on the current secondary brightness value, a brightness level corresponding to the secondary brightness value is determined; then, the brightness level corresponding to the secondary brightness value is determined as the current initial brightness level of the HUD sub-region. Through the same implementation method, the current initial brightness level of each HUD sub-region can be adjusted to obtain the target brightness level corresponding to each HUD sub-region.
[0075] In this embodiment, the implementation method for adjusting the current initial brightness level of the head-up display sub-region based on the relationship between the main brightness value determined in steps S1 to S2 and the secondary brightness value of the head-up display sub-region to obtain the target brightness level corresponding to the head-up display sub-region is the same as that in step S5. It only requires replacing the current secondary brightness value of the head-up display area with the current secondary brightness value of the head-up display sub-region, and replacing the current initial brightness level of the head-up display area with the current initial brightness level of the head-up display sub-region.
[0076] The adaptive brightness adjustment method for head-up displays (HUDs) provided in this application determines the display brightness of the HUD using a primary and secondary brightness value approach. This approach considers both ambient light and brightness differences along the visual direction, and can also guide local brightness adjustment for different sub-regions of the HUD image (when supported by the HUD hardware). Furthermore, this primary and secondary brightness value approach can cover scenarios that sensors cannot detect, such as dark scenes, providing an effective solution for brightness recognition across all scenes. This application also exhibits high sensor compatibility, working with both high-precision and low-precision brightness sensors, broadening compatibility and providing a feasible solution for cost reduction. Moreover, this primary and secondary brightness value approach for fine-tuning brightness levels effectively compensates for errors introduced by the algorithm, offsetting these errors through differential values.
[0077] Based on the same inventive concept, one embodiment of this application provides a brightness adaptive adjustment system for a head-up display, such as... Figure 7 As shown, the brightness adaptive adjustment system 700 of the head-up display includes:
[0078] The first brightness determination module 701 is used to perform brightness recognition on the current forward real-scene image through a brightness recognition model to obtain a first brightness value, wherein the lens orientation for acquiring the forward real-scene image is consistent with the orientation of the driver's head-up display area.
[0079] The main brightness determination module 702 is used to determine the main brightness value based on the first brightness value and the current second brightness value, wherein the current second brightness value is the current ambient brightness collected by the ambient brightness sensor.
[0080] The brightness determination module 703 is used to perform brightness recognition on the image in the current head-up display area by means of a brightness recognition model when the entire head-up display area is adjusted to the same brightness level, and obtain the brightness value. The image in the current head-up display area is the area image in the currently acquired forward real-view image that corresponds to the head-up display area.
[0081] The initial brightness level determination module 704 is used to determine the brightness level corresponding to the second brightness value based on the second brightness value, and to determine the brightness level corresponding to the second brightness value as the current initial brightness level;
[0082] The brightness adjustment module 705 is used to adjust the current initial brightness level of the head-up display area according to the relationship between the main brightness value and the secondary brightness value, so as to obtain the corresponding target brightness level.
[0083] The display control module 706 is used to control the head-up display area to currently display at the target brightness level.
[0084] Optionally, the main brightness determination module 702 includes:
[0085] The second weight determination module is used to determine the second weight corresponding to the second brightness value based on the second brightness value.
[0086] The first weight determination module is used to determine the first weight of the first brightness value based on the second weight and the total weight.
[0087] The main brightness determination submodule is used to perform a weighted summation of the first brightness value and the second brightness value according to the first weight and the second weight to obtain the main brightness value.
[0088] Optionally, the brightness adjustment module 705 includes:
[0089] The slave difference value determination module is used to determine the slave-master difference value between the slave brightness value and the master brightness value;
[0090] The first adjustment module is used to increase the current initial brightness level of the head-up display area when the difference value is greater than zero, so as to obtain the corresponding target brightness level.
[0091] The second adjustment module is used to lower the current initial brightness level of the head-up display area when the main difference value is less than zero, so as to obtain the corresponding target brightness level.
[0092] The third adjustment module is used to determine the current initial brightness level of the head-up display area as the target brightness level when the difference between the primary and secondary values is equal to zero.
[0093] Optionally, the brightness adjustment module 705 includes:
[0094] The slave difference value determination module is used to determine the slave-master difference value between the slave brightness value and the master brightness value;
[0095] The first comparison module is used to determine the relationship between the obtained primary difference value and the basic lower and lower limits range;
[0096] The fourth adjustment module is used to adjust the current initial brightness level of the head-up display area upward when the difference value is greater than the lower limit of the lower limit range, so as to obtain the corresponding target brightness level.
[0097] The fifth adjustment module is used to lower the current initial brightness level of the head-up display area when the difference value is less than the lower limit value of the lower limit range, so as to obtain the corresponding target brightness level.
[0098] The sixth adjustment module is used to determine the current initial brightness level of the head-up display area as the target brightness level when the difference between the primary and secondary values is within the lower limit range of the primary value.
[0099] Optionally, the fourth adjustment module includes:
[0100] The second comparison module is used to determine the size relationship between the primary difference value and each upper limit value in the preset upper limit value group when the primary difference value is greater than the basic upper limit value of the basic lower limit range. The preset upper limit value group includes the basic upper limit value.
[0101] The maximum upper limit value determination module is used to determine the maximum upper limit value that the master difference value is greater than from the preset upper limit value group;
[0102] The target upgrade level determination module is used to determine the target upgrade level corresponding to the maximum upper limit value in the first mapping relationship, wherein the first mapping relationship records the upgrade level corresponding to each upper limit value;
[0103] The fourth adjustment submodule is used to increase the target adjustment level by the number of levels of the current initial brightness level of the head-up display area to obtain the corresponding target brightness level.
[0104] Optionally, the fifth adjustment module includes:
[0105] The third comparison module is used to determine the size relationship between the primary difference value and each lower limit value in the preset lower limit value group when the primary difference value is less than the basic lower limit value of the basic lower limit range. The preset lower limit value group includes the basic lower limit value.
[0106] The minimum lower limit value determination module is used to determine the minimum lower limit value from the preset lower limit value group where the difference value is less than the minimum lower limit value;
[0107] The target downgrade level determination module is used to determine the target downgrade level corresponding to the minimum lower limit value in the second mapping relationship, wherein the second mapping relationship records the downgrade level corresponding to each lower limit value;
[0108] The fifth adjustment submodule is used to reduce the current initial brightness level of the head-up display area by the target reduction level number to obtain the corresponding target brightness level.
[0109] Optionally, the head-up display brightness adaptive adjustment system 700 further includes:
[0110] The optimal brightness level range determination module is used to determine the optimal brightness level range corresponding to the second brightness value based on the second brightness value.
[0111] The fourth comparison module is used to determine the relationship between the target brightness level and the optimal brightness level range;
[0112] The first update module is used to update the target brightness level to the upper limit of the optimal brightness level range when the target brightness level is greater than the upper limit of the optimal brightness level range.
[0113] The second update module is used to update the target brightness level to the lower limit of the optimal brightness level range when the target brightness level is less than the lower limit of the optimal brightness level range.
[0114] Optionally, the head-up display brightness adaptive adjustment system 700 further includes:
[0115] The brightness determination module 703 is used to perform brightness recognition on the images in each current head-up display sub-region through a brightness recognition model when adjusting the brightness level in the entire head-up display area by region, and obtain the brightness value of each head-up display sub-region. The image in the current head-up display sub-region is the region image in the currently acquired forward real-scene image that corresponds to the head-up display sub-region.
[0116] The brightness adjustment module 705 is used to adjust the current initial brightness level of each head-up display sub-region according to the relationship between the main brightness value and the secondary brightness value of each head-up display sub-region, so as to obtain the target brightness level of each head-up display sub-region.
[0117] The display control module 706 is used to control each head-up display area to display at its respective target brightness level.
[0118] Based on the same inventive concept, one embodiment of this application provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and running on the processor. When the computer program is executed by the processor, it implements the steps of the brightness adaptive adjustment method for a head-up display as described in the first aspect of this application.
[0119] Based on the same inventive concept, one embodiment of this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of a brightness adaptive adjustment method for a head-up display as described in the first aspect of this application.
[0120] As the system implementation is basically similar to the method implementation, it is described in a relatively simple way. For relevant details, please refer to the description of the method implementation.
[0121] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily necessary for the embodiments of this application.
[0122] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0123] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0124] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0125] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0126] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0127] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0128] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0129] The above provides a detailed description of a brightness adaptive adjustment method, system, device, and medium for a head-up display provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for adaptive brightness adjustment of a head-up display, characterized in that, The method includes: The brightness of the current forward-facing real-world image is identified by a brightness recognition model to obtain a first brightness value. The lens orientation for acquiring the forward-facing real-world image is consistent with the orientation of the driver's head-up display area. Based on the first brightness value and the current second brightness value, a main brightness value is determined, wherein the current second brightness value is the current ambient brightness collected by the ambient brightness sensor; When the entire head-up display area is adjusted to the same brightness level, the brightness of the image in the current head-up display area is identified by the brightness recognition model to obtain the brightness value. The image in the current head-up display area is the area image corresponding to the head-up display area in the currently acquired forward real-scene image. Based on the second brightness value, determine the brightness level corresponding to the second brightness value, and set the brightness level corresponding to the second brightness value as the current initial brightness level; Determine the difference between the slave brightness value and the master brightness value; The primary difference value is compared with zero or a lower limit range. When the primary difference value is compared with zero, if the primary difference value is greater than zero, the current initial brightness level of the head-up display area is increased to obtain the corresponding target brightness level; if the primary difference value is less than zero, the current initial brightness level of the head-up display area is decreased to obtain the corresponding target brightness level; if the primary difference value is equal to zero, the current initial brightness level of the head-up display area is determined as the target brightness level. The head-up display area is controlled to currently display at the target brightness level.
2. The brightness adaptive adjustment method for a head-up display according to claim 1, characterized in that, Based on the first brightness value and the current second brightness value, a primary brightness value is determined, including: Based on the second brightness value, determine the second weight corresponding to the second brightness value; The first weight of the first brightness value is determined based on the second weight and the total weight. Based on the first weight and the second weight, the first brightness value and the second brightness value are weighted and summed to obtain the main brightness value.
3. The brightness adaptive adjustment method for a head-up display according to claim 1, characterized in that, When comparing the primary difference value with the basic lower limit range, if the primary difference value is greater than the basic limit value of the basic lower limit range, the current initial brightness level of the head-up display area is increased to obtain the corresponding target brightness level. When the difference between the primary and secondary values is less than the lower limit of the basic range, the initial brightness level of the head-up display area is lowered to obtain the corresponding target brightness level. When the difference value is within the lower limit of the base value, the current initial brightness level of the head-up display area is determined as the target brightness level.
4. The brightness adaptive adjustment method for a head-up display according to claim 3, characterized in that, When the primary difference value is greater than the lower limit of the basic range, the initial brightness level of the head-up display area is increased to obtain the corresponding target brightness level, including: When the difference between the primary and secondary values is greater than the basic limit value of the basic lower limit range, the relationship between the difference between the primary and secondary values and each upper limit value in the preset upper limit value group is determined, and the preset upper limit value group includes the basic upper limit value; Determine the maximum upper limit value greater than the master difference value from the preset upper limit value group; Determine the target number of upward adjustment levels corresponding to the maximum upper limit value in the first mapping relationship, and record the number of upward adjustment levels corresponding to each upper limit value in the first mapping relationship; The target brightness level is obtained by increasing the current initial brightness level of the head-up display area by the target adjustment level number.
5. The brightness adaptive adjustment method for a head-up display according to claim 3, characterized in that, When the primary difference value is less than the lower limit of the basic lower limit range, the initial brightness level of the head-up display area is lowered to obtain the corresponding target brightness level, including: When the difference between the primary and secondary values is less than the lower limit of the basic lower limit range, the relationship between the difference between the primary and secondary values and each lower limit value in the preset lower limit value group is determined, wherein the preset lower limit value group includes the basic lower limit value. Determine the minimum lower limit value that the difference value from the master is less than from the preset lower limit value group; Determine the target downgrade level number corresponding to the minimum lower limit value in the second mapping relationship, and record the downgrade level number corresponding to each lower limit value in the second mapping relationship; The target brightness level is obtained by reducing the current initial brightness level of the head-up display area by the target reduction level number.
6. A brightness adaptive adjustment method for a head-up display according to any one of claims 4 to 5, characterized in that, The method further includes: Based on the second brightness value, determine the optimal brightness level range corresponding to the second brightness value; Determine the relationship between the target brightness level and the optimal brightness level range; When the target brightness level is greater than the upper limit of the optimal brightness level range, the target brightness level is updated to the upper limit of the optimal brightness level range; When the target brightness level is less than the lower limit of the optimal brightness level range, the target brightness level is updated to the lower limit of the optimal brightness level range.
7. The brightness adaptive adjustment method for a head-up display according to claim 1, characterized in that, The method further includes: When the brightness level is adjusted in different areas of the entire head-up display area, the brightness recognition model is used to identify the brightness of the image in each current head-up display sub-area to obtain the brightness value of each head-up display sub-area. The image in the current head-up display sub-area is the area image in the currently acquired forward real-scene image that corresponds to the head-up display sub-area. Based on the relationship between the main brightness value and the secondary brightness value of each head-up display sub-region, the initial brightness level of each head-up display sub-region is adjusted to obtain the target brightness level of each head-up display sub-region. Control each head-up display area to display at its respective target brightness level.
8. A brightness adaptive adjustment system for a head-up display, characterized in that, The system includes: The first brightness determination module is used to perform brightness recognition on the current forward real-view image through a brightness recognition model to obtain a first brightness value, wherein the lens orientation for acquiring the forward real-view image is consistent with the orientation of the driver's head-up display area. The main brightness determination module is used to determine the main brightness value based on the first brightness value and the current second brightness value, wherein the current second brightness value is the current ambient brightness collected by the ambient brightness sensor. The brightness determination module is used to identify the brightness of the image in the current head-up display area by means of a brightness recognition model when the entire head-up display area is adjusted to the same brightness level, and to obtain the brightness value. The image in the current head-up display area is the area image in the currently acquired forward real-scene image that corresponds to the head-up display area. The initial brightness level determination module is used to determine the brightness level corresponding to the second brightness value based on the second brightness value, and to determine the brightness level corresponding to the second brightness value as the current initial brightness level; A brightness adjustment module is configured to: determine the difference between the slave brightness value and the master brightness value; compare the slave-master difference with zero or a lower limit range; when the slave-master difference is greater than zero, increase the current initial brightness level of the head-up display area to obtain a corresponding target brightness level; decrease the current initial brightness level of the head-up display area to obtain a corresponding target brightness level; and determine the current initial brightness level of the head-up display area as the target brightness level when the slave-master difference is equal to zero. The display control module is used to control the head-up display area to currently display at the target brightness level.
9. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and running on the processor, wherein the computer program, when executed by the processor, implements the steps of a brightness adaptive adjustment method for a head-up display as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of a brightness adaptive adjustment method for a head-up display as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Data processing method and device
CN116320331A
Image projection device
JP2024141826A