Method, device, storage medium and electronic device for calculating screen pixel backlight weight

By distinguishing between the first and second categories of partitions in the screen pixel backlight weight calculation using lookup tables of different depths for weight calculation, the problem of excessive storage resources and calculation amount is solved, and the efficiency of backlight control is improved.

CN115762426BActive Publication Date: 2025-08-01BOE TECHNOLOGY GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211448643.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-18
Publication Date
2025-08-01
Estimated Expiration
2042-11-18

AI Technical Summary

Technical Problem

In the prior art, the storage resources consumed during the calculation of screen pixel backlight weights are huge and the calculation amount is high, which affects the efficiency of backlight control.

Method used

Weight calculation is performed using lookup tables based on the first and second categories of partitions. The first category of partitions uses high-deep lookup tables for accurate calculations. The second category of partitions uses low-deep lookup tables for rough calculations to reduce the accuracy of unadjacent partitions to reduce resource consumption.

Benefits of technology

Without significantly affecting the display effect, the calculation amount and calculation time are reduced, and the efficiency of backlight control is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115762426B_ABST
    Figure CN115762426B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, an apparatus, a storage medium, and an electronic device for calculating a backlight weight of screen pixels. The method includes: determining a first weight value for characterizing the influence degree of a first type of partition on the backlight of a target pixel based on a first look-up table corresponding to the first type of partition, where the partition where the target pixel is located is a target partition, and the first type of partition is all partitions adjacent to the target partition among the neighborhood partitions of the target partition; determining a second weight value for characterizing the influence degree of a second type of partition on the backlight of the target pixel based on a second look-up table corresponding to the second type of partition, where the second type of partition is other partitions in all neighborhood partitions except the first type of partition, and the depth of the second look-up table is less than the depth of the first look-up table; and determining a third weight value of the target partition based on the first weight value and the second weight value. The present disclosure reduces the accuracy of the second type of partition and the consumption of resources, thereby reducing the calculation amount and calculation duration and improving the backlight control efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of display technologies, and particularly to a method, apparatus, storage medium, and electronic device for calculating backlight weights of screen pixels. Background Art

[0002] With the development of display technologies, the local dimming technology is applied to more and more display devices, that is, zonal dimming control is performed on a display panel to enable the display panel to achieve the best contrast ratio and optimize its display effect. The point spread function (PSF) is an important function used to simulate the actual backlight effect in the local dimming technology. It is usually an independent weight calculation unit for calculating the backlight weight of a target pixel affected by its surrounding n*n neighborhood partitions, and then calculating the backlight value of the target pixel based on the calculated backlight weight.

[0003] In conventional technologies, when calculating the backlight weight affected by the surrounding n*n neighborhood partitions, multiple different lookup table indexes need to be synchronized for each pixel, and there are a large number of lookup table addresses, which results in huge storage resources consumed by the lookup table, and the calculation amount and calculation duration of the weight calculation unit are also relatively high, affecting the overall efficiency of backlight control. Summary of the Invention

[0004] The purpose of the embodiments of the present disclosure is to provide a method, apparatus, storage medium, and electronic device for calculating backlight weights of screen pixels, so as to solve the problems of huge storage resources consumed and high calculation amount in the calculation process of backlight weights in the prior art.

[0005] The embodiments of the present disclosure adopt the following technical solutions: A method for calculating backlight weights of screen pixels includes: determining a first weight value for characterizing the influence degree of the first type of partitions on the backlight of a target pixel based on a first lookup table corresponding to the first type of partitions, where the partition where the target pixel is located is a target partition, and the first type of partitions are all partitions adjacent to the target partition in the neighborhood partitions of the target partition; determining a second weight value for characterizing the influence degree of the second type of partitions on the backlight of the target pixel based on a second lookup table corresponding to the second type of partitions, where the second type of partitions are other partitions except the first type of partitions among all the neighborhood partitions, and the depth of the second lookup table is less than the depth of the first lookup table; determining a third weight value of the target partition based on the first weight value and the second weight value.

[0006] Optionally, both the first lookup table and the second lookup table are two-dimensional lookup tables.

[0007] Optionally, when the depth of the second look-up table is 1, the second look-up table is used to store fixed weight values; determining the second weight value for characterizing the influence degree of the second type of partition on the backlight of the target pixel based on the second look-up table corresponding to the second type of partition includes: using the fixed weight value in the second look-up table as the second weight value.

[0008] Optionally, when the depth of the second look-up table is not 1, determining the second weight value for characterizing the influence degree of the second type of partition on the backlight of the target pixel based on the second look-up table corresponding to the second type of partition includes: determining the vertical distance between the target pixel and the second type of partition, and determining a target row in the second look-up table based on the vertical distance; determining the horizontal distance between the target pixel and the second type of partition, and determining a target parameter in the target row based on the horizontal distance; determining the second weight value based on the target parameter.

[0009] Optionally, determining the second weight value based on the target parameter includes: processing the target parameter through interpolation operation to obtain the second weight value.

[0010] Optionally, determining the third weight value of the target partition based on the first weight value and the second weight value includes: performing normalization processing on all the first weight values and all the second weight values to obtain the third weight value.

[0011] Optionally, after determining the third weight value of the target partition based on the first weight value and the second weight value, it further includes: determining the backlight value of the target pixel based on the third weight value, all the first weight values, all the second weight values, and a preset backlight value.

