Lighting adjustment method, device, electronic device and storage medium
By obtaining the car's outdoor environment pictures and adjusting the vehicle's ambient lights based on the color proportion information, the problem that the ambient lights in the existing technology are difficult to match the car's outdoor environment, and better visual matching and driving experience are achieved.
Patent Information
- Application Number
- CN202210327565.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-30
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2042-03-30
AI Technical Summary
The existing vehicle ambient light adjustment scheme is difficult to accurately match the outside environment, resulting in visual differences and affecting the driver's experience.
By obtaining the outdoor environment picture, the lighting adjustment parameters are determined based on the proportion information of each color, and the atmosphere lights are adjusted so that the interior lighting atmosphere is harmonious with the outdoor environment.
It reduces visual differences and improves the driver's experience. By dynamically adjusting the color, brightness and flickering frequency of the ambient lights, it can match the outside environment.
Smart Images

Figure CN114698207B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, in particular to the field of vehicle lighting control, and specifically to a lighting adjustment method, device, electronic device and storage medium. Background Art
[0002] Vehicle ambient lights include interior ambient lights and exterior ambient lights. By adjusting the color, brightness and other parameters of the ambient lights, the light emitted by the ambient lights can change the driving environment of the vehicle and bring a different experience to the driver. Summary of the invention
[0003] The present disclosure provides a lighting adjustment method, device, electronic device and storage medium.
[0004] According to one aspect of the present disclosure, a lighting adjustment method is provided, comprising:
[0005] Obtain the external environment picture of the target vehicle;
[0006] Determining the lighting adjustment parameters of the target vehicle based on the proportion information of each color in the external environment picture;
[0007] Based on the light adjustment parameter, the ambient light of the target vehicle is adjusted.
[0008] According to another aspect of the present disclosure, there is provided a light adjustment device, comprising:
[0009] A picture acquisition module, used to acquire a picture of the external environment of the target vehicle;
[0010] A parameter determination module, used to determine the lighting adjustment parameters of the target vehicle based on the proportion information of each color in the external environment picture;
[0011] The ambient light adjustment module is used to adjust the ambient light of the target vehicle based on the light adjustment parameters.
[0012] According to another aspect of the present disclosure, there is provided an electronic device, comprising:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method in any embodiment of the present disclosure.
[0016] According to another aspect of the present disclosure, a vehicle is provided, comprising the electronic device in any one of the embodiments of the present disclosure.
[0017] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided. The computer instructions are used to enable a computer to execute the method in any embodiment of the present disclosure.
[0018] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the method in any embodiment of the present disclosure is implemented.
[0019] According to the technology disclosed in the present invention, the lighting adjustment parameters of the vehicle are determined based on the proportion information of each color in the picture of the vehicle's exterior environment, and the vehicle's ambient light is adjusted based on the lighting adjustment parameters. This allows the lighting atmosphere created by the ambient light to be harmonious with the vehicle's surrounding environment, reducing visual differences and improving the user experience.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0022] Figure 1 is a flow chart of a lighting adjustment method according to an embodiment of the present disclosure;
[0023] Figure 2 is a structural block diagram of a system for implementing the lighting adjustment method of an embodiment of the present disclosure;
[0024] Figure 3 is a flow chart of a method for adjusting light color according to an embodiment of the present disclosure;
[0025] Figure 4 is a flow chart of a method for adjusting light brightness according to an embodiment of the present disclosure;
[0026] Figure 5 is a flow chart of a method for adjusting light flickering frequency according to an embodiment of the present disclosure;
[0027] Figure 6 is a structural block diagram of a lighting adjustment device according to an embodiment of the present disclosure;
[0028] Figure 7 is a structural block diagram of a lighting adjustment device according to another embodiment of the present disclosure;
[0029] Figure 8 It is a block diagram of an electronic device that implements the light adjustment method of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0030] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0031] In actual vehicle applications, most vehicles are equipped with ambient lights, which can provide different lighting atmospheres for the driving environment. The adjustment of the ambient lights mainly involves manual adjustment of the color, brightness, flashing frequency, etc. of the ambient lights. There are also some adjustment schemes that adjust the ambient lights in combination with the information provided by the vehicle. The information provided by the vehicle can include the following:
[0032] First, the music information provided by the music played by the vehicle entertainment system, such as the mood of the music, the rhythm of the music, the color of the album to which the music belongs, etc.
[0033] Second, the driving information of the vehicle. For example, the driving speed of the vehicle, whether the vehicle is in an emergency state, and the driving mode of the vehicle. The driving mode may include automatic driving mode and non-automatic driving mode.
[0034] Third, the driver’s characteristics and psychological state, such as the driver’s physiological characteristics, personal preferences, emotions, etc.
[0035] However, using the above information to adjust the ambient light has the following problems:
[0036] First, music information is not suitable for determining the color of the ambient light. There is still a big difference in the matching degree between hearing and vision.
[0037] Second, the vehicle's driving information can be displayed through the instrument panel, but using ambient light to represent it is redundant and the effect is not obvious. Moreover, it is difficult for users to associate the relationship between the driving mode and the color of the ambient light.
[0038] Third, it is difficult to accurately obtain the driver's physiological data and emotions, and the efficiency of adjusting the ambient light is low.
[0039] To this end, the disclosed embodiment proposes a lighting adjustment solution that can match the information of the external environment to adjust the atmosphere, extend the external environment to the internal environment, and bring a consistent visual experience to the driver.
[0040] Figure 1 It is a flow chart of a lighting adjustment method according to an embodiment of the present disclosure.
[0041] like Figure 1 As shown, the lighting adjustment method may include the following steps:
[0042] S110, obtaining an image of the external environment of the target vehicle;
[0043] S120, determining a lighting adjustment parameter of the target vehicle based on the proportion information of each color in the image of the vehicle's exterior environment;
[0044] S130, adjusting the ambient light of the target vehicle based on the light adjustment parameter.
[0045] In this example, the lighting adjustment parameters of the vehicle are determined based on the proportion of each color in the picture of the exterior environment, and the ambient light is adjusted based on the lighting adjustment parameters. This allows the lighting atmosphere created by the ambient light to be harmonious with the vehicle's surroundings, reducing visual differences and improving the user experience.
[0046] Exemplarily, the target vehicle may be a designated vehicle. The target vehicle may be an autonomous driving vehicle or a parallel driving vehicle.
[0047] Exemplarily, in step S110, one or more pictures of the exterior environment of the target vehicle may be acquired to determine the lighting adjustment parameters of the target vehicle.
[0048] Exemplarily, the target vehicle is provided with an external camera, and a picture of the external environment can be obtained by photographing the external environment through the external camera.
[0049] For example, the vehicle exterior environment picture may include a front view, a left view, a right view, or a panoramic view, etc. In actual application, if the vehicle is moving forward, the front view of the vehicle exterior environment may be obtained to adjust the ambient light. If the vehicle is stationary, the panoramic view of the vehicle exterior environment may be obtained to adjust the ambient light.
[0050] Exemplarily, the color information may include the color system to which each color belongs, the proportion information and placeholder information of each color in each picture, the proportion change information and placeholder change information of each color between multiple pictures, etc.
[0051] Exemplarily, the proportion information of a certain color in the exterior environment picture refers to the proportion information of the color in the exterior environment picture, and may include the proportion of the area of the color to the total area of the exterior environment picture.
[0052] Exemplarily, the placeholder information of a certain color in the exterior environment picture refers to the placeholder information of the color in the exterior environment picture, which may include the coordinate position of the color in the exterior environment picture.
[0053] Exemplarily, the light adjustment parameter may include one or more sub-parameters, for example, a first sub-parameter is used to adjust the color of the atmosphere light, a second sub-parameter is used to adjust the flashing frequency of the atmosphere light, a third sub-parameter is used to adjust the brightness of the atmosphere light, and the like.
[0054] Exemplarily, the ambient light may include a door panel ambient light, a driver's seat ambient light, a co-driver's seat ambient light, a cup holder ambient light, a ceiling ambient light, etc. Different types of ambient lights may be adjusted using different light adjustment parameters, or the same light adjustment parameters may be used.
[0055] In some embodiments, the color information in the picture of the outside environment of the vehicle can be used to determine the color of the ambient light, so that the color of the light inside the vehicle can be integrated with the surrounding environment to reduce visual differences.
[0056] For example, in the above step S120, based on the proportion information of each color in the external environment picture, determining the light adjustment parameters of the target vehicle may include:
[0057] Based on the proportion information and the position information of each color in the vehicle exterior environment picture, the vehicle exterior environment picture is divided into a plurality of color blocks, and a central color system and an edge color system of each color block in the plurality of color blocks are determined;
[0058] Based on the central color system and the edge color system of each color block, a first sub-parameter in the light adjustment parameter of the target vehicle is determined, wherein the first sub-parameter is used to adjust the color of the ambient light.
[0059] In this example, the color of the vehicle ambient light is determined by using the proportion and position of each color in the image of the exterior environment, so that the color of the light inside the vehicle can be integrated with the surrounding environment and reduce visual differences.
[0060] For example, the vehicle exterior environment picture may actually be composed of multiple color blocks, each of which may be divided into a central area surrounding the center and an edge area, wherein the color system to which the color of the central area belongs may be used as the central color system, and the color system to which the color of the edge area belongs may be used as the edge color system.
[0061] In actual application, the center color system and edge color system of each color block, as well as the position information of each color block in the picture, can be provided to the target vehicle. The target vehicle can control the ambient light to present each color block according to the position and color system information of each color block, or can present the color blocks one by one.
[0062] For example, the central color of color block A in the picture is red, and its edge color is dark red, which is a group; the central color of color block B in the picture is green, and its edge color is dark green, which is a group; and so on, the color combinations of all the color blocks in the picture are obtained; these combinations are input into the control unit in groups, so that the colors of the ambient light are presented one by one in groups. Alternatively, all the combinations and the positions of the color blocks corresponding to each combination in the picture are also input into the control unit, so that the ambient light presents the colors of each color block in the picture.
[0063] In some embodiments, based on the proportion information and position information of each color in the vehicle exterior environment picture, the proportion and main position of each color system are counted, and based on the proportion and main position of each color system, the first sub-parameter for adjusting the color of the ambient light is determined. Each color system may include multiple colors belonging to the same color system. For example, light green, green, and dark green all belong to the green system.
[0064] In some embodiments, the center position, edge position, and color system between the center position and edge position in the image and the proportion of the color system may also be counted. The color system may include blue system, red system, yellow system, green system, etc. The blue system may include light blue, blue, dark blue, etc.
[0065] For example, the center position color system, the edge position color system, and the color system between the center position and the edge position form a group, and the color system combination and the proportion information of each color system are input into the vehicle's ambient light control unit, so that the color of the ambient light can emit according to the color system combination and the proportion information of each color system.
[0066] In the disclosed embodiment, the main color system refers to the color system that accounts for more than 50% or 60%, or the color system that accounts for the largest proportion among all color systems. The main position refers to the position of the color system that accounts for more than 50% or 60%, or the position of the color system that accounts for the largest proportion among all color systems.
[0067] In some embodiments, multiple pictures of the vehicle's exterior environment may be used to determine the proportion change information of each color in the picture, and the flashing frequency of the ambient light may be determined based on the proportion change information. In this way, the color change of the light inside the vehicle matches the change of the surrounding environment, reducing visual differences.
[0068] Exemplarily, in the above step S110, obtaining the vehicle exterior environment picture of the target vehicle includes: obtaining at least two vehicle exterior environment pictures of the target vehicle, wherein the shooting time interval between two pictures adjacent in shooting time in the at least two vehicle exterior environment pictures is a preset value;
[0069] In the above step S120, based on the proportion information of each color in the external environment picture, determining the light adjustment parameters of the target vehicle may include:
[0070] Determine a target color system based on the color proportion information in each of at least two pictures of the vehicle exterior environment; wherein the target color system is a color system whose proportion in each of the pictures is greater than a set proportion threshold;
[0071] Based on the proportion information of the target color system in each of the above pictures, determine the proportion change information of the target color system;
[0072] Based on the proportion change information, a second sub-parameter in the lighting adjustment parameter of the target vehicle is determined, wherein the second sub-parameter is used to adjust the flashing frequency of the ambient light.
[0073] In this example, based on the proportion information of each color in at least two pictures taken at a set frequency, the proportion change information of the target color system of the two pictures, such as the main color system, is determined. This proportion change information can measure the color change of the environment outside the car within a set time interval, and then accurately determine the flashing frequency of the ambient light based on it. This also makes the color change of the light inside the car more compatible with the changes in the surrounding environment, further reducing the visual difference.
[0074] Exemplarily, the preset value may be 10 seconds, 30 seconds, or 1 minute, etc.
[0075] Exemplarily, the above-mentioned percentage threshold is 50% or 60%, etc.
[0076] Exemplarily, the proportion change information may include the proportion change amplitude, the proportion change speed, etc.
[0077] For example, the above-mentioned multiple vehicle exterior environment pictures can be taken for a specified position, such as the current position of the target vehicle. In this way, when the vehicle is stationary, the flashing frequency of the interior lights is changed as the surrounding colors change.
[0078] Exemplarily, the above-mentioned multiple pictures of the environment outside the vehicle can be taken when the vehicle is driving, so that as the vehicle continues to drive, the continuous changes of the environment outside the vehicle can be captured.
[0079] In some embodiments, the change range of the target color is determined by using the pictures collected at the same time interval. If the change range does not exceed the set threshold, the flashing frequency of the ambient light is not changed. If the change range exceeds the set threshold, the flashing frequency of the ambient light is changed. For example, the flashing frequency of the ambient light is changed based on the change speed of the target color.
[0080] For example, when the change range of the proportion of the target color system is greater than a set threshold, the second sub-parameter for adjusting the flashing frequency of the ambient light is determined based on the change speed of the proportion of the target color system. When the change range of the proportion of the target color system is less than the set threshold, the flashing frequency of the ambient light of the target vehicle is not changed, so that the number of changes of the ambient light can be reduced.
[0081] For example, if the proportion of the target color system blue of the vehicle environment recorded at time t1 is 50%, and the proportion of the target color system blue of the vehicle environment recorded at time t2 becomes 60%. At this time, the change range of the target color system blue of the vehicle environment is 10%. Assuming that the above-mentioned set threshold is 20%, the flashing frequency of the ambient light remains unchanged during the time period from t2 to t3. Among them, the time interval between t1 and t2 is the same as the time interval between t2 and t3.
[0082] In some embodiments, the light adjustment parameter may include a third sub-parameter for adjusting the brightness of the ambient light. The external environment picture may include brightness information of the external environment. Therefore, based on the brightness information in the external environment picture, the third sub-parameter of the target vehicle is determined.
[0083] Exemplarily, when the brightness information indicates that the brightness of the external ambient light is increased, the brightness of the ambient light may be increased; and when the brightness information indicates that the brightness of the external ambient light is decreased, the brightness of the ambient light may be decreased.
[0084] In some embodiments, a set light adjustment parameter storage area may be provided to pre-store light adjustment parameters, so that the vehicle can select appropriate light adjustment parameters to adjust the ambient light.
[0085] Exemplarily, the above step S120, based on the proportion information of each color in the external environment picture, determines the lighting adjustment parameters of the target vehicle, including:
[0086] When there are no lighting adjustment parameters associated with the current time and the current position of the target vehicle in the lighting adjustment parameter storage area, the lighting adjustment parameters of the target vehicle are determined based on the proportion information of each color in the external environment picture.
[0087] In this example, the light adjustment parameter storage area stores light adjustment parameters associated with time information and location information. In this way, when the target vehicle is triggered to adjust the ambient light, it is determined whether the corresponding light adjustment parameters exist in the light adjustment parameter storage area based on the current time and the current location of the target vehicle. If not, the light adjustment parameters of the target vehicle are determined based on the color information of the image of the environment outside the vehicle. In this way, it can be ensured that when there are no light adjustment parameters matching the current time and current location in the light adjustment parameter storage area, the light color inside the vehicle can still match the surrounding environment, thereby reducing visual differences.
[0088] For example, the light adjustment parameter storage area may be a local storage area of the target vehicle or a cloud storage space. In actual application, any vehicle may call appropriate light adjustment parameters from the cloud storage space, so that the light adjustment parameters can be shared.
[0089] In some embodiments, when the lighting adjustment parameters of the vehicle are obtained based on the external environment of the vehicle, the lighting adjustment parameters can be stored so that the user can reproduce the lighting atmosphere at that time when needed.
[0090] Exemplarily, the light adjustment parameters are stored in the light adjustment parameter storage area based on the current time and the current position of the target vehicle.
[0091] In this example, the current light adjustment parameters are stored in association with the current time and the current position of the vehicle, so that when needed later, the corresponding light adjustment parameters can be called based on the time and position information to reproduce the light atmosphere at that time. Moreover, the current external environment can also be harmonious with the reproduced light atmosphere, reducing visual differences.
[0092] In some embodiments, when suitable lighting adjustment parameters exist in the lighting adjustment parameter storage area, these parameters can be directly retrieved to adjust the ambient light without having to adjust the ambient light based on a picture of the outside environment, thereby improving the adjustment efficiency of the ambient light.
[0093] Exemplarily, when there are N lighting adjustment parameters associated with the current time and the current position of the target vehicle in the lighting adjustment parameter storage area, the lighting adjustment parameters of the target vehicle are determined based on the N lighting adjustment parameters; wherein N is a positive integer.
[0094] In this example, the lighting adjustment parameters can be directly retrieved from the storage area to adjust the ambient light, without having to adjust the ambient light based on the image of the environment outside the vehicle, thereby improving the adjustment efficiency of the ambient light. Moreover, the retrieved lighting adjustment parameters are associated with the current time and the current position of the vehicle, so that the lighting atmosphere created by the ambient light can be harmonious with the surrounding environment, reducing visual differences.
[0095] Exemplarily, when N is 1, the light adjustment parameter of the target vehicle is determined based on the light adjustment parameter. For example, the light adjustment parameter is determined as the light adjustment parameter of the target vehicle. For another example, the light adjustment parameter is fine-tuned, and the fine-tuned light adjustment parameter is determined as the light adjustment parameter of the target vehicle.
[0096] Exemplarily, the above-mentioned determining the lighting adjustment parameters of the target vehicle based on N lighting adjustment parameters may include: when N is greater than 1, determining the lighting adjustment parameters of the target vehicle from the N lighting adjustment parameters based on the current weather conditions and the weather conditions when each of the N lighting adjustment parameters was used historically.
[0097] Exemplarily, the current weather condition is compared with the weather condition when each of the N light adjustment parameters was used historically, and the light adjustment parameter that matches the weather condition is selected from the N light adjustment parameters as the light adjustment parameter of the target vehicle.
[0098] For example, if the current weather condition is cloudy, the lighting adjustment parameters for cloudy weather conditions in the past are selected as the lighting adjustment parameters for the target vehicle. For another example, if the current weather condition is light rain, the lighting adjustment parameters for light rain in the past are selected as the lighting adjustment parameters for the target vehicle.
[0099] In this example, when there are multiple suitable lighting adjustment parameters in the storage area, the target lighting adjustment parameters can be selected from the multiple suitable lighting adjustment parameters according to the current weather conditions, so that the lighting atmosphere created by the ambient light can not only match the current time and current position, but also match the current weather conditions, making the lighting atmosphere more harmonious with the environment outside the vehicle, further reducing visual differences.
[0100] Figure 2 It is a structural block diagram of a system for implementing the lighting adjustment method provided by an embodiment of the present disclosure.
[0101] like Figure 2 As shown, the system includes a cloud server and a vehicle side, and the vehicle side includes a communication unit, a control unit, a computing unit, an ambient light, an on-board display, an external camera, and a light monitoring sensor.
[0102] 1. Functional description of the vehicle side
[0103] After the user turns on the automatic adjustment function of the ambient light, the vehicle control unit controls the external camera to take a picture of the external environment, and controls the light monitoring sensor to obtain the brightness information of the external environment, and inputs the external environment picture and the external environment brightness information into the calculation unit. The calculation unit calculates the external environment picture and the external environment brightness information, and determines the light adjustment parameters according to the set rules. The calculation unit inputs the light adjustment parameters into the control unit, and the control unit adjusts the ambient light according to the light adjustment parameters.
[0104] 2. Hardware requirements for vehicle side
[0105] Vehicle ambient lights include but are not limited to door panel ambient lights, driver's seat ambient lights, integrated driver's seat ambient lights, cup holder ambient lights and ceiling ambient lights.
[0106] The vehicle side is equipped with communication equipment, GPS equipment, external camera, ambient light monitoring sensor (Ambient Light Sensor, ALS), vehicle display and multiple switches for controlling the operation of various software and hardware.
[0107] 3. Vehicle-side software capabilities
[0108] The vehicle-side software capabilities include image recognition technology, image processing technology, and vehicle networking technology.
[0109] 4. Implementation Example
[0110] (1) A function switch for adjusting the ambient light is set in the vehicle display. The user can turn the function switch on or off.
[0111] (2) After turning on the above function switch, the ambient light is adjusted mainly through the following three parameters so that the light created by the ambient light matches the environment outside the vehicle.
[0112] First, color adjustment:
[0113] like Figure 3 As shown, the vehicle exterior environment is photographed by an external camera to obtain an external environment picture. Each pixel in the external environment picture is processed according to the set regulations, and the RGB parameters and proportions of each color block in the picture are obtained through standard color contrast, as well as the combination of the central color system and the edge color system of each color block. The combination of the central color system and the edge color system of each color block and the proportion of each color block are transmitted to the control unit. The control unit transmits these parameters to the ambient light to adjust the color of the ambient light.
[0114] Second, brightness adjustment:
[0115] like Figure 4As shown, the brightness information of the environment outside the vehicle is collected by the ambient light monitoring sensor, and the brightness information of the environment outside the vehicle is sent to the calculation unit. The value range of the ambient light brightness is between 0 and 100%. The calculation unit matches the ambient brightness with the value range of the ambient light brightness according to the ambient brightness information monitored by the ambient light detection sensor, and obtains a parameter for adjusting the brightness of the ambient light. The calculation unit transmits the parameter to the control unit, and the control unit adjusts the brightness of the ambient light according to the parameter.
[0116] The adjustment principle is: when the ambient brightness information indicates that the brightness of the environment outside the vehicle is increasing, the brightness of the ambient light is increased; when the ambient brightness information indicates that the brightness of the environment outside the vehicle is decreasing, the brightness of the ambient light is reduced.
[0117] Third, rhythm adjustment:
[0118] like Figure 5 As shown, the camera outside the vehicle captures the environment outside the vehicle at a certain time interval to obtain the image of the environment outside the vehicle at time t1, the image of the environment outside the vehicle at time t2, ..., the image of the environment outside the vehicle at time tn. The calculation unit counts the proportion of the main color system in each image of the environment outside the vehicle, and determines the change information of the proportion of the main color system in two adjacent images of the environment outside the vehicle. When the change range of the proportion of the main color system is greater than the set threshold, the change speed of the proportion of the main color system is transmitted to the control unit. The control unit adjusts the flashing frequency between the on and off of the atmosphere light according to the change speed of the proportion of the main color system. When the change range of the proportion of the main color system is greater than the set threshold, the flashing frequency of the atmosphere light is kept unchanged.
[0119] (3) The collected ambient light adjustment parameters are stored locally or uploaded to a cloud server. The user can reproduce the scene at that time when needed. For example, the ambient light adjustment parameters are stored in association with the current time and the current location. In this way, the vehicle can adjust the ambient light by retrieving the specified ambient light adjustment parameters at a characteristic time and a specific road section based on the time and positioning system.
[0120] Exemplarily, a variety of atmosphere light adjustment modes are formed based on key scenes for users to choose from, such as forest mode, ocean mode, night city mode, etc.
[0121] (4) When driving in the countryside, the vehicle is traveling on a winding mountain road. Outside the vehicle, the lush trees and the wind blowing the leaves create interlaced light and shadow, while the interior ambient light changes with the scenery, with different depths and rhythms. This greatly enhances the driving pleasure for users and provides a smarter and more comfortable space for the interior environment. For car companies, this is one of the applications of vehicle automatic control technology. By realizing intelligent automation of common ambient lights, it creates surprises and thus enhances users' love and loyalty to the brand.
[0122] Figure 6It is a structural block diagram of a lighting adjustment device according to an embodiment of the present disclosure.
[0123] like Figure 6 As shown, the light adjustment device may include:
[0124] The image acquisition module 610 is used to acquire an image of the external environment of the target vehicle;
[0125] A parameter determination module 620, configured to determine the lighting adjustment parameters of the target vehicle based on the proportion information of each color in the vehicle exterior environment image;
[0126] The ambient light adjustment module 630 is used to adjust the ambient light of the target vehicle based on the light adjustment parameters.
[0127] Figure 7 FIG. 1 is a structural block diagram of a light adjustment device according to another embodiment of the present disclosure. Figure 7 As shown, the picture acquisition module 710, parameter determination module 720, and atmosphere light adjustment module 730 included in the light adjustment device have the same functions as the picture acquisition module 610, parameter determination module 620, and atmosphere light adjustment module 630 in the above embodiment, and are not described in detail here.
[0128] For example, Figure 7 As shown, the light adjustment parameter includes a first sub-parameter for adjusting the color of the atmosphere light, and the parameter determination module 720 includes:
[0129] A color block color system determination unit 721 is used to divide the vehicle exterior environment picture into multiple color blocks based on the proportion information and the position information of each color in the vehicle exterior environment picture, and determine the center color system and the edge color system of each color block in the multiple color blocks;
[0130] The color parameter determination unit 722 is configured to determine the first sub-parameter based on the center color system and the edge color system of each color block.
[0131] Exemplarily, the light adjustment parameter includes a second sub-parameter for adjusting the flickering frequency of the atmosphere light;
[0132] The picture acquisition module is used to acquire at least two pictures of the vehicle's exterior environment, wherein the shooting time interval between two pictures of the at least two pictures of the vehicle's exterior environment that are adjacent in shooting time is a preset value;
[0133] The parameter determination module 720 includes:
[0134] The target color system determination unit 723 is used to determine the target color system based on the proportion information of each color in each of the at least two vehicle exterior environment pictures; wherein the target color system is a color system whose proportion in each of the pictures is greater than a set proportion threshold;
[0135] A proportion change determining unit 724, configured to determine proportion change information of the target color system based on proportion information of the target color system in each of the images;
[0136] The flicker frequency determination unit 725 is used to determine the second sub-parameter based on the proportion change information.
[0137] Exemplarily, the parameter determination module 720 includes:
[0138] The first parameter determination unit 726 is used to determine the lighting adjustment parameters of the target vehicle based on the proportion information of each color in the external environment picture when there are no lighting adjustment parameters associated with the current time and the current position of the target vehicle in the lighting adjustment parameter storage area.
[0139] Exemplarily, the above device further includes:
[0140] The parameter storage module 740 is used to store the light adjustment parameters in the light adjustment parameter storage area based on the current time and the current position.
[0141] Exemplarily, the parameter determination module 720 further includes:
[0142] The second parameter determination unit 727 is used to determine the lighting adjustment parameters of the target vehicle based on N lighting adjustment parameters associated with the current moment and the current position of the target vehicle when there are N lighting adjustment parameters associated with the current moment and the current position of the target vehicle in the lighting adjustment parameter storage area, where N is a positive integer.
[0143] Exemplarily, the second parameter determining unit 727 is used to:
[0144] When N is greater than 1, the light adjustment parameter of the target vehicle is determined from the N light adjustment parameters based on the current weather conditions and the weather conditions when each of the N light adjustment parameters was used in history.
[0145] The functions of each unit, module or sub-module in each device of the embodiments of the present disclosure can be found in the corresponding description in the above method embodiments, and will not be repeated here.
[0146] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0147] According to an embodiment of the present disclosure, the present disclosure further provides a vehicle, which includes the electronic device provided by any embodiment of the present disclosure.
[0148] Figure 8 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0149] like Figure 8 As shown, the electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0150] Multiple components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0151] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as the light adjustment method. For example, in some embodiments, the light adjustment method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via the ROM 102 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the light adjustment method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the light adjustment method in any other appropriate manner (e.g., by means of firmware).
[0152] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0153] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable atmosphere light adjustment device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0154] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0155] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0156] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0157] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0158] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0159] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A lighting adjustment method, comprising: Acquire at least two pictures of the vehicle's exterior environment; wherein the shooting time interval between two pictures of the at least two pictures of the vehicle's exterior environment that are adjacent in shooting time is a preset value; Determining the lighting adjustment parameters of the target vehicle based on the proportion information of each color in the external environment picture; Based on the light adjustment parameter, adjusting the ambient light of the target vehicle; The light adjustment parameter includes a second sub-parameter for adjusting the flashing frequency of the ambient light, and the light adjustment parameter of the target vehicle is determined based on the proportion information of each color in the external environment picture, including: Determine a target color system based on the proportion information of each color in each of the at least two pictures of the vehicle exterior environment; wherein the target color system is a color system whose proportion in each of the pictures is greater than a set proportion threshold; Based on the proportion information of the target color system in each of the images, determining the proportion change information of the target color system; Based on the proportion change information, the second sub-parameter is determined.
2. The method according to claim 1, wherein: The light adjustment parameter includes a first sub-parameter for adjusting the color of the ambient light, and the light adjustment parameter of the target vehicle is determined based on the proportion information of each color in the external environment picture, including: Based on the proportion information and placeholder information of each color in the vehicle exterior environment picture, the vehicle exterior environment picture is divided into a plurality of color blocks, and a central color system and an edge color system of each color block in the plurality of color blocks are determined; wherein the placeholder information of each color includes a coordinate position of each color in the vehicle exterior environment picture; The first sub-parameter is determined based on the central color system and the edge color system of each color block.
3. The method according to claim 1 or 2, wherein: The determining of the lighting adjustment parameters of the target vehicle based on the proportion information of each color in the external environment picture includes: When there are no lighting adjustment parameters associated with the current time and the current position of the target vehicle in the lighting adjustment parameter storage area, the lighting adjustment parameters of the target vehicle are determined based on the proportion information of each color in the external environment picture.
4. The method according to claim 3, wherein: Also includes: Based on the current time and the current position, the light adjustment parameters are stored in the light adjustment parameter storage area.
5. The method according to claim 3, wherein: Also includes: When there are N light adjustment parameters associated with the current moment and the current position of the target vehicle in the light adjustment parameter storage area, the light adjustment parameters of the target vehicle are determined based on the N light adjustment parameters, where N is a positive integer.
6. The method according to claim 5, wherein: The step of determining the lighting adjustment parameter of the target vehicle based on the N lighting adjustment parameters includes: When N is greater than 1, the light adjustment parameter of the target vehicle is determined from the N light adjustment parameters based on the current weather conditions and the weather conditions when each of the N light adjustment parameters was used in history.
7. A lighting adjustment device, comprising: A picture acquisition module, used to acquire at least two pictures of the vehicle's exterior environment; wherein the shooting time interval between two pictures of the at least two pictures of the vehicle's exterior environment that are adjacent in shooting time is a preset value; A parameter determination module, used to determine the lighting adjustment parameters of the target vehicle based on the proportion information of each color in the external environment picture; An ambient light adjustment module, used to adjust the ambient light of the target vehicle based on the light adjustment parameters; Wherein, the light adjustment parameter includes a second sub-parameter for adjusting the flickering frequency of the atmosphere light, and the parameter determination module includes: A target color system determination unit, configured to determine a target color system based on the proportion information of each color in each of the at least two vehicle exterior environment pictures; wherein the target color system is a color system whose proportion in each of the pictures is greater than a set proportion threshold; a proportion change determining unit, configured to determine proportion change information of the target color system based on proportion information of the target color system in each of the images; A flicker frequency determination unit is used to determine the second sub-parameter based on the proportion change information.
8. The device according to claim 7, wherein: The light adjustment parameter includes a first sub-parameter for adjusting the color of the atmosphere light, and the parameter determination module includes: A color block color system determination unit, configured to divide the vehicle exterior environment picture into a plurality of color blocks based on the proportion information and the placeholder information of each color in the vehicle exterior environment picture, and determine the center color system and the edge color system of each color block in the plurality of color blocks; wherein the placeholder information of each color includes the coordinate position of each color in the vehicle exterior environment picture; The color parameter determination unit is used to determine the first sub-parameter based on the central color system and the edge color system of each color block.
9. The device according to claim 7 or 8, wherein: The parameter determination module comprises: The first parameter determination unit is used to determine the lighting adjustment parameters of the target vehicle based on the proportion information of each color in the external environment picture when there are no lighting adjustment parameters associated with the current time and the current position of the target vehicle in the lighting adjustment parameter storage area.
10. The device according to claim 9, wherein: Also includes: A parameter storage module is used to store the light adjustment parameters in the light adjustment parameter storage area based on the current time and the current position.
11. The device according to claim 9, wherein: The parameter determination module comprises: The second parameter determination unit is used to determine the lighting adjustment parameters of the target vehicle based on N lighting adjustment parameters associated with the current moment and the current position of the target vehicle when there are N lighting adjustment parameters associated with the current moment and the current position of the target vehicle in the lighting adjustment parameter storage area, where N is a positive integer.
12. The device according to claim 11, wherein The second parameter determination unit is used for: When N is greater than 1, the light adjustment parameter of the target vehicle is determined from the N light adjustment parameters based on the current weather conditions and the weather conditions when each of the N light adjustment parameters was used in history.
13. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
14. A vehicle comprising the electronic device according to claim 13.
15. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 6.
16. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
In-vehicle lighting device control method, storage medium, and electronic equipment
CN113306486A
Immersive atmosphere lamp system based on video content analysis
CN114158160A
Lamp light control method and apparatus, computer storage medium and in-vehicle device
US20180319324A1