Display brightness compensation method, brightness compensation factor acquisition method and related device

By using compensation factors to adjust the pixel value in the display, the problem of uneven brightness caused by uneven backlight sources is solved, and a more uniform brightness distribution and a more natural display effect is achieved.

CN119207330APending Publication Date: 2024-12-27GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310756653.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-25
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Non-luminous display devices have uneven brightness provided by the backlight, resulting in uneven brightness of the display screen, affecting the display effect and user experience.

Method used

By obtaining the compensation factor of each pixel point of the display, compensating the pixel value according to the compensation factor in inverse proportion to the brightness value, adjusting the driving voltage of the liquid crystal to change the light transmittance, and achieving brightness uniformity.

Benefits of technology

It effectively improves the uneven brightness phenomenon, improves the brightness uniformity of the display screen, avoids color distortion, and improves the display effect and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119207330A_ABST
    Figure CN119207330A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of display, in particular to a display brightness compensation method, a brightness compensation factor acquisition method, display equipment, computer equipment and a storage medium. The method comprises the steps that a display image is acquired, the pixel value of each pixel point in the display image is compensated according to the compensation factor of each pixel point of the display, the brightness of the display is adjusted based on the compensated pixel value of each pixel point, and the compensation factor of each pixel point is inversely proportional to the brightness value of each pixel point in a non-uniform image of the display. According to the brightness compensation method provided by the embodiment of the invention, the pixel value of each pixel point in the display image is compensated by using the compensation factor of the display, and the brightness value of the pixel point with the relatively low brightness value before compensation can be increased through the compensation factor, and the brightness value of the pixel point with the relatively high brightness value before compensation can be decreased through the compensation factor. Therefore, the phenomenon that the pixel points are too bright or too dark can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of display technology, and in particular to a display brightness compensation method, a brightness compensation factor acquisition method, a display device, a computer device, and a storage medium. Background Art

[0002] Non-luminous display devices require a backlight source to achieve display functions. When the brightness provided by the backlight source is uneven, it is easy to cause uneven brightness of the displayed image, thereby affecting the display effect and user experience. Summary of the invention

[0003] The embodiments of the present application provide a display brightness compensation method, a brightness compensation factor acquisition method, a display device, a computer device and a storage medium, which can improve the uneven brightness of a display screen.

[0004] In a first aspect, an embodiment of the present application provides a display brightness compensation method, the method comprising:

[0005] Get the display image;

[0006] Compensating the pixel value of each pixel in the displayed image according to the compensation factor of each pixel of the display, wherein the compensation factor of the pixel is inversely proportional to the brightness value of the pixel in the uneven image of the display;

[0007] The brightness of the display is adjusted based on the compensated pixel value of each pixel point.

[0008] In some embodiments, the pixel value includes an R value, a G value, and a B value;

[0009] The compensating the pixel value of each pixel in the displayed image according to the compensation factor of each pixel of the display includes:

[0010] The R value, G value and B value of each pixel in the displayed image are multiplied by the compensation factor corresponding to the pixel.

[0011] Using the compensation factor of the pixel to compensate for the values ​​of its three channels R (red), G (green) and B (blue) can not only improve the phenomenon of uneven brightness, but also will not change the original color of the pixel, avoiding color distortion.

[0012] In some embodiments, the compensation factor of the pixel is also proportional to a target brightness value, and the target brightness value includes an average brightness value of each pixel in the non-uniform image.

[0013] The compensation factor is inversely proportional to the brightness value of the pixel in the uneven image and directly proportional to the average brightness value. That is, the compensation factor of the pixel with a lower brightness value (i.e., the darker area) is larger, while the compensation factor of the pixel with a higher brightness value (i.e., the brighter area) is smaller. Through such a compensation factor, the brightness value of the pixel with a lower brightness value before compensation can be increased, and the brightness value of the pixel with a higher brightness value before compensation can be reduced, thereby improving the phenomenon of the pixel being too bright or too dark, and making the brightness value of each pixel after compensation tend to the average brightness value of the displayed image. Such a compensation strategy helps to balance the brightness distribution of the image and make its brightness more uniform.

[0014] In some embodiments, the compensation factor is:

[0015] K i,j =average_light÷Y i,j ;

[0016] Among them, Y i,j represents the brightness value of the pixel in the i-th row and j-th column of the uneven image, average_light represents the average brightness value, k i,j Represents the compensation factor of the pixel in the i-th row and j-th column.

