Self-adaptive control method and system for vehicle lamp effect
By dividing the vehicle light image into areas and identifying the brightness levels, the brightness level of the LED is automatically controlled, which solves the problems of fixed lighting effects and low script writing efficiency in the existing technology, and realizes the automated management of vehicle lights and the universalization of different models. developed to improve efficiency and reliability.
Patent Information
- Application Number
- CN202410709751.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-08-23
AI Technical Summary
Existing vehicle lighting control technology cannot realize automated management of dynamic effects, resulting in fixed lighting effects that cannot be updated in time. Moreover, writing scripts is inefficient and costly. It is limited by the number and type of LEDs, making it impossible to achieve universal development of different models.
By dividing the image to be displayed into several areas, identifying the brightness level of each area, and packaging it and sending it to the lighting controller, the brightness level is adjusted according to the corresponding relationship between the area and the LED to achieve automatic control of dynamic effects and avoid manual programming. The problem of inefficiency and high cost of scripts.
It realizes the automatic control of vehicle lighting, improves the light effect conversion and lighting efficiency, reduces costs, realizes the universal development of different models, and improves the reliability and practicality of the display effect.
Smart Images

Figure CN118540832A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of vehicle headlight control, and in particular relates to an adaptive control method and system for vehicle lighting effects. Background Art
[0002] With the development of electronic technology, electrification, intelligence, networking and sharing are gradually becoming the development trend and strategic direction of the automotive industry. As the main way for car lights to interact with users, the matrix and intelligent control of lights are becoming more and more important.
[0003] Dot matrix or digital control uses LVDS (Low-Voltage Differential Signaling) or Ethernet to control vehicle lights, which is costly and involves digital signal conversion. Ordinary control methods can only turn on or off dot matrix screens or matrix lights, but cannot control the brightness level, light and dark transitions, or pattern transitions of lights. In addition, once the lighting effect of a vehicle is set at the factory, it cannot be changed, and the effect of a vehicle that is always new cannot be achieved.
[0004] Traditional car exterior lighting effects are fixed, and cannot achieve dynamic effect updates, or cannot present the effects that users want to show in a timely manner. In addition, dynamic effects need to be implemented through manual scripting, which is inefficient, labor-intensive, and time-consuming. Summary of the invention
[0005] In view of the shortcomings of the prior art mentioned above, the object of the present invention is to provide an adaptive control method for vehicle lighting dynamic effects, which can automatically identify dynamic effect videos or pictures, and send the identified dynamic or static lighting effects in the form of coordinates to the lamp controller to drive the corresponding LED (light-emitting diode), thereby realizing the control and adjustment of the brightness and darkness effects.
[0006] To achieve the above-mentioned purpose and other related purposes, the present invention provides an adaptive control method for vehicle lighting effects, which is applied to a vehicle controller, including: acquiring an image to be displayed; dividing the image to be displayed into a plurality of areas, and identifying the brightness level of each area; packaging the brightness levels of all areas, and sending them to a lamp controller, so that it can control the brightness of the corresponding light-emitting unit according to the correspondence between each area and the light-emitting unit in the vehicle headlights, and according to the brightness level of each area.
[0007] According to a specific embodiment of the present invention, the step of dividing the image to be displayed into a plurality of areas and identifying the brightness level of each area includes: establishing a coordinate system based on the image to be displayed, and dividing the image to be displayed along the horizontal axis and the vertical axis of the coordinate system according to preset size parameters to obtain a plurality of areas; identifying the brightness level of each area; wherein the size parameters are calculated based on the resolution of the image to be displayed and the size parameters of the vehicle headlights.
[0008] According to a specific embodiment of the present invention, a coordinate system is established based on the image to be displayed, and the image to be displayed is divided along the horizontal axis and the vertical axis of the coordinate system according to preset size parameters to obtain a plurality of areas. The steps include: preprocessing the image to be displayed to adjust it to a preset fixed resolution.
[0009] According to a specific embodiment of the present invention, a coordinate system is established based on the image to be displayed, and the image to be displayed is divided along the horizontal axis and the vertical axis of the coordinate system according to preset size parameters to obtain a plurality of areas, the step comprising: dividing the image to be displayed equally along the horizontal axis and the vertical axis of the coordinate system according to preset size parameters to obtain a plurality of areas and corresponding equally divided coordinates.
[0010] According to a specific embodiment of the present invention, the step of identifying the brightness level of each region includes: for each region: obtaining brightness values of all pixels in the region, and identifying the brightness level of the region based on all brightness values.
[0011] According to a specific embodiment of the present invention, the step of identifying the brightness level of the region according to all brightness values includes: identifying the brightness level of the region using the maximum value or minimum value of all brightness values corresponding to the region, or the average value of all brightness values as a reference.
[0012] According to a specific embodiment of the present invention, the brightness levels of all areas are packaged and sent to the lamp controller so that it can control the brightness of the corresponding light-emitting unit according to the correspondence between each area and the light-emitting unit in the vehicle headlight according to the brightness level of each area. The steps include: sorting the brightness level of each area according to the arrangement order of each area in the coordinate system, and packaging and sending it to the lamp controller so that it can match the corresponding light-emitting unit according to the order of arrangement of the brightness levels in the data packet, and control the brightness of the corresponding light-emitting unit according to the brightness level.
[0013] According to a specific embodiment of the present invention, the brightness levels of all areas are packaged and sent to the lamp controller so that it can match the corresponding light-emitting units in the vehicle headlights according to the correspondence between each area and the light-emitting units in the vehicle headlights, and control the brightness of the corresponding light-emitting units according to the brightness level of each area. The steps include: based on an established coordinate system, the brightness level of each area and the corresponding coordinate position are packaged and sent to the lamp controller so that it can match the corresponding light-emitting units according to the coordinate position corresponding to the brightness level in the data packet, and control the brightness of the corresponding light-emitting units according to the brightness level.
[0014] A method for adaptively controlling vehicle lighting effects, applied to a lamp controller, comprises: obtaining a data packet sent by a vehicle controller; wherein the data packet is obtained by packaging the vehicle controller after dividing an image to be displayed into a plurality of areas and identifying corresponding brightness levels; matching corresponding light-emitting units in a vehicle headlight according to the order of arrangement of brightness levels in the data packet or the coordinate positions corresponding to the brightness levels; lighting up the successfully matched light-emitting units according to their corresponding brightness levels and controlling the brightness and darkness.
[0015] An adaptive control system for vehicle lighting effects, characterized in that it includes: a vehicle controller, used to obtain an image to be displayed; divide the image to be displayed into a plurality of areas, and identify the brightness level of each area; package the brightness levels of all areas and send them to a lamp controller; the lamp controller, used to obtain a data packet sent by the vehicle controller; match the corresponding light-emitting units in the vehicle headlights according to the order of arrangement of the brightness levels in the data packet or the coordinate positions corresponding to the brightness levels; and light up the successfully matched light-emitting units according to their corresponding brightness levels, and control the brightness and darkness.
[0016] The present invention provides a vehicle lighting effect adaptive control method, which divides the lighting effect image into several areas to establish a mapping relationship between the image and the LED. At the same time, the coordinate position information and brightness information of the image area are identified, and the brightness of the corresponding LED is adjusted according to the coordinate position information and brightness information of the area. Compared with directly sending the lighting information of the LED, it is not limited by the model of the vehicle lamp and the difference in the display area of the front and rear vehicle lamps, and realizes the universal development of different vehicle models.
[0017] The present invention can automatically identify lighting effect videos or pictures, analyze and light up the corresponding LEDs, automatically generate lighting effect scripts, and realize automatic control, which greatly improves the efficiency of lighting effect conversion and lighting. At the same time, compared with LVDS or Ethernet control, it can achieve better display effects at a lower cost, is not affected by the number of LEDs in the car lights, and has higher reliability and practicality. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1A flowchart of a specific embodiment of an adaptive control method for vehicle lighting effects provided by the present invention;
[0019] Figure 2 A schematic flow chart of another specific embodiment of a method for adaptively controlling vehicle lighting effects provided by the present invention;
[0020] Figure 3 A schematic structural diagram of a specific embodiment of an adaptive control system for vehicle lighting effects provided by the present invention;
[0021] Figure 4 This is a structural block diagram of a specific embodiment of a vehicle terminal provided by the present invention. DETAILED DESCRIPTION
[0022] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0023] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0024] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0025] Example 1
[0026] See also Figure 1 As shown, a method for adaptively controlling vehicle lighting effects includes:
[0027] Step S110, obtaining an image to be displayed.
[0028] It is understandable that the user can download static effect pictures of the lights or dynamic effect videos from the local area network of the vehicle according to personal preference, such as constant light, breathing, gradient and other lighting effects, to adjust the lighting display of the vehicle. Therefore, the image to be displayed mentioned in this embodiment can be a static picture or a dynamic video, and there are no excessive restrictions on this. Moreover, when the user selects a static picture, it can be directly used for recognition. When the user selects a dynamic video, it needs to be converted into multiple frames of pictures to recognize each frame of the picture.
[0029] Step S120, dividing the image to be displayed into a plurality of regions, and identifying the brightness level of each region.
[0030] It is understandable that the appearance of lamps and headlights is strongly related. The appearance of the front and rear lamps of a vehicle can be very different, not to mention the lamps of different models of vehicles, where the difference in the number of LEDs or the difference in the arrangement of LEDs leads to the differentiated development of lamp control. This embodiment is to achieve universal development of different models of headlights, adaptively compatible with different models of headlights, reduce the workload of manually writing headlight dynamic effect scripts, facilitate the maintenance, replacement and update iteration of headlights, and thus promote the development of vehicle headlights.
[0031] Therefore, based on the image to be displayed selected by the user, a mapping relationship between the image and the LED, ie, the light-emitting unit, in the vehicle headlight needs to be established so as not to be affected by the model of the vehicle headlight.
[0032] Specifically, after obtaining the image to be displayed, its parameters need to be solidified first. For example, some images have a relatively large resolution, while some images have a relatively small resolution. If a set of software programs for recognition is developed for images of different resolutions, the burden on R&D personnel will be increased accordingly, and more computing power of the controller will also be occupied.
[0033] Therefore, it is necessary to adjust the resolution of the image to a fixed resolution size for easy recognition. Of course, the fixed resolution can be freely configured according to the model of the current vehicle headlights to ensure that the headlights can be displayed normally after image recognition. In addition, for the solidification of the image size, it is preferred to adjust its resolution size. When it is impossible to adapt the vehicle headlights by adjusting the resolution of the image, the image can also be adaptively cropped to obtain an image of the target size parameters. There are no excessive restrictions on this. The main purpose is to avoid the impact of differences in size or resolution on image recognition. Without departing from the spirit of the present invention, the modifications and embellishments made to the embodiments of the present invention by those skilled in the art still fall within the scope of the invention patent application of the present invention.
[0034] Furthermore, in order to establish a mapping relationship between the image and the LED in the vehicle headlight, the image can be displayed by adjusting the brightness of different LEDs. Accordingly, a coordinate system is established on the image to be displayed to calibrate the coordinate position of each pixel in the image. At the same time, the image to be displayed can be divided into several areas according to preset size parameters.
[0035] It is understandable that the number of pixels in the image is far greater than the number of LEDs configured in the vehicle headlights. Therefore, it is necessary to correspond the LED to an area composed of several pixels in the image to display the area through the degree of brightness. The pixels on the image to be displayed can be divided accordingly according to preset size parameters, such as 2*2, 4*4, 6*6, 8*8 and other size parameters. Among them, the size parameters are calculated based on the resolution of the image to be displayed and the size parameters of the vehicle headlights. For example, according to the resolution of the image to be displayed, it can be known how many pixels there are in the length direction of the image and how many pixels there are in the width direction. At the same time, it can also be known how many LEDs are configured in the length direction of the vehicle headlights and how many LEDs are configured in the width direction. In order to ensure that each area of the image matches the corresponding LED, it can be calculated that the size parameter of the area should be what it is, so that the image to be displayed can be divided according to the size parameter of the area.
[0036] In a specific embodiment, in order to better display the image, the image to be displayed may be equally divided along the direction of the horizontal axis and the vertical axis of the coordinate system according to preset size parameters to obtain a plurality of regions and corresponding equally divided coordinates.
[0037] It should be noted that in order to establish a mapping relationship between each area in the image to be displayed and the LED, the image to be displayed and the display area of the LED are at least established in the same coordinate system to facilitate mapping. For example, the image to be displayed and the display area of the LED in the vehicle headlight are both established with the center as the origin to establish a coordinate system, and the corresponding LED can be matched according to the coordinate position of the area in the image to be displayed.
[0038] In addition, the coordinate position of the region is not limited to being obtained through the coordinate system. For example, after the image is divided into multiple regions, the coordinate position of each region can be customized in the order of the Nth row and the Nth column, such as 1-1, 1-2, 1-3, 2-1, 3-1, etc. There are no excessive restrictions on this. The significance of calibrating the region position is to establish a mapping relationship with the LED in the vehicle headlight so that the LED can be adjusted according to the brightness level corresponding to the region to display its corresponding region, so that the image to be displayed is finally formed by the lighting and brightness of many LEDs. Without departing from the spirit of the present invention, the modifications and embellishments made to the embodiments of the present invention by those skilled in the art still fall within the scope of the invention application of the present invention.
[0039] Furthermore, after the image is divided into regions, the brightness level of each region is identified accordingly, so that the subsequent lamp controller can adjust the brightness of the corresponding LED according to the brightness level. Specifically, for each region: the brightness values of all pixels in the region are obtained, and the brightness level of the region is identified based on all the brightness values. In this embodiment, the brightness value is specifically described as an RGB value, but the color format of the image is not limited.
[0040] In a specific embodiment, the RGB value of a region can use the maximum value of the RGB values of all pixels in the region as a reference to count the RGB values of each region, and then the levels can be divided according to the RGB values of all regions. It should also be added that the 4-bit bit format is sufficient for application in the field of LED display, and the fast operation speed can reduce additional operation time and hardware costs. At the same time, since 4 bits can represent integers from 0 to 15, the brightness level can be divided into 16 levels accordingly.
[0041] Therefore, the area can be divided according to the RGB values of all areas and the number of brightness levels. For example, the maximum value of the RGB values of all areas can be used as the upper limit and the minimum value as the lower limit, and 16 RGB value range intervals can be divided according to the upper and lower limits, and each interval corresponds to a brightness level. The sizes of two adjacent RGB value range intervals can be exponentially increasing or equal. Finally, the corresponding brightness level can be identified according to the RGB value range interval in which the regional RGB value is located.
[0042] It should be noted that identifying the brightness level of an area in an image is mainly used to distinguish the brightness of different areas in order to adjust the brightness of the corresponding LED. How to identify the brightness level of each area is not limited to the above. This embodiment only provides a preferred embodiment as a reference. The modifications and embellishments made to the embodiments of the present invention by those skilled in the art without departing from the spirit of the present invention still fall within the scope of the invention application patent of the present invention.
[0043] In addition, it can be understood that the RGB value of an area can also use the minimum value of the RGB values of all pixels in the area as a reference, or the mean of all RGB values in the area as a reference. There are no excessive restrictions on this, and it can be customized according to actual needs.
[0044] Step S130, the brightness levels of all areas are packaged and sent to the lamp controller so that it can control the brightness of the corresponding light-emitting unit according to the corresponding relationship between each area and the light-emitting unit in the vehicle headlight and the brightness level of each area.
[0045] Based on the above steps S110 and S120, the image can be divided into several areas to correspond to the LEDs in the vehicle headlights, and the LEDs can adjust their brightness according to the brightness level of the area. Therefore, the coordinate position of the corresponding area can be marked for each brightness level, so that the lamp controller can match the corresponding LED according to the coordinate position corresponding to the brightness level. For example, if the brightness level of a certain area is 1 and the coordinate position is 1-1, a data link can be generated according to the brightness level 1 and the coordinate position 1-1, and the data links of all areas can be integrated and packaged to be sent to the downstream lamp controller. The lamp controller parses the data packet, matches the corresponding LED according to the coordinate position 1-1 in the data link, lights up the LED at brightness level 1, and adjusts its brightness.
[0046] In addition, in order to avoid the increase in data volume caused by more coordinate position information, after the brightness level of each area is identified, all brightness levels can be arranged in a certain order when generating a data packet, so that there is no need to add the coordinate position information of the area in the data packet. Specifically, the parameters of the brightness level can be arranged according to the order of arrangement of each area in the coordinate system when generating a data packet. For example, the areas of the image include 1-1, 1-2, 1-3, 2-1, 2-2, and 2-3. Then, the brightness level of area 1-1, the brightness level of area 1-2, the brightness level of area 1-3, the brightness level of area 2-1, the brightness level of area 2-2, and the brightness level of area 2-3 can be generated into a corresponding data chain according to the coordinate position order, and packaged and sent to the downstream lamp controller. When the lamp controller parses the data packet, it can identify the brightness level in the order of data arrangement, so that it can match the corresponding LED.
[0047] In summary, this embodiment divides the image to be displayed into several areas to establish a mapping relationship between the image and the LED, so as not to be restricted by the model of the headlights and the difference in the display areas of the front and rear headlights. At the same time, the brightness of the corresponding LED is adjusted according to the brightness level of the area, so that the headlights can well restore the static or dynamic effects of the image.
[0048] Example 2
[0049] See also Figure 2 As shown, the embodiment of the present application also provides an adaptive control method for vehicle lighting effects, including:
[0050] Step S210, obtaining a data packet sent by the vehicle controller; wherein the data packet is obtained by the vehicle controller dividing the image to be displayed into several areas and identifying the corresponding brightness values and then packaging them.
[0051] Step S220, matching corresponding light-emitting units in the vehicle headlights according to the order of arrangement of the brightness values in the data packet or the coordinate positions corresponding to the brightness values.
[0052] Step S230, lighting up the successfully matched light-emitting units according to their corresponding brightness values, and controlling the brightness.
[0053] Specifically, when the lamp controller receives a data packet sent by the upstream vehicle controller, it parses the data packet accordingly. When the data packet contains the brightness level and coordinate position information of the image area, the lamp controller can match the coordinate position of the corresponding area according to the coordinate position of the LED. It can be understood that a coordinate system can be established for all LEDs in the vehicle headlights, for example, by establishing coordinates with the center or edge corner of the vehicle headlights, so as to calibrate the coordinate position of the LED in the coordinate system, and then a mapping relationship can be established according to the coordinate position of the image area and the coordinate position of the LED, that is, one LED is used to display the corresponding area in the image, so that the image to be displayed is formed by the combination of all LEDs. And after the match is successful, the LED can be lit and the brightness can be adjusted according to the brightness level corresponding to the image area. It can also be understood that the brightness value of the brightness level can be stored in the lamp controller accordingly, and the LED can be adjusted according to the corresponding brightness value after the lamp controller identifies the brightness level.
[0054] When the data packet only contains the brightness level of the image area, the corresponding LED can be identified according to the order of the brightness level of the image area obtained by parsing. For example, when the image and the LED of the vehicle headlight are established in the same coordinate system, when the brightness level is sorted according to the order of the coordinate position, the order obtained by parsing is brightness level 1, brightness level 2, brightness level 3 (image area 2-1), brightness level 4 (image area 2-2). In fact, brightness level 1 represents the brightness of image area 1-1, brightness level 2 represents the brightness of image area 1-2, brightness level 3 represents the brightness of image area 2-1, and brightness level 4 represents the brightness of image area 2-2. However, the corresponding coordinate position information is not included in the data packet. The lamp controller can default to the first data brightness level 1 obtained by parsing corresponding to the LED in area 1-1 in the LED coordinate system, and establish a mapping relationship, and the second data brightness level 2 corresponds to the LED in area 1-2 in the LED coordinate system, and establish a mapping relationship, and so on, so as to match the corresponding LED according to the order of brightness level arrangement. After the match is successful, the LED can be lit and the brightness can be adjusted according to the brightness level corresponding to the image area. It can be understood that the above is only a preferred embodiment for reference, but is not used to limit the protection scope of this embodiment. For example, the LEDs can also be numbered accordingly, and the brightness level of the image area can be packaged and sent according to the order of the LED numbers, etc. There are no excessive restrictions on how the vehicle controller sorts the brightness levels and how the lamp controller matches the corresponding LEDs according to the order of the brightness levels obtained by analysis. It is only necessary to keep the vehicle controller and the lamp controller unified so as to establish a mapping relationship between the image area and the LED. The order of data analysis is configured or adjusted according to the communication protocol between the vehicle controller and the lamp controller in actual applications. The modifications and embellishments made to the embodiments of the present invention by those skilled in the art without departing from the spirit of the present invention still fall within the scope of the invention patent application of the present invention.
[0055] It should be noted that the step division of the above methods is only for clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they contain the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
[0056] Example 3
[0057] See also Figure 3 As shown, the embodiment of the present application also provides an adaptive control system for vehicle lighting effects, including:
[0058] The vehicle controller 10 is used to obtain the image to be displayed, divide the image to be displayed into several areas, identify the brightness level of each area, and package the brightness levels of all areas and send them to the lamp controller.
[0059] The lamp controller 20 is used to obtain the data packet sent by the vehicle controller, and match the corresponding light-emitting units in the vehicle headlights according to the order of brightness levels in the data packet or the coordinate positions corresponding to the brightness levels, and light up the successfully matched light-emitting units according to their corresponding brightness levels and control the brightness.
[0060] It should be noted that the adaptive control system for vehicle lighting effects provided in the above embodiment and the adaptive control method for vehicle lighting effects provided in the above embodiment 1 belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiment and will not be repeated here. In practical applications, the adaptive control method for vehicle lighting effects provided in the above embodiment 1 can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0061] Example 4
[0062] See also Figure 4 As shown, an embodiment of the present application further provides a vehicle terminal, comprising a memory 2, a processor 1, and a program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above methods when executing the program.
[0063] Among them, the memory includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory can be an internal storage unit of the vehicle terminal, such as a mobile hard disk of the vehicle terminal. In other embodiments, the memory can also be an external storage device of the vehicle terminal, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the vehicle terminal. Furthermore, the memory can also include both an internal storage unit of the vehicle terminal and an external storage device. The memory can be used not only to store application software and various types of data installed in the vehicle terminal, but also to temporarily store data that has been output or is to be output.
[0064] In some embodiments, the processor may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor is the control core (Control Unit) of the vehicle terminal, and uses various interfaces and lines to connect various components of the entire vehicle terminal, and executes various functions of the vehicle terminal and processes data by running or executing programs or modules stored in the memory, and calling data stored in the memory.
[0065] The processor executes the operating system of the vehicle terminal and various installed application programs. The processor executes the application programs to implement the steps in the above method embodiment.
[0066] Exemplarily, the program may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of program instruction segments capable of completing specific functions, which are used to describe the execution process of the program in the vehicle terminal.
[0067] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to perform part of the functions of the methods of various embodiments of the present invention.
[0068] In summary, the present invention provides a vehicle lighting effect adaptive control method, which divides the lighting effect image into several areas to establish a mapping relationship between the image and the LED. At the same time, the coordinate position information and brightness information of the image area are identified, and the brightness of the corresponding LED is adjusted according to the coordinate position information and brightness information of the area. Compared with directly sending the lighting information of the LED, it is not limited by the model of the vehicle lights and the difference in the display area of the front and rear lights, and realizes the universal development of different vehicle models.
[0069] The present invention can automatically identify lighting effect videos or pictures, analyze and light up the corresponding LEDs, automatically generate lighting effect scripts, and realize automatic control, which greatly improves the efficiency of lighting effect conversion and lighting. At the same time, compared with LVDS or Ethernet control, it can achieve better display effects at a lower cost, is not affected by the number of LEDs in the car lights, and has higher reliability and practicality.
[0070] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A method for adaptively controlling vehicle lighting effects, characterized in that: Applied to vehicle controllers, including: Get the image to be displayed; Dividing the image to be displayed into a plurality of regions, and identifying the brightness level of each region; The brightness levels of all areas are packaged and sent to the lamp controller so that it can control the brightness of the corresponding light-emitting units according to the corresponding relationship between each area and the light-emitting units in the vehicle headlights and the brightness level of each area.
2. The adaptive control method for vehicle lighting effects according to claim 1, characterized in that: The step of dividing the image to be displayed into a plurality of regions and identifying the brightness level of each region comprises: Establishing a coordinate system based on the image to be displayed, and dividing the image to be displayed according to preset size parameters along the horizontal axis and the vertical axis of the coordinate system to obtain a plurality of regions; Identify the brightness level of each area; The size parameter is calculated based on the resolution of the image to be displayed and the size parameter of the vehicle headlight.
3. The adaptive control method for vehicle lighting effects according to claim 2, characterized in that: The steps of establishing a coordinate system based on the image to be displayed, and dividing the image to be displayed along the horizontal axis and the vertical axis of the coordinate system according to preset size parameters to obtain a plurality of regions include: The image to be displayed is preprocessed to adjust it to a preset fixed resolution.
4. The adaptive control method for vehicle lighting effects according to claim 2, characterized in that: The steps of establishing a coordinate system based on the image to be displayed, and dividing the image to be displayed along the horizontal axis and the vertical axis of the coordinate system according to preset size parameters to obtain a plurality of regions include: The image to be displayed is equally divided along the directions of the horizontal axis and the vertical axis of the coordinate system according to preset size parameters to obtain a plurality of regions and corresponding equally divided coordinates.
5. The adaptive control method for vehicle lighting effects according to claim 2, characterized in that: The steps for identifying the brightness level of each area include: For each region: Get the brightness values of all pixels in the area, and identify the brightness level of the area based on all brightness values.
6. The adaptive control method for vehicle lighting effects according to claim 5, characterized in that: The steps of identifying the brightness level of the area according to all brightness values include: The brightness level of the area is identified by taking the maximum or minimum value of all brightness values corresponding to the area, or the average of all brightness values as a reference.
7. The adaptive control method for vehicle lighting effects according to claim 2, characterized in that: The steps of packaging the brightness levels of all areas and sending them to the lamp controller so that the lamp controller can control the brightness of the corresponding light-emitting unit according to the corresponding relationship between each area and the light-emitting unit in the vehicle headlight and the brightness level of each area include: According to the arrangement order of each area in the coordinate system, the brightness level of each area is sorted and packaged and sent to the lighting controller so that it can match the corresponding light-emitting unit according to the order of the brightness level arrangement in the data packet and control the brightness of the corresponding light-emitting unit according to the brightness level.
8. The adaptive control method for vehicle lighting effects according to claim 2, characterized in that: The steps of packaging the brightness levels of all areas and sending them to the lamp controller so that the lamp controller can control the brightness of the corresponding light-emitting unit according to the corresponding relationship between each area and the light-emitting unit in the vehicle headlight and the brightness level of each area include: Based on the established coordinate system, the brightness level of each area and the corresponding coordinate position are packaged and sent to the lighting controller so that it can match the corresponding light-emitting unit according to the coordinate position corresponding to the brightness level in the data packet, and control the brightness of the corresponding light-emitting unit according to the brightness level.
9. A method for adaptively controlling vehicle lighting effects, characterized in that: Applied to lighting controllers, including: Obtaining a data packet sent by the vehicle controller; wherein the data packet is obtained by the vehicle controller dividing the image to be displayed into several areas and identifying the corresponding brightness levels; Matching corresponding light-emitting units in the vehicle headlights according to the order of brightness levels in the data packet or the coordinate positions corresponding to the brightness levels; The successfully matched light-emitting units are lit according to their corresponding brightness levels, and the brightness and darkness are controlled.
10. An adaptive control system for vehicle lighting effects, characterized in that: include: A vehicle controller, used for acquiring an image to be displayed; Dividing the image to be displayed into a plurality of regions, and identifying the brightness level of each region; Pack the brightness levels of all zones and send them to the lighting controller; The lamp controller is used to obtain the data packet sent by the vehicle controller; match the corresponding light-emitting units in the vehicle headlights according to the order of brightness levels in the data packet or the coordinate positions corresponding to the brightness levels; light up the successfully matched light-emitting units according to their corresponding brightness levels and control the brightness.
