[go: up one dir, main page]

CN119626149B - LED display screen color adjustment system and method based on ambient light perception - Google Patents

LED display screen color adjustment system and method based on ambient light perception Download PDF

Info

Publication number
CN119626149B
CN119626149B CN202510149727.4A CN202510149727A CN119626149B CN 119626149 B CN119626149 B CN 119626149B CN 202510149727 A CN202510149727 A CN 202510149727A CN 119626149 B CN119626149 B CN 119626149B
Authority
CN
China
Prior art keywords
light intensity
value
color
display screen
node
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
CN202510149727.4A
Other languages
Chinese (zh)
Other versions
CN119626149A (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.)
Shenzhen Zunzheng Technology Co ltd
Original Assignee
Shenzhen Zunzheng 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 Shenzhen Zunzheng Technology Co ltd filed Critical Shenzhen Zunzheng Technology Co ltd
Priority to CN202510149727.4A priority Critical patent/CN119626149B/en
Publication of CN119626149A publication Critical patent/CN119626149A/en
Application granted granted Critical
Publication of CN119626149B publication Critical patent/CN119626149B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides an LED display screen color adjustment system and method based on ambient light perception. The method comprises the steps of detecting light intensity of the surrounding environment of a display screen through a light perception sensor to obtain an analog signal of the light intensity, converting the analog signal into a digital signal through an analog-to-digital converter to obtain a light intensity value corresponding to the analog signal, calculating brightness values of three basic colors of red, green and blue, which are matched with the light intensity value, according to a preset color adjustment strategy based on the light intensity value, adjusting the color in the display screen according to the brightness value, detecting the light intensity of the surrounding environment again in real time according to a light intensity acquisition period, and adjusting according to the new light intensity value. The invention can realize color adjustment based on ambient light perception, so that the display effect is more adaptive and optimized under different illumination conditions, and better visual experience can be provided.

Description