[0017] In a second aspect, an embodiment of the present application provides a method for obtaining a display brightness compensation factor, comprising:

[0018] Obtain the brightness value of each pixel in the uneven image displayed on the display;

[0019] A compensation factor for each pixel is obtained based on the brightness value of each pixel, and the compensation factor for the pixel is inversely proportional to the brightness value of the pixel.

[0020] In some embodiments, the compensation factor is also proportional to a target brightness value, and the target brightness value includes an average brightness value of each pixel in the non-uniform image.

[0021] By obtaining the compensation factor from the non-uniform image, the compensation factor can truly reflect the brightness uniformity of the display device. The compensation factor is inversely proportional to the brightness value of the pixel and proportional to the average brightness value. That is, the pixel with a lower brightness value (i.e., the darker area) will obtain a larger compensation factor, while the pixel with a higher brightness value (i.e., the brighter area) will obtain a smaller compensation factor. After compensation, the brightness value of each pixel can tend to the average brightness value of the displayed image. Such a compensation strategy helps to balance the brightness distribution of the image and make its brightness more uniform.

[0022] In some embodiments, the compensation factor is:

[0023] K i,j=average_light÷Y i,j ;

[0024] Among them, Y i,j represents the brightness value of the pixel in the i-th row and j-th column of the uneven image, average_light represents the average brightness value, k i,j Represents the compensation factor of the pixel in the i-th row and j-th column.

[0025] In some embodiments, the method further comprises:

[0026] Acquire an image captured by a photographing device and output by a display device;

[0027] Obtaining a brightness variance value of the image;

[0028] If the brightness variance value is greater than or equal to a first variance threshold, it is determined that the image is a non-uniform image.

[0029] In a third aspect, an embodiment of the present application provides a display device, including:

[0030] monitor;

[0031] A processor and a memory communicatively connected to the processor;

[0032] The memory stores computer program instructions, which, when called by the processor, enable the processor to execute the above method.

[0033] In a fourth aspect, an embodiment of the present application provides a computer device, including:

[0034] A processor and a memory communicatively connected to the processor;

[0035] The memory stores computer program instructions, which, when called by the processor, enable the processor to execute the method according to the second aspect.

[0036] In a fifth aspect, the present application further provides a storage medium storing computer executable instructions, wherein the computer executable instructions are used to enable a processor to execute the method as described above.

[0037] Compared with the prior art, the brightness compensation method of the embodiment of the present application uses the compensation factor of the display to compensate the pixel value of each pixel in the displayed image, wherein the compensation factor is inversely proportional to the brightness value of the pixel in the uneven image of the display. That is, the compensation factor of the pixel with a lower brightness value (i.e., the darker area) in the uneven image is larger, while the compensation factor of the pixel with a higher brightness value (i.e., the brighter area) is smaller. Through such a compensation factor, the brightness value of the pixel with a lower brightness value before compensation can be increased, and the brightness value of the pixel with a higher brightness value before compensation can be decreased, thereby improving the phenomenon of the pixel being too bright or too dark, making the brightness value of each pixel tend to be balanced, and improving the brightness unevenness phenomenon. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0039] Figure 1a A schematic diagram of the structure of a brightness compensation system according to an embodiment of the present application;

[0040] Figure 1b A schematic diagram of the structure of a brightness compensation system according to an embodiment of the present application;

[0041] Figure 2a A schematic diagram of the hardware structure of a display device according to an embodiment of the present application;

[0042] Figure 2b A schematic diagram of the hardware structure of a computer device according to an embodiment of the present application;

[0043] Figure 3 A schematic diagram of a flow chart of a method for obtaining a display brightness compensation factor provided in an embodiment of the present application;

[0044] Figure 4 A schematic flow chart of a display brightness compensation method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be described clearly and in detail in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0046] The technical features involved in the various embodiments of the present application described below do not conflict with each other and can be combined with each other.

[0047] Furthermore, although the device schematic diagram is divided into functional modules and the flowchart shows a logical order, in some cases, the steps may be divided into modules different from those in the device or may be executed in an order different from that shown in the flowchart.

[0048] The words "first", "second", "third", etc. used in this document do not limit the data, devices and execution order, but are only used to distinguish the same or similar items with basically the same functions and effects.

