Compensation data compression method, compensation data decompression method and display panel compensation method
By compressing only the gain compensation parameters in the compensation data compression and generating a compressed compensation data set in combination with the bias compensation parameters, the problem of affecting the compensation effect of the compression process in the prior art is solved, and the effect of reducing storage and decompression costs is achieved, and the improvement of the cost of improvement is achieved. The quality and user experience of the display panel.
Patent Information
- Application Number
- PCT/CN2023/123356
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-10
- Filing Date
- 2023-10-08
- Publication Date
- 2024-11-14
AI Technical Summary
The prior art affects the final compensation effect in the process of compressing compensation data, resulting in poor display effect and high storage and decompression costs.
By obtaining the gain compensation parameters and bias compensation parameters of the detected image, the mean compression algorithm and discrete cosine transform compression algorithm are used to generate a compression compensation data set, and only the gain compensation parameters are compressed, but the bias compensation parameters are not compressed, and the compression compensation is generated. Dataset, used to adjust the display effect.
It effectively reduces the cost of storage space and decompression circuits, while not affecting the compensation effect and display effect, and improves the product quality and user experience of the display panel.
Smart Images

Figure CN2023123356_14112024_PF_FP_ABST
Abstract
Description
Compensation data compression and decompression method and display panel compensation method Technical Field
[0001] The present invention relates to the technical field of data compression, and in particular to a method for compressing and decompressing compensation data and a display panel compensation method. Background Art
[0002] Compensation data is widely used. It uses data calculations to compensate for acquired signal data to eliminate the effects of certain factors, such as uneven brightness and color. For example, de-mura compensation data is a process for compensating for mura.
[0003] Currently, the de-mura compensation process primarily involves capturing the image displayed by the display panel using specialized measurement equipment, capturing the color distribution characteristics of both the central and peripheral areas of the image, and generating compensation data to ensure consistent brightness and color between the peripheral and central areas. As the number of captured images continues to increase, the amount of compensation data required also increases, placing increasing demands on the memory chips used to store the data. A common compression method involves dividing the compensation data into several blocks and then calculating the average value of each pixel in each block to achieve data compression.
[0004] The above method has the following disadvantages: by calculating the average value of pixels in the block, the compensation values of some pixels with large differences will be affected, affecting the final compensation effect.
[0005] Summary of the Invention
[0006] One of the purposes of the present invention is to provide a compensation data compression method to solve the technical problem in the prior art that the compression process affects the final compensation effect and the display effect is poor.
[0007] One of the objectives of the present invention is to provide a compensation data decompression method.
[0008] One of the objectives of the present invention is to provide a display panel compensation method.
[0009] In order to achieve one of the above-mentioned purposes of the invention, the present invention provides a compensation data compression method, including: acquiring a detection image, parsing to obtain gain compensation parameters and bias compensation parameters of at least a part of the detection image; compressing the gain compensation parameters to obtain gain compression data; generating a compressed compensation data set based on the gain compression data and the bias compensation parameters; wherein the compressed compensation data set is used to adjust the display effect of the detection image.
[0010] As a further improvement of an embodiment of the present invention, the "compressing the gain compensation parameters to obtain gain compression data" specifically includes: executing a mean compression algorithm and a discrete cosine transform compression algorithm on the gain compensation parameters in sequence to obtain the gain compression data.
[0011] As a further improvement of an embodiment of the present invention, the gain compensation parameters are formed as a gain parameter matrix, including a number of gain matrix elements corresponding to a number of pixel points in the detection image area; the "compressing the gain compensation parameters to obtain gain compression data" specifically includes: executing a mean compression algorithm to compress the gain compensation parameters; wherein the mean compression algorithm includes: according to the gain parameter matrix, dividing to obtain a plurality of first matrix sub-blocks, wherein each first matrix sub-block includes at least one first gain matrix element corresponding to the pixel point; calculating the average value of all first gain matrix elements in each first matrix sub-block in turn to obtain a plurality of mean compression data; wherein each of the mean compression data corresponds to a single first matrix sub-block; according to the position distribution of the first matrix sub-block corresponding to the gain parameter matrix, arranging the mean compression data to obtain first gain compression data.
[0012] As a further improvement of an embodiment of the present invention, the gain compensation parameters are formed as a gain parameter matrix, including a number of gain matrix elements corresponding to a number of pixel points in the detection image area; the "compressing the gain compensation parameters to obtain gain compression data" specifically includes: executing a discrete cosine transform compression algorithm to compress the gain compensation parameters; wherein, the discrete cosine transform compression algorithm includes: according to the gain parameter matrix, dividing to obtain a plurality of second matrix sub-blocks, wherein each second matrix sub-block includes at least one second gain matrix element corresponding to the pixel point; performing discrete cosine transform on each second matrix sub-block in turn to obtain a plurality of discrete transformation data; wherein, each of the discrete transformation data corresponds to a single second matrix sub-block; according to the position distribution of the second matrix sub-block corresponding to the gain parameter matrix, arranging the discrete transformation data to obtain discrete intermediate data; performing filtering operation on the discrete intermediate data to obtain second gain compression data.
[0013] As a further improvement of an embodiment of the present invention, the "dividing according to the gain parameter matrix to obtain multiple second matrix sub-blocks" specifically includes: performing 1 / 8 sampling in both vertical and horizontal directions according to the gain parameter matrix to obtain multiple second matrix sub-blocks.
[0014] As a further improvement of an embodiment of the present invention, after the "performing a filtering operation on the discrete intermediate data to obtain second gain compression data", the method also includes: performing low-pass filtering on the discrete intermediate data, filtering out high-frequency data in the discrete intermediate data, and retaining low-frequency data in the discrete intermediate data as the second gain compression data.
[0015] As a further improvement of one embodiment of the present invention, the "performing low-pass filtering processing on the discrete intermediate data" specifically includes: constructing a low-pass filtering matrix based on the distribution of high-frequency data and low-frequency data in the discrete intermediate data; and calculating the low-frequency data in the discrete intermediate data based on the low-pass filtering matrix and the discrete intermediate data.
[0016] To achieve one of the above-mentioned purposes of the invention, one embodiment of the present invention provides a compensation data decompression method, comprising: obtaining a compressed compensation data set including gain compression data and bias compensation parameters; wherein the compressed compensation data set is used to adjust the display effect of the detection image; decoding the compressed gain compression data using an inverse operation method of filtering processing to obtain decoded gain compression data; performing an inverse operation of discrete cosine transform and / or upsampling operation on the decoded gain compression data to obtain gain compensation parameters.
[0017] In order to achieve one of the above-mentioned purposes of the invention, one embodiment of the present invention provides a display panel compensation method, including: executing any of the compensation data compression methods described above to obtain a compressed compensation data set; storing the compressed compensation data set, and adjusting the output display effect of the display panel on the detection image according to the compressed compensation data set.
[0018] As a further improvement of an embodiment of the present invention, after "storing the compressed compensation data set", the display panel compensation method also includes: reading the gain compression data from the storage chip, decoding the gain compression data using the inverse operation method of filtering processing, and performing an inverse operation of discrete cosine transform and / or upsampling operation on the decoded gain compression data to obtain gain compensation parameters and bias compensation parameters; and using the gain compensation parameters and the bias compensation parameters to compensate for the output display condition of the display panel.
[0019] As a further improvement of one embodiment of the present invention, the display panel includes a first pixel point, and the first pixel point has first display data and second display data before and after compensation respectively; the second display data is equal to the product of the first display data and the gain compensation parameter, and the sum of the bias compensation parameter.
[0020] Compared to existing technologies, the present invention employs a compensation data compression method that compresses only the gain compensation parameters to generate compressed gain data, while leaving the offset compensation parameters uncompressed. A compressed compensation data set is then generated based on the compressed gain data and the offset compensation parameters. This effectively reduces storage space and decompression circuit costs without compromising compensation and display quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] FIG1 is a schematic diagram showing steps of a compensation data compression method according to an embodiment of the present invention.
[0022] FIG. 2 is a schematic diagram showing steps of a first embodiment of a compensating data compression method according to an embodiment of the present invention.
[0023] FIG3 is a schematic diagram of detailed steps of the compensation data compression method in the first embodiment of the present invention.
[0024] FIG4 is a schematic diagram showing detailed steps of the compensation data compression method in the second embodiment of the present invention.
[0025] FIG5(a) is a schematic diagram of spatial domain data of a compensation data compression method according to an embodiment of the present invention.
[0026] FIG5( b ) is a schematic diagram of frequency domain data of a compensation data compression method according to an embodiment of the present invention.
[0027] FIG6 is a schematic diagram showing steps of a compensation data decompression method according to an embodiment of the present invention.
[0028] FIG. 7 is a schematic diagram showing steps of a display panel compensation method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] The present invention will be described in detail below with reference to the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by those skilled in the art based on these embodiments are all within the scope of protection of the present invention.
[0030] It should be noted that the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In addition, the terms "first," "second," etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance.
[0031] Compensating for brightness deviations (also known as mura) caused by the panel's structure or manufacturing process to achieve a more uniform image, however, as the amount of compensation data increases, significant memory space and cost are consumed. Therefore, effectively reducing the storage space and decompression circuit costs without compromising compensation and display quality is crucial.
[0032] Based on this, the present invention provides a compensating data compression method, as shown in FIG1 , which specifically includes the following steps:
[0033] Step S1: Acquire a detection image, and analyze to obtain gain compensation parameters and offset compensation parameters of at least a portion of the detection image.
[0034] Step S2: compress the gain compensation parameter to obtain gain compression data.
[0035] Step S3: generating a compression compensation data set according to the gain compression data and the offset compensation parameters.
[0036] The compression compensation data set is used to adjust the display effect of the detection image.
[0037] In this way, only the gain compensation parameters are compressed to obtain compressed gain data, while the offset compensation parameters are not compressed. A compressed compensation data set is generated based on the compressed gain data and the offset compensation parameters. This not only effectively reduces the storage space required for the compensation data and the cost of the decompression circuit, but also maintains the compensation and display effects provided by the compensation data.
[0038] The gain compensation parameter can adjust the contrast and brightness of the entire detection image, and the offset compensation parameter can adjust the contrast and brightness between pixels.
[0039] For the detection image in step S1, taking a display panel as an example, the "obtaining a detection image" may further include:
[0040] A plurality of groups of detection images are captured and outputted and displayed on a display panel; wherein the compression compensation data set is used to adjust the output display effect of the display panel on the detection images.
[0041] In this way, photographing or collecting the image output and displayed at the display panel is conducive to dynamic adjustment of the output display effects of different display panels, so that the captured detection image has strong adaptability and good quality, which is convenient for improving the efficiency of subsequent image processing.
[0042] In order to improve the shooting quality of the detection image, a high-resolution industrial camera can be used to shoot the detection image output and displayed at the display panel. The detection image may include a color detection image and a grayscale detection image. Preferably, the detection image adopts an RGB grayscale picture, for example, shooting a grayscale image of R225, G225, B225 or R31, G31, B31. Specifically, the color mode and grayscale mode can be freely selected for shooting according to the actual situation of the display panel. To this end, the present invention does not make specific restrictions.
[0043] In addition, the "analyzing and obtaining gain compensation parameters and bias compensation parameters of at least a partial area of the detection image" in step S1 may refer to obtaining gain compensation parameters and bias compensation parameters of a partial area output and displayed by the display panel, or may also refer to gain compensation parameters and bias compensation parameters of all areas output and displayed by the display panel. The most appropriate choice can be made based on the actual situation of the display panel output.
[0044] Furthermore, as shown in FIG2 , the step S1 of “analyzing and obtaining gain compensation parameters and offset compensation parameters for at least a portion of the detection image” may specifically include:
[0045] Step S11 , calling an image pre-processing algorithm, sequentially analyzing the display conditions of at least a partial area of each set of detection images, and obtaining a plurality of image display data.
[0046] Step S12, calling an image post-processing algorithm to obtain a plurality of target display data corresponding to the image display data, establishing a compensation relationship between the image display data and the target display data that match each other, and determining the gain compensation parameter and the offset compensation parameter based on the compensation relationship;
[0047] The image display data can at least indicate the brightness of the detection image; and the compensation relationship represents a pixel grayscale mapping relationship between the image display data and the target display data.
[0048] In this way, by calling the image pre-processing algorithm and the image post-processing algorithm, a compensation relationship between the detection images before and after compensation is constructed. Through this compensation relationship, the pixel grayscale changes between the image display data and the target display data can be obtained in a timely and accurate manner, which is conducive to enhancing the accuracy of compensation data positioning and improving compensation efficiency.
[0049] The display condition may include brightness changes or color changes of each pixel in the current detection image, etc. In addition, a corresponding compensation relationship may be constructed based on each color channel information to generate corresponding gain parameters and offset compensation parameters.
[0050] Optionally, when the brightness information of each pixel point of the display panel is uneven (i.e., the Mura problem), the image pre-processing algorithm may adopt a De-Mura pre-processing algorithm to analyze the display conditions of at least a part of the detection image to obtain an indication of the actual brightness conditions of the detection image. Correspondingly, the image post-processing algorithm may adopt a De-Mura post-processing algorithm to obtain target display data corresponding to the image display data. The target display data is the target brightness conditions to be achieved by each pixel point of the detection image, and the target display data can be adaptively set or adjusted according to the actual output display conditions of the display panel. Of course, the present invention also includes other image pre-processing algorithms and image post-processing algorithms, and no specific restrictions are made on this.
[0051] Furthermore, step S2 may specifically include: sequentially executing a mean value compression algorithm and a discrete cosine transform compression algorithm on the gain compensation parameter to obtain the gain compression data.
[0052] In this way, the compression algorithm is performed twice on the gain compensation data, which increases the compression rate, effectively saves the storage cost of the gain compensation parameters, and is conducive to reducing costs.
[0053] Optionally, a mean value compression algorithm or a discrete cosine transform compression algorithm may be executed on the gain compensation parameter, and adaptive adjustment may be made according to actual requirements of the display panel.
[0054] In the first embodiment of the present invention, to facilitate calculation, after step S12, the present invention may further include: step S13: forming the gain compensation parameters into a gain parameter matrix including a plurality of gain matrix elements corresponding to a plurality of pixels in the detection image region. Based on this, step S2 may specifically include step S21: executing a mean compression algorithm to compress the gain compensation parameters.
[0055] As shown in FIG3 , the mean value compression algorithm may specifically include:
[0056] Step S211 : dividing the gain parameter matrix into a plurality of first matrix sub-blocks, wherein each first matrix sub-block includes at least one first gain matrix element corresponding to the pixel point.
[0057] Step S212 , sequentially calculating the average values of all first gain matrix elements in each first matrix sub-block to obtain a plurality of mean-value compressed data; wherein each of the mean-value compressed data corresponds to a single first matrix sub-block.
[0058] Step S213 , arranging the mean-compressed data according to the position distribution of the first matrix sub-blocks corresponding to the gain parameter matrix to obtain first gain-compressed data.
[0059] In this manner, the gain compensation parameters are compressed using the mean compression algorithm. This method is simple and easy to implement. The number of the first matrix sub-blocks can be adaptively adjusted according to actual needs, providing high flexibility. Data compression helps reduce storage space and storage costs. Step S21 can be understood as a derivative of step S2.
[0060] To facilitate compression of the gain compensation parameters, in step S13, a plurality of pixels in the detection image region are converted into corresponding matrix elements, and the gain compensation parameters are subjected to matrix conversion to form the gain parameter matrix. The subsequent data compression operation is to perform a mean compression algorithm on the gain parameter matrix.
[0061] In addition, in addition to using the aforementioned mean compression algorithm to achieve data compression, the present invention may also employ a downsampling algorithm that achieves data compression by reducing image resolution, and the present invention does not impose any specific limitations on this. Furthermore, the number of sub-blocks into which the gain parameter matrix is divided may be adjusted based on actual needs. For example, a 2*2 mean compression operation may be performed on the gain parameter matrix, or a 4*4 mean compression operation may be performed on the gain parameter matrix. The present invention does not impose any specific limitations on this.
[0062] It should be emphasized that the number of mean compression operations performed on the gain parameter matrix can be dynamically adjusted according to actual conditions, and the present invention does not impose specific limitations on this. Based on this, the first matrix sub-block can be generated by performing a single division on the initial gain parameter matrix; or it can be generated by performing a sub-block division operation on the staged gain compression data generated after one or more compression processes during the execution of multiple mean compressions. Moreover, the first gain compression data can be arranged and generated according to the relative position distribution of the first matrix sub-blocks in the gain parameter matrix.
[0063] Specifically, assuming that the first mean compression is performed on the initial gain parameter matrix T to obtain the first gain compression data T1, at this time, the generated first matrix sub-block is generated by dividing the initial gain parameter matrix T; optionally, if the second mean compression is required to be performed on the first gain compression data T1 to obtain the second gain compression data T2, at this time, the generated first matrix sub-block is generated by dividing the first gain compression data T1.
[0064] In a second embodiment of the present invention, to facilitate calculation, after step S12, the method for compressing the compensation data may further include: step S13, forming the gain compensation parameters into a gain parameter matrix including a plurality of gain matrix elements corresponding to a plurality of pixels in the detection image region. Based on this, step S2 may specifically include step S22, compressing the gain compensation parameters using a discrete cosine transform compression algorithm.
[0065] As shown in FIG4 , the discrete cosine transform compression algorithm may specifically include:
[0066] Step S221 : dividing the gain parameter matrix to obtain a plurality of second matrix sub-blocks, wherein each second matrix sub-block includes at least one second gain matrix element corresponding to the pixel point.
[0067] Step S222 , performing discrete cosine transform on each second matrix sub-block in sequence to obtain a plurality of discrete transform data; wherein each discrete transform data corresponds to a single second matrix sub-block.
[0068] Step S223 , arranging the discrete transformation data according to the position distribution of the second matrix sub-blocks corresponding to the gain parameter matrix to obtain discrete intermediate data.
[0069] Step S224: performing a filtering operation on the discrete intermediate data to obtain second gain compressed data.
[0070] In this manner, the gain compensation parameters are compressed using a discrete cosine transform compression algorithm. This algorithm can concentrate important information in the gain compensation parameters into a small number of transform coefficients, achieving a high compression ratio. This algorithm can achieve lossless compression, meaning that it compresses image data without affecting image quality. The algorithm is computationally simple. Step S22 can also be understood as a derivative of step S2.
[0071] The discrete cosine transform (DCT) is a technique for converting signals into frequency domain representation. The DCT transform can convert spatial domain signals into frequency domain and has good decorrelation performance. The DCT transform is lossless, providing good conditions for subsequent quantization or filtering operations. At the same time, since the DCT transform is symmetrical, the inverse DCT transform can be used in the subsequent decompression operation to restore the original image information at the receiving end. Preferably, in the process of executing the image data compression algorithm, a two-dimensional discrete cosine transform method is usually adopted, as shown in formula (1):
[0072] Where x,y=0,1,…,N-1 (1)
[0073] Among them, when when
[0074] Where f(x,y) is the value at the (x,y)th coordinate position in the time domain matrix corresponding to the original detection image before discrete cosine transform, F(x,y) is the value at the (x,y)th coordinate position in the frequency domain coefficient matrix obtained after discrete cosine transform, alpha(x) and alpha(y) represent the scaling coefficients in two dimensions, respectively, and N is the size of the time domain matrix before DCT transform, that is, the number of rows or columns in the matrix.
[0075] Similarly, before executing the discrete compression algorithm, the number of sub-blocks into which the gain parameter matrix is divided can be adjusted based on actual needs, and the present invention does not impose any specific limitations thereon. Furthermore, the second matrix sub-blocks described in steps S221 to S223 can be generated by performing a single division of the initial gain parameter matrix, or by performing a sub-block division operation on the intermediate gain compressed data generated after the compression process during multiple discrete compressions. Furthermore, the second gain compressed data can be generated by correspondingly arranging the second matrix sub-blocks according to their relative positional distribution within the gain parameter matrix.
[0076] It should be noted that the first matrix sub-block and the second matrix sub-block may be the same, that is, before executing the mean compression algorithm or the discrete compression algorithm, the sub-block division of the gain parameter matrix is the same.
[0077] In a preferred embodiment, the first and second embodiments can be combined to implement a discrete compression algorithm based on the mean compression of the gain compensation parameter. This further improves the compression ratio, effectively reducing storage space and decompression circuit costs without compromising compensation and display quality.
[0078] It should be emphasized that in step S213, the first gain compression data may be the final result after executing the mean compression algorithm; or the interim result of executing one or more mean compression algorithms; or the partial result of executing one or more mean compression algorithms. Similarly, in step S223, the second gain compression data may be the final result after executing the discrete compression algorithm; or the interim result of executing one or more discrete compression algorithms; or the partial result of executing one or more discrete compression algorithms.
[0079] Preferably, the step S221 of "dividing the gain parameter matrix to obtain a plurality of second matrix sub-blocks" may specifically include: performing 1 / 8 sampling in both vertical and horizontal directions according to the gain parameter matrix to obtain a plurality of second matrix sub-blocks.
[0080] In this way, the gain parameter matrix is sampled by 1 / 8, and both speed and quality can be taken into account during data compression and subsequent decompression. In other words, the 1 / 8 sampling has a small amount of calculation and high efficiency during the compression and decompression process, and has little impact on the quality of the data before and after compression.
[0081] Furthermore, in order to remove or reduce high-frequency components that are difficult for the human eye to perceive while retaining the low-frequency components of the primary information of the initial gain compensation parameters, so that the compressed image remains natural and smooth within the visual range, a filtering operation is performed on the data after discrete cosine transform. The present invention provides a refined step S224 that utilizes a low-pass filtering method to perform data compression.
[0082] In one implementation, step S224 may specifically include step S224':
[0083] Low-pass filtering is performed on the discrete intermediate data to filter out high-frequency data in the discrete intermediate data and retain low-frequency discrete intermediate data to obtain the second gain compressed data.
[0084] In this way, by performing low-pass filtering on the discrete intermediate data, high-frequency data obtained after discrete cosine transform is removed and low-frequency data is retained, thereby achieving data compression.
[0085] Furthermore, in one embodiment, the portion of “performing low-pass filtering on the discrete intermediate data” in step S224′ may specifically include step S224″:
[0086] A low-pass filter matrix is constructed according to the distribution of high-frequency data and low-frequency data in the discrete intermediate data; and the low-frequency discrete intermediate data is calculated based on the low-pass filter matrix and the discrete intermediate data.
[0087] In this way, by constructing a low-pass filter matrix to compress the discrete intermediate data, this method is computationally simple and easy to implement. The filter matrix can be dynamically adjusted based on the distribution of high-frequency and low-frequency data in the discrete intermediate data, providing high flexibility. Steps S224' and S224" described above can both be understood as derivative steps of step S224.
[0088] In a preferred embodiment of the present invention, the gain parameter matrix is sampled by 1 / 8, that is, N in formula (1) is 8. As shown in Figures 5(a) and 5(b), according to formula (1), a discrete cosine transform operation can be performed on the gain parameter matrix to convert the initial gain compensation parameter from a spatial domain representation into a frequency domain representation; and for the convenience of calculation, during the conversion process, the low-frequency data can be converted to the upper left corner position of the frequency domain data, such as the 4*4 area in the upper left corner, and the high-frequency data can be converted to the lower right corner position. Based on this, according to the distribution of high-frequency data and low-frequency data in the frequency domain data, a low-frequency filter matrix as shown in formula (2) can be constructed. According to the low-frequency filter matrix, the low-frequency data of the discrete intermediate data is calculated to achieve data compression. At the same time, in the subsequent decompression inverse operation, the original gain parameter matrix can be restored by using the filtered low-frequency data.
[0089] In a specific example, assuming the display panel has a resolution of 1080*2400, two sets of test images are obtained using RGB color mode. In other words, the resolution of the three color channels of the test images is 1080*2400. According to the preferred embodiment described above, a de-mura pre-processing algorithm is used to analyze and calculate the RGB images to obtain the gain compensation parameters GainR, GainG, and GainB, and the offset compensation parameters OffsetR, OffsetG, and OffsetB.
[0090] For ease of description, the transformation of data resolution during the two compression processes is specifically described using one channel parameter, GainR, as an example. Optionally, a 2x2 mean compression is first performed on the gain compensation parameter, GainR, resulting in a resolution of 540x1200 for the first gain-compressed data. A discrete cosine transform (DCT) compression algorithm is then performed on the first gain-compressed data, resulting in a resolution of 270x600 for the second gain-compressed data.
[0091] Similarly, the above compression process also applies to GainG and GainB, which will not be described in detail here. Therefore, the data size corresponding to the detection image before compression is: 1080*2400*6=1555200 (including three groups of RGB data, each group includes two groups of Gain and Offset); the data size after compression is: 270*600*3+1080*2400*3=826200 (only three groups of Gain data are compressed, and the three groups of Offset data are not compressed); calculation shows that the compression ratio before and after compression is 0.53. This shows that the size of the compressed data is only 53% of the original data size before compression, which is nearly halved. However, because the offset compensation parameter Offset is not compressed, it does not have a significant impact on the display effect.
[0092] It should be noted that when the compressed compensation data set is displayed on the display panel, the compressed data must be restored. As shown in FIG6 , the present invention also provides a compensation data decompression method, which includes:
[0093] Step S41: Acquire a compression compensation data set including gain compression data and offset compensation parameters.
[0094] Step S42: decoding the compressed gain compression data using an inverse operation method of the filtering process to obtain decoded gain compression data.
[0095] Step S43 , performing an inverse discrete cosine transform operation and / or an upsampling operation on the decoded gain compression data to obtain a gain compensation parameter.
[0096] The compression compensation data set is used to adjust the display effect of the detection image.
[0097] In this way, according to the compression algorithm used in the compression process, the inverse operation of the compression algorithm is performed on the compressed gain-compressed data to obtain the gain compensation parameters before compression. This method is simple to calculate and easy to implement, and can restore the original data before compression.
[0098] In step S43, "performing an inverse discrete cosine transform operation and / or upsampling operations on the decoded gain-compressed data" may specifically include: performing an inverse discrete cosine transform operation on the decoded gain-compressed data; performing an upsampling operation on the decoded gain-compressed data; or performing an inverse discrete cosine transform operation and upsampling operations on the decoded gain-compressed data in sequence. This may be dynamically adjusted based on the compression algorithm used in the compression process, and is not specifically limited thereto.
[0099] As shown in FIG7 , the present invention further provides a display panel compensation method, comprising:
[0100] Step S51 : obtaining a compressed compensation data set by executing the compensation data compression method.
[0101] Step S52: storing the compression compensation data set, and adjusting the output display effect of the display panel on the detection image according to the compression compensation data set.
[0102] In this way, by executing the compression method and the decompression method, the problem of uneven brightness or color display of the display panel can be adjusted, so that the display panel has a better display effect, the product quality of the display panel is improved, and the user experience effect is improved.
[0103] Furthermore, after “storing the compressed compensation data set”, the display panel compensation method may further include:
[0104] Step S53 , reading the gain compression data from the storage chip, and executing the compensation data decompression method to obtain gain compensation parameters and offset compensation parameters.
[0105] Step S54 : Compensating the output display condition of the display panel using the gain compensation parameter and the offset compensation parameter.
[0106] In this way, the gain compensation parameter and the offset compensation parameter are used in combination to further adjust the clarity and balance of the image, making the details of the image more distinct and the layering more obvious.
[0107] The gain compensation parameters can be formed as a gain parameter matrix, and the offset compensation parameters can also be formed as a offset parameter matrix; corresponding matrix elements in the gain parameter matrix and the offset parameter matrix correspond to at least one pixel in the detection image. Steps S53 to S54 can be understood as derivative steps of step S52.
[0108] Furthermore, the display panel includes a first pixel point, which has first display data and second display data before and after compensation respectively; the second display data is equal to the product of the first display data and the gain compensation parameter and the sum of the offset compensation parameter.
[0109] In this way, by jointly using the gain compensation parameter and the offset compensation parameter to adjust any pixel point of the display panel, the details of the image can be more vivid, the image display can be clearer, and the user experience can be improved.
[0110] In summary, the compensation data compression method provided by the present invention analyzes the gain compensation parameters and offset compensation parameters of at least a portion of a detected image, compresses the gain compensation parameters, and then combines the compressed gain compressed data with the offset compensation parameters to generate a compressed compensation data set. This effectively reduces storage space and the cost of decompression circuitry without compromising compensation and display quality. This significantly improves the quality of products such as display panels, increases compression and decompression efficiency, and enhances the efficiency and quality of display panel compensation, ultimately enhancing the user experience.
[0111] It should be understood that although this specification is described in terms of implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation method can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
[0112] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.
Claims
1. A compensating data compression method, characterized in that: include: Acquire a detection image, and analyze and obtain a gain compensation parameter and an offset compensation parameter of at least a partial area of the detection image; compressing the gain compensation parameter to obtain gain compression data; A compression compensation data set is generated according to the gain compression data and the offset compensation parameter; wherein the compression compensation data set is used to adjust the display effect of the detection image.
2. The compensating data compression method according to claim 1, characterized in that: The “compressing the gain compensation parameters to obtain gain compression data” specifically includes: A mean value compression algorithm and a discrete cosine transform compression algorithm are sequentially performed on the gain compensation parameters to obtain the gain compression data.
3. The compensating data compression method according to claim 1, characterized in that: The gain compensation parameters are formed as a gain parameter matrix, including a number of gain matrix elements corresponding to a number of pixel points in the detection image area; The “compressing the gain compensation parameters to obtain gain compression data” specifically includes: Execute a mean compression algorithm to compress the gain compensation parameter; Wherein, the mean compression algorithm includes: According to the gain parameter matrix, a plurality of first matrix sub-blocks are obtained by division, wherein each first matrix sub-block includes at least one first gain matrix element corresponding to the pixel point; Calculating the average values of all first gain matrix elements in each first matrix sub-block in sequence to obtain a plurality of mean-value compressed data; wherein each of the mean-value compressed data corresponds to a single first matrix sub-block; The mean-compressed data is arranged according to the position distribution of the first matrix sub-blocks corresponding to the gain parameter matrix to obtain first gain-compressed data.
4. The compensating data compression method according to claim 1, characterized in that: The gain compensation parameters are formed as a gain parameter matrix, including a number of gain matrix elements corresponding to a number of pixel points in the detection image area; The “compressing the gain compensation parameters to obtain gain compression data” specifically includes: Execute a discrete cosine transform compression algorithm to compress the gain compensation parameter; Wherein, the discrete cosine transform compression algorithm includes: According to the gain parameter matrix, a plurality of second matrix sub-blocks are obtained by division, wherein each second matrix sub-block includes at least one second gain matrix element corresponding to the pixel point; Performing discrete cosine transform on each second matrix sub-block in sequence to obtain a plurality of discrete transform data; wherein each of the discrete transform data corresponds to a single second matrix sub-block; Arranging the discrete transformation data according to the position distribution of the second matrix sub-blocks corresponding to the gain parameter matrix to obtain discrete intermediate data; A filtering operation is performed on the discrete intermediate data to obtain second gain compressed data.
5. The compensating data compression method according to claim 4, characterized in that: The “dividing according to the gain parameter matrix to obtain a plurality of second matrix sub-blocks” specifically includes: performing 1 / 8 sampling in both vertical and horizontal directions according to the gain parameter matrix to obtain a plurality of second matrix sub-blocks.
6. The compensating data compression method according to claim 4, characterized in that: The “performing a filtering operation on the discrete intermediate data to obtain second gain compressed data” specifically includes: A low-pass filtering process is performed on the discrete intermediate data to filter out high-frequency data in the discrete intermediate data, and low-frequency data in the discrete intermediate data is retained as the second gain compression data.
7. The compensating data compression method according to claim 6, characterized in that: The “performing low-pass filtering on the discrete intermediate data” specifically includes: Constructing a low-pass filter matrix according to the distribution of high-frequency data and low-frequency data in the discrete intermediate data; The low-frequency data in the discrete intermediate data is obtained by calculation according to the low-pass filter matrix and the discrete intermediate data.
8. A compensation data decompression method, characterized in that: include: Acquire a compression compensation data set including gain compression data and bias compensation parameters; wherein the compression compensation data set is used to adjust the display effect of the detection image; Decoding the compressed gain compression data using an inverse operation method of filtering processing to obtain decoded gain compression data; An inverse operation of discrete cosine transform and / or an upsampling operation is performed on the decoded gain compression data to obtain a gain compensation parameter.
9. A display panel compensation method, characterized in that: include: Execute the compensation data compression method according to any one of claims 1 to 7 to obtain a compressed compensation data set; The compressed compensation data set is stored, and the output display effect of the display panel on the detection image is adjusted according to the compressed compensation data set.
10. The display panel compensation method according to claim 9, characterized in that: After the step of “storing the compressed compensation data set”, the display panel compensation method further includes: Reading the gain compression data from the storage chip, decoding the gain compression data by using an inverse operation method of filtering processing, and performing an inverse operation of discrete cosine transform and / or upsampling operation on the decoded gain compression data to obtain a gain compensation parameter and an offset compensation parameter; The output display condition of the display panel is compensated using the gain compensation parameter and the offset compensation parameter.
11. The display panel compensation method according to claim 10, characterized in that: The display panel comprises a first pixel point, and the first pixel point has first display data and second display data before and after compensation respectively; The second display data is equal to the product of the first display data and the gain compensation parameter and the sum of the offset compensation parameter.
Citation Information
Patent Citations
A characteristic matching method for compressing video super-resolution based on learning
CN101551902A
Method for acquiring gray-scale compensation value of pixel
CN104409066A
Data compression method and decompression method for DeMura table
CN108196793A
Compression method of display device compensation meter
CN109166511A
Compensation table compression method
CN109324778A