[0012] An embodiment of the present disclosure further provides a backlight weight calculation device for screen pixels, including: a first determination module, configured to determine a first weight value for characterizing the influence degree of the first type of partition on the backlight of the target pixel based on a first look-up table corresponding to the first type of partition, where the partition where the target pixel is located is the target partition, and the first type of partition is all partitions adjacent to the target partition in the neighborhood partitions of the target partition; a second determination module, configured to determine a second weight value for characterizing the influence degree of the second type of partition on the backlight of the target pixel based on a second look-up table corresponding to the second type of partition, where the second type of partition is other partitions except the first type of partition in all the neighborhood partitions, and the depth of the second look-up table is less than the depth of the first look-up table; a third determination module, configured to determine the third weight value of the target partition based on the first weight value and the second weight value.

[0013] An embodiment of the present disclosure also provides a storage medium storing a computer program, characterized in that when the computer program is executed by a processor, the steps of the above-mentioned backlight weight calculation method for screen pixels are implemented.

[0014] An embodiment of the present disclosure also provides an electronic device, at least including a memory and a processor, wherein a computer program is stored on the memory, and characterized in that when the processor executes the computer program on the memory, the steps of the above-mentioned backlight weight calculation method for screen pixels are implemented.

[0015] The beneficial effect of the embodiment of the present disclosure is that for the first type of partitions adjacent to the target partition, accurate weight calculation based on high depth is performed, while for the second type of partitions not adjacent to the target partition, rough weight calculation based on low depth is performed. By reducing the accuracy of the second type of partitions, on the premise of having little impact on the display effect, the consumption of resources is minimized to achieve the effects of reducing the calculation amount and calculation duration and improving the backlight control efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0017] Figure 1 It is a schematic diagram of neighborhood partitioning in conventional technology;

[0018] Figure 2 It is a schematic diagram of the lookup table indexing process in conventional technology;

[0019] Figure 3 It is a flowchart of the backlight weight calculation method for screen pixels in the first embodiment of the present disclosure;

[0020] Figure 4 It is a schematic diagram of the first type of neighborhood partitioning in the first embodiment of the present disclosure;

[0021] Figure 5 It is a schematic diagram of the second type of neighborhood partitioning in the first embodiment of the present disclosure;

[0022] Figure 6 It is a schematic diagram of the indexing process when the depth of the second lookup table in the first embodiment of the present disclosure is not 1.

[0023] Figure 7 It is a schematic diagram of the structure of the backlight weight calculation device for screen pixels in the second embodiment of the present disclosure;

[0024] Figure 8 Schematic structural diagram of the electronic device in the fourth embodiment of the present disclosure. Detailed implementation manners

[0025] Reference is made herein to the various solutions and features of the present disclosure with reference to the accompanying drawings.

[0026] It should be understood that various modifications can be made to the embodiments applied herein. Therefore, the above description should not be regarded as limiting, but only as an example of the embodiments. Those skilled in the art will think of other modifications within the scope and spirit of the present disclosure.

[0027] The accompanying drawings included in the specification and forming a part of the specification illustrate the embodiments of the present disclosure, and together with the general description of the present disclosure given above and the detailed description of the embodiments given below are used to explain the principles of the present disclosure.

[0028] These and other features of the present disclosure will become apparent from the following description of the preferred forms of the embodiments given by way of non-limiting examples with reference to the accompanying drawings.

[0029] It should also be understood that although the present disclosure has been described with reference to some specific examples, those skilled in the art can surely implement many other equivalent forms of the present disclosure, which have the features as claimed and thus are all within the protection scope defined thereby.

[0030] When combined with the accompanying drawings, the above and other aspects, features and advantages of the present disclosure will become more apparent in view of the following detailed description.

[0031] Hereinafter, specific embodiments of the present disclosure are described with reference to the accompanying drawings; however, it should be understood that the embodiments applied are only examples of the present disclosure, and it can be implemented in various ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details from obscuring the present disclosure. Therefore, the specific structural and functional details applied herein are not intended to be limiting, but only as a basis and representative basis for the claims to teach those skilled in the art to use the present disclosure in substantially any suitable detailed structure in a variety of ways.

[0032] This specification may use the phrase "in one embodiment", "in another embodiment", "in yet another embodiment" or "in other embodiments", which may all refer to one or more of the same or different embodiments according to the present disclosure.

[0033] With the development of display technology, local dimming technology is applied to more and more display devices, that is, the display panel is partitioned for dimming control to enable the display panel to achieve the best contrast and optimize its display effect. The point spread function is an important function used to simulate the actual backlight effect in local dimming technology. It is usually an independent weight calculation unit used to calculate the backlight weight of the target pixel affected by its surrounding n*n neighborhood partitions, and then calculate the backlight value of the target pixel based on the calculated backlight weight.

[0034] In the conventional technology, taking the target partition where the target pixel is located and having a 5*5 neighborhood partition as an example, when calculating the backlight weight of the target pixel affected by the neighborhood partition, it is first necessary to calculate the vertical distance and horizontal distance between the target pixel and each partition in the neighborhood partition, and then, based on the vertical distance and horizontal distance, combine the look-up tables (LUTs, LookUP Tables) corresponding to each partition to obtain the corresponding weight values of each partition.