[0049] Unless otherwise defined, the technical and scientific terms used herein have the same meanings as those generally understood by those skilled in the art. The terms used in the specification are only for describing specific embodiments and are not intended to limit the present application. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0050] Non-luminous display devices need backlight to achieve the display function. Taking liquid crystal display as an example, the backlight is used to provide light source. By adjusting the driving voltage of liquid crystal and controlling the transmittance of liquid crystal, the luminous flux of the backlight can be controlled. Generally, the greater the transmittance, the greater the luminous flux, and the brighter the pixel brightness of the display screen seen by the human eye.

[0051] When the brightness provided by the backlight source is uneven, it is easy to cause uneven brightness of the display screen. Therefore, it is necessary to compensate the brightness of the display screen to make it uniform.

[0052] The brightness of the pixel observed by our eyes depends on the brightness of the backlight source on the one hand, and on the transmittance of each pixel of the display on the other hand. Existing brightness compensation methods usually achieve local or overall brightness compensation by adjusting the brightness of the backlight source. The embodiment of the present application compensates for the uneven brightness caused by the backlight source by changing the transmittance of the pixel points of the display. For example, by compensating the pixel value of the pixel point in the displayed image and adjusting the driving voltage of the liquid crystal based on the pixel value, the light transmittance of the pixel point is changed to change the brightness of the pixel point.

[0053] Specifically, a compensation factor can be obtained for each pixel of a display in a display device. When the display displays an image, the display image is analyzed to obtain the pixel value of each pixel in the display image, and the compensation factor corresponding to each pixel is used to compensate the pixel value of each pixel. By adjusting the brightness of the display based on the pixel value of each pixel after compensation (for example, adjusting the driving voltage of the liquid crystal), the pixel points with too bright or too dark brightness can be improved, and the brightness uniformity of the display screen can be improved.

[0054] The pixels of the display refer to the pixels of the display panel, such as the pixels of the liquid crystal panel. The pixels of the display correspond one-to-one to the pixels of the display screen or the displayed image, and the number and position of each pixel depends on the resolution of the display. For example, if the resolution of the display is 1024×540, the liquid crystal panel can be divided into 1024×540 pixels, and correspondingly, the display screen or the displayed image can also be divided into 1024×540 pixels.

[0055] In some embodiments, the compensation factor for each pixel of the display can be Figure 1a The brightness compensation system 1000 shown in FIG. Figure 1a As shown, the brightness compensation system 1000 includes a display device 100, a shooting device 200 and a computer device 300. The display device 100 is used to output an image, the shooting device 200 is used to capture the image output by the display device, and the computer device 300 is used to analyze the image, obtain an uneven image, and obtain a compensation factor for each pixel of the display based on the uneven image. It can be understood that the display of the display device 100 includes a plurality of pixels, and the compensation factor corresponding to each pixel can be obtained by this method.

[0056] The obtained compensation factor can be written into the memory of the display device 100. When the display device 100 displays a picture, the display image can be obtained, and the pixel values ​​of the pixels of the display image can be compensated using the compensation factors of each pixel point, and the brightness of the display can be adjusted based on the compensated pixel values ​​of each pixel point.

[0057] By obtaining the compensation factor through the non-uniform image, the compensation factor can truly reflect the brightness distribution of the display device, such as which pixels are too bright and which pixels are too dark. When the display device displays the picture, the brightness of the display picture is compensated based on the compensation factor, which can improve the uneven brightness of the display picture.

[0058] In the above embodiment, the compensation factor is obtained by the computer device 300, and the display device 100 uses the compensation factor obtained by the computer device 300 to perform brightness compensation on its display. Figure 1b The brightness compensation system 1000 may also include only the display device 100 and the shooting device 200. After the shooting device 200 obtains the image output by the display device 100, the image is transmitted to the display device 100. The display device 100 obtains the uneven image, analyzes the uneven image, and obtains the compensation factor of each pixel. When displaying the picture, the compensation factor is used to compensate the brightness of its display.

[0059] The display device 100 may be any electronic device having a display, such as an interactive smart device, including an interactive smart tablet, a large-screen smart display device, a tablet computer, a personal computer, a laptop, a smart phone, etc.

[0060] The photographing device 200 may be a device with an image acquisition function, such as a digital camera or a webcam, such as a CCD camera, a CMOS camera, etc. The computer device may be a device with a computing function, such as a server, a tablet computer, a personal computer, a laptop, a smart phone, etc.

