A pixel compensation method and device for area dimming
By dynamically calculating the pixel compensation coefficient, the problem of insufficient or excessive compensation caused by fixed gain in the prior art is solved, and a better image display effect and user experience are achieved.
Patent Information
- Application Number
- CN202210935576.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-04
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2042-08-04
AI Technical Summary
The pixel compensation method of the existing regional dimming technology adopts fixed gain, resulting in insufficient compensation or excessive compensation, resulting in poor display effect and affecting user experience.
By summarizing the backlight data of the image in each area as global backlight data, the global compensation coefficient is determined, and the adjustment coefficient is calculated based on the area backlight data, and the pixel compensation coefficient is dynamically calculated for dimming.
It achieves more flexible and precise pixel compensation, improves image display effect and user experience, and overcomes the shortcomings of fixed gain methods.
Smart Images

Figure CN115312007B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technologies, and in particular, to a pixel compensation method and device for regional dimming. Background Art
[0002] Currently, liquid crystal display terminals of electronic products (such as mobile phones, displays, televisions, etc.) usually improve the display dynamic contrast and reduce power consumption by adopting regional dimming technology. Among them, the regional dimming technology divides the backlight module into multiple regions, respectively controls the corresponding regional backlight according to the image brightness data, and compensates the image pixels, so as to ensure the image display effect.
[0003] Currently, the pixel compensation of regional dimming technology usually compensates the pixels of the entire image with a fixed gain. The existing method causes problems such as over-dark display due to insufficient compensation or over-exposure display due to excessive compensation in different pictures, resulting in poor flexibility of pixel compensation and poor image display effect, which affects the user experience. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a pixel compensation method and device for regional dimming, which can summarize the backlight data of each region of the image to be processed as global backlight data, and determine the global compensation coefficient of the image based on the global backlight data; calculate the adjustment coefficient corresponding to each region; calculate the pixel compensation coefficient of the image in each region based on the operation relationship between the global compensation coefficient and the adjustment coefficient; and dim the image displayed in the region based on the pixel compensation coefficient. By dynamically calculating the pixel compensation coefficient and dimming in different regions, the problems of poor flexibility of pixel compensation and poor image display effect caused by the existing pixel compensation method using a fixed gain are overcome, and the user experience is improved.
[0005] To achieve the above object, according to one aspect of the embodiments of the present invention, there is provided a pixel compensation method for regional dimming, characterized by including: summarizing the backlight data of each region of the image to be processed as global backlight data, and determining the global compensation coefficient of the image based on the global backlight data; for each region, performing: calculating the adjustment coefficient corresponding to the region according to the regional backlight data of the image in the region; calculating the pixel compensation coefficient of the image in the region based on the operation relationship between the global compensation coefficient and the adjustment coefficient; and dimming the image displayed in the region based on the pixel compensation coefficient.
[0006] Optionally, the backlight data of the summary image in each region is used as global backlight data, and the global compensation coefficient of the image is determined based on the global backlight data, including: the global backlight data is represented by L, and the global compensation coefficient is represented by G; obtaining the scene backlight data L of the image in the preset bright scene high , and the scene backlight data L of the image in the preset dark scene low ; and, setting the compensation coefficient G for the preset bright scene high , setting the compensation coefficient G for the preset dark scene low ; where G low >G high ; when it is determined that L low <L<L high , the global compensation coefficient is calculated using Formula 1, and Formula 1 is:
[0007]
[0008] Optionally, the backlight data of the summary image in each region is used as global backlight data, and further determining the global compensation coefficient of the image based on the global backlight data includes: when it is determined that L≤L low , determining G = G low ; when it is determined that L≥L high , determining G = G high .
[0009] Optionally, before obtaining the scene backlight data L high corresponding to the preset bright scene and the scene backlight data L low corresponding to the preset dark scene, the pixel compensation method for area dimming includes: determining the image of the preset bright scene, determining the image of the preset dark scene.
[0010] Optionally, the determining the image of the preset bright scene, determining the image of the preset dark scene, includes:
[0011] Summarizing the reference backlight data obtained by each region at the maximum brightness value; calculating the image backlight data corresponding to the image to be processed; when the percentage of the image backlight data in the reference backlight data is not greater than 10%, determining that the image is an image of the preset dark scene; when the percentage of the image backlight data in the reference backlight data is not less than 75%, determining that the image is an image of the preset bright scene.
[0012] Optionally, obtain the regional backlight data corresponding to each region of the image; determine the maximum regional backlight value from the multiple pieces of regional backlight data; calculate the average backlight value of the image through the regional backlight data of each region; for each region, perform: calculate the difference between the average backlight value and the regional backlight data corresponding to the region; calculate the adjustment coefficient corresponding to the region based on the ratio of the difference to the maximum backlight value of the region.
[0013] Optionally, calculating the pixel compensation coefficient of the image in each region based on the operation relationship between the global compensation coefficient and the adjustment coefficient includes: for each region, perform: calculate the pixel compensation coefficient of the image in the region according to the product of the global compensation coefficient and the adjustment coefficient corresponding to the region.
[0014] To achieve the above object, according to the second aspect of the embodiments of the present invention, there is provided a pixel compensation device for regional dimming, characterized by including: a global coefficient determination module, a regional coefficient determination module, and a compensation coefficient calculation module; where
[0015] The global coefficient determination module is configured to summarize the backlight data of each region of the image to be processed as global backlight data, and determine the global compensation coefficient of the image based on the global backlight data;
[0016] The regional coefficient determination module is configured to, for each region, perform: calculate the adjustment coefficient corresponding to the region according to the regional backlight data of the image in the region;
[0017] The compensation coefficient calculation module is configured to calculate the pixel compensation coefficient of the image in the region based on the operation relationship between the global compensation coefficient and the adjustment coefficient; so as to dim the image displayed in the region based on the pixel compensation coefficient.
[0018] To achieve the above object, according to the third aspect of the embodiments of the present invention, there is provided an electronic device, characterized by including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enabling the one or more processors to implement any of the methods in the above-mentioned pixel compensation method for regional dimming.
[0019] To achieve the above object, according to the fourth aspect of the embodiments of the present invention, there is provided a computer-readable medium, on which a computer program is stored, characterized in that when the program is executed by a processor, it implements any of the methods in the above-mentioned pixel compensation method for regional dimming.
[0020] One embodiment of the above invention has the following advantages or beneficial effects: Summarize the backlight data of the image in each area as global backlight data, and determine the global compensation coefficient of the image based on the global backlight data; Calculate the adjustment coefficient corresponding to each area; Based on the arithmetic relationship between the global compensation coefficient and the adjustment coefficient, calculate the pixel compensation coefficient of the image in each area; And dim the image displayed in the area based on the pixel compensation coefficient. By dynamically calculating the pixel compensation coefficient and dimming in different areas, it overcomes the problems of poor flexibility of pixel compensation and poor image display effect caused by the existing pixel compensation method with a fixed gain, and improves the user experience.
[0021] The further effects of the above non-conventional optional methods will be described in combination with specific embodiments below. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings are used to better understand the present invention and do not constitute an improper limitation to the present invention. Among them:
[0023] Figure 1 is a schematic flowchart of a pixel compensation method for area dimming provided by an exemplary embodiment of the present invention;
[0024] Figure 2 is a schematic flowchart of a pixel compensation method for area dimming provided by an exemplary embodiment of the present invention;
[0025] Figure 3 is a schematic structural diagram of a pixel compensation device for area dimming provided by an exemplary embodiment of the present invention;
[0026] Figure 4 shows a schematic block diagram of an exemplary electronic device that can be used to implement the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0027] The embodiments of the present invention will be described in more detail below with reference to the drawings. Although some embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as limited to the embodiments described herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not used to limit the protection scope of the present invention.
[0028] It should be understood that the steps recorded in the method embodiments of the present invention can be executed in different orders and / or executed in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this regard.
[0029] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts such as "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0030] It should be noted that the modifications of "one" and "a plurality of" mentioned in the present invention are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise clearly specified in the context, it should be understood as "one or more".
[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0032] As Figure 1 shown, an embodiment of the present invention provides a pixel compensation method for area dimming, and the method may include the following steps:
[0033] Step S101: Summarize the backlight data of the image to be processed in each area as global backlight data, and determine the global compensation coefficient of the image based on the global backlight data.
[0034] Specifically, first, sum the backlight data of each area of the image to obtain L, where L represents the global backlight data, that is, summarize the backlight data of the image in each area as the global backlight data; among them, the backlight data of each area can be obtained through the SoC module, and after obtaining the backlight data of each area, it is summarized as the global backlight data; among them, the number of partitions is related to factors such as the size and pixels of the platform for displaying the image; the present invention does not limit the number of partition areas.
[0035] Further, determine the global compensation coefficient of the image based on the global backlight data.
[0036] In one embodiment of the present invention, a method for determining a global compensation coefficient of the image based on the global backlight data is as follows: acquiring backlight data of the image in each of the regions, and aggregating each of the backlight data as global backlight data (represented by L); determining a target brightness scene matched by the image based on the acquired scene backlight data corresponding to the multiple brightness scene types, and scene compensation coefficients corresponding to the brightness scene types; and determining the global compensation coefficient based on an operational relationship between the global backlight data, the scene backlight data corresponding to the target brightness scene, and the scene compensation coefficient corresponding to the target brightness scene.
[0037] Specifically, a variety of brightness scene types include dark scenes, bright scenes, normal scenes, etc.; it is understandable that the backlight data of images corresponding to different brightness scenes are different, so the compensation coefficients of images corresponding to different scenes are also different; further, the method for determining the image of the preset bright scene and the method for determining the image of the preset dark scene can be: summarizing the reference backlight data of each area at the maximum brightness value; calculating the image backlight data corresponding to the scene image to be processed; when the percentage of the image backlight data to the reference backlight data is not greater than 10%, determining that the image is an image of the preset dark scene; when the percentage of the image backlight data to the reference backlight data is not less than 80%, determining that the image is an image of the preset bright scene. For example: the platform includes 340 partitions, and the reference backlight value of each partition at the maximum brightness is summarized. For example, the maximum brightness value of each partition is 0xFF, and the decimal value of the reference backlight value of each partition at the maximum brightness is calculated to be 86700. Further, based on the reference backlight value, when the percentage of the image backlight data in the reference backlight data is not greater than 10%, the image is determined to be an image of a preset dark scene; when the percentage of the image backlight data in the reference backlight data is not less than 75%, the image is determined to be an image of a preset bright scene. It can be understood that by determining the image of the preset bright scene and determining the image of the preset bright scene, the preset bright scene and the compensation coefficient corresponding to the preset bright scene are determined, so as to further calculate the regional compensation coefficient of the image to be processed. Among them, the image of the preset bright scene and the image of the preset bright scene are usually reference images, which are different images from the image to be processed.
[0038] Among them, L low <L high Then, set the dark compensation coefficient G corresponding to the scene according to the overall effect. low , brightness compensation coefficient G high . Based on the regional dimming principle, the backlight data of dark scene images decreases significantly, so G lowIt should be set larger, but it should be noted that the image cannot be too bright; while the reduction of the backlight data in the bright scene is relatively small, G high It should be set smaller, but it should be noted that the image cannot be too dark. Therefore, set the compensation coefficient G according to the actual overall effect of the image low >G high . That is, set the scene backlight data corresponding to the dark scene to be less than the scene backlight data corresponding to the bright scene; and, set the dark compensation coefficient corresponding to the dark scene to be greater than the bright compensation coefficient set for the bright scene
[0039] Furthermore, compare the global backlight data L of the image to be processed with L low ,L high in terms of size. If L≤L low , then G = G low ; if L≥L high , then G = G high ; if L low <L<L high , then calculate through formula (1)
[0040]
[0041] That is, the method for determining the global compensation coefficient of the image to be processed includes: representing the global backlight data with L and the global compensation coefficient with G; obtaining the scene backlight data L high of the image of the preset bright scene and the scene backlight data L low of the image of the preset dark scene; and, setting the compensation coefficient G high for the preset bright scene and setting the compensation coefficient G low for the preset dark scene; where G low >G high ; when it is judged that L low <L<L high , calculate the global compensation coefficient using formula 1, and formula 1 is
[0042]
[0043] Furthermore, summarizing the backlight data of each area of the aggregated image as the global backlight data, and determining the global compensation coefficient of the image based on the global backlight data further includes: when it is judged that L≤L low , determining G = G low ; when it is judged that L≥L high , determining G = G high .
[0044] Step S102: For each region, perform the following: Calculate the adjustment coefficient corresponding to the region based on the regional backlight data of the image in the region.
[0045] Specifically, calculating the adjustment coefficient corresponding to the region based on the regional backlight data of the image in the region includes: determining the maximum regional backlight value in the global backlight data corresponding to the image, and the average backlight value of the image; obtaining the regional backlight data corresponding to the region; calculating the difference between the average backlight value and the regional backlight data; calculating the adjustment coefficient corresponding to the region based on the ratio of the difference to the maximum regional backlight value.
[0046] Obtain the backlight value L corresponding to each region of the image n (i.e., the regional backlight data corresponding to the region, where n is a positive integer from 1 to n, representing multiple regions), determine the maximum regional backlight value L from the backlight data of multiple regions max , and calculate the average backlight value L avg , then calculate the adjustment coefficient, that is, obtain the regional backlight data corresponding to each region; determine the maximum regional backlight value from the multiple regional backlight data; calculate the average backlight value of the image; as shown in formula (2), where Kn is the adjustment coefficient corresponding to the region; that is, calculate the difference between the average backlight value and the regional backlight data; calculate the adjustment coefficient corresponding to the region based on the ratio of the difference to the maximum regional backlight value.
[0047]
[0048] Step S103: Based on the operation relationship between the global compensation coefficient and the adjustment coefficient, calculate the pixel compensation coefficient of the image in each region; and dim the image displayed in the region based on the pixel compensation coefficient.
[0049] Specifically, for each region, obtain the adjustment coefficient of the image in the region, and use the product of the global compensation coefficient and the adjustment coefficient as the pixel compensation coefficient of the image in the region.
[0050] Where Gn = Kn * G; Gn is the pixel compensation coefficient of the region, and the operation relationship between the global compensation coefficient and the adjustment coefficient is the product of the global compensation coefficient (G) and the adjustment coefficient (Kn); use the product Gn as the pixel compensation coefficient of the image in the region; formula (3) shows the operation relationship for calculating the global compensation coefficient in the case of determining that the global backlight data is between the scene backlight data corresponding to the bright scene and the scene backlight data corresponding to the dark scene, and then calculate the pixel compensation coefficient of the region through the operation relationship shown in formula (3).
[0051]
[0052] The following is an example to illustrate the descriptions of steps S101 - S103:
[0053] 1) Determine L low , L high , G low , G high values. That is, calculate the global backlight data L low corresponding to the dark scene image, high the global backlight data L low corresponding to the bright scene image, the dark compensation coefficient G high .
[0054] Exemplarily, based on the determination strategy of the bright scene image and the dark scene image (that is, when the percentage of the image backlight data in the reference backlight data is not greater than 10%, determine the image as a preset dark scene image; when the percentage of the image backlight data in the reference backlight data is not less than 75%, determine the image as a preset bright scene image), combined with experimental data, application experience, etc., select a dark scene image and a bright scene image, calculate the global backlight data of the images, and obtain L low , L high .
[0055] For example, L low = 5262 and L high = 68318 are calculated from the backlight data of each region obtained from the SoC. Among them, 5262 is the decimal value of the global backlight data corresponding to the dark scene image, and 68318 is the decimal value of the global backlight data corresponding to the bright scene image.
[0056] 2) Set the dark compensation coefficient G low corresponding to the dark scene image and the bright compensation coefficient G high corresponding to the bright scene image. Assume that G low = 4 and G high = 1 are set, and then calculate the compensation coefficient G n of each region for any image.
[0057] Among them, when calculating the compensation coefficient G n of each region for any image, perform the following calculation steps:
[0058] Calculate the global backlight data of the overall image. For example, the global backlight data L = 12503 of this image is calculated. The formula for further calculating the global compensation coefficient G is as follows. When taking two decimal places, the value of G can be obtained as 3.66.
[0059]
[0060] Also, based on the obtained backlight data, the maximum backlight value L of the region is obtained: max = 0xFF = 255, and the average value L of the backlight data of the image is calculated: avg = 43. Further, the adjustment coefficient of each region is calculated. Furthermore, the compensation coefficient of each region is calculated using formula (3).
[0061] In summary, as shown in Table 1, the compensation coefficients of 3 images (Image 1, Image 2, Image 3) are obtained. Among them, the first backlight value represents the backlight value at the same position of different images, that is, the first backlight values of Image 1, Image 2, and Image 3 are the backlight values at the same position. Similarly, the second backlight value, the third backlight value, and the fourth backlight value are also at the same position of different images. As can be seen from Table 1, the pixel compensation coefficients Gn of different images at the same position (or the same region) are significantly different, and the pixel compensation coefficients at different positions (or different regions) of the same image are also significantly different. Using the method of the embodiment of the present invention can satisfy that the darker the image, the larger the pixel compensation coefficient, and can be finely adjusted according to the brightness of different regions of the image.
[0062]
[0063]
[0064] Figure 2 As shown, the embodiment of the present invention provides a flow of a pixel compensation method for area dimming, and the flow may include the following steps:
[0065] Step S201: Determine the backlight data Ln corresponding to each region, where n represents the number of partitions, that is, the number of regions.
[0066] Step S202: Aggregate the backlight data of each region to obtain the global backlight data L, and calculate the global compensation coefficient G.
[0067] Step S203: Select the maximum backlight value Lmax from multiple backlight data Ln.
[0068] Step S204: Determine whether L is less than or equal to L low , if so, execute step S205; otherwise, execute step S206.
[0069] Step S205: Determine that the global compensation coefficient G is equal to G low .
[0070] Step S206: Determine whether L is greater than or equal to L high . If so, execute Step S207; otherwise, execute Step S208.
[0071] Step S207: Determine that the global compensation coefficient G is equal to G high .
[0072] Step S208: Determine that the global compensation coefficient G is calculated based on formula (1).
[0073] Step S209: Based on Step S203, calculate the regional adjustment coefficient Kn. The method for calculating Kn is the same as the calculation method of formula (2).
[0074] Step S210: Based on the situations of S208 and S209, obtain the pixel compensation coefficients Gn for each region.
[0075] It can be understood that in the case where G is determined in Step S205 or Step S207, the directly calculated pixel compensation coefficient for each region is Gn = Kn * G.
[0076] The description of Steps S201 - S210 is as follows: Summarize the backlight data of the image in each region as the global backlight data, and determine the global compensation coefficient of the image based on the global backlight data; for each region: calculate the adjustment coefficient corresponding to the region according to the regional backlight data of the image in the region; based on the operation relationship between the global compensation coefficient and the adjustment coefficient, calculate the pixel compensation coefficient of the image in each region; and dim the image displayed in the region based on the pixel compensation coefficient.
[0077] Among them, summarizing the backlight data of the image in each region as the global backlight data and determining the global compensation coefficient of the image based on the global backlight data includes: representing the global backlight data by L and the global compensation coefficient by G; obtaining the scene backlight data L high of the image in the preset bright scene and the scene backlight data L low of the image in the preset dark scene; and setting the compensation coefficient G high for the preset bright scene and setting the compensation coefficient G low for the preset dark scene; where G low > G high ; when it is determined that L low < L < L highIn the case of, the global compensation coefficient is calculated using Formula 1, and Formula 1 is:
[0078] Moreover, the backlight data of the aggregated image in each region is used as the global backlight data, and determining the global compensation coefficient of the image based on the global backlight data further includes: when it is determined that L ≤ L low in the case of, determining G = G low ; when it is determined that L ≥ L high in the case of, determining G = G high .
[0079] Furthermore, obtain the regional backlight data corresponding to each region of the image; determine the maximum regional backlight value from the multiple regional backlight data; calculate the average backlight value of the image through the regional backlight data of each region; for each region, perform: calculate the difference between the average backlight value and the regional backlight data corresponding to the region; based on the ratio of the difference to the maximum regional backlight value, calculate the adjustment coefficient corresponding to the region.
[0080] For each region, perform: calculate the pixel compensation coefficient of the image in the region according to the product of the global compensation coefficient and the adjustment coefficient corresponding to the region.
[0081] As Figure 3 shown, an embodiment of the present invention provides a pixel compensation device 300 for area dimming, including: a global coefficient determination module 301, a regional coefficient determination module 302, and a compensation coefficient calculation module 303; where
[0082] The global coefficient determination module 301 is configured to aggregate the backlight data of the image to be processed in each region as the global backlight data, and determine the global compensation coefficient of the image based on the global backlight data;
[0083] The regional coefficient determination module 302 is configured to, for each region: calculate the adjustment coefficient corresponding to the region according to the regional backlight data of the image in the region;
[0084] The compensation coefficient calculation module 303 is configured to calculate the pixel compensation coefficient of the image in each region based on the operational relationship between the global compensation coefficient and the adjustment coefficient; so as to dim the image displayed in the region based on the pixel compensation coefficient.
[0085] An exemplary embodiment of the present invention further provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, and when executed by the at least one processor, the computer program is used to cause the electronic device to execute the method according to the embodiment of the present invention.
[0086] An exemplary embodiment of the present invention further provides a non-transitory computer-readable storage medium storing a computer program, wherein when executed by a processor of a computer, the computer program is used to cause the computer to execute the method according to the embodiment of the present invention.
[0087] An exemplary embodiment of the present invention further provides a computer program product, including a computer program, wherein when executed by a processor of a computer, the computer program is used to cause the computer to execute the method according to the embodiment of the present invention.
[0088] Reference Figure 4 will now describe the block diagram of an electronic device 400 that can be a server or a client of the present invention, which is an example of a hardware device applicable to various aspects of the present invention. The electronic device is intended to represent various forms of digital electronic computer devices, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0089] As Figure 4 shown, the electronic device 400 includes a computing unit 401, which can execute various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 402 or a computer program loaded from a storage unit 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0090] Multiple components in the electronic device 400 are connected to the I / O interface 405, including: an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. The input unit 406 can be any type of device capable of inputting information into the electronic device 400. The input unit 406 can receive input digital or character information and generate key signal inputs related to the user settings and / or function controls of the electronic device. The output unit 407 can be any type of device capable of presenting information and can include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 404 can include, but is not limited to, magnetic disks and optical discs. The communication unit 409 allows the electronic device 400 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks and can include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0091] The computing unit 401 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 401 executes the various methods and processes described above. For example, in some embodiments, the pixel compensation method for area dimming can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 400 via the ROM 402 and / or the communication unit 409. In some embodiments, the computing unit 401 can be configured to execute the pixel compensation method for area dimming by any other suitable means (e.g., by means of firmware).
[0092] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the program codes are executed by the processor or controller, the functions / operations specified in the flowchart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, executed partially on the machine and partially on a remote machine as an independent software package, or executed entirely on a remote machine or server.
[0093] In the context of the present invention, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0094] As used in the present invention, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., a disk, an optical disk, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0095] In order to provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0096] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.
[0097] A computer system can include a client and a server. The client and the server are generally far apart from each other and typically interact via a communication network. The client - server relationship is generated by computer programs that run on the respective computers and have a client - server relationship with each other.
Claims
1. A pixel compensation method for area dimming, characterized in that, it includes: Summarize the backlight data of the image to be processed in each area as global backlight data, and determine the global compensation coefficient of the image based on the global backlight data; For each area, execute: According to the area backlight data of the image in the area, calculate the adjustment coefficient corresponding to the area; based on the operation relationship between the global compensation coefficient and the adjustment coefficient, calculate the pixel compensation coefficient of the image in the area; and dim the image displayed in the area based on the pixel compensation coefficient; Among them, according to the area backlight data of the image in the area, calculating the adjustment coefficient corresponding to the area includes: Obtain the area backlight data corresponding to each area of the image; determine the maximum area backlight value from multiple area backlight data; calculate the average backlight value of the image through the area backlight data of each area; For each area, execute: calculate the difference between the average backlight value and the area backlight data corresponding to the area; calculate the adjustment coefficient corresponding to the area based on the ratio of the difference to the maximum area backlight value.
2. The method according to claim 1, characterized in that, The summarizing the backlight data of the image to be processed in each area as global backlight data and determining the global compensation coefficient of the image based on the global backlight data includes: The global backlight data is represented by L, and the global compensation coefficient is represented by G; Obtain the scene backlight data L of the image of the preset bright scene high and the scene backlight data L of the image of the preset dark scene low ; And, set a compensation coefficient G for a preset bright scene high and set a compensation coefficient G for a preset dark scene low ; where G low >G high ; When it is determined that L low <L < L high is the case, the global compensation coefficient is calculated using Formula 1, and Formula 1 is:
3. The method according to claim 2, characterized in that, The summarizing the backlight data of the image to be processed in each area as global backlight data and determining the global compensation coefficient of the image based on the global backlight data further includes: When it is determined that L ≤ L low , determine G = G low ; When it is determined that L≥L high then determine G = G high .
4. The method according to claim 2, characterized in that, Before obtaining the scene backlight data L corresponding to the preset bright scene high and the scene backlight data L corresponding to the preset dark scene low the pixel compensation method for the area dimming includes: determining the image of the preset bright scene and determining the image of the preset dark scene.
5. The method according to claim 4, characterized in that, The determining the image of the preset bright scene and determining the image of the preset dark scene includes: Summarize the reference backlight data obtained at the maximum brightness value of each area; Calculate the image backlight data corresponding to the image of the scene to be processed; When the percentage of the image backlight data in the reference backlight data is not greater than 10%, determine that the image is an image of a preset dark scene; When the percentage of the image backlight data in the reference backlight data is not less than 75%, determine that the image is an image of a preset bright scene.
6. The method according to claim 1, characterized in that, The calculating the pixel compensation coefficient of the image in each area based on the operation relationship between the global compensation coefficient and the adjustment coefficient includes: For each area, execute: calculate the pixel compensation coefficient of the image in the area according to the product of the global compensation coefficient and the adjustment coefficient corresponding to the area.
7. A pixel compensation device for area dimming, characterized in that, it includes: A global coefficient determination module, an area coefficient determination module, and a compensation coefficient calculation module; among them, The global coefficient determination module is configured to aggregate the backlight data of the image to be processed in each region as the global backlight data, and determine the global compensation coefficient of the image based on the global backlight data; The regional coefficient determination module is configured to perform, for each region: calculate the adjustment coefficient corresponding to the region according to the regional backlight data of the image in the region; The compensation coefficient calculation module is configured to calculate the pixel compensation coefficient of the image in the region based on the operation relationship between the global compensation coefficient and the adjustment coefficient; and dim the image displayed in the region based on the pixel compensation coefficient; Wherein, the calculating the adjustment coefficient corresponding to the region according to the regional backlight data of the image in the region includes: Obtain the regional backlight data corresponding to the image in each region; determine the maximum regional backlight value from the multiple regional backlight data; calculate the average backlight value of the image through the regional backlight data of each region; For each region, perform: calculate the difference between the average backlight value and the regional backlight data corresponding to the region; calculate the adjustment coefficient corresponding to the region based on the ratio of the difference to the maximum regional backlight value.
8. An electronic device, Characterized in that, It includes: One or more processors; A storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-6.
9. A computer-readable medium, on which a computer program is stored, Characterized in that, The computer program, when executed by a processor, implements the method according to any one of claims 1-6.
Citation Information
Patent Citations
Liquid crystal display and local dimming control method thereof
CN102074208A
Display method and device with area adjusting backlight, electronic equipment and medium
CN110189714A