[0035] Figure 1 The schematic diagram of the neighborhood partition in the conventional technology is shown. Among them, partition 22 is the target partition where the target pixel is located, and partitions 00, 01, 02, 03, 04, 10, 11, 12, 13, 14, 20, 21, 23, 24, 30, 31, 32, 33, 34, 40, 41, 42, 43, and 44 are 24 backlight partitions within the 5*5 neighborhood of partition 22. Each of the above partitions corresponds to a LUT. The look-up tables corresponding to different first backlight partitions can be the same or different. For example, Figure 3 as shown, partitions 00, 04, 40, and 44, which have approximately the same distance from partition 22, can use the same look-up table LUT1. Correspondingly, the look-up table used by LUT1, partitions 10, 14, 30, and 34 can be LUT2, the look-up table used by partitions 20 and 24 can be LUT3, the look-up table used by partitions 11, 13, 31, and 33 can be LUT4, the look-up table used by partitions 21 and 23 can be LUT5, the look-up table used by partitions 12 and 32 can be LUT6, the look-up table used by partitions 02 and 42 can be LUT7, and the look-up table used by partitions 01, 03, 41, and 43 can be LUT8.

[0036] Taking the two-dimensional lookup tables with all being 9*9 as an example, the depth of the lookup table is 81, and the bit width w of the data is 10. When performing weight value indexing, first, vertical indexing is required, that is, calculate the vertical distance between the target pixel and other backlight partitions to obtain index_up / down, and use this as the index address to determine the row lookup tables lut_up / down from the original lookup tables LUT1~8. Then, horizontal indexing is performed, that is, calculate the horizontal distance between the target pixel and other backlight partitions to obtain index_left / right, and use this as the index address to determine the target parameters a / b / c / d from the row lookup tables, and use the target parameters to determine the weight values of each backlight partition.

[0037] Figure 2 shows a schematic diagram of the lookup table indexing process in the conventional technology. As Figure 2 can be seen, for the first-level indexing, it is necessary to synchronously calculate 5 vertical distances, namely DIS_v0~DIS_v4. Plus, for different position partitions, different lookup tables lut1~lut8 are used. At this time, it is necessary to synchronously perform 14 lookups of lookup tables with a depth of 9; for the second-level indexing, it is necessary to synchronously calculate 5 vertical distances DIS_h0~DIS_h4. The partitions in different rows use the corresponding row lookup tables line_lut1_v0 / v4 and line_lut8_v0 / v4 output by the first-level indexing, etc. At this time, it is necessary to synchronously perform 24 lookups of lookup tables with a depth of 9. The circuit includes (14 + 24) data selectors (mux) with a fan-out of 9. The required circuit storage capacity is 14*81*10 + 24*9*10 = 13500. At this time, the backend needs to process 38*9 = 342 trace amounts during layout and wiring, making the weight calculation process have a huge calculation amount, take longer time, and have low processing efficiency.

[0038] To solve the above problems, the first embodiment of the present disclosure provides a method for calculating the backlight weight of screen pixels for simulating backlight calculation in the Local Dimming technology. The backlight weight calculation method provided in this embodiment can be executed by a computing device. The computing device can be a terminal device, such as a desktop computer, a portable computer, a tablet computer, a smart phone, a smart watch, etc. Optionally, the computing device can also be other types of devices. The present invention does not limit the device type and the number of computing devices.

[0039] Figure 3 is a flowchart of the backlight weight calculation method of this embodiment. As Figure 3 shown, the backlight weight calculation method mainly includes steps S10 to S30:

[0040] S10, based on the first lookup table corresponding to the first type of partition, determine the first weight value used to characterize the influence degree of the first type of partition on the backlight of the target pixel.

[0041] The target pixel is any pixel for display in the current display panel. Since the display panel is divided into different regions for dimming, the region where the target pixel is located can be identified as the target region, and some regions around the target region are used as the neighboring regions of the target region. Generally, the specification of the neighborhood is 5*5. As Figure 4 shown, region 22 is the target region, which is located at the center of the 5*5 region array. The other regions set around region 22 are divided into the first type of regions directly adjacent to the target region, namely region 11, region 12, region 13, region 21, region 23, region 31, region 32, and region 33. The above 8 regions are relatively close to region 22, and the light emitted by them has a relatively large impact on the pixels in region 22. Therefore, the above 8 regions are used as the first type of regions, and the first weight value used to characterize the influence degree of the first type of regions on the backlight of the target pixel is determined by using the first look-up table corresponding to the first type of regions.

[0042] Specifically, each first type of region corresponds to a first look-up table. Similar to the setting method of the look-up table in the conventional technology, the first look-up tables corresponding to different first types of regions can be the same or different. Referring to Figure 4 the region setting in, the look-up tables used by region 11, region 13, region 31, and region 33 can be LUT1, the look-up tables used by region 12 and region 32 are LUT2, and region 21 and region 23 use LUT3. In addition, the first look-up table in this embodiment can directly use the two-dimensional look-up table with a depth of 81 used in the conventional technology, and the bit width of the data is also 10.

[0043] It should be noted that in this embodiment, when determining the first weight value, the indexing method in the conventional technical means can be directly used to ensure the indexing accuracy. Using the horizontal and vertical coordinates pix_x / y of the target pixel in the target region, the horizontal and vertical coordinates blk_locx / y of multiple first type of regions in the neighboring regions, and the specifications of each backlight region, which at least include the horizontal length (blk_hnum0~n, that is, the number of pixels corresponding to the horizontal direction of the backlight region) and the vertical length (blk_vnum0~n, that is, the number of pixels corresponding to the vertical direction of the backlight region) and other parameters to determine the index address, and then based on the index address, the weight value corresponding to the index address in the first type of look-up table is determined and used as the first weight value of the corresponding first type of region on the target pixel. This embodiment will not be described in detail here. In actual calculation, for a target pixel in the target region, the first weight value corresponding to each first type of region in all first type of regions should be calculated separately.

[0044] S20. Based on the second lookup table corresponding to the second type of partition, determine the second weight value used to characterize the influence degree of the second type of partition on the backlight of the target pixel.

