CN112348906B - Method and device for recommending brightness loss percentage in LED screen correction process - Google Patents
Method and device for recommending brightness loss percentage in LED screen correction process Download PDFInfo
- Publication number
- CN112348906B CN112348906B CN202110018091.1A CN202110018091A CN112348906B CN 112348906 B CN112348906 B CN 112348906B CN 202110018091 A CN202110018091 A CN 202110018091A CN 112348906 B CN112348906 B CN 112348906B
- Authority
- CN
- China
- Prior art keywords
- value
- percentage
- brightness
- monochromatic light
- coefficient
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09F—DISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
- G09F9/00—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
- G09F9/30—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
- G09F9/33—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements being semiconductor devices, e.g. diodes
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention relates to the technical field of LED screen correction, and particularly discloses a method and a device for recommending the brightness loss percentage in the LED screen correction process, wherein the method comprises the following steps: receiving monochromatic light brightness arrays under red, green and blue colors input by a user; respectively calculating monochromatic light brightness normalization coefficient arrays under the three colors of red, green and blue according to a preset brightness normalization coefficient calculation strategy and the monochromatic light brightness arrays under the three colors of red, green and blue; respectively calculating recommended percentage values of monochromatic light under red, green and blue colors through a preset recommendation strategy of the percentage of loss of the monochromatic light brightness and a normalized coefficient array of the monochromatic light brightness; and selecting the minimum value from the recommended percentage values of the monochromatic light under the three colors of red, green and blue as a unified recommended percentage value. The method and the device determine the uniform recommended percentage value by calculating the recommended percentage values of the monochromatic light under the three colors of red, green and blue, so that the brightness loss percentages of the corrected three colors are consistent and the brightness loss is minimum.
Description
Technical Field
The invention relates to the technical field of LED screen correction, in particular to a method and a device for recommending brightness loss percentage in an LED screen correction process.
Background
In the process of correcting the LED display screen, the brightness correction needs to improve the brightness uniformity of all original lamp points through some processing. The essence of the brightness correction in the prior art is that the brightness uniformity of the whole is improved by multiplying the brightness coefficients of all the original lamp points by a decimal with a value range of 0-1, so that the lamp points with darker brightness cannot be adjusted to be brighter, and the final display effect can be achieved only by adjusting the lamp points with brighter brightness to be darker.
Based on the above-mentioned premise, when the luminance uniformity of all the lamp points is worse, the overall luminance of the lamp points after correction is lost more than that before correction in order to improve the luminance uniformity.
Therefore, there is a need to find a new technical solution to solve the above problems.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides a method and a device for recommending the brightness loss percentage in the LED screen correction process.
A method for recommending brightness loss percentage in an LED screen correction process comprises the following steps:
receiving monochromatic light brightness arrays under red, green and blue colors, which are input by a user and are associated with red, green and blue light points in the LED screen;
respectively calculating monochromatic light brightness normalization coefficient arrays under the three colors of red, green and blue according to a preset brightness normalization coefficient calculation strategy and the monochromatic light brightness arrays under the three colors of red, green and blue;
respectively calculating recommended percentage values of monochromatic light under red, green and blue colors through a preset recommendation strategy of the percentage of loss of the monochromatic light brightness and a normalized coefficient array of the monochromatic light brightness;
and selecting the minimum value from the recommended percentage values of the monochromatic light under the three colors of red, green and blue as a unified recommended percentage value for performing uniformity correction on the brightness of the LED screen.
Further, the steps of: respectively calculating recommended percentage values of the monochromatic light under red, green and blue colors through a preset recommended strategy of the percentage loss of the monochromatic light brightness and a normalized coefficient array of the monochromatic light brightness, and the method comprises the following steps:
selecting a monochromatic light brightness normalization coefficient array corresponding to any one of red, green and blue colors, and arranging the coefficients in the monochromatic light brightness normalization coefficient array from large to small;
classifying coefficients smaller than a preset coefficient rated value as abnormal coefficients, removing the abnormal coefficients from the monochromatic light brightness normalization coefficient array, and generating a normal coefficient array by using the residual coefficients, wherein the normal coefficient array comprises n coefficients;
respectively calculating the initial discrete degree and the initial total energy of the normal coefficient array according to a preset discrete degree calculation strategy and a total energy calculation strategy;
determining an initial recommended percentage candidate value and an initial optimal percentage value according to a preset initialization strategy;
calculating a current brightness normalization coefficient adjusting value according to a preset brightness normalization coefficient adjusting value calculating strategy, a normal coefficient array, an initial discrete degree, an initial total energy and a current recommendation percentage candidate value;
calculating a current loss function value according to a preset loss function calculation strategy, a normal coefficient array, an initial discrete degree, an initial total energy and a current brightness normalization coefficient adjusting value;
judging whether a historical loss function value exists or not; if there is a presence of a magnetic field in the magnetic tape,
judging whether the current loss function value is less than or equal to the historical loss function value; if the current optimal percentage value is less than or equal to the recommended percentage candidate value, taking the current optimal percentage value as the current recommended percentage candidate value, and then carrying out the next step; if the value is larger than the preset value, the next step is carried out;
judging whether the current recommendation percentage candidate value is greater than or equal to 100;
if the current optimal percentage value is larger than or equal to the recommended percentage value of the monochromatic light, outputting the current optimal percentage value;
and if the current recommended percentage candidate value is less than the recommended percentage candidate value, the current recommended percentage candidate value is added with one, a new brightness normalization coefficient adjusting value is calculated according to the normal coefficient array, the initial discrete degree, the initial total energy and the current recommended percentage candidate value, and the subsequent steps are executed until the current recommended percentage candidate value is more than or equal to 100, and the current optimal percentage value plus the percentage number is converted into the recommended percentage value of the monochromatic light.
Further, the steps of: calculating a current brightness normalization coefficient adjusting value according to a preset brightness normalization coefficient adjusting value calculating strategy, a normal coefficient array, an initial discrete degree, an initial total energy and a current recommendation percentage candidate value; the method comprises the following steps:
calculating the product of the initial total energy and the current recommended percentage candidate value as the adjusted total energy;
determining an initial adjusted coefficient index value m and an initial coefficient index value i according to an initialization strategy, wherein the value range of i is;
Calculating the total energy of the current index according to the current index value i of the coefficient, the brightness normalization coefficient of the monochromatic light and a preset total index energy calculation strategy;
judging whether the total energy of the current index is more than or equal to the adjusted total energy; if not, the current coefficient index value i is added with one, and new index total energy is calculated according to the current coefficient index value i, the monochromatic light brightness normalization coefficient and the index total energy calculation strategy; if so,
the value of the initial value m of the current adjusted coefficient index is equal to the value i of the current coefficient index;
and calculating and outputting the current brightness normalization coefficient adjusting value according to the current adjusted coefficient index initial value m and the brightness normalization coefficient adjusting value calculation strategy.
Further, the steps of: calculating the current loss function value according to a preset loss function calculation strategy, a normal coefficient array, an initial discrete degree, an initial total energy and a current brightness normalization coefficient adjusting value, wherein the method comprises the following steps:
selecting all coefficients larger than the current brightness normalization coefficient adjustment value from the normal coefficient array, re-assigning the partial coefficients to be the current brightness normalization coefficient adjustment value, and outputting an adjustment coefficient array;
calculating the adjusted dispersion degree and the adjusted total energy according to the dispersion degree calculation strategy, the total energy calculation strategy and the adjustment coefficient array;
and calculating and outputting the current loss function value according to the loss function calculation strategy, the adjusted discrete degree and the adjusted total energy.
Further, the dispersion degree calculation strategy is to calculate a standard deviation of the luminance normalization coefficient in the normal coefficient array or the adjustment coefficient array, that is, the dispersion degree is:
wherein: n represents the total number of coefficients in the normal coefficient array or the adjustment coefficient array,representing the ith luminance normalization coefficient in the corresponding array,representing the mean of the n luminance normalization coefficients in the corresponding coefficient array.
Further, the total energy calculation strategy is to calculate the total energy by calculating the cumulative sum of the luminance normalization coefficients in the normal coefficient array or the adjustment coefficient array, that is:
further, the brightness normalization coefficient adjustment value calculation strategy is to calculate the brightness normalization coefficient adjustment value according to the adjusted total energy and the adjusted coefficient index starting value m, and the calculation method is as follows:
Further, the loss function calculation strategy includes a calculation mode of the loss function value, and the calculation mode includes:
wherein:andrespectively representing the previous value and the current value of the discrete degree,andrepresenting the previous and current values of the total energy, respectively, a and b represent weighting coefficients, and a + b = 1.
Further, the index total energy calculation strategy comprises a calculation mode of index total energy, and the calculation mode comprises the following steps:
wherein:represents the sum of the luminance normalization coefficients of the coefficients before the coefficient index value i.
The invention also provides a recommendation device for the brightness loss percentage in the LED screen correction process, which comprises a monochromatic light brightness array receiving module, a brightness normalization coefficient calculation module, a monochromatic light recommendation percentage value calculation module and a unified recommendation percentage value calculation module, wherein the recommendation device comprises:
the monochromatic light brightness array receiving module is connected with the brightness normalization coefficient calculating module; the monochromatic light brightness array receiving module is used for receiving monochromatic light brightness arrays under red, green and blue colors, which are input by a user and are associated with red, green and blue light points in the LED screen;
the brightness normalization coefficient calculation module is connected with the monochromatic light brightness array receiving module and the monochromatic light recommended percentage value calculation module; the brightness normalization coefficient array calculating module is used for calculating the monochromatic light brightness normalization coefficient arrays under the three colors of red, green and blue according to a preset brightness normalization coefficient calculating strategy and the monochromatic light brightness arrays under the three colors of red, green and blue;
the monochromatic light recommendation percentage value calculation module is connected with the brightness normalization coefficient calculation module and the unified recommendation percentage value calculation module; the monochromatic light recommendation percentage value calculation module is used for calculating monochromatic light recommendation percentage values under red, green and blue colors respectively through a preset monochromatic light brightness loss percentage recommendation strategy and a monochromatic light brightness normalization coefficient array;
the unified recommended percentage value calculation module is connected with the monochromatic light recommended percentage value calculation module; the unified recommendation percentage value calculation module is used for selecting the minimum value from the recommended percentage values of the monochromatic light under the three colors of red, green and blue as a unified recommendation percentage value to be used for carrying out uniformity correction on the brightness of the LED screen.
According to the method and the device for recommending the brightness loss percentage in the LED screen correction process, the uniform recommended percentage value is determined by calculating the recommended percentage values of the monochromatic light under the three colors of red, green and blue, so that the brightness loss percentages of the three colors are consistent, the brightness loss is minimum, and the LED display screen is corrected according to the uniform recommended percentage value, so that the integral brightness uniformity of the LED screen can be better improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for recommending percentage of brightness loss during LED screen calibration according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second step of a method for recommending a percentage of brightness loss during a calibration process of an LED panel according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a third step of a method for recommending a percentage of brightness loss during a calibration process of an LED panel according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of a method for recommending percentage of brightness loss during LED screen calibration according to an embodiment of the present invention;
FIG. 5 is a structural composition diagram of a recommendation device for percentage of brightness loss during LED screen calibration according to an embodiment of the present invention;
fig. 6 is a structural assembly diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a method for recommending a percentage of brightness loss in an LED screen correction process according to an embodiment of the present invention includes the following steps:
step S10: and receiving monochromatic light brightness arrays under red, green and blue colors, which are input by a user and are associated with red, green and blue lamp points in the LED screen.
Step S20: and respectively calculating the monochromatic light brightness normalization coefficient arrays under the three colors of red, green and blue according to a preset brightness normalization coefficient calculation strategy and the monochromatic light brightness arrays under the three colors of red, green and blue.
When the LED screen is a full-color LED screen, each pixel point of the full-color LED screen comprises three lamp points, the colors of the three lamp points are red, green and blue respectively, and when the brightness of the lamp points is different, the colors presented by the pixel points are also different.
Firstly, under the condition of single color of red, green or blue, the received single-color brightness arrays are subjected to mean value normalization, the obtained coefficients form single-color brightness normalization coefficient arrays, and the value ranges of all the coefficients are between 0 and 1. The processing of step S30 is performed on the red, green, or blue monochrome luminance normalization coefficient arrays, specifically as follows:
step S30: and respectively calculating recommended percentage values of the monochromatic light under the three colors of red, green and blue through a preset recommendation strategy of the percentage loss of the monochromatic light brightness and a normalized coefficient array of the monochromatic light brightness.
It should be noted that the monochrome brightness normalization coefficient array processed in this step is a monochrome brightness normalization coefficient array in one of red, green, or blue colors, and this step is performed three times to calculate the monochrome recommendation percentage values corresponding to the red, green, and blue colors, respectively.
Specifically, as shown in fig. 2, step S30: the method comprises the following steps of respectively calculating recommended percentage values of monochromatic light under red, green and blue colors through a preset recommended strategy of the percentage loss of the monochromatic light brightness and a normalized coefficient array of the monochromatic light brightness, and specifically comprises the following steps:
step S301: selecting a monochromatic light brightness normalization coefficient array corresponding to any one of red, green and blue colors, and arranging the coefficients in the monochromatic light brightness normalization coefficient array from large to small.
And all coefficients in the monochrome brightness normalization coefficient array are more than or equal to 0 and less than or equal to 1, and all the coefficients in the array are sorted according to the size.
Step S302: and classifying the coefficients smaller than the preset coefficient rated value as abnormal coefficients, removing the abnormal coefficients from the monochromatic light brightness normalization coefficient array, and generating a normal coefficient array by using the residual coefficients, wherein the normal coefficient array comprises n coefficients.
The preset coefficient rating can be set by a person skilled in the art, and the present embodiment sets the coefficient rating to 0.1 as a preferred example, because the brightness value of the lamp point corresponding to the coefficient less than 0.1 is too low to be considered in the method. And eliminating all coefficients smaller than 0.1, setting the number of the residual coefficients as n, and sequencing the coefficients from small to large to form a normal coefficient array.
Step S303: and respectively calculating the initial discrete degree and the initial total energy of the normal coefficient array according to a preset discrete degree calculation strategy and a total energy calculation strategy.
In this embodiment, the dispersion degree calculation strategy is to calculate a standard deviation of the luminance normalization coefficient in the normal coefficient array, that is, the initial dispersion degree is:
wherein: n represents the total number of coefficients in the normal coefficient array,representing the ith luminance normalization coefficient in the corresponding array,representing the mean of the n luminance normalization coefficients in the corresponding coefficient array.
In this embodiment, the initial total energy is obtained by calculating the cumulative sum of the luminance normalization coefficients in the normal coefficient array, that is:
wherein, in the step (A),representing the ith luminance normalization coefficient in the normal array.
Calculating the initial discrete degree of the normal coefficient array according to the discrete degree calculation strategy and the total energy calculation strategyAnd initial total energy。
Step S304: and determining an initial recommended percentage candidate value and an initial optimal percentage value according to a preset initialization strategy.
The initialization strategy is to set initial values of a recommended percentage candidate value and an optimal percentage value, where the recommended percentage candidate value and the optimal percentage value are defined as values before the percentile, and preferably, the recommended percentage candidate value in this embodiment is set as a value before the percentile=50, optimum percentage value=0, i.e. representing the respective initial values of 50% and 0%, respectively, and the subsequent steps are performed.
Step S305: and calculating a current brightness normalization coefficient adjusting value according to a preset brightness normalization coefficient adjusting value calculating strategy, a normal coefficient array, an initial discrete degree, an initial total energy and a current recommended percentage candidate value.
In the step, the normal coefficient array, the initial discrete degree, the initial total energy and the current recommended percentage candidate value are used as input values to realize the calculation of the current brightness normalization coefficient adjusting value.
Specifically, as shown in fig. 3, step S305: calculating a current brightness normalization coefficient adjusting value according to a preset brightness normalization coefficient adjusting value calculating strategy, a normal coefficient array, an initial discrete degree, an initial total energy and a current recommendation percentage candidate value; the method specifically comprises the following steps:
step S3051: the product of the initial total energy and the current recommended percentage candidate is calculated as the adjusted total energy.
Step S3052: determining an initial adjusted coefficient index start value m and an initial coefficient index value i according to an initialization strategy, whereinThe value range of i is。
And setting the initial value of the adjusted coefficient index starting value m to be 0, namely m =0, and setting the initial value of the coefficient index value to be 0, namely i =0, through an initialization strategy.
Step S3053: and calculating the total energy of the current index according to the index value i of the current coefficient, the brightness normalization coefficient of the monochromatic light and a preset index total energy calculation strategy.
The total index energy calculation strategy in this embodiment includes a calculation mode of total index energy, which is:
wherein:represents the sum of the luminance normalization coefficients of the coefficients before the coefficient index value i.
And calculating the current index total energy through the index total energy calculation strategy.
Step S3054: and judging whether the total energy of the current index is greater than or equal to the adjusted total energy.
I.e. comparing the current index total energyAnd total energy after modulationIf the current index is the total energyLess than the total energy after adjustmentThen, thenStep S3055 is performed: the current coefficient index value i is increased by one (the value range of i:) And circularly executing the step S3053 to the step S3054, and calculating new index total energy according to the current coefficient index value i, the monochromatic light brightness normalization coefficient and the index total energy calculation strategy. If the total energy of the current indexGreater than or equal to the total energy after adjustmentThen step S3056 is performed.
Step S3056: and making the value of the initial value m of the current adjusted coefficient index equal to the value i of the current coefficient index. I.e. let m = i.
Step S3057: and calculating and outputting the current brightness normalization coefficient adjusting value according to the current adjusted coefficient index initial value m and the brightness normalization coefficient adjusting value calculation strategy.
In this embodiment, the brightness normalization coefficient adjustment value calculation strategy is to calculate a brightness normalization coefficient adjustment value according to the adjusted total energy and the adjusted coefficient index start value m, and the calculation method is as follows:
wherein:a candidate value representing a percentage of the recommendation is indicated,the initial total energy calculated from the luminance normalization coefficients in the normal coefficient array,representing the ith luminance normalization coefficient in the normal array. After the brightness normalization coefficient adjustment value is calculated through the above steps, step S306 is executed.
Step S306: and calculating the current loss function value according to a preset loss function calculation strategy, a normal coefficient array, the initial discrete degree, the initial total energy and the current brightness normalization coefficient adjusting value.
The preset loss function calculation strategy in this embodiment includes a calculation mode of the loss function value, and includes:
wherein:andrespectively representing the previous value and the current value of the discrete degree,andrepresenting the previous and current values of the total energy, respectively, a and b represent weighting coefficients, and a + b = 1.
Specifically, as shown in fig. 4, step S306: calculating a current loss function according to a preset loss function calculation strategy, a normal coefficient array, an initial discrete degree, an initial total energy and a current brightness normalization coefficient adjusting value, wherein the method comprises the following steps:
step S3061: and selecting all coefficients larger than the current brightness normalization coefficient adjustment value from the normal coefficient array, reassigning the partial coefficients to the current brightness normalization coefficient adjustment value, and outputting the adjustment coefficient array.
The adjusting coefficient array comprises n coefficients, and the values of all the coefficients are more than or equal to 0.1 and less than the current brightness normalization coefficient adjusting value.
Step S3062: and calculating the adjusted discrete degree and the adjusted total energy according to the discrete degree calculation strategy, the total energy calculation strategy and the adjustment coefficient array.
The discrete degree calculation strategy is to calculate the standard deviation of the brightness normalization coefficient in the normal coefficient array or the adjustment coefficient array, that is, the discrete degree calculation mode is as follows:
wherein: n represents the total number of coefficients in the adjustment coefficient array,representing the ith luminance normalization coefficient in the corresponding array,representing the mean of the n luminance normalization coefficients in the corresponding coefficient array.
The total energy after adjustment is the accumulated sum of the brightness normalization coefficients in the adjustment coefficient array, and the calculation mode is as follows:
and calculating the adjusted discrete degree and the adjusted total energy corresponding to the adjustment coefficient array through the calculation formula.
Step S3063: and calculating and outputting the current loss function value according to the loss function calculation strategy, the adjusted discrete degree and the adjusted total energy.
As in the foregoing loss function calculation strategy, a current loss function value is calculated, and the loss function value is an index for evaluating the recommended percentage value of monochromatic light.
Step S307: and judging whether the historical loss function value exists or not.
Step S306 outputs a loss function value when the method is executed for the first time, and there is no other history function value, so step S310 is executed directly after the step.
If there is a history loss function after the execution of the next step loop, step S308 is executed: and judging whether the current loss function value is less than or equal to the historical loss function value.
If the current loss function value is less than or equal to the historical loss function value, go to step S309: and step S310 is performed after the current optimal percentage value is set as the current recommended percentage candidate value.
If the current loss function value is greater than the historical loss function value, then step S310 is performed: judging whether the current recommendation percentage candidate value is greater than or equal to 100;
if the current recommendation percentage candidate value is greater than or equal to 100, execute step S311: and outputting the current optimal percentage value as a recommended percentage value of the monochromatic light.
If the current recommendation percentage candidate value is less than 100, execute step S312: the current recommended percentage candidate value is incremented by one, and the steps S305 to S310 are executed in a loop until the current recommended percentage candidate value is greater than or equal to 100, and step S311 is executed to convert the current optimal percentage value plus the percentage number into a monochromatic light recommended percentage value (for example, when the current optimal percentage is 60, the recommended percentage of monochromatic light converted by plus the percentage number is 60%).
By performing step S30 three times, recommended percentage values of monochromatic light in three colors of red, green, and blue are calculated, respectively.
Step S40: and selecting the minimum value from the recommended percentage values of the monochromatic light under the three colors of red, green and blue as a unified recommended percentage value for performing uniformity correction on the brightness of the LED screen.
The meaning of the unified recommended percentage value in the embodiment of the invention is the percentage value of the residual brightness of the LED screen after correction. And the percentage remaining luminance value represents the proportion of the sum of the luminance normalization coefficients after correction (total energy after correction) and the sum of the luminance normalization coefficients before correction (total energy before correction).
According to the embodiment of the invention, the minimum value is selected as the unified recommended percentage value according to the recommended percentage values of the monochromatic light under the three colors of red, green and blue. The LED display screen is corrected according to the unified recommended percentage value obtained by the embodiment of the invention, so that the brightness loss percentages of the three corrected colors are consistent, and the brightness uniformity correction under the condition of minimum brightness loss is realized.
The embodiment of the invention also comprises a recommendation device for the brightness loss percentage in the LED screen correction process, wherein the recommendation device 200 comprises a monochromatic light brightness array receiving module 201, a brightness normalization coefficient calculation module 202, a monochromatic light recommendation percentage value calculation module 203 and a unified recommendation percentage value calculation module 204, wherein:
the monochrome brightness array receiving module 201 is connected with the brightness normalization coefficient calculating module 202; the monochromatic light brightness array receiving module 201 is used for receiving monochromatic light brightness arrays under red, green and blue colors, which are input by a user and are associated with red, green and blue light points in the LED screen;
the brightness normalization coefficient calculation module 202 is connected with the monochromatic light brightness array receiving module 201 and the monochromatic light recommended percentage value calculation module 203; the brightness normalization coefficient array calculating module 202 is used for calculating the monochromatic light brightness normalization coefficient arrays under the three colors of red, green and blue according to a preset brightness normalization coefficient calculating strategy and the monochromatic light brightness arrays under the three colors of red, green and blue;
the monochromatic light recommendation percentage value calculation module 203 is connected with the brightness normalization coefficient calculation module 202 and the uniform recommendation percentage value calculation module 204; the monochromatic light recommendation percentage value calculation module 203 is used for calculating the monochromatic light recommendation percentage values under red, green and blue colors respectively through a preset monochromatic light brightness loss percentage recommendation strategy and a monochromatic light brightness normalization coefficient array;
the unified recommended percentage value calculating module 204 is connected with the monochromatic light recommended percentage value calculating module 203; the unified recommended percentage value calculation module 204 is configured to select a minimum value from the recommended percentage values of monochromatic light in three colors, namely red, green, and blue, as a unified recommended percentage value, and perform uniformity correction on the brightness of the LED screen.
In this embodiment, the recommended percentage value of monochromatic light calculating module 203 calculates recommended percentage values of monochromatic light under red, green, and blue colors respectively through a preset recommendation strategy of the percentage loss of the monochromatic light brightness and a normalized coefficient array of the monochromatic light brightness, and the specific method is as follows:
step S301: selecting a monochromatic light brightness normalization coefficient array corresponding to any one of red, green and blue colors, and arranging the coefficients in the monochromatic light brightness normalization coefficient array from large to small.
Step S302: and classifying the coefficients smaller than the preset coefficient rated value as abnormal coefficients, removing the abnormal coefficients from the monochromatic light brightness normalization coefficient array, and generating a normal coefficient array by using the residual coefficients, wherein the normal coefficient array comprises n coefficients.
Step S303: and respectively calculating the initial discrete degree and the initial total energy of the normal coefficient array according to a preset discrete degree calculation strategy and a total energy calculation strategy.
Step S304: and determining an initial recommended percentage candidate value and an initial optimal percentage value according to a preset initialization strategy.
Step S305: and calculating a current brightness normalization coefficient adjusting value according to a preset brightness normalization coefficient adjusting value calculating strategy, a normal coefficient array, an initial discrete degree, an initial total energy and a current recommended percentage candidate value.
Wherein, step S305 includes:
step S3051: the product of the initial total energy and the current recommended percentage candidate is calculated as the adjusted total energy.
Step S3052: determining an initial adjusted coefficient index value m and an initial coefficient index value i according to an initialization strategy, wherein the value range of i is。
Step S3053: and calculating the total energy of the current index according to the index value i of the current coefficient, the brightness normalization coefficient of the monochromatic light and a preset index total energy calculation strategy.
Step S3054: and judging whether the total energy of the current index is greater than or equal to the adjusted total energy.
If the total energy of the current index is less than the adjusted total energy, executing step S3055: and (4) adding one to the current coefficient index value i, circularly executing the step S3053 to the step S3054, and calculating new total index energy according to the current coefficient index value i, the monochromatic light brightness normalization coefficient and the total index energy calculation strategy.
If the total energy of the current index is greater than or equal to the adjusted total energy, step S3056 is performed.
Step S3056: and making the value of the initial value m of the current adjusted coefficient index equal to the value i of the current coefficient index.
Step S3057: and calculating and outputting the current brightness normalization coefficient adjusting value according to the current adjusted coefficient index initial value m and the brightness normalization coefficient adjusting value calculation strategy.
Step S306: and calculating the current loss function value according to a preset loss function calculation strategy, a normal coefficient array, the initial discrete degree, the initial total energy and the current brightness normalization coefficient adjusting value.
Wherein, step S306 includes:
step S3061: and selecting all coefficients larger than the current brightness normalization coefficient adjustment value from the normal coefficient array, reassigning the partial coefficients to the current brightness normalization coefficient adjustment value, and outputting the adjustment coefficient array.
Step S3062: and calculating the adjusted discrete degree and the adjusted total energy according to the discrete degree calculation strategy, the total energy calculation strategy and the adjustment coefficient array.
Step S3063: and calculating and outputting the current loss function value according to the loss function calculation strategy, the adjusted discrete degree and the adjusted total energy.
Step S307: and judging whether the historical loss function value exists or not.
If not, go to step S310.
If there is a history loss function, go to step S308: and judging whether the current loss function value is less than or equal to the historical loss function value.
If the current loss function value is less than or equal to the historical loss function value, go to step S309: and step S310 is performed after the current optimal percentage value is set as the current recommended percentage candidate value.
If the current loss function value is greater than the historical loss function value, then step S310 is performed: judging whether the current recommendation percentage candidate value is greater than or equal to 100;
if the current recommendation percentage candidate value is greater than or equal to 100, execute step S311: and outputting the current optimal percentage value as a recommended percentage value of the monochromatic light.
If the current recommendation percentage candidate value is less than 100, execute step S312: and (3) adding one to the current recommendation percentage candidate value, and executing the steps S305 to S310 in a circulating manner until the current recommendation percentage candidate value is greater than or equal to 100, executing the step S311, and converting the current optimal percentage value plus the percentage number into a single-color light recommendation percentage value.
The present invention further provides an electronic device 300, as shown in fig. 6, comprising a memory 301 and a processor 302, wherein the memory 301 stores computer instructions; a processor 302 configured to execute computer instructions to cause a computer device to perform the methods of the embodiments described above.
The invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above method.
According to the method and the device for recommending the brightness loss percentage in the LED screen correction process, the uniform recommended percentage value is determined by calculating the recommended percentage values of the monochromatic light under the three colors of red, green and blue, so that the brightness loss percentages of the three colors after correction are consistent and the brightness loss is minimum, and the LED display screen is corrected according to the uniform recommended percentage value, so that the integral brightness uniformity of the LED screen can be better improved.
The present invention has been further described with reference to specific embodiments, but it should be understood that the detailed description should not be construed as limiting the spirit and scope of the present invention, and various modifications made to the above-described embodiments by those of ordinary skill in the art after reading this specification are within the scope of the present invention.
Claims (10)
1. A method for recommending the brightness loss percentage in the LED screen correction process is characterized by comprising the following steps:
receiving monochromatic light brightness arrays under red, green and blue colors, which are input by a user and are associated with red, green and blue light points in the LED screen;
calculating monochromatic light brightness normalization coefficient arrays under the three colors of red, green and blue respectively according to a preset brightness normalization coefficient calculation strategy and the monochromatic light brightness arrays under the three colors of red, green and blue;
respectively calculating recommended percentage values of monochromatic light under red, green and blue colors through a preset recommendation strategy of the percentage of loss of the monochromatic light brightness and the array of the normalized coefficient of the monochromatic light brightness; comprises the following steps of; selecting a monochromatic light brightness normalization coefficient array corresponding to any one of red, green and blue colors, and arranging the coefficients in the monochromatic light brightness normalization coefficient array from large to small; classifying coefficients smaller than a preset coefficient rated value as abnormal coefficients, removing the abnormal coefficients from the monochrome brightness normalization coefficient array, and generating a normal coefficient array by using residual coefficients, wherein the normal coefficient array comprises n coefficients; calculating recommended percentage values of monochromatic light under red, green and blue colors respectively through a preset recommended strategy of the percentage loss of the monochromatic light brightness and the normal coefficient array;
and selecting the minimum value from the recommended percentage values of the monochromatic light under the three colors of red, green and blue as a unified recommended percentage value for performing uniformity correction on the brightness of the LED screen.
2. The method for recommending the percentage of brightness loss in the process of correcting an LED screen as claimed in claim 1, wherein the calculating of the recommended percentage values of monochromatic light under red, green and blue colors by the preset recommendation strategy of the percentage of brightness loss of monochromatic light and the normal coefficient array, respectively, comprises:
respectively calculating the initial discrete degree and the initial total energy of the normal coefficient array according to a preset discrete degree calculation strategy and a total energy calculation strategy;
determining an initial recommended percentage candidate value and an initial optimal percentage value according to a preset initialization strategy;
calculating a current brightness normalization coefficient adjusting value according to a preset brightness normalization coefficient adjusting value calculating strategy, the normal coefficient array, the initial discrete degree, the initial total energy and the current recommended percentage candidate value;
calculating a current loss function value according to a preset loss function calculation strategy, the normal coefficient array, the initial discrete degree, the initial total energy and the current brightness normalization coefficient adjusting value;
judging whether a historical loss function value exists or not; if there is a presence of a magnetic field in the magnetic tape,
judging whether the current loss function value is less than or equal to the historical loss function value; if the current optimal percentage value is less than or equal to the recommended percentage candidate value, taking the current optimal percentage value as the current recommended percentage candidate value, and then carrying out the next step; if the value is larger than the preset value, the next step is carried out;
judging whether the current recommendation percentage candidate value is greater than or equal to 100;
if the current optimal percentage value is larger than or equal to the recommended percentage value of the monochromatic light, outputting the current optimal percentage value;
and if the current recommended percentage candidate value is less than the recommended percentage candidate value, the current recommended percentage candidate value is added with one, a new brightness normalization coefficient adjusting value is calculated according to the normal coefficient array, the initial discrete degree, the initial total energy and the current recommended percentage candidate value, and the subsequent steps are executed until the current recommended percentage candidate value is more than or equal to 100, and the current optimal percentage value plus the percentage number is converted into the recommended percentage value of the monochromatic light.
3. The method of claim 2, wherein the current brightness normalization coefficient adjustment value is calculated according to a preset brightness normalization coefficient adjustment value calculation strategy, the normal coefficient array, the initial discrete degree, the initial total energy, and the current recommendation percentage candidate value; the method comprises the following steps:
calculating the product of the initial total energy and the current recommended percentage candidate value as the adjusted total energy;
determining an initial adjusted coefficient index value m and an initial coefficient index value i according to the initialization strategy, wherein the value range of i is;
Calculating the total energy of the current index according to the index value i of the current coefficient, the brightness normalization coefficient of the monochromatic light and a preset index total energy calculation strategy;
judging whether the total energy of the current index is more than or equal to the adjusted total energy; if not, the current coefficient index value i is added with one, and new index total energy is calculated according to the current coefficient index value i, the monochromatic light brightness normalization coefficient and the index total energy calculation strategy; if so,
the value of the initial value m of the current adjusted coefficient index is equal to the value i of the current coefficient index;
and calculating and outputting the current brightness normalization coefficient adjusting value according to the current adjusted coefficient index starting value m and the brightness normalization coefficient adjusting value calculating strategy.
4. The method as claimed in claim 3, wherein the step of calculating the current loss function value according to the preset loss function calculation strategy and the normal coefficient array, the initial discrete degree, the initial total energy and the current brightness normalization coefficient adjustment value comprises:
selecting all coefficients larger than the current brightness normalization coefficient adjustment value from the normal coefficient array, re-assigning the partial coefficients to the current brightness normalization coefficient adjustment value, and outputting an adjustment coefficient array;
calculating the adjusted dispersion degree and the adjusted total energy according to the dispersion degree calculation strategy, the total energy calculation strategy and the adjustment coefficient array;
and calculating and outputting the current loss function value according to the loss function calculation strategy, the adjusted discrete degree and the adjusted total energy.
5. The method of claim 4 wherein the percentage of brightness loss during the LED screen correction process is recommended,
the dispersion degree calculation strategy is to calculate the standard deviation of the brightness normalization coefficient in the normal coefficient array or the adjustment coefficient array, that is, the dispersion degree is:
wherein: n represents the total number of coefficients in the normal coefficient array or the adjustment coefficient array,representing the ith luminance normalization coefficient in the corresponding array,representing the mean of the n luminance normalization coefficients in the corresponding coefficient array.
6. The method of claim 5 for recommending percentage of brightness loss during LED screen correction,
the total energy calculation strategy is to calculate the total energy by calculating the cumulative sum of the brightness normalization coefficients in the normal coefficient array or the adjustment coefficient array, that is:
7. the method of claim 6, wherein the percentage of brightness loss during the LED screen correction process is recommended,
the brightness normalization coefficient adjustment value calculation strategy is to calculate a brightness normalization coefficient adjustment value according to the adjusted total energy and the adjusted coefficient index initial value m, and the calculation mode is as follows:
8. The method of claim 7 for recommending percentage of brightness loss during LED screen correction,
the loss function calculation strategy comprises a calculation mode of a loss function value, and comprises the following steps:
9. The method of claim 8, wherein the percentage of brightness loss during the LED screen correction process is recommended,
the index total energy calculation strategy comprises a calculation mode of index total energy, and comprises the following steps:
10. The utility model provides a recommendation device of luminance loss percentage among LED screen correction process, which characterized in that, recommendation device includes monochromatic light luminance array receiving module, luminance normalization coefficient calculation module, monochromatic light recommendation percentage value calculation module and unified recommendation percentage value calculation module, wherein:
the monochromatic light brightness array receiving module is connected with the brightness normalization coefficient calculating module; the monochromatic light brightness array receiving module is used for receiving monochromatic light brightness arrays under red, green and blue colors, which are input by a user and are associated with red, green and blue light points in the LED screen;
the brightness normalization coefficient calculation module is connected with the monochromatic light brightness array receiving module and the monochromatic light recommended percentage value calculation module; the brightness normalization coefficient array calculating module is used for calculating the monochromatic light brightness normalization coefficient arrays under the three colors of red, green and blue according to a preset brightness normalization coefficient calculating strategy and the monochromatic light brightness arrays under the three colors of red, green and blue;
the monochromatic light recommendation percentage value calculation module is connected with the brightness normalization coefficient calculation module and the unified recommendation percentage value calculation module; the monochromatic light recommendation percentage value calculation module is used for calculating monochromatic light recommendation percentage values under red, green and blue colors respectively through a preset monochromatic light brightness loss percentage recommendation strategy and the monochromatic light brightness normalization coefficient array; comprises the following steps of; selecting a monochromatic light brightness normalization coefficient array corresponding to any one of red, green and blue colors, and arranging the coefficients in the monochromatic light brightness normalization coefficient array from large to small; classifying coefficients smaller than a preset coefficient rated value as abnormal coefficients, removing the abnormal coefficients from the monochrome brightness normalization coefficient array, and generating a normal coefficient array by using residual coefficients, wherein the normal coefficient array comprises n coefficients; calculating recommended percentage values of monochromatic light under red, green and blue colors respectively through a preset recommended strategy of the percentage loss of the monochromatic light brightness and the normal coefficient array;
the unified recommended percentage value calculation module is connected with the monochromatic light recommended percentage value calculation module; the unified recommendation percentage value calculation module is used for selecting the minimum value from the recommended percentage values of the monochromatic light under the three colors of red, green and blue as a unified recommendation percentage value to be used for carrying out uniformity correction on the brightness of the LED screen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110018091.1A CN112348906B (en) | 2021-01-07 | 2021-01-07 | Method and device for recommending brightness loss percentage in LED screen correction process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110018091.1A CN112348906B (en) | 2021-01-07 | 2021-01-07 | Method and device for recommending brightness loss percentage in LED screen correction process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112348906A CN112348906A (en) | 2021-02-09 |
CN112348906B true CN112348906B (en) | 2021-04-06 |
Family
ID=74427323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110018091.1A Active CN112348906B (en) | 2021-01-07 | 2021-01-07 | Method and device for recommending brightness loss percentage in LED screen correction process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112348906B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101794552A (en) * | 2010-03-09 | 2010-08-04 | 彩虹集团公司 | Method for increasing contrast of OLED display screen |
CN102074206A (en) * | 2009-11-20 | 2011-05-25 | 京东方科技集团股份有限公司 | Color correction method, color correction device and LED color correction system |
CN102737610A (en) * | 2011-03-31 | 2012-10-17 | 青岛海信电器股份有限公司 | Method and apparatus for adjusting light source brightness, and display device |
CN110189717A (en) * | 2019-04-08 | 2019-08-30 | 重庆惠科金渝光电科技有限公司 | A kind of driving method of display module, drive system and display device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5091995B2 (en) * | 2010-09-03 | 2012-12-05 | 株式会社東芝 | Liquid crystal display |
CN104486606B (en) * | 2014-12-30 | 2017-06-06 | 广州博冠信息科技有限公司 | The method and its device of adjustment brightness of image and contrast |
CN107799055B (en) * | 2017-11-13 | 2019-11-05 | 长春希达电子技术有限公司 | A kind of bearing calibration of the LED display based on object of reference |
CN110290616B (en) * | 2019-07-05 | 2021-08-27 | 歌尔股份有限公司 | LED calibration method, device and storage medium |
-
2021
- 2021-01-07 CN CN202110018091.1A patent/CN112348906B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102074206A (en) * | 2009-11-20 | 2011-05-25 | 京东方科技集团股份有限公司 | Color correction method, color correction device and LED color correction system |
CN101794552A (en) * | 2010-03-09 | 2010-08-04 | 彩虹集团公司 | Method for increasing contrast of OLED display screen |
CN102737610A (en) * | 2011-03-31 | 2012-10-17 | 青岛海信电器股份有限公司 | Method and apparatus for adjusting light source brightness, and display device |
CN110189717A (en) * | 2019-04-08 | 2019-08-30 | 重庆惠科金渝光电科技有限公司 | A kind of driving method of display module, drive system and display device |
Also Published As
Publication number | Publication date |
---|---|
CN112348906A (en) | 2021-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107909553B (en) | Image processing method and device | |
US8831343B2 (en) | Image processing and displaying methods for devices that implement color appearance models | |
CN100563297C (en) | Realize the method and the device of white balance correction | |
CN104796683B (en) | A kind of method and system of calibration image color | |
JP4189328B2 (en) | Image processing apparatus, image display apparatus, image processing method, and image processing program | |
US7447356B2 (en) | Image signal correction method and image signal correction apparatus | |
US8487949B2 (en) | Image processing apparatus and image processing method | |
CN111899182B (en) | Color enhancement method and device | |
US8736766B2 (en) | Image processing device, image processing method, image processing program, and recording medium, each capable of correcting luminance of image so that the local deterioration of grey scales is unlikely to occur | |
EP3770856A1 (en) | Mixed color correction method and apparatus, terminal device, and readable storage medium | |
US20100129001A1 (en) | Method, device and program for measuring image quality adjusting ability, and method, device and program for adjusting image quality | |
CN105898263B (en) | A kind of image white balance method, device and computing device | |
CN106652939A (en) | Driving method and device of display panel | |
CN114092360A (en) | Image processing method, apparatus and readable storage medium | |
CN113453396A (en) | WRGB color mixing method and device based on additive color mixing, terminal equipment and storage medium | |
CN109215614A (en) | A kind of image quality adjusting method, regulating device and terminal device | |
CN112348906B (en) | Method and device for recommending brightness loss percentage in LED screen correction process | |
JPH08251620A (en) | Automatic white balance device | |
CN109410874B (en) | Method and device for converting three-color data into four-color data | |
US20130093915A1 (en) | Multi-Illuminant Color Matrix Representation and Interpolation Based on Estimated White Points | |
CN115035851B (en) | Gamma white balance rapid adjustment method and related device | |
US10237547B1 (en) | Method for testing energy efficiency of display device | |
CN113129813B (en) | White balance adjusting method and device and computer equipment | |
US20210405352A1 (en) | Display device and method of adjusting chromatic aberration of display device | |
CN109461418B (en) | Method and device for converting three-color data into four-color data |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 518000 room 3801, block a, block 8, block C, Wanke Yuncheng phase III, Liuxin 4th Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province (37-39 floors) Applicant after: Carlette cloud Technology Co.,Ltd. Address before: 518000 room 3801, block a, block 8, block C, Wanke Yuncheng phase III, Liuxin 4th Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province (37-39 floors) Applicant before: COLORLIGHT (SHENZHEN) CLOUD TECHNOLOGY Co.,Ltd. |