Local dimming partition pixel uniform distribution method and device based on dynamic LUT, equipment and storage medium

Through the dynamic LUT's local dimming partition pixel uniform distribution method, the uneven display problem caused by uneven resolution and partition number is solved, and the uniform distribution of pixels and efficient utilization of hardware resources are achieved, and the display quality and system efficiency are improved.

CN120580960APending Publication Date: 2025-09-02HAIWEI ZHIZAO TECH (WUHAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510923485.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-04
Publication Date
2025-09-02

AI Technical Summary

Technical Problem

In display devices, when the resolution and partition number cannot be divided, the existing technology fixed remainder allocation or simple rounding method leads to partition boundary misalignment, resulting in uneven brightness or halo effect, and high hardware delay and resource utilization, affecting display quality and efficiency.

Method used

Using a local dimming partition pixel uniform distribution method based on dynamic LUT, by calculating the initial integer partition width and height and the total number of residual pixels, the residual pixel accumulation compensation algorithm is used to generate the accumulated pixel width and height, and forward differential encoding is performed to generate column-direction and row-direction allocation identification sequences to achieve uniform distribution of pixels.

Benefits of technology

Ensure uniformity of pixel allocation under the dividing of resolution and partition number, reduce hardware latency and resource usage, and improve display quality and system operation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120580960A_ABST
    Figure CN120580960A_ABST
Patent Text Reader

Abstract

The invention discloses a dynamic LUT-based local dimming partition pixel uniform distribution method, device and equipment and a storage medium, and relates to the technical field of display, and the dynamic LUT-based local dimming partition pixel uniform distribution method comprises the following steps: according to an image resolution parameter and a row and column partition number parameter of a target image, carrying out uniform distribution on the target image according to the image resolution parameter and the row and column partition number parameter of the target image; calculating the width and height of the initial integer partition and the total number of residual pixels; based on the initial integer partition width and height and the total number of residual pixels, generating accumulated pixel width and height from the first partition to each partition through a residual pixel accumulation compensation algorithm; forward differential coding is carried out on the accumulated pixel width and height, and a column direction distribution identification sequence and a row direction distribution identification sequence are generated; and completing uniform pixel distribution according to the column direction distribution identification sequence and the row direction distribution identification sequence. According to the invention, even pixel distribution can be realized and hardware delay can be reduced when the resolution and the partition number are not exactly divided, so that the display quality and the system operation efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a method, apparatus, device and storage medium for uniformly allocating pixels in local dimming partitions based on a dynamic LUT. Background Art

[0002] With the development of display technology, local dimming technology has been widely used in LCD and OLED display devices. Local dimming divides the backlight into multiple independently controlled zones, dynamically adjusting the brightness of each zone based on the displayed content, thereby achieving higher contrast and lower power consumption. However, in practical applications, the resolution of the display device is often not evenly divisible by the number of zones, which requires an effective pixel allocation method to ensure zone uniformity and display quality.

[0003] Traditional local dimming solutions typically use fixed remainder allocation or simple rounding to handle situations where the resolution and the number of partitions are not evenly divisible. For example, when the display device has a resolution of 3840×2160 and the number of partitions is 18x14, the partition width and height are directly rounded.

[0004] However, these existing approaches have many problems. First, fixed remainder allocation or simple rounding can cause partition boundary misalignment, resulting in uneven brightness or halo effects, affecting display quality. Second, real-time calculation of partition width and height increases hardware latency, especially when implemented using hardware such as FPGA (Field-Programmable Gate Array), which consumes too much resources. Therefore, how to achieve uniform pixel distribution and reduce hardware latency when the resolution and number of partitions are not divisible by integers has become an urgent problem to be solved.

[0005] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention

[0006] The purpose of this application is to provide a method, device, equipment and storage medium for uniform distribution of local dimming partition pixels based on dynamic LUT, aiming to solve the technical problem of how to achieve uniform pixel distribution and reduce hardware delay when the resolution and number of partitions are not divisible.

[0007] To achieve the above objectives, the present application proposes a method for uniformly allocating pixels in local dimming partitions based on a dynamic LUT, the method comprising:

[0008] Calculate the initial integer partition width and height and the total number of residual pixels according to the image resolution parameter and row and column partition number parameter of the target image;

[0009] Based on the initial integer partition width and height and the total number of residual pixels, generating cumulative pixel widths and heights from the first partition to each partition using a residual pixel accumulation compensation algorithm;

[0010] Performing forward differential encoding on the accumulated pixel width and height to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence;

[0011] Pixel uniform distribution is completed according to the column-wise distribution identifier sequence and the row-wise distribution identifier sequence.

[0012] In one embodiment, the initial integer partition width and height and the total number of residual pixels are calculated according to the image resolution parameter and the row and column partition number parameter of the target image;

[0013] Based on the initial integer partition width and height and the total number of residual pixels, generating cumulative pixel widths and heights from the first partition to each partition using a residual pixel accumulation compensation algorithm;

[0014] Performing forward differential encoding on the accumulated pixel width and height to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence;

[0015] Pixel uniform distribution is completed according to the column-wise distribution identifier sequence and the row-wise distribution identifier sequence.

[0016] In one embodiment, the image resolution parameter includes a total pixel width and a total pixel height, the row and column partition number parameter includes a row partition number and a column partition number, the initial integer partition width and height includes an initial integer column partition width and an initial integer row partition height, and the total number of residual pixels includes a column-wise residual pixel number and a row-wise residual pixel number.

[0017] The step of calculating the initial integer partition width and height and the total number of residual pixels according to the image resolution parameter and the row and column partition number parameter of the target image comprises:

[0018] Dividing the total pixel width by the number of column partitions to obtain a fractional partition width;

[0019] Divide the total pixel height by the number of row partitions to obtain a fractional partition height;

[0020] Rounding down the decimal partition width and the decimal partition height to obtain an initial integer column partition width and an initial integer row partition height;

[0021] Obtaining a total number of column-wise residual pixels according to a difference between the fractional partition width and the initial integer column partition width and the total number of column-wise partitions;

[0022] The total number of row-wise residual pixels is obtained according to the difference between the decimal partition height and the initial integer row partition height and the total number of row-wise partitions.

[0023] In one embodiment, the initial integer partition width and height include an initial integer column partition width and an initial integer row partition height, the total number of residual pixels includes a total number of column-wise residual pixels and a total number of row-wise residual pixels, and the cumulative pixel width and height include a cumulative pixel width and a cumulative pixel height;

[0024] The step of generating the cumulative pixel width and height from the first partition to each partition by a residual pixel accumulation compensation algorithm based on the initial integer partition width and height and the total number of residual pixels includes:

[0025] traversing each column partition block index, calculating a column-wise cumulative incremental value corresponding to each index according to the total number of column-wise residual pixels, the initial integer column partition width, and the current index value, wherein the column-wise cumulative incremental value is a ratio of the total number of column-wise residual pixels to the total number of column partitions multiplied by the current index value, and rounding down the column-wise cumulative incremental value to generate a cumulative pixel width for each partition;

[0026] Traverse each row partition block index, and calculate the row cumulative incremental value corresponding to each index according to the total number of row residual pixels, the initial integer row partition height and the current index value, wherein the row cumulative incremental value is the ratio of the total number of row residual pixels to the total number of row partitions multiplied by the current index value, and the row cumulative incremental value is rounded down to generate the cumulative pixel height of each partition.

[0027] In one embodiment, the cumulative pixel width and height includes a cumulative pixel width and a cumulative pixel height;

[0028] The step of performing forward differential encoding on the accumulated pixel width and height to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence comprises:

[0029] Traversing the column partition block indexes, calculating a first difference between the cumulative pixel width corresponding to the first current index and the cumulative pixel width corresponding to the first preceding index, and using the first difference as a column allocation identifier value to obtain a column allocation identifier sequence, wherein, when the first current index is a preset initial index value, the cumulative pixel width and the cumulative pixel height corresponding to the first preceding index are set to preset pixel values ​​by default;

[0030] Traverse the row partition block index, calculate the second difference between the cumulative pixel height corresponding to the second current index and the cumulative pixel height corresponding to the second preceding index, use the second difference as the row allocation identifier value, and obtain a row allocation identifier sequence, wherein, when the second current index is the preset initial index value, the cumulative pixel width and the cumulative pixel height corresponding to the second preceding index are set to the preset pixel value by default.

[0031] In one embodiment, the initial integer partition width and height include an initial integer column partition width and an initial integer row partition height;

[0032] The step of completing uniform pixel distribution according to the column-wise distribution identifier sequence and the row-wise distribution identifier sequence comprises:

[0033] Traversing each pixel coordinate of the current display frame, and adjusting the actual width of the current column partition and the actual height of the current row partition based on the initial integer column partition width and the initial integer row partition height;

[0034] When the adjustment is completed, the actual widths of all column partitions are accumulated to generate a column boundary coordinate sequence, wherein the last column boundary coordinate is consistent with the total pixel width of the image;

[0035] Accumulate the actual heights of all row partitions to generate a row boundary coordinate sequence, where the last row boundary coordinate is consistent with the total pixel height of the image;

[0036] The actual width and height of the partition block to which the current pixel coordinate belongs are calculated to obtain a backlight control signal to achieve uniform pixel distribution.

[0037] In one embodiment, the step of traversing each pixel coordinate of the current display frame and adjusting the actual width of the current column partition and the actual height of the current row partition based on the initial integer column partition width and the initial integer row partition height includes:

[0038] Traverse each pixel coordinate of the current display frame, and determine the column partition block index to which the current pixel belongs by comparing the pixel coordinate with the size of the column partition boundary;

[0039] extracting a column identification value corresponding to the column partition block index from the column allocation identification sequence, and if the column identification value is a first preset value, setting the actual width of the current column partition to the initial integer column partition width plus one pixel, otherwise maintaining the initial integer column partition width;

[0040] Traversing each pixel coordinate of the current display frame, and determining the row partition block index to which the current pixel belongs by comparing the pixel coordinate with the size of the row partition boundary;

[0041] A row identification value corresponding to the row partition block index is extracted from the row allocation identification sequence. If the row identification value is the first preset value, the actual height of the current row partition is set to the initial integer row partition height plus one pixel; otherwise, the initial integer row partition height is maintained.

[0042] In one embodiment, after the step of performing forward differential encoding on the accumulated pixel width and height to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence, the step further includes:

[0043] The column-wise allocation identification sequence and the row-wise allocation identification sequence are shift-encoded and then stored.

[0044] In addition, to achieve the above-mentioned purpose, the present application also proposes a local dimming partition pixel uniform distribution device based on a dynamic LUT, the device comprising:

[0045] An initial calculation module, used to calculate the initial integer partition width and height and the total number of residual pixels according to the image resolution parameter and the row and column partition number parameter of the target image;

[0046] a cumulative calculation module, configured to generate cumulative pixel widths and heights from the first partition to each partition by a residual pixel cumulative compensation algorithm based on the initial integer partition widths and heights and the total number of residual pixels;

[0047] A differential encoding module, configured to perform forward differential encoding on the accumulated pixel width and height to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence;

[0048] The uniform distribution module is configured to complete uniform pixel distribution according to the column-wise distribution identifier sequence and the row-wise distribution identifier sequence.

[0049] In addition, to achieve the above-mentioned purpose, the present application also proposes a local dimming partition pixel uniform distribution device based on dynamic LUT, the device including: a memory, a processor and a computer program stored on the memory and runnable on the processor, the computer program being configured to implement the steps of the local dimming partition pixel uniform distribution method based on dynamic LUT as described above.

[0050] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the local dimming partition pixel uniform distribution method based on dynamic LUT as described above are implemented.

[0051] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the steps of the local dimming partition pixel uniform distribution method based on dynamic LUT as described above.

[0052] One or more technical solutions proposed in this application have at least the following technical effects:

[0053] First, the system calculates the initial integer partition width and height, as well as the total number of residual pixels, based on the target image's image resolution parameters and the number of row and column partitions. This provides the foundational data for subsequent pixel allocation. Next, based on the initial integer partition width and height and the total number of residual pixels, the system uses a residual pixel accumulation compensation algorithm to generate the cumulative pixel width and height from the first partition to each subsequent partition. This step ensures uniform pixel distribution by gradually accumulating residual pixels and distributing them appropriately across partitions, avoiding display unevenness caused by non-divisibility between the resolution and the number of partitions. The system then performs forward differential encoding on the cumulative pixel width and height to generate column-wise and row-wise allocation identifier sequences. This encoding process converts the complex cumulative pixel width and height data into simple binary identifier sequences, significantly simplifying data storage and hardware processing, and reducing hardware resource utilization. Finally, the system completes the uniform pixel allocation based on the column-wise and row-wise allocation identifier sequences. By reading the values ​​in the identifier sequences, the system quickly determines whether additional pixels are needed for each partition and allocates them accordingly, further improving system efficiency. Through the above steps, the system can achieve uniform pixel distribution and reduce hardware latency when the resolution and number of partitions are not divisible, thereby improving display quality and system operation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0055] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0056] Figure 1 A flowchart of the first embodiment of the method for uniformly allocating pixels in local dimming zones based on a dynamic LUT is provided in this application;

[0057] Figure 2 A system block diagram of the first embodiment of the method for uniformly allocating pixels in local dimming zones based on a dynamic LUT of the present application;

[0058] Figure 3 A schematic diagram of the processing flow of the software preprocessing module provided in Example 1 of the method for uniformly distributing pixels in local dimming zones based on dynamic LUT of this application;

[0059] Figure 4 A flowchart illustrating a second embodiment of a method for uniformly allocating pixels in local dimming zones based on a dynamic LUT is provided in this application;

[0060] Figure 5 A flowchart of a residual pixel allocation calculation method provided in Example 2 of the local dimming partition pixel uniform allocation method based on a dynamic LUT of the present application;

[0061] Figure 6 A schematic diagram of pixel uniform distribution results provided in Example 2 of the local dimming partition pixel uniform distribution method based on dynamic LUT of this application;

[0062] Figure 7 A schematic diagram of a simplified flow chart of a method for uniformly allocating pixels in local dimming partitions based on a dynamic LUT provided in the second embodiment of the present application;

[0063] Figure 8 This is a schematic diagram of the module structure of a local dimming partition pixel uniform distribution device based on a dynamic LUT according to an embodiment of the present application;

[0064] Figure 9 Schematic diagram of the device structure of the hardware operating environment involved in the local dimming partition pixel uniform distribution method based on dynamic LUT in the embodiment of the present application.

[0065] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0066] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0067] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0068] With the advancement of display technology, local dimming technology has been widely used in LCD and OLED devices, achieving high contrast and low power consumption by controlling backlight brightness in different zones. However, the resolution and the number of zones are often not divisible by an even number. Existing methods, such as fixed remainder allocation and simple rounding, can lead to problems such as edge misalignment, uneven brightness, hardware latency, high resource usage, and computational dependency, resulting in reduced display quality and increased hardware power consumption.