LED display screen color adjusting system and method based on ambient light perception
Technical Field
The invention relates to the technical field of color adjustment, in particular to an LED display screen color adjustment system and method based on ambient light perception.
Background
As an important display device, the LED display screen has many advantages in display effect and use. The color of an LED display screen is produced by different combinations of the three basic colors of red (R), green (G) and blue (B), which are called RGB color modes. The color of the LED display screen is regulated by controlling the brightness of three basic colors of red, green and blue so as to achieve the required color effect. By adjusting the brightness of these three colors, almost all colors and color variations can be achieved, which is very important for displaying real images and video content. However, half of the color adjustment of the existing LED display screen is adjusted individually by an operator according to the situation of the operator through keys, time and labor are wasted, the color effect cannot adapt to the surrounding environment, and the color display effect of the LED display screen is directly affected.
In the prior art, application number CN202310545374.0 discloses a display screen brightness adjustment method, a device, computer equipment and a storage medium, wherein the display screen brightness adjustment method comprises the steps of obtaining task pictures, analyzing the task pictures, determining brightness information and color information corresponding to the task pictures, determining the number of tasks of the tasks, dividing display areas of a display screen according to the number of the tasks to form subarea display areas, optimally sorting the tasks based on the color information, displaying each task in the corresponding subarea display areas, and adjusting the brightness information of the subarea display areas corresponding to the task pictures based on the color information and the subarea display areas. Although to solve or improve the problem of poor experience of the display screen. However, the functions are relatively simple, and color adjustment is performed according to tasks, so that adjustment cannot be performed according to ambient light conditions, and the user experience is poor.
In the second prior art, application number CN202310077515.0 discloses a display screen correction method, a device and a nonvolatile storage medium in color gamut adjustment, wherein the method comprises the steps of determining target correction data before correction of RGB three primary colors of a target color gamut of a display screen in an ideal light emitting state, wherein the ideal light emitting state is a state that the change of the light emitting state of the RGB three primary colors of the display screen along with the correction data of the display screen accords with an ideal change rule, acquiring compensation parameters corresponding to the correction data interval according to the correction data interval corresponding to the target correction data before correction, compensating the target correction data before correction according to the compensation parameters to obtain corrected target correction data, and writing the corrected target correction data into the display screen, wherein the light emitting state of the RGB three primary colors of the display screen reaches the ideal light emitting state under the condition that the corrected target correction data is adopted. Although the technical problem that the color correction of the display screen caused by the fact that the correction data cannot ideally regulate the color of the lamp beads has larger error is solved. However, the display screen itself is improved only from its function, the ambient light condition is not set, and the display screen cannot bring excellent visual effect to the user as an adjustment factor.
In the prior art, the application number CN202310716659.6 discloses a color correction method and a color correction system of an LED display screen, which comprise an information acquisition unit, a data analysis unit, a simulation detection unit and a correction strategy generation unit, wherein the information acquisition unit is used for detecting environment influence information of a scene used by a target screen, the data analysis unit is used for determining the screen color temperature of the target screen according to the change degree of the color temperature of a light source, determining an environment influence period according to the illumination influence area of the scene used by the target screen, the simulation detection unit is connected with the data analysis unit and used for carrying out illumination detection and temperature detection on the target screen according to instruction information of the data analysis unit, and the correction strategy generation unit is used for determining the target screen working parameter adjustment quantity of the corresponding environment influence period according to the display effect parameters of the target screen so as to generate an illumination control strategy and generating a target screen temperature compensation strategy according to the brightness of the target screen under different detection temperatures, although the accuracy and the practicability of the color correction strategy are improved. But the color cannot be matched with ambient light, reducing the accuracy of the color correction strategy.
The first, second and third existing technologies lack monitoring means for the illumination conditions of the surrounding environment of the display screen, do not analyze the illumination conditions, and realize the technical means of matching the colors with the illumination conditions, so that the experience of users is reduced, the energy consumption is increased, and the service life of the display screen is shortened. Therefore, the invention provides the LED display screen color adjusting system and the LED display screen color adjusting method based on ambient light perception, and color parameters matched with the illumination conditions are obtained by sensing the illumination conditions, so that the automatic adjustment of the color parameters of the LED display screen is realized, and the user experience is greatly improved.
Disclosure of Invention
In order to solve the technical problems, the invention provides an LED display screen color adjusting system based on ambient light perception, comprising:
the signal acquisition module is responsible for detecting the light intensity of the surrounding environment of the display screen through the light perception sensor to obtain an analog signal of the light intensity, and converting the analog signal into a digital signal through the analog-to-digital converter to obtain a light intensity value corresponding to the analog signal;
The color matching module is in charge of calculating brightness values of three basic colors of red, green and blue matched with the light intensity values according to a preset color adjustment strategy based on the light intensity values;
And the illumination feedback module is responsible for detecting the light intensity of the surrounding environment again in real time according to the light intensity acquisition period and adjusting according to the new light intensity value.
Optionally, the signal acquisition module includes:
The state judging sub-module is in charge of acquiring a functional program of calling the analog signal by the analog-to-digital converter, sending out an instruction for establishing normal communication with the optical sensing sensor, judging whether the communication state is normal, if so, calling the analog signal acquired by the optical sensor by the functional program, and if not, sending out a warning;
The trigger execution sub-module is in charge of starting the light perception sensor to acquire the light intensity of the surrounding environment of the display screen according to a set acquisition period, obtaining a plurality of light intensity analog signals in the same acquisition period, judging whether the plurality of light intensity analog signals can trigger a color adjustment strategy, screening out more than 70% of analog signals and sending the analog signals into the analog-to-digital converter when more than 70% of the plurality of analog signals can trigger the color adjustment strategy, and otherwise, starting the light perception sensor to acquire the light intensity of the surrounding environment of the display screen in the next acquisition period;
The signal sequencing sub-module is responsible for receiving the screened analog signals, sequencing the analog signals from the maximum value to the minimum value according to the amplitude of the analog signals, screening 2/3 of the analog signals from the sequenced analog signals, and converting the analog signals into corresponding light intensity values through the analog-to-digital converter.
Optionally, the color matching module includes:
The map construction submodule is responsible for constructing a knowledge map of the light intensity value and the basic color value, training parameters of a loss function item by the knowledge map, constructing and completing path excavation in the knowledge map, and thus completing an alignment task of the light intensity value and the basic color value;
The numerical value acquisition sub-module is responsible for acquiring a light intensity numerical value, inputting the light intensity numerical value into a color adjustment strategy, and searching for a brightness value aligned with the light intensity numerical value through path mining of the constructed knowledge graph;
and the matching execution sub-module is responsible for replacing the value of the basic color in the original brightness value with the value of the basic color in the brightness value to obtain a display screen matching image corresponding to the brightness value.
Optionally, the map construction submodule includes:
The first construction unit is responsible for mapping the light intensity value and the basic color value in the knowledge graph to a vector space, obtaining the light intensity value and the basic color value, obtaining a corresponding vector of the intermediate relation between the light intensity value and the basic color value, and constructing a first loss function item of the internal structure information of the knowledge graph;
The second construction unit is responsible for acquiring a loss function item corresponding to the aligned light intensity value in the knowledge graph by utilizing a linear mapping function, measuring the alignment degree of the two knowledge graphs by calculating the distance between the light intensity values of the two knowledge graphs and the known alignment relation in the basic color values, and calculating a second loss function item corresponding to the aligned light intensity value in the knowledge graph;
And the third construction unit is responsible for acquiring a third loss function item of the corresponding internal relation of the knowledge graph by using the alignment nodes and the intermediate relation, and combining the first loss function item, the second loss function item and the third loss function item to obtain the integral loss function of the knowledge graph.
Optionally, the third building unit comprises:
The coefficient definition subunit is responsible for defining a weight coefficient of each loss function item, wherein the larger the weight coefficient is, the higher the importance of the corresponding loss function item is, and the corresponding loss value is calculated for each loss function item;
The weighted summation subunit is responsible for multiplying the loss value of each loss function term with the corresponding weight coefficient to obtain a weighted loss term value;
and the term value adding subunit is responsible for adding the weighted loss term values to obtain an integral loss function, and the integral loss function reflects the comprehensive influence of each loss function term.
Optionally, the numerical value obtaining sub-module includes:
The path confirming unit is responsible for confirming a starting point and an end point of path excavation, wherein the starting point is a light intensity value node, and the end point is a brightness value node;
The searching execution unit is in charge of judging whether an end point is reached or not in the searching process, if the current node is a brightness value node, finding a path from the light intensity value to the brightness value, recording the traversed path, storing path information by using a list, and if the unexplored node is still present, continuing searching according to a searching strategy until all paths are found or the end condition is reached;
and a result output unit for outputting a found path as a result when the search is completed, the path describing an alignment relationship between the light intensity value and the luminance value.
Optionally, the path confirmation unit includes:
A node marking subunit, responsible for marking as accessed, starting from the light intensity value node;
A node selection subunit, which is responsible for selecting a node adjacent to the non-accessed node as a next node to be explored, if the non-accessed node exists, going to the node and marking the node as accessed, and then recursively carrying out depth-first search;
The node traverses the subunit, and is responsible for repeatedly accessing the nodes which are not accessed until the brightness value node is found or all possible paths are traversed.
Optionally, the matching execution sub-module includes:
the matching execution unit is in charge of acquiring a corresponding basic color value according to the brightness value aligned with the light intensity value found by path mining;
A value removing unit for removing the value of each pixel of the brightness value from the brightness value according to the matched color value by traversing the pixel of the brightness value for each basic color, and replacing the value with the value of the matched basic color;
The image generation unit is in charge of obtaining a display screen matching image corresponding to the matched brightness value after completing the replacement operation, wherein the display screen matching image keeps the structure of the original brightness value, but the color information is adjusted according to the result of path mining, so that the color matching target is realized.
Optionally, the illumination feedback module includes:
The period confirmation sub-module is in charge of acquiring the previous acquisition period and acquiring the next acquisition period at the same time, and starting the light perception sensor to acquire the light intensity of the surrounding environment of the display screen when the next acquisition period arrives;
The intensity comparison sub-module is responsible for comparing the new light intensity with the light intensity of the previous acquisition period, and when the comparison result exceeds the acquisition threshold value, starting a processing program of an analog signal of the light intensity, otherwise, continuing to wait for the arrival of the next acquisition period;
and the adjusting execution sub-module is responsible for starting a processing program of the analog signal of the light intensity, processing the analog signal and adjusting the color of the display screen according to the processing result.
The invention provides a color adjustment method of an LED display screen based on ambient light perception, which comprises the following steps:
Detecting the light intensity of the surrounding environment of the display screen through a light perception sensor to obtain an analog signal of the light intensity, and converting the analog signal into a digital signal through an analog-to-digital converter to obtain a light intensity value corresponding to the analog signal;
Calculating brightness values of three basic colors of red, green and blue matched with the light intensity values according to a preset color adjustment strategy based on the light intensity values;
And re-detecting the light intensity of the surrounding environment in real time according to the light intensity acquisition period, and adjusting according to the new light intensity value.
The signal acquisition module of the invention converts the ambient light intensity into a processable digital signal for subsequent processing and control. The color matching module dynamically adjusts the color of the display screen according to the ambient light intensity so as to adapt to different illumination conditions, and provides more accurate and real color expression so that the display content is more clearly visible in different environments. The illumination feedback module continuously monitors the change of the ambient illumination, timely adjusts the color of the display screen to maintain the optimal visual effect, automatically adjusts the display screen when the ambient illumination changes, provides consistent color expression, and reduces the operation and the intervention of a user.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a block diagram of an LED display screen color adjustment system based on ambient light perception in embodiment 1 of the present invention;
FIG. 2 is a block diagram of a signal acquisition module in embodiment 2 of the present invention;
FIG. 3 is a block diagram of a color matching module in embodiment 3 of the present invention;
FIG. 4 is a block diagram of a map building sub-module in example 4 of the present invention;
FIG. 5 is a block diagram of a third construction unit in embodiment 5 of the present invention;
FIG. 6 is a block diagram of a numerical acquisition submodule in embodiment 6 of the present invention;
fig. 7 is a block diagram of a path confirmation unit in embodiment 7 of the present invention;
FIG. 8 is a block diagram of a matching execution submodule in embodiment 8 of the present invention;
FIG. 9 is a block diagram of an illumination feedback module in embodiment 9 of the present invention;
Fig. 10 is a flowchart of a method for adjusting color of an LED display screen based on ambient light sensing in embodiment 10 of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of embodiments of the application. As used in connection with embodiments of the application, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application as described in detail. In the description of the present application, it should be understood that the terms "first," "second," "third," and the like are used merely to distinguish between similar objects and are not necessarily used to describe a particular order or sequence, nor should they be construed to indicate or imply relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
Embodiment 1 As shown in FIG. 1, an embodiment of the present invention provides an LED display screen color adjustment system based on ambient light perception, comprising:
the signal acquisition module is responsible for detecting the light intensity of the surrounding environment of the display screen through the light perception sensor to obtain an analog signal of the light intensity, and converting the analog signal into a digital signal through the analog-to-digital converter to obtain a light intensity value corresponding to the analog signal;
The color matching module is in charge of calculating brightness values of three basic colors of red, green and blue matched with the light intensity values according to a preset color adjustment strategy based on the light intensity values;
And the illumination feedback module is responsible for detecting the light intensity of the surrounding environment again in real time according to the light intensity acquisition period and adjusting according to the new light intensity value.
The technical scheme has the working principle and beneficial effects that the signal acquisition module of the embodiment detects the light intensity of the surrounding environment of the display screen through the light perception sensor to obtain an analog signal of the light intensity, the analog signal is converted into a digital signal through the analog-to-digital converter to obtain a light intensity value corresponding to the analog signal, the color matching module calculates the brightness values of three basic colors of red, green and blue matched with the light intensity value according to a preset color adjustment strategy based on the light intensity value, the colors in the display screen are adjusted according to the brightness value, and the illumination feedback module re-detects the light intensity of the surrounding environment in real time according to the light intensity acquisition period and adjusts according to the new light intensity value. The signal acquisition module of the scheme converts the ambient light intensity into a processable digital signal for subsequent processing and control. The color matching module dynamically adjusts the color of the display screen according to the ambient light intensity so as to adapt to different illumination conditions, and provides more accurate and real color expression so that the display content is more clearly visible in different environments. The illumination feedback module continuously monitors the change of the ambient illumination, timely adjusts the color of the display screen to maintain the optimal visual effect, automatically adjusts the display screen when the ambient illumination changes, provides consistent color expression, and reduces the operation and the intervention of a user.
In summary, the LED display screen color adjustment system based on ambient light perception realizes the dynamic adjustment of the color of the display screen according to the illumination conditions of different environments by collecting the ambient light intensity, matching the color and real-time feedback adjustment, can provide more accurate and real color expression, enhance the viewing experience, reduce the operation and the intervention of users and maintain the consistent visual effect. The LED display screen can realize color adjustment based on ambient light perception, so that the display effect is more adaptive and optimized under different illumination conditions, better visual experience can be provided, eye fatigue is reduced, and clear visibility of display content is ensured.
Embodiment 2 As shown in FIG. 2, on the basis of embodiment 1, the signal acquisition module provided in the embodiment of the present invention includes:
The state judging sub-module is in charge of acquiring a functional program of calling the analog signal by the analog-to-digital converter, sending out an instruction for establishing normal communication with the optical sensing sensor, judging whether the communication state is normal, if so, calling the analog signal acquired by the optical sensor by the functional program, and if not, sending out a warning;
The trigger execution sub-module is in charge of starting the light perception sensor to acquire the light intensity of the surrounding environment of the display screen according to a set acquisition period, obtaining a plurality of light intensity analog signals in the same acquisition period, judging whether the plurality of light intensity analog signals can trigger a color adjustment strategy, screening out more than 70% of analog signals and sending the analog signals into the analog-to-digital converter when more than 70% of the plurality of analog signals can trigger the color adjustment strategy, and otherwise, starting the light perception sensor to acquire the light intensity of the surrounding environment of the display screen in the next acquisition period;
The signal sequencing sub-module is responsible for receiving the screened analog signals, sequencing the analog signals from the maximum value to the minimum value according to the amplitude of the analog signals, screening 2/3 of the analog signals from the sequenced analog signals, and converting the analog signals into corresponding light intensity values through the analog-to-digital converter.
The working principle and the beneficial effects of the technical scheme are that the state judging submodule acquires a functional program of calling analog signals by the analog-to-digital converter, simultaneously sends out an instruction for establishing normal communication with the light sensing sensor, judges whether the communication state is normal, and if so, calls the analog signals acquired by the light sensing sensor by the functional program, if not, gives out a warning, triggers the executing submodule to acquire the light intensity of the surrounding environment of the display screen according to a set acquisition period, acquires a plurality of light intensity analog signals in the same acquisition period, judges whether the plurality of light intensity analog signals can trigger a color adjustment strategy, screens out more than 70% of the analog signals when more than 70% of the plurality of analog signals can trigger the color adjustment strategy, otherwise, starts the light sensing sensor to acquire the light intensity of the surrounding environment of the display screen in the next acquisition period, and the signal sequencing submodule receives the screened analog signals, sequences the analog signals from the maximum value to the minimum value according to the amplitude of the analog signals, screens out 2/3 analog signals from the sequenced analog signals, and converts the analog signals into corresponding light intensity values by the analog-to the analog signals. The state judging submodule of the scheme ensures normal communication between the light perception sensor and the analog-to-digital converter by judging the communication state so as to ensure the accuracy and reliability of subsequent acquisition and processing. The trigger execution submodule determines whether to adopt a color adjustment strategy by judging trigger conditions in the plurality of analog signals, judges whether to need color adjustment according to the plurality of light intensity analog signals in the acquisition period, and can flexibly determine whether to carry out color adjustment according to the actual environment illumination condition by the processing of the trigger execution submodule so as to provide more accurate and adaptive color expression. The signal sequencing sub-module converts the analog signals into corresponding light intensity values through the analog-to-digital converter, sequences and converts the screened analog signals to obtain the corresponding light intensity values, and the light intensities can be sequenced and sorted through the processing of the signal sequencing sub-module, so that more orderly and accurate data are provided for subsequent color adjustment, and the accuracy and stability of the color adjustment are improved.
In summary, the specific processing of the state judging sub-module, the triggering executing sub-module and the signal sorting sub-module in the signal collecting module in this embodiment can provide accurate, reliable and ordered light intensity values by judging the communication state, triggering collection and screening, sorting and converting the analog signals, and provide basic data for subsequent color adjustment, so as to realize more accurate and realistic color expression.
Embodiment 3 As shown in FIG. 3, on the basis of embodiment 1, the color matching module provided in the embodiment of the present invention includes:
The map construction submodule is responsible for constructing a knowledge map of the light intensity value and the basic color value, training parameters of a loss function item by the knowledge map, constructing and completing path excavation in the knowledge map, and thus completing an alignment task of the light intensity value and the basic color value;
The numerical value acquisition sub-module is responsible for acquiring a light intensity numerical value, inputting the light intensity numerical value into a color adjustment strategy, and searching for a brightness value aligned with the light intensity numerical value through path mining of the constructed knowledge graph;
and the matching execution sub-module is responsible for replacing the value of the basic color in the original brightness value with the value of the basic color in the brightness value to obtain a display screen matching image corresponding to the brightness value.
The technical scheme has the working principle and beneficial effects that the map construction submodule constructs a knowledge map of light intensity values and basic color values, the knowledge map utilizes a loss function to train parameters of a loss function item, path excavation in the knowledge map is constructed and completed, so that an alignment task of the light intensity values and the basic color values is completed, the value acquisition submodule acquires the light intensity values and inputs the light intensity values into a color adjustment strategy, a brightness value aligned with the light intensity values is found through path excavation of the constructed knowledge map, and the matching execution submodule replaces the basic color values in the brightness values with the basic color values in the original brightness values to obtain a display screen matching image corresponding to the brightness values. The map construction submodule of the scheme can establish the alignment relation between the light intensity value and the basic color value by constructing the knowledge map, can provide accurate path excavation, and provides a basis for subsequent color adjustment, thereby realizing more accurate and accurate color matching. The value acquisition submodule accurately finds out the brightness value corresponding to the light intensity value according to the light intensity value acquired in real time, and provides the accurate brightness value for subsequent color adjustment, so that accurate color matching and adjustment are realized. The matching execution submodule realizes the image matched with the display screen according to the replacement of the basic color value in the brightness value, adjusts the brightness of the color in the display screen according to a preset color adjustment strategy, achieves the required color effect and provides more accurate and vivid visual expression.
In summary, the specific processing of the map construction sub-module, the numerical value acquisition sub-module and the matching execution sub-module in the color matching module in this embodiment can realize the alignment and matching of the light intensity numerical value and the basic color numerical value by constructing the knowledge map, path mining and numerical value replacement, thereby providing accurate brightness value and matching image for color adjustment and realizing more accurate and realistic color expression.
Example 4 as shown in fig. 4, the map construction sub-module according to the embodiment of the present invention, based on example 3, comprises:
The first construction unit is responsible for mapping the light intensity value and the basic color value in the knowledge graph to a vector space, obtaining the light intensity value and the basic color value, obtaining a corresponding vector of the intermediate relation between the light intensity value and the basic color value, and constructing a first loss function item of the internal structure information of the knowledge graph;
The second construction unit is responsible for acquiring a loss function item corresponding to the aligned light intensity value in the knowledge graph by utilizing a linear mapping function, measuring the alignment degree of the two knowledge graphs by calculating the distance between the light intensity values of the two knowledge graphs and the known alignment relation in the basic color values, and calculating a second loss function item corresponding to the aligned light intensity value in the knowledge graph;
And the third construction unit is responsible for acquiring a third loss function item of the corresponding internal relation of the knowledge graph by using the alignment nodes and the intermediate relation, and combining the first loss function item, the second loss function item and the third loss function item to obtain the integral loss function of the knowledge graph.
The technical scheme has the working principle and beneficial effects that a first construction unit maps light intensity values and basic color values in a knowledge graph to a vector space, obtains corresponding vectors of intermediate relations between the light intensity values and the basic color values, constructs a first loss function item of internal structure information of the knowledge graph, a second construction unit obtains loss function items corresponding to aligned light intensity values in the knowledge graph by using a linear mapping function, measures the alignment degree of two knowledge graphs by calculating the distance between the light intensity values of the two knowledge graphs and known aligned relations in the basic color values, calculates a second loss function item corresponding to the aligned light intensity values in the knowledge graph, and a third construction unit obtains a third loss function item of the corresponding internal relation of the knowledge graph by using an alignment node and the intermediate relation, and combines the first loss function item, the second loss function item and the third loss function item to obtain the integral loss function of the knowledge graph. The first construction unit of the scheme can calculate and compare the light intensity value and the basic color value in the vector space by mapping the light intensity value and the basic color value into the vector space, and acquire the internal relation between the light intensity value and the basic color value to provide a basis for subsequent map construction. The second construction list can acquire a loss function item corresponding to the aligned light intensity value in the knowledge maps through a linear mapping function, and the alignment degree between the two knowledge maps can be measured through calculating the distance, so that the accuracy and consistency of the maps are evaluated. The third construction unit can comprehensively consider the accuracy and the consistency of the alignment nodes and the intermediate relations by acquiring the loss function items of the corresponding internal relations of the knowledge spectrums, and can acquire more comprehensive and accurate knowledge spectrum loss functions by combining the first, second and third loss function items so as to provide guidance for subsequent training and optimization.
The first loss function term is used for obtaining corresponding vectors of the light intensity values and the basic color values in the knowledge graph by mapping the light intensity values and the basic color values to a vector space, and calculating differences among the vectors. Specifically, the first loss function term measures the degree of alignment of the intermediate relationship between the light intensity values and the basic color values in the knowledge-graph. And the second loss function term is used for mapping the aligned light intensity values in the knowledge maps to the target knowledge maps by utilizing a linear mapping function and calculating the distance between the light intensity values which are known to be aligned in the two knowledge maps. The second loss function term measures the degree of alignment between the two knowledge-maps in terms of light intensity values. And the third loss function term is used for acquiring corresponding internal relations of the knowledge graph through aligning the nodes and the intermediate relations and calculating the difference between the relations. The third loss function term measures the consistency of the alignment degree and the relation between the nodes in the knowledge graph. The three loss function items respectively measure the alignment degree and consistency of different aspects in the knowledge graph. By combining these loss function terms, an overall knowledge-graph loss function can be obtained.
In summary, the first, second and third building units in the graph spectrum building sub-module of the embodiment are respectively responsible for mapping the light intensity value and the basic color value to the vector space, obtaining the loss function item corresponding to the aligned light intensity value and obtaining the loss function item of the corresponding internal relation of the knowledge graph, and through cooperation of the units, an accurate and consistent knowledge graph can be built and guidance is provided for subsequent training and optimization, so that the alignment task of the light intensity value and the basic color value is realized.
Embodiment 5 As shown in FIG. 5, on the basis of embodiment 4, the third construction unit provided in the embodiment of the present invention includes:
The coefficient definition subunit is responsible for defining a weight coefficient of each loss function item, wherein the larger the weight coefficient is, the higher the importance of the corresponding loss function item is, and the corresponding loss value is calculated for each loss function item;
The weighted summation subunit is responsible for multiplying the loss value of each loss function term with the corresponding weight coefficient to obtain a weighted loss term value;
and the term value adding subunit is responsible for adding the weighted loss term values to obtain an integral loss function, and the integral loss function reflects the comprehensive influence of each loss function term.
The working principle and the beneficial effects of the technical scheme are that the coefficient definition subunit of the embodiment defines the weight coefficient of each loss function item, the larger the weight coefficient is, the higher the importance of the corresponding loss function item is, the corresponding loss value is calculated for each loss function item, the loss value is obtained through the output or the intermediate result of each construction unit, the weighted summation subunit multiplies the loss value of each loss function item by the corresponding weight coefficient to obtain a weighted loss item value, and the item value addition subunit adds the weighted loss item values to obtain an overall loss function, wherein the overall loss function reflects the comprehensive influence of each loss function item. The coefficient definition subunit of the scheme can flexibly adjust the importance of different loss function items by defining the weight coefficient, so that the relative importance of each loss function item can be reflected in the overall loss function more accurately, the training and optimizing process calculation loss value subunit of the model can be guided better according to the requirement and the optimizing target of the problem, the specific numerical value of each loss function item in the current model can be obtained by calculating the loss value, and the loss value can be used for subsequent weighted summation and calculation of the overall loss function. The weighted summation subunit can adjust the importance of each loss function item according to the weight coefficient, further synthesize the contribution of each loss function item to obtain the synthesized loss function item, and can more accurately reflect the influence degree of each loss function item on the model and guide the training and optimization of the model. The term value adding subunit sums the weighted loss term values into an integral loss function by term value addition, and the function can comprehensively consider the contribution of each loss function term to provide a unified objective function for training and optimizing the model.
Embodiment 6 as shown in fig. 6, on the basis of embodiment 3, the numerical value obtaining sub-module provided in the embodiment of the present invention includes:
The path confirming unit is responsible for confirming a starting point and an end point of path excavation, wherein the starting point is a light intensity value node, and the end point is a brightness value node;
The searching execution unit is in charge of judging whether an end point is reached or not in the searching process, if the current node is a brightness value node, finding a path from the light intensity value to the brightness value, recording the traversed path, storing path information by using a list, and if the unexplored node is still present, continuing searching according to a searching strategy until all paths are found or the end condition is reached;
and a result output unit for outputting a found path as a result when the search is completed, the path describing an alignment relationship between the light intensity value and the luminance value.
The technical scheme has the advantages that the path confirming unit of the embodiment confirms a starting point and an end point of path mining, the starting point is a light intensity value node, the end point is a brightness value node, depth-first searching is adopted to start from the starting point, path searching is conducted according to a searching strategy, in each step, the next node to be searched is selected according to the current node and the traversed path, the searching executing unit judges whether the end point is reached in the searching process, if the current node is the brightness value node, a path from the light intensity value to the brightness value is found, the traversed path is recorded, path information is stored by using a list, if the unexplored node is still found, searching is continued according to the searching strategy until all paths are found or the end condition is reached, and the result output unit outputs the found path as a result after the searching is finished, and the path describes the alignment relation between the light intensity value and the brightness value. The path confirming unit of the scheme ensures that the path mining starts from a correct starting point and ends at a correct end point, and simultaneously selects a proper searching strategy according to the problem demand, thereby ensuring the accuracy and the efficiency of the path mining. The search execution unit monitors the progress of path mining in real time in the search process, ensures that paths reaching the destination are found and recorded in time, and simultaneously continues to explore according to a specified search strategy, thereby ensuring the comprehensiveness and the high efficiency of the search. The result output unit provides a final path result, correlates the light intensity value with the corresponding brightness value, provides accurate matching information for the subsequent color matching task, and ensures the reliability and practicability of the matching result.
In summary, each unit of the embodiment is to ensure that the whole value acquisition sub-module can smoothly complete the alignment task between the light intensity value and the basic color value, and the sub-module can provide the accurate correspondence between the light intensity and the color for the color matching module by accurately determining the path, effectively executing the search and accurately outputting the result, thereby realizing the color matching goal. Through the process, the path mining can be carried out from the knowledge graph to find the brightness value aligned with the light intensity value, and the path mining can be adjusted and optimized according to specific search strategies and problem requirements so as to obtain more accurate path results.
Embodiment 7 as shown in fig. 7, on the basis of embodiment 6, the path confirmation unit provided in the embodiment of the present invention includes:
A node marking subunit, responsible for marking as accessed, starting from the light intensity value node;
A node selection subunit, which is responsible for selecting a node adjacent to the non-accessed node as a next node to be explored, if the non-accessed node exists, going to the node and marking the node as accessed, and then recursively carrying out depth-first search;
The node traverses the subunit, and is responsible for repeatedly accessing the nodes which are not accessed until the brightness value node is found or all possible paths are traversed.
The technical scheme has the working principle and beneficial effects that the node marking subunit starts from the light intensity value node and marks the accessed node, the node selecting subunit selects a node adjacent to the node which is not accessed as the next node to be explored, if the node adjacent to the node which is not accessed exists, the node is forwarded to the node and marked as the accessed node, then the depth-first search is recursively carried out, if all the adjacent nodes are accessed, the node is traced back to the previous node, the next node which is not accessed is continuously selected for exploration, and the node traversing subunit repeatedly accesses the node which is not accessed until the brightness value node is found or all possible paths are traversed. The node marking subunit of the scheme ensures that each node is accessed only once, avoids repeated exploration, and simultaneously records the accessed nodes so as to judge and trace back in the subsequent searching process. The node selection subunit selects proper nodes to continue to explore according to the depth-first search strategy, ensures the comprehensiveness and depth of path mining, marks the accessed nodes and avoids repeated access. The node traversing subunit ensures the comprehensiveness of searching by continuously traversing the nodes, ensures that the brightness value nodes aligned with the light intensity values are found, and judges and backtracks in the traversing process so as to find all possible paths.
In summary, the technical effects and significance of the subunits in this embodiment are to ensure that the path confirmation unit can perform path exploration according to the depth-first search strategy to find the brightness value node aligned to the light intensity value, and the combination of node marking, node selection and node traversal can ensure the accuracy and efficiency of the search, and provide accurate path information for the subsequent result output unit.
Embodiment 8 As shown in FIG. 8, on the basis of embodiment 3, the matching execution sub-module provided in the embodiment of the present invention includes:
the matching execution unit is in charge of acquiring a corresponding basic color value according to the brightness value aligned with the light intensity value found by path mining;
A value removing unit for removing the value of each pixel of the brightness value from the brightness value according to the matched color value by traversing the pixel of the brightness value for each basic color, and replacing the value with the value of the matched basic color;
The image generation unit is in charge of obtaining a display screen matching image corresponding to the matched brightness value after completing the replacement operation, wherein the display screen matching image keeps the structure of the original brightness value, but the color information is adjusted according to the result of path mining, so that the color matching target is realized.
The matching execution unit of the technical scheme has the advantages that the matching execution unit can align the light intensity value with the basic color value, and accurate matching information is provided for subsequent value removal and image generation. The value removing unit applies the value of the matched basic color to the brightness value to realize color matching. Through the removing and replacing operations, the color information in the luminance value can be updated to correspond to the matched basic color value. The image generation unit obtains a final display screen matching image which is capable of displaying the basic color values aligned with the light intensity values, which is crucial for the color matching task, as it ensures that the colors on the display screen match the input light intensity values, providing an accurate color presentation.
In summary, the combination of the matching execution unit, the value removal unit and the image generation unit in the embodiment can achieve the aim of replacing the value of the basic color in the original brightness value with the value of the basic color in the brightness value, and provide a visualized matching image, display accurate color information aligned with the light intensity value, and provide accurate results for color matching and display tasks.
Embodiment 9 As shown in FIG. 9, on the basis of embodiment 1, the illumination feedback module provided by the embodiment of the invention comprises:
The period confirmation sub-module is in charge of acquiring the previous acquisition period and acquiring the next acquisition period at the same time, and starting the light perception sensor to acquire the light intensity of the surrounding environment of the display screen when the next acquisition period arrives;
The intensity comparison sub-module is responsible for comparing the new light intensity with the light intensity of the previous acquisition period, and when the comparison result exceeds the acquisition threshold value, starting a processing program of an analog signal of the light intensity, otherwise, continuing to wait for the arrival of the next acquisition period;
and the adjusting execution sub-module is responsible for starting a processing program of the analog signal of the light intensity, processing the analog signal and adjusting the color of the display screen according to the processing result.
The working principle and the beneficial effects of the technical scheme are that the period confirmation submodule of the embodiment acquires the previous acquisition period and acquires the next acquisition period at the same time, the light perception sensor is started to acquire the light intensity of the surrounding environment of the display screen when the next acquisition period arrives, the intensity comparison submodule compares the new light intensity with the light intensity of the previous acquisition period, when the comparison result exceeds the acquisition threshold value, the processing program of the analog signal of the light intensity is started, otherwise, the arrival of the next acquisition period is continued to be waited, the execution submodule is regulated to start the processing program of the analog signal of the light intensity, the processing of the analog signal is carried out, and the color adjustment of the display screen is carried out according to the processing result. The period confirmation submodule of the scheme ensures that the collection of the light intensity is carried out according to a preset period so as to maintain the accuracy and stability of light intensity detection. The intensity comparison sub-module is used for judging the change condition of the ambient light intensity, if the change exceeds a threshold value, starting a processing program of an analog signal of the light intensity to perform illumination adjustment, otherwise, continuing to wait for the arrival of the next acquisition period so as to avoid frequent adjustment operation. The adjusting execution submodule carries out actual color adjustment operation according to the change condition of the light intensity, and adjusts the brightness and the color of the display screen by processing the analog signal of the light intensity so as to keep matching with the ambient light, thereby providing the best visual effect.
In summary, according to the embodiment, through the combination of the period confirmation sub-module, the intensity comparison sub-module and the adjustment execution sub-module, the illumination feedback module can acquire the change of the ambient light intensity in real time and perform corresponding color adjustment according to the change condition, so that the LED display screen can be ensured to always display the color matched with the ambient light intensity, and better visual experience is provided. Meanwhile, through a reasonable adjusting strategy, energy sources can be saved, and the service life of the display screen can be prolonged. The LED display screen can be used for detecting the light intensity of the surrounding environment again in real time and adjusting according to the new light intensity value, so that the color of the LED display screen can be always matched with the ambient light, and the best visual effect is provided.
Embodiment 10 As shown in FIG. 10, on the basis of embodiment 1-embodiment 9, the color adjustment method for the LED display screen based on ambient light perception provided by the embodiment of the invention comprises the following steps:
S100, detecting the light intensity of the surrounding environment of the display screen through a light perception sensor to obtain an analog signal of the light intensity, and converting the analog signal into a digital signal through an analog-to-digital converter to obtain a light intensity value corresponding to the analog signal;
S200, calculating brightness values of three basic colors of red, green and blue matched with the light intensity values according to a preset color adjustment strategy based on the light intensity values;
S300, detecting the light intensity of the surrounding environment again in real time according to the light intensity acquisition period, and adjusting according to the new light intensity value.
The working principle and the beneficial effects of the technical scheme are that the light intensity sensor is used for detecting the light intensity of the surrounding environment of the display screen to obtain the analog signal of the light intensity, the analog signal is converted into the digital signal through the analog-to-digital converter to obtain the light intensity value corresponding to the analog signal, the brightness value of the three basic colors of red, green and blue, which are matched with the light intensity value, is calculated according to a preset color adjustment strategy based on the light intensity value, the color in the display screen is adjusted according to the brightness value, and finally the light intensity of the surrounding environment is re-detected in real time according to the light intensity acquisition period and is adjusted according to the new light intensity value. The step S100 of the scheme obtains the light intensity information of the environment and provides basic data for subsequent color adjustment, and by obtaining accurate light intensity values, reasonable color adjustment can be performed according to the ambient lighting conditions and better visual effect is provided. And step S200, performing color matching and adjustment according to the light intensity value to enable the color of the display screen to be matched with the ambient light, and accurately representing the color by accurately calculating and adjusting the brightness value to provide more real, vivid and comfortable visual experience. Step S300 adjusts the color of the display screen in real time according to the change of the ambient light, and can ensure that the color of the display screen is kept matched with the change of the ambient light by periodically re-detecting the light intensity and adjusting the light intensity in time, thereby providing the best visual effect and comfort.
In summary, according to the embodiment, through the combination of the above steps, the color adjustment method of the LED display screen based on ambient light perception can adjust the color of the display screen in real time according to the change of ambient light, so that the color of the display screen is kept matched with the surrounding environment. Therefore, more accurate, real and comfortable color display can be provided, and the visual experience of a user is improved. Meanwhile, through reasonable color adjustment, energy sources can be saved, and the service life of the display screen can be prolonged.
Embodiment 11 the process for obtaining the light intensity value provided in the embodiment of the present invention on the basis of embodiment 10 comprises the following steps:
S101, acquiring a functional program of the analog-to-digital converter for calling an analog signal, simultaneously sending out an instruction for establishing normal communication with the optical sensing sensor, judging whether the communication state is normal, if so, calling the analog signal acquired by the optical sensing sensor through the functional program, and if not, sending out a warning;
S102, according to a set acquisition period, starting a light perception sensor to acquire light intensity of the surrounding environment of a display screen, obtaining a plurality of light intensity analog signals in the same acquisition period, judging whether the plurality of light intensity analog signals can trigger a color adjustment strategy, screening out more than 70% of the analog signals and sending the analog signals into an analog-to-digital converter when more than 70% of the plurality of analog signals can trigger the color adjustment strategy, otherwise, starting the light perception sensor to acquire the light intensity of the surrounding environment of the display screen in the next acquisition period;
s103, receiving the screened analog signals, sorting the analog signals according to the amplitude of the analog signals from the maximum value to the minimum value, screening 2/3 of the analog signals from the sorted analog signals, and converting the analog signals into corresponding light intensity values through an analog-to-digital converter.
The technical scheme has the working principle and beneficial effects that the analog-to-digital converter firstly acquires a functional program for calling analog signals, simultaneously sends out an instruction for establishing normal communication with the optical sensing sensor, judges whether the communication state is normal, if so, the analog signals acquired by the optical sensing sensor which are called by the functional program are sent out, and give out warning, secondly starts the optical sensing sensor to acquire the light intensity of the surrounding environment of the display screen according to a set acquisition period, acquires the analog signals with a plurality of light intensities in the same acquisition period, judges whether the color adjustment strategy can be triggered or not, and screens out the analog signals with more than 70% when more than 70% of the analog signals can trigger the color adjustment strategy, and sends the analog signals into the analog-to-digital converter, otherwise, starts the optical sensing sensor to acquire the light intensity of the surrounding environment of the display screen in the next acquisition period, finally receives the screened analog signals, sorts the analog signals from the maximum value to the minimum value according to the amplitude of the analog signals, screens out the analog signals with 2/3 from the sorted analog signals, and converts the analog signals into corresponding light intensity values through the analog-to-digital converter. Step S101 of the scheme ensures normal communication with the light perception sensor to acquire a correct analog signal, and if the communication state is abnormal, the warning can remind system operation and maintenance personnel to maintain and adjust, so that the accurate acquisition of the light intensity value is ensured. Step S102, obtaining a plurality of light intensity analog signals and judging whether color adjustment is needed, and judging the number of the analog signals capable of triggering a color adjustment strategy to determine whether the color adjustment is needed, so that frequent adjustment operation is avoided, and the efficiency and the stability of the system are improved. Step S103, converting the screened analog signals into light intensity values, and sequencing and screening the analog signals to obtain more accurate light intensity values for subsequent color adjustment operation so as to ensure the accuracy and stability of color adjustment.
In summary, the present embodiment can ensure accurate acquisition of the light intensity value through the combination of the above steps. The accurate light intensity value can be used for carrying out color calculation and adjustment based on a preset color adjustment strategy, so that the color of the display screen is matched with the surrounding environment, more real, comfortable and high-quality visual experience can be provided, and energy sources can be saved and the service life of the display screen can be prolonged through reasonable color adjustment.
Embodiment 12 based on embodiment 10, the process for adjusting color in a display screen provided by the embodiment of the invention comprises the following steps:
S201, constructing a knowledge graph of light intensity values and basic color values, training parameters of a loss function item by using a loss function, and constructing and completing path mining in the knowledge graph so as to complete an alignment task of the light intensity values and the basic color values;
s202, acquiring a light intensity value, inputting the light intensity value into a color adjustment strategy, and searching a brightness value aligned with the light intensity value through path mining of a constructed knowledge graph;
and S203, replacing the value of the basic color in the original brightness value with the value of the basic color in the brightness value to obtain a display screen matching image corresponding to the brightness value.
The technical scheme has the working principle and beneficial effects that the method comprises the steps of firstly constructing a knowledge graph of light intensity values and basic color values, training parameters of a loss function item by the knowledge graph through a loss function, constructing and completing path excavation in the knowledge graph, so that an alignment task of the light intensity values and the basic color values is completed, secondly acquiring the light intensity values, inputting the light intensity values into a color adjustment strategy, searching for brightness values aligned with the light intensity values through path excavation of the constructed knowledge graph, and finally replacing the basic color values in the brightness values with the basic color values in the original brightness values to obtain a display screen matching image corresponding to the brightness values. In the scheme, the step S201 establishes the corresponding relation between the light intensity value and the basic color value, so that the system can accurately infer the corresponding basic color value according to the light intensity value, and the matching precision and accuracy of the light intensity value and the basic color value can be improved through training the loss function item parameter and the path mining. Step S202, finding the corresponding brightness value according to the light intensity value, and accurately deducing the brightness value matched with the light intensity value by the system through path mining to provide accurate basic data for subsequent color adjustment. Step S203 adjusts the color in the display screen according to the basic color value in the brightness value to make the color match the image with the display screen corresponding to the brightness value, and by replacing the basic color value in the brightness value, the accurate color adjustment can be realized to make the color of the display screen match with the ambient light intensity, thereby providing a more real, vivid and comfortable visual experience.
In summary, the embodiment can realize accurate adjustment of colors in the display screen through the combination of the steps, can establish a corresponding relation between the light intensity value and the basic color value through construction and training of a knowledge graph, can find a brightness value aligned with the light intensity value through path mining, can adjust the colors of the display screen according to the brightness value through color adjustment to enable the colors to be matched with the ambient light intensity, can provide more accurate, real and comfortable color display, and improves the visual experience of users. Meanwhile, through reasonable color adjustment, energy sources can be saved, and the service life of the display screen can be prolonged.
Embodiment 13. Based on embodiment 10, the process of re-detecting the light intensity of the surrounding environment in real time provided in the embodiment of the present invention comprises the following steps:
s301, acquiring a previous acquisition period, simultaneously acquiring a next acquisition period, and starting a light perception sensor to acquire the light intensity of the surrounding environment of the display screen when the next acquisition period arrives;
S302, comparing the new light intensity with the light intensity of the previous acquisition period, and starting a processing program of an analog signal of the light intensity when the comparison result exceeds an acquisition threshold value, otherwise, continuing to wait for the arrival of the next acquisition period;
s303, processing the analog signals of the dynamic light intensity by a processing program of the analog signals, and adjusting the color of the display screen according to the processing result.
The working principle and the beneficial effects of the technical scheme are that the working principle and the beneficial effects are that the previous acquisition period is firstly obtained, the next acquisition period is obtained, the light intensity of the surrounding environment of the display screen is started when the next acquisition period arrives, the light perception sensor is started to acquire the light intensity of the surrounding environment of the display screen, then the new light intensity is compared with the light intensity of the previous acquisition period, when the comparison result exceeds the acquisition threshold value, the processing program of the analog signal of the light intensity is started, otherwise, the arrival of the next acquisition period is continued to wait, and finally the processing program of the analog signal of the light intensity is started to process the analog signal, and the color adjustment of the display screen is performed according to the processing result. Step S301 of the above scheme ensures that the acquisition of the light intensity is performed according to a preset period to maintain the accuracy and stability of the light intensity detection, and ensures the timeliness and reliability of the environmental light intensity data by starting the acquisition operation on time. And step S302, comparing the light intensity with a threshold value, judging the change condition of the light intensity used for detecting the environment, and starting a light intensity analog signal processing program when the change of the light intensity exceeds a preset threshold value so as to carry out corresponding color adjustment and keep the visual effect of the display screen stable. Step S303, the processing of the analog signal of the light intensity and the color adjustment are used for adjusting the color of the display screen in real time according to the change of the light intensity so as to keep the matching degree with the surrounding environment, and the optimal visual effect and comfort are provided by processing the analog signal and adjusting the color.
In summary, through the combination of the above steps, the embodiment realizes the real-time detection and adjustment of the ambient light intensity, thereby ensuring the accuracy and stability of the display screen color and improving the visual experience of the user. At the same time, a reasonable adjustment strategy is also helpful for saving energy and prolonging the service life of the display screen.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the equivalent technique of the present invention, the present invention is intended to include such modifications and variations as well.

