CN114851959B - Light adjusting method and light adjusting system for vehicle - Google Patents

Light adjusting method and light adjusting system for vehicle Download PDF

Info

Publication number
CN114851959B
CN114851959B CN202210791544.9A CN202210791544A CN114851959B CN 114851959 B CN114851959 B CN 114851959B CN 202210791544 A CN202210791544 A CN 202210791544A CN 114851959 B CN114851959 B CN 114851959B
Authority
CN
China
Prior art keywords
color
light
dominant color
dominant
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210791544.9A
Other languages
Chinese (zh)
Other versions
CN114851959A (en
Inventor
李洁
李微萌
崔巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhiji Automobile Technology Co Ltd
Original Assignee
Zhiji Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhiji Automobile Technology Co Ltd filed Critical Zhiji Automobile Technology Co Ltd
Priority to CN202210791544.9A priority Critical patent/CN114851959B/en
Publication of CN114851959A publication Critical patent/CN114851959A/en
Application granted granted Critical
Publication of CN114851959B publication Critical patent/CN114851959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q3/00Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors
    • B60Q3/80Circuits; Control arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides a light adjusting method and a light adjusting system of a vehicle, and relates to the technical field of vehicle intellectualization. Firstly, extracting picture parameters in a picture of a display screen according to a preset algorithm at intervals of first preset time; then comparing the current picture parameter with the picture parameter extracted last time; and finally, adjusting or not adjusting the lighting parameters of the lamp according to the comparison result so as to enable the lighting parameters of the lamp to be matched with the picture parameters in the picture of the display screen. According to the technical scheme, whether the light parameters of the lamp are adjusted or not is selected according to the comparison result of the previous picture parameters, and the light parameters are not adjusted at every moment, so that the situation that the vision jitter is caused by too fast switching of the light parameters, namely frequent switching can be avoided, the light parameters are matched with the picture parameters, a relatively comfortable visual environment is created for a user, and the experience and satisfaction of the user are improved.

Description

Light adjusting method and light adjusting system for vehicle
Technical Field
The invention relates to the technical field of vehicle intellectualization, in particular to a light adjusting method and a light adjusting system of a vehicle.
Background
With the great popularization of automobiles, people have higher and higher requirements on vehicles. Generally, when a user views the contents of the display screen in the vehicle, the interior light does not change following the switching of the screen in the display screen. Although the prior art has a lamp capable of automatically changing light according to the change of video contents of a computer or a television, the light of the lamp is almost always in a changing state, and frequent switching of the light can cause visual jitter, so that the viewing experience and comfort of a user are influenced.
Disclosure of Invention
The invention aims to provide a vehicle light adjusting method, which solves the technical problem of visual jitter caused by frequent switching of light of a lamp in the prior art.
It is an object of a second aspect of the present invention to provide a light adjustment system for a vehicle.
According to an object of a first aspect of the present invention, there is provided a light adjusting method for a vehicle having a display screen and a lamp provided in an interior thereof, the light adjusting method comprising the steps of:
extracting picture parameters in a picture of the display screen at intervals of first preset time according to a preset algorithm;
comparing the current picture parameter with the picture parameter extracted last time;
adjusting or not adjusting the lighting parameters of the lamp according to the comparison result so that the lighting parameters of the lamp are matched with the picture parameters in the picture of the display screen;
the picture parameters comprise a first dominant color, and the lighting parameters are matched with the first dominant color through a preset color model, so that the lighting parameters are matched with a similar color which is closest to the first dominant color in the preset color model;
wherein the matching of the light parameter with a proximate color in the preset color model that is closest to the first dominant color comprises:
comparing the current first dominant color with a preset color model;
finding out a similar color closest to the first dominant color on the preset color model;
updating the current first dominant color by using the similar color to obtain an updated first dominant color;
comparing the updated first dominant color with the current first dominant color; adjusting or not adjusting the light color of the lamp according to the comparison result;
and when the difference value between the updated first dominant color and the current first dominant color meets a preset condition, controlling the light color to be adjusted to the updated first dominant color.
Optionally, the step of adjusting or not adjusting the lighting parameters of the lamp according to the comparison result specifically includes the following steps:
if the difference value between the current picture parameter and the last extracted picture parameter is within a preset range, the light parameter of the lamp is not adjusted;
and if the difference value between the current picture parameter and the picture parameter extracted last time is not in the preset range, adjusting or not adjusting the light parameter of the lamp according to a preset algorithm.
Optionally, the picture parameter includes a first dominant color and a second dominant color, the first dominant color and the second dominant color are used to represent two most dominant colors in a picture of the display screen, and the light parameter includes a light color.
Optionally, the step of adjusting or not adjusting the color of the light fixture according to the comparison result further includes:
and when the difference value between the updated first dominant color and the current first dominant color does not meet the preset condition and the light color of the lamp is not adjusted continuously for a second preset time, cyclically comparing the current second dominant color or the first dominant color with the preset color model until the light color of the lamp is adjusted to the updated first dominant color or second dominant color when the difference value between the updated first dominant color or second dominant color and the corresponding dominant color meets the preset condition.
Optionally, the step of adjusting or not adjusting the color of the light fixture according to the comparison result further includes:
when the difference value between the updated first dominant color and the current first dominant color is not within the preset condition, taking the updated first dominant color as an alternative color;
and if the number of times that the difference value between the updated first dominant color and the current first dominant color which is continuously found out later does not meet the preset condition is larger than a preset number of times, controlling the light color of the lamp to be adjusted to one of the alternative colors.
Optionally, if the number of times that the difference value between the updated first dominant color and the current first dominant color found continuously later does not satisfy the preset condition is greater than a preset number of times, the step of controlling the light color of the lamp to be adjusted to one of the candidate colors includes:
comparing differences between a plurality of the alternative colors and the first dominant color corresponding thereto;
and controlling the light color of the lamp to be adjusted to the alternative color with the smallest difference value in the plurality of alternative colors.
Optionally, the preset algorithm is a gaussian algorithm;
the first preset time is any value between 450ms and 550ms.
According to an object of a second aspect of the present invention, there is also provided a light adjusting system of a vehicle, comprising:
a memory and a processor, the memory having stored thereon a computer program operable on the processor, the computer program being for implementing the light adjustment method described above when executed by the processor.
Firstly, extracting picture parameters in a picture of a display screen according to a preset algorithm at intervals of first preset time; then comparing the current picture parameter with the picture parameter extracted last time; and finally, adjusting or not adjusting the lighting parameters of the lamp according to the comparison result so that the lighting parameters of the lamp are matched with the picture parameters in the picture of the display screen. According to the technical scheme, whether the light parameters of the lamp are adjusted or not is selected according to the comparison result of the previous picture parameters, and the light parameters are not adjusted at every moment, so that the situation that the vision jitter is caused by too fast switching of the light parameters, namely frequent switching can be avoided, the light parameters are matched with the picture parameters, a relatively comfortable visual environment is created for a user, and the experience and satisfaction of the user are improved.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Some specific embodiments of the invention will be described in detail hereinafter by way of example and not by way of limitation with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
FIG. 1 is a schematic flow diagram of a light adjustment method for a vehicle according to one embodiment of the invention;
FIG. 2 is a schematic flow chart diagram of a light adjustment method of a vehicle according to another embodiment of the present invention;
FIG. 3 is a schematic flow chart diagram of a light adjustment method of a vehicle according to another embodiment of the present invention;
FIG. 4 is a schematic flow chart diagram of a light adjustment method of a vehicle according to yet another embodiment of the present invention;
FIG. 5 is a schematic flow chart diagram of a light adjustment method of a vehicle according to yet another embodiment of the present invention;
fig. 6 is a schematic configuration diagram of a light adjusting system of a vehicle according to one embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are illustrative and intended to explain the present invention and should not be construed as limiting the present invention.
Example 1:
fig. 1 is a schematic flow chart of a light adjusting method of a vehicle according to one embodiment of the present invention. In a specific embodiment, as shown in fig. 1, a display screen and a lamp are arranged in the vehicle, and the light adjusting method comprises the following steps:
step S10, extracting picture parameters in a picture of a display screen at intervals of first preset time according to a preset algorithm;
step S20, comparing the current picture parameter with the picture parameter extracted last time;
and S30, adjusting or not adjusting the light parameters of the lamp according to the comparison result so as to enable the light parameters of the lamp to be matched with the picture parameters in the picture of the display screen.
According to the embodiment, whether the light parameters of the lamp are adjusted or not is selected according to the comparison result with the previous picture parameters, and the light parameters are not adjusted at every moment, so that the situation that the vision jitter is caused by too fast switching of the light parameters, namely frequent switching can be avoided, meanwhile, the light parameters are matched with the picture parameters, a relatively comfortable visual environment is created for a user, and the experience and satisfaction of the user are improved.
Fig. 2 is a schematic flow chart of a light adjusting method of a vehicle according to another embodiment of the present invention, as shown in fig. 2 and referring to fig. 1, in another embodiment, step S30 specifically includes the following steps:
step S31, if the difference value between the current picture parameter and the last extracted picture parameter is within a preset range, the light parameter of the lamp is not adjusted;
and step S32, if the difference value between the current picture parameter and the last extracted picture parameter is not in a preset range, adjusting or not adjusting the light parameters of the lamp according to a preset algorithm.
That is, if the two picture parameters are relatively close, the lighting parameters of the lamp do not need to be adjusted, and the same lighting parameters can be adapted to the two picture parameters. If the light parameters are adjusted when the two picture parameters are relatively close to each other, on one hand, frequent switching of the light parameters can be caused, visual jitter can be brought to a user, discomfort of eyes of the user can be caused when the user is in a visual jitter environment for a long time, and eye fatigue can be aggravated after a long time; on the other hand, it increases the complexity of the algorithm and aggravates the computational task of the system, which are not necessary. Therefore, the embodiment can realize the matching of the light parameters and the picture colors and simplify the calculation process of the system.
In step S31, the preset range may be set to 0 to 5. In other embodiments, the preset range may also be set according to specific design requirements. Specifically, the picture parameters include picture colors and picture luminances, and are represented by an RGB color mode, which means that if the difference between the three values of R, G, and B of the current picture color and the values of R, G, and B of the last extracted picture color is within 5, the lighting parameters of the lamp do not need to be adjusted. On the contrary, if the difference between the three values of R, G, B of the current picture color and the R, G, B of the last extracted picture color is not within 5, the lighting parameters of the lamp need to be adjusted or not adjusted according to the preset algorithm. If step S31 is satisfied here, the process proceeds to step S32 after 1S.
In this embodiment, the picture parameter includes a first dominant color and a second dominant color, the first dominant color and the second dominant color are used to represent the most dominant two colors in the picture of the display screen, and the light parameter includes a light color. Firstly, dividing a region of a video picture of a display screen into infinite small regions, and then extracting a first dominant color and a second dominant color through a Gaussian algorithm. It will be appreciated that the above mentioned predetermined algorithm is a gaussian algorithm. In this embodiment, the first predetermined time is any value between 450ms and 550ms. For example, it may be 450ms, 500ms or 550ms. In a preferred embodiment, the first predetermined time is 500ms. In other embodiments, the first preset time may also be set according to specific design requirements. This embodiment does not continuously extract the first dominant color and the second dominant color, but intermittently acquires them, so that the burden on the system can be reduced.
Fig. 3 is a schematic flowchart of a light adjusting method of a vehicle according to another embodiment of the present invention. As shown in fig. 3 and referring to fig. 2, in another embodiment, step S32 specifically includes the following steps:
step S321, comparing the current first dominant color with a preset color model, wherein the preset color model is a color model used by the lamp;
step S322, finding out a similar color closest to the first dominant color on a preset color model;
step S323, updating the current first dominant color by using the similar color to obtain an updated first dominant color;
step S324, comparing the updated first dominant color with the current first dominant color;
and step S325, adjusting or not adjusting the light color of the lamp according to the comparison result.
In this embodiment, the first dominant color and the second dominant color in the picture color are RGB color templates, and the color model used by the lighting color is different from the RGB color template, which cannot be directly converted. Therefore, the first dominant color needs to be converted into a color in the HSV color model, and the color model used for the lighting color can also be converted into a color in the HSV color model, which is equivalent to the existence of three color templates. Through comparison among the three color templates, the color on the preset color template closest to the first dominant color, that is, the similar color, can be found out. For example, the parameter for the conversion of the current first dominant color into the HSV color template is H 1 S 1 V 1 The parameter on the HSV color template closest thereto is H 2 S 2 V 2 And H is 2 S 2 V 2 If this color is also present on the preset color template, then H can be considered as 2 S 2 V 2 A similar color to the first dominant color. Then it is necessary to use H 2 S 2 V 2 Updating the first dominant color, and taking the value H of the H and the value S of the HSV in the updated first dominant color as the value H 2 S 2 The value of V is taken as V 1 That is, the updated first dominant color is H 2 S 2 V 1 . Specifically, H is found 2 S 2 V 2 Is found from a distance measure, the smaller the distance measure is, the more H is 1 S 1 V 1 The closest. Distance measure = H difference absolute value + S difference absolute value 0.8 on HSV space, where H difference absolute value refers to H 2 And H 1 The absolute value of the difference between the S and S means S 2 And S 1 The absolute value of the difference therebetween.
Fig. 4 is a schematic flow chart of a light adjusting method of a vehicle according to still another embodiment of the present invention. As shown in fig. 4 and referring to fig. 3, step S325 specifically includes the following steps:
step S3251, controlling the light color to adjust to the updated first dominant color when the difference between the updated first dominant color and the current first dominant color satisfies a preset condition.
That is, the updated first dominant color H 2 S 2 V 1 Is compared with the current first dominant color H 1 S 1 V 1 Is within 0.05 and S is within 0.2, i.e. H 2 And H 1 The difference between the S values is within 0.05, S 2 And S 1 If the difference value between the first dominant color and the second dominant color is within 0.2, the difference between the updated first dominant color and the current first dominant color is not large, and the light color is directly controlled to be adjusted to the updated first dominant color.
Step S3252, when the difference between the updated first dominant color and the current first dominant color does not satisfy the preset condition and the lighting color of the lamp has not been adjusted for the second preset time, cyclically comparing the current second dominant color or the first dominant color with the preset color model until the lighting color of the lamp is adjusted to the updated first dominant color or the second dominant color when the difference between the updated first dominant color or the second dominant color and the corresponding dominant color satisfies the preset condition.
It should be noted that there is no precedence relationship between step S3251 and step S3252. It is understood that as long as H 2 And H 1 The difference between the values is not within 0.05 and/or S 2 And S 1 If the difference between the values is not within 0.2, the preset condition is not satisfied. The second preset time is any value within a range from 8s to 12s, and can be 8s, 10s or 12s, for example. In a preferred embodiment, the second preset time is 10s. That is, when an updated first dominant color very close to the current first dominant color has not been found and the luminaire has continued for 10s without changing colors, it is then necessary to try to find the closest second dominant color on the preset color modelIf the found color does not meet the preset condition and the lamp continues to switch the color for 10s, the color closest to the current first dominant color is continuously found, and the comparison and the search are performed back and forth until the updated dominant color meeting the preset condition is found, and the light color is controlled to be switched to the updated dominant color. In other embodiments, three dominant colors may be selected from the picture colors, and the closest color is found by cyclic switching for the three dominant colors, so as to adjust the lighting color of the lamp.
Example 2:
example 2 differs from example 1 only in that:
fig. 5 is a schematic flowchart of a light adjusting method of a vehicle according to still another embodiment of the present invention. As shown in fig. 5, and referring to fig. 2, 3 and 4, in this embodiment, step S325 further includes the steps of:
step S3253, when the difference value between the updated first dominant color and the current first dominant color does not meet the preset condition, taking the updated first dominant color as an alternative color;
step S3254, if the number of times that the difference between the updated first dominant color and the current first dominant color found continuously later does not satisfy the preset condition is greater than the preset number of times, controlling the light color of the lamp to be adjusted to one of the multiple candidate colors. In this embodiment, the preset number of times may be set to ten times. In other embodiments, the preset times may also be set according to specific design requirements.
It should be noted that step S3254 is subsequent to step S3253, but there is no precedence relationship between step S3253 and step S3251. Step S3251 and step S3252 are an integrated control logic, and step S3251, step 3253 and step S3254 are another integrated control logic. One of the two may be selected according to specific needs. In other embodiments, the control logic of the light color can be designed according to actual design requirements.
Specifically, if the updated first dominant color is used as the candidate color, it indicates that the difference between the candidate color and the current first dominant color is large, and the candidate color is not the closest color, and at this time, the lighting color does not need to be adjusted. If after ten times no color closer to the first dominant color has been found, one of the ten candidate colors is selected for adjusting the light color.
In a preferred embodiment, step S3254 specifically includes the following steps:
the method comprises the following steps: comparing differences between the plurality of candidate colors and the first dominant color corresponding thereto;
step two: and adjusting the light color of the control lamp to be the candidate color with the smallest difference value in the plurality of candidate colors.
That is, the difference between the ten candidate colors and their corresponding first dominant colors is compared, the candidate color with the smallest difference is selected, and the light color is adjusted to the candidate color.
In the embodiment, if a user plays a video or projects a video on a display screen in a vehicle, the entertainment host sends the analyzed color and brightness of the video picture to the vehicle intelligent computing center, then the intelligent computing center calculates the color and brightness signals of the lamp light to be adjusted according to the analyzed color and brightness of the picture and sends the color and brightness signals to the lamp end controller, and finally the lamp end controller controls the color of the lamp light according to the received color and brightness signals. Specifically, the intelligent computing center calls color and brightness signals in the entertainment host through a Service Oriented Architecture (SOA), and timeliness of video analysis can be guaranteed. The embodiment can adjust the color of the light only if the color closest to the dominant color in the picture is found, the color switching frequency of the light is restrained, the switching is not performed excessively, and comfortable color conversion experience is created. If the color closest to the dominant color cannot be found for many times and the color of the light is not changed for a certain time, the color of the light needs to be found by the method to be adjusted, so that the light is prevented from being unadjusted for a long time. In this embodiment, a control switch may be added, and when a user needs to set the lighting color of the lamp to view the video following, the control switch is turned on, so that the lighting color can be adjusted according to the change of the picture of the display screen in the process of viewing the display screen. If some users do not like the color of the light to be changed all the time, the control switch is closed if the users want the color of the light to be kept unchanged all the time in the film watching process. Therefore, the embodiment can meet the requirements of different users according to the preferences of the different users, and is more humanized. The light adjusting method in the embodiment can be used not only in the field of vehicles, but also in the fields of smart homes and the like, and is wide in application range.
Fig. 6 is a schematic configuration diagram of a light adjustment system of a vehicle according to one embodiment of the present invention. As shown in FIG. 6, in one particular embodiment, the present invention also provides a vehicle light conditioning system 100 comprising a computer system 1500, where the computer system 1500 may specifically include a processor 1510, a video display adapter 1511, a disk drive 1512, an input/output interface 1513, a network interface 1514, and a memory 1520. The processor 1510, video display adapter 1511, disk drive 1512, input/output interface 1513, network interface 1514, and memory 1520 may be communicatively coupled via a communication bus 1530. Here, the computer system 1500 may be understood as the intelligent computing center of the vehicle described above.
The processor 1510 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solution provided by the present invention.
The Memory 1520 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1520 may store an operating system 1521 for controlling the operation of the electronic device, a Basic Input Output System (BIOS) for controlling low-level operations of the electronic device. In addition, a web browser 1523, a data storage management system 1524, an icon font processing system 1525, and the like can also be stored. The icon font processing system 1525 can be an application program that implements the operations of the foregoing steps in this embodiment of the present invention. In summary, when the technical solution provided by the present invention is implemented by software or firmware, the relevant program codes are stored in the memory 1520 and called for execution by the processor 1510.
The input/output interface 1513 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and the output devices may include a display, speaker, vibrator, indicator light, controller, etc. In this embodiment, the input device is the entertainment host described above, and the output device is the light end controller described above.
The network interface 1514 is used to connect a communication module (not shown) to enable the device to communicatively interact with other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, bluetooth and the like).
The bus includes a path that transfers information between various components of the device, such as the processor 1510, the video display adapter 1511, the disk drive 1512, the input/output interface 1513, the network interface 1514, and the memory 1520.
In addition, the electronic device may further obtain information of specific pickup conditions from the virtual resource object pickup condition information database for performing condition judgment, and the like.
It should be noted that although the above devices only show the processor 1510, the video display adapter 1511, the disk drive 1512, the input/output interface 1513, the network interface 1514, the memory 1520, the bus, etc., in the specific implementation, the devices may also include other components necessary for normal operation. Furthermore, it will be understood by those skilled in the art that the apparatus described above may also include only the components necessary to implement the inventive arrangements, and need not include all of the components shown in the figures.
The invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the light adjusting method provided by any one of the above embodiments is implemented.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.