[0069] The main solution of the embodiment of the present application is: first, the initial integer partition width and height and the total number of residual pixels are calculated based on the resolution of the target image and the number of row and column partitions to provide basic data for subsequent allocation. Then, the cumulative pixel width and height from the first partition to each partition are generated through the residual pixel accumulation compensation algorithm to ensure uniform pixel distribution and avoid uneven display. Then, the cumulative pixel width and height are forward differentially encoded to generate column and row allocation identification sequences to simplify data storage and hardware processing. Finally, the uniform pixel distribution is completed based on these identification sequences to improve system operation efficiency.

[0070] It should be noted that the execution subject of the embodiments of the present application can be a computing service device with data processing, network communication and program execution functions, such as a tablet computer, personal computer, mobile phone, etc., or an electronic device capable of implementing the above functions, a dynamic LUT backlight partition control system (including a software preprocessing module, a LUT storage device, a backlight control device), etc. The following uses the dynamic LUT backlight partition control system as an example to illustrate this embodiment and the following embodiments.

[0071] Based on this, the embodiment of the present application provides a method for uniformly allocating pixels in local dimming partitions based on a dynamic LUT, referring to Figure 1 , Figure 1 1 is a flow chart of the first embodiment of the method for uniformly allocating pixels in local dimming zones based on a dynamic LUT of the present application.

[0072] In this embodiment, the method for uniformly allocating pixels in local dimming zones based on a dynamic LUT includes steps S10 to S40:

[0073] Step S10 , calculating the initial integer partition width and height and the total number of residual pixels according to the image resolution parameter and the row and column partition number parameter of the target image.

[0074] It should be noted that the target image refers to the image content that needs to be displayed and processed in the local dimming system. It is the image that will be presented to the user on the display device. Its resolution and content determine the basis and target of backlight zone control.

[0075] Image resolution refers to the pixel count of the target image's width and height, typically expressed as "width x height," for example, 3840 x 2160. It reflects the image's clarity and pixel density and is a key parameter used in local dimming zone control to calculate zone width and height and allocate pixels.

[0076] The row and column partition count parameter specifies the number of horizontal (row) and vertical (column) partitions used to divide the display device's backlight into independently controlled zones. For example, a display device's backlight might be divided into 16 rows x 9 columns. This parameter determines the granularity of the backlight partitioning, affecting the display quality of local dimming and the allocation of hardware resources.

[0077] The initial integer partition width and height are the integer width and height of each partition calculated by rounding down after considering the image resolution and the number of row and column partitions. This is the basic unit of partition width and height and is used for initial pixel allocation.

[0078] The total number of residual pixels refers to the number of pixels remaining after the image resolution is divided into partitions because the number of partitions cannot evenly divide the image resolution. These residual pixels need to be evenly distributed among the partitions to avoid display unevenness or halo effects.