Claims (9)

1. An LED display screen color adjustment system based on ambient light perception, comprising:
the signal acquisition module is responsible for detecting the light intensity of the surrounding environment of the display screen through the light perception sensor to obtain an analog signal of the light intensity, and converting the analog signal into a digital signal through the analog-to-digital converter to obtain a light intensity value corresponding to the analog signal;
The color matching module is in charge of calculating brightness values of three basic colors of red, green and blue matched with the light intensity values according to a preset color adjustment strategy based on the light intensity values;
the illumination feedback module is responsible for detecting the light intensity of the surrounding environment again in real time according to the light intensity acquisition period and adjusting according to the new light intensity value;
A color matching module, comprising:
The system comprises a map construction submodule, a value acquisition submodule, a color adjustment strategy and a color adjustment strategy, wherein the map construction submodule is used for constructing a knowledge map of light intensity values and basic color values, training parameters of a loss function term by using a loss function, constructing and completing path excavation in the knowledge map, thereby completing the alignment task of the light intensity values and the basic color values;
The matching execution sub-module is responsible for replacing the value of the basic color in the original brightness value with the value of the basic color in the brightness value to obtain a display screen matching image corresponding to the brightness value;
a value acquisition sub-module comprising:
The path confirming unit is responsible for confirming a starting point and an end point of path excavation, wherein the starting point is a light intensity value node, and the end point is a brightness value node;
The searching execution unit is responsible for judging whether the end point is reached in the searching process, if the current node is a brightness value node, finding a path from the light intensity value to the brightness value, recording the traversed path, storing path information by using a list, and if the unexplored node is still present, continuing searching according to the searching strategy until all paths are found or the end condition is reached.
2. The LED display screen color adjustment system based on ambient light perception of claim 1, wherein the signal acquisition module comprises:
The state judging sub-module is in charge of acquiring a functional program of calling the analog signal by the analog-to-digital converter, sending out an instruction for establishing normal communication with the optical sensing sensor, judging whether the communication state is normal, if so, calling the analog signal acquired by the optical sensor by the functional program, and if not, sending out a warning;
The trigger execution sub-module is in charge of starting the light perception sensor to acquire the light intensity of the surrounding environment of the display screen according to a set acquisition period, obtaining a plurality of light intensity analog signals in the same acquisition period, judging whether the plurality of light intensity analog signals can trigger a color adjustment strategy, screening out more than 70% of analog signals and sending the analog signals into the analog-to-digital converter when more than 70% of the plurality of analog signals can trigger the color adjustment strategy, and otherwise, starting the light perception sensor to acquire the light intensity of the surrounding environment of the display screen in the next acquisition period;
The signal sequencing sub-module is responsible for receiving the screened analog signals, sequencing the analog signals from the maximum value to the minimum value according to the amplitude of the analog signals, screening 2/3 of the analog signals from the sequenced analog signals, and converting the analog signals into corresponding light intensity values through the analog-to-digital converter.
3. The LED display screen color adjustment system based on ambient light perception of claim 1, wherein the map construction sub-module comprises:
The first construction unit is responsible for mapping the light intensity value and the basic color value in the knowledge graph to a vector space, obtaining the light intensity value and the basic color value, obtaining a corresponding vector of the intermediate relation between the light intensity value and the basic color value, and constructing a first loss function item of the internal structure information of the knowledge graph;
The second construction unit is responsible for acquiring a loss function item corresponding to the aligned light intensity value in the knowledge graph by utilizing a linear mapping function, measuring the alignment degree of the two knowledge graphs by calculating the distance between the light intensity values of the two knowledge graphs and the known alignment relation in the basic color values, and calculating a second loss function item corresponding to the aligned light intensity value in the knowledge graph;
And the third construction unit is responsible for acquiring a third loss function item of the corresponding internal relation of the knowledge graph by using the alignment nodes and the intermediate relation, and combining the first loss function item, the second loss function item and the third loss function item to obtain the integral loss function of the knowledge graph.
4. The LED display screen color adjustment system based on ambient light perception of claim 3, wherein the third building unit comprises:
The coefficient definition subunit is responsible for defining a weight coefficient of each loss function item, wherein the larger the weight coefficient is, the higher the importance of the corresponding loss function item is, and the corresponding loss value is calculated for each loss function item;
The weighted summation subunit is responsible for multiplying the loss value of each loss function term with the corresponding weight coefficient to obtain a weighted loss term value;
and the term value adding subunit is responsible for adding the weighted loss term values to obtain an integral loss function, and the integral loss function reflects the comprehensive influence of each loss function term.
5. The LED display screen color adjustment system based on ambient light perception of claim 1, wherein the value acquisition sub-module comprises:
and a result output unit for outputting a found path as a result when the search is completed, the path describing an alignment relationship between the light intensity value and the luminance value.
6. The LED display screen color adjustment system based on ambient light perception of claim 5, wherein the path verification unit comprises:
A node marking subunit, responsible for marking as accessed, starting from the light intensity value node;
A node selection subunit, which is responsible for selecting a node adjacent to the non-accessed node as a next node to be explored, if the non-accessed node exists, going to the node and marking the node as accessed, and then recursively carrying out depth-first search;
The node traverses the subunit, and is responsible for repeatedly accessing the nodes which are not accessed until the brightness value node is found or all possible paths are traversed.
7. The LED display screen color adjustment system based on ambient light perception of claim 1, wherein the matching execution sub-module comprises:
the matching execution unit is in charge of acquiring a corresponding basic color value according to the brightness value aligned with the light intensity value found by path mining;
A value removing unit for removing the value of each pixel of the brightness value from the brightness value according to the matched color value by traversing the pixel of the brightness value for each basic color, and replacing the value with the value of the matched basic color;
The image generation unit is in charge of obtaining a display screen matching image corresponding to the matched brightness value after completing the replacement operation, wherein the display screen matching image keeps the structure of the original brightness value, but the color information is adjusted according to the result of path mining, so that the color matching target is realized.
8. The LED display screen color adjustment system based on ambient light perception of claim 1, wherein the illumination feedback module comprises:
The period confirmation sub-module is in charge of acquiring the previous acquisition period and acquiring the next acquisition period at the same time, and starting the light perception sensor to acquire the light intensity of the surrounding environment of the display screen when the next acquisition period arrives;
The intensity comparison sub-module is responsible for comparing the new light intensity with the light intensity of the previous acquisition period, and when the comparison result exceeds the acquisition threshold value, starting a processing program of an analog signal of the light intensity, otherwise, continuing to wait for the arrival of the next acquisition period;
and the adjusting execution sub-module is responsible for starting a processing program of the analog signal of the light intensity, processing the analog signal and adjusting the color of the display screen according to the processing result.
9. The LED display screen color adjustment method based on ambient light perception is characterized by comprising the following steps of:
Detecting the light intensity of the surrounding environment of the display screen through a light perception sensor to obtain an analog signal of the light intensity, and converting the analog signal into a digital signal through an analog-to-digital converter to obtain a light intensity value corresponding to the analog signal;
Calculating brightness values of three basic colors of red, green and blue matched with the light intensity values according to a preset color adjustment strategy based on the light intensity values;
Re-detecting the light intensity of the surrounding environment in real time according to the light intensity acquisition period, and adjusting according to the new light intensity value;
A process for adjusting color in a display screen, comprising:
The map construction submodule is responsible for constructing a knowledge map of the light intensity value and the basic color value, the knowledge map trains parameters of a loss function item by using a loss function, and path excavation in the knowledge map is constructed and completed, so that the alignment task of the light intensity value and the basic color value is completed;
The numerical value acquisition sub-module is responsible for acquiring a light intensity numerical value, inputting the light intensity numerical value into a color adjustment strategy, and searching for a brightness value aligned with the light intensity numerical value through path mining of the constructed knowledge graph;
The matching execution sub-module is responsible for replacing the value of the basic color in the original brightness value with the value of the basic color in the brightness value to obtain a display screen matching image corresponding to the brightness value;
The path confirming unit is responsible for determining a starting point and an end point of path mining, wherein the starting point is a light intensity value node, and the end point is a brightness value node;
the searching execution unit is responsible for judging whether an end point is reached in the searching process, if the current node is a brightness value node, finding a path from the light intensity value to the brightness value, recording the traversed path, storing path information by using a list, and if the current node is not explored, continuing searching according to a searching strategy until all paths are found or the end condition is reached.
CN202510149727.4A 2025-02-11 2025-02-11 LED display screen color adjustment system and method based on ambient light perception Active CN119626149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510149727.4A CN119626149B (en) 2025-02-11 2025-02-11 LED display screen color adjustment system and method based on ambient light perception

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510149727.4A CN119626149B (en) 2025-02-11 2025-02-11 LED display screen color adjustment system and method based on ambient light perception