Claims (8)

1. A light adjusting method of a vehicle is characterized in that a display screen and a lamp are arranged inside the vehicle, and the light adjusting method comprises the following steps:
extracting picture parameters in a picture of the display screen at intervals of first preset time according to a preset algorithm;
comparing the current picture parameter with the picture parameter extracted last time;
adjusting or not adjusting the lighting parameters of the lamp according to the comparison result so that the lighting parameters of the lamp are matched with the picture parameters in the picture of the display screen, wherein the picture parameters comprise a first dominant color and a second dominant color, the lighting parameters are matched with the first dominant color through a preset color model, and the lighting parameters are matched with a similar color which is closest to the first dominant color in the preset color model;
wherein the matching of the light parameter with a similar color in the preset color model that is closest to the first dominant color comprises:
comparing the current first dominant color with a preset color model;
finding out a similar color closest to the first dominant color on the preset color model;
updating the current first dominant color by using the similar color to obtain an updated first dominant color;
comparing the updated first dominant color with the current first dominant color; adjusting or not adjusting the light color of the lamp according to the comparison result;
and when the difference value between the updated first dominant color and the current first dominant color meets a preset condition, controlling the light color to be adjusted to the updated first dominant color.
2. A light adjustment method according to claim 1, wherein the step of adjusting or not adjusting the light parameters of the light fixture according to the comparison result specifically comprises the steps of:
if the difference value between the current picture parameter and the last extracted picture parameter is within a preset range, the light parameter of the lamp is not adjusted;
and if the difference value between the current picture parameter and the last extracted picture parameter is not in the preset range, adjusting or not adjusting the light parameter of the lamp according to a preset algorithm.
3. A light adjustment method according to claim 2, characterized in that the picture parameters comprise a first dominant color and a second dominant color, the first dominant color and the second dominant color being used to represent the most dominant two colors in the picture of the display screen, and the light parameters comprise the light colors.
4. A light adjusting method according to claim 1, wherein the step of adjusting or not adjusting the light color of the lamp according to the comparison result further comprises:
and when the difference value between the updated first dominant color and the current first dominant color does not meet the preset condition and the light color of the lamp is not adjusted continuously for a second preset time, cyclically comparing the current second dominant color or the first dominant color with the preset color model until the light color of the lamp is adjusted to the updated first dominant color or second dominant color when the difference value between the updated first dominant color or second dominant color and the corresponding dominant color meets the preset condition.
5. A light adjusting method according to claim 1, wherein the step of adjusting or not adjusting the light color of the lamp according to the comparison result further comprises:
when the difference value between the updated first dominant color and the current first dominant color does not meet the preset condition, taking the updated first dominant color as an alternative color;
and if the number of times that the difference value between the updated first dominant color and the current first dominant color which are continuously found out later does not meet the preset condition is larger than a preset number of times, controlling the light color of the lamp to be adjusted to be one of the alternative colors.
6. A light adjustment method according to claim 5, wherein the step of controlling the light color of the lamp to be adjusted to one of the candidate colors if the number of times that the difference between the updated first dominant color and the current first dominant color, which is found out continuously later, does not satisfy the preset condition is greater than a preset number of times, specifically comprises:
comparing differences between a plurality of the alternative colors and the first dominant color corresponding thereto;
and controlling the light color of the lamp to be adjusted to the alternative color with the smallest difference value in the plurality of alternative colors.
7. Light conditioning method according to claim 1,
the preset algorithm is a Gaussian algorithm;
the first preset time is any value between 450ms and 550ms.
8. A light conditioning system for a vehicle, comprising:
a memory having stored thereon a computer program operable on the processor, the computer program, when executed by the processor, is for implementing a light adjustment method according to any one of claims 1-7.
CN202210791544.9A 2022-07-07 2022-07-07 Light adjusting method and light adjusting system for vehicle Active CN114851959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210791544.9A CN114851959B (en) 2022-07-07 2022-07-07 Light adjusting method and light adjusting system for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210791544.9A CN114851959B (en) 2022-07-07 2022-07-07 Light adjusting method and light adjusting system for vehicle