[0079] As an example, the image resolution parameter includes a total pixel width and a total pixel height, the row and column partition number parameter includes a row partition number and a column partition number, the initial integer partition width and height includes an initial integer column partition width and an initial integer row partition height, and the total number of residual pixels includes a column-wise residual pixel total number and a row-wise residual pixel total number; the step of calculating the initial integer partition width and height and the total number of residual pixels based on the image resolution parameter and the row and column partition number parameter of the target image includes: dividing the total pixel width by the column partition number to obtain a decimal partition width; dividing the total pixel height by the row partition number to obtain a decimal partition height; rounding down the decimal partition width and the decimal partition height to obtain an initial integer column partition width and an initial integer row partition height; calculating the total number of residual pixels in the column direction based on the difference between the decimal partition width and the initial integer column partition width and the total number of column (row) partitions; and obtaining the total number of residual pixels in the row direction based on the difference between the decimal partition height and the initial integer row partition height.

[0080] Total pixel width refers to the total number of pixels in the target image in the horizontal direction and is an important component of image resolution. In local dimming technology, total pixel width is used to determine the horizontal size of the entire image and is the basic parameter for calculating the width of each partition. For example, for an image with a resolution of 1920×1080, the total pixel width is 1920.

[0081] Total pixel height refers to the total number of pixels in the target image in the vertical direction and is also an important component of image resolution. It is used to determine the vertical size of the entire image and is the basic parameter for calculating the height of each partition. For example, for an image with a resolution of 1920×1080, the total pixel height is 1080.

[0082] The number of row partitions refers to the number of vertical partitions into which the backlight is divided. It is a key parameter used in local dimming technology to control backlight brightness and determines the fineness of the vertical partitioning. For example, if a display device's backlight is divided into 34 row partitions, the number of row partitions is 34.

[0083] The number of column partitions refers to the number of horizontal partitions into which the backlight is divided. It is another important parameter used in local dimming technology to control backlight brightness and determines the level of horizontal partitioning. For example, if a display device's backlight is divided into 62 column partitions, the number of column partitions is 62.

[0084] The initial integer column partition width is the integer width of each partition calculated by rounding down the total pixel width and the number of column partitions. It is the base partition width and is used to initially allocate pixels horizontally.

[0085] The initial integer row partition height is the integer height of each partition calculated by rounding down the total pixel height and the number of row partitions. It is the base value of the partition height and is used to initially allocate pixels in the vertical direction.

[0086] The total number of residual pixels in the column direction refers to the number of pixels remaining in the horizontal direction because the total pixel width cannot be evenly divided by the number of column partitions. These residual pixels need to be evenly distributed among the partitions to avoid display unevenness or halo effects.

[0087] The total number of residual pixels in the row direction refers to the total number of pixels remaining in the vertical direction because the number of row partitions cannot evenly divide the total pixel height. These residual pixels also need to be evenly distributed among the partitions to ensure a uniform display effect.

[0088] Fractional partition width refers to the raw result of dividing the total pixel width by the number of column partitions when calculating the column partition width, including the fractional portion. It reflects the actual horizontal width of each partition, including both the integer and fractional parts. For example, for an image with a total pixel width of 1920 and 62 column partitions, the fractional partition width is 1920 divided by 62, which is approximately 30.967.

[0089] Fractional partition height refers to the raw result of dividing the total pixel height by the number of row partitions when calculating the row partition height, including the fractional portion. It reflects the actual vertical height of each partition, including both the integer and fractional parts. For example, for an image with a total pixel height of 1080 and 34 row partitions, the fractional partition height is 1080 divided by 34, which is approximately 31.764.

[0090] The dynamic LUT backlight partitioning control system first divides the target image's total pixel width by the number of column partitions to obtain a fractional width for each partition. This step is used to calculate the ideal horizontal width of each partition, but this width may contain a fractional portion. Next, the system divides the total pixel height by the number of row partitions to obtain a fractional height for each partition. This is also used to calculate the ideal vertical height of each partition, which may also contain a fractional portion. The system then rounds down these fractional widths and heights to the initial integer column partition width and initial integer row partition height, respectively. Because actual pixel allocation requires integer pixel values, rounding down ensures that each partition's width and height are integer pixel values. Finally, the system calculates the difference between the fractional partition width and the initial integer column partition width to obtain the column-wise residual pixel count, which represents the number of pixels remaining after horizontal allocation. Similarly, the system calculates the difference between the fractional partition height and the initial integer row partition height to obtain the row-wise residual pixel count, which represents the number of pixels remaining after vertical allocation. These residual pixels will then be evenly distributed to each partition to ensure that the overall display effect is uniform and has no obvious boundary differences.

[0091] Step S20 : ​​Based on the initial integer partition width and height and the total number of residual pixels, generate cumulative pixel widths and heights from the first partition to each partition using a residual pixel accumulation compensation algorithm.

[0092] It should be noted that the residual pixel accumulation compensation algorithm is an algorithm used to address the problem of non-divisibility between the resolution and the number of partitions in display devices. Its core idea is to evenly distribute the residual pixels generated by the non-divisibility of the number of partitions to each partition according to a certain rule. Specifically, the algorithm gradually accumulates residual pixels based on the index position of each partition (i.e., the order of the partitions in the rows and columns) and adds additional pixels to the appropriate partitions to compensate for the pixels lost due to rounding down. In this way, the algorithm can ensure that the pixel distribution of all partitions is as even as possible, avoiding display unevenness or halo effects.

[0093] According to the above description, the cumulative pixel width and height should refer to the residual pixels accumulated from the first partition to the last partition after the residual pixels are allocated. For example, the cumulative pixel widths of the 1st, 2nd, 3rd, and 4th partitions are 0.35, 0.7, 1.05, and 1.4 respectively.

[0094] As an example, the initial integer partition width and height include an initial integer column partition width and an initial integer row partition height, the total number of residual pixels includes a column-wise residual pixel total number and a row-wise residual pixel total number, and the cumulative pixel width and height include a cumulative pixel width and a cumulative pixel height; the step of generating the cumulative pixel width and height from the first partition to each partition by a residual pixel accumulation compensation algorithm based on the initial integer partition width and height and the total number of residual pixels includes: traversing each column partition block index, calculating the column-wise cumulative pixel width and height corresponding to each index according to the column-wise residual pixel total number, the initial integer column partition width, and the current index value; The cumulative incremental value is obtained by multiplying the current index value by the ratio of the total number of column residual pixels to the total number of column partitions, and rounding down the column cumulative incremental value to generate the cumulative pixel width of each partition; traversing each row partition block index, calculating the row cumulative incremental value corresponding to each index according to the total number of row residual pixels, the initial integer row partition height and the current index value, the row cumulative incremental value is obtained by multiplying the current index value by the ratio of the total number of row residual pixels to the total number of row partitions, and rounding down the row cumulative incremental value to generate the cumulative pixel height of each partition.

[0095] The cumulative pixel width refers to the cumulative pixel length from the starting position of the image to the current partition. It is generated by summing the initial integer partition width and the residual pixel allocation increment (calculated by a dynamic algorithm) to ensure that the total pixel width is consistent with the original resolution.

[0096] The cumulative pixel height refers to the accumulated pixel height from the starting position of the image to the current partition. It is generated by summing the initial integer partition height and the residual pixel allocation increment (calculated by a dynamic algorithm) to ensure that the total pixel height is consistent with the original resolution.

[0097] The column partition block index is obtained by comparing the pixel position with the partition boundary to determine whether to accumulate. The initial block index is 0, which is used to extract the corresponding partition adjustment rule (such as whether to increase 1 pixel) from the allocation identifier sequence.

[0098] The column-wise cumulative delta value is the number of additional pixels calculated horizontally for each column partition based on the total number of residual pixels and the total number of column partitions. It is calculated by multiplying the ratio of the total number of residual pixels to the initial integer column partition width by the current column partition block index, rounding the result down. The column-wise cumulative delta value is used to determine the number of additional pixels required for each column partition to achieve even pixel distribution.

[0099] The row partition block index is the vertical sequence number of each row partition. It is an integer starting from 0 and is used to identify the position of each row partition. For example, if there are 34 row partitions, the row partition block index ranges from 0 to 33.

[0100] The row-wise cumulative increment value is the number of additional pixels calculated vertically for each row partition based on the total number of residual pixels and the total number of column partitions. It is calculated by multiplying the ratio of the total number of residual pixels in the row partition to the initial integer row partition height by the current row partition block index, rounding the result down. The row-wise cumulative increment value is used to determine the number of additional pixels required for each row partition to achieve even pixel distribution.

[0101] First, the dynamic LUT backlight partition control system iterates through each column partition block index one by one. The system determines the boundaries of each partition by dynamically accumulating partition intervals: First, the initial integer column partition width is used as the initial boundary of the first partition. The boundary of each subsequent partition is the previous partition boundary plus the integer width (height) and its adjustment amount (0 or 1 pixel), forming an increasing partition boundary sequence. Then, each pixel coordinate of the display frame is traversed, and the column partition block index to which it belongs is determined by comparing the column coordinate (x) of the current pixel with the partition boundary sequence (index starts at 0 and automatically increases by 1 as the boundary increases). Based on this index, the identification value (0 or 1) is extracted from the pre-calculated column-wise allocation identification sequence. The final column width is the sum of the initial integer column partition width and the identification value. The row-wise processing logic is consistent with the column direction: the initial integer row partition height is used as the initial boundary of the first partition, and the row partition boundary sequence is generated by accumulating partition intervals. The row partition block index is determined by traversing the pixel row coordinate (y), and the row-wise allocation identification value (0 or 1) is extracted. The final row height is the sum of the initial integer row partition height and the identification value. In this way, the system ensures that the residual pixels are dynamically allocated to each partition according to the identification value, avoiding uneven display or halo effects, while simplifying the hardware calculation complexity and improving efficiency.