Publications (2)

Publication Number Publication Date
CN119626149A CN119626149A (en) 2025-03-14
CN119626149B true CN119626149B (en) 2025-06-24

Family

ID=94900515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510149727.4A Active CN119626149B (en) 2025-02-11 2025-02-11 LED display screen color adjustment system and method based on ambient light perception

Country Status (1)

Country Link
CN (1) CN119626149B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118981541A (en) * 2024-07-19 2024-11-19 浙江工业大学 A method for constructing a cross-modal knowledge graph of celadon based on a visual language model
CN119049408A (en) * 2024-10-22 2024-11-29 深圳市尊正科技有限公司 LED display screen color balance optimization method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030013522A1 (en) * 2001-07-10 2003-01-16 Muir David Hugh Automatic electronic display alignment
WO2018119161A1 (en) * 2016-12-22 2018-06-28 Dolby Laboratories Licensing Corporation Ambient light-adaptive display management
CN117520567B (en) * 2024-01-03 2024-04-02 卓世科技(海南)有限公司 Large language model training method based on knowledge graph

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118981541A (en) * 2024-07-19 2024-11-19 浙江工业大学 A method for constructing a cross-modal knowledge graph of celadon based on a visual language model
CN119049408A (en) * 2024-10-22 2024-11-29 深圳市尊正科技有限公司 LED display screen color balance optimization method and system