[0045] Reference Figure 4 , in addition to the first type of partition directly adjacent to partition 22 in the neighborhood partition, it also includes the second type of partition located on the periphery of the neighborhood partition, that is, partition 00, partition 01, partition 02, partition 03, partition 04, partition 10, partition 14, partition 20, partition 24, partition 30, partition 34, partition 40, partition 41, partition 42, partition 43, and partition 44. Since the light emitted by the above-mentioned second type of partition has a relatively small impact on the target partition due to its relatively long distance from the target partition, the depth of the second lookup table corresponding to the second type of partition can be reduced compared to the depth of the first lookup table. With the same bit width of the data, the amount of data during weight calculation will be significantly reduced.

[0046] In actual implementation, the second lookup table can also be set as a two-dimensional lookup table, and its depth is reduced compared to the depth of the first lookup table. For example, it can be reduced from 81 to 25 (5 * 5), or even reduced to 1, that is, only a fixed weight value can be stored in the second lookup table. When calculating the weight value corresponding to the corresponding second type of partition, directly obtaining the fixed weight value recorded in the corresponding second lookup table can be used as the second weight value. That is, for any target pixel in the target partition, the second weight value corresponding to the same second type of partition is the same, without the need for distance calculation and indexing, greatly reducing the amount of data storage and the calculation amount during indexing. Figure 4 In the neighborhood partition shown, the fixed weight values recorded in the second lookup tables corresponding to partition 00, partition 04, partition 40, and partition 44 are reg1, the fixed weight values corresponding to partition 01, partition 03, partition 41, and partition 43 are reg2, the fixed weight values corresponding to partition 02 and partition 42 are reg3, the fixed weight values corresponding to partition 10, partition 14, partition 30, and partition 34 are reg4, and the fixed weight values corresponding to partition 20 and partition 24 are reg5. That is, when the depth of the second lookup table is 1, all second lookup tables only require a storage capacity of 5 * 10 = 50, which is significantly reduced compared to the conventional technology.

[0047] When the depth of the second lookup table is not 1, such as Figure 5As shown, the first lookup tables corresponding to the first type of partitions such as partition 11, partition 12, partition 13, partition 21, partition 23, partition 31, partition 32, and partition 33 remain unchanged, while the second lookup table corresponding to the second type of partitions is changed to the second lookup table used by partition 00, partition 04, partition 40, and partition 44 being lut1, the lookup tables used by partition 01, partition 03, partition 41, and partition 43 can be lut2, the lookup tables used by partition 02 and partition 42 can be lut3, the lookup tables used by partition 10, partition 14, partition 30, and partition 34 can be lut4, and the lookup tables used by partition 20 and partition 24 can be lut5. Among them, the depths of lut1 to 5 are all 25, and the bit widths are 10. When determining the second weight value, it is mainly completed based on the following steps:

[0048] S21, determine the vertical distance between the target pixel and the second type of partition, and determine the target row in the second lookup table based on the vertical distance;

[0049] S22, determine the horizontal distance between the target pixel and the second type of partition, and determine the target parameter in the target row based on the horizontal distance;

[0050] S23, determine the second weight value based on the target parameter.

[0051] Specifically, when determining the vertical distance between the target pixel and the second type of partition, the difference between the ordinate of the target pixel and the ordinate of the center point of the two-backlight partition can be determined as the vertical distance between the target pixel and the second-backlight partition; when obtaining the horizontal distance between the target pixel and the second-backlight partition, the difference between the abscissa of the target pixel and the abscissa of the center point of the second-backlight partition can be determined as the horizontal distance between the target pixel and the second-backlight partition.

[0052] Optionally, the vertical distance and the horizontal distance can also be determined based on the horizontal and vertical coordinates of the target pixel in the target partition where it is located and the longitudinal and transverse lengths of multiple second-type partitions in the neighborhood partition of the target partition. Taking the process of obtaining the vertical distance and the horizontal distance between the second-type partition 00 and the target pixel as an example, based on the ordinate of the target pixel, the distance from the target pixel to the lower edge of the second-type partition 10 can be determined, and then the sum of the determined distance, the longitudinal length of the second-type partition 10, and half of the longitudinal length of the second-type partition 00 can be determined as the vertical distance between the second-type partition 00 and the target pixel; based on the abscissa of the target pixel, the distance from the target pixel to the right edge of the second-type partition 01 can be determined, and then the sum of the determined distance, the transverse length of the second-type partition 01, and half of the transverse length of the second-type partition 00 can be determined as the horizontal distance between the second-type partition 00 and the target pixel.

[0053] For example, the vertical distance and horizontal distance between the second backlight zone 00 and the target pixel can be obtained through the following code:

[0054] DIS_H0 = (BH0 >> 1) + BH1 + HInner + 1

[0055] DIS_V0 = (BV0 >> 1) + BV1 + VInner + 1

[0056] DIS_H1 = (BH1 >> 1) + HInner + 1

[0057] DIS_V1 = (BV1 >> 1) + VInner + 1

[0058] DIS_H3 = (BH3 >> 1) + (BH2 – Hinner)

[0059] DIS_V3 = (BV3 >> 1) + (BV2 – Vinner)

[0060] DIS_H4 = (BH4 >> 1) + BH3 + (BH2 – Hinner)

[0061] DIS_V4 = (BV4 >> 1) + BV3 + (BV2 – Vinner)

[0062] HInner < (BH2 >> 1) → DIS_H2 = (BH2 >> 1) - Hlnner

[0063] VInner < (BV2 >> 1) → DIS_V2 = (BV2 >> 1) - VInner

