Rendering method of vehicle display equipment and related product
By acquiring vehicle environmental data and gear status, the driving mode is determined, an RGB color pool is generated, and particle rendering is performed. This solves the problems of random color and poor adaptability in AR-HUD systems, achieving clarity and stability in visual guidance, and improving driving safety and display effects.
Patent Information
- Application Number
- CN202511230709.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-29
- Publication Date
- 2025-10-21
AI Technical Summary
Existing particle path laying and color matching technologies lack systematic color planning and dynamic adaptation capabilities in AR-HUD systems, resulting in random color distribution and insufficient sense of layering. The visual guidance effect is not clear enough, making it difficult to meet the usage needs of diverse driving scenarios and affecting display effects and driving safety.
By acquiring the surrounding environment data and gear status of the target vehicle, the driving mode is determined, an RGB color pool is generated, and based on the mode's RGB primary color and color value matching rules, the color values in the RGB color pool are used cyclically and randomly for particle rendering to ensure a high degree of color matching with the environment and the stability of the visual effect.
It enhances the clarity and stability of visual guidance, meets the usage needs of diverse driving scenarios, improves display effects and driving safety, and reduces extreme visual confusion caused by purely random distribution.
Smart Images

Figure CN120821084A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of graphics rendering technology, and in particular to a rendering method for a vehicle display device and related products. Background Art
[0002] The Augmented Reality Head-Up Display (AR-HUD) system is an in-vehicle display device that integrates augmented reality technology. This system uses particle paving technology combined with color matching technology to overlay driver assistance information directly onto the real road scene, providing precise route guidance and clear visual cues. Specifically, particle paving technology utilizes a large number of small, granular display elements, arranged and dynamically changing to form an intuitive navigation track. Color matching technology scientifically designs and controls the colors of these particles, leveraging color contrast, gradients, and saturation to make the route more visible and easily discernible, effectively conveying different types of information, such as route guidance and visual cues.
[0003] Despite this, existing particle paving and color matching technologies still have significant shortcomings. These are primarily due to a lack of systematic color planning and dynamic adaptability to different driving environments. This results in random color distribution and a lack of layering, unclear visual guidance, and difficulty meeting the needs of diverse driving scenarios, impacting overall display quality and driving safety. Summary of the Invention
[0004] Based on the above problems, this application provides a rendering method and related products for a vehicle display device, aiming to enhance the clarity and stability of visual guidance and better meet the usage requirements in changing driving scenarios, so as to improve display effects and driving safety.
[0005] The embodiments of this application disclose the following technical solutions:
[0006] A rendering method for a vehicle display device, the method comprising:
[0007] Obtain the target vehicle's surrounding environment data and gear status;
[0008] determining a driving mode of the target vehicle based on the surrounding environment data and / or the gear state;
[0009] Obtaining a mode RGB primary color corresponding to the driving mode; the mode RGB primary color is the primary visual color in the driving mode;
[0010] Generate an RGB color pool based on the pattern RGB primary color and color value matching rules; the RGB color pool includes multiple RGB color values;
[0011] According to the RGB color pool, particle rendering of the display interface is realized.
[0012] A rendering device for a vehicle display device, the device comprising:
[0013] A first acquisition unit is used to acquire the surrounding environment data and gear status of the target vehicle;
[0014] a driving mode determining unit, configured to determine a driving mode of the target vehicle based on the surrounding environment data and / or the gear state;
[0015] The second acquisition unit is used to acquire a mode RGB primary color corresponding to the driving mode; the mode RGB primary color is the visual primary color in the driving mode;
[0016] An RGB color pool generating unit, configured to generate an RGB color pool based on the pattern RGB primary colors and color value matching rules; the RGB color pool includes a plurality of RGB color values;
[0017] A particle rendering unit, configured to circulate and randomly combine the RGB color values in the RGB color pool to fill a particle queue, thereby realizing particle rendering of a display interface;
[0018] In each cycle, all RGB color values in the RGB color pool are used randomly and non-repeatedly to fill the particle queue for particle rendering.
[0019] A computer-readable storage medium stores instructions, which, when executed on a terminal device, enable the terminal device to execute the rendering method for a vehicle display device as described above.
[0020] Compared with the existing technology, this application has the following beneficial effects:
[0021] This embodiment of the present application first acquires ambient light data and gear status around the target vehicle in real time and, based on this data, accurately determines the current driving mode. Subsequently, based on the determined driving mode, the corresponding mode RGB (Red, Green, Blue) primary color is selected and used as the primary visual color for that mode. This primary color, combined with color value matching rules, is then used to generate a color pool containing multiple coordinated RGB color values. In the display interface, each RGB color value in the RGB color pool is combined to achieve particle rendering. By acquiring real-time vehicle ambient data and gear status, the present application accurately identifies the driving mode and then generates a coordinated and unified RGB color pool based on the corresponding mode RGB primary color and color value matching rules, ensuring a precise color match with the current environment. This effectively enhances the clarity and stability of visual guidance, better meeting the needs of diverse driving scenarios and significantly improving display quality and driving safety. Furthermore, by cycling through and sequentially using all colors in the RGB color pool, extreme visual clutter caused by purely random distribution is reduced, ensuring uniform particle color coverage. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 A schematic diagram of a scenario provided in an embodiment of the present application;
[0024] Figure 2 A schematic diagram of rendering an AR-HUD system provided in an embodiment of the present application;
[0025] Figure 3 A flowchart of an implementation method of a rendering method for a vehicle display device provided in an embodiment of the present application;
[0026] Figure 4 A flowchart of an implementation method of a RGB color pool generation method provided in an embodiment of the present application;
[0027] Figure 5 A flowchart of an implementation method of a method for determining a driving mode provided in an embodiment of the present application;
[0028] Figure 6 A schematic diagram of a rendering device for a vehicle display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] To facilitate understanding of the technical solutions provided by the embodiments of the present application, the background technology involved in the embodiments of the present application will be described below.
[0030] The current AR-HUD particle paving color matching technology has significant defects, mainly in the following three aspects:
[0031] First, the RGB values of the particle colors are randomly distributed in the entire color range (0-255), which results in excessive color randomness and a chaotic visual effect (e.g. Figure 1 As shown, Figure 1 The blue arrow in the figure is a three-dimensional dynamic guide sign. Figure 1 The colored path in the image is the navigation track. This track exhibits a highly chaotic and irregular color distribution, lacking a unified visual guidance effect, which can easily lead users to misjudge the path. Assume that the navigation route laid out in the AR-HUD is composed of thousands of particles. The color of each particle is randomly assigned a value between 0 and 255 in the red, green, and blue channels. The resulting colors may include bright red, green, and blue, as well as yellow, purple, cyan, and even some dull and varying colors. The colors of the particles displayed consecutively along a path are as follows: 1st particle: RGB (255, 0, 0) — bright red; 2nd particle: RGB (0, 255, 255) — cyan; 3rd particle: RGB (128, 64, 200) — purple-blue; 4th particle: RGB (200, 200, 50) — yellow; 5th particle: RGB (30, 180, 30) — dark green. Such a diverse and irregular color distribution can make it difficult for drivers to focus. The path lacks a consistent color signature, making the visual information appear cluttered and lacking in depth. Especially in complex environments or lighting conditions, drivers can easily confuse the colors with the direction of the path, increasing the risk of misjudging the path's direction and seriously impacting driving safety.
[0032] Secondly, current solutions lack a color guidance theory based on human factors engineering, fail to rationally control color proportions, and fail to fully utilize the principles of color contrast and complementarity. This makes it difficult to create clear and effective visual anchors and guidance, hindering the driver's focus. Consider an AR-HUD navigation system that uses multiple colors to represent different information, but these colors are not designed based on the human eye's color sensitivity and cognitive habits. The path is primarily composed of a mixture of green, yellow, and red particles, but the distribution of these three colors is uneven and random: green particles account for 40%, yellow particles account for 50%, and red particles account for only 10%. The three colors appear indistinctly or in a regular pattern in spatial alternation. Furthermore, the color difference between green and yellow is small, making them adjacent colors, and there is no high-contrast complementary color (such as blue or purple) as a visual anchor, making the overall path color appear bland and easily confused. At highway speeds, the driver's eyes have difficulty quickly distinguishing the main path from auxiliary information. Without a clear color focal point, attention is easily distracted.
[0033] Finally, the color scheme is relatively static and cannot dynamically adjust the primary color to suit different driving scenarios or modes (such as daytime, nighttime, snowy conditions, or sports). This lack of adaptability reduces overall user comfort and practicality. Imagine an AR-HUD navigation system designed with a fixed, bright yellow as the primary color for its path particles. This color remains constant, regardless of day or nighttime, sunny or snowy. In bright daylight conditions, the yellow path remains clearly visible against a bright background, but in complex road conditions or under direct sunlight, the contrast is insufficient, making the path information less prominent. In low-light conditions at night, the same yellow particles are prone to glare and visual fatigue, as yellow light, inherently bright, appears harsh in dim conditions, affecting the driver's visual comfort. In reflective snowy conditions, the strong white light reflected from the snow reduces the contrast between the yellow path and its surroundings, blurring the path boundaries and making it difficult to identify the route. In sports mode (fast driving), the static color scheme fails to emphasize the sense of speed or warn of danger.
[0034] Based on this, an embodiment of the present application provides a rendering method and related products for a vehicle display device. First, the surrounding environment data and gear status of the target vehicle are obtained, and the current driving mode is determined based on this information. Subsequently, based on the visual main color tone of the corresponding driving mode - the mode RGB main color, an RGB color pool containing multiple sets of coordinated color combinations is generated using color value matching rules. In the specific rendering process, the particle queue is filled by cyclically and randomly selecting each RGB color value in the color pool, thereby achieving a dynamic and rich particle rendering effect on the display interface of the vehicle display device, and each rendering cycle ensures the comprehensive application of color combinations to reduce the extreme visual confusion caused by purely random distribution. The present application accurately identifies the current driving mode by obtaining surrounding environment data and gear status in real time, and generates a coordinated and unified RGB color pool based on the corresponding mode RGB main color and color value matching rules to ensure that the color is highly matched with the environment. At the same time, in the process of filling the particle queue, the strategy of combining all color value combinations in the color pool cyclically, randomly and non-repeatedly ensures the consistency and layering of the overall color style. Furthermore, this application dynamically adjusts the primary color tone based on different driving environments, achieving intelligent color adaptation. This effectively improves the clarity and stability of visual guidance, meeting complex and ever-changing driving needs, and significantly enhances display quality and driving safety. Through this systematic and dynamic color matching scheme, this application overcomes the problems of random color, ambiguous instructions, and poor adaptability in traditional technologies.
[0035] In order to help those skilled in the art better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 those skilled in the art without creative work are within the scope of protection of this application.
[0036] See also Figure 2 , Figure 2 A schematic diagram of rendering an AR-HUD system provided in an embodiment of the present application.
[0037] When a target vehicle equipped with an AR-HUD system requires AR-HUD rendering, it can obtain information about the target vehicle's surrounding ambient temperature, road reflectivity, road adhesion coefficient, ambient light intensity, and gear position. Ambient temperature is used to determine current weather conditions and potential road conditions. Road reflectivity is used to assess road material and its slipperiness. Road adhesion coefficient reflects tire-road friction and vehicle grip. Ambient light intensity reflects the brightness of the external environment, helping to determine the need for display brightness adjustment. Gear position represents the vehicle's operating mode, such as P (Park), R (Reverse), N (Neutral), D (Drive), and S (Sport). Different gear positions correspond to different driving scenarios. The following explanation uses an ambient temperature of -5°C (Celsius), a road reflectivity of 0.8, a road adhesion coefficient of 0.2, a light intensity of 120 lux, and a gear position of D as an example.
[0038] The target vehicle's driving mode is determined based on an ambient light intensity of 120 lux, an ambient light color temperature of 5000K, and the gear position in D, combined with driving mode determination conditions. These driving mode determination conditions include the first, second, and third conditions. These conditions are evaluated sequentially. If a condition is met, the subsequent conditions are discontinued. For example, the first determination condition is: when the ambient temperature is less than a temperature threshold of 0°C, the road surface reflectivity is greater than a reflectivity threshold of 0.7, and the road surface adhesion coefficient is less than an adhesion threshold of 0.3, the current driving mode is determined to be snow mode. The second determination condition is: when the gear position is in Sport (S), the current driving mode is determined to be sport mode. The third determination condition is: when the ambient light intensity is greater than a light intensity threshold of 20 lux, the current driving mode is determined to be day mode; when the ambient light intensity is less than or equal to the light intensity threshold of 20 lux, the current driving mode is determined to be night mode. Therefore, in this example, based on "ambient temperature of -5°C, road reflectivity of 0.8, road adhesion coefficient of 0.2, light intensity of 120lux and gear status of D", combined with the first judgment condition, it can be determined that the current driving mode is snow mode.
[0039] Then, a main color is determined according to the vehicle's current driving mode - snow mode. This main color is called the snow mode RGB main color. For example, in snow mode, you can select a warm color as the current visual main color, such as light orange (RGB(255, 165, 0)) or light yellow (RGB(255, 255, 0)). These colors can provide a clear and comfortable visual effect, reduce interference to the driver's vision, and make the driver more comfortable and safe in a snowy environment; in sports mode, you can select a more aggressive and vibrant color as the current visual main color, such as red (RGB(255, 69, 0)) or orange (RGB(255, 140, 0)). These colors can enhance the driving atmosphere and stimulate the driver's passion and motivation; in day mode, you can select a gentle and bright color as the current visual main color, such as light blue (RGB(173, 216,230); in night mode, you can select a not very bright color (or a dark color) as the current visual main color, such as dark blue (RGB(0, 0, These colors reduce glare during nighttime driving, protecting the driver's eyesight and providing clear information display. The following uses the snow mode RGB primary color, which is light yellow (RGB(255, 255, 0)), as an example.
[0040] Based on the primary RGB color of the snow mode—light yellow (RGB(255, 255, 0)), we first convert it to the HSV (Hue, Saturation, Value) color space and extract the corresponding hue value H, saturation S, and lightness V. Then, based on the color value matching rules, we determine the number of similar colors N and the number of contrasting colors M. This article uses N=7 and M=2 as an example. The similar color interval is defined as [H-15°, H+15°]. Centered on the hue H of the current primary color, we uniformly sample seven similar color values within this interval: 45°, 50°, 55°, 60° (primary color), 65°, 70°, and 75°. These colors are evenly spaced in hue and close to the primary color, ensuring overall visual harmony. At the same time, according to the definition of contrast color "add H + 120° and subtract H - 120° to get the contrast color", the two contrast color values are calculated as 180° (60° + 120° = 180°) and 300° (60° - 120° = 300°, converted within a 360° period). These colors form a large contrast with the main color in terms of hue, which is used to enhance the interface layering and visual impact.
[0041] Next, these seven similar color values, two contrasting color values, and the complementary color value corresponding to the hue value H are combined with the saturation S and lightness V in the model HSV color space, forming a total of (7 + 2 + 1) or 10 HSV color values, constructing a complete HSV color pool. Finally, each color value combination in the HSV color pool is converted back to the RGB color space to generate an RGB color pool suitable for display device rendering, thereby supporting diverse and coordinated dynamic particle rendering effects.
[0042] Finally, the RGB color values in the RGB color pool are looped through and applied in random order to the particle queue in the target vehicle's AR-HUD system. This ensures that the particle rendering effect is both rich and diverse and coordinated. In each rendering cycle, all RGB color values in the color pool are used randomly but without duplication to ensure that all colors are fully displayed while avoiding overly concentrated or single color distribution. For example, suppose the color pool has 10 colors, and the corresponding colors are numbered 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10. In the first rendering cycle, the program randomly determines an order, such as [3, 7, 1, 8, 5, 10, 6, 2, 4, 9]. The first rendering uses color 3, the second uses color 7, the third uses color 1, the fourth uses color 8, the fifth uses color 5, the sixth uses color 10, the seventh uses color 6, the eighth uses color 2, the ninth uses color 4, and the tenth uses color 9. This completes a single rendering cycle, and all colors in the color pool are used without duplication. The second rendering cycle begins, and a new order is randomly shuffled, such as [2, 6, 8, 4, 7, 1, 3, 9, 5, 10], which are then used in sequence.
[0043] In this way, the AR-HUD system achieves a dynamic and layered particle visual effect, improving the aesthetics of the display interface.
[0044] Those skilled in the art will understand that Figure 2 The framework diagram shown is only an example in which the embodiments of the present application can be implemented. The scope of application of the embodiments of the present application is not limited by any aspect of the framework.
[0045] To facilitate understanding of the present application, a rendering method for a vehicle display device provided in an embodiment of the present application is described below with reference to the accompanying drawings.
[0046] See also Figure 3 As shown in FIG. 1 , this figure is a flow chart of a rendering method for a vehicle display device provided by an embodiment of the present application, as shown in FIG. Figure 3 As shown, the method may include S301-S305:
[0047] S301: Acquire the surrounding environment data and gear status of the target vehicle.
[0048] During the rendering process of the vehicle display device, the surrounding environment data and gear status of the target vehicle must be obtained first. The so-called "surrounding environment data" refers to the temperature, road reflectivity, road adhesion coefficient, light intensity and other relevant parameter information in the vehicle's environment. These data can reflect the physical characteristics of the external environment and driving safety conditions. For example, temperature, road reflectivity and road adhesion coefficient can reveal the road conditions and potential danger level of the current environment, while the ambient light intensity can reveal whether the current environment is bright daytime or dim nighttime. By accurately acquiring and analyzing these ambient light data, the vehicle display system can determine the vehicle's driving mode based on the external lighting conditions, and determine the main color style of the vehicle display device based on the driving mode, ensuring that the information is clear, easy to identify and visually comfortable in different lighting environments.
[0049] Meanwhile, "gear status" refers to the vehicle's current transmission position, such as Park (P), Reverse (R), Neutral (N), Drive (D), and Sport (S). Each gear corresponds to a different driving scenario. Real-time access to the vehicle's gear status also helps the vehicle's display system determine the current driving mode. Combined with ambient light data, it selects the most appropriate display color tone for particle rendering, improving navigation path legibility and safety.
[0050] S302: Determine a driving mode of the target vehicle based on the surrounding environment data and / or the gear status.
[0051] Determining the target vehicle's driving mode based on ambient data, gear status, or both is a key step in achieving intelligent vehicle display rendering. First, ambient data reflects the vehicle's external lighting conditions, including ambient temperature, road reflectivity, road adhesion, and light intensity. These data reveal the current environmental characteristics, such as different lighting scenarios during the day, at night, and on snowy terrain. Second, the gear status directly represents the vehicle's current operating state, including parking (P), reverse (R), neutral (N), forward (D), and sport mode (S). Different gears correspond to different driving operations and requirements. Combining these two types of information for analysis helps to fully understand the vehicle's actual driving situation.
[0052] Specifically, ambient temperature, road reflectivity, and road adhesion coefficient can help the vehicle display system determine whether to enter snow mode, while ambient light intensity can help the vehicle display system determine whether to enter daytime mode or nighttime mode. For example, when the ambient light intensity is high, the vehicle display system can determine that it is a daytime driving environment and select a bright display color scheme with moderate contrast; conversely, when the light intensity is low, it can be determined as a nighttime environment and a low-brightness, soft color strategy can be activated to reduce visual fatigue. At the same time, the gear status reflects driving intention and vehicle dynamics. For example, in Sport mode (S gear), the driver is in a more exciting driving situation, and the vehicle display system will prioritize a color scheme that highlights the sense of power.
[0053] By comprehensively analyzing ambient data and gear status, the vehicle display system accurately categorizes the vehicle's driving modes, such as "Snow Mode," "Sports Mode," "Day Mode," and "Night Mode," enabling dynamic recognition of driving modes. This recognition not only guides subsequent color palette selection but also informs particle rendering and interface layout, ensuring that the displayed content is perfectly aligned with the driving environment, thereby improving information efficiency and driving safety.
[0054] S303: Obtain the mode RGB primary color corresponding to the driving mode.
[0055] Obtaining the mode RGB primary color corresponding to the driving mode is crucial for achieving personalized and scene-adaptive rendering on vehicle display devices. Each driving mode has unique visual requirements due to its specific environmental conditions and driving needs. The mode RGB primary color, as the primary visual hue within that mode, serves as the core visual hue, guiding the user's visual focus, conveying emotional ambiance, and enhancing information recognition.
[0056] Specifically, based on the driving mode determined in the previous step, the vehicle display system selects a pre-set RGB primary color that matches that mode. For example, in Snow mode, the primary color typically uses a warmer hue to effectively mitigate the strong light reflection from the snow, improving the legibility of interface elements and visual comfort. In Sport mode, the primary color tends to be bright and dynamic, such as red or orange, to enhance driving excitement and provide a warning effect. In Day mode, the primary color typically uses a brighter and more contrasting color to ensure that interface information remains clearly visible even in bright sunlight. In Night mode, the primary color tends to be darker, balancing visual comfort and eye safety to avoid glare. Furthermore, for special environments such as Snow mode, the primary color may adopt a soft, warm hue, such as pale yellow, to enhance harmony with the environment and readability. By accurately acquiring and applying the corresponding mode's RGB primary color, the display device ensures a consistent and recognizable interface color style across different driving modes, enhancing the driver's ability to quickly capture key information and the overall user experience. This driving mode-based main color determination mechanism not only enhances the system's intelligence level, but also provides a solid color foundation for subsequent color value matching and particle rendering, ensuring the scientific rationality and aesthetic coordination of visual effects.
[0057] S304: Generate an RGB color pool based on the pattern RGB primary colors and color value matching rules.
[0058] Generating an RGB color pool based on the mode RGB primary color and color value matching rules is a key step in achieving color richness and coordination in the vehicle display device interface. First, the mode RGB primary color, as the visual core color tone in this driving mode, determines the tone and style of the entire color system. However, a single color is difficult to meet the performance requirements of diverse elements in a complex interface, so it is necessary to reasonably extend and combine the primary colors through color value matching rules. Color value matching rules (also known as color matching principles) cover many principles in color science, such as similar color matching, complementary color matching, contrasting color matching, and triadic color matching. These theories guide how to select and adjust colors in dimensions such as hue, saturation, and brightness, so that the generated colors maintain an overall sense of unity while also having clear layers and visual impact.
[0059] Specifically, with the mode RGB main color as the center, the vehicle display system calculates multiple colors with reasonable hue offset and brightness adjustment in the HSV color space or other suitable models according to the preset angle or ratio interval, thereby forming multiple color value combinations. For example, similar color intervals are constructed around the main color to ensure harmony and unity, while introducing a certain number of contrasting colors and complementary colors to enhance the liveliness and recognition of the interface. The RGB color pool generated in this way not only contains multiple RGB color values, but also covers color categories with different visual effect requirements, and can be flexibly applied to various display elements such as particle rendering, icon highlighting, and background fill. Through this method, the vehicle display system can realize scientific and intelligent color configuration, presenting visual effects that are both beautiful and functional in various driving modes and environmental conditions, greatly improving user experience and driving safety.
[0060] It should be noted that the color value matching rules essentially utilize the color properties of light in nature and the objective laws of color perception of the human eye. By converting primary colors to the HSV color space and based on the naturally existing hue circle relationship, combined with the definition of hue angle intervals (such as the ±15° interval of similar colors, the position calculation of contrasting colors, and complementary colors), they simulate the laws of natural color harmony and contrast. The color value matching rules follow the inherent laws of physical optics and physiological vision science. Therefore, "generating an RGB color pool based on the model RGB primary colors and color value matching rules" achieves technical color generation optimization, ensuring that the constructed RGB color pool is not only scientific and reasonable, but also conforms to the aesthetic habits and recognition characteristics of human vision.
[0061] S305: Implementing particle rendering of a display interface according to the RGB color pool.
[0062] Based on the RGB color pool, the system loops through each RGB color value in the color pool and, using a random but non-repetitive selection strategy, assigns these color values to the particles on the display interface for rendering. This not only ensures the diversity and richness of particle colors, but also effectively avoids color duplication within the same rendering cycle, thereby enhancing the layering and aesthetics of the visual effect and achieving a balanced and dynamic color display.
[0063] Based on the description of S301-S305, an embodiment of the present application provides a rendering method for a vehicle display device, which first obtains the surrounding environment data and gear status of the target vehicle, and combines this information to determine the current driving mode. According to the determined driving mode, the corresponding visual main color is extracted, that is, the mode RGB main color. Subsequently, based on the main color and color value matching rules, a color pool containing multiple RGB color values is generated. During the rendering process, the various RGB color values in the RGB color pool are combined to achieve a dynamic and rich particle rendering effect. The present application accurately identifies the driving mode by acquiring the vehicle's surrounding environment data and gear status in real time, thereby generating a coordinated and unified RGB color pool based on the corresponding mode RGB main color and color value matching rules to ensure that the color is highly matched with the current environment. In addition, by cyclically and sequentially using all the colors in the RGB color pool, the extreme visual confusion caused by purely random distribution can be reduced, which helps to evenly cover the particle colors and further enhance the visual effect and driving experience.
[0064] In a possible implementation, implementing particle rendering of a display interface according to the RGB color pool includes:
[0065] The particle queue is filled by looping and randomly combining each RGB color value in the RGB color pool to realize particle rendering of the display interface.
[0066] During the particle rendering process on vehicle displays, the display interface's particle queue is populated by looping and randomly combining individual RGB color values from the RGB color pool. This is the core technical means of achieving a dynamic and layered visual effect. Specifically, the vehicle display system first randomly selects different color combinations from a pre-generated color pool containing multiple RGB color values to give the particles a diverse and harmonious color representation. This random selection ensures a diverse distribution of particle colors, avoiding monotonous or repetitive interface colors, thereby enhancing visual liveliness and naturalness. At the same time, the looping mechanism ensures that all color value combinations in the entire color pool are fully utilized. Even in consecutive rendering cycles, there will be no color casts or omissions, resulting in a balanced and rich visual effect. In each loop, the vehicle display system randomly but non-repeatedly calls all color value combinations in the color pool. This "random and non-repeated" approach maintains the freshness of the color arrangement while ensuring the integrity and fairness of the overall color application. The particle queue filled in this way forms a layered, flowing visual pattern on the display interface of the target vehicle's display device, which not only improves the aesthetics and recognition of the interface, but also achieves a particle rendering effect that is highly consistent with the environmental atmosphere based on the main color style in different driving modes.
[0067] By cleverly combining looping and randomization strategies, the color potential of the color pool is fully utilized, allowing vehicle display devices to present a dynamic, rich, visually comfortable and expressive particle interface in different scenarios, greatly enhancing the user's visual experience.
[0068] In a possible implementation, implementing particle rendering of a display interface according to the RGB color pool includes:
[0069] The particle queue is filled by looping and randomly combining each RGB color value in the RGB color pool to realize particle rendering of the display interface.
[0070] During the particle rendering process on vehicle displays, the display interface's particle queue is populated by looping and randomly combining individual RGB color values from the RGB color pool. This is the core technical means of achieving a dynamic and layered visual effect. Specifically, the vehicle display system first randomly selects different color combinations from a pre-generated color pool containing multiple RGB color values to give the particles a diverse and harmonious color representation. This random selection ensures a diverse distribution of particle colors, avoiding monotonous or repetitive interface colors, thereby enhancing visual liveliness and naturalness. At the same time, the looping mechanism ensures that all color value combinations in the entire color pool are fully utilized. Even in consecutive rendering cycles, there will be no color casts or omissions, resulting in a balanced and rich visual effect. In each loop, the vehicle display system randomly but non-repeatedly calls all color value combinations in the color pool. This "random and non-repeated" approach maintains the freshness of the color arrangement while ensuring the integrity and fairness of the overall color application. The particle queue filled in this way forms a layered, flowing visual pattern on the display interface of the target vehicle's display device, which not only improves the aesthetics and recognition of the interface, but also achieves a particle rendering effect that is highly consistent with the environmental atmosphere based on the main color style in different driving modes.
[0071] In the process of filling the particle queue, a strategy of cyclically and randomly combining all color value combinations in the color pool is adopted. This not only enriches the color changes and improves the visual diversity and interest, but also ensures the consistency and layering of the overall color style.
[0072] In a possible implementation, the present application also provides a method for generating an RGB color pool, see Figure 4 , Figure 4 This is a flowchart of an implementation method of an RGB color pool generation method provided in an embodiment of the present application. Accordingly, step S304 generates an RGB color pool based on the RGB primary color and color value matching rules, which can be specifically implemented through steps S401-S404:
[0073] S401: Convert the RGB primary color pattern into the HSV color space pattern; and determine the number N of similar colors and the number M of contrasting colors according to the color value matching rule.
[0074] During the RGB color pool generation process, the model RGB primary colors can be converted into the model HSV color space first, allowing for more intuitive and effective color analysis and processing. Although the RGB color model directly corresponds to the red, green, and blue light-emitting principles of display devices, the numerical variations of its three primary colors do not fully conform to the logic of human visual color perception, making it difficult to directly reflect the relationship between hue, saturation, and brightness. The HSV space, on the other hand, decomposes colors into three independent dimensions that conform to visual cognition: hue (Hue), saturation (Saturation), and brightness (Value), making color adjustment and matching more flexible and scientific. Therefore, after converting the model RGB primary colors into the HSV space, the hue information of the primary colors can be accurately extracted as the core basis for subsequent color matching.
[0075] Based on the color value matching rules, the number of similar colors N and the number of contrasting colors M are determined. This can not only reflect the stylistic unity of the main color in the color pool, but also introduce sufficient contrast to enhance visual impact and balance. Specifically, similar colors refer to colors with a hue close to the main color and moderate saturation and brightness. They ensure the harmony and consistency of the overall color tone and help create a comfortable visual environment. Contrasting colors are colors with hues that are far apart. They are used to highlight key information or increase the visual hierarchy of the interface, thereby improving user attention and operating efficiency. Reasonable allocation of the two types of colors so that the color pool is rich but not too cluttered is the key to achieving high-quality color performance. Among them, N and M are both positive integers.
[0076] In one possible implementation, N + M = 9, which specifies that the total number of similar and contrasting colors in the color pool is fixed at 9 color value combinations. This facilitates calculation and management while ensuring a balanced allocation of color resources. With this constraint, the vehicle display system can flexibly adjust the specific numerical ratio of N and M based on different driving modes or interface requirements to meet different visual requirements, while also avoiding visual fatigue caused by too many colors or monotony caused by too few colors.
[0077] S402: In combination with the number N of similar colors, the definition of similar color intervals, the number M of contrasting colors and the definition of contrasting colors, similar color calculation and contrasting color calculation are performed on the hue value H in the pattern HSV color space to obtain N similar color values and M contrasting color values, and complementary color calculation is performed on the hue value H in the pattern HSV color space to obtain complementary color values.
[0078] Combining the number of similar colors N, the definition of similar color intervals, the number of contrasting colors M, and the definition of contrasting colors, performing similar color calculations and contrasting color calculations on the hue value H in the modal HSV color space is a key step in building a diverse and harmonious color pool. Specifically, based on the number of similar colors N and the pre-defined similar color interval definition, and taking the hue value H of the primary color as a reference, N colors close to the primary color are generated by evenly distributing them within a certain hue offset range or following a specific pattern. These similar colors maintain minimal hue differences, forming a harmonious color group and enhancing the consistency of the overall visual style. Adjustments to saturation and brightness ensure rich color depth and a lack of monotony. Simultaneously, based on the number of contrasting colors M and the definition of contrasting colors, the primary color hue is regularly and significantly offset, selecting hue values that are far apart on the color wheel, resulting in M colors with significant visual contrast. These contrasting colors can highlight key points, guide the eye, and enhance information recognition in interface design, effectively enhancing the interface's dynamic feel and functionality. By performing similar color calculations and contrasting color calculations on the hue value H separately, not only is it ensured that the quantity and quality of similar colors and contrasting colors in the color pool meet the design requirements, but the resulting N similar color values and M contrasting color values are also reasonably distributed in the hue space, which not only retains the overall rhythm of the main color but also injects the necessary visual vitality and impact.
[0079] Furthermore, to further enrich the expressiveness of the color pool, the vehicle display system can also calculate complementary colors for the hue value H in the modal HSV color space. This involves selecting a hue value 180 degrees away from the primary color on the color wheel to create a visually balanced and highly contrasting complementary color, often used in color matching to enhance visual tension and attract attention. By simultaneously acquiring N similar color values, M contrasting color values, and one complementary color value, the vehicle display system achieves a multi-dimensional expansion of color resources, ensuring harmonious and unified color matching while introducing necessary contrast and variation, achieving an optimal balance between richness and coordination in the overall color pool.
[0080] This step not only fully utilizes the guiding significance of color value matching rules, but also combines the intuitive properties of HSV space to improve the accuracy and scientific nature of color generation, providing a solid foundation for subsequent color combinations and interface rendering of vehicle display devices, and preparing for further effective improvement of the user's visual experience and the functional performance of the interface.
[0081] S403: Combine the N similar color values with the saturation value S and the lightness value V in the pattern HSV color space, combine the M contrasting color values with the saturation value S and the lightness value V, and combine the complementary color value with the saturation value S and the lightness value V to obtain (M+N+1) HSV color values.
[0082] Combining N similar color values with the saturation value S and lightness value V in the model HSV color space, combining M contrasting color values with the saturation value S and lightness value V, and combining complementary color values with the saturation value S and lightness value V to form (M+N+1) HSV color values is a key step in achieving color pool diversity and visual harmony. Specifically, in the previous step, a complete hue set consisting of N similar hues, M contrasting hues, and 1 complementary hue has been obtained through hue calculation. These hue values provide a rich foundation for color configuration, but hue information alone is not enough to fully define the visual color effect. Since the perception of color depends not only on hue but is also deeply influenced by saturation and lightness, these hue values must be combined with the saturation value S and lightness value V in the model HSV color space where the primary color is located to form a truly usable color parameter combination.
[0083] Through this combination, the vehicle display system maintains the overall color saturation and brightness characteristics, ensuring that all generated HSV color values are visually consistent with the mode's primary color tone, ensuring that each color in the color pool is both individually distinct and unified and harmonious. Specifically, each hue value is assigned the same saturation (S) and lightness (V) to meet the visual hierarchy requirements of different interface elements. This approach effectively avoids drastic changes in color brightness and vividness, enhancing the visual continuity and comfort of the interface.
[0084] Ultimately, after this rigorous color parameter fusion process, the resulting (M+N+1) HSV color values are not only sufficient in number and well-structured to cover a wide range of color variations extending from the primary color, but also ensure uniformity in saturation and brightness. This provides a solid foundation for subsequent conversion to an RGB color pool and for particle rendering applications in vehicle display interfaces. This scientific color construction method helps achieve natural color transitions and visual hierarchy in dynamic interfaces, enhancing the overall aesthetics and user experience. It also embodies a systematic design approach based on the HSV model and color value matching rules.
[0085] S404: Convert the color parameters of the (M+N+1) HSV color values into RGB one by one to obtain the RGB color pool.
[0086] Converting the color parameters of M+N+ HSV color values to RGB one by one to obtain an RGB color pool is a key step in transitioning from color design theory to practical display applications. Specifically, HSV color values express colors intuitively and in accordance with the laws of human visual perception based on the three dimensions of hue, saturation, and lightness. This color model facilitates color generation and control, but not all display devices directly support HSV format display. Therefore, to ensure that colors can be accurately rendered by the display, HSV color parameters must be converted to the RGB color space, which is widely used in electronic display devices.
[0087] This conversion process uses a mathematical model to map each HSV color value to the corresponding red, green, and blue primary color values, ensuring that the color numerically adapts to the input requirements of the display hardware while maintaining color accuracy and consistency. The resulting RGB color pool serves as the core color resource library for the vehicle display system, ensuring both scientific color matching and rich color layers while also meeting the diverse color requirements for different driving modes and environmental conditions. The RGB color pool supports flexible rendering of interface elements and dynamic particle effects, enhancing the user experience and interface aesthetics.
[0088] Steps S401-S404 convert the primary RGB color of the model to the HSV color space. The number of similar colors N and the number of contrasting colors M (where N and M are both positive integers) are then rationally determined using color value matching rules. The corresponding similar and contrasting color values are then calculated. Complementary color calculations are also introduced, significantly enriching the diversity of color combinations. Furthermore, all calculated color values are rationally combined with the saturation and lightness of the primary color to form multiple HSV color values. Finally, the HSV color value is converted back to the RGB space to obtain a scientific RGB color pool that meets display requirements. This application utilizes the HSV space to intuitively separate hue, saturation, and lightness, making color adjustment more targeted and flexible. Furthermore, color value matching rules are used to systematically balance the ratio of similar and contrasting colors, and complementary colors are added to ensure a unified and harmonious color pool with rich layering and visual impact. Furthermore, the overall process has a clear structure and controllable parameters, facilitating dynamic adjustment based on different driving modes or environmental requirements. This significantly improves the adaptability and aesthetics of the vehicle display system interface color, contributing to enhanced user experience and driving safety.
[0089] In one possible implementation, the driving modes include any one of Snow Mode, Sport Mode, Day Mode, and Night Mode. These four modes are systematically categorized based on different environmental conditions and driving needs, enabling intelligent adaptation to the vehicle's operating status and external environment. When determining these modes, the vehicle display system prioritizes them in descending order of priority, first considering Snow Mode because it corresponds to more specialized driving environments with higher safety risks, such as snowy roads under strong reflective light. In these situations, the vehicle display system and auxiliary functions require the most stringent and timely adjustments to ensure optimal visibility and operational feedback for the driver. If the Snow Mode determination criteria are not met, the system then determines whether the vehicle is in Sport Mode. This mode emphasizes driving performance and responsiveness, primarily based on whether the vehicle is in Sport gear. It reflects the driver's desire for a more intense driving experience and therefore has a higher priority. If neither of the above two modes is met, the vehicle display system further determines whether the Day Mode or Night Mode determination criteria are met based on parameters such as ambient light intensity. By setting up a priority judgment mechanism, the vehicle display system can filter the most suitable driving mode layer by layer according to the complexity of the environment and driving needs, avoid multi-mode conflicts, and achieve smooth and intelligent switching, thereby ensuring the vehicle's dynamic adaptability and the driver's operating experience.
[0090] In one possible implementation, the ambient environmental data includes ambient temperature, road reflectivity, road adhesion coefficient, and ambient light intensity. These key parameters together form the basis for the system's comprehensive perception of external environmental conditions. Ambient temperature reflects the temperature of the vehicle's current environment and is an important indicator for determining climatic conditions. Road reflectivity reflects the road's reflective capacity and can reveal its wetness or contamination. Road adhesion coefficient reflects the friction of the road and is an important indicator for determining whether the road is slippery. Ambient light intensity reflects the brightness of the vehicle's surrounding light and is a key indicator for determining the brightness level of the driving environment. It helps the system distinguish between different lighting scenarios, such as daytime, nighttime, and special weather conditions, thereby providing a basis for display device brightness adjustment and information presentation. By simultaneously collecting and analyzing ambient temperature, road reflectivity, road adhesion coefficient, and ambient light intensity, the vehicle display system can achieve a more detailed and dynamic environmental perception, avoiding the risk of misjudgment caused by a single parameter.
[0091] In a possible implementation, the present application also provides a method for determining a driving mode, see Figure 5 , Figure 5This is a flowchart of an implementation method of a driving mode determination method provided in an embodiment of the present application. Accordingly, step S302 determines the driving mode of the target vehicle based on the surrounding environment data and / or the gear state, which can be specifically implemented through steps S501-S507:
[0092] S501: Identify the following conditions: whether the ambient temperature is less than the temperature threshold, whether the road surface reflectivity is greater than the reflectivity threshold, and whether the road surface adhesion coefficient is less than the adhesion coefficient threshold. If all are met, proceed to step S502; otherwise, proceed to step S503.
[0093] Identifying whether the ambient light intensity and temperature are below a temperature threshold, whether the road surface reflectivity is above a reflectivity threshold, and whether the road surface adhesion coefficient is below an adhesion threshold is a crucial prerequisite for determining whether the current external lighting conditions meet the requirements for activating a specific driving mode. Specifically, the vehicle display system first collects ambient temperature data and compares it with the temperature threshold. If the temperature is below the threshold, it indicates a low ambient temperature, potentially posing a risk of cold or icy conditions. Furthermore, the system then determines the road surface reflectivity and adhesion coefficient. If the road surface reflectivity is above the reflectivity threshold, the road surface may be wet or covered with ice or snow, resulting in increased reflectivity. If the road surface adhesion coefficient is below the adhesion threshold, the road surface friction is low, posing a risk of skidding. Only when the ambient temperature is below the temperature threshold, the road surface reflectivity is above the reflectivity threshold, and the road surface adhesion coefficient is below the adhesion threshold does the vehicle display system confirm that the current environment meets the specified conditions and proceed to the next step (step S502), setting the driving mode to the appropriate state, such as snow mode. Conversely, if any of the above conditions are not met, the current environmental conditions do not meet the triggering requirements for that mode. The vehicle display system then proceeds to step S503 to determine a more suitable driving mode based on other parameters such as gear status. This multi-conditional determination method effectively improves the accuracy and robustness of environmental perception, avoids misjudgments caused by a single parameter anomaly, and ensures that the vehicle can intelligently adapt to complex and changing environmental conditions, thereby improving overall driving safety and user experience.
[0094] In one possible implementation, the temperature threshold value can be set but not limited to around 0°C. However, users or system administrators can flexibly adjust the threshold based on actual application requirements or driving environment characteristics to more accurately adapt to climate changes in different regions and seasons, thereby improving the system's ability to recognize low-temperature environments.
[0095] In one possible implementation, the reflectivity threshold can be set but not limited to around 0.7. Users or system administrators can also dynamically adjust the reflectivity threshold based on specific needs to more accurately reflect different road materials and slippery conditions, thereby improving perception accuracy in complex weather conditions such as snowy days.
[0096] In one possible implementation, the road adhesion coefficient threshold can be set but not limited to around 0.3. Users or system administrators can also dynamically adjust the road adhesion coefficient based on specific needs to promptly respond to changes in road adhesion and optimize the decision-making effects of vehicle stability control and driving mode switching.
[0097] S502: Determine that the driving mode of the target vehicle is a snow mode.
[0098] In step S502, the target vehicle's driving mode is determined to be Snow Mode. This is a key decision based on a comprehensive assessment of ambient temperature, road surface reflectivity, and road adhesion coefficient. Specifically, when the vehicle display system detects that the ambient temperature is below a temperature threshold, the road surface reflectivity is above a reflectivity threshold, and the road surface adhesion coefficient is below an adhesion threshold, this typically indicates that the vehicle is in an environment with strong reflective light and unusual lighting conditions, such as snow. In this case, selecting Snow Mode as the current driving mode allows the vehicle display system and related auxiliary functions to optimize for these environmental characteristics, thereby enhancing safety and driving comfort.
[0099] In snow mode, the vehicle's display interface color scheme often chooses cool tones or high-contrast colors to adapt to the problems of strong reflections and visual fatigue in the snowy environment, and to enhance the recognition of the instrument panel and auxiliary information.
[0100] Furthermore, the vehicle display system can also adjust parameters such as brightness and saturation to help reduce glare interference and improve visual clarity.
[0101] In one possible implementation, some high-end models automatically recommend or activate Snow Mode to enhance driving safety through comprehensive analysis of multi-sensor data. First, a temperature sensor monitors the outside temperature in real time. When the temperature is below or equal to 0°C, an orange "snowflake" light illuminates on the instrument panel, alerting the driver to potential icy conditions. If the temperature drops to -4°C or below, a red "snowflake" light illuminates, indicating a high risk of icing and triggering a system prompt to activate Snow Mode. Second, the vehicle's Electronic Stability Control (ESC) and Traction Control System (TCS) continuously monitor the slip rate of the drive wheels. If the slip rate exceeds a preset threshold, such as during a slipping start, the system automatically limits torque output or alerts the driver to activate Snow Mode to prevent loss of control. Finally, through the fusion of ambient light sensors and cameras, the vehicle can identify the reflective characteristics of the road surface, such as the high reflectivity caused by snow accumulation. At the same time, the laser rangefinder detects the depth of snow (exceeding a certain number of meters). This information is combined to assist in judging the current road conditions, thereby more accurately deciding whether to enable snow mode and achieving intelligent adaptation to complex winter road conditions.
[0102] S503: Identify whether the gear state is in the sports gear, if so, proceed to step S504; otherwise, proceed to step S505.
[0103] The core task of step S503 is to determine whether the current target vehicle's gear status is in Sport gear. This determination is crucial for accurately determining the subsequent driving mode. Specifically, when ambient light conditions do not meet the criteria for Snow mode, the vehicle display system needs to further refine the driving mode selection based on the vehicle's actual operating conditions. Gear status, as a key parameter reflecting driver intent and regulating vehicle dynamic performance, directly indicates whether the vehicle is in an aggressive driving mode or a performance-first mode.
[0104] By detecting whether the gear is in Sport mode, the vehicle display system can infer that the driver may desire stronger power response, faster acceleration, and a more responsive handling experience. In this case, if the gear is indeed in Sport mode, the vehicle display system will proceed to step S504 to determine that the driving mode is Sport mode, so as to adjust the display interface color and related auxiliary functions to highlight the dynamic and performance style. Conversely, if the gear is not in Sport mode, it means that the vehicle is currently in conventional driving or economy mode. The vehicle display system will jump to step S505 to make further judgments based on other parameters such as ambient light intensity to determine a more appropriate driving mode, such as day mode or night mode.
[0105] S504: Determine that the driving mode of the target vehicle is a sports mode.
[0106] In actual driving, Sport mode typically indicates a driver's desire for a more aggressive and responsive handling experience, fulfilling their demands for higher vehicle performance and responsiveness. The vehicle's display system recognizes the Sport gear position as a signal indicating the driver has actively switched to a more performance-focused driving style. Therefore, setting the driving mode to Sport ensures that the vehicle's display and control parameters are perfectly aligned with driving needs.
[0107] In sports mode, the vehicle's display interface often adopts a brighter and more vibrant color scheme to enhance the visual impact and improve the dynamic experience of the driving atmosphere.
[0108] Furthermore, the vehicle display system can adjust the dashboard brightness, contrast, and priority of warning information, making it easier to quickly capture and respond to key data and ensure driving safety.
[0109] S505: Identify whether the ambient light intensity is greater than the light intensity threshold, if so, proceed to step S506, otherwise proceed to step S507.
[0110] The core of step S505 is to determine the ambient light intensity so that the vehicle display system can intelligently switch to the most appropriate driving mode according to different lighting conditions. Specifically, the vehicle display system first determines whether the current ambient light intensity is greater than the light intensity threshold. If the ambient light intensity meets this condition, the system will proceed to step S506 and determine the driving mode as daytime mode, thereby optimizing the display brightness and color according to moderate lighting conditions, improving information visibility and driving comfort. On the other hand, if the ambient light intensity does not meet this condition, it means that the surrounding environment is dark or even low-light, such as at night or in a tunnel with insufficient lighting. At this time, the vehicle display system directly proceeds to step S507 and determines the driving mode as nighttime mode.
[0111] In one possible implementation, the light intensity threshold value can be set but not limited to 20 lux. However, users or system administrators can flexibly adjust the threshold based on actual application requirements or driving environment characteristics to adapt to changes in lighting conditions in different regions, seasons or special scenarios, thereby improving the applicability of the vehicle display system to environmental perception.
[0112] S506: Determine that the driving mode of the target vehicle is the daytime mode.
[0113] The determination in step S506 that the target vehicle's driving mode is daytime mode is based on the determination that the ambient light intensity is greater than a light intensity threshold. This lighting range typically corresponds to normal daytime lighting conditions, neither too strong nor too weak, representing most common daytime driving environments.
[0114] S507: Determine that the driving mode of the target vehicle is night mode;
[0115] The determination in step S507 that the target vehicle's driving mode is night mode is based on the fact that the ambient light intensity is no greater than (i.e., less than or equal to) a light intensity threshold. This low light intensity range typically corresponds to nighttime, tunnels, and other low-light environments. In these scenarios, insufficient illumination poses significant challenges to the driver's visual system, leading to visual fatigue and misjudgment, thus increasing driving risks. To enhance driving safety and comfort, the vehicle display system optimizes the vehicle display by switching the driving mode to night mode.
[0116] Through steps S501-S507, this step-by-step driving mode judgment method based on ambient light and gear status reflects the advanced level of intelligent vehicle environmental perception and mode adaptation technology, taking into account accuracy, stability and practicality, and greatly improving the intelligent interactive experience and driving safety of the entire vehicle.
[0117] In one possible implementation, the mode RGB primary colors of the snow mode include: the RGB color value of any warm color. This is because the snowy environment usually presents a cold and bright visual feature. Using warm colors as the primary color can effectively counteract the cold color perception in the environment and create a warm and comfortable visual atmosphere for the driver. Warm RGB color values, such as red, orange, and yellow, not only enhance the affinity of the interface, but also enhance the user's psychological pleasure and sense of security, and help alleviate visual fatigue caused by light reflected from the snow. In addition, the use of warm colors can also enable the vehicle interface to maintain good visibility and recognition under complex lighting conditions in the snow, thereby improving driving safety.
[0118] In one possible implementation, the primary RGB color for the sports mode includes the RGB color values of any color (i.e., a color with a stimulating hue) with a saturation greater than a saturation threshold and / or a contrast greater than a contrast threshold. This is because vibrant and dynamic colors can enhance the sense of movement and excitement conveyed by the sports mode. Highly saturated colors can significantly increase visual impact, making the interface more eye-catching and vibrant; while high contrast enhances the distinction between colors, making information communication clearer and more intuitive. This stimulating hue not only meets the driver's psychological needs of excitement and acuity in motion, but also stimulates the driver's desire to control and focus, helping to enhance the driving experience and safety. By using these highly saturated, high-contrast colors as the primary colors for the sports mode, a close match between the visual presentation and the driving mode atmosphere can be effectively achieved.
[0119] In one possible implementation, the primary RGB color for daytime mode includes the RGB color values of any color with a perceived brightness greater than a first perception threshold (i.e., a bright color). This is because daytime ambient light is abundant, and selecting a color with high perceived brightness as the primary color helps ensure good visibility and legibility of the vehicle's display interface even in bright light conditions. Bright colors not only improve information clarity and contrast, making it easier for drivers to quickly capture key data, but also enhance the overall visual comfort of the interface, reducing visual fatigue caused by prolonged driving.
[0120] It's important to note that perceived brightness is a weighted value calculated based on the human eye's sensitivity to different colors of light. It's often used to assess the visual brightness of a color. This calculation is typically based on the red, green, and blue channel values in the RGB color space, taking into account the different perceptual sensitivities of the human eye to these three colors.
[0121] Among them, the commonly used formula for calculating perceived brightness is a weighted linear combination:
[0122] L=0.299×R+0.587×G+0.114×BL=0.299×R+0.587×G+0.114×B.
[0123] R, G, and B represent the values of the red, green, and blue channels, respectively, and typically range from 0 to 255 (or normalized to 0 to 1). The coefficients 0.299, 0.587, and 0.114 reflect the human eye's sensitivity to green, followed by red, and finally blue.
[0124] For example, assuming the RGB value of a color is (120, 200, 150), substitute the RGB value into the formula: L = 0.299 × 120 + 0.587 × 200 + 0.114 × 150 = 35.88 + 117.4 + 17.1 = 170.38, and the resulting 170.38 is the perceived brightness value of the color.
[0125] In one possible implementation, the RGB primary colors of the night mode include: the RGB color values of any color (i.e., a dull color) whose perceived brightness is less than a second perception threshold. The second perception threshold here is less than the first perception threshold, indicating that the brightness of the colors selected for the night mode is significantly lower than that of the day mode, in order to meet the special needs of visual comfort and safety at night or in low-light environments. Using a color with low perceived brightness as the primary color can effectively reduce the light intensity of the display interface, reduce stimulation and glare interference to the driver's eyes, thereby avoiding visual fatigue and distraction, and helping to maintain the driver's night vision acuity. At the same time, this darker tone helps create a quiet and soft atmosphere in the car, improving the comfort of the driving experience.
[0126] In one possible implementation, the first perception threshold can be set to, but not limited to, 180 (based on the RGB color value range of 0-255), and the second perception threshold can be set to, but not limited to, 80. This setting ensures that colors with perceived brightness above 180 are considered bright, suitable for daytime mode; colors below 80 are considered dark, suitable for nighttime mode. The specific thresholds can be adjusted based on actual system requirements and ambient light conditions.
[0127] In a possible implementation, the calculation process of the N similar color values includes:
[0128] A similar color interval is determined according to the similar color interval definition, and equally spaced sampling is performed in the similar color interval based on the number N of similar colors to obtain the N similar color values.
[0129] Specifically, the color range is first limited according to a pre-set "similar color interval." This interval is usually defined based on attributes such as hue, saturation, or brightness to ensure that the sampled colors maintain a high degree of consistency and coherence in visual or functional terms. Subsequently, based on the number N of similar colors that need to be generated, the sampling points are evenly distributed within this determined color interval. That is, an evenly spaced sampling strategy is adopted to divide the entire color interval into N equal segments, with each sampling point corresponding to a specific color value. This method not only ensures uniform coverage of the selected colors in the color space, but also facilitates subsequent color management and application.
[0130] For example, assuming the color range is 0° to 15° (expressed in HSV hue angles) and there are five similar colors, then the 0° to 15° range needs to be evenly divided into five equally spaced points: 0°, 3°, 6°, 9°, and 12°. At each hue point, the corresponding RGB color value can be calculated with fixed saturation and brightness values, ultimately resulting in five visually similar and continuously varying red tones.
[0131] By clearly defining the intervals of similar colors and sampling at equal intervals based on the number N, not only is the generation process of similar color values standardized and automated, but the coordination and aesthetics between colors are also ensured, greatly improving the scientific nature of color application and user experience.
[0132] In one possible implementation, the similar color interval definition includes: [H-15°, H+15°], where H is the hue value H in the HSV color space of the pattern. By setting a hue fluctuation range of ±15°, it is possible to ensure that the similar colors sampled maintain a high degree of consistency in hue, while also covering a certain degree of color diversity, thereby enhancing the layering and richness of the overall color matching. For example, if the main color hue value H of a certain pattern is 30° (orange), then the similar color interval is [15°, 45°]. The color values sampled are all within this range, appearing as a gradient from yellow-orange to red-orange, which conforms to the visual concept of "similar colors".
[0133] In one possible implementation, step S403 combines the N similar color values with the saturation value S and the lightness value V in the model HSV color space, combines the M contrasting color values with the saturation value S and the lightness value V, and combines the complementary color value with the saturation value S and the lightness value V to obtain (M+N+1) HSV color values, including:
[0134] If a target color value greater than 360 degrees or less than 0 degrees exists among the N similar color values, the M contrasting color values, and the complementary color values, the target color value is modulo-ed by 360 degrees to obtain a modulo color value. The target color value is then combined with the saturation value S and the lightness value V. The color values other than the target color value among the N similar color values, the M contrasting color values, and the complementary color values are combined with the saturation value S and the lightness value V to obtain the (M+N+1) HSV color values.
[0135] Considering that hue values are usually expressed in degrees and the range of this value in the HSV color space is 0° to 360°, when the value exceeds this range in the process of calculating similar color values, contrasting color values or complementary color values, these color values need to be properly processed to ensure the validity and accuracy of the color. Specifically, if the calculation result causes a hue value greater than 360°, a modulo 360 operation should be performed on it, that is, 360° is subtracted from the color value until it falls within the range of 0° to 360°; similarly, if a hue value is less than 0°, 360° is added to return it to the valid hue range. This modulo 360-degree processing method fully utilizes the cyclic characteristics of the hue circle to ensure that all color values are within the standard hue circle, preventing color recognition errors or display anomalies due to out-of-bounds values.
[0136] For example, assuming the hue value H of the main color of a certain pattern is 350°, when calculating its contrast color value, the hue needs to be increased by 180° to obtain 530°, which obviously exceeds the upper limit of 360°. At this time, the result obtained by processing 530° modulo 360 is 170∘, thereby obtaining the correct contrast color value of 170°, ensuring the effective definition of the color. Similarly, if the calculated result of a similar color value is -10°, 350° is obtained by adding 360°, so that the hue falls back into the legal range. Through this mechanism, the cyclic continuity and stability of the color calculation process are achieved, avoiding potential problems caused by abnormal color values.
[0137] After obtaining the modulo-processed hue values, these hue values can be combined with the predetermined saturation value S and lightness value V to form a complete HSV color representation. Specifically, whether for similar color values, contrasting color values, or complementary color values, after excluding the target color value itself, the corresponding hue (including the color value adjusted by the modulo 360° operation) is paired with uniform saturation and lightness parameters to generate a set of colors with consistent saturation and lightness properties. In this way, the resulting NN similar color values, MM contrasting color values, and 1 target color value, totaling M+N+1 HSV color values, not only ensure hue variation but also maintain overall color harmony and visual coherence. This process effectively integrates information from different dimensions in the color space, allowing the generated colors to meet diverse hue requirements while uniformly exhibiting similar saturation and lightness characteristics, facilitating subsequent color presentation and stylistic uniformity.
[0138] Based on the rendering method of a vehicle display device provided by the above method embodiment, an embodiment of the present application also provides a rendering device for a vehicle display device, which will be described below in conjunction with the accompanying drawings.
[0139] See also Figure 6 As shown, Figure 6 This is a schematic diagram of a rendering device for a vehicle display device provided in an embodiment of the present application. Figure 6 As shown, the rendering device of the vehicle display device includes:
[0140] A first acquisition unit 601 is used to acquire the surrounding environment data and gear status of the target vehicle;
[0141] a driving mode determining unit 602, configured to determine a driving mode of the target vehicle based on the surrounding environment data and / or the gear state;
[0142] The second acquisition unit 603 is used to acquire the mode RGB primary color corresponding to the driving mode; the mode RGB primary color is the visual primary color in the driving mode;
[0143] RGB color pool generating unit 604, configured to generate an RGB color pool based on RGB primary colors and color value matching rules; the RGB color pool includes multiple RGB color values;
[0144] The particle rendering unit 605 is used to implement particle rendering of the display interface according to the RGB color pool.
[0145] In a possible implementation, the particle rendering unit 605 is specifically the same as:
[0146] Circulating and randomly combining each RGB color value in the RGB color pool to fill the particle queue to achieve particle rendering of the display interface;
[0147] In each cycle, all RGB color values in the RGB color pool are randomly and non-repeatedly used to fill the particle queue for particle rendering.
[0148] In a possible implementation, the RGB color pool generating unit 604 specifically includes:
[0149] A first conversion unit is configured to convert the RGB primary color of the model into the HSV color space; and determine the number N of similar colors and the number M of contrasting colors according to the color value matching rule; N and M are both positive integers;
[0150] a calculation unit, configured to perform similar color calculation and contrasting color calculation on the hue value H in the pattern HSV color space, respectively, based on the number N of similar colors, the definition of similar color intervals, the number M of contrasting colors, and the definition of contrasting colors, to obtain N similar color values and M contrasting color values, and to perform complementary color calculation on the hue value H in the pattern HSV color space to obtain complementary color values;
[0151] a first combining unit, configured to combine the N similar color values with a saturation value S and a lightness value V in the pattern HSV color space, combine the M contrasting color values with the saturation value S and the lightness value V, and combine the complementary color value with the saturation value S and the lightness value V, to obtain (M+N+1) HSV color values;
[0152] The second conversion unit is configured to perform RGB conversion on the color parameters of the (M+N+1) HSV color values one by one to obtain the RGB color pool.
[0153] In a possible implementation, the apparatus further includes:
[0154] The sampling unit is configured to determine a similar color interval according to the similar color interval definition, and perform equal-interval sampling in the similar color interval based on the number N of similar colors to obtain the N similar color values.
[0155] In a possible implementation, the similar color interval definition includes: [H-15°, H+15°], where H is the hue value H in the HSV color space of the model.
[0156] In a possible implementation, the first combination unit specifically includes:
[0157] a modulo unit, configured to perform a modulo process on the color value with respect to 360 degrees if any color value among the similar color value, the contrasting color value, and the complementary color value is greater than 360 degrees or less than 0 degrees;
[0158] A second combining unit is configured to combine the modulo color value with the saturation value S and the lightness value V, and to combine the color values other than the target color value among the N similar color values, the M contrasting color values, and the complementary color values with the saturation value S and the lightness value V to obtain the (M+N+1) HSV color values.
[0159] In a possible implementation, the driving mode includes any one of a snow mode, a sports mode, a day mode, and a night mode.
[0160] In a possible implementation, the surrounding environment data includes ambient temperature, road surface reflectivity, road surface adhesion coefficient, and ambient light intensity.
[0161] In a possible implementation, the driving mode determining unit 602 specifically includes:
[0162] a snow mode determination unit, configured to identify the following conditions: whether the ambient temperature is less than a temperature threshold, whether the road surface reflectivity is greater than a reflectivity threshold, and whether the road surface adhesion coefficient is less than an adhesion coefficient threshold, and determine that the driving mode of the target vehicle is the snow mode if all of the above conditions are met;
[0163] a sports mode determination unit, configured to identify whether the gear state is in the sports gear, and if so, determine that the driving mode of the target vehicle is the sports mode;
[0164] a daytime mode determination unit, configured to determine that the driving mode of the target vehicle is the daytime mode if the ambient light intensity is greater than a light intensity threshold;
[0165] A night mode judgment unit is used to determine that the driving mode of the target vehicle is the night mode if the ambient light intensity is less than or equal to a light intensity threshold.
[0166] In a possible implementation, the mode RGB primary colors of the snow mode include: RGB color values of any warm color;
[0167] The mode RGB primary color of the sports mode includes: RGB color values corresponding to colors whose saturation is greater than a saturation threshold and / or whose contrast is greater than a contrast threshold;
[0168] The mode RGB primary colors of the day mode include: RGB color values corresponding to colors with a perceived brightness greater than a first perception threshold;
[0169] The mode RGB primary color of the night mode includes: the RGB color value corresponding to the color with a perceived brightness less than a second perception threshold;
[0170] The second perception threshold is smaller than the first perception threshold.
[0171] In addition, an embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the rendering method of the vehicle display device as described above.
[0172] This application accurately identifies the current driving mode by collecting ambient light data and gear status around the vehicle in real time, and generates a coordinated and unified RGB color pool based on the corresponding mode RGB main color combined with the color value matching rules, thereby ensuring that the display color meets the high-view requirements of the actual environment, effectively improving the display effect and driving safety. In addition, through the cycle and degree of fit. Finally, the various RGB color values in the RGB color pool are combined to realize the particle rendering of the display interface. Based on this, the present application significantly enhances the clarity and stability of visual guidance, better adapts to the changing driving scenes, and uses all the colors in the color pool in sequence, effectively avoiding the extreme color confusion caused by pure random distribution, and achieving uniform coverage and visual balance of particle colors.
[0173] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative work.
[0174] The above is merely one specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A rendering method for a vehicle display device, characterized in that: The method comprises: Obtain the target vehicle's surrounding environment data and gear status; determining a driving mode of the target vehicle based on the surrounding environment data and / or the gear state; Obtaining a mode RGB primary color corresponding to the driving mode; the mode RGB primary color is the primary visual color in the driving mode; Generate an RGB color pool based on the pattern RGB primary color and color value matching rules; the RGB color pool includes multiple RGB color values; According to the RGB color pool, particle rendering of the display interface is realized.
2. The method according to claim 1, characterized in that The step of implementing particle rendering of a display interface according to the RGB color pool includes: Circulating and randomly combining each RGB color value in the RGB color pool to fill the particle queue to achieve particle rendering of the display interface; In each cycle, all RGB color values in the RGB color pool are used randomly and non-repeatedly to fill the particle queue for particle rendering.
3. The method according to claim 1, characterized in that The generating of the RGB color pool based on the RGB primary colors and color value matching rules includes: Convert the RGB primary color of the model into the HSV color space of the model; and determine the number N of similar colors and the number M of contrasting colors according to the color value matching rule; N and M are both positive integers; Based on the number N of similar colors, the definition of similar color intervals, the number M of contrasting colors, and the definition of contrasting colors, similar color calculation and contrasting color calculation are performed on the hue value H in the model HSV color space to obtain N similar color values and M contrasting color values, and complementary color calculation is performed on the hue value H in the model HSV color space to obtain complementary color values; Combining the N similar color values with the saturation value S and the lightness value V in the pattern HSV color space, combining the M contrasting color values with the saturation value S and the lightness value V, and combining the complementary color value with the saturation value S and the lightness value V, to obtain (M+N+1) HSV color values; The color parameters of the (M+N+1) HSV color values are converted to RGB one by one to obtain the RGB color pool.
4. The method according to claim 3, characterized in that The calculation process of the N similar color values includes: A similar color interval is determined according to the similar color interval definition, and equally spaced sampling is performed in the similar color interval based on the number N of similar colors to obtain the N similar color values.
5. The method according to claim 3, characterized in that The definition of the similar color interval includes: [H-15°, H+15°], where H is the hue value H in the HSV color space of the model.
6. The method according to claim 3, characterized in that The combining of the N similar color values with the saturation value S and the lightness value V in the model HSV color space, the combining of the M contrasting color values with the saturation value S and the lightness value V, and the combining of the complementary color value with the saturation value S and the lightness value V to obtain (M+N+1) HSV color values includes: If a target color value exists among the N similar color values, the M contrasting color values, and the complementary color value, performing a modulo process on the target color value with respect to 360 degrees to obtain a modulo color value, wherein the target color value is a color value greater than 360 degrees or less than 0 degrees; The modulo color value is combined with the saturation value S and the lightness value V, and the color values of the N similar color values, the M contrasting color values, and the complementary color values other than the target color value are combined with the saturation value S and the lightness value V to obtain the (M+N+1) HSV color values.
7. The method according to claim 1, characterized in that The driving mode includes any one of a snow mode, a sports mode, a day mode, and a night mode; the surrounding environment data includes ambient temperature, road surface reflectivity, road surface adhesion coefficient, and ambient light intensity; The determining the driving mode of the target vehicle based on the surrounding environment data and / or the gear state includes: identifying the following conditions: whether the ambient temperature is less than a temperature threshold, whether the road surface reflectivity is greater than a reflectivity threshold, and whether the road surface adhesion coefficient is less than an adhesion coefficient threshold; and determining that the driving mode of the target vehicle is the snow mode if all of the above conditions are met; Otherwise, identifying whether the gear state is in the sport gear, and if so, determining that the driving mode of the target vehicle is the sport mode; Otherwise, identifying whether the ambient light intensity is greater than a light intensity threshold, and if so, determining that the driving mode of the target vehicle is the daytime mode; Otherwise, it is determined that the driving mode of the target vehicle is the night mode.
8. The method according to claim 7, characterized in that The RGB primary colors of the snow mode include: RGB color values of any warm color; The mode RGB primary color of the sports mode includes: RGB color values corresponding to colors whose saturation is greater than a saturation threshold and / or whose contrast is greater than a contrast threshold; The mode RGB primary colors of the day mode include: RGB color values corresponding to colors with a perceived brightness greater than a first perception threshold; The mode RGB primary color of the night mode includes: the RGB color value corresponding to the color with a perceived brightness less than a second perception threshold; The second perception threshold is smaller than the first perception threshold.
9. A rendering device for a vehicle display device, characterized in that: The device comprises: A first acquisition unit is used to acquire the surrounding environment data and gear status of the target vehicle; a driving mode determining unit, configured to determine a driving mode of the target vehicle based on the surrounding environment data and / or the gear state; The second acquisition unit is used to acquire a mode RGB primary color corresponding to the driving mode; the mode RGB primary color is the visual primary color in the driving mode; An RGB color pool generating unit, configured to generate an RGB color pool based on the pattern RGB primary colors and color value matching rules; the RGB color pool includes a plurality of RGB color values; A particle rendering unit, configured to circulate and randomly combine the RGB color values in the RGB color pool to fill a particle queue, thereby realizing particle rendering of a display interface; In each cycle, all RGB color values in the RGB color pool are used randomly and non-repeatedly to fill the particle queue for particle rendering.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the rendering method for a vehicle display device according to any one of claims 1 to 8.
Citation Information
Patent Citations
Image information processing method, device and equipment for augmented reality head-up display device
CN109795414A
Equipment control method and device, vehicle-mounted head-up display equipment and storage medium
CN111071037A
HUD adaptive display method, system and device and vehicle
CN118560516A
Head-up display device
JP2013015738A
Autonomous driving method and system based on scene adaptive recognition
WO2024109763A1