[0102] Step S30 , performing forward differential coding on the accumulated pixel width and height to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence.

[0103] It should be noted that forward differential coding is a mathematical processing method used to convert continuous cumulative values ​​into a sequence of differences between adjacent values. In local dimming partition pixel allocation, forward differential coding generates an identification sequence by differentiating the cumulative pixel width and height sequence item by item, where each identification value represents the change in pixel width or height between the current partition and the previous partition. Specifically, if the cumulative pixel value of the current partition increases by 1 pixel compared to the previous partition, the differential coding result is 1; if there is no change, the differential coding result is 0. This method can significantly simplify data storage and hardware implementation, because the differentially encoded sequence usually only contains 0 and 1, occupying less storage space.

[0104] The column allocation identifier sequence is generated by forward differential encoding the accumulated pixel widths in the column direction. It is a binary sequence, with each element corresponding to a column partition and a value of 0 or 1. A value of 1 indicates that the width of the current column partition is one pixel larger than the previous partition; a value of 0 indicates that the width of the current column partition is the same as the previous partition. This sequence is used to identify which column partitions require an additional pixel to achieve even pixel distribution. It provides precise guidance for subsequent partition control and display.

[0105] The row allocation identifier sequence is generated by forward differential encoding the accumulated pixel heights in the row direction. It is also a binary sequence, with each element corresponding to a row partition and a value of 0 or 1. A value of 1 indicates that the height of the current row partition is one pixel higher than the previous partition; a value of 0 indicates that the current row partition has the same height as the previous partition. This sequence is used to identify which row partitions require an additional pixel to achieve even pixel distribution. It also provides precise guidance for subsequent partition control and display.

[0106] As an example, the cumulative pixel width and height include cumulative pixel width and cumulative pixel height; the step of forward differentially encoding the cumulative pixel width and height to generate a column-wise allocation identification sequence and a row-wise allocation identification sequence includes: traversing the column partition block index, calculating a first difference between the cumulative pixel width corresponding to the first current index and the cumulative pixel width corresponding to the first preceding index, and using the first difference as the column-wise allocation identification value to obtain a column-wise allocation identification sequence, wherein, when the first current index is a preset initial index value, the cumulative pixel width and the cumulative pixel height corresponding to the first preceding index are set to the preset pixel value by default; traversing the row partition block index, calculating a second difference between the cumulative pixel height corresponding to the second current index and the cumulative pixel height corresponding to the second preceding index, and using the second difference as the row-wise allocation identification value to obtain a row-wise allocation identification sequence, wherein, when the second current index is the preset initial index value, the cumulative pixel width and the cumulative pixel height corresponding to the second preceding index are set to the preset pixel value by default.

[0107] The first current index refers to the index value of the column partition currently being processed when traversing the column partition block index. It is a dynamically changing value that increases one by one as the traversal progresses. For example, if there are 62 column partitions, the first current index will start from 0 and go up to 61.

[0108] The first preceding index is the index value before the current index when traversing the column partition block index. It is the result of subtracting 1 from the first current index and is used to obtain the cumulative pixel width of the previous partition for calculating the difference. For example, when the first current index is 3, the first preceding index is 2.

[0109] The first difference refers to the difference between the cumulative pixel width of the current column partition and the cumulative pixel width of the previous column partition, and is used to determine whether additional pixels need to be added to the current partition.

[0110] The column allocation flag value is a binary flag (0 or 1) generated based on the cumulative allocation ratio of residual pixels, which is used to indicate whether the actual width of the current column partition is increased by 1 pixel based on the initial integer column partition width. Specifically:

[0111] If the cumulative allocation ratio of residual pixels in the current partition is 1 (that is, an additional pixel needs to be allocated), the column allocation flag value is 1, and the current column partition width is the initial integer column partition width + 1;

[0112] If the allocation ratio is 0 (no additional allocation is required), the column allocation identifier value is 0, and the current column partition width remains the initial integer column partition width.

[0113] The row-wise allocation identification value is generated similarly based on the cumulative allocation ratio of the row-wise residual pixels, and determines whether the current row partition height is increased by 1 pixel based on the initial integer row partition height.

[0114] The default initial index value is the starting index value defined when traversing the column partition block index. Typically, the default initial index value is 0, indicating that the process starts from the first partition.

[0115] The default pixel values ​​refer to the initial values ​​of the cumulative pixel width and cumulative pixel height set by the system when processing the first partition (i.e., the index is the preset initial index value), as there is no previous partition to refer to. In this step, the default pixel values ​​are usually set to 0, indicating that no additional pixels are accumulated before the first partition.

[0116] The second current index is the index value of the row partition currently being processed when traversing the row partition block index. It is a dynamically changing value that increases as the traversal progresses. For example, if there are 34 row partitions, the second current index will start at 0 and continue to 33.

[0117] The second preceding index is the index value before the current index when traversing the row partition block index. It is the result of subtracting 1 from the second current index and is used to obtain the cumulative pixel height of the previous partition in order to calculate the difference.

[0118] The second difference refers to the difference between the cumulative pixel height of the current row partition and the cumulative pixel height of the previous row partition, and is used to determine whether the current partition needs to add additional pixels.

[0119] The row allocation flag value is a binary flag (0 or 1) generated based on the cumulative allocation ratio of residual pixels, which is used to indicate whether the actual height of the current row partition increases by 1 pixel based on the initial integer row partition height. Specifically:

[0120] If the cumulative allocation ratio of residual pixels in the current partition is 1 (that is, an additional pixel needs to be allocated), the row allocation flag value is 1, and the current row partition height is the initial integer row partition height + 1;

[0121] If the allocation ratio is 0 (no additional allocation is required), the row-wise allocation identifier value is 0, and the current row partition height remains unchanged from the initial integer row partition height.

[0122] First, the dynamic LUT backlight partition control system goes through the column partition block indexes one by one, and for each index value (first current index), calculates the difference (first difference) between the corresponding cumulative pixel width and the cumulative pixel width corresponding to the previous index (first pre-order index), and uses this difference as the column-to-distribution identification value, and records it in sequence to form a column-to-distribution identification sequence; when the first current index is a preset initial index value, since there is no previous index for reference, the system sets the cumulative pixel width and cumulative pixel height corresponding to the first pre-order index to the preset pixel value by default, and uses this as the initial condition for calculation. Then, the system processes the row partitions in the same way, goes through the row partition block indexes one by one, calculates the difference (second difference) between the cumulative pixel height corresponding to each index value (second current index) and the cumulative pixel height corresponding to the previous index (second pre-order index), and uses this difference as the row-to-distribution identification value, and records it in sequence to form a row-to-distribution identification sequence; similarly, when the second current index is a preset initial index value, the cumulative pixel width and cumulative pixel height corresponding to the second pre-order index are set to the preset pixel value by default, and used as the initial condition for calculation. In this way, the system can efficiently generate column- and row-oriented allocation identification sequences, providing concise and clear identification for subsequent partition control, while avoiding complex real-time calculations and reducing hardware resource usage.

[0123] As an example, after the step of forward differentially encoding the accumulated pixel width and height to generate a column allocation identifier sequence and a row allocation identifier sequence, the method further includes: shift encoding the column allocation identifier sequence and the row allocation identifier sequence and then storing them.

[0124] The identification value refers to a specific value (0 or 1) in the column-oriented allocation identification sequence or the row-oriented allocation identification sequence, which indicates whether the current partition needs to add an additional pixel (1 indicates increase, 0 indicates no increase).

[0125] Step S40 : completing pixel uniform distribution according to the column-wise distribution identifier sequence and the row-wise distribution identifier sequence.

[0126] Please refer to Figure 2 , Figure 2 This is a system block diagram provided for Example 1 of the method for uniformly distributing pixels in local dimming partitions based on dynamic LUT in this application. The system first receives the image resolution and the total number of light board partitions input by the user through the software preprocessing module, calculates the initial integer width and height and the total number of residual pixels of each partition, and then uses the residual pixel accumulation compensation algorithm to generate the cumulative pixel width and height from the first partition to each partition. Then, these cumulative pixel width and height information are forward differentially encoded to generate column-wise and row-wise allocation identification sequences, which are then compressed and shift-encoded and stored in the LUT storage device. When the image to be displayed is input to the display control device, the system traverses each pixel of the image according to the identification information stored in the LUT, adjusts the actual width and height of the current column partition and row partition, and generates a column-wise and row-wise boundary coordinate sequence. Finally, the system obtains the backlight control signal output according to the actual width and height corresponding to the partition block to which the current pixel coordinate belongs, completes the uniform pixel distribution, and thus realizes local dimming and improves the display effect and contrast.