[0064] HInner ≥ (BH2 >> 1) → DIS_H2 = HInner - (BH2 >> 1)

[0065] VInner ≥ (BV2 >> 1) → DIS_V2 = VInner - (BV2 >> 1)

[0066] Among them, DIS_H0 represents the horizontal distance between the target pixel and partitions 00, 10, 20, 30, or 40, DIS_V0 represents the vertical distance between the target pixel and partitions 00, 01, 02, 03, and 04, DIS_H1 represents the horizontal distance between the target pixel and partitions 01, 11, 21, 31, 41, DIS_V1 represents the vertical distance between the target pixel and partitions 10, 11, 12, 13, 14, BH0 represents the horizontal length of partitions 00, 10, 20, 30, and 40, BV0 represents the vertical length of partitions 00, 01, 02, 03, and 04, BH1 represents the horizontal length of partitions 01, 11, 21, 31, and 41, BV1 represents the vertical length of partitions 10, 11, 12, 13, 14, and so on.

[0067] After determining the vertical distance and the horizontal distance, the corresponding vertical index parameter can be determined based on the vertical distance, so as to determine the target row based on the vertical index parameter. Among them, the vertical index parameter includes a first vertical index parameter and a second vertical index parameter. Taking the determination of the vertical index parameter corresponding to partition 00 as an example:

[0068] Index_up = (DIS_V0 - BV1 - BV2 >> 1) >> 3

[0069] Index_down = (DIS_V0 - BV1 - BV2 >> 1) >> 3 + 1

[0070] Among them, Index_up represents the first vertical index parameter, Index_down represents the second vertical index parameter, DIS_V0 represents the vertical distance between partition 00 and the target pixel, BV1 represents the vertical length of partition 10 (that is, blk_vnum1), and BV2 represents the vertical length of partition 20 (that is, blk_vnum2). After determining the above vertical index parameters, vertical search can be performed in the second lookup table lut1 corresponding to partition 00 to determine two target rows.

[0071] Furthermore, after determining the target row, the horizontal index parameter is determined using the horizontal distance. For example:

[0072] Index_left = (DIS_H0 - BH1 - BH2 >> 1) >> 3

[0073] Index_right = (DIS_H0 - BH1 - BH2 >> 1) >> 3 + 1

[0074] Among them, Index_left represents the first horizontal index parameter, Index_right represents the second horizontal index parameter, DIS_H0 represents the horizontal distance between partition 00 and the target pixel, BH1 represents the horizontal length of partition 01 (i.e., blk_hnum1), and BH2 represents the horizontal length of partition 02 (i.e., blk_hnum2). After determining the horizontal index parameters of each partition 00 through the above process, a horizontal search can be performed in the determined target row based on the horizontal index parameters to respectively determine the target parameters corresponding to partition 00 in the target row of the corresponding second lookup table as follows:

[0075] a = lut1(Index_up × p + Index_left)

[0076] b = lut1(Index_up × p + Index_right)

[0077] c = lut1(Index_down × p + Index_left)

[0078] d = lut1(Index_down × p + Index_right)

[0079] Among them, a represents the first target parameter, b represents the second target parameter, c represents the third target parameter, d represents the fourth target parameter, Index_up represents the first vertical index parameter, Index_down represents the second vertical index parameter, Index_left represents the first horizontal index parameter, Index_right represents the second horizontal index parameter, p is a set parameter, and this parameter is related to the depth of the second lookup table. In this embodiment, it can be set to any positive integer less than 9. For example, when the value of p is 5 at this time, the depth of the corresponding second lookup table is 5 * 5 = 25.

[0080] After obtaining the above target parameters, the corresponding second weight value can be determined based on the target parameters. Specifically, interpolation operations can be performed on the target parameters according to the index values, and the second weight value corresponding to partition 00 can be obtained using intermediate parameters. For example:

[0081] e = a – int((a - c) × ((DIS_V0 - BV1 - BV2 / 2) % 8) ÷ 8 + 0.5)

[0082] f = b – int((b - d) × ((DIS_V0 - BV1 - BV2 / 2) % 8) ÷ 8 + 0.5)

[0083] Weight00 = e – int((e - f) × ((DIS_H0 - BH1 - BH2 / 2) % 8) ÷ 8 + 0.5)

[0084] Among them, e represents the first intermediate parameter, f represents the second intermediate parameter, and Weight00 is the second weight value corresponding to partition 00. It should be noted that the above steps only determine the second weight value corresponding to partition 00. In actual implementation, the second weight values of other partitions also need to be determined according to the same steps above.

[0085] S30. Based on the first weight value and the second weight value, determine the third weight value of the target partition.

[0086] After determining multiple first weight values and multiple second weight values, it is equivalent to determining the actual backlight influence degree of the neighborhood partitions on the target pixels in the target partition. In order to make the final display effect of the display panel the actual required effect, it is also necessary to calculate the third weight value that the target partition needs to present in this display. Specifically, it can be normalized according to all the first weight values and the second weight values. For example:

[0087] weight22 = 2^10 – (weight00 + weight01 + weight02 + … + weight44)

[0088] Among them, weight22 represents the third weight value of partition 22, weight00 represents the first weight value of partition 00, weight01 represents the first weight value of partition 01, weight44 represents the first weight value of partition 44, etc.

