Smoothing filtering method, device and display device for brightness compensation data
Through smooth filtering of the brightness compensation data of the display panel, the compensation data storage capacity caused by uneven brightness of the brightness has been solved, and the efficient compression and storage capacity of compensation data are achieved.
Patent Information
- Application Number
- CN202311392668.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2043-10-24
AI Technical Summary
Due to the complex production process of existing display panels, there is a phenomenon of uneven brightness (mura), resulting in large compensation data storage capacity, increasing the memory volume and IC design difficulty.
Provide a smooth filtering method for brightness compensation data. By obtaining the brightness compensation data matrix corresponding to the display panel pixel matrix under the preset grayscae value, the compensation data with the absolute value is greater than the preset marker threshold. The reference point determines the target matrix area, and the brightness compensation data of the area is filtered smoothly.
Through smooth filtering processing, the compression rate of compensation data is increased, the storage capacity required for storage compensation data is reduced, and the volume and IC design difficulty of the memory is reduced.
Smart Images

Figure CN117495701B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technology, and in particular to a smoothing filtering method, device and display equipment for brightness compensation data. Background Art
[0002] Due to the complex production process and the difficulty in control, display panels manufactured using existing production processes inevitably have some defects. Among them, the uneven brightness (mura) phenomenon shown on the screen is the most complex and the most difficult to compensate.
[0003] At present, most compensation methods are to obtain the brightness data of each pixel in the display panel by shooting a pure grayscale image through the device, and then calculate the grayscale value or voltage value that needs to be compensated for each pixel based on the brightness data, and then store this correction data information in the memory of the display driver. When the screen is lit up and used later, the internal mura processing module corrects the data of each pixel in real time based on this correction information, thereby compensating for the mura defect.
[0004] However, on the one hand, the memory of the display driver is generally expensive; on the other hand, a large-capacity memory will increase the volume, making it difficult to design the display driver IC. Therefore, under the premise of ensuring that the display of the compensated panel is normal, it is necessary to provide an improved technical solution to compress the correction information and reduce the storage capacity required to store the compensation data. Summary of the invention
[0005] In view of the above problems, the object of the present invention is to provide a smoothing filtering method, device and display device for brightness compensation data, which can smooth the brightness compensation data, improve the compression rate of the compensation data, and reduce the storage capacity required to store the compensation data.
[0006] The present invention provides a smoothing filtering method for brightness compensation data, the method comprising the following steps:
[0007] Obtaining a brightness compensation data matrix corresponding to a pixel matrix of a display panel under a preset grayscale value;
[0008] Determine the compensation data in the brightness compensation data matrix whose absolute value is greater than a preset marking threshold as a marking reference point;
[0009] Determine a target matrix area in the brightness compensation data matrix according to the marked reference point;
[0010] A smoothing filter process is performed on the brightness compensation data in the target matrix area.
[0011] Further, determining the compensation data in the brightness compensation data matrix whose absolute value is greater than a preset marking threshold as a marking reference point includes:
[0012] The compensation data in the brightness compensation data matrix is marked in the following manner:
[0013]
[0014] Wherein, B(i,j) is the mark value corresponding to the compensation data of the i-th row and j-th column in the brightness compensation data matrix, A(i,j) is the compensation data of the i-th row and j-th column in the brightness compensation data matrix, M is the preset mark threshold, and M>0;
[0015] The compensation data corresponding to the marker value of 1 or -1 is determined as the marker reference point.
[0016] Further, determining a target matrix area in the brightness compensation data matrix according to the marked reference point includes:
[0017] A matrix area with the marking reference point as the center position and in the compensation data adjacent to the marking reference point, where only one marking value is the opposite of the marking value at the center position and the marking values of other adjacent compensation data are all 0, is used as the target matrix area.
[0018] Furthermore, determining a target matrix area in the brightness compensation data matrix according to the marked reference point further includes:
[0019] A matrix region with the marking reference point as the center position and the marking values of the compensation data adjacent to the marking reference point being 0 is used as the target matrix region.
[0020] Furthermore, the brightness compensation data of the target matrix area is subjected to smoothing filtering, including:
[0021] The compensation data with mutually opposite marking values in the target matrix region are summed and averaged, and the obtained average compensation data is used as a new compensation value corresponding to the marking value.
[0022] Furthermore, performing smoothing filtering on the brightness compensation data of the target matrix area also includes:
[0023] The compensation value corresponding to the marked reference point located at the center position in the target matrix area is changed to 0.
[0024] Furthermore, the step of obtaining a brightness compensation data matrix corresponding to a pixel matrix of a display panel at a preset grayscale value comprises the following steps:
[0025] Obtaining the actual brightness value of each pixel in the pixel matrix of the display panel under a preset grayscale value;
[0026] Based on the theoretical brightness value corresponding to each pixel in the pixel matrix of the display panel under the preset grayscale value, the brightness compensation data corresponding to each pixel is calculated by the following formula:
[0027]
[0028] Among them, G is the preset grayscale value, L ideal is the theoretical brightness value corresponding to each pixel under the preset grayscale value, L 255 is the brightness value of the pixel when the grayscale value is 255, L ij is the actual brightness value of the pixel at the i-th row and j-th column under the preset grayscale value.
[0029] The present invention also provides a smoothing filtering device for brightness compensation data, the device comprising: a compensation data acquisition module, a compensation data marking module, a target matrix acquisition module and a data smoothing filtering module;
[0030] The compensation data acquisition module is used to acquire a brightness compensation data matrix corresponding to a pixel matrix of a display panel under a preset grayscale value;
[0031] The compensation data marking module is used to determine the compensation data with an absolute value greater than a preset marking threshold in the brightness compensation data matrix as a marking reference point;
[0032] The target matrix acquisition module is used to determine the target matrix area in the brightness compensation data matrix according to the marked reference point;
[0033] The data smoothing filter module is used to perform smoothing filter processing on the brightness compensation data in the target matrix area.
[0034] Furthermore, the device also includes a storage module, and the storage module is used to compress and store the brightness compensation data after the smoothing filter processing.
[0035] The present invention also provides a display device, which includes the smoothing filter device for brightness compensation data as described above.
[0036] The present invention provides a smoothing filtering method, device and display device for brightness compensation data, which determine the compensation data whose absolute value in the brightness compensation data matrix is greater than a preset marking threshold as a marking reference point, obtain a target matrix area according to the marking reference point, and perform smoothing filtering processing on the brightness compensation data in the target matrix area. By smoothing the brightness compensation data, the compression rate of the compensation data is improved and the storage capacity required for storing the compensation data is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 This is one of the application scenarios of the smoothing filtering method for brightness compensation data provided by the present invention;
[0039] Figure 2 A schematic flow chart of a smoothing filtering method for brightness compensation data provided by one embodiment of the present invention;
[0040] Figure 3 A schematic diagram of a labeling result matrix provided by an embodiment of the present invention;
[0041] Figure 4a and Figure 4b A schematic diagram of a target matrix region provided in some embodiments of the present invention;
[0042] Figure 5 A schematic flow chart of a smoothing filtering method for brightness compensation data provided by a specific embodiment of the present invention;
[0043] Figure 6 A schematic diagram of the structure of a smoothing filter device for brightness compensation data provided by a specific embodiment of the present invention. DETAILED DESCRIPTION
[0044] The aforementioned and other technical contents, features and effects of the present invention will be clearly presented in the following detailed description of the preferred embodiments with reference to the drawings. Through the description of the specific implementation methods, the technical means and effects adopted by the present invention to achieve the intended purpose can be more deeply and specifically understood. However, the attached drawings are only for reference and illustration, not for limiting the present invention, and some well-known parts may not be shown. In each of the drawings, the same elements are represented by similar reference numerals. For the sake of clarity, the various parts in the drawings are not drawn to scale.
[0045] In the prior art, after obtaining the brightness compensation data, the compensation data needs to be stored in a memory. In order to save storage space, the data usually needs to be compressed. Common compression methods include Huffman compression or run-length compression. Generally, the flatter the data, the higher the compression rate. Experiments have found that if the absolute values of the brightness compensation values of two adjacent pixels are similar, and one is a positive compensation value and the other is a negative compensation value, such as Figure 1 In the case shown, the compensated pixel will not show obvious defects when observed by the naked eye. In addition, if there is only one pixel compensation value in the brightness compensation matrix that is very large or very small, but the compensation data around it is very flat, in this case, this pixel does not need to be compensated. In view of the need for compression, the pixel compensation data that meets the above situation can be smoothed to reduce the storage capacity required to store the compensation data. Therefore, the present application proposes a smoothing filtering method for brightness compensation data, by pre-processing the brightness compensation data to achieve the purpose of smoothing the compensation data.
[0046] Figure 2 FIG. 1 is a flow chart of a smoothing filtering method for brightness compensation data provided by an embodiment of the present invention; Figure 2 As shown, the smoothing filtering method for brightness compensation data provided by the present invention specifically includes the following steps:
[0047] Step S110: obtaining a brightness compensation data matrix corresponding to a pixel matrix of a display panel under a preset grayscale value;
[0048] Specifically, by shooting a pure grayscale image, the brightness value of each pixel at a certain grayscale value can be obtained, and based on this brightness value, compensation data for each pixel at the grayscale value can be obtained, and a brightness compensation data matrix can be generated according to the compensation data of each pixel.
[0049] In some embodiments of the present application, the specific steps of obtaining the brightness compensation data matrix include:
[0050] Step S111: obtaining the actual brightness value of each pixel in the pixel matrix of the display panel under a preset grayscale value;
[0051] Step S112: Based on the theoretical brightness value corresponding to each pixel in the pixel matrix of the display panel under the preset grayscale value, the brightness compensation data corresponding to each pixel is calculated by the following formula:
[0052]
[0053] Among them, G is the preset grayscale value, L ideal is the theoretical brightness value corresponding to each pixel under the preset grayscale value, L 255 is the brightness value of the pixel when the grayscale value is 255, L ij is the actual brightness value of the pixel at the i-th row and j-th column under the preset grayscale value.
[0054] It should be noted that there are many ways to obtain the brightness compensation data matrix, and this application does not impose any restrictions on this.
[0055] Step S120: determining the compensation data in the brightness compensation data matrix whose absolute value is greater than a preset marking threshold as a marking reference point;
[0056] Specifically, the compensation data in the brightness compensation data matrix may be marked in the following manner:
[0057]
[0058] Wherein, B(i,j) is the mark value corresponding to the compensation data of the i-th row and j-th column in the brightness compensation data matrix, A(i,j) is the compensation data of the i-th row and j-th column in the brightness compensation data matrix, M is the preset mark threshold, and M>0;
[0059] The compensation data corresponding to the marker value of 1 or -1 is determined as the marker reference point.
[0060] In a specific embodiment of the present application, it is assumed that the brightness compensation data matrix is as follows: Figure 1 As shown in FIG. 1 , the preset marking threshold M=3, then according to the above marking method, the compensation data greater than 3 in the brightness compensation data matrix is marked as 1, the compensation data less than -3 is marked as -1, and the compensation data with an absolute value less than or equal to 3 is marked as 0. The final marked result matrix is as follows: Figure 3 As shown in the figure, the compensation data corresponding to the marked values -1 and 1 in the figure are the marked reference points.
[0061] Step S130: determining a target matrix area in the brightness compensation data matrix according to the marked reference point;
[0062] Optionally, determining the target matrix region includes: taking a matrix region with the marked reference point as the center position and having only one mark value that is the opposite of the mark value at the center position among the compensation data adjacent to the marked reference point, and having other mark values of the adjacent compensation data that are all 0 as the target matrix region. Figure 4a As shown, the marking reference point with a marking value of 1 is taken as the center position. Among the eight compensation data adjacent to the center position, only one compensation data has a marking value of -1, and the marking values of the compensation data at other adjacent positions are all 0. The matrix area is determined as the target matrix area. It should be noted that Figure 4a The 1 and -1 in the data can be interchanged, as long as there is only one mark value in the compensation data adjacent to the center position that is the opposite of the mark value at the center position.
[0063] Optionally, determining the target matrix region further includes: taking a matrix region with the marking reference point as the center position and the marking values of the compensation data adjacent to the marking reference point being all 0 as the target matrix region. Figure 4bAs shown, the marking reference point with a marking value of 1 is taken as the center position, and the marking values of the eight compensation data adjacent to the center position are all 0, and the matrix area is determined as the target matrix area; it should be noted that Figure 4b The 1 in can be -1.
[0064] Step S140: performing smoothing filtering on the brightness compensation data in the target matrix area.
[0065] Optionally, the smoothing filter processing includes summing and averaging the compensation data whose label values are opposite to each other in the target matrix area, and using the obtained average compensation data as a new compensation value corresponding to the label value. Figure 4a The compensation data at the positions corresponding to 1 and -1 are summed and averaged, and the obtained average compensation data is used as the new compensation data at the positions corresponding to 1 and -1.
[0066] Optionally, the smoothing filter processing further includes changing the compensation value corresponding to the marked reference point located at the center position in the target matrix area to 0. Figure 4b The compensation data at the position corresponding to 1 or -1 in the center becomes 0, that is, no compensation is performed on the pixel points corresponding to the mark value of 1 or -1 at the center position.
[0067] Figure 5 FIG. 1 is a flow chart of a smoothing filtering method for brightness compensation data provided by a specific embodiment of the present invention; Figure 5 As shown, the brightness compensation data matrix corresponding to the pixel matrix is represented by B(i,j), and the marking result matrix obtained after marking is represented by BM(i,j). It is assumed that the brightness compensation data matrix is a 5*5 data block centered on the marking reference point (i,j). It should be noted that if the marking reference point (i,j) is located at the boundary position of the matrix, for example, when i=1 and j=1, the missing data around it will be filled with 0.
[0068] Please refer to Figure 5 The workflow of smoothing and filtering the above 5*5 brightness compensation data matrix includes:
[0069] Step S201: i=1;
[0070] Step S202: j=1;
[0071] Step S203: record X=BM(i,j);
[0072] Specifically, firstly, the value of the row number i of the matrix is assigned to 1, and the value of the column number j of the matrix is also assigned to 1; the labeling result matrix BM(i,j) is assigned to the matrix parameter X;
[0073] Step S204: determine whether B(i,j) is not equal to 0; if yes, execute step S205; if no, execute step S209;
[0074] Specifically, first determine whether the compensation data in the first row and first column of the brightness compensation data matrix B(i,j) is not equal to 0. If it is not equal to 0, continue to execute step S205; if it is equal to 0, it means that the compensation data does not need to be smoothed, and execute step S209: add 1 to the column number j.
[0075] Step S205: Determine whether sum(|X|) is equal to 1, if yes, execute step S206; if no, execute step S207;
[0076] Step S206: B(i,j)=0;
[0077] Specifically, sum(|X|) represents summing the absolute values of all elements in X, that is, summing the absolute values of all elements in the marking result matrix BM(i,j). If the sum of the absolute values is equal to 1, it satisfies the situation that only one pixel compensation value in the brightness compensation matrix is very large or very small, and the compensation data around it are very flat, that is, only one compensation data in the target matrix area has a marking value of 1 or -1, then continue to execute step S206: change the compensation data B(i,j) corresponding to the marking value of 1 or -1 to 0, and then continue to execute step S211: add 5 to the number of columns j; if the sum of the absolute values is not equal to 1; then continue to execute step S207.
[0078] Step S207: Determine whether sum(|X|) is equal to 2, if yes, execute step S208; if no, execute step S209;
[0079] Step S208: Determine whether sum(X(2:4,2:4)) is equal to 0; if not, execute step S209; if not, execute step S210;
[0080] Step S209: j++;
[0081] Step S210: B(i′, j′)=B(i, j)=(B(i, j)+B(i′, j′)) / 2;
[0082] Step S211: j=j+5;
[0083] Specifically, if the result of summing the absolute values of all elements in the marking result matrix BM(i, j) is equal to 2, it is possible that the absolute values of the brightness compensation values of two adjacent pixels in the brightness compensation matrix are similar, and one is a positive compensation value and the other is a negative compensation value, that is, there are two adjacent compensation data in the target matrix area, and the marking values of the two compensation data are opposite to each other, then continue to execute step S208: sum the marking values of the 2nd to 4th rows and the 2nd to 4th columns (target matrix area) in X, that is, in the result matrix BM(i, j). If the sum is equal to 0, it is determined that there are two adjacent compensation data in the target matrix area, and the two compensation data are opposite to each other. In the case where the mark values of the data are opposite to each other, that is, one adjacent mark value is 1 and the other adjacent mark value is -1, then continue to execute step S210: record the compensation data at the center position of the target matrix area as B(i, j), record the compensation data at the non-center position of the target matrix area and whose mark value is not 0 as B(i′, j′), sum and average B(i, j) and B(i′, j′) to obtain new compensation values corresponding to B(i, j) and B(i′, j′), and then continue to execute step S211: add 5 to the number of columns j; if the sum of the mark values in the target matrix area is not equal to 0, that is, the two adjacent mark values are both 1 or both -1, then continue to execute step S209 and add 1 to the number of columns j.
[0084] Step S212: Determine whether j<=5? If yes, execute step S203; if no, execute step S213;
[0085] Step S213: i++;
[0086] Step S214: Check if i<=5? If yes, execute step S202; if no, end.
[0087] Specifically, in each cycle, the increased column value j and row value i are judged respectively. If the column value j and row value i exceed the total number of columns and the total number of rows of the brightness compensation data matrix respectively, the processing process of the smooth compensation data is terminated.
[0088] The present invention provides a smoothing filtering method for brightness compensation data, which marks the compensation data in the brightness compensation data matrix, selects the target matrix area to be processed according to the marking result, and performs smoothing filtering processing on the brightness compensation data of the target matrix area according to a preset smoothing processing algorithm, thereby improving the compression rate of the compensation data and reducing the storage capacity required for storing the compensation data.
[0089] The present invention further provides a smoothing filter device 300 for brightness compensation data. The smoothing filter device 300 includes: a compensation data acquisition module 310 , a compensation data marking module 320 , a target matrix acquisition module 330 and a data smoothing filter module 340 .
[0090] The compensation data acquisition module 310 is used to obtain the brightness compensation data matrix corresponding to the pixel matrix of the display panel under the preset grayscale value; the compensation data marking module 320 is used to determine the compensation data in the brightness compensation data matrix whose absolute value is greater than the preset marking threshold as the marking reference point; the target matrix acquisition module 330 is used to determine the target matrix area in the brightness compensation data matrix according to the marking reference point; the data smoothing filtering module 340 is used to perform smoothing filtering processing on the brightness compensation data in the target matrix area.
[0091] Optionally, the smoothing filter device 300 further includes a storage module, and the storage module is used to compress and store the brightness compensation data after the smoothing filter processing.
[0092] The present invention also provides a display device, which includes the smoothing filter device for brightness compensation data as described above.
[0093] In summary, the smoothing filtering method, device and display device for brightness compensation data provided by the present application determine the compensation data whose absolute value in the brightness compensation data matrix is greater than a preset marking threshold as a marking reference point, obtain the target matrix area according to the marking reference point, and perform smoothing filtering on the brightness compensation data of the target matrix area. By smoothing the brightness compensation data, the compression rate of the compensation data is improved and the storage capacity required to store the compensation data is reduced.
[0094] In the description of the present invention, unless expressly specified and limited otherwise, the terms “comprises”, “includes” or any other variations thereof are intended to cover a non-exclusive inclusion, and may include other elements not expressly listed in addition to the elements listed.
[0095] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A smoothing filtering method for brightness compensation data, characterized in that: The method comprises the following steps: Obtaining a brightness compensation data matrix corresponding to a pixel matrix of a display panel under a preset grayscale value; Marking the compensation data in the brightness compensation data matrix, and determining the compensation data in the brightness compensation data matrix whose absolute value is greater than a preset marking threshold as a marking reference point; Determining a target matrix area in the brightness compensation data matrix according to the marked reference point, and performing smoothing filtering on the brightness compensation data in the target matrix area, specifically comprising: A matrix region having the mark reference point as the center position and only one mark value of the compensation data adjacent to the mark reference point being the opposite number of the mark value at the center position and the mark values of other adjacent compensation data being 0 is used as the target matrix region, and the compensation data in the target matrix region whose mark values are opposite numbers to each other are summed and averaged, and the obtained average compensation data is used as the new compensation value corresponding to the mark value; Or a matrix area with the marked reference point as the center and the mark values of the compensation data adjacent to the marked reference point being 0 is used as the target matrix area, and the compensation value corresponding to the marked reference point located at the center of the target matrix area is changed to 0.
2. The smoothing filtering method for brightness compensation data according to claim 1, characterized in that: The step of determining the compensation data in the brightness compensation data matrix whose absolute value is greater than a preset marking threshold as a marking reference point comprises: The compensation data in the brightness compensation data matrix is marked in the following manner: Wherein, B(i,j) is the mark value corresponding to the compensation data of the i-th row and j-th column in the brightness compensation data matrix, A(i,j) is the compensation data of the i-th row and j-th column in the brightness compensation data matrix, M is the preset mark threshold, and M>0; The compensation data corresponding to the marker value of 1 or -1 is determined as the marker reference point.
3. The smoothing filtering method for brightness compensation data according to claim 1, characterized in that: The step of obtaining a brightness compensation data matrix corresponding to a pixel matrix of a display panel under a preset grayscale value comprises the following steps: Obtaining the actual brightness value of each pixel in the pixel matrix of the display panel under a preset grayscale value; Based on the theoretical brightness value corresponding to each pixel in the pixel matrix of the display panel under the preset grayscale value, the brightness compensation data corresponding to each pixel is calculated by the following formula: Where G is the preset grayscale value, is the theoretical brightness value corresponding to each pixel under the preset grayscale value, is the brightness value of the pixel when the grayscale value is 255. is the actual brightness value of the pixel at the i-th row and j-th column under the preset grayscale value.
4. A smoothing filter device for brightness compensation data, characterized in that: The device comprises: a compensation data acquisition module, a compensation data marking module, a target matrix acquisition module and a data smoothing and filtering module; The compensation data acquisition module is used to acquire a brightness compensation data matrix corresponding to a pixel matrix of a display panel under a preset grayscale value; The compensation data marking module is used to determine the compensation data with an absolute value greater than a preset marking threshold in the brightness compensation data matrix as a marking reference point; The target matrix acquisition module is used to determine the target matrix area in the brightness compensation data matrix according to the marked reference point, including: taking the marked reference point as the center position and the compensation data adjacent to the marked reference point, where only one mark value is the opposite number of the mark value of the center position, and the mark values of other adjacent compensation data are all 0 as the target matrix area; or taking the marked reference point as the center position and the compensation data adjacent to the marked reference point, where the mark values of all the mark values are 0 as the target matrix area; The data smoothing filter module is used to perform smoothing filtering on the brightness compensation data in the target matrix area, including: summing and averaging the compensation data with mutually opposite marking values in the target matrix area, and using the obtained average compensation data as the new compensation value corresponding to the marking value; or changing the compensation value corresponding to the marking reference point located at the center position in the target matrix area to 0.
5. The smoothing filter device for brightness compensation data according to claim 4, characterized in that: The device also includes a storage module, which is used to compress and store the brightness compensation data after the smoothing filter processing.
6. A display device, characterized in that: The display device comprises the smoothing filter apparatus for brightness compensation data as claimed in claim 4 or 5.
Citation Information
Patent Citations
Brightness adjusting method, brightness adjusting device and electronic equipment
CN113284469A
Display panel compensation method and device and display device
CN115691390A