[0127] Please refer to Figure 3 , Figure 3 The schematic diagram of the processing flow of the software preprocessing module provided in the first embodiment of the method for uniformly distributing pixels in local dimming partitions based on dynamic LUT of the present application, first receives the number of partitions set by the user and the resolution of the image to be displayed through the parameter input module, and then in the initial pixel number calculation stage, performs a decimal width and height calculation with deviation and a width and height calculation containing only integers on the width and height of the image, that is, rounds down the decimal width and height to obtain the initial integer partition width and height. Then, in the residual pixel accumulation calculation stage, the deviation of each partition position is accumulated until the pixels of all partitions are allocated. Subsequently, the residual pixel differential encoding stage simplifies the accumulated residual pixel data, and obtains the differential sequence through forward difference, which can be directly used for partition width and height calculation. Finally, in the shift LUT generation stage, the differentially encoded data is shift-encoded to generate a LUT for storage and subsequent use by the backlight control device, thereby completing the entire process of the software preprocessing module.

[0128] It can be understood that first, the system reads the identification values ​​from the column-wise allocation identification sequence one by one. For each column partition with an identification value of 1, the width is increased by one pixel, while for column partitions with an identification value of 0, the initial integer column partition width remains unchanged, thereby completing the pixel allocation in the column direction. Next, the system processes the row-wise allocation identification sequence in the same manner, reading the identification values ​​one by one. For each row partition with an identification value of 1, the height is increased by one pixel, while for row partitions with an identification value of 0, the initial integer row partition height remains unchanged, thereby completing the pixel allocation in the row direction.

[0129] This embodiment provides a method for uniformly distributing pixels in local dimming zones based on a dynamic LUT.

[0130] First, the system calculates the initial integer partition width and height, as well as the total number of residual pixels, based on the target image's image resolution parameters and the number of row and column partitions. This provides the foundational data for subsequent pixel allocation. Next, based on the initial integer partition width and height and the total number of residual pixels, the system uses a residual pixel accumulation compensation algorithm to generate the cumulative pixel width and height from the first partition to each subsequent partition. This step ensures uniform pixel distribution by gradually accumulating residual pixels and distributing them appropriately across partitions, avoiding display unevenness caused by non-divisibility between the resolution and the number of partitions. The system then performs forward differential encoding on the cumulative pixel width and height to generate column-wise and row-wise allocation identifier sequences. This encoding process converts the complex cumulative pixel width and height data into simple binary identifier sequences, significantly simplifying data storage and hardware processing, and reducing hardware resource utilization. Finally, the system completes the uniform pixel allocation based on the column-wise and row-wise allocation identifier sequences. By reading the values ​​in the identifier sequences, the system quickly determines whether additional pixels are needed for each partition and allocates them accordingly, further improving system efficiency. Through the above steps, the system can achieve uniform pixel distribution and reduce hardware latency when the resolution and number of partitions are not divisible, thereby improving display quality and system operation efficiency.

[0131] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above embodiment 1 can be referred to the above introduction and will not be described in detail later. Figure 4 , Figure 4 This is a flow chart of the second embodiment of the method for uniformly distributing pixels in local dimming partitions based on a dynamic LUT of the present application. The initial integer partition width and height include an initial integer column partition width and an initial integer row partition height. Step Sx0 of the method for uniformly distributing pixels in local dimming partitions based on a dynamic LUT includes steps S41 to S44:

[0132] Step S41 , traversing each pixel coordinate of the current display frame, and adjusting the actual width of the current column partition and the actual height of the current row partition based on the initial integer column partition width and the initial integer row partition height.

[0133] It should be noted that the current display frame refers to the frame of image data that the system is processing or about to display. In a display device, image content is displayed frame by frame, and each frame contains complete image information.

[0134] Pixel coordinates refer to the specific location of each pixel in the display frame, usually represented by a pair of values ​​(x, y), where x represents the horizontal position of the pixel and y represents the vertical position of the pixel. Pixel coordinates start at the upper left corner (usually (0, 0)) and increase as you move right and downward.

[0135] The current column partition refers to the partition currently being processed along the columns of the display frame. The display frame is divided into multiple column partitions, each containing a certain number of pixel columns. The current column partition changes dynamically, processing each column individually as the display is traversed. In local dimming technology, the current column partition is used to determine which partition the currently processed pixel column belongs to and adjust the pixel brightness based on the characteristics of the partition.

[0136] The actual width refers to the actual width of the current column partition after considering the residual pixel allocation, that is, the number of pixel columns contained in the partition, which is used to accurately divide the boundary of each column partition and ensure uniform pixel allocation in the horizontal direction.

[0137] The current row partition refers to the partition currently being processed along the row direction of the display frame. The display frame is divided into multiple row partitions, each containing a certain number of pixel rows. The current row partition changes dynamically, processing each row individually as the display progresses. In local dimming technology, the current row partition is used to determine which partition the currently processed pixel row belongs to and adjust the pixel brightness based on the characteristics of the partition.

[0138] The actual height refers to the actual height of the current row partition after considering the residual pixel allocation, that is, the number of pixel rows contained in the partition, which is used to accurately divide the boundary of each row partition and ensure uniform pixel allocation in the vertical direction.

[0139] Please refer to Figure 5 , Figure 5The flowchart of the residual pixel allocation calculation method provided in the second embodiment of the local dimming partition pixel uniform distribution method based on dynamic LUT of this application is as follows: first, the initial fractional partition width and height (fBaseW, fBaseH) are calculated, that is, the result obtained by dividing the image resolution by the number of backlight partitions. Next, the initial integer partition width and height (IBaseW, IBaseH) are calculated, which are obtained by rounding down the fractional width and height. Then, the residual pixel accumulation calculation is performed. For each partition, its cumulative pixel width (IEleW) and cumulative pixel height (IEleH) are calculated. This is obtained by multiplying the difference between the fractional width and height and the integer width and height by the partition index (blockIdx_i) and rounding down. Finally, the residual pixel differential encoding is performed, and the identifier (blockW_mod, blockH_mod) of whether each partition needs to be additionally allocated a row or column of pixels is obtained by forward difference. This identifier is determined by the difference between the product of the fractional width and height, the integer width and height and the partition index respectively. The result is used to generate a shift LUT for use in a display control device to achieve uniform pixel distribution.

[0140] As an example, the step of traversing each pixel coordinate of the current display frame and adjusting the actual width of the current column partition and the actual height of the current row partition based on the initial integer column partition width and the initial integer row partition height includes: traversing each pixel coordinate of the current display frame, and determining the column partition block index to which the current pixel belongs by comparing the pixel coordinate with the size of the column partition boundary; extracting the column identification value corresponding to the column partition block index from the column-oriented allocation identification sequence, and if the column identification value is a first preset value, setting the actual width of the current column partition to the initial integer column partition width plus one pixel, otherwise maintaining the initial integer column partition width; traversing each pixel coordinate of the current display frame, and determining the row partition block index to which the current pixel belongs by comparing the pixel coordinate with the size of the row partition boundary; extracting the row identification value corresponding to the row partition block index from the row-oriented allocation identification sequence, and if the row identification value is the first preset value, setting the actual height of the current row partition to the initial integer row partition height plus one pixel, otherwise maintaining the initial integer row partition height.

[0141] The column partition block index refers to the index value of the partition to which the current pixel belongs in the column direction of the display frame. The current pixel horizontal coordinate (x coordinate) is compared with the current partition boundary to determine whether the index is incremented. The index is used to extract the corresponding identification value (0 or 1) from the pre-calculated column allocation identification sequence to determine whether the actual width of the current partition is increased by 1 pixel based on the initial integer width. For example: if the index is 0 and the corresponding identification value is 1, the actual width is the initial integer column partition width + 1; if the index is 1 and the corresponding identification value is 0, the actual width remains unchanged at the initial integer column partition width.

[0142] The column identifier value is the value corresponding to the current column partition block index, extracted from the column allocation identifier sequence. The column allocation identifier sequence is a binary sequence, where each value (0 or 1) indicates whether the corresponding column partition needs to be increased by one pixel. A column identifier value of 1 indicates that the actual width of the current column partition needs to be increased by one pixel, while a value of 0 indicates that the initial integer column partition width remains unchanged.

[0143] The first preset value is a preset specific value used to determine whether the column identification value or the row identification value indicates that a pixel needs to be added. In this embodiment, the first preset value is usually set to 1.

[0144] The row partition block index refers to the index value of the partition to which the current pixel belongs in the row direction of the display frame. The vertical coordinate (y coordinate) of the current pixel is compared with the current partition boundary to determine whether the index is incremented. The index is used to extract the corresponding identification value (0 or 1) from the pre-calculated row allocation identification sequence to determine whether the actual height of the current partition increases by 1 pixel based on the initial integer height.

[0145] The row identifier value is the value corresponding to the current row partition block index, extracted from the row allocation identifier sequence. The row allocation identifier sequence is a binary sequence, where each value (0 or 1) indicates whether the corresponding row partition needs to be increased by one pixel. A row identifier value of 1 indicates that the actual height of the current row partition needs to be increased by one pixel, while a row identifier value of 0 indicates that the initial integer row partition height remains unchanged.

