CN113241030B - Display screen brightness compensation method and device and electronic equipment - Google Patents
Display screen brightness compensation method and device and electronic equipment Download PDFInfo
- Publication number
- CN113241030B CN113241030B CN202110459230.4A CN202110459230A CN113241030B CN 113241030 B CN113241030 B CN 113241030B CN 202110459230 A CN202110459230 A CN 202110459230A CN 113241030 B CN113241030 B CN 113241030B
- Authority
- CN
- China
- Prior art keywords
- brightness
- value
- target
- pixel point
- absolute
- 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
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/2003—Display of colours
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0271—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The application discloses a display screen brightness compensation method, a display screen brightness compensation device and electronic equipment, wherein the method comprises the following steps: acquiring the relative brightness value of each pixel point of a display screen under a pure color picture, wherein the color displayed by the pure color picture is one of three primary colors; calculating the brightness deviation rate of each pixel point according to the relative brightness value; determining pixel points with the brightness deviation ratio meeting preset conditions as target pixel points; and performing brightness compensation on the target pixel point. This application carries out the detection of luminance value to single pixel, selects out the target pixel and carries out the uniformity of local compensation in order to improve pixel luminance value to alleviate facula or dark spot because of the display screen structure leads to, improve user's visual experience.
Description
Technical Field
The present application belongs to the field of image display technologies, and in particular, to a display screen brightness compensation method, a display screen brightness compensation device, an electronic apparatus, and a computer-readable storage medium.
Background
The Anti-Glare (Anti-Glare) glass is made of AG glass, and is called as Anti-Glare glass, and the reflecting surface of the original glass is changed into a matte surface (the surface of the glass is uneven and granular) in a chemical etching or spraying way, so that the roughness of the surface of the glass is changed, the surface of the glass generates a matte effect, and the effect of diffuse reflection is achieved. When the external light is reflected upwards, diffuse reflection is formed, so that the light reflection is reduced, the aim of no dazzling is achieved, and a viewer can experience better sensory vision. The lower the gloss, the better the diffusion effect of the AG glass surface, and the less the external glare.
Although AG glass can reduce light reflection and is not glaring when applied to a display panel, in order to achieve a good AG effect, diffusion particles or a convex-concave structure must be present on the surface of the AG display panel. In the process of using the AG display screen, light is easy to scatter and refract after passing through the display screen, so that the light propagation direction and intensity are changed, light spots or dark spots are easy to form, the visual experience of a user is reduced, and the use scene of the AG display screen is limited.
Disclosure of Invention
The application provides a display screen brightness compensation method and device, electronic equipment and a computer readable storage medium, which can solve the problem of facula or dark spots caused by a display screen structure in the image display process.
In a first aspect, the present application provides a display screen brightness compensation method, including:
acquiring the relative brightness value of each pixel point of a display screen under a pure color picture, wherein the color displayed by the pure color picture is one of three primary colors;
calculating the brightness deviation rate of each pixel point according to the relative brightness value;
determining the pixel points with the brightness deviation ratio meeting preset conditions as target pixel points;
and performing brightness compensation on the target pixel point.
In a second aspect, the present application provides a display screen brightness compensation apparatus, including:
the device comprises a relative brightness value acquisition module, a color matching module and a color matching module, wherein the relative brightness value acquisition module is used for acquiring the relative brightness value of each pixel point of a display screen under a pure color picture, and the color displayed by the pure color picture is one of three primary colors;
a brightness deviation ratio calculation module for calculating the brightness deviation ratio of each pixel point according to the relative brightness value;
a target pixel point determining module, configured to determine the pixel point with the brightness deviation ratio meeting a preset condition as a target pixel point;
and the brightness compensation module is used for performing brightness compensation on the target pixel point.
In a third aspect, the present application provides an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the method of the first aspect as described above.
Compared with the prior art, the application has the beneficial effects that: according to the method and the device, the brightness deviation rate of each pixel point of the display screen under the pure-color picture is calculated, the target pixel point needing to be adjusted is screened out according to the brightness deviation rate, local brightness compensation is only carried out on the target pixel point, the consistency of the brightness value of each pixel point of the display screen can be improved, light spots or dark spots caused by the display screen structure are reduced, and the visual experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flowchart illustrating a method for compensating brightness of a display screen according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a red frame provided in an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a display screen brightness compensation apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The display screen brightness compensation method provided by the embodiment of the application can be applied to electronic devices such as a mobile phone, a tablet personal computer, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, and the embodiment of the application does not limit the specific types of the electronic devices at all.
In order to explain the technical solution proposed in the present application, the following description will be given by way of specific examples.
Fig. 1 shows a schematic flow chart of a display screen brightness compensation method provided in an embodiment of the present application, and the method may be applied to any one of the electronic devices described above by way of example and not limitation.
In the embodiment of the present application, after the display panel is lit by any one of three primary colors (i.e., red, green, and blue), the displayed picture is pure color, for example, after the display panel is lit by red, the displayed picture is red, and after the display panel is lit by green, the displayed picture is green. The relative brightness value of each pixel point under each displayed pure color picture can be obtained, and if the display screen is sequentially lightened by red, green and blue, the relative brightness value of each pixel point under each pure color picture can be respectively obtained. It will be appreciated that an image is composed of a plurality of dots, also called pixels, each of which can typically exhibit a plurality of different colors, which are composed of three sub-pixels, red, green and blue.
And 102, calculating the brightness deviation rate of each pixel point according to the relative brightness value.
In the embodiment of the present application, after the relative brightness value is obtained, the brightness deviation ratio of each pixel point can be calculated according to the relative brightness value, where the brightness deviation ratio refers to a percentage of the relative brightness value of a single pixel point deviating from the average relative brightness value of the pure color picture.
And 103, determining the pixel points with the brightness deviation ratio meeting the preset conditions as target pixel points.
In the embodiment of the application, a target pixel point can be screened from all pixel points according to the calculated brightness deviation rate, wherein the target pixel point refers to a pixel point needing to adjust the brightness. Specifically, the target pixel points can be screened by judging whether each pixel point meets the preset condition. As an example and not by way of limitation, the preset condition may be that a pixel corresponding to a brightness deviation value exceeding or being smaller than a preset threshold is determined as a target pixel, for example, a pixel corresponding to a brightness deviation ratio exceeding 8% or being smaller than-8% is determined as a target pixel. The specific threshold value can be determined according to the original specification parameters and the AG parameters of the display screen. Optionally, in order to improve the personalized setting of the display screen, the threshold value can be determined by combining the vision and the use habit of the user on the basis of the original specification parameters and the AG parameters of the display screen.
And 104, performing brightness compensation on the target pixel point.
In the embodiment of the application, after the target pixel point is determined, brightness compensation can be performed on the target pixel point, so that the consistency of the brightness value of each pixel point of the display screen is improved, light spots or dark spots caused by the structure of the display screen are reduced, and the visual experience of a user is improved. The brightness compensation method includes, but is not limited to, adjusting a gray scale value, a current, or a voltage of the target pixel.
In some embodiments, in order to improve accuracy of obtaining the relative brightness value of the pixel point, the step 101 specifically includes:
a1, framing a pure-color picture by using an image sensor;
and A2, analyzing the relative brightness value of each pixel point under the pure color picture through an image sensor.
In this embodiment, the image sensor may be used to view a pure color image of the display screen, and then the image sensor is used to analyze the relative brightness value of each pixel point in the pure color image. Due to the advantages of a Complementary Metal Oxide Semiconductor (CMOS) image sensor, such as random window reading capability, radiation resistance, a non-destructive data reading mode, low system complexity, and high reliability, the image sensor may be a CMOS image sensor.
In some embodiments, to accurately calculate the relative brightness value of each pixel point, the step A2 specifically includes:
a21, confirming the layout information of each pixel point in the pure color picture according to the resolution of the display screen;
a22, calculating the photoelectric conversion quantity of each pixel point based on the layout information through an image sensor;
and A23, determining the relative brightness value of each pixel point according to the photoelectric conversion quantity.
Each display screen has corresponding resolution, and the layout information of each pixel point in the picture displayed by the display screen can be determined according to the resolution. Specifically, the layout information of the pixel includes the size of the pixel and the position information of the pixel in the picture displayed by the display screen. Assuming that the resolution of the display screen is nH × nV, it can be determined that the display screen has H × V pixels, and the size of each pixel is n × n. It should be noted that when the specification of the image sensor is selected, the resolution of the image sensor should be greater than the resolution of the display screen, so that the size and position information of each pixel point can be determined more accurately. After the layout information of the pixel points is determined, the photoelectric conversion amount of each pixel point can be calculated through the image sensor, and the relative brightness value of each pixel point is further reversely deduced according to the photoelectric conversion amount.
In some embodiments, in order to determine the target pixel, the luminance deviation ratio of each pixel needs to be calculated first, and the step 102 specifically includes:
b1, calculating the average relative brightness value of the pure color picture according to the relative brightness value;
and B2, determining the brightness deviation ratio of each pixel point based on the relative brightness value and the average relative brightness value.
In these embodiments, the average relative brightness value of the pure color picture can be calculated according to the relative brightness value of each pixel point. The average relative brightness value can be used as a reference for measuring the deviation of the relative brightness value of each pixel point from the average level, and then the brightness deviation rate of each pixel point can be determined according to the relative brightness value and the average relative brightness value. Specifically, the formula for calculating the luminance deviation ratio can be written as: Δ r =100% (relative luminance value-average relative luminance value)/average relative luminance value, Δ r is a luminance deviation ratio.
In some embodiments, the gray scale value of the pure color frame is a preset gray scale value, and local brightness compensation is performed on the target pixel point to improve the consistency of the brightness value of each pixel point of the display screen, where the step 104 specifically includes:
and C1, determining the absolute brightness value of the target pixel point from the pre-fitted gamma curve based on the preset gray scale value.
The gray level value represents the level of the brightness value of each pixel point from the darkest to the brightest, and the more the intermediate levels are, the finer the picture effect can be presented. After the display screen is lit, the gray scale value of the displayed picture may be set to a preset gray scale value, that is, a known value, where the preset gray scale value may be any value in a range that the gray scale value may take, for example, for an 8-bit display, the range of the gray scale value is 0 to 256, and the preset gray scale value may be any value in the range, for example, 35. According to the preset gray-scale value, the absolute brightness value of the target pixel point can be determined from the Gamma Curve (Gamma Curve) which is fitted in advance. The gamma curve is a relationship between a gray level value and a corresponding brightness value, and the abscissa thereof is a brightness value and the ordinate thereof is a gray level value. Since the output voltage of the display panel is substantially adjusted based on the adjusted gray level, the conversion relationship between the output voltage of the display panel and the corresponding brightness value is commonly called a gamma curve in the field of computer graphics, and the abscissa of the gamma curve is the brightness value and the ordinate of the gamma curve is the output voltage value. In the embodiment of the present application, the gamma curve refers to a relationship curve between a gray scale value and a corresponding absolute brightness value, and records a corresponding relationship between different gray scale values and absolute brightness value quality inspections in a pure color picture.
And C2, determining a target gray-scale value according to the absolute brightness value of the target pixel point.
After the absolute brightness value of the target pixel point is determined from the gamma curve, the target gray scale value can be further determined according to the absolute brightness value. The target gray scale value is set to make the relative brightness value of the target pixel point and the brightness value of other pixel points in the pure color picture tend to be consistent.
And C3, setting the gray-scale value of the target pixel point as a target gray-scale value so as to perform brightness compensation on the target pixel point.
After the gray scale value of the target pixel point is set as the target gray scale value, compensation to the relative brightness value of the target pixel point can be completed, so that light spots or dark spots caused by a display screen structure are reduced, and the visual experience of a user is improved.
In some embodiments, the absolute brightness of the target pixel needs to be determined through a gamma curve, and the gamma curve needs to be fitted in advance, where the step C1 specifically includes:
c11, acquiring absolute brightness values of the pure color picture respectively corresponding to different gray scale values;
and C12, fitting according to the corresponding relation between different gray scale values and absolute brightness values to obtain a gamma curve of the pure color picture.
It is mentioned in step 101 that the color of the solid color picture is one of the three primary colors, and it should be understood that there may be a solid color picture of three colors. A gamma curve can be obtained by fitting the pure color picture of each color; therefore, three gamma curves can be fitted to the pure color pictures of the three colors. Assuming that the color of the pure-color picture is red, the absolute brightness values respectively corresponding to the red picture under different gray scale values can be obtained, that is, the red picture of each gray scale value corresponds to one absolute brightness value, and then fitting is performed according to the corresponding relationship between different gray scale values and the absolute brightness values, so that the gamma curve of the red picture can be obtained; for blue and green pictures, and so on.
In some embodiments, the step C2 of accurately determining the target gray scale value based on the absolute brightness value of the target pixel point includes:
and C21, determining a target brightness adjustment formula according to the brightness deviation rate of the target pixel point.
In the process of selecting the target pixel point, whether the brightness deviation ratio of the target pixel point meets a preset condition is judged, the preset condition is set forth in step 103, the judgment can be carried out according to a set threshold, in order to refine the brightness deviations of different degrees, a plurality of thresholds can be set, and different deviation ratio ranges can be divided by the plurality of thresholds. For example, if two thresholds are set, i.e., +/-10% and + -50%, respectively, then a plurality of deviation ratios ranges, e.g., 10% -50%, -50% -10%, and luminance deviation ratios less than-50% and greater than 50%, can be further determined based on the two thresholds. The specific deviation ratio range may be adjusted according to actual conditions, and is not limited in this application.
Each deviation rate range can correspond to a target brightness adjustment formula, so that the target brightness absolute brightness value of a target pixel point can be more accurately determined. By way of example and not limitation, when the luminance deviation ratio of the target pixel point falls within a deviation ratio range of 10% -50% or-50% -10%, the target luminance adjustment formula may be: target absolute brightness value = absolute brightness value (1-brightness deviation ratio); when the brightness deviation ratio of the target pixel point is less than-50%, the target brightness adjustment formula may be: target absolute brightness value = absolute brightness value x 2; when the brightness deviation rate of the target pixel point is greater than 50%, the target brightness adjustment formula may be: target absolute luminance value = absolute luminance value/2. That is, the target brightness adjustment formula can be determined according to the deviation range to which the deviation ratio of the target pixel belongs.
And C22, determining a target absolute brightness value based on the absolute brightness value and a target adjustment formula.
After determining the target brightness adjustment formula, a target absolute brightness value may be determined based on the absolute brightness value and the target adjustment formula; namely, the absolute brightness value is substituted into the target adjustment formula, and the target absolute brightness value is calculated.
And C23, determining the gray-scale value corresponding to the target absolute brightness value in the gamma curve as a target gray-scale value.
And finding a gray scale value corresponding to the target absolute brightness value from the gamma curve by using the calculated target absolute brightness value, wherein the gray scale value is the target gray scale value. And then, setting the gray-scale value of the target pixel point according to the obtained target gray-scale value, thereby performing brightness compensation on the target pixel point.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
For ease of understanding, the display screen brightness compensation method proposed in the present application is described below in a practical application scenario.
The collected red image is shown in fig. 2, where each square represents a pixel point. Assuming that a preset gray scale value of the collected red picture is i, and the preset condition is that pixel points with the brightness deviation rate larger than 8% or smaller than-8% are target pixel points. Through calculation, if a and b are greater than 8%, and c and d are less than-8%, it can be determined that the brightness deviation ratios of a, b, c and d meet the preset condition, that is, the four pixel points are target pixel points. In the process of brightness compensation, assuming that the range of the brightness deviation rate corresponds to a compensation formula, the absolute brightness value of each target pixel point can be determined from the gamma curve of the fitted red picture according to i. Taking the brightness compensation step of point a as an example, assume that the absolute brightness value of a is determined as a according to i 1 A is to 1 Substituting into the compensation formula to calculate the target absolute brightness value a 2 Then may be according to a 2 And determining a target gray-scale value i 'of a from the gamma curve, and setting the gray-scale value of a by using i', so that the relative brightness value of a is consistent with the relative brightness values of other pixel points. For the brightness compensation of b, c and d, analogy is made to the brightness compensation step of a. After the brightness compensation is completed for the a, the b, the c and the d, the consistency of the brightness value of each pixel point of the pure-color picture can be improved, so that light spots or dark spots caused by a display screen structure are reduced, and the visual experience of a user is improved.
It should be understood that the brightness compensation method for the green picture and the blue picture is the same as the brightness compensation method for the red picture, and will not be described herein.
Therefore, in the embodiment of the application, the brightness deviation rate of each pixel point of the display screen under a pure color picture is calculated, the target pixel point needing to be adjusted is screened out according to the brightness deviation rate, then only local brightness compensation is carried out on the target pixel point, the consistency of the brightness value of each pixel point of the display screen can be improved, light spots or dark spots caused by the structure of the display screen are reduced, and the visual experience of a user is improved.
Fig. 3 shows a block diagram of a display screen brightness compensation device provided in the embodiment of the present application, corresponding to the display screen brightness compensation method described in the above embodiments, and only shows the relevant parts in the embodiment of the present application for convenience of description. Referring to fig. 3, the display panel luminance compensation device 3 includes:
a relative brightness value obtaining module 301, configured to obtain a relative brightness value of each pixel point of the display screen in a pure color picture, where a color displayed in the pure color picture is one of three primary colors;
a brightness deviation ratio calculation module 303, configured to calculate a brightness deviation ratio of each pixel according to the relative brightness value;
a target pixel point determining module 303, configured to determine a pixel point with a brightness deviation ratio meeting a preset condition as a target pixel point;
and the brightness compensation module 304 is configured to perform brightness compensation on the target pixel.
Optionally, the relative brightness value obtaining module 301 may include:
a pure color picture acquisition unit for framing a pure color picture with an image sensor;
and the pixel point analyzing unit is used for analyzing the relative brightness value of each pixel point under the pure color picture through the image sensor.
Optionally, the pixel point analyzing unit may include:
the layout information confirming subunit is used for confirming the layout information of each pixel point in the pure color picture according to the resolution of the display screen;
a photoelectric conversion amount calculation subunit configured to calculate a photoelectric conversion amount of each pixel point based on the layout information by the image sensor;
and the relative brightness value determining subunit is used for determining the relative brightness value of each pixel point according to the photoelectric conversion quantity.
Optionally, the luminance deviation ratio calculating module 303 may include:
the average relative brightness value calculation operator unit is used for calculating the average relative brightness value of the pure color picture according to the relative brightness value;
and the brightness deviation ratio determining unit is used for determining the brightness deviation ratio of each pixel point based on the relative brightness value and the average relative brightness value.
Optionally, the gray level value of the pure color frame is a preset gray level value, and the luminance compensation module 304 may include:
the absolute brightness determining unit is used for determining the absolute brightness value of the target pixel point from a pre-fitted gamma curve based on a preset gray scale value, and the gamma curve records the corresponding relation between different gray scale values and the absolute brightness value under a pure color picture;
the target gray scale value determining unit is used for determining a target gray scale value according to the absolute brightness value of the target pixel point;
and the brightness compensation unit is used for setting the gray-scale value of the target pixel point as a target gray-scale value so as to carry out brightness compensation on the target pixel point.
Optionally, the display screen brightness compensation device 3 may further include:
the fitting data acquisition module is used for acquiring absolute brightness values of the pure color picture respectively corresponding to different gray scale values;
and the curve fitting module is used for fitting according to the corresponding relation between different gray scale values and absolute brightness values to obtain a gamma curve of the pure-color picture.
Optionally, the target gray-scale value determining unit may further include:
the adjustment formula determining subunit is used for determining a target brightness adjustment formula according to the brightness deviation rate of the target pixel point;
a target absolute brightness determining subunit, configured to determine a target absolute brightness value based on the absolute brightness value and a target adjustment formula;
and the target gray-scale value determining subunit is used for determining the gray-scale value corresponding to the target absolute brightness value in the gamma curve as the target gray-scale value.
Therefore, in the embodiment of the application, the brightness deviation rate of each pixel point of the display screen under a pure color picture is calculated, the target pixel point needing to be adjusted is screened out according to the brightness deviation rate, then only local brightness compensation is carried out on the target pixel point, the consistency of the brightness value of each pixel point of the display screen can be improved, light spots or dark spots caused by the structure of the display screen are reduced, and the visual experience of a user is improved.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 4, the electronic apparatus 4 of this embodiment includes: at least one processor 40 (only one shown in fig. 4), a memory 41, and a computer program 42 stored in memory 41 and executable on at least one processor 40, the steps of any of the above-described exercise regimen generation method embodiments, such as steps 101-104 shown in fig. 1, being implemented by processor 40 when computer program 42 is executed.
The Processor 40 may be a Central Processing Unit (CPU), and the Processor 40 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may in some embodiments be an internal storage unit of the electronic device 4, such as a hard disk or a memory of the electronic device 4. The memory 41 may also be an external storage device of the electronic device 4 in other embodiments, such as a plug-in hard disk provided on the electronic device 4, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 41 may also include both an internal storage unit of the terminal device 4 and an external storage device. The memory 41 is used for storing an operating device, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of a computer program. The memory 41 may also be used to temporarily store data that has been output or is to be output. It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/electronic device, a recording medium, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-drive, a removable hard drive, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (8)
1. A method for compensating brightness of a display screen, the method comprising:
acquiring the relative brightness value of each pixel point of a display screen under a pure color picture, wherein the color displayed by the pure color picture is one of three primary colors;
calculating the brightness deviation rate of each pixel point according to the relative brightness value;
determining the pixel points with the brightness deviation ratio meeting the preset condition as target pixel points;
performing brightness compensation on the target pixel point;
the gray scale value of the pure-color picture is a preset gray scale value, and the performing brightness compensation on the target pixel point comprises the following steps:
determining the absolute brightness value of the target pixel point from a pre-fitted gamma curve based on the preset gray scale value, wherein the gamma curve records the corresponding relation between different gray scale values and absolute brightness values of the pure-color picture;
determining a target brightness adjustment formula from a preset brightness adjustment formula according to a deviation ratio range to which the brightness deviation ratio of the target pixel belongs, wherein the deviation ratio ranges R1, R2, R3 and R4 are respectively determined based on preset thresholds TH1, TH2, TH3 and TH4, TH1 < TH2 < 0 < TH3 < TH4, R1 is a range less than TH1, R2 is a range greater than TH1 and less than TH2, R3 is a range greater than TH3 and less than TH4, R4 is a range greater than TH4, and the brightness adjustment formulas corresponding to R2 and R3 are: target absolute brightness value = absolute brightness value (1 — brightness deviation ratio), and the brightness adjustment formula corresponding to R1 is: target absolute brightness value = absolute brightness value × 2, and the brightness adjustment formula corresponding to R4 is: target absolute luminance value = absolute luminance value/2;
determining a target absolute brightness value based on the absolute brightness value and the target adjustment formula;
determining a gray-scale value corresponding to the target absolute brightness value in the gamma curve as a target gray-scale value;
and setting the gray-scale value of the target pixel point as a target gray-scale value so as to perform brightness compensation on the target pixel point.
2. The method for compensating brightness of a display screen according to claim 1, wherein the obtaining the relative brightness value of each pixel point of the display screen in the pure color picture comprises:
framing the pure color picture by using an image sensor;
and analyzing the relative brightness value of each pixel point under the pure color picture through the image sensor.
3. The method for compensating brightness of a display screen according to claim 2, wherein said analyzing the relative brightness value of each pixel point under the pure color picture by the image sensor comprises:
confirming the layout information of each pixel point of the pure-color picture according to the resolution of the display screen;
calculating, by the image sensor, a photoelectric conversion amount of each of the pixel points based on the layout information;
and determining the relative brightness value of each pixel point according to the photoelectric conversion quantity.
4. The display screen brightness compensation method of any one of claims 1-3, wherein the calculating the brightness deviation ratio of each pixel point according to the relative brightness value comprises:
calculating the average relative brightness value of the pure color picture according to the relative brightness value;
and determining the brightness deviation ratio of each pixel point based on the relative brightness value and the average relative brightness value.
5. The display screen brightness compensation method of claim 1, wherein the gamma curve is fitted by:
acquiring absolute brightness values respectively corresponding to the pure color pictures under different gray scale values;
and fitting according to the corresponding relation between the different gray-scale values and the absolute brightness values to obtain a gamma curve of the pure-color picture.
6. A display screen brightness compensation apparatus, comprising:
the device comprises a relative brightness value acquisition module, a comparison module and a display module, wherein the relative brightness value acquisition module is used for acquiring the relative brightness value of each pixel point of a display screen under a pure color picture, and the color displayed by the pure color picture is one of three primary colors;
the brightness deviation ratio calculation module is used for calculating the brightness deviation ratio of each pixel point according to the relative brightness value;
the target pixel point determining module is used for determining the pixel points with the brightness deviation ratio meeting the preset conditions as target pixel points;
the brightness compensation module is used for performing brightness compensation on the target pixel point;
the brightness compensation module comprises an absolute brightness value determining unit, a target gray value determining unit and a brightness compensation unit, wherein the target gray value determining unit comprises an adjustment formula determining subunit, a target absolute brightness value determining subunit and a target gray value determining subunit:
the absolute brightness value determining unit is configured to determine an absolute brightness value of the target pixel point from a pre-fitted gamma curve based on the preset gray scale value, where the gamma curve records a corresponding relationship between different gray scale values and absolute brightness values of the pure-color picture;
the adjustment formula determining subunit is configured to determine a target brightness adjustment formula from a preset brightness adjustment formula according to a deviation ratio range to which a brightness deviation ratio of the target pixel belongs, where the deviation ratio ranges R1, R2, R3, and R4 are determined based on preset thresholds TH1, TH2, TH3, and TH4, respectively, TH1 is greater than TH2 and less than 0 and TH3 and less than TH4, R1 is a range smaller than TH1, R2 is a range greater than TH1 and smaller than TH2, R3 is a range greater than TH3 and smaller than TH4, R4 is a range greater than TH4, and the brightness adjustment formulas corresponding to R2 and R3 are: target absolute brightness value = absolute brightness value (1 — brightness deviation ratio), and the brightness adjustment formula corresponding to R1 is: target absolute brightness value = absolute brightness value × 2, and the brightness adjustment formula corresponding to R4 is: target absolute luminance value = absolute luminance value/2;
the target absolute brightness value determining subunit is configured to determine a target absolute brightness value based on the absolute brightness value and the target adjustment formula;
the target gray-scale value determining subunit is configured to determine a gray-scale value corresponding to the target absolute brightness value in the gamma curve as a target gray-scale value;
the brightness compensation unit is used for setting the gray scale value of the target pixel point as a target gray scale value so as to perform brightness compensation on the target pixel point.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the display screen brightness compensation method according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out a display screen brightness compensation method according to any one of claims 1 to 5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110459230.4A CN113241030B (en) | 2021-04-27 | 2021-04-27 | Display screen brightness compensation method and device and electronic equipment |
PCT/CN2021/119189 WO2022227379A1 (en) | 2021-04-27 | 2021-09-18 | Display screen brightness compensation method and apparatus, electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110459230.4A CN113241030B (en) | 2021-04-27 | 2021-04-27 | Display screen brightness compensation method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113241030A CN113241030A (en) | 2021-08-10 |
CN113241030B true CN113241030B (en) | 2022-12-16 |
Family
ID=77129310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110459230.4A Active CN113241030B (en) | 2021-04-27 | 2021-04-27 | Display screen brightness compensation method and device and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113241030B (en) |
WO (1) | WO2022227379A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113241030B (en) * | 2021-04-27 | 2022-12-16 | 广东小天才科技有限公司 | Display screen brightness compensation method and device and electronic equipment |
CN114140336B (en) * | 2021-10-08 | 2022-09-16 | 中国安全生产科学研究院 | Infrared image-based dead pixel processing method and device |
CN114323581A (en) * | 2021-12-21 | 2022-04-12 | 合肥维信诺科技有限公司 | Method and device for evaluating display effect of screen body to be tested, storage medium and electronic equipment |
CN114255699B (en) * | 2022-01-28 | 2023-06-23 | 惠州视维新技术有限公司 | Display screen picture compensation method and device and display equipment |
CN117529767A (en) * | 2022-04-14 | 2024-02-06 | 京东方科技集团股份有限公司 | Display defect repairing method of display panel and display device |
CN114913825B (en) * | 2022-05-16 | 2023-08-11 | 惠科股份有限公司 | Compensation method and device for panel abnormal display points and computer readable medium |
CN115311997A (en) * | 2022-08-29 | 2022-11-08 | 京东方科技集团股份有限公司 | Vehicle-mounted display screen driving method and device and vehicle |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013205763A (en) * | 2012-03-29 | 2013-10-07 | Canon Inc | Display device and control method therefor |
CN106023927A (en) * | 2016-07-15 | 2016-10-12 | 深圳市华星光电技术有限公司 | Method of correcting Gamma voltages and white dots of replacement RGBW panel |
CN106228940A (en) * | 2016-08-21 | 2016-12-14 | 上海创功通讯技术有限公司 | Eliminate the method and system of band |
CN111754935A (en) * | 2020-06-29 | 2020-10-09 | 合肥维信诺科技有限公司 | Display panel compensation method and device and display device |
WO2020253311A1 (en) * | 2019-06-20 | 2020-12-24 | 华为技术有限公司 | Brightness compensation method and device of display panel, display panel and storage medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102448094B1 (en) * | 2015-11-27 | 2022-09-29 | 삼성디스플레이 주식회사 | Display device and its driving method |
CN106128405B (en) * | 2016-09-06 | 2018-10-09 | 武汉华星光电技术有限公司 | A kind of system and method for the pure color picture brightness of adjustment RGBW panels |
CN106412549B (en) * | 2016-10-28 | 2018-07-20 | 京东方科技集团股份有限公司 | Brightness of image method of adjustment and device |
CN108510965B (en) * | 2018-05-03 | 2019-10-11 | 武汉天马微电子有限公司 | Display brightness compensation method, device and system |
CN108831374B (en) * | 2018-06-22 | 2020-06-30 | 京东方科技集团股份有限公司 | Pixel luminance compensation method and device |
CN110148375B (en) * | 2019-06-28 | 2022-07-19 | 云谷(固安)科技有限公司 | Mura compensation method and device of display panel |
CN111883058B (en) * | 2020-08-17 | 2021-10-22 | 武汉天马微电子有限公司 | Display panel brightness compensation method and device and display device |
CN113241030B (en) * | 2021-04-27 | 2022-12-16 | 广东小天才科技有限公司 | Display screen brightness compensation method and device and electronic equipment |
-
2021
- 2021-04-27 CN CN202110459230.4A patent/CN113241030B/en active Active
- 2021-09-18 WO PCT/CN2021/119189 patent/WO2022227379A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013205763A (en) * | 2012-03-29 | 2013-10-07 | Canon Inc | Display device and control method therefor |
CN106023927A (en) * | 2016-07-15 | 2016-10-12 | 深圳市华星光电技术有限公司 | Method of correcting Gamma voltages and white dots of replacement RGBW panel |
CN106228940A (en) * | 2016-08-21 | 2016-12-14 | 上海创功通讯技术有限公司 | Eliminate the method and system of band |
WO2020253311A1 (en) * | 2019-06-20 | 2020-12-24 | 华为技术有限公司 | Brightness compensation method and device of display panel, display panel and storage medium |
CN111754935A (en) * | 2020-06-29 | 2020-10-09 | 合肥维信诺科技有限公司 | Display panel compensation method and device and display device |
Also Published As
Publication number | Publication date |
---|---|
WO2022227379A1 (en) | 2022-11-03 |
CN113241030A (en) | 2021-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113241030B (en) | Display screen brightness compensation method and device and electronic equipment | |
US11849224B2 (en) | Global tone mapping | |
US11120757B2 (en) | Gray scale adjustment method and device for display panel | |
CN112530347B (en) | Method, device and equipment for determining compensation gray scale | |
US8538147B2 (en) | Methods and appartuses for restoring color and enhancing electronic images | |
CN110322830B (en) | LED screen brightness correction method and device | |
CN103856721A (en) | Apparatus and method for calculating flicker-evaluation value | |
CN105047145A (en) | Backlight brightness control method, backlight brightness control device and display terminal | |
US8111290B2 (en) | Radiometric calibration using temporal irradiance mixtures | |
KR101917094B1 (en) | Fast smog and dark image improvement method and apparatus by using mapping table | |
CN108806638B (en) | Image display method and device | |
CN113223466B (en) | Display screen brightness correction method and device and electronic equipment | |
CN111898532A (en) | An image processing method, device, electronic equipment and monitoring system | |
CN107395991A (en) | Image combining method, device, computer-readable recording medium and computer equipment | |
CN107464225B (en) | Image processing method, apparatus, computer-readable storage medium, and mobile terminal | |
US7809210B2 (en) | Smart grey level magnifier for digital display | |
CN111031256B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
WO2017187827A1 (en) | Irregularity evaluating method and irregularity evaluating device | |
CN108600631A (en) | Image processing method, image processing device, computer-readable storage medium and electronic equipment | |
WO2022087809A1 (en) | Lens distortion correction for image processing | |
CN114125302A (en) | Image adjustment method and device | |
CN109040743B (en) | Method and device for testing random noise point of camera and readable storage medium | |
EP3848682A1 (en) | Coating-color-evaluation-image generation method and generation program and coating-color-evaluation-image generation device | |
JP2010278680A (en) | Specific color detection circuit | |
CN116612146B (en) | Image processing method, device, electronic equipment and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230830 Address after: 523860 No. 168 Dongmen Middle Road, Xiaobian Community, Chang'an Town, Dongguan City, Guangdong Province Patentee after: Guangdong GENIUS Technology Co., Ltd. Address before: 523860 No. 168 Dongmen Middle Road, Xiaobian Community, Chang'an Town, Dongguan City, Guangdong Province Patentee before: Guangdong GENIUS Technology Co., Ltd. Patentee before: GUANGDONG AIMENG ELECTRONIC TECHNOLOGY CO.,LTD. |