[0089] In actual implementation, after determining the weight values of all partitions, the backlight value of the target pixel can be determined based on the third weight value, all the first weight values, all the second weight values, and the preset backlight value. For example, in combination with the actual backlight situation to be displayed, the backlight value situation to be presented by each partition can be correspondingly determined. Of course, when any first-type partition or second-type partition in the neighborhood partition of the current target partition is used as the target partition, the backlight influence degree of other partitions on this partition also needs to be considered. After comprehensive calculation and processing, the finally presented backlight value can be obtained. Here, the calculation principle of the existing technology can be directly used, and this embodiment will not be described in detail.

[0090] In this embodiment, accurate weight calculation based on high depth is performed on the first-type partitions adjacent to the target partition, while rough weight calculation based on low depth is performed on the second-type partitions not adjacent to the target partition. By reducing the accuracy of the second-type partitions, on the premise of having little influence on the display effect, the consumption of resources is reduced to the greatest extent, achieving the effects of reducing the calculation amount and calculation duration and improving the backlight control efficiency.

[0091] Specifically, corresponding Figure 4In the method where the depth of the second lookup table is set to 1 as shown, for the first type of partition in the inner perimeter, it only needs to synchronously calculate 3 vertical distances v1 to v3. Additionally, for partitions at different positions, different lookup tables LUT1 to LUT3 are used. At this time, 5 lookups with a depth of 9 for the lookup table index need to be synchronously performed. For the second-level index, 5 longitudinal distances h1 to h3 need to be synchronously calculated. For partitions in different rows, corresponding row lookup tables line_LUT1_v1 / v3, line_LUT2_v1 / 3, and line_LUT3_v2 output by the first-level index are used. At this time, 8 lookups with a depth of 9 for the lookup table index need to be synchronously performed. For the second type of partition in the outer perimeter, the fixed value in the second lookup table can be directly obtained. Therefore, in this case, the circuit includes (5 + 8) multiplexers (mux) with a fan-out of 9. The required storage capacity is 5 * 10 + 5 * 81 * 10 + 8 * 9 * 10 = 4820. At this time, the backend needs to handle a routing volume of 13 * 9 = 117 during placement and routing. The routing volume and storage resource volume in this embodiment are reduced to 34.2% and 35.7% of the conventional scheme respectively, greatly reducing the storage resource occupancy and computational amount. However, it may not be able to fully simulate the backlight radiation effect, resulting in partial loss of the display effect.

[0092] Figure 6 This is a schematic diagram of the indexing process when the depth of the second lookup table in this embodiment is not 1. Combining Figure 6It can be seen that for the first-level index, the inner first-type partitions need to synchronously calculate 3 vertical distances v1 to v3, and in addition, different lookup tables LUT1 to LUT3 are used for partitions at different positions. At this time, 5 look-up table indexes with a depth of 9 need to be synchronously performed; for the outer second-type partitions, 5 vertical distances v1 to v3 need to be synchronously calculated, and different lookup tables lut1 to lut5 are used for partitions at different positions. At this time, 9 look-up table indexes with a depth of 9 need to be synchronously performed. For the second-level index, the inner first-type partitions need to synchronously calculate 3 longitudinal distances h1 to h3, and partitions in different rows use corresponding row lookup tables line_LUT1_v1 / v3, line_LUT2_v1 / 3, and line_LUT3_v2 output by the first-level index. At this time, 8 look-up table indexes with a depth of 9 need to be synchronously performed; for the outer second-type partitions, 5 longitudinal distances h1 to h3 need to be synchronously calculated, and partitions in different rows use corresponding row lookup tables line_lut1_v0 / v4, line_lut2_v0 / 4, line_lut3_v0 / v4, line_lut4_v1 / 3, and line_lut5_v2 output by the first-level index. At this time, 16 look-up table indexes with a depth of 5 need to be synchronously performed. At this time, the circuit includes (5 + 8) muxes with a fan-out of 9 and (9 + 16) muxes with a fan-out of 5. The required storage capacity is 9 * 25 * 10 + 16 * 5 * 10 + 5 * 81 * 10 + 8 * 9 * 10 = 7820. At this time, the back-end needs to process a routing volume of (9 + 16) * 5 + (5 + 8) * 9 = 261 during placement and routing. At this time, the MUX routing volume and the storage resource volume are respectively reduced to 67% and 62.6% of the conventional scheme. Although the display effect will also be reduced to some extent, a balance between the resource volume and the display effect can be achieved.

[0093] The second embodiment of the present disclosure provides a backlight weight calculation device for screen pixels. The schematic structural diagram is as Figure 7 shown, mainly including a first determination module 10, a second determination module 20, and a third determination module 30 that are sequentially coupled. Among them, the first determination module 10 is used to determine a first weight value for characterizing the influence degree of the first-type partition on the backlight of the target pixel based on the first lookup table corresponding to the first-type partition, where the partition where the target pixel is located is the target partition, and the first-type partition is all partitions adjacent to the target partition in the neighborhood partitions of the target partition; the second determination module 20 is used to determine a second weight value for characterizing the influence degree of the second-type partition on the backlight of the target pixel based on the second lookup table corresponding to the second-type partition, where the second-type partition is other partitions except the first-type partition among all neighborhood partitions, and the depth of the second lookup table is less than the depth of the first lookup table; the third determination module 30 is used to determine a third weight value of the target partition based on the first weight value and the second weight value.

[0094] Specifically, both the first lookup table and the second lookup table are two-dimensional lookup tables.

[0095] In some embodiments, when the depth of the second lookup table is 1, the second lookup table is used to store fixed weight values; the second determination module 20 is specifically configured to use the fixed weight values in the second lookup table as the second weight values.