[0146] First, the dynamic LUT backlight partition control system iterates through each pixel coordinate in the current display frame one by one. For each pixel, the column partition block index to which the pixel belongs is determined by comparing the size relationship between the boundary of each partition and the coordinates of the current pixel position, thereby determining the column partition number where the current pixel is located. Secondly, based on the calculated column partition block index, the system extracts the corresponding column identifier value from the column-wise allocation identifier sequence. If the column identifier value is equal to a first preset value, the actual width of the current column partition is set to the initial integer column partition width plus 1 pixel. Otherwise, the initial integer column partition width remains unchanged, thus ensuring uniform pixel distribution in the column direction. Finally, the system iterates over each pixel coordinate of the current display frame one by one again, calculates the row partition block index to which the pixel belongs based on the vertical position of the pixel divided by the initial integer row partition height, determines the row partition number where the current pixel is located, and then extracts the corresponding row identification value from the row allocation identification sequence. If the row identification value is equal to the first preset value, the actual height of the current row partition is set to the initial integer row partition height plus 1 pixel, otherwise the initial integer row partition height remains unchanged. In this way, the system can also achieve uniform distribution of pixels in the row direction, thereby achieving uniform pixel distribution for the entire display frame when the resolution is not divisible by the number of partitions, avoiding uneven display or halo effects.

[0147] Step S42 : When the adjustment is completed, the actual widths of all column partitions are accumulated to generate a column boundary coordinate sequence, wherein the last column boundary coordinate is consistent with the total pixel width of the image.

[0148] It should be noted that the column boundary coordinate sequence refers to the sequence of boundary coordinates of all column partitions in the column direction of the display frame. Each boundary coordinate represents the end position of a column partition (i.e., the starting position of the next column partition). This sequence is used to define the specific horizontal range of each column partition and is the reference data used to determine the partition boundaries in local dimming control.

[0149] The last column boundary coordinate refers to the last boundary coordinate in the column boundary coordinate sequence, indicating the end position of the last column partition. It is consistent with the total pixel width of the image, ensuring that the entire display frame is completely covered in the horizontal direction without omission or excess.

[0150] Image total pixel width refers to the total number of pixels in the horizontal direction of the target image and is a component of image resolution. It represents the total horizontal width of the entire display frame and is the basic parameter for dividing column partitions and calculating column boundary coordinate sequences.

[0151] It can be understood that after completing the adjustment of the actual widths of all column partitions, the dynamic LUT backlight partition control system starts from the first column partition and uses its actual width as the starting boundary coordinate. Then, the system accumulates the actual width of each subsequent column partition one by one, generates the end boundary coordinates of each column partition in turn, and records these boundary coordinates in turn to form a complete column boundary coordinate sequence. In this process, the system ensures that the end boundary coordinate of the last column partition (that is, the last column boundary coordinate) is completely consistent with the total pixel width of the image, thereby ensuring that the horizontal direction of the entire display frame is completely and accurately divided, providing accurate partition boundary information for subsequent local dimming control.

[0152] Step S43 , accumulating the actual heights of all row partitions to generate a row boundary coordinate sequence, wherein the last row boundary coordinate is consistent with the total pixel height of the image.

[0153] It should be noted that the row boundary coordinate sequence refers to the sequence of boundary coordinates of all row partitions in the row direction of the display frame. Each boundary coordinate represents the end position of a row partition (i.e., the starting position of the next row partition). This sequence is used to define the specific vertical range of each row partition and is the reference data used to determine the partition boundaries in local dimming control.

[0154] The last row boundary coordinate is the last boundary coordinate in the row boundary coordinate sequence, indicating the end position of the last row partition. It is consistent with the total pixel height of the image, ensuring that the entire display frame is completely covered vertically without omissions or overshoots.

[0155] Image total pixel height refers to the total number of pixels in the target image in the vertical direction and is a component of image resolution. It represents the total vertical height of the entire display frame and is the basic parameter for dividing row partitions and calculating row boundary coordinate sequences.

[0156] It can be understood that, first, the dynamic LUT backlight partition control system starts to accumulate from the actual height of the first row partition, takes the actual height of the first row partition as the initial boundary coordinate, and records it as the first value of the row boundary coordinate sequence. Secondly, the system accumulates the actual heights of subsequent row partitions one by one, and the result of each accumulation is used as the end boundary coordinate of the next row partition, and records these end boundary coordinates in the row boundary coordinate sequence in turn until the actual heights of all row partitions are accumulated. Finally, the system checks the last value in the row boundary coordinate sequence, that is, the row end boundary coordinate, to ensure that it is consistent with the total pixel height of the image, thereby ensuring that the vertical direction of the entire display frame is completely and accurately divided, providing accurate partition boundary information for subsequent local dimming control.

[0157] Step S44 , calculating the actual width and height of the partition block to which the current pixel coordinate belongs, and obtaining a backlight control signal to achieve uniform pixel distribution.

[0158] It should be noted that the current pixel coordinates refer to the specific location of the pixel currently being processed in the display frame, typically represented by a pair of values ​​(x, y), where x represents the horizontal position of the pixel and y represents the vertical position. These coordinates are used to determine the row and column partitions to which the pixel belongs, and then the backlight control signal for that partition is calculated based on the brightness data of all pixels within the partition. The brightness value of a single pixel serves only as an input parameter for the partition brightness statistics. The final backlight signal is generated by combining the actual size of the partition after adjusting its width and height and the brightness distribution of all pixels within the area.

[0159] Backlight control signals are signals used to control the backlight brightness of a display device. In local dimming technology, the backlight is divided into multiple independently controlled zones, and the brightness of each zone can be dynamically adjusted based on the displayed content.

[0160] It can be understood that first, the system determines the row partition and column partition to which the pixel belongs based on the current pixel coordinates. Next, the system searches for the actual width and actual height corresponding to the partition to which the current pixel belongs from the pre-calculated row boundary coordinate sequence and column boundary coordinate sequence. Then, the system determines the backlight control signal based on the actual width and height information to adjust the backlight brightness of the corresponding partition. Finally, in this way, the system can ensure that the brightness of each pixel matches the display content, thereby completing the uniform distribution of pixels in the entire display frame and realizing the local dimming function.

[0161] Please refer to Figure 6 , Figure 6 This is a schematic diagram of the pixel uniform distribution results provided in Example 2 of the local dimming partition pixel uniform distribution method based on dynamic LUT of this application. The white solid line represents the situation when the image partition distribution is performed only in an evenly divisible manner without considering the even distribution problem. It can be seen that residual pixel rows and columns appear on the right and bottom of the image; the red dashed solid line represents the result after considering the pixel uniform distribution. The solid line represents the same width and height as the white solid line, and the dashed line indicates that the width and height change by 1 pixel during the distribution process, but the residual pixels on the right and bottom are successfully avoided. This even distribution method ensures that when the resolution and the number of partitions are not evenly divisible, each partition can obtain the most even pixel distribution possible, thereby improving the uniformity of the display effect and reducing the problems of uneven brightness or halo effect.

[0162] For example, during the preprocessing phase, the software module uses a residual accumulation compensation algorithm to break down non-divisible residual pixels (such as 3840 / 22 = 174 with a remainder of 12, or 3840 / 26 = 147 with a remainder of 18) into multiple discrete +1 pixel increments. These increments are then converted into column- and row-wise identifier sequences consisting of 0s and 1s through forward differential coding. (For example, the remaining eight columns of pixels generate the identifier sequence [1,1,1,1,1,1,1,1,0,...,0], indicating that the width of each of the first eight column partitions increases by 1 pixel.) During hardware operation, the backlight control device quickly locates the partition block index based on the current pixel coordinates, extracts the corresponding 0 / 1 identifier from a pre-stored compressed lookup table, and dynamically adjusts the actual width and height of the current partition (baseline width and height + identifier value) to evenly interpolate the residual pixels across partitions with the minimum granularity (1 pixel). Ultimately, the total width and height of all partitions strictly equal the original resolution, and the width and height differences between adjacent partitions do not exceed 1 pixel. This eliminates the misalignment of bright and dark boundaries and the halo effect caused by the centralized distribution of remainders in traditional solutions.

[0163] This embodiment first iterates through each pixel coordinate of the current display frame one by one. Based on the pixel's horizontal position and the initial integer column partition width, the column partition block index to which the current pixel belongs is determined. The corresponding column identifier value is extracted from the column-wise allocation identifier sequence. If the column identifier value is a first preset value, the actual width of the current column partition is increased by one pixel; otherwise, it remains unchanged. Simultaneously, based on the pixel's vertical position and the initial integer row partition height, the row identifier value is extracted from the row-wise allocation identifier sequence. If the row identifier value is a first preset value, the actual height of the current row partition is increased by one pixel; otherwise, it remains unchanged. This step dynamically adjusts the actual width and height of each partition to ensure uniform pixel distribution when the resolution is not divisible by the number of partitions, avoiding display unevenness or halo effects. Subsequently, after completing the adjustment of the actual width and height of all partitions, the system sequentially accumulates the actual width of each column partition to generate a column-wise boundary coordinate sequence, ensuring that the last column boundary coordinate is consistent with the total pixel width of the image. Simultaneously, the actual height of each row partition is accumulated to generate a row-wise boundary coordinate sequence, ensuring that the last row boundary coordinate is consistent with the total pixel height of the image. This step generates a complete sequence of boundary coordinates to accurately divide the position of each partition, ensuring that the entire display frame is completely covered in both horizontal and vertical directions, providing accurate partition boundary information for subsequent backlight control. Finally, the backlight brightness information is calculated based on the pixel statistics and the actual width and height information of the current partition, thereby adjusting the backlight brightness of the corresponding partition to achieve local dimming. This step ensures that the brightness of each pixel matches the displayed content, improving display quality and contrast while reducing power consumption. Through the above steps, the system can achieve uniform pixel distribution and reduce hardware latency when the resolution and number of partitions are not divisible.