Also Published As

Publication number Publication date
CN119626149A (en) 2025-03-14

Similar Documents

Publication Publication Date Title
CN104809974B (en) The gamma and correct automatically white balance method and device of a kind of display device
JP4120841B2 (en) Projector color correction method
CN101621699B (en) Method for correcting uneven video display and projecting device
CN117348831B (en) LCD display screen adjustment method and system
CN101202015A (en) Lightness data obtaining method and device for gamma correction of LED
CN105976767B (en) A kind of area source brightness uniformity adjusting method, apparatus and system
CN109819245A (en) The On-line Measuring Method and device of chroma luminance data based on AOI platform
CN119626149B (en) LED display screen color adjustment system and method based on ambient light perception
CN105447878A (en) Image quality test analysis method and system
CN119049408A (en) LED display screen color balance optimization method and system
CN118869960B (en) A projection quality intelligent monitoring system and method based on smart home
CN117750595B (en) Hybrid light source control method, system, electronic equipment and storage medium
CN109980499A (en) The white balance adjusting method and system of RGB laser light source
CN115616839A (en) Parameter adjusting method and projector using same
CN118366406A (en) Debugging method and system for multi-color-level display of electronic paper
CN117952004A (en) Automatic line selection system and method for power transmission lines based on AI and real-life data
CN119847350B (en) Energy-saving control method and system for laser page turning pen
CN119670294B (en) A color design method and system for medical clip applier
CN120673704B (en) Intelligent brightness adjustment system and method for LED displays incorporating environmental perception
JP4082166B2 (en) Photodetection device, projector, photodetection method, program, and recording medium
CN118887926B (en) Display screen control method, device, equipment and storage medium
CN119847350A (en) Energy-saving control method and system for laser page turning pen
CN121384414A (en) Methods, systems, equipment, and storage media for detecting bright spots on cinema LED screens using drones.
US20250308427A1 (en) System to display gamut excursion
JP2025152475A (en) Display control method, display control device, display control system, and display control program

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