[0061] Figure 2a shows a hardware structure of a display device. Figure 2a The display device 100 includes a processor 10, a memory 20 and a display 30, and the processor 10, the memory 20 and the display 30 are connected via a line. Figure 2a In the illustrated embodiment, the processor 10, the memory 20 and the display 30 are connected via a bus.

[0062] The memory 20 is used to store software programs, computer executable program instructions, etc. The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the display device, etc.

[0063] The memory 20 may be a read-only memory (ROM), or other types of static storage devices that can store static information and instructions, or a random access memory (RAM), or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), and the specifics are not limited here.

[0064] Exemplarily, the aforementioned memory 20 may be a double data rate synchronous dynamic random access memory DDRSDRAM (DDR for short). The memory 20 may exist independently but be connected to the processor 10. Optionally, the memory 20 may also be integrated with the processor 10. For example, integrated into one or more chips.

[0065] In some embodiments, the memory 20 may include a memory remotely located relative to the processor 10, and the remote memory may be connected to the display device via a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0066] The processor 10 uses various interfaces and lines to connect various parts of the entire display device 100, and executes various functions of the display device and processes data by running or executing software programs stored in the memory 20, and calling data stored in the memory 20, such as implementing the display brightness compensation method described in any embodiment of the present application.

[0067] The processor 10 may be a field programmable gate array (FPGA), a digital signal processor (DSP), a central processing unit (CPU), or the like.

[0068] The processor 10 may be a single-core processor or a multi-core processor. For example, the processor 10 may be composed of multiple FPGAs or multiple DSPs. In addition, the processor 10 may refer to one or more devices, circuits and / or processing cores for processing data (e.g., computer program instructions). The processor 10 may be a separate semiconductor chip or may be integrated into a semiconductor chip together with other circuits. For example, the processor 10 may form a system-on-a-chip (SoC) with other circuits (e.g., codec circuits, hardware acceleration circuits, or various buses and interface circuits), or may be integrated into an application specific integrated circuit (ASIC) as a built-in processor of the ASIC. The ASIC with the integrated processor may be packaged separately or packaged together with other circuits.

[0069] Figure 2a The display 30 is only schematically shown to be connected to the bus. In actual applications, the display 30 can also be connected to the bus through a display controller or other interfaces.

[0070] Figure 2b FIG. 3 shows a hardware structure of a computer device 300. Figure 2b The computer device 300 includes a second processor 301 and a second memory 302, and the second processor 301 and the second memory 302 are connected via a line.

[0071] The second memory 302 is used to store software programs, computer executable program instructions, etc. The second memory 302 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the computer device 300, etc.

[0072] The second memory 302 can be a read-only memory (ROM), or other types of static storage devices that can store static information and instructions, or a random access memory (RAM), or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), and the specifics are not limited here.

[0073] Exemplarily, the second memory 302 may be a double data rate synchronous dynamic random access memory DDRSDRAM (DDR for short). The second memory 302 may exist independently but be connected to the second processor 301. Optionally, the second memory 302 may also be integrated with the second processor 301. For example, integrated into one or more chips.

[0074] In some embodiments, the second memory 302 may optionally include a memory remotely located relative to the second processor 301, and these remote memories may be connected to the computer device 300 via a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0075] The second processor 301 uses various interfaces and lines to connect various parts of the entire computer device 300, and executes various functions and processes data of the computer device 300 by running or executing software programs stored in the second memory 302, and calling data stored in the second memory 302, such as implementing the display brightness compensation factor acquisition method described in any embodiment of the present application.

[0076] The second processor 301 may be a field programmable gate array (FPGA), a digital signal processor (DSP), a central processing unit (CPU), or the like.

[0077] The second processor 301 may be a single-core processor or a multi-core processor. For example, the second processor 301 may be composed of multiple FPGAs or multiple DSPs. In addition, the second processor 301 may refer to one or more devices, circuits and / or processing cores for processing data (e.g., computer program instructions). The second processor 301 may be a separate semiconductor chip or may be integrated into a semiconductor chip together with other circuits. For example, the second processor 301 may form a system-on-a-chip (SoC) with other circuits (e.g., codec circuits, hardware acceleration circuits, or various buses and interface circuits), or may be integrated into the ASIC as a built-in processor of an application specific integrated circuit (ASIC). The ASIC with the integrated processor may be packaged separately or may be packaged together with other circuits.

[0078] Those skilled in the art will appreciate that the above is merely an example of the hardware structure of a display device and a computer device. In actual applications, more components may be provided according to actual functional requirements. Of course, one or more components may be omitted according to functional requirements.