[0164] For example, in order to help understand the implementation process of the method for uniformly allocating pixels in local dimming partitions based on dynamic LUT obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 7 , Figure 7 This article provides a brief flowchart of a method for uniformly distributing local dimming pixels based on a dynamic LUT. Specifically:

[0165] This figure illustrates the process by which the display control device uses the LUT to perform pixel traversal and partition statistics in a dynamic LUT-based local dimming partition pixel uniform distribution method. The process begins with initialization, setting the column and row allocation identifier lookup tables (colSCLUT, rowSCLUT), initial partition width and height (baseW, baseH), current pixel position (x, y), and column and row partition indices (BIdxCol, BIdxRow) to 0. Next, the width (curW), end position (ePos_curH), and height (curH) of the current partition are calculated. The process enters a loop that first checks whether the y coordinate exceeds the image height minus 1. If not, it checks whether y is equal to the current partition's end position minus 1. If so, the row partition index is incremented, and the current partition's height and end position are updated. The process then enters another loop that checks whether the x coordinate exceeds the image width minus 1. If not, it checks whether x exceeds the current partition's end position minus 1. If so, the column partition index is incremented, updating the current partition's width and end position, and resetting x and ePos_curH. If x does not exceed the current partition's end position minus 1, the x coordinate is incremented. When x exceeds the image width minus 1, the process ends, completing pixel uniformity across the entire display frame. This process ensures that each pixel is correctly assigned to the corresponding partition based on the identification information stored in the LUT, achieving local dimming and pixel uniformity.

[0166] This application also provides a local dimming partition pixel uniform distribution device based on dynamic LUT, please refer to Figure 8 The local dimming partition pixel uniform distribution device based on dynamic LUT includes:

[0167] An initial calculation module 10 is used to calculate the initial integer partition width and height and the total number of residual pixels according to the image resolution parameter and the row and column partition number parameter of the target image;

[0168] a cumulative calculation module 20 for generating cumulative pixel widths and heights from the first partition to each partition using a residual pixel cumulative compensation algorithm based on the initial integer partition widths and heights and the total number of residual pixels;

[0169] A differential encoding module 30 is configured to perform forward differential encoding on the accumulated pixel widths and heights to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence;

[0170] The uniform distribution module 40 is configured to perform uniform pixel distribution according to the column-wise distribution identifier sequence and the row-wise distribution identifier sequence.

[0171] In one embodiment, the initial calculation module 10 is further used to divide the total pixel width by the number of column partitions to obtain a fractional partition width; divide the total pixel height by the number of row partitions to obtain a fractional partition height; round down the fractional partition width and the fractional partition height to obtain an initial integer column partition width and an initial integer row partition height; obtain the total number of column-wise residual pixels based on the difference between the fractional partition width and the initial integer column partition width and the total number of column partitions; obtain the total number of row-wise residual pixels based on the difference between the fractional partition height and the initial integer row partition height and the total number of row partitions.

[0172] In one embodiment, the accumulation calculation module 20 is further configured to traverse each column partition block index, calculate a column-wise cumulative incremental value corresponding to each index according to the total number of column-wise residual pixels, the initial integer column partition width, and the current index value, wherein the column-wise cumulative incremental value is a ratio of the total number of column-wise residual pixels to the total number of column partitions multiplied by the current index value, and round the column-wise cumulative incremental value down to generate a cumulative pixel width for each partition.

[0173] Traverse each row partition block index, and calculate the row cumulative incremental value corresponding to each index according to the total number of row residual pixels, the initial integer row partition height and the current index value, wherein the row cumulative incremental value is the ratio of the total number of row residual pixels to the total number of row partitions multiplied by the current index value, and the row cumulative incremental value is rounded down to generate the cumulative pixel height of each partition.

[0174] In one embodiment, the differential encoding module 30 is also used to traverse the column partition block index, calculate the first difference between the cumulative pixel width corresponding to the first current index and the cumulative pixel width corresponding to the first preamble index, and use the first difference as the column allocation identification value to obtain a column allocation identification sequence, wherein, when the first current index is a preset initial index value, the cumulative pixel width and the cumulative pixel height corresponding to the first preamble index are set to the preset pixel value by default; traverse the row partition block index, calculate the second difference between the cumulative pixel height corresponding to the second current index and the cumulative pixel height corresponding to the second preamble index, and use the second difference as the row allocation identification value to obtain a row allocation identification sequence, wherein, when the second current index is the preset initial index value, the cumulative pixel width and the cumulative pixel height corresponding to the second preamble index are set to the preset pixel value by default.

[0175] In one embodiment, the uniform distribution module 40 is further used to traverse each pixel coordinate of the current display frame, and adjust the actual width of the current column partition and the actual height of the current row partition based on the initial integer column partition width and the initial integer row partition height. When the adjustment is completed, the actual widths of all column partitions are accumulated to generate a column boundary coordinate sequence, wherein the column-wise last boundary coordinate is consistent with the total pixel width of the image; the actual heights of all row partitions are accumulated to generate a row boundary coordinate sequence, wherein the row-wise last boundary coordinate is consistent with the total pixel height of the image; the actual width and height corresponding to the partition block to which the current pixel coordinate belongs are calculated to obtain a backlight control signal to complete pixel uniform distribution.

[0176] In one embodiment, the uniform distribution module 40 is further used to traverse each pixel coordinate of the current display frame, and determine the column partition block index to which the current pixel belongs by comparing the pixel coordinate with the size of the column partition boundary; extract the column identification value corresponding to the column partition block index from the column-oriented allocation identification sequence, and if the column identification value is a first preset value, set the actual width of the current column partition to the initial integer column partition width plus one pixel, otherwise maintain the initial integer column partition width; traverse each pixel coordinate of the current display frame, and determine the row partition block index to which the current pixel belongs by comparing the pixel coordinate with the size of the row partition boundary; extract the row identification value corresponding to the row partition block index from the row-oriented allocation identification sequence, and if the row identification value is the first preset value, set the actual height of the current row partition to the initial integer row partition height plus one pixel, otherwise maintain the initial integer row partition height.

[0177] In one embodiment, the differential encoding module 30 is further configured to perform shift encoding on the column-wise allocation identifier sequence and the row-wise allocation identifier sequence and then store the shift encoding results.

[0178] The local dimming partition pixel uniform distribution device based on dynamic LUT provided in this application adopts the local dimming partition pixel uniform distribution method based on dynamic LUT in the above embodiment, which can solve the technical problem of how to achieve uniform pixel distribution and reduce hardware delay when the resolution and the number of partitions are not divisible. Compared with the existing technology, the beneficial effects of the local dimming partition pixel uniform distribution device based on dynamic LUT provided in this application are the same as the beneficial effects of the local dimming partition pixel uniform distribution method based on dynamic LUT provided in the above embodiment, and the other technical features of the local dimming partition pixel uniform distribution device based on dynamic LUT are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0179] The present application provides a local dimming partition pixel uniform distribution device based on a dynamic LUT, and the local dimming partition pixel uniform distribution device based on a dynamic LUT includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the local dimming partition pixel uniform distribution method based on the dynamic LUT in the above-mentioned embodiment one.

[0180] Reference below Figure 9 , which shows a schematic structural diagram of a device for uniformly distributing local dimming pixels based on a dynamic LUT suitable for implementing an embodiment of the present application. The device for uniformly distributing local dimming pixels based on a dynamic LUT in the embodiment of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 9 The local dimming partition pixel uniform distribution device based on dynamic LUT is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0181] like Figure 9As shown, the local dimming partition pixel uniform distribution device based on dynamic LUT may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to the program stored in ROM (Read Only Memory) 1002 or the program loaded from the storage device 1003 to RAM (Random Access Memory) 1004. Various programs and data required for the operation of the local dimming partition pixel uniform distribution device based on dynamic LUT are also stored in RAM 1004. The processing device 1001, ROM 1002 and RAM 1004 are connected to each other via a bus 1005. The input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, an LCD (Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the local dimming zoned pixel uniform distribution device based on dynamic LUT to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a local dimming zoned pixel uniform distribution device based on dynamic LUT with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have instead.

[0182] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0183] The local dimming partition pixel uniform distribution device based on dynamic LUT provided in this application adopts the local dimming partition pixel uniform distribution method based on dynamic LUT in the above embodiment, which can solve the technical problem of how to achieve uniform pixel distribution and reduce hardware latency when the resolution and the number of partitions are not divisible. Compared with the existing technology, the beneficial effects of the local dimming partition pixel uniform distribution device based on dynamic LUT provided in this application are the same as the beneficial effects of the local dimming partition pixel uniform distribution method based on dynamic LUT provided in the above embodiment, and the other technical features of the local dimming partition pixel uniform distribution device based on dynamic LUT are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0184] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0185] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, a computer program) stored thereon, and the computer-readable program instructions are used to execute the method for uniformly distributing local dimming partitioned pixels based on a dynamic LUT in the above-mentioned embodiment.