[0096] In some embodiments, when the depth of the second lookup table is not 1, the second determination module 20 is specifically configured to determine the vertical distance between the target pixel and the second type of partition, and determine a target row in the second lookup table based on the vertical distance; determine the horizontal distance between the target pixel and the second type of partition, and determine a target parameter in the target row based on the horizontal distance; determine the second weight value based on the target parameter.

[0097] In some embodiments, the second determination module 20 is further configured to process the target parameter through interpolation operation to obtain the second weight value.

[0098] In some embodiments, the third determination module 30 is specifically configured to perform normalization processing on all the first weight values and all the second weight values to obtain the third weight value.

[0099] In some embodiments, it further includes a backlight calculation module (not shown in the figure), which is mainly configured to determine the backlight value of the target pixel based on the third weight value, all the first weight values, all the second weight values, and a preset backlight value.

[0100] In this embodiment, accurate weight calculation based on high depth is performed on the first type of partition adjacent to the target partition, while rough weight calculation based on low depth is performed on the second type of partition not adjacent to the target partition. By reducing the accuracy of the second type of partition, on the premise of having little impact on the display effect, the consumption of resources is reduced to the greatest extent, achieving the effects of reducing the calculation amount and calculation duration and improving the backlight control efficiency.

[0101] The third embodiment of the present disclosure provides a storage medium, which can be installed in any electronic device with a display function and requiring zonal dimming. Specifically, it is a computer-readable medium storing a computer program, and when the computer program is executed by a processor, it implements the method provided in any embodiment of the present disclosure, including the following steps S31 to S33:

[0102] S31. Based on the first look-up table corresponding to the first type of partitions, determine a first weight value used to characterize the influence degree of the first type of partitions on the backlight of the target pixel, where the partition where the target pixel is located is the target partition, and the first type of partitions are all the partitions adjacent to the target partition among the neighborhood partitions of the target partition;

[0103] S32. Based on the second look-up table corresponding to the second type of partitions, determine a second weight value used to characterize the influence degree of the second type of partitions on the backlight of the target pixel, where the second type of partitions are the other partitions among all the neighborhood partitions except the first type of partitions, and the depth of the second look-up table is less than the depth of the first look-up table;

[0104] S33. Based on the first weight value and the second weight value, determine a third weight value of the target partition.

[0105] Specifically, both the first look-up table and the second look-up table are two-dimensional look-up tables.

[0106] When the depth of the second look-up table is 1, the second look-up table is used to store a fixed weight value. When the computer program is executed by the processor to determine the second weight value used to characterize the influence degree of the second type of partitions on the backlight of the target pixel based on the second look-up table corresponding to the second type of partitions, the following steps are specifically executed by the processor: Use the fixed weight value in the second look-up table as the second weight value.

[0107] When the depth of the second look-up table is not 1, when the computer program is executed by the processor to determine the second weight value used to characterize the influence degree of the second type of partitions on the backlight of the target pixel based on the second look-up table corresponding to the second type of partitions, the following steps are specifically executed by the processor: Determine the vertical distance between the target pixel and the second type of partitions, and determine the target row in the second look-up table based on the vertical distance; Determine the horizontal distance between the target pixel and the second type of partitions, and determine the target parameter in the target row based on the horizontal distance; Determine the second weight value based on the target parameter.

[0108] When the computer program is executed by the processor to determine the second weight value based on the target parameter, the following steps are specifically executed by the processor: Process the target parameter through interpolation operation to obtain the second weight value.

[0109] When the computer program is executed by the processor to determine the third weight value of the target partition based on the first weight value and the second weight value, the following steps are specifically executed by the processor: Perform normalization processing on all the first weight values and all the second weight values to obtain the third weight value.

[0110] After the computer program is executed by the processor to determine the third weight value of the target partition based on the first weight value and the second weight value, the processor further executes the following steps: determining the backlight value of the target pixel based on the third weight value, all the first weight values, all the second weight values, and a preset backlight value.

[0111] In this embodiment, precise weight calculation based on high depth is performed for the first type of partitions adjacent to the target partition, while rough weight calculation based on low depth is performed for the second type of partitions not adjacent to the target partition. By reducing the precision of the second type of partitions, the consumption of resources is minimized to the greatest extent on the premise of having little impact on the display effect, achieving the effects of reducing the calculation amount and calculation duration and improving the backlight control efficiency.

[0112] The fourth embodiment of the present disclosure provides an electronic device, which can be an electronic device with a display function and requiring zonal dimming. The schematic structural diagram is as Figure 8 shown, including at least a memory 100 and a processor 200. A computer program is stored on the memory 100, and the processor 200 implements the method provided in any embodiment of the present disclosure when executing the computer program on the memory 100. Exemplarily, the steps of the computer program of the electronic device are as follows, S41 to S43:

[0113] S41, determining a first weight value for characterizing the influence degree of the first type of partition on the backlight of the target pixel based on the first look-up table corresponding to the first type of partition, where the partition where the target pixel is located is the target partition, and the first type of partition is all partitions adjacent to the target partition among the neighborhood partitions of the target partition;

[0114] S42, determining a second weight value for characterizing the influence degree of the second type of partition on the backlight of the target pixel based on the second look-up table corresponding to the second type of partition, where the second type of partition is other partitions except the first type of partition among all the neighborhood partitions, and the depth of the second look-up table is less than the depth of the first look-up table;

[0115] S43, determining the third weight value of the target partition based on the first weight value and the second weight value.

[0116] Specifically, both the first look-up table and the second look-up table are two-dimensional look-up tables.

[0117] When the depth of the second look-up table is 1, the second look-up table is used to store fixed weight values. When the processor executes the second look-up table corresponding to the second type of partition stored in the memory to determine the second weight value used to characterize the influence degree of the second type of partition on the backlight of the target pixel, the following computer program is specifically executed: using the fixed weight value in the second look-up table as the second weight value.