[0079] The following describes a method for obtaining a display brightness compensation factor according to an embodiment of the present application. The method can be executed by the display device 100 or the computer device 300 (the following description takes the computer device 300 as an example). Figure 3 , the method comprising:

[0080] 101: Obtain the brightness value of each pixel in the uneven image displayed by the display.

[0081] The non-uniform image refers to an image with non-uniform brightness distribution, which can be obtained by a computer device in any suitable manner. It can be a non-uniform image output by a display device obtained in advance and stored in a memory of the computer device, and the computer device can directly read the non-uniform image from the memory.

[0082] In other embodiments, a photographing device may photograph an image output by a display device and transmit the image to a computer device, and the computer device obtains a non-uniform image through analysis and judgment.

[0083] Specifically, the brightness variance value can be used to evaluate the uniformity of the brightness distribution of the image, and the brightness variance value of the image can be compared with the first variance threshold to determine whether the image is an uneven image. If the brightness variance value of the image is greater than or equal to the first variance threshold, it means that the brightness distribution of the image is uneven, and the image is determined to be an uneven image. If the brightness variance value of the image is less than the first variance threshold, it means that the brightness distribution of the image is relatively uniform, and the image is determined to be a normal image. The first variance threshold can be determined by a person skilled in the art according to actual application requirements and experience.

[0084] In some embodiments, the calculation formula of the brightness variance value of the image is as follows:

[0085] D=Σ((Y i,j -average_light) 2 ) / (M*N);

[0086] Where D represents the brightness variance, M and N represent the number of rows and columns of the image, average_light represents the average brightness value of the image, Σ((Y i,j -average_light) 2 ) represents the sum of the squares of the differences between the brightness value of each pixel in the image and the average brightness value.

[0087] The image output by the display device is composed of a plurality of pixels, each of which has a pixel value, such as an RGB value, etc. The brightness value of the pixel can be obtained by the pixel value of the pixel. In some embodiments, the brightness value is obtained by the values ​​of the three channels of R (red), G (green) and B (blue), and the compensation factor is calculated accordingly. The obtained compensation factor is also used to compensate the RGB value of the pixel. This compensation method can not only improve the uneven brightness, but also does not change the original color of the pixel.

[0088] Specifically, the brightness value can be calculated using the following formula:

[0089] Y=0.299*R+0.587*G+0.114*B;

[0090] Among them, Y represents the brightness value of the pixel, and R, G and B represent the red, green and blue channel values ​​of the pixel respectively. This formula is based on the weight distribution of the human eye's sensitivity to different colors to obtain a more accurate brightness representation.

[0091] 102: Obtain a compensation factor for each pixel based on the brightness value of each pixel.

[0092] Among them, the compensation factor of each pixel is inversely proportional to the brightness value of the pixel. It can be understood that by obtaining the compensation factor through the uneven image, the compensation factor can truly reflect the brightness distribution of the display device. The compensation factor is inversely proportional to the brightness value of the pixel, that is, the pixel with a lower brightness value (i.e., the darker area) will obtain a larger compensation factor, and the pixel with a higher brightness value (i.e., the brighter area) will obtain a smaller compensation factor. Through such a compensation factor, the brightness value of the pixel with a lower brightness value before compensation can be increased, and the brightness value of the pixel with a higher brightness value before compensation can be reduced, thereby improving the phenomenon of the pixel being too bright or too dark, and making the brightness value of each pixel tend to be balanced.

[0093] In other embodiments, the compensation factor may also be proportional to the target brightness value, so that the brightness value of each pixel after compensation can approach a certain brightness value, thereby achieving a balanced display of the display.

[0094] Among them, the target brightness value can be the average brightness value of each pixel in the non-uniform image, including the global average brightness value or the local average brightness value of the non-uniform image. It can also be the maximum brightness value or the minimum brightness value of the non-uniform image. Taking the target brightness value as the average brightness value of the non-uniform image as an example, the compensation factor of each pixel can be proportional to the average brightness value and inversely proportional to the brightness value of each pixel. The compensation factor is proportional to the average brightness value of the non-uniform image and inversely proportional to the brightness value of the pixel. In addition to improving the uneven brightness of the display screen, it can also make the brightness value of each pixel tend to the average brightness value of the display image, achieving a natural and undistorted display.

[0095] For example, the compensation factor is:

[0096] K i,j =average_light÷Y i,j ;

[0097] Among them, Y i,j represents the brightness value of the pixel in the i-th row and j-th column of the uneven image, k i,j Represents the compensation factor of the pixel in the i-th row and j-th column.

[0098] In other embodiments, a constant other than 0 may be set for the above formula based on specific application conditions, for example:

[0099] K i,j =c*(average_light÷Y i,j ), where c is a non-zero constant.

[0100] The average brightness value of each pixel can be obtained by weighted average or arithmetic average. In some embodiments, the average brightness value of the image can be obtained by summing the brightness values ​​of all pixels in the image and then dividing it by the total number of pixels. The mathematical formula used is:

[0101] average_light=(ΣY i,j ) / (M*N);

[0102] Among them, ΣY i,j It represents the sum of the brightness values ​​of all pixels in the image, and M and N represent the number of rows and columns of the image respectively.

[0103] The following describes a display brightness compensation method according to an embodiment of the present application. The method can be executed by the display device in the above embodiment. Figure 4 As shown, the method includes:

[0104] 201: Get the display image.

[0105] The display image may be an image that needs to be displayed on a display.

[0106] 202: Compensate the pixel value of each pixel in the displayed image according to the compensation factor of each pixel of the display.

[0107] The pixel value is, for example, an RGB value.

[0108] Each pixel of the display has a corresponding compensation factor, and the compensation factor of each pixel is a constant and can be stored in the memory of the display device in advance. When compensating the pixel value of each pixel in the displayed image, the corresponding compensation factor can be selected to compensate the pixel value of the pixel. In some embodiments, the compensation factor of the display can be stored in the memory in the form of a matrix.

[0109] The compensation factor of each pixel may be inversely proportional to the brightness value corresponding to the pixel in the non-uniform image output by the display device.

[0110] The compensation factor is inversely proportional to the brightness value of the pixel in the uneven image, that is, the compensation factor of the pixel with a lower brightness value (i.e., the darker area) is larger, while the compensation factor of the pixel with a higher brightness value (i.e., the brighter area) is smaller. Through such a compensation factor, the brightness value of the pixel with a lower brightness value before compensation can be increased, and the brightness value of the pixel with a higher brightness value before compensation can be reduced, thereby improving the phenomenon of the pixel being too bright or too dark. Such a compensation strategy helps to balance the brightness distribution of the image and make its brightness more uniform.

[0111] In other embodiments, the compensation factor may also be proportional to the target brightness value, so that the brightness value of each pixel after compensation can approach a certain brightness value, thereby achieving balanced display of the display.

[0112] The target brightness value may be the average brightness value of each pixel in the non-uniform image, including the global average brightness value or the local average brightness value of the non-uniform image, or the maximum brightness value or the minimum brightness value of the non-uniform image.

[0113] Taking the target brightness value as the average brightness value of the non-uniform image as an example, the compensation factor of each pixel can be proportional to the average brightness value and inversely proportional to the brightness value of each pixel. The compensation factor is proportional to the average brightness value of the non-uniform image and inversely proportional to the brightness value of the pixel. In addition to improving the uneven brightness of the displayed image, it can also make the brightness value of each pixel tend to the average brightness value of the displayed image, achieving a natural and undistorted display. The method for obtaining the non-uniform image and obtaining the compensation factor can refer to the compensation factor acquisition method in the above embodiment, which will not be repeated here.

[0114] In some embodiments, the R value, G value, and B value of each pixel in the displayed image are compensated according to the compensation factor of each pixel of the display. For example, the R value, G value, and B value of each pixel are multiplied by the compensation factor corresponding to each pixel to calculate the compensated pixel value:

[0115] R comp_i,j =R i,j *k i,j ;

[0116] G comp_i,j =G i,j *k i,j ;

[0117] B comp_i,j =B i,j *k i,j ;

[0118] Among them, R comp_i,j , G comp_i,j and B comp_i,j are the R value, G value and B value of the pixel point in the i-th row and j-th column of the displayed image after compensation, respectively. i,j , G i,j and B i,j are respectively the R value, G value and B value of the pixel point in the i-th row and j-th column of the displayed image before compensation.

[0119] Using the compensation factor of the pixel to compensate for the values ​​of its three channels R (red), G (green) and B (blue) can not only improve the phenomenon of uneven brightness, but also will not change the original color of the pixel, avoiding color distortion.

