CN114851959A - Light adjusting method and light adjusting system for vehicle - Google Patents
Light adjusting method and light adjusting system for vehicle Download PDFInfo
- Publication number
- CN114851959A CN114851959A CN202210791544.9A CN202210791544A CN114851959A CN 114851959 A CN114851959 A CN 114851959A CN 202210791544 A CN202210791544 A CN 202210791544A CN 114851959 A CN114851959 A CN 114851959A
- Authority
- CN
- China
- Prior art keywords
- color
- light
- dominant color
- adjusting
- lamp
- 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.)
- Granted
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q3/00—Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors
- B60Q3/80—Circuits; Control arrangements
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control 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 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.
Description
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 content of the display screen in the vehicle, the in-vehicle 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, the vehicle having a display screen and a lamp disposed therein, 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;
and 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.
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, if the difference between the current picture parameter and the picture parameter extracted last time is not within the preset range, the step of adjusting or not adjusting the light parameter of the lamp according to a preset algorithm specifically includes the following steps:
comparing the current first dominant color with a preset color model, wherein the preset color model is a color model used by the lamp;
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;
and adjusting or not adjusting the light color of the lamp according to the comparison result.
Optionally, the step of adjusting or not adjusting the light color of the lamp according to the comparison result specifically includes:
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 light color of the lamp 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 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 light color of the lamp 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 candidate 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 550 ms.
According to an object of a second aspect of the present invention, there is also provided a light adjusting system for 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 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.
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 illustration and not 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 adjustment 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 or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
Example 1:
fig. 1 is a schematic flowchart 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 the picture of the display screen according to a preset algorithm and at intervals of a first preset time;
step S20, comparing the current picture parameter with the last extracted picture parameter;
and step 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 for 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 in the 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 the preset range, adjusting or not adjusting the light parameter of the lamp according to the 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 lighting parameters and the picture colors and simultaneously simplify the calculation process of the system.
In step S31, the preset range may be set to 0-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, and it is understood that if the difference between the three values of R, G, B of the current picture color and the value of R, G, B of the last extracted picture color is within 5, the lighting parameters of the lighting fixture 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 value of 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 infinitesimal 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 550 ms. For example, it may be 450ms, 500ms or 550 ms. In a preferred embodiment, the first preset time is 500 ms. 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 converting 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 To the firstUpdating a dominant color, and taking the values of H and S of HSV in the updated first dominant color as 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 according to a distance measure, the smaller the distance measure is, the lower the distance measure is, the H is 1 S 1 V 1 The closest. Distance measure = H difference absolute + S difference absolute 0.8 on HSV space, where H difference absolute 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 between them.
Fig. 4 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. 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 predetermined time is any value in the range of 8 s-12 s, and may be 8s, 10s or 12s, for example. In a preferred embodiment, the second preset time is 10 s. That is to say, if the updated first dominant color close to the current first dominant color is not found and the lamp has not changed color for 10s, it is required to try to find the updated second dominant color closest to the second dominant color on the preset color model, if the found color does not satisfy the preset condition and the lamp also continues to switch colors for 10s, it continues to find the color closest to the current first dominant color, and then the comparison and search are performed back and forth until the updated dominant color satisfying the preset condition is found, and the lamp color is not controlled to switch 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 value between the updated first dominant color and the current first dominant color found continuously later does not meet the preset condition is larger than the preset number of times, controlling the lighting 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 the actual design requirement.
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. One of the ten alternative colors is selected for adjusting the light color if after ten times no color closer to the first dominant color has been found.
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 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.
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 a projection video on a display screen in a vehicle, the entertainment host sends the analyzed video picture color and brightness to the vehicle intelligent computing center, then the intelligent computing center computes according to the analyzed picture color and brightness and according to the method to obtain a color signal and a brightness signal of light to be adjusted and sends the color signal and the brightness signal to the lamp end controller, and finally the lamp end controller controls the light color of the lamp according to the received color signal and brightness signal. 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 adjusts the color of the light only by finding the color closest to the dominant color in the picture, inhibits the color switching frequency of the light, does not switch excessively, and creates comfortable color conversion experience. 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 an 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 may 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. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, a 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 the 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 only illustrative, wherein the units described as separate parts may or may not be physically separate, and the 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 (10)
1. The light adjusting method of the 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;
and 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.
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 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.
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 3, wherein if the difference between the current picture parameter and the last extracted picture parameter is not within the preset range, the step of adjusting or not adjusting the light parameter of the lamp according to a preset algorithm specifically comprises the following steps:
comparing the current first dominant color with a preset color model, wherein the preset color model is a color model used by the lamp;
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;
and adjusting or not adjusting the light color of the lamp according to the comparison result.
5. A light adjustment method according to claim 4, wherein the step of adjusting or not adjusting the light color of the lamp according to the comparison result specifically comprises:
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.
6. A light adjustment method according to claim 5, 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 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.
7. A light adjustment method according to claim 5, 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 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.
8. A light adjustment method according to claim 7, 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 candidate 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.
9. Light conditioning method according to claim 1,
the preset algorithm is a Gaussian algorithm;
the first preset time is any value between 450ms and 550 ms.
10. 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-9.
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 true CN114851959A (en) | 2022-08-05 |
CN114851959B 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 (11)
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 |
WO2017000794A1 (en) * | 2015-06-30 | 2017-01-05 | 芋头科技(杭州)有限公司 | Music and light rhythm system and method |
CN107945238A (en) * | 2017-12-01 | 2018-04-20 | 上海怡新信息技术有限公司 | Light atmosphere data generating algorithm based on video analysis |
US20180199410A1 (en) * | 2015-07-07 | 2018-07-12 | Yutou Technology (Hangzhou) Co., Ltd. | Light and display content integration method |
WO2019114688A1 (en) * | 2017-12-14 | 2019-06-20 | 蔚来汽车有限公司 | Method for controlling light provided on vehicle and lighting system for vehicle |
CN111935885A (en) * | 2020-07-16 | 2020-11-13 | 广东科徕尼智能科技有限公司 | Linkage control method, equipment and storage medium for terminal and equipment light color |
CN113140197A (en) * | 2021-04-21 | 2021-07-20 | Oppo广东移动通信有限公司 | Display picture adjusting method and device, electronic equipment and readable storage medium |
CN113613363A (en) * | 2020-12-11 | 2021-11-05 | 萤火虫(深圳)灯光科技有限公司 | Light control method, device, controller, module and 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 |
CN114698207A (en) * | 2022-03-30 | 2022-07-01 | 阿波罗智联(北京)科技有限公司 | Light adjusting method and device, electronic equipment and storage medium |
-
2022
- 2022-07-07 CN CN202210791544.9A patent/CN114851959B/en active Active
Patent Citations (11)
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 |
WO2017000794A1 (en) * | 2015-06-30 | 2017-01-05 | 芋头科技(杭州)有限公司 | Music and light rhythm system and method |
US20180199410A1 (en) * | 2015-07-07 | 2018-07-12 | Yutou Technology (Hangzhou) Co., Ltd. | Light and display content integration method |
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 |
CN111935885A (en) * | 2020-07-16 | 2020-11-13 | 广东科徕尼智能科技有限公司 | Linkage control method, equipment and storage medium for terminal and equipment light color |
CN113613363A (en) * | 2020-12-11 | 2021-11-05 | 萤火虫(深圳)灯光科技有限公司 | Light control method, device, controller, module and storage medium |
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 |
CN114698207A (en) * | 2022-03-30 | 2022-07-01 | 阿波罗智联(北京)科技有限公司 | Light adjusting method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114851959B (en) | 2022-10-18 |
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 | |
CN101178887B (en) | Character processing apparatus and method | |
KR102541829B1 (en) | Electronic apparatus and the controlling method thereof | |
CN111583886A (en) | Screen refresh rate adjusting method, device, equipment and medium | |
US20200175398A1 (en) | Electronic device and method for controlling same | |
CN113687753B (en) | Split screen style configuration method and device, intelligent terminal and storage medium | |
CN110941411A (en) | Frame rate control method and device and computer storage medium | |
CN110753266A (en) | Video definition adjusting method and device and storage medium | |
CN112351347A (en) | Screen focus moving display method, display device and storage medium | |
CN111128082A (en) | Backlight adjusting method, display and storage medium | |
CN115079977A (en) | Interface drawing method and device, electronic equipment and storage medium | |
US10997947B2 (en) | Electronic device and control method thereof | |
CN109891459B (en) | Image processing apparatus and image processing method | |
CN108389553B (en) | Backlight control method, apparatus and computer readable storage medium | |
CN113821417A (en) | Lamp effect adaptation display processing method, intelligent terminal and storage medium | |
CN113342229A (en) | Method and device for adjusting font size, terminal equipment and computer readable storage medium | |
CN114851959B (en) | Light adjusting method and light adjusting system for vehicle | |
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 | |
CN103959204A (en) | Information processing device, information processing method, and recording medium | |
CN114038370B (en) | Display parameter adjustment method and device, storage medium and display equipment | |
CN110892361A (en) | Display apparatus, control method of display apparatus, and computer program product thereof | |
CN111683254B (en) | Image compression method and device, electronic equipment and storage medium | |
CN114242023A (en) | Display screen brightness adjusting method, display screen brightness adjusting device and electronic equipment |
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 |