[0186] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory or Flash memory), optical fiber, CD-ROM (CD-Read Only Memory, portable compact disk read-only memory), optical storage device, magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0187] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the local dimming partition pixel uniform distribution device based on the dynamic LUT, the local dimming partition pixel uniform distribution device based on the dynamic LUT: calculates the initial integer partition width and height and the total number of residual pixels according to the image resolution parameters and row and column partition number parameters of the target image; based on the initial integer partition width and height and the total number of residual pixels, generates the cumulative pixel width and height from the first partition to each partition through the residual pixel accumulation compensation algorithm; performs forward differential encoding on the cumulative pixel width and height to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence; and completes pixel uniform distribution according to the column-wise allocation identifier sequence and the row-wise allocation identifier sequence.

[0188] The computer program code for performing the operations of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a LAN (Local Area Network) or a WAN (Wide Area Network), or can be connected to an external computer (e.g., using an Internet service provider to connect via the Internet).

[0189] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0190] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0191] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., a computer program) for executing the above-mentioned method for uniformly distributing pixels in local dimming partitions based on a dynamic LUT. This method can solve the technical problem of how to achieve uniform pixel distribution and reduce hardware latency when the resolution and number of partitions are not divisible. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the method for uniformly distributing pixels in local dimming partitions based on a dynamic LUT provided in the above-mentioned embodiment, and will not be elaborated here.

[0192] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the above-mentioned method for uniformly allocating local dimming partitioned pixels based on dynamic LUT.

[0193] The computer program product provided in this application can solve the technical problem of achieving uniform pixel distribution and reducing hardware latency when the resolution and number of partitions are not evenly divisible. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the dynamic LUT-based local dimming partition pixel uniform distribution method provided in the above embodiment, and will not be repeated here.

[0194] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for uniformly distributing pixels in local dimming zones based on dynamic LUT, characterized in that: The method comprises: Calculate the initial integer partition width and height and the total number of residual pixels according to the image resolution parameter and row and column partition number parameter of the target image; Based on the initial integer partition width and height and the total number of residual pixels, generating cumulative pixel widths and heights from the first partition to each partition using a residual pixel accumulation compensation algorithm; Performing forward differential encoding on the accumulated pixel width and height to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence; Pixel uniform distribution is completed according to the column-wise distribution identifier sequence and the row-wise distribution identifier sequence.

2. The method according to claim 1, wherein The image resolution parameters include a total pixel width and a total pixel height, the row and column partition number parameters include a row partition number and a column partition number, the initial integer partition width and height include an initial integer column partition width and an initial integer row partition height, and the total number of residual pixels includes a column-wise residual pixel number and a row-wise residual pixel number; The step of calculating the initial integer partition width and height and the total number of residual pixels according to the image resolution parameter and the row and column partition number parameter of the target image comprises: Dividing the total pixel width by the number of column partitions to obtain a fractional partition width; Divide the total pixel height by the number of row partitions to obtain a fractional partition height; Rounding down the decimal partition width and the decimal partition height to obtain an initial integer column partition width and an initial integer row partition height; Obtaining a total number of column-wise residual pixels according to a difference between the fractional partition width and the initial integer column partition width and the total number of column-wise partitions; The total number of residual pixels in the row direction is obtained according to the difference between the decimal partition height and the initial integer row partition height and the total number of column-wise partitions.

3. The method according to claim 1, wherein The initial integer partition width and height include an initial integer column partition width and an initial integer row partition height, the total number of residual pixels includes a total number of column-wise residual pixels and a total number of row-wise residual pixels, and the cumulative pixel width and height include a cumulative pixel width and a cumulative pixel height; The step of generating the cumulative pixel width and height from the first partition to each partition by a residual pixel accumulation compensation algorithm based on the initial integer partition width and height and the total number of residual pixels includes: traversing each column partition block index, calculating a column-wise cumulative incremental value corresponding to each index according to the total number of column-wise residual pixels, the initial integer column partition width, and the current index value, wherein the column-wise cumulative incremental value is a ratio of the total number of column-wise residual pixels to the total number of column partitions multiplied by the current index value, and rounding down the column-wise cumulative incremental value to generate a cumulative pixel width for each partition; Traverse each row partition block index, and calculate the row cumulative incremental value corresponding to each index according to the total number of row residual pixels, the initial integer row partition height and the current index value, wherein the row cumulative incremental value is the ratio of the total number of row residual pixels to the total number of row partitions multiplied by the current index value, and the row cumulative incremental value is rounded down to generate the cumulative pixel height of each partition.

4. The method according to claim 1, wherein The cumulative pixel width and height include cumulative pixel width and cumulative pixel height; The step of performing forward differential encoding on the accumulated pixel width and height to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence comprises: Traversing the column partition block indexes, calculating a first difference between the cumulative pixel width corresponding to the first current index and the cumulative pixel width corresponding to the first preceding index, and using the first difference as a column allocation identifier value to obtain a column allocation identifier sequence, wherein, when the first current index is a preset initial index value, the cumulative pixel width and the cumulative pixel height corresponding to the first preceding index are set to preset pixel values ​​by default; Traverse the row partition block index, calculate the second difference between the cumulative pixel height corresponding to the second current index and the cumulative pixel height corresponding to the second preceding index, use the second difference as the row allocation identifier value, and obtain a row allocation identifier sequence, wherein, when the second current index is the preset initial index value, the cumulative pixel width and the cumulative pixel height corresponding to the second preceding index are set to the preset pixel value by default.

5. The method according to claim 1, wherein The initial integer partition width and height include the initial integer column partition width and the initial integer row partition height; The step of completing uniform pixel distribution according to the column-wise distribution identifier sequence and the row-wise distribution identifier sequence comprises: Traversing each pixel coordinate of the current display frame, and adjusting the actual width of the current column partition and the actual height of the current row partition based on the initial integer column partition width and the initial integer row partition height; When the adjustment is completed, the actual widths of all column partitions are accumulated to generate a column boundary coordinate sequence, wherein the last column boundary coordinate is consistent with the total pixel width of the image; Accumulate the actual heights of all row partitions to generate a row boundary coordinate sequence, where the last row boundary coordinate is consistent with the total pixel height of the image; The actual width and height of the partition block to which the current pixel coordinate belongs are calculated to obtain a backlight control signal to achieve uniform pixel distribution.

6. The method according to claim 5, wherein The step of traversing each pixel coordinate of the current display frame and adjusting the actual width of the current column partition and the actual height of the current row partition based on the initial integer column partition width and the initial integer row partition height includes: Traverse each pixel coordinate of the current display frame, and determine the column partition block index to which the current pixel belongs by comparing the pixel coordinate with the size of the column partition boundary; extracting a column identification value corresponding to the column partition block index from the column allocation identification sequence, and if the column identification value is a first preset value, setting the actual width of the current column partition to the initial integer column partition width plus one pixel, otherwise maintaining the initial integer column partition width; Traversing each pixel coordinate of the current display frame, and determining the row partition block index to which the current pixel belongs by comparing the pixel coordinate with the size of the row partition boundary; A row identification value corresponding to the row partition block index is extracted from the row allocation identification sequence. If the row identification value is the first preset value, the actual height of the current row partition is set to the initial integer row partition height plus one pixel; otherwise, the initial integer row partition height is maintained.

7. The method according to any one of claims 1 to 6, characterized in that After the step of performing forward differential encoding on the accumulated pixel width and height to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence, the method further includes: The column-wise allocation identification sequence and the row-wise allocation identification sequence are shift-encoded and then stored.

8. A local dimming partition pixel uniform distribution device based on dynamic LUT, characterized in that: The device comprises: An initial calculation module, used to calculate the initial integer partition width and height and the total number of residual pixels according to the image resolution parameter and the row and column partition number parameter of the target image; a cumulative calculation module, configured to generate cumulative pixel widths and heights from the first partition to each partition by a residual pixel cumulative compensation algorithm based on the initial integer partition widths and heights and the total number of residual pixels; A differential encoding module, configured to perform forward differential encoding on the accumulated pixel width and height to generate a column-wise allocation identifier sequence and a row-wise allocation identifier sequence; The uniform distribution module is configured to complete uniform pixel distribution according to the column-wise distribution identifier sequence and the row-wise distribution identifier sequence.

9. A local dimming partition pixel uniform distribution device based on dynamic LUT, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for uniformly allocating local dimming pixels based on a dynamic LUT according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the method for uniformly allocating local dimming partitioned pixels based on a dynamic LUT according to any one of claims 1 to 7 are implemented.