[0120] In some embodiments, in order to prevent the compensated pixel value from exceeding the valid range (0-255), the calculation result can also be truncated. For example, when the compensated pixel value is less than 0, it is set to 0; when the compensated pixel value is greater than 255, it is set to 255. The processing formula is as follows:

[0121] R comp_i,j =min(max(R comp_i,j ,0),255);

[0122] G comp_i,j =min(max(G comp_i,j ,0),255);

[0123] B comp_i,j =min(max(B comp_i,j ,0),255).

[0124] 203: Adjust the brightness of the display based on the compensated pixel value of each pixel point.

[0125] Taking the example that the pixel value includes three-channel R value, G value and B value and the display is a liquid crystal display, the driving voltage of the liquid crystal can be adjusted based on the compensated R value, G value and B value to adjust the brightness of the display.

[0126] In the embodiment of the present application, the pixel value of each pixel can be compensated according to the compensation factor of each pixel, so that the brightness distribution of the entire image becomes more uniform, thereby eliminating or reducing the brightness unevenness. The image processed by brightness compensation can present a more natural and comfortable viewing experience on various display devices.

[0127] The present application also provides a storage medium, wherein the storage medium stores computer executable instructions, and the computer executable instructions are executed by one or more processors, such as Figure 2a a processor 10, or, Figure 2b The second processor 301 in the embodiment may enable the one or more processors to execute the method in any of the above method embodiments.

[0128] An embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a machine, the machine executes the method of any of the above embodiments.

[0129] Through the description of the above implementation methods, ordinary technicians in this field can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Ordinary technicians in this field can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0130] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present application as described above, which are not provided in detail for the sake of simplicity. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A display brightness compensation method, characterized in that: The method comprises: Get the display image; Compensating the pixel value of each pixel in the displayed image according to the compensation factor of each pixel of the display, wherein the compensation factor of the pixel is inversely proportional to the brightness value of the pixel in the uneven image of the display; The brightness of the display is adjusted based on the compensated pixel value of each pixel point, and the pixel points of the display correspond one-to-one with the pixel points of the displayed image.

2. The method according to claim 1, characterized in that The pixel value includes an R value, a G value and a B value; The compensating the pixel value of each pixel in the displayed image according to the compensation factor of each pixel of the display includes: The R value, G value and B value of each pixel in the displayed image are multiplied by the compensation factor corresponding to the pixel.

3. The method according to claim 1 or 2, characterized in that: The compensation factor of the pixel point is also proportional to the target brightness value, and the target brightness value includes the average brightness value of each pixel point in the non-uniform image.

4. The method according to claim 3, characterized in that The compensation factor is: K i,j =average_light÷Y i,j ; Among them, Y i,j represents the brightness value of the pixel at the i-th row and j-th column of the uneven image, average_light represents the average brightness value, k i,j Represents the compensation factor of the pixel in the i-th row and j-th column.

5. A method for obtaining a display brightness compensation factor, characterized in that: include: Obtaining the brightness value of each pixel in the uneven image displayed by the display; A compensation factor of each pixel is obtained based on the brightness value of each pixel, and the compensation factor of each pixel is inversely proportional to the brightness value of the pixel.

6. The method according to claim 5, characterized in that The compensation factor is also proportional to a target brightness value, and the target brightness value includes an average brightness value of each pixel in the non-uniform image.

7. The method according to claim 6, characterized in that The compensation factor is: K i,j =average_light÷Y i,j ; Among them, Y i,j represents the brightness value of the pixel at the i-th row and j-th column of the uneven image, average_light represents the average brightness value, k i,j Represents the compensation factor of the pixel in the i-th row and j-th column.

8. The method according to claim 6 or 7, characterized in that: The method further comprises: Acquire an image captured by a photographing device and output by a display device; Obtaining a brightness variance value of the image; If the brightness variance value is greater than or equal to a first variance threshold, it is determined that the image is a non-uniform image.

9. A display device, characterized in that: include: monitor; A processor and a memory communicatively connected to the processor; The memory stores computer program instructions, which, when called by the processor, enable the processor to execute the method according to any one of claims 1 to 8.

10. A computer device, characterized in that: include: A processor and a memory communicatively connected to the processor; The memory stores computer program instructions, which, when called by the processor, enable the processor to execute the method according to any one of claims 5 to 8.

11. A storage medium, characterized in that: The storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a processor to execute the method according to any one of claims 1 to 8.