Coding Method, Display Module and Storage Medium Based on Motion Prediction Coding
Through the method based on mobile prediction encoding, the adjacent pixel reconstruction values of the target pixel are used for prediction and quantization encoding, and the problems of degradation of display quality and waste of storage space caused by the Mura phenomenon in the AMOLED display screen are solved, and fast and efficient data compression and compensation are achieved.
Patent Information
- Application Number
- CN202210826306.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-14
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2042-07-14
AI Technical Summary
The Mura phenomenon caused by non-uniformity in the AMOLED display screen during production leads to a decline in display quality, and existing data compression methods consume a lot of storage space.
Using a method based on mobile prediction coding, the adjacent pixel reconstruction value of the target pixel is obtained to predict, the error value is calculated and quantized encoding is performed to achieve fast and efficient data compression.
It realizes fast and large-scale data storage compression, reduces storage space requirements, and improves the display quality of the display screen.
Smart Images

Figure CN115278251B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of display panels, and particularly to an encoding method, a display module, and a storage medium based on motion prediction coding. Background Art
[0002] Due to the limitations of the crystallization process, for LTPS TFTs fabricated on a large-area glass substrate, TFTs at different positions often have non-uniformity in electrical parameters such as threshold voltage and mobility. This non-uniformity will be converted into current differences and brightness differences in OLED display devices and be perceived by the human eye, namely the Mura phenomenon. The term "Mura" originated in Japan, originally referring to uneven brightness, and later extended to any color difference recognizable by the human eye on the panel. During the production process of AMOLED display screens, due to reasons such as materials and processes, some products will exhibit uneven brightness in the displayed image, that is, Mura. Such spots and traces of uneven brightness will bring discomfort to the vision, and products with such traces cannot meet the specifications of end customers and generally can only be scrapped or downgraded.
[0003] During the conception and implementation of the present application, the inventors found that at least the following problems exist: In the process of an external compensation system for the AMOLED production process to eliminate Mura streaks on a display screen with Mura defects through advanced sub-pixel-level optical imaging technology and software algorithms, so that the display quality of the display screen meets the shipping specifications of the panel factory and improves the yield of mass production of the display screen, when using a region containing a large number of pixels as a basic block for data compression, the data volume will increase rapidly, consuming a large amount of storage space.
[0004] The foregoing description is for providing general background information and does not necessarily constitute prior art. Summary of the Invention
[0005] The present application provides an encoding method, a display module, and a storage medium based on motion prediction coding for alleviating the problem of uneven brightness of the displayed image.
[0006] In one aspect, the present application provides an encoding method based on motion prediction coding. Specifically, the encoding method includes:
[0007] Obtaining a first pixel reconstruction value adjacent to a target pixel in a first dimension direction, a second pixel reconstruction value adjacent to the target pixel in a second dimension direction, and a third pixel reconstruction value adjacent to the target pixel in a direction of the included angle between the first dimension and the second dimension;
[0008] Calculating the sum of the first pixel reconstruction value and the second pixel reconstruction value, minus the difference of the third pixel reconstruction value, as the predicted value of the target pixel;
[0009] In the display image of the preset display data, obtain the original value of the target pixel, and calculate the difference between the original value and the predicted value as the error value of the target pixel;
[0010] Perform quantization coding on the error value of the target pixel according to a preset rule to obtain the quantization value of the target pixel.
[0011] Optionally, the preset display data in the encoding method includes a grayscale picture or an RGBW picture.
[0012] Optionally, the original value of the target pixel in the encoding method includes a luminance value and / or a chrominance value.
[0013] Optionally, the step of performing quantization coding on the error value of the target pixel according to the preset rule in the encoding method includes:
[0014] Divide the error value of the target pixel by a quantization parameter to quantize the error value into a preset numerical range.
[0015] Optionally, the step of dividing the error value of the target pixel by the quantization parameter in the encoding method includes:
[0016] Select the quantization parameter from a parameter table according to a parameter selection rule;
[0017] Take the integer of the quotient of dividing the error value of the target pixel by the quantization parameter as the quantization value of the target pixel.
[0018] Optionally, the steps of obtaining the reconstructed value of the first pixel adjacent to the target pixel in the first dimension direction, the reconstructed value of the second pixel adjacent to the target pixel in the second dimension direction, and the reconstructed value of the third pixel adjacent to the target pixel in the included angle direction between the first dimension and the second dimension in the encoding method include:
[0019] Read the quantization value of the first pixel, the quantization value of the second pixel, and the re-quantization value of the third pixel;
[0020] Perform inverse quantization on the quantization value of the first pixel, the quantization value of the second pixel, and the quantization value of the third pixel in reverse according to the preset rule to respectively obtain the reconstructed value of the first pixel, the reconstructed value of the second pixel, and the reconstructed value of the third pixel.
[0021] Optionally, the step of performing inverse quantization in reverse according to the preset rule in the encoding method includes:
[0022] Read the quantization value of the reference pixel and the quantization parameter;
[0023] Calculate the product of the quantization value and the quantization parameter as the reconstructed value of the reference pixel.
[0024] Optionally, before performing the steps of obtaining the first pixel reconstruction value adjacent to the target pixel in the first dimension direction, the second pixel reconstruction value adjacent to the target pixel in the second dimension direction, and the third pixel reconstruction value adjacent to the target pixel in the included angle direction between the first dimension and the second dimension, the encoding method includes:
[0025] In response to obtaining the preset initial value of the first row of pixels, obtain the original value of the first pixel in the first row of pixels;
[0026] Use the difference between the original value of the first pixel and the preset initial value as the error value of the first pixel, and obtain the quantization value and reconstruction value of the first pixel according to the error value of the first pixel according to the preset rule;
[0027] Obtain the original value of the second pixel in the first row of pixels, use the difference between the reconstruction value of the first pixel and the original value of the second pixel as the error value of the second pixel, and obtain the quantization value and reconstruction value of the second pixel according to the error value of the second pixel according to the preset rule.
[0028] On the other hand, the present application also provides a display module. Specifically, it includes a processor and a memory connected to the processor;
[0029] A computer program is stored on the memory;
[0030] The processor is configured to execute the computer program read from the memory to implement the encoding method as described above.
[0031] On the other hand, the present application also provides a storage medium. Specifically, a computer program is stored on the storage medium, and when the computer program is executed by a processor, the encoding method as described above is implemented.
[0032] As described above, the encoding method, display module, and storage medium based on motion prediction coding provided by the present application can achieve faster and larger-scale compressed data storage, which is convenient for compensating display pixels. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings here are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
[0034] Figure 1Flowchart of an encoding method based on motion prediction coding according to an embodiment of the present application.
[0035] Figure 2 Flowchart of an encoding method based on motion prediction coding according to another embodiment of the present application.
[0036] Figure 3 Target pixel map according to an embodiment of the present application.
[0037] Figure 4 Target pixel map according to another embodiment of the present application.
[0038] The implementation, functional features, and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. Through the above-mentioned accompanying drawings, specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the present application in any way, but to explain the concept of the present application to those skilled in the art by referring to specific embodiments. Detailed implementation manners
[0039] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0040] It should be noted that in this text, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitations, an element defined by the statement "comprising one..." does not exclude the existence of additional identical elements in the process, method, article or device comprising such element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined based on their explanations in the specific embodiments or further in combination with the context of the specific embodiments.
[0041] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0042] First embodiment
[0043] In one aspect, the present application provides an encoding method based on motion prediction coding. Figure 1Flow chart of an encoding method based on motion prediction coding according to an embodiment of the present application.
[0044] Please refer to Figure 1 , in one embodiment, the encoding method includes:
[0045] S10: Obtain the first pixel reconstruction value adjacent to the target pixel in the first dimension direction, the second pixel reconstruction value adjacent to the target pixel in the second dimension direction, and the third pixel reconstruction value adjacent to the target pixel in the included angle direction between the first dimension and the second dimension.
[0046] Exemplarily, the first dimension direction may be the horizontal direction, and the second dimension direction may be the vertical direction. The present application does not limit this. The third pixel is located in the included angle direction between the horizontal direction and the vertical direction and is adjacent to the target pixel. Generally, adjacent pixels have linearly varying luminance values. Therefore, when predicting and compressing the luminance compensation value of the target pixel, adjacent pixels are of reference significance. It should be noted that the luminance value may be the brightness value or the gray scale value under each chromaticity.
[0047] S20: Calculate the sum of the first pixel reconstruction value and the second pixel reconstruction value, and subtract the third pixel reconstruction value. The result is the predicted value of the target pixel.
[0048] Optionally, the predicted value of the target pixel is the sum of the reconstruction values of any two of the first pixel reconstruction value, the second pixel reconstruction value, and the third pixel reconstruction value minus the reconstruction value of the remaining one pixel. Exemplarily, the predicted value of the target pixel may also be the sum of the reconstruction value of the first pixel and the third pixel reconstruction value minus the second pixel reconstruction value.
[0049] S30: In the display image of the preset display data, obtain the original value of the target pixel, and calculate the difference between the original value and the predicted value as the error value of the target pixel.
[0050] By calculating the prediction value deviation between the original value of the target pixel and the surrounding reference pixels, the data volume of the quantitative luminance compensation value can be reduced, facilitating storage or transmission.
[0051] S40: Quantize and encode the error value of the target pixel according to a preset rule to obtain the quantization value of the target pixel.
[0052] In this embodiment, the encoding method predicts the predicted value that the target pixel needs to be compensated by the compensation values of other pixels around the target pixel, and then takes the difference between the original compensation value and the predicted value as the error value, and further quantizes and encodes the error value of the target pixel. By analogy, each pixel is successively subjected to motion prediction and then the error value of each pixel is encoded, so as to achieve more rapid and efficient data compression and decompression, facilitating the storage or transmission of the display compensation value of the target pixel. During the operation of the display panel, when compensation for the display panel is required, the quantization value is read for reconstruction to obtain the reconstructed value of each pixel, and accordingly, each reconstructed value is used to compensate the corresponding pixel.
[0053] In one embodiment, the preset display data in the encoding method includes a grayscale image or an RGBW image.
[0054] Exemplarily, according to different user technologies and requirements, if only the brightness difference is compensated and the color difference is not compensated, only the grayscale image of the display image needs to be detected. If both the brightness difference and the chromaticity difference are compensated, the RGBW image of the display image needs to be detected.
[0055] In one embodiment, the original value of the target pixel in the encoding method includes a brightness value and / or a chromaticity value.
[0056] Exemplarily, if the grayscale image of the display image is detected, the original value for compensating the target pixel includes a brightness value. If the RGBW image of the display image is detected, the original value of the target pixel includes the chromaticity value of the grayscale image of the display image.
[0057] Exemplarily, the general steps of De-Mura are as follows:
[0058] a. The Drive IC lights up the panel (TV / mobile / Tablet) and displays several images (usually grayscale or RGB).
[0059] b. Use a high-resolution and high-precision CCD camera to capture the above images.
[0060] c. Analyze the pixel color distribution characteristics based on the data collected by the camera, and identify Mura according to relevant algorithms.
[0061] d. Generate Demura data according to the Mura data and the corresponding Demura compensation algorithm.
[0062] e. Burn the Demura data into the Flash ROM, re-capture the compensated image, and confirm that the Mura has been eliminated.
[0063] Exemplarily, the detailed steps of AMOLED Demura are as follows:
[0064] 1. Image acquisition: Light up the AMOLED screen, import different images, use the CCD camera on the compensation device to acquire images, and automatically identify the sub-pixel arrangement relationship.
[0065] After lighting up the panel, the images to be detected generally vary according to the requirements of different panel factories. Commonly, there are RGB images with 32, 64, 96, 160, 192, and 224 gray levels, a total of 18 images.
[0066] For some panel factories, Demura only compensates for brightness differences and does not compensate for color differences. This kind of Luminance Demura generally only needs to detect gray-level images. Moreover, since the Mura presented at different gray levels is different, the Mura of high, medium, and low gray levels is generally detected, and finally the Demura data is averaged. Of course, specific settings will be selected by different panel factories according to their actual needs. Some panel factories perform more comprehensive Color Demura, that is, they compensate not only for brightness but also for chromaticity differences. For the detection images of this type of color Demura, some use gray-level images, and some use RGBW images. Different panel factories choose differently according to technology and requirements.
[0067] 2. Import the acquired images into a high-performance PC (the Demura tool software has been installed on the PC).
[0068] 3. Use the Demura tool software on the PC to extract the original data, calculate the Mura area, detect the Mura boundary, and generate compensation data.
[0069] 4. When the Demura function is enabled, extract the complete compensation data, overlay the compensation data with the original display data sent from the application side, generate new data and send it to the Panel for display to confirm the Demura compensation effect.
[0070] In one embodiment, the encoding method in performing S40: quantizing and encoding the error value of the target pixel according to a preset rule includes:
[0071] S41: Divide the error value of the target pixel by the quantization parameter to quantize the error value into a preset numerical range.
[0072] Optionally, the present application does not limit the size of the quantization parameter, and selects a suitable quantization parameter according to the preset numerical range and quantization accuracy. Exemplarily, the quantization parameter can be selected within a given data range according to the degree of compression required.
[0073] In one embodiment, the encoding method in performing S41: dividing the error value of the target pixel by the quantization parameter includes:
[0074] S42: Select quantization parameters from the parameter table according to the parameter selection rules;
[0075] S43: Take the integer part of the quotient of the error value of the target pixel divided by the quantization parameter as the quantization value of the target pixel.
[0076] Exemplarily, assume that the error value of the target pixel is 9. If the error value is quantized to the range of [-3, 4], the quantization parameter can be selected as 2. Taking the integer part of the quotient of the error value of the target pixel divided by the quantization parameter, 4 is obtained as the quantization value of the target pixel. In the quantization calculation, the remainder is discarded as the compression error.
[0077] Exemplarily, considering the storage bits, the quantization parameter can be selected from 0, 2, 4, 8, etc. as the quantization parameter, so that after taking the integer part of the quotient of each compensation fluctuation value divided by the quantization parameter, all the coding values fall within the range of -4, -3, -2, -1, 1, 2, 3, 4. Exemplarily, the original compensation values of eight pixels in a pixel block of a target are: 32, 31, 32, 32, 32, 31, 32, 34 respectively, then the compensation error values are 0, -1, 0, 0, 0, -1, 0, 2 respectively. When the quantization parameter is selected as 2, the quantization results of the error values are: 0, 0, 0, 0, 0, 0, 0, 1 respectively. Optionally, multiple quantizations can be selected to quantize relatively low-fluctuation data to 0 and retain relatively high-fluctuation data for quantization storage.
[0078] In one embodiment, the steps of the encoding method in performing S10: obtaining the first pixel reconstruction value adjacent to the target pixel in the first dimension direction, the second pixel reconstruction value adjacent to the target pixel in the second dimension direction, and the third pixel reconstruction value adjacent to the target pixel in the included angle direction between the first dimension and the second dimension include:
[0079] S11: Read the first pixel quantization value, the second pixel quantization value, and the third pixel weight quantization value;
[0080] S12: Perform inverse quantization on the first pixel quantization value, the quantization value of the second pixel, and the quantization value of the third pixel in the reverse of the preset rule, and respectively obtain the first pixel reconstruction value, the second pixel reconstruction value, and the third pixel reconstruction value.
[0081] Optionally, the encoding method performs inverse quantization on the first pixel quantization value, the second pixel quantization value, and the third pixel weight quantization value in the reverse of the preset rule to obtain the reconstructed compensation value after decoding, so as to realize the compensation of the pixels of the display screen.
[0082] In one embodiment, the steps of the encoding method in performing S12: performing inverse quantization in the reverse of the preset rule include:
[0083] S13: Read the quantization value of the reference pixel and the quantization parameter;
[0084] S14: Calculate the product of the quantization value and the quantization parameter as the reconstruction value of the reference pixel.
[0085] When calculating the reconstruction values of reference pixels such as the first pixel, the second pixel, or the third pixel, for example, assume that the quantization value of the reference pixel is 4 and the quantization parameter is 2. Calculate the product of the quantization value and the quantization parameter as 8, which is the reconstruction value of the reference pixel. Relative to the original compensation value of 9, in the quantization calculation, the remainder 1 is discarded as the compression error. Therefore, there is a difference with a remainder of 1 between the reconstruction value and the original value.
[0086] Figure 2 The flowchart of the encoding method based on motion prediction coding according to another embodiment of the present application.
[0087] Please refer to Figure 2 , in one embodiment, before the encoding method executes the step of S10: obtaining the reconstruction value of the first pixel adjacent to the target pixel in the first dimension direction, the reconstruction value of the second pixel adjacent to the target pixel in the second dimension direction, and the reconstruction value of the third pixel adjacent to the target pixel in the included angle direction of the first dimension and the second dimension, it includes:
[0088] S15: In response to obtaining the preset initial value of the first row of pixels, obtain the original value of the first pixel in the first row of pixels.
[0089] Optionally, the present application does not limit the preset initial value of the first row of pixels, and selects a suitable preset initial value according to the requirements of the quantization accuracy. For example, please refer to Figure 4 , assume that the RGB compensation value of the pixel at the PP position is 128, so that the compensation value of the pixel at the P1 position can be predicted. Optionally, during the encoding process, the first pixel value in the first row of pixels can be the benchmark for the entire motion prediction. During decoding, the original value of the first pixel value in the first row of pixels can also be used as the decoding benchmark, so as to decode the compensation error values of other pixels.
[0090] S16: Use the difference between the original value of the first pixel and the preset initial value as the error value of the first pixel, and obtain the quantization value and the reconstruction value of the first pixel according to the error value of the first pixel according to the preset rule.
[0091] For example, the quotient of dividing the error value of the first pixel by the quantization parameter is rounded to obtain the quantization value of the first pixel, and the product of the quantization value of the first pixel and the quantization parameter is the reconstruction value of the first pixel. Please continue to refer to Figure 4, assume that the RGB compensation value of the pixel at the PP position is 128. When predicting the compensation value of the pixel at the P1 position, the error value error1 of the compensation of the pixel at the P1 position can be obtained. Then, the error value error1 of the compensation of the pixel at the P1 position is quantized and encoded, and after re-inverse quantization and decoding, the reconstructed value of the compensation of the pixel at the P1 position can be obtained by 128 + error1.
[0092] S17: Obtain the original value of the second pixel in the first row of pixels. Use the difference between the reconstructed value of the first pixel and the original value of the second pixel as the error value of the second pixel, and obtain the quantization value and reconstructed value of the second pixel according to the error value of the second pixel according to a preset rule.
[0093] Optionally, according to the original value of the second pixel, obtain the quantization value and reconstructed value of the third pixel, and so on until the quantization values and reconstructed values of all pixels in the first row are obtained. Exemplarily, please continue to refer to Figure 4 , the reconstructed value of the compensation of the pixel at the P1 position can be used to predict the compensation value of the pixel at the P2 position. When the compensation values of the pixels at the P1 position and the P2 position are relatively flat, a good prediction can be obtained. At this time, the error value error2 of the compensation of the pixel at the P2 position obtained will be relatively small. Then, the number of bits required to quantize and encode error2 will be correspondingly relatively small, which is convenient for storing or transmitting compensation data. Exemplarily, assume that the error value error1 of the compensation of the pixel at the P1 position is not quantized. Then, the error value error1 of the compensation of the pixel at the P1 position has no remainder loss in quantization compression in the data stream. At this time, the reconstructed value of the compensation of the pixel at the P1 position is equal to P1.
[0094] Optionally, the first column of pixels can be processed in the same way as the first row above.
[0095] Second Embodiment
[0096] On the other hand, the present application also provides a display module. Specifically, it includes a processor and a memory connected to the processor.
[0097] A computer program is stored on the memory. The processor is used to execute the computer program read from the memory to implement the encoding method as described above.
[0098] Figure 3 This is the target pixel map of an embodiment of the present application.
[0099] Please refer to Figure 3 , exemplarily, the steps for the display module to execute the encoding method include:
[0100] The predicted value that needs to be compensated for the position of the target pixel d is equal to reconD = reconA + (reconB - reconC); where reconA, reconB, and reconC respectively represent the reconstructed values after decoding of pixel a, pixel b, and pixel c. The original value at position d minus the predicted value gives the error value error. The error interpolation is quantized and encoded and stored in the RAM. The error value is quantized to be between [-3, 4], and then inverse quantization is performed to obtain the reconstructed value at d. Assuming the error value is 9 and the quantization factor is 2, the quantization value is 4 (discarding 1), and the inverse quantization is 4 * 2 = 8, that is, 8 is the reconstructed value at that position. Similarly, the reconstructed values of a 4 * 8 area can be obtained. The quantization values and quantization factors of this area are encoded and stored in the RAM. Optionally, sharing the largest quantization factor can re-obtain the quantization values of this area. By analogy, the compensation values of each pixel in the entire area can be quantized and encoded with a large ratio compression, which is convenient for the storage or transmission of compensation data.
[0101] Figure 4 It is the target pixel map of another embodiment of the present application.
[0102] Please refer to Figure 4 , exemplarily, the steps for the display module to execute the encoding method include:
[0103] For the prediction method of the first row or the first column, an initial value can be given. Assume that the pixel in the first column of the first row in the image is P1, and the pixel in the second column is P2. Then assume that the RGB value of the preset PP position is 128. Using 128 to predict P1, the error error1 can be obtained. Then encode this error. After decoding, using 128 + error1 can obtain P1Recon. Assuming that error1 is not quantized, then in the data stream, error1 will not have loss, and P1Recon = P1. Then use P1Recon to predict P2. When P1 and P2 are relatively flat, a good prediction can be obtained, and the error error2 of the obtained P2 pixel will be relatively small. Then the number of bits required to encode error2 will be relatively small, and the subsequent other pixels can be inferred by analogy.
[0104] During the working process of the display panel, when compensation for the display panel is required, the quantization values are read for reconstruction to obtain the reconstructed values of each pixel, and then each reconstructed value is used to compensate the corresponding pixel accordingly.
[0105] The third embodiment
[0106] On the other hand, the present application also provides a storage medium. Specifically, a computer program is stored on the storage medium, and when the computer program is executed by a processor, the encoding method as above is implemented.
[0107] In the embodiments of the display module and storage medium provided in this application, all the technical features of any of the above method embodiments may be included. The expansion and explanation content of the specification is basically the same as that of the above method embodiments, and will not be elaborated here.
[0108] As described above, the encoding method, display module, and storage medium provided in this application achieve faster and larger-scale compressed data storage, facilitating the compensation of display pixels.
[0109] It should be noted that in this application, step codes such as S10 and S20 are used. The purpose is to more clearly and briefly express the corresponding content, and it does not constitute a substantial limitation in order. Those skilled in the art may execute S20 first and then S10 during specific implementation, etc., but these should all be within the protection scope of this application.
[0110] The embodiments of this application also provide a computer program product. The computer program product includes computer program code. When the computer program code runs on a computer, it causes the computer to execute the methods in the above various possible implementation manners.
[0111] The embodiments of this application also provide a chip, including a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device equipped with the chip executes the methods in the above various possible implementation manners.
[0112] It can be understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of this application. The technical solutions of this application can also be applied to other scenarios. For example, as known to those of ordinary skill in the art, with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.
[0113] The serial numbers of the above embodiments of this application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0114] The steps in the method embodiments of this application can be adjusted, combined, and deleted according to actual needs.
[0115] The units in the device embodiments of this application can be combined, divided, and deleted according to actual needs.
[0116] In this application, for the description of the same or similar term concepts, technical solutions, and / or application scenarios, generally only the first occurrence is described in detail. When it appears repeatedly later, for the sake of brevity, it is generally not elaborated again. When understanding the technical solutions of this application and other contents, for the same or similar term concepts, technical solutions, and / or application scenarios described in detail before but not described in detail later, reference can be made to their previous relevant detailed descriptions.
[0117] In this application, the descriptions of various embodiments each have their own emphasis. For parts not described or recorded in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0118] The technical features of the technical solutions of this application can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope recorded in this application.
[0119] The above are only the preferred embodiments of this application, and do not limit the patent scope of this application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of this application, or directly or indirectly applied in other related technical fields, shall be similarly included in the patent protection scope of this application.
Claims
1. A coding method based on motion prediction coding, characterized in that, The encoding method includes: Obtaining a first pixel reconstruction value adjacent to a target pixel in a first dimension direction, a second pixel reconstruction value adjacent to the target pixel in a second dimension direction, and a third pixel reconstruction value adjacent to the target pixel in a direction of an angle between the first dimension and the second dimension; Calculating the difference between the sum of the first pixel reconstruction value and the second pixel reconstruction value and the third pixel reconstruction value as the predicted value of the target pixel; In a display image of preset display data, obtaining the original value of the target pixel, and calculating the difference between the original value and the predicted value as the error value of the target pixel; Performing quantization encoding on the error value of the target pixel according to a preset rule to obtain the quantization value of the target pixel; The steps of obtaining a first pixel reconstruction value adjacent to a target pixel in a first dimension direction, a second pixel reconstruction value adjacent to the target pixel in a second dimension direction, and a third pixel reconstruction value adjacent to the target pixel in a direction of an angle between the first dimension and the second dimension include: Reading the first pixel quantization value, the second pixel quantization value, and the third pixel quantization value; Performing inverse quantization on the first pixel quantization value, the quantization value of the second pixel, and the quantization value of the third pixel in reverse according to the preset rule to respectively obtain the first pixel reconstruction value, the second pixel reconstruction value, and the third pixel reconstruction value; The step of performing quantization encoding on the error value of the target pixel according to the preset rule includes: Dividing the error value of the target pixel by a quantization parameter to quantize the error value into a preset numerical range.
2. The encoding method according to claim 1, characterized in that The preset display data includes a grayscale image or an RGBW image.
3. The encoding method according to claim 1, wherein The original value of the target pixel includes a luminance value and / or a chrominance value.
4. The encoding method according to claim 1, wherein The step of dividing the error value of the target pixel by a quantization parameter includes: Selecting the quantization parameter in a parameter table according to a parameter selection rule; Taking the integer part of the quotient of dividing the error value of the target pixel by the quantization parameter as the quantization value of the target pixel.
5. The encoding method according to claim 1, characterized in that The step of performing inverse quantization in reverse according to the preset rule includes: Reading the quantization value of a reference pixel and the quantization parameter; Calculating the product of the quantization value and the quantization parameter as the reconstruction value of the reference pixel.
6. The encoding method according to any one of claims 1-5, characterized in that, Before the steps of obtaining a first pixel reconstruction value adjacent to a target pixel in a first dimension direction, a second pixel reconstruction value adjacent to the target pixel in a second dimension direction, and a third pixel reconstruction value adjacent to the target pixel in a direction of an angle between the first dimension and the second dimension, it includes: In response to obtaining a preset initial value of the first row of pixels, obtaining the original value of the first pixel in the first row of pixels; Taking the difference between the original value of the first pixel and the preset initial value as the error value of the first pixel, and obtaining the quantization value and the reconstruction value of the first pixel according to the error value of the first pixel according to the preset rule; Obtaining the original value of the second pixel in the first row of pixels, and taking the difference between the reconstruction value of the first pixel and the original value of the second pixel as the error value of the second pixel, and obtaining the quantization value and the reconstruction value of the second pixel according to the error value of the second pixel according to the preset rule.
7. A display module, characterized in that, It includes a processor and a memory connected to the processor; A computer program is stored on the memory; The processor is configured to execute the computer program read from the memory to implement the encoding method according to any one of claims 1-6.
8. A storage medium, characterized in that, A computer program is stored on the storage medium, and when the computer program is executed by a processor, the encoding method according to any one of claims 1-6 is implemented.
Citation Information
Patent Citations
Image compression method for multi-quantization table
CN103533351A
Enhanced intra-prediction coding using planar representations
CN104796715A
Image encoding method, image decoding method and related device
CN113747176A