[0118] When the depth of the second look-up table is not 1, when the processor executes the second look-up table corresponding to the second type of partition stored in the memory to determine the second weight value used to characterize the influence degree of the second type of partition on the backlight of the target pixel, the following computer program is specifically executed: determining the vertical distance between the target pixel and the second type of partition, and determining the target row in the second look-up table based on the vertical distance; determining the horizontal distance between the target pixel and the second type of partition, and determining the target parameter in the target row based on the horizontal distance; determining the second weight value based on the target parameter.

[0119] When the processor executes the computer program stored in the memory to determine the second weight value based on the target parameter, the following computer program is specifically executed: processing the target parameter through interpolation operation to obtain the second weight value.

[0120] When the processor executes the computer program stored in the memory to determine the third weight value of the target partition based on the first weight value and the second weight value, the following computer program is specifically executed: performing normalization processing on all the first weight values and all the second weight values to obtain the third weight value.

[0121] After the processor executes the computer program stored in the memory to determine the third weight value of the target partition based on the first weight value and the second weight value, the following computer program is further executed: determining the backlight value of the target pixel based on the third weight value, all the first weight values, all the second weight values, and a preset backlight value.

[0122] In this embodiment, accurate weight calculation based on high depth is performed on the first type of partition adjacent to the target partition, while rough weight calculation based on low depth is performed on the second type of partition not adjacent to the target partition. By reducing the accuracy of the second type of partition, on the premise of having little influence on the display effect, the consumption of resources is reduced to the greatest extent, achieving the effects of reducing the calculation amount and calculation duration and improving the backlight control efficiency.

[0123] The above has described multiple embodiments of the present disclosure in detail, but the present disclosure is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concept of the present disclosure, and these variations and modifications should fall within the scope of protection required by the present disclosure.

Claims

1. A method for calculating the backlight weight of screen pixels, characterized in that Including: Based on a first look-up table corresponding to a first type of partition, determining a first weight value used to characterize the influence degree of the first type of partition on the backlight of a target pixel, where the partition where the target pixel is located is a target partition, and the first type of partition is all partitions adjacent to the target partition among the neighborhood partitions of the target partition; Based on a second look-up table corresponding to a second type of partition, determining a second weight value used to characterize the influence degree of the second type of partition on the backlight of the target pixel, where the second type of partition is other partitions except the first type of partition among all the neighborhood partitions, and the depth of the second look-up table is less than the depth of the first look-up table; Based on the first weight value and the second weight value, determining a third weight value of the target partition.

2. The backlight weight calculation method according to claim 1, wherein Both the first look-up table and the second look-up table are two-dimensional look-up tables.

3. The backlight weight calculation method according to claim 2, wherein When the depth of the second look-up table is 1, the second look-up table is used to store a fixed weight value; The determining, based on the second look-up table corresponding to the second type of partition, a second weight value used to characterize the influence degree of the second type of partition on the backlight of the target pixel includes: Taking the fixed weight value in the second look-up table as the second weight value.

4. The backlight weight calculation method according to claim 2, wherein When the depth of the second look-up table is not 1, the determining, based on the second look-up table corresponding to the second type of partition, a second weight value used to characterize the influence degree of the second type of partition on the backlight of the target pixel includes: Determining the vertical distance between the target pixel and the second type of partition, and determining a target row in the second look-up table based on the vertical distance; Determining the horizontal distance between the target pixel and the second type of partition, and determining a target parameter in the target row based on the horizontal distance; Determining the second weight value based on the target parameter.

5. The backlight weight calculation method according to claim 4, wherein The determining the second weight value based on the target parameter includes: Processing the target parameter based on an interpolation operation to obtain the second weight value.

6. The backlight weight calculation method according to claim 1, characterized in that The determining, based on the first weight value and the second weight value, a third weight value of the target partition includes: Performing a normalization process on all the first weight values and all the second weight values to obtain the third weight value.

7. The backlight weight calculation method according to any one of claims 1 to 6, characterized in that After determining the third weight value of the target partition based on the first weight value and the second weight value, further including: Based on the third weight value, all the first weight values, all the second weight values, and a preset backlight value, determining the backlight value of the target pixel.

8. A backlight weight calculation device for screen pixels, characterized in that, Including: A first determination module, configured to determine a first weight value used to characterize the influence degree of a first type of partition on the backlight of a target pixel based on a first look-up table corresponding to the first type of partition, where the partition where the target pixel is located is a target partition, and the first type of partition is all partitions adjacent to the target partition among the neighborhood partitions of the target partition; A second determination module, configured to determine a second weight value for characterizing the influence degree of the second type of partition on the backlight of the target pixel based on a second lookup table corresponding to the second type of partition, where the second type of partition is other partitions in all the neighborhood partitions except the first type of partition, and the depth of the second lookup table is less than the depth of the first lookup table; A third determination module, configured to determine a third weight value of the target partition based on the first weight value and the second weight value.

9. A storage medium stores a computer program, characterized in that, When the computer program is executed by a processor, the steps of the backlight weight calculation method for screen pixels according to any one of claims 1 to 7 are implemented.

10. An electronic device, at least comprising a memory and a processor, wherein a computer program is stored on the memory, characterized in that, When the processor executes the computer program on the memory, the steps of the backlight weight calculation method for screen pixels according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Image display method, image display device and display system

    CN114187880A

  • Display device, driving method thereof, driving module, electronic apparatus, and storage medium

    CN114373431A