Publications (2)

Publication Number Publication Date
CN114851959A CN114851959A (en) 2022-08-05
CN114851959B true CN114851959B (en) 2022-10-18

Family

ID=82626678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210791544.9A Active CN114851959B (en) 2022-07-07 2022-07-07 Light adjusting method and light adjusting system for vehicle

Country Status (1)

Country Link
CN (1) CN114851959B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945238A (en) * 2017-12-01 2018-04-20 上海怡新信息技术有限公司 Light atmosphere data generating algorithm based on video analysis
WO2019114688A1 (en) * 2017-12-14 2019-06-20 蔚来汽车有限公司 Method for controlling light provided on vehicle and lighting system for vehicle
CN113140197A (en) * 2021-04-21 2021-07-20 Oppo广东移动通信有限公司 Display picture adjusting method and device, electronic equipment and readable storage medium
CN113795071A (en) * 2021-11-11 2021-12-14 珠海视熙科技有限公司 Atmosphere lamp control method and device and storage medium
CN114677298A (en) * 2022-03-23 2022-06-28 深圳市当智科技有限公司 Lamp effect control method and control terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150302609A1 (en) * 2014-04-16 2015-10-22 GE Lighting Solutions, LLC Method and apparatus for spectral enhancement using machine vision for color/object recognition
CN106332393B (en) * 2015-06-30 2019-02-15 芋头科技(杭州)有限公司 A kind of music light regular movements system and method
CN106341929B (en) * 2015-07-07 2019-01-25 芋头科技(杭州)有限公司 A kind of method of light and display content mergence
CN111935885B (en) * 2020-07-16 2023-05-30 广东好太太智能家居有限公司 Linkage control method, equipment and storage medium for lamplight colors of terminal and equipment
WO2022121114A1 (en) * 2020-12-11 2022-06-16 萤火虫(深圳)灯光科技有限公司 Lighting module control method, lighting module, electronic device, and storage medium
CN114698207A (en) * 2022-03-30 2022-07-01 阿波罗智联(北京)科技有限公司 Light adjusting method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945238A (en) * 2017-12-01 2018-04-20 上海怡新信息技术有限公司 Light atmosphere data generating algorithm based on video analysis
WO2019114688A1 (en) * 2017-12-14 2019-06-20 蔚来汽车有限公司 Method for controlling light provided on vehicle and lighting system for vehicle
CN113140197A (en) * 2021-04-21 2021-07-20 Oppo广东移动通信有限公司 Display picture adjusting method and device, electronic equipment and readable storage medium
CN113795071A (en) * 2021-11-11 2021-12-14 珠海视熙科技有限公司 Atmosphere lamp control method and device and storage medium
CN114677298A (en) * 2022-03-23 2022-06-28 深圳市当智科技有限公司 Lamp effect control method and control terminal

