Pixel brightness compensation method and apparatus, and computer medium and display device
By adjusting the brightness enhancement coefficient in the local lighting backlight system, the image display distortion problem caused by pixel brightness compensation is solved, and better image contrast and details are achieved, and the display effect is improved.
Patent Information
- Application Number
- PCT/CN2024/092837
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-26
- Filing Date
- 2024-05-13
- Publication Date
- 2025-01-30
AI Technical Summary
In local dimming backlight systems, pixel brightness compensation is likely to cause image display distortion (clipping), especially in 8-bit display systems, the maximum compensation gray level is limited.
By determining the total number, initial brightness and brightness enhancement coefficient of the pixels corresponding to the backlight partition, calculate the target brightness, and adjust the brightness enhancement coefficient according to the comparison of the distortion and the preset threshold to avoid distortion.
Effectively avoid image display distortion, improve the contrast and detail of the image, and improve the display effect.
Smart Images

Figure CN2024092837_30012025_PF_FP_ABST
Abstract
Description
Pixel brightness compensation method, device, computer medium and display device
[0001] Related applications
[0002] This application claims priority to Chinese patent application No. 2023109273018 filed on July 26, 2023, entitled “Pixel brightness compensation method, device, computer medium and display device”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application belongs to the technical field of display screens, and in particular relates to a pixel brightness compensation method, apparatus, computer medium, and display device. Background Art
[0004] Local dimming is a display backlight system technology that reduces overall backlight brightness. However, to minimize the resulting loss of image brightness and detail, a pixel compensation algorithm is used to compensate for this loss according to specific rules. This process not only restores image brightness but also helps increase image contrast. However, the pixel compensation value is not infinite. For example, in an 8-bit display system, the maximum compensated grayscale level is 255, which can ultimately lead to image distortion (clipping) due to insufficient compensation.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to ordinary technicians in this field.
[0006] Summary of the Invention
[0007] The present application provides a pixel brightness compensation method, apparatus, computer medium, and display device, which can, to a certain extent, solve the problem of image display distortion during pixel compensation in related technologies.
[0008] According to one aspect of an embodiment of the present application, a pixel brightness compensation method is provided, the method comprising:
[0009] Determine the total number N of pixels corresponding to the backlight partition all , the initial brightness of each pixel in the backlight partition and the brightness enhancement coefficient corresponding to the backlight partition;
[0010] Based on the total number N all , the initial brightness and brightness enhancement coefficient of each pixel point, and determine the target brightness of each pixel point in the backlight partition;
[0011] Determine the number N of pixels in the backlight partition whose target brightness is equal to the maximum brightnessover ;
[0012] Based on the total number N all and number N over , determine the distortion of the backlight partition;
[0013] comparing the distortion level with a preset threshold;
[0014] When the distortion is greater than the preset threshold, the brightness enhancement coefficient is adjusted according to the preset rules, and the execution is returned based on the total number N all , the initial brightness and brightness enhancement coefficient of each pixel point, and determine the target brightness of each pixel point in the backlight partition;
[0015] When the distortion is less than or equal to the preset threshold, the brightness enhancement coefficient is determined as the target brightness enhancement coefficient.
[0016] In another embodiment provided in this application, based on the total number N all , the initial brightness and brightness enhancement coefficient of each pixel point, determine the target brightness of each pixel point in the backlight partition, including: based on the initial brightness of each pixel point, statistically obtain the total initial brightness of all pixel points in the backlight partition; based on the total number N all And the total initial brightness, determine the average brightness of the backlight partition; according to the formula: P'(x,y) = A×P local +P(x,y), calculate the target brightness; where P′(x,y) is the target brightness, A is the brightness enhancement coefficient, P local is the average brightness, and P(x,y) is the initial brightness.
[0017] In another embodiment provided in the present application, determining the brightness enhancement coefficient corresponding to the backlight partition includes: obtaining the correction coefficient corresponding to the backlight partition; determining the maximum display brightness of the pixel point corresponding to the backlight partition; and determining the brightness enhancement coefficient based on the average brightness, the correction coefficient and the maximum display brightness.
[0018] In another embodiment provided in the present application, determining the brightness enhancement coefficient based on the average brightness, the correction coefficient, and the maximum display brightness includes: according to the formula: Calculate the brightness enhancement coefficient; where A is the brightness enhancement coefficient, P max For the highest display brightness, P local is the average brightness, and k is the correction coefficient.
[0019] In another embodiment provided in the present application, the brightness enhancement coefficient is adjusted according to a preset rule, including: recording the number of times the distortion is greater than a preset threshold; obtaining a preset correction difference for the backlight partition; calculating the correction coefficient corresponding to each time the distortion is greater than the preset threshold based on the correction coefficient, the number of times and the preset correction difference; and returning to execute based on the average brightness, the correction coefficient and the maximum display brightness to determine the brightness enhancement coefficient.
[0020] In another embodiment provided in this application, based on the total number N all and number N over , determine the distortion of the backlight partition, including: according to the formula: The distortion degree CP is calculated.
[0021] In another embodiment provided in the present application, the method further includes: determining the grayscale signal corresponding to each pixel point based on the correspondence between the target brightness and the grayscale signal; inputting the corresponding grayscale signal to each pixel point so that each pixel point displays the corresponding target brightness.
[0022] According to one aspect of an embodiment of the present application, a pixel brightness compensation device is provided, including:
[0023] Information determination module, used to determine the total number N of pixels corresponding to the backlight partition all , the initial brightness of each pixel in the backlight partition and the brightness enhancement coefficient corresponding to the backlight partition;
[0024] Target brightness determination module, used based on the total number N all , the initial brightness and brightness enhancement coefficient of each pixel point, and determine the target brightness of each pixel point in the backlight partition;
[0025] The pixel determination module is used to determine the number N of pixels in the backlight partition whose target brightness is equal to the maximum brightness. over ;
[0026] Distortion determination module, used for determining the total number N all and number N over , determine the distortion of the backlight partition;
[0027] A distortion comparison module, used to compare the distortion with a preset threshold;
[0028] The first execution module is used to adjust the brightness enhancement coefficient according to the preset rule when the distortion is greater than the preset threshold, and return to execute based on the total number N all , the initial brightness and brightness enhancement coefficient of each pixel point, and determine the target brightness of each pixel point in the backlight partition;
[0029] The second execution module is configured to determine the brightness enhancement coefficient as the target brightness enhancement coefficient when the distortion is less than or equal to a preset threshold.
[0030] According to one aspect of an embodiment of the present application, a computer medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any one of the pixel brightness compensation methods provided in the present application is implemented.
[0031] According to one aspect of an embodiment of the present application, a display device is provided, comprising: a display screen; and at least one processor and a memory, wherein the at least one processor is configured to process a computer program stored in the memory to implement any one of the pixel brightness compensation methods provided in the present application.
[0032] In the technical solution of this application, this application is based on the total number N all , the initial brightness and brightness enhancement coefficient of each pixel point, determine the target brightness of each pixel point in the backlight partition; determine the number N of pixels in the backlight partition whose target brightness is equal to the maximum brightness over ; Based on the total number N all and number N over , determine the distortion of the backlight partition; compare the distortion with the preset threshold; when the distortion is greater than the preset threshold, adjust the brightness enhancement coefficient according to the preset rule, and return to execute based on the total number N all , the initial brightness and brightness enhancement coefficient of each pixel point, determine the target brightness of each pixel point in the backlight partition; when the distortion is less than or equal to the preset threshold, the brightness enhancement coefficient is determined as the target brightness enhancement coefficient. Through the above method, the present application continuously adjusts the brightness enhancement coefficient to obtain the target brightness enhancement coefficient when the distortion is less than or equal to the preset threshold, and then determines the corresponding target brightness of each pixel, so that more pixels are displayed at maximum brightness without causing picture distortion, while ensuring the contrast and details of the picture, and improving the display effect of the product.
[0033] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can derive other drawings based on these drawings without inventive effort.
[0035] FIG1 schematically shows a structural diagram of a display device during local dimming.
[0036] FIG2 schematically shows a flow chart of a pixel brightness compensation method provided in an embodiment of the present application.
[0037] FIG. 3 schematically shows the effect of displaying an image when the display device does not perform pixel compensation.
[0038] FIG. 4 schematically shows the effect of displaying an image when the display device performs pixel compensation but does not correct the brightness enhancement coefficient.
[0039] FIG5 schematically shows the effect of displaying an image when the display device performs pixel compensation and corrects the brightness enhancement coefficient.
[0040] FIG6 schematically shows a structural diagram of a pixel brightness compensation device provided in an embodiment of the present application.
[0041] FIG7 schematically shows a structural diagram of a display device provided in an embodiment of the present application.
[0042] FIG8 schematically shows a structural block diagram of a computer system for implementing a display device according to an embodiment of the present application. DETAILED DESCRIPTION
[0043] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be thorough and complete and will fully convey the concepts of the example embodiments to those skilled in the art.
[0044] FIG1 schematically shows a structural diagram of a display device during local dimming.
[0045] As shown in Figure 1, local dimming requires the image input module 110 to extract pixel data and brightness features from the input image. Pixel data includes the brightness of each pixel in the image and the number of pixels in the image. Brightness features include average brightness, maximum brightness, and grayscale histogram. The pixel compensation module 120 determines the pixel compensation value corresponding to each pixel based on the pixel data of the input image sent by the image input module 110, generating compensated pixel data. The pixel compensation module 120 then transmits the compensated pixel data to the LCD panel 140 for display. The backlight adjustment module 130 determines the backlight brightness based on the brightness features of the input image sent by the image input module 110. The backlight adjustment module 130 then creates a diffusion model of the backlight source within the light mixing cavity of the backlight module 150. This model analyzes and calculates the backlight distribution projected onto the LCD panel 140 after the backlight changes, generating the backlight brightness of each pixel. Ultimately, the image displayed on the LCD panel 140 is the result of the combined effects of the adjusted backlight and the compensated pixel data.
[0046] It should be understood that the pixel brightness compensation method provided in each embodiment of the present application performs pixel compensation on an input image.
[0047] As shown in FIG2 , the present application provides a pixel brightness compensation method, which includes S210 to S270, specifically including:
[0048] S210: Determine the total number N of pixels corresponding to the backlight partition. all , the initial brightness of each pixel in the backlight partition and the brightness enhancement coefficient corresponding to the backlight partition.
[0049] Specifically, in the local dimming technology, the backlight module of the display device is divided into multiple backlight partitions, and the display effect of each backlight partition is adjusted to achieve a better display effect.
[0050] The brightness enhancement coefficient is a parameter used to adjust the display brightness of each pixel in the backlight partition.
[0051] After inputting the original image, this embodiment obtains the pixel data of the original image, obtains the total number of pixel points in the area corresponding to the backlight partition, the initial brightness of each pixel point in the backlight partition and the brightness enhancement coefficient corresponding to the backlight partition, so as to perform subsequent pixel brightness compensation steps.
[0052] In another embodiment provided in the present application, determining the brightness enhancement coefficient corresponding to the backlight partition includes: obtaining the correction coefficient corresponding to the backlight partition; determining the maximum display brightness of the pixel point corresponding to the backlight partition; and determining the brightness enhancement coefficient based on the average brightness, the correction coefficient and the maximum display brightness.
[0053] Specifically, the correction coefficient is a parameter used to determine the brightness intensity coefficient. When determining the average brightness and maximum display brightness of pixels in a backlight partition, the corresponding brightness enhancement coefficient can be obtained by setting the value of the correction coefficient.
[0054] In another embodiment provided in the present application, determining the brightness enhancement coefficient based on the average brightness, the correction coefficient, and the maximum display brightness includes: according to the formula: Calculate the brightness enhancement coefficient; where A is the brightness enhancement coefficient, P max For the highest display brightness, P local is the average brightness, and k is the correction coefficient.
[0055] For example, for an 8-bit display system, the average brightness P of all pixels in a backlight partition is local 200 nits, maximum display brightness P max is 600 nits, and the correction coefficient k is 0.1, then the brightness enhancement coefficient
[0056] In other embodiments of the present application, the brightness enhancement coefficient can be determined by other calculation formulas, and the present application does not limit this.
[0057] S220, based on the total number N all , the initial brightness of each pixel and the brightness enhancement coefficient, and determine the target brightness of each pixel in the backlight partition.
[0058] Specifically, the target brightness of each pixel is the target brightness determined based on the current brightness enhancement coefficient. It should be understood that after adjusting the brightness enhancement coefficient, the target brightness of each pixel will also change accordingly until a brightness enhancement coefficient that meets the preset conditions is obtained. all Based on the initial brightness of each pixel, we can obtain brightness parameters such as the average brightness, maximum pixel brightness, and minimum pixel brightness of each pixel in the backlight partition. Based on different display effects, different brightness parameters can be selected to determine the target brightness of the pixel. The above brightness parameters can also be further processed to obtain different brightness enhancement coefficients to achieve different display effects.
[0059] In another embodiment provided in this application, based on the total number N all , the initial brightness and brightness enhancement coefficient of each pixel point, determine the target brightness of each pixel point in the backlight partition, including: based on the initial brightness of each pixel point, statistically obtain the total initial brightness of all pixel points in the backlight partition; based on the total number N all And the total initial brightness, determine the average brightness of the backlight partition; according to the formula: P'(x,y) = A×P local +P(x,y), calculate the target brightness; where P′(x,y) is the target brightness, A is the brightness enhancement coefficient, P local is the average brightness, and P(x,y) is the initial brightness.
[0060] Specifically, this embodiment determines the target brightness of each pixel by an average algorithm based on the total number N all and the total initial brightness P all , determine the average brightness of the backlight partition
[0061] For example, P local The brightness enhancement coefficient A is 0.477, the initial brightness P(x, y) is 400 nits, then the target brightness P′(x, y) = 0.477×200+400 = 495.4 nits.
[0062] S230: Determine the number N of pixels in the backlight partition whose target brightness is equal to the maximum brightness. over .
[0063] Specifically, after obtaining the target brightness, it is necessary to determine the distortion of the backlight partition. If the number of pixels with target brightness equal to the maximum brightness in the backlight partition is too large, it will lead to loss of image details. Therefore, it is necessary to determine the number N of pixels with target brightness equal to the maximum brightness in the backlight partition. over to determine whether the target brightness meets the display effect.
[0064] S240, based on the total number N all and number N over , determine the distortion of the backlight partition.
[0065] Specifically, distortion is a performance parameter that characterizes a product when displaying an image. Distortion can be calculated using a variety of formulas. In this application, the formula is: The distortion degree CP is calculated.
[0066] For example, the total number N all is 50, the number N over If it is 10, the distortion
[0067] S250: Compare the distortion with a preset threshold.
[0068] Specifically, the preset threshold is a preset threshold of distortion, for example, the preset threshold is set to 2% distortion acceptable to human eyes, and then the distortion CP is compared with 2% to obtain a comparison result corresponding to the corresponding distortion.
[0069] S260, when the distortion is greater than the preset threshold, adjust the brightness enhancement coefficient according to the preset rule, and return to execute based on the total number N all , the initial brightness of each pixel and the brightness enhancement coefficient, and determine the target brightness of each pixel in the backlight partition.
[0070] Specifically, when the distortion exceeds a preset threshold, it indicates that too many pixels have a display brightness equal to the maximum brightness, and the brightness enhancement factor needs to be readjusted to determine a new target brightness. For example, by reducing the brightness enhancement factor, the compensated brightness of each pixel becomes smaller, and the target brightness of each pixel decreases, thereby reducing the number of pixels with a target brightness equal to the maximum brightness.
[0071] In another embodiment provided in the present application, the brightness enhancement coefficient is adjusted according to a preset rule, including: recording the number of times the distortion is greater than a preset threshold; obtaining a preset correction difference for the backlight partition; calculating the correction coefficient corresponding to each time the distortion is greater than the preset threshold based on the correction coefficient, the number of times and the preset correction difference; and returning to execute based on the average brightness, the correction coefficient and the maximum display brightness to determine the brightness enhancement coefficient.
[0072] Specifically, the preset correction difference can affect the magnitude of the change in the correction coefficient, and thus the magnitude of the change in the brightness enhancement coefficient, thus affecting the degree of refinement of pixel brightness compensation for the input image. When the distortion exceeds a preset threshold, the correction coefficient is incremented by the preset correction difference to obtain a new correction coefficient. The preset correction difference added each time the distortion exceeds the preset threshold remains unchanged. Based on the number of times the distortion exceeds the preset threshold, the correction coefficient, and the preset correction difference, the correction coefficient corresponding to each time the distortion exceeds the preset threshold can be calculated.
[0073] For example, when the distortion exceeds the preset threshold for the first time, the correction coefficient is 0, the preset correction difference is 0.1, and the new correction coefficient is equal to 0 + 0.1 = 0.1. When the distortion exceeds the preset threshold for the second time, the correction coefficient is 0.1, the preset correction difference is 0.1, and the new correction coefficient is equal to 0.1 + 0.1 = 0.2.
[0074] It should be understood that the correction coefficient can be obtained by adding, multiplying, or combining multiple calculation methods with the preset correction difference to obtain a new correction coefficient, and this application does not impose any restrictions on this.
[0075] S270: When the distortion is less than or equal to the preset threshold, determine the brightness enhancement coefficient as the target brightness enhancement coefficient.
[0076] Specifically, when the distortion is less than or equal to a preset threshold, for example, when the distortion is less than 2%, the brightness enhancement coefficient at this time is determined as the target brightness enhancement coefficient, and the target brightness of each pixel at this time is the display brightness of each pixel after compensation.
[0077] In the technical solution of this application, this application is based on the total number N all , the initial brightness and brightness enhancement coefficient of each pixel point, determine the target brightness of each pixel point in the backlight partition; determine the number N of pixels in the backlight partition whose target brightness is equal to the maximum brightness over ; Based on the total number N all and number N over , determine the distortion of the backlight partition; compare the distortion with the preset threshold; when the distortion is greater than the preset threshold, adjust the brightness enhancement coefficient according to the preset rule, and return to execute based on the total number N all, the initial brightness and brightness enhancement coefficient of each pixel point, determine the target brightness of each pixel point in the backlight partition; when the distortion is less than or equal to the preset threshold, the brightness enhancement coefficient is determined as the target brightness enhancement coefficient. Through the above method, the present application continuously adjusts the brightness enhancement coefficient to obtain the target brightness enhancement coefficient when the distortion is less than or equal to the preset threshold, and then determines the corresponding target brightness of each pixel, so that more pixels are displayed at maximum brightness without causing excessive distortion of the picture, while ensuring the contrast and details of the picture, thereby improving the display effect of the product.
[0078] As shown in Figure 3, it is a schematic diagram of the effect of displaying an image when the display device does not perform pixel compensation. Figure 4 is a schematic diagram of the effect of displaying an image when the display device performs pixel compensation but does not correct the brightness enhancement coefficient. Figure 5 is a schematic diagram of the effect of displaying an image when the display device performs pixel compensation and corrects the brightness enhancement coefficient. The white areas in Figures 3, 4 and 5 represent the highlighted areas in the image, and the black areas and gray areas represent the areas with lower brightness in the image. It can be seen that the area of the highlighted area in Figure 5 is smaller than that of the highlighted area in Figure 4, and is closer to the display effect of the original image in Figure 3. Therefore, the present application can ensure the contrast and details of the picture at the same time and improve the display effect of the product by continuously adjusting the brightness enhancement coefficient and then continuously adjusting the target brightness of each pixel point.
[0079] In another embodiment provided in the present application, the method further includes: determining the grayscale signal corresponding to each pixel point based on the correspondence between the target brightness and the grayscale signal; inputting the corresponding grayscale signal to each pixel point so that each pixel point displays the corresponding target brightness.
[0080] Specifically, after determining the target brightness of each pixel point, for example, when the target brightness of a pixel point is higher, the pulse duration of the grayscale signal corresponding to the pixel point is longer; and when the target brightness of another pixel point is lower, the pulse duration of the grayscale signal corresponding to the pixel point is shorter; by adjusting the pulse duration of the grayscale signal, the display brightness of each pixel point can be controlled to be equal to the target brightness.
[0081] As shown in FIG6 , the present application provides a pixel brightness compensation device, comprising:
[0082] Information determination module 610, used to determine the total number N of pixels corresponding to the backlight partition all , the initial brightness of each pixel in the backlight partition and the brightness enhancement coefficient corresponding to the backlight partition;
[0083] The target brightness determination module 620 is configured to determine the target brightness based on the total number N all , the initial brightness and brightness enhancement coefficient of each pixel point, and determine the target brightness of each pixel point in the backlight partition;
[0084] The pixel determination module 630 is used to determine the number N of pixels in the backlight partition whose target brightness is equal to the maximum brightness. over ;
[0085] The distortion determination module 640 is configured to determine the distortion based on the total number N all and number N over , determine the distortion of the backlight partition;
[0086] a distortion comparison module 650, configured to compare the distortion with a preset threshold;
[0087] The first execution module 660 is used to adjust the brightness enhancement coefficient according to a preset rule when the distortion is greater than a preset threshold, and return to execute the total number N all , the initial brightness and brightness enhancement coefficient of each pixel point, and determine the target brightness of each pixel point in the backlight partition;
[0088] The second execution module 670 is configured to determine the brightness enhancement coefficient as the target brightness enhancement coefficient when the distortion is less than or equal to a preset threshold.
[0089] In another embodiment provided by the present application, the target brightness determination module 620 includes: a brightness statistics unit for obtaining the total initial brightness of all pixels in the backlight partition based on the initial brightness of each pixel; an average brightness calculation unit for obtaining the total initial brightness of all pixels in the backlight partition based on the total number N all and the total initial brightness to determine the average brightness of the backlight partition; the target brightness calculation unit is used to calculate the target brightness according to the formula: P'(x,y) = A × P local +P(x,y), calculate the target brightness; where P′(x,y) is the target brightness, A is the brightness enhancement coefficient, P local is the average brightness, and P(x,y) is the initial brightness.
[0090] In another embodiment provided in the present application, the information determination module 610 includes: a correction coefficient acquisition unit for acquiring the correction coefficient corresponding to the backlight partition; a brightness determination unit for determining the maximum display brightness of the pixel point corresponding to the backlight partition; and a coefficient determination unit for determining the brightness enhancement coefficient based on the average brightness, the correction coefficient and the maximum display brightness.
[0091] In another embodiment provided by the present application, the coefficient determination unit is further configured to determine the coefficient according to the formula: Calculate the brightness enhancement coefficient; where A is the brightness enhancement coefficient, P max For the highest display brightness, P local is the average brightness, and k is the correction coefficient.
[0092] In another embodiment provided in the present application, the first execution module 660 includes: a number recording unit, used to record the number of times the distortion is greater than a preset threshold; a difference acquisition unit, used to obtain a preset correction difference of the backlight partition; a correction coefficient calculation unit, used to calculate the correction coefficient corresponding to each time the distortion is greater than the preset threshold based on the correction coefficient, the number of times and the preset correction difference; and a return execution unit, used to return to execution and determine the brightness enhancement coefficient based on the average brightness, the correction coefficient and the maximum display brightness.
[0093] In another embodiment provided by the present application, the distortion determination module 640 includes: a distortion calculation unit, configured to calculate the distortion according to the formula: The distortion degree CP is calculated.
[0094] In another embodiment provided in the present application, the device also includes: a grayscale signal adjustment module, which is used to determine the grayscale signal corresponding to each pixel point based on the correspondence between the target brightness and the grayscale signal; and input the corresponding grayscale signal to each pixel point so that each pixel point displays the corresponding target brightness.
[0095] As shown in Figure 7, the present application provides a display device, which includes: a display screen 710; and at least one processor 720 and a memory 730. The at least one processor 720 is used to process the computer program stored in the memory 730 to implement any pixel brightness compensation method provided in the present application.
[0096] Specifically, the processor 720 executes the computer program stored in the memory 730 to control the brightness of the image displayed on the display screen 710. The specific details of the display device provided in this application have been described in detail in the corresponding method embodiment and will not be repeated here.
[0097] FIG8 schematically shows a structural block diagram of a computer system for implementing a display device according to an embodiment of the present application.
[0098] It should be noted that the computer system 800 of the display device shown in FIG8 is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0099] As shown in Figure 8, the computer system 800 includes a processor 801, which can be a CPU (Central Processing Unit) or an MCU (Microcontroller Unit). The processor 801 can perform various appropriate actions and processes according to the program stored in the read-only memory 802 (Read-Only Memory, ROM) or the program loaded from the storage part 808 into the random access memory 803 (Random Access Memory, RAM). Various programs and data required for system operation are also stored in the random access memory 803. The central processing unit 801, the read-only memory 802 and the random access memory 803 are connected to each other via a bus 804. The input / output interface 805 (Input / Output interface, i.e., I / O interface) is also connected to the bus 804.
[0100] The following components are connected to the input / output interface 805: an input section 806 including a keyboard, a mouse, and the like; an output section 807 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 808 including a hard disk; and a communication section 809 including a network interface card such as a local area network card or a modem. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 810 as needed, so that a computer program read therefrom can be installed into the storage section 808 as needed.
[0101] In particular, according to an embodiment of the present application, the processes described in the various method flow charts can be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for executing the methods shown in the flow charts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 809 and / or installed from a removable medium 811. When the computer program is executed by the central processing unit 801, the various functions defined in the system of the present application are performed.
[0102] It should be noted that the computer-readable medium shown in the embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0103] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of the boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0104] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiment of the application, the features and functions of two or more modules or units described above can be concretized in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.
[0105] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the embodiments according to the present application.
[0106] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of this application and include common knowledge or customary techniques in the art that are not disclosed herein.
[0107] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A pixel brightness compensation method, the method comprising: Determine the total number of pixels N corresponding to the backlight partition all , the initial brightness of each pixel of the backlight partition and the brightness enhancement coefficient corresponding to the backlight partition; Based on the total number N all , the initial brightness of each pixel and the brightness enhancement coefficient, and determine the target brightness of each pixel of the backlight partition; Determine the number N of pixels in the backlight partition whose target brightness is equal to the maximum brightness over ; Based on the total number N all and the number N over , determining the distortion of the backlight partition; comparing the distortion with a preset threshold; When the distortion is greater than a preset threshold, the brightness enhancement coefficient is adjusted according to a preset rule, and the execution is returned based on the total number N all , the initial brightness of each pixel and the brightness enhancement coefficient, and determine the target brightness of each pixel of the backlight partition; When the distortion is less than or equal to a preset threshold, the brightness enhancement coefficient is determined as a target brightness enhancement coefficient.
2. The pixel brightness compensation method according to claim 1, wherein: The total number N based on all , the initial brightness of each pixel and the brightness enhancement coefficient, and determining the target brightness of each pixel of the backlight partition, including: Based on the initial brightness of each pixel, the total initial brightness of all pixels in the backlight subarea is obtained by counting; Based on the total number N all and the total initial brightness, determining the average brightness of the backlight partitions; According to the formula: P′(x,y)=A×P local +P(x,y), calculate the target brightness; where P′(x,y) is the target brightness, A is the brightness enhancement coefficient, P local is the average brightness, and P(x, y) is the initial brightness.
3. The pixel brightness compensation method according to claim 2, wherein: The determining of the brightness enhancement coefficient corresponding to the backlight partition includes: Obtaining a correction coefficient corresponding to the backlight partition; Determine the maximum display brightness of the pixel points corresponding to the backlight partition; The brightness enhancement coefficient is determined based on the average brightness, the correction coefficient and the maximum display brightness.
4. The pixel brightness compensation method according to claim 3, wherein: The step of determining the brightness enhancement coefficient based on the average brightness, the correction coefficient and the maximum display brightness includes: According to the formula: The brightness enhancement coefficient is calculated; wherein A is the brightness enhancement coefficient, P max is the maximum display brightness, P local is the average brightness, and k is the correction coefficient.
5. The pixel brightness compensation method according to claim 3, wherein: The adjusting the brightness enhancement coefficient according to a preset rule includes: Recording the number of times the distortion is greater than a preset threshold; Obtaining a preset correction difference value of the backlight partition; Based on the correction coefficient, the number of times and the preset correction difference, a correction coefficient corresponding to each time when the distortion is greater than a preset threshold is calculated; Returning to the execution, determining the brightness enhancement coefficient based on the average brightness, the correction coefficient and the maximum display brightness.
6. The pixel brightness compensation method according to claim 1, wherein: The total number N based on all and the number N over , determining the distortion of the backlight partition, comprising: According to the formula: The distortion degree CP is obtained by calculation.
7. The pixel brightness compensation method according to claim 1, wherein: The method further comprises: Based on the correspondence between the target brightness and the grayscale signal, determining the grayscale signal corresponding to each pixel; A corresponding grayscale signal is input to each pixel point so that each pixel point displays a corresponding target brightness.
8. The pixel brightness compensation method according to claim 1, wherein: The brightness enhancement coefficient is a parameter used to adjust the display brightness of each pixel in the backlight subarea.
9. The pixel brightness compensation method according to claim 1, wherein: The target brightness of each pixel is a target brightness determined based on a current brightness enhancement coefficient.
10. A pixel brightness compensation device, wherein: include: Information determination module, used to determine the total number N of pixels corresponding to the backlight partition all , the initial brightness of each pixel of the backlight partition and the brightness enhancement coefficient corresponding to the backlight partition; A target brightness determination module is used to determine the target brightness based on the total number N all , the initial brightness of each pixel and the brightness enhancement coefficient, and determine the target brightness of each pixel of the backlight partition; A pixel point determination module is used to determine the pixel point whose target brightness in the backlight partition is equal to the maximum brightness. The number of prime points N over ; A distortion determination module is used to determine the total number N all and the number N over , determining the distortion of the backlight partition; A distortion comparison module, used for comparing the distortion with a preset threshold; The first execution module is used for adjusting the brightness enhancement coefficient according to a preset rule when the distortion is greater than a preset threshold, and returning to execute based on the total number N all , the initial brightness of each pixel and the brightness enhancement coefficient, and determine the target brightness of each pixel of the backlight partition; The second execution module is used to determine the brightness enhancement coefficient as a target brightness enhancement coefficient when the distortion is less than or equal to a preset threshold.
11. The pixel brightness compensation device according to claim 10, wherein: The target brightness determination module comprises: A brightness statistics unit, used for obtaining the total initial brightness of all pixels in the backlight subarea based on the initial brightness of each pixel; An average brightness calculation unit is used to calculate the average brightness based on the total number N all and the total initial brightness, determining an average brightness of the backlight partition; and The target brightness calculation unit is used to calculate the target brightness according to the formula: P′(x,y)=A×P local +P(x,y), calculate the target brightness; where P′(x,y) is the target brightness, A is the brightness enhancement coefficient, P local is the average brightness, and P(x, y) is the initial brightness.
12. The pixel brightness compensation device according to claim 11, wherein: The information determination module comprises: A correction coefficient acquisition unit, used to acquire the correction coefficient corresponding to the backlight partition; A brightness determination unit, used to determine the maximum display brightness of the pixel points corresponding to the backlight partition; A coefficient determination unit is used to determine the brightness enhancement coefficient based on the average brightness, the correction coefficient and the maximum display brightness.
13. The pixel brightness compensation device according to claim 12, wherein: The coefficient determination unit is also used to determine the coefficient according to the formula: The brightness enhancement coefficient is calculated; wherein A is the brightness enhancement coefficient, P max is the maximum display brightness, P local is the average brightness, and k is the correction coefficient.
14. The pixel brightness compensation device according to claim 12, wherein: The first execution module includes: A times recording unit, used to record the times when the distortion is greater than a preset threshold; A difference acquisition unit, used for acquiring a preset correction difference of the backlight partition; a correction coefficient calculation unit, configured to calculate, based on the correction coefficient, the number of times and the preset correction difference, a correction coefficient corresponding to each time when the distortion degree is greater than a preset threshold; and The return execution unit is used to return to the execution of determining the brightness enhancement coefficient based on the average brightness, the correction coefficient and the maximum display brightness.
15. The pixel brightness compensation device according to claim 10, wherein: The distortion determination module includes: a distortion calculation unit, configured to calculate the distortion according to the formula: The distortion degree CP is calculated.
16. The pixel brightness compensation device according to claim 10, wherein: The device also includes: a grayscale signal adjustment module, which is used to determine the grayscale signal corresponding to each pixel point based on the corresponding relationship between the target brightness and the grayscale signal; and input the corresponding grayscale signal to each pixel point so that each pixel point displays the corresponding target brightness.
17. The pixel brightness compensation device according to claim 10, wherein: The brightness enhancement coefficient is a parameter used to adjust the display brightness of each pixel in the backlight subarea.
18. The pixel brightness compensation device according to claim 10, wherein: The target brightness of each pixel is a target brightness determined based on a current brightness enhancement coefficient.
19. A computer medium having stored thereon a computer program, wherein: When the computer program is executed by a processor, the pixel brightness compensation method described in any one of claims 1 to 9 is implemented.
20. A display device, wherein: include: Display screen; as well as At least one processor and a memory, wherein the at least one processor is used to process a computer program stored in the memory to implement the pixel brightness compensation method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Backlight brightness compensation method and display device
CN103310765A
Image enhancement method and device, readable storage medium and computer device
CN109191394A
Brightness correction method and device of display panel and display equipment
CN114863886A
Image display method and device, electronic equipment and computer readable storage medium
CN116168652A
Pixel brightness compensation method and device, computer medium and display equipment
CN116884355A
Cited By
Optical module ghosting compensation method and device, equipment and medium
CN121353122A