Also Published As

Publication number Publication date
CN114851959A (en) 2022-08-05

Similar Documents

Publication Publication Date Title
CN108156533B (en) Smart television backlight adjusting method, smart television and storage medium
CN107293265B (en) Display screen picture adjusting method, display terminal and readable storage medium
CN110399583B (en) Page display method and device, electronic equipment and storage medium
KR102541829B1 (en) Electronic apparatus and the controlling method thereof
US20150178253A1 (en) Method and apparatus for outputting digital content
CN113687753B (en) Split screen style configuration method and device, intelligent terminal and storage medium
CN111583886A (en) Screen refresh rate adjusting method, device, equipment and medium
CN108401078B (en) Backlight brightness adjusting method and device, mobile terminal and readable storage medium
CN108595573B (en) Page display method and device, storage medium and electronic equipment
CN112351347B (en) Screen focus moving display method, display device and storage medium
KR20140127527A (en) Display apparatus and providing recommendation information using the display apparatus
CN110941411A (en) Frame rate control method and device and computer storage medium
US11340781B2 (en) Electronic device for displaying execution screen of application and method of controlling the same
CN113709302B (en) Method and system for adjusting brightness of light-emitting device, electronic device and storage medium
CN109891459B (en) Image processing apparatus and image processing method
CN108389553B (en) Backlight control method, apparatus and computer readable storage medium
WO2023056710A1 (en) Light effect adaptive display processing method, intelligent terminal and storage medium
CN114851959B (en) Light adjusting method and light adjusting system for vehicle
CN113342229A (en) Method and device for adjusting font size, terminal equipment and computer readable storage medium
CN110827770B (en) Regional backlight brightness adjusting method and device for display image and storage medium
CN111610886A (en) Method and device for adjusting brightness of touch screen and computer readable storage medium
CN117032504A (en) Touch screen control method, system, computer equipment and medium
CN114038370B (en) Display parameter adjustment method and device, storage medium and display equipment
CN106550135B (en) Display screen backlight brightness control method and system based on mobile terminal
CN110389692A (en) A kind of display methods of status bar, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant