Pixel compensation method and device of display screen, computer device, program product and storage medium
Patent Information
- Application Number
- CN202410263922.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2044-03-07
AI Technical Summary
[0004]本公开的目的在于提供一种显示屏的像素补偿方法、装置、计算机设备、程序产品及存储介质,以解决相关技术中显示屏因意外断电、异常复位或正常的短暂关机而重启时出现残影、屏幕显示效果较差的技术问题
[0018] Compared with related technologies, the embodiments of this disclosure pre-set a temperature sensor and a flash memory on the display screen. The temperature sensor detects the temperature of each display area of the display screen, and the flash memory stores the time-domain pixel compensation data calculated during the pixel compensation process and the temperature value at the corresponding moment of the time-domain pixel compensation data in real time. Thus, when the display screen restarts after an unexpected power outage, abnormal reset, or normal brief shutdown, the temperature sensor can obtain the current temperature value of each display area of the display screen. Then, based on the current temperature value, the time-domain pixel compensation data corresponding to the current temperature value is obtained from the historical mapping table. Subsequently, the spatial domain pixel compensation data is used to perform spatial domain pixel compensation calculation to determine the target pixel compensation data according to the spatial domain pixel compensation method. Since the time-domain pixel compensation data obtained in this solution has a high correlation with the current temperature value of the display screen, the pixel compensation result is more accurate when using the time-domain pixel compensation data for subsequent pixel compensation, which can better alleviate the occurrence of image retention, ensure the color uniformity of the display screen, and improve the screen display effect.
Smart Images

Figure CN117912403B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of image display technology. More specifically, it relates to a pixel compensation method, apparatus, computer device, program product, and storage medium for a display screen. Background Technology
[0002] MLED (Mini Light Emitting Diode or Micro Light Emitting Diode) devices have many advantages such as outstanding brightness, wide color gamut coverage, and clear resolution. However, the luminous efficiency of their three primary colors, red, green, and blue, is inconsistent. In particular, the luminous efficiency of red LEDs using COG technology decreases significantly with increasing temperature. This causes temperature differences in different areas of the screen due to the display of historical images at different gray levels, resulting in differences in luminous efficiency in different areas. Consequently, when the entire screen displays a uniform background color with the same gray level, historical images will appear. Only when the temperature becomes more uniform over time will the images gradually disappear.
[0003] To eliminate ghosting on the screen and optimize display quality, related technologies have disclosed a solution for pixel compensation using thermal diffusion estimation in the temporal and spatial neighborhoods over a longer period. However, the applicant has found that when using the above-mentioned solution to compensate pixels, ghosting still occurs after a short restart if an unexpected power outage or abnormal reset occurs, resulting in poor screen display quality. Summary of the Invention
[0004] The purpose of this disclosure is to provide a pixel compensation method, apparatus, computer device, program product, and storage medium for a display screen, in order to solve the technical problems of image retention and poor screen display effect when the display screen restarts due to unexpected power failure, abnormal reset, or normal brief shutdown in the related art.
[0005] To achieve the above objectives, the first aspect of this disclosure provides a pixel compensation method for a display screen, comprising the following steps: Get the current temperature value of each display area; The time-domain pixel compensation data corresponding to the current temperature value is obtained according to the current temperature value and the historical mapping table, wherein the historical mapping table includes the time-domain pixel compensation data of each display area recorded in a preset period before restart and the temperature value corresponding to the time-domain pixel compensation data. The spatial domain pixel compensation data is calculated by performing spatial domain pixel compensation on the temporal domain pixel compensation data according to the spatial domain pixel compensation method to determine the target pixel compensation data. Pixel compensation is performed on the target frame image to be displayed based on the target pixel compensation data to obtain the compensated target frame image.
[0006] Optionally, the step of obtaining the time-domain pixel compensation data corresponding to the current temperature value based on the current temperature value and the historical mapping table includes: For any display area, if the current temperature value of the display area is greater than or equal to the first temperature value and less than or equal to the second temperature value, then the time domain pixel compensation data corresponding to the current temperature value is obtained from the historical mapping table by looking up the table and interpolation. The first temperature value is the lowest temperature value of the display area recorded in the historical mapping table before the restart, and the second temperature value is the final temperature value of the display area recorded before the restart.
[0007] Optionally, the pixel compensation method further includes: For any display area, if the current temperature value of the display area is less than the first temperature value or greater than the second temperature value, then the time domain pixel compensation data corresponding to the current temperature value is determined by the time domain pixel compensation method and the current mapping table.
[0008] Optionally, the step of determining the time-domain pixel compensation data corresponding to the current temperature value using the time-domain pixel compensation method and the current mapping table includes: If the target frame image to be displayed is the nth frame after restarting, then the first time domain pixel compensation data and the second time domain pixel compensation data are obtained; wherein the first time domain pixel compensation data is obtained by performing pixel compensation calculation on the target frame image to be displayed through the time domain pixel compensation method, and the second time domain pixel compensation data is the time domain pixel compensation data of the (n-1)th frame image in the current mapping table, where n is a natural number greater than 1. The time-domain pixel compensation data corresponding to the current temperature value is determined based on the first time-domain pixel compensation data and the second time-domain pixel compensation data.
[0009] Optionally, the step of obtaining the first time-domain pixel compensation data by performing pixel compensation calculation on the target frame image to be displayed using the time-domain pixel compensation method includes: Acquire temperature impact data of the target frame image in each display area; For any display area, acquire the temperature influence data of a preset number of frames in the period where the target frame image is located and calculate the average value. Use the average value as the first time domain pixel compensation data of the target frame image in that display area.
[0010] Optionally, the steps for obtaining temperature impact data of the target frame image in each display area include: Calculate the proportional gray level of each pixel based on the pixel data and gray level ratio of the target frame image; Calculate the average gray level of each display area based on the proportion of gray levels of pixels contained in each display area; Based on the average grayscale of the partition and the preset grayscale temperature fitting relationship, the temperature influence data of the target frame image in each display area is calculated sequentially.
[0011] Optionally, the step of performing spatial domain pixel compensation calculations on the temporal domain pixel compensation data according to the spatial domain pixel compensation method to determine the target pixel compensation data includes: For any display area, a first preset number of adjacent display areas are selected, and the temporal pixel compensation data of the adjacent display areas is filtered according to the first preset filtering parameters to obtain the first pixel compensation data. Pixel compensation data for each pixel within the display area is determined based on the first pixel compensation data; The target pixel compensation data for each pixel within the display area is determined based on the preset grayscale compensation range and the pixel compensation data for each pixel.
[0012] Optionally, the step of determining the pixel compensation data for each pixel within the display area based on the first pixel compensation data includes: The first pixel compensation data is used as the second pixel compensation data for each pixel in the display area; For any pixel, a second preset number of neighboring pixels are selected, and the second pixel compensation data of the neighboring pixels is filtered according to the second preset filtering parameters. The filtering result is used as the pixel compensation data for each pixel.
[0013] Optionally, the step of performing pixel compensation on the target frame image to be displayed based on the target pixel compensation data to obtain the compensated target frame image includes: Pixel compensation is performed on the R sub-pixels of each pixel based on the target pixel compensation data to obtain the compensated target frame image.
[0014] Secondly, embodiments of this disclosure also provide a pixel compensation device for a display screen, comprising: The temperature acquisition module is used to acquire the current temperature value of each display area; The time domain compensation data acquisition module is used to acquire time domain pixel compensation data corresponding to the current temperature value based on the current temperature value and the historical mapping table, wherein the historical mapping table includes time domain pixel compensation data of each display area recorded in a preset period before restart and temperature values that correspond one-to-one with the time domain pixel compensation data. A spatial domain compensation data determination module is used to perform spatial domain pixel compensation calculations on the temporal domain pixel compensation data according to a spatial domain pixel compensation method, and determine the target pixel compensation data; and The pixel compensation module is used to perform pixel compensation on the target frame image to be displayed based on the target pixel compensation data, so as to obtain the compensated target frame image.
[0015] Thirdly, embodiments of this disclosure also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the pixel compensation method for the display screen as described above.
[0016] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of the pixel compensation method for the display screen as described above.
[0017] Fifthly, embodiments of this disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements the steps of the pixel compensation method for the display screen as described above.
[0018] Compared with related technologies, the embodiments of this disclosure pre-set a temperature sensor and a flash memory on the display screen. The temperature sensor detects the temperature of each display area of the display screen, and the flash memory stores the time-domain pixel compensation data calculated during the pixel compensation process and the temperature value at the corresponding moment of the time-domain pixel compensation data in real time. Thus, when the display screen restarts after an unexpected power outage, abnormal reset, or normal brief shutdown, the temperature sensor can obtain the current temperature value of each display area of the display screen. Then, based on the current temperature value, the time-domain pixel compensation data corresponding to the current temperature value is obtained from the historical mapping table. Subsequently, the spatial domain pixel compensation data is used to perform spatial domain pixel compensation calculation to determine the target pixel compensation data according to the spatial domain pixel compensation method. Since the time-domain pixel compensation data obtained in this solution has a high correlation with the current temperature value of the display screen, the pixel compensation result is more accurate when using the time-domain pixel compensation data for subsequent pixel compensation, which can better alleviate the occurrence of image retention, ensure the color uniformity of the display screen, and improve the screen display effect. Attached Figure Description
[0019] The specific embodiments of this disclosure will be described in further detail below with reference to the accompanying drawings.
[0020] Figure 1 A flowchart of a pixel compensation method for a display screen provided in an embodiment of this disclosure; Figure 2 A schematic diagram of the partitioning of a display screen provided in an embodiment of this disclosure; Figure 3 This is a sub-flowchart of step S103 in an embodiment of this disclosure; Figure 4A structural block diagram of a pixel compensation device for a display screen provided in an embodiment of this disclosure; Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the described embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0022] Unless otherwise defined, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms “first,” “second,” and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms “an,” “a,” or “the,” and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The terms “including,” “comprising,” or “containing,” and similar terms mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. The terms “connected,” “linked,” or similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The terms “upper,” “lower,” “left,” and “right,” etc., are used only to indicate relative positional relationships, and these relative positional relationships may change accordingly when the absolute position of the described objects changes.
[0023] To better understand the technical solutions of this disclosure, the overall inventive concept of the pixel compensation method, apparatus, computer equipment, program product, and storage medium of the display screen of this disclosure will first be described in detail. The pixel compensation method in the various embodiments of this disclosure is applicable to MLED (Mini Light Emitting Diode or Micro Light Emitting Diode) displays, and the MLED display screen can be a single display screen or a spliced screen composed of multiple independent MLED displays, without limitation on its specific form.
[0024] In related technologies, to eliminate ghosting in MLED displays and optimize screen display effects, pixel compensation can be performed using pixel compensation estimation in the temporal and spatial neighborhood domains. However, the applicant's research found that ghosting still appears on the display when it is restarted after an unexpected power outage, abnormal reset, or brief shutdown. This is because the screen temperature remains high after a brief shutdown and restart, and the temperature varies across different areas of the screen due to the display image before shutdown. After restarting, when calculating compensation using existing pixel compensation methods for the video frame sequence to be displayed, the pixel compensation data in the temporal domain is initialized to 0. At this point, only the pixel compensation data in the spatial domain can be calculated, resulting in a large error in pixel compensation estimation. Therefore, ghosting will still appear for a certain period of time after restarting, resulting in poor screen display effects.
[0025] To address the aforementioned technical issues, the applicant has improved the existing MLED display by adding a flash memory (hereinafter referred to as Flash memory) and multiple temperature sensors. The temperature sensors detect the temperature information of each display area, while the Flash memory stores the time-domain pixel compensation data calculated during pixel compensation in real time, along with the corresponding temperature information. This prevents the loss of historical time-domain pixel compensation data during power outages. Therefore, when the display restarts after an unexpected power outage, abnormal reset, or normal brief shutdown, the temperature sensors can determine the current temperature values of each display area. This, combined with the historical information stored in the Flash memory, determines the time-domain pixel compensation data for each display area, avoiding the use of initial zero values. This results in more accurate pixel compensation estimation, better mitigating image retention, ensuring color uniformity, and improving screen display performance.
[0026] The pixel compensation method, apparatus, computer equipment, program product, and storage medium of the display screen disclosed herein will be described in detail below with reference to various specific embodiments.
[0027] Example 1 Please refer to Figure 1 , Figure 1 Figure 1 shows a flowchart of a pixel compensation method for a display screen according to an embodiment of the present disclosure. The pixel compensation method for the display screen in this embodiment includes the following steps: Step S101: Obtain the current temperature value of each display area.
[0028] In this embodiment, a temperature sensor is installed on the MLED display screen. After the display screen restarts, the temperature information of each display area can be obtained through the temperature sensor, that is, the temperature value of each display area can be obtained. In some embodiments, multiple temperature sensors are set and evenly distributed in different areas of the display screen to detect the temperature information of different areas respectively.
[0029] It should be noted that this embodiment does not limit the specific number of temperature sensors. Of course, the larger the display screen size, the more temperature sensors need to be set, so as to ensure that the detected temperature value is more accurate.
[0030] Step S102: Obtain the time domain pixel compensation data corresponding to the current temperature value based on the current temperature value and the historical mapping table. The historical mapping table includes the time domain pixel compensation data of each display area recorded before the restart for a preset period and the temperature value corresponding to the time domain pixel compensation data.
[0031] In this embodiment of the disclosure, the MLED display screen is also provided with a Flash memory. When the pixel compensation method is working, it will store the calculated time-domain pixel compensation data into the Flash memory in real time, and will also synchronously store the temperature value detected by the temperature sensor corresponding to the time-domain pixel compensation data into the Flash memory.
[0032] The following is combined Figure 2 This describes the history mapping table stored in the Flash memory. Please refer to [link / reference]. Figure 2 , Figure 2 This is a schematic diagram of the partitioning of an embodiment of an MLED display screen. Figure 2 In the illustrated embodiment, the MLED display screen is a 3x3 splicing screen, where each splicing screen is further divided into 3x3 partitions, resulting in a total of 81 display areas for the MLED display screen. Figure 2 In this embodiment, AA represents one of the display areas. During pixel compensation, time-domain pixel compensation data is calculated for each display area. Simultaneously, the temperature value of that area at that moment is obtained through the detection results of a temperature sensor. The time-domain pixel compensation data, temperature value, and their corresponding relationships for that area at that moment are uploaded to the Flash memory. That is, the Flash memory stores a mapping table containing multiple sets of data recorded in real time. Each set of data includes the time-domain pixel compensation data, temperature value, and their corresponding relationships for each display area at a certain moment. In this embodiment, for ease of description, the mapping table stored in the Flash memory before the display screen is restarted is referred to as the historical mapping table.
[0033] The following uses a video frame sequence as an example to illustrate the specific process of calculating time-domain pixel compensation data using the time-domain pixel compensation method during pixel compensation of this video frame sequence. It includes the following steps: (1) Sample the frame images in the video frame sequence, and obtain the temperature influence data of each sampled frame image in each display area; (2) For any display area, the temperature influence data corresponding to the frame image of the preset number of frames is obtained in sequence and the average value is calculated. The average value is used as the time domain pixel compensation data of the frame image of the preset number of frames in the display area. The time domain pixel compensation data is stored in the Flash memory in real time.
[0034] Taking a 30-minute 60p (60 frames per second) video frame sequence as an example, with a preset frame count of 60, temperature impact data is calculated for each sampled frame. For each display area, a total of 30*60*60 temperature impact data points are obtained. Then, for every 60 frames, the temperature impact data of these 60 frames is taken and the average value is calculated. This average value is used as the time-domain pixel compensation data for the equivalent frames in that display area. That is, when the preset frame count is 60, a new time-domain pixel compensation data point is obtained every second. Through the above calculations, for each display area, a total of 1800 time-domain pixel compensation data points (30*60) are finally obtained. These 1800 time-domain pixel compensation data points are stored in real time in the mapping table of the Flash memory. It should be noted that when displaying a video frame sequence with pixel compensation, the target pixel compensation data for each frame image is calculated in advance, and the time domain pixel compensation data is also calculated in advance. During display, the target pixel compensation data is used in real time to perform pixel compensation on the target frame image to be displayed, and the compensated target frame image is displayed.
[0035] It should be noted that when the display screen restarts after a short period of time following a power-off, the screen temperature is relatively close to the temperature before the power-off. Therefore, only the time-domain pixel compensation data from the period before the power-off needs to be used. Thus, the amount of data stored in the historical mapping table can be set. This amount of data can be represented by a preset period, such as 30 minutes. In this case, only the time-domain pixel compensation data within 30 minutes can be stored, meaning that for each display area, the mapping table stores 1800 time-domain pixel compensation data points. Furthermore, in this embodiment, the mapping table is stored in a first-in, first-out (FIFO) manner, meaning only the latest time-domain pixel compensation data within the last 30 minutes is stored. If the mapping table already contains 1800 data points, when a new time-domain pixel compensation data point is calculated after 1 second, the oldest time-domain pixel compensation data point in the mapping table is removed, and the latest time-domain pixel compensation data point is updated in the mapping table.
[0036] With the above improvements, when the display screen is briefly powered off and restarted, for each display area, the time domain pixel compensation data corresponding to the current temperature value can be obtained from the historical mapping table stored in the Flash memory based on the current temperature value of the display area.
[0037] Step S103: Perform spatial domain pixel compensation calculation on the temporal domain pixel compensation data according to the spatial domain pixel compensation method to determine the target pixel compensation data.
[0038] Please refer to Figure 3 , Figure 3 The sub-flowchart for step S103 is as follows: Figure 3 As shown in this embodiment, the step of performing spatial domain pixel compensation calculations on temporal domain pixel compensation data according to the spatial domain pixel compensation method to determine the target pixel compensation data includes: Step S1031: For any display area, select a first preset number of adjacent display areas. Filter the temporal pixel compensation data of the adjacent display areas according to the first preset filtering parameters to obtain the first pixel compensation data. For example, when the first preset number is 49, the first preset filtering parameters are a 7*7 filtering matrix. The filtering matrix includes weight coefficients. Filtering through this filtering matrix involves multiplying the weight coefficients in the filtering matrix by the temporal pixel compensation data of the corresponding adjacent display area. The weighted result is represented as Cw, and the first pixel compensation data is 1-Cw.
[0039] Step S1032: Determine the pixel compensation data for each pixel in the display area based on the first pixel compensation data.
[0040] In some embodiments, the step of determining pixel compensation data for each pixel within the display area based on the first pixel compensation data includes: (21) The first pixel compensation data is used as the second pixel compensation data of each pixel in the display area, that is, the full pixel expansion is performed on each display area, and the first pixel compensation data corresponding to the display area is used as the second pixel compensation data of each pixel in the display area.
[0041] (22) For any pixel, select a second preset number of neighboring pixels adjacent to that pixel, and filter the second pixel compensation data of the neighboring pixels according to the second preset filtering parameters. Use the filtering result as the pixel compensation data for each pixel. In this step, the principle of spatial filtering for each pixel using the second preset filtering parameters is the same as the principle of spatial filtering for each display area using the first preset filtering parameters, and will not be described in detail here. For example, in this embodiment, the second preset number is 25, and the second preset filtering parameters are a 5*5 filtering matrix.
[0042] Step S1033: Determine the target pixel compensation data for each pixel within the display area based on the preset grayscale compensation range and the pixel compensation data for each pixel. The preset grayscale compensation range is obtained through multiple experiments and pre-stored.
[0043] For each display area, the target pixel compensation data for each pixel in each display area can be obtained by sequentially executing the above steps S1031 to S1033.
[0044] Step S104: Perform pixel compensation on the target frame image to be displayed based on the target pixel compensation data to obtain the compensated target frame image.
[0045] In some embodiments, in order to improve the uniformity and consistency of pixel compensation, when performing pixel compensation on the target frame image according to the target pixel compensation data, pixel compensation can be performed on each sub-pixel (i.e., the three channels R, G and B) of each pixel. At this time, the steps of performing pixel compensation on the target frame image according to the target pixel compensation data include: (1) Determining the target sub-pixel compensation data of each sub-pixel according to the target pixel compensation data and the preset gray level ratio. For example: assuming the target pixel compensation data is denoted as X, the target sub-pixel compensation data of each sub-pixel can be calculated by the gray level ratio. For example, when the gray level ratio R:G:B = a:b:c, the target sub-pixel compensation data of the three sub-pixels R, G, and B can be represented as a*X, b*X, and c*X, respectively. (2) Performing pixel compensation on each sub-pixel of each pixel in the target frame image according to the target sub-pixel compensation data to obtain the compensated pixel data. Performing pixel compensation on all pixels will yield the compensated target frame image. Continuing with a certain pixel A (Ra, Ga, Ba) as an example, the target compensation data of pixel A is denoted as Xa, and the compensated pixel is represented as pixel A' (R'a, G'a, B'a). Then R'a = Ra - a * Xa, G'a = Ga - B * Xa, and B'a = Ba - c * Xa.
[0046] In some embodiments, since the R channel is the channel most susceptible to temperature changes and exhibits the greatest grayscale attenuation, to improve data processing efficiency, when performing pixel compensation on a pixel based on target pixel compensation data, compensation can be performed only on the R sub-pixels of each pixel to obtain compensated pixel data. Compensating all pixels then yields the compensated target frame image. In this case, the step of performing pixel compensation on the target frame image based on target pixel compensation data includes: performing pixel compensation on the R sub-pixels of each pixel based on the target pixel compensation data to obtain the compensated target frame image. Continuing with a pixel A (Rx, Gx, Bx) as an example, the target compensation data for pixel A is denoted as Xa, and the compensated pixel is represented as pixel A' (R'x, G'x, B'x), then R'x = Rx - Xa, G'x = Gx, and B'x = Bx.
[0047] Compared with related technologies, the pixel compensation method of the display screen in this disclosure embodiment sets a temperature sensor and a Flash sensor on the MLED display screen. The temperature sensor detects the temperature of each display area of the display screen, and the Flash memory stores the time-domain pixel compensation data calculated during the pixel compensation process and the temperature value at the corresponding moment of the time-domain pixel compensation data in real time. Thus, when the display screen restarts after an unexpected power outage, abnormal reset, or normal brief shutdown, the temperature sensor can obtain the current temperature value of each display area of the display screen. Then, based on the current temperature value, the time-domain pixel compensation data corresponding to the current temperature value is obtained from the historical mapping table stored in the Flash memory. Afterwards, the spatial domain pixel compensation data is used to perform spatial domain pixel compensation calculation to determine the target pixel compensation data according to the spatial domain pixel compensation method. Since the time-domain pixel compensation data obtained in this solution has a large correspondence with the current temperature value of the display screen, the pixel compensation result is more accurate when using the time-domain pixel compensation data for subsequent pixel compensation, which can better alleviate the occurrence of ghosting, ensure the color uniformity of the display screen, and improve the screen display effect.
[0048] Example 2 Compared with related technologies, the pixel compensation method for the display screen disclosed in Embodiment 1 can solve the technical problem that when the display screen is briefly shut down and restarted due to various reasons (such as unexpected power outages or abnormal resets), afterimages appear on the display screen and the screen display effect is poor.
[0049] Furthermore, if the display restarts after a long period of time or under other circumstances, the current temperature value of the display may differ significantly from the temperature before the restart for a period of time. In this case, it may be impossible to obtain the time-domain pixel compensation data corresponding to the current temperature value from the historical mapping table, thus affecting subsequent pixel compensation.
[0050] To solve this problem, the technical solution disclosed in Embodiment 1 is further improved in this embodiment. The main difference between this embodiment and Embodiment 1 is that: after obtaining the current temperature values of each display area through step S101, the specific process of obtaining the time-domain pixel compensation data corresponding to the current temperature value according to the current temperature value and the historical mapping table is different.
[0051] Specifically, in this embodiment, for any display area, the steps of obtaining the time-domain pixel compensation data corresponding to the current temperature value according to the current temperature value and the historical mapping table include: (1) If the current temperature value of the display area is greater than or equal to the first temperature value and less than or equal to the second temperature value, the time-domain pixel compensation data corresponding to the current temperature value is obtained from the historical mapping table by means of table lookup and interpolation, and used as the time-domain pixel compensation data corresponding to the current temperature value of the display area.
[0052] Among them, the first temperature value T1 is the lowest temperature value of the display area recorded in the historical mapping table before restart, and the second temperature value T2 is the final temperature value of the display area before restart. This final temperature value is used to represent the last temperature value recorded in the FLash memory when the display screen is turned off, that is, the temperature value when the display area is powered off.
[0053] After the display screen is turned off, the temperature of each display area will gradually decrease, and after restart, the temperature will gradually increase. Suppose the current temperature value detected at a certain display area during restart is T3, then T3 < T2. Suppose after a short restart, when the current temperature value T3 satisfies T1 ≤ T3 ≤ T2, the time-domain pixel compensation data corresponding to the current temperature value is obtained from the historical mapping table by means of table lookup and interpolation. Among them, the specific method of table lookup and interpolation is: if the same temperature value as the current temperature value T3 is found in the historical mapping table, the time-domain pixel compensation data corresponding to this temperature value is used as the final target pixel compensation data; if the same temperature value as the current temperature value T3 cannot be found in the historical mapping table, two temperature values adjacent in size to the current temperature value T3 are found from the historical mapping table (one temperature value is greater than T3, and one temperature value is less than T3), and the average value of the time-domain pixel compensation data corresponding to these two temperature values is used as the final target pixel compensation data, that is, the final target pixel compensation data is obtained by linear interpolation.
[0054] (2) If the current temperature value of the display area is less than the first temperature value or greater than the second temperature value, the time-domain pixel compensation data corresponding to the current temperature value is determined by the time-domain pixel compensation method and the current mapping table.
[0055] Specifically, when the current temperature value T3 is less than the first temperature value T1, it indicates that the temperature of the display area is too low at this time, exceeding the lookup range of the historical mapping table. Therefore, it is impossible to obtain the time-domain pixel compensation data by looking up the historical mapping table at this time.
[0056] Furthermore, if T3 < T1 is satisfied at the beginning after restart, it may be that the restart has taken a long time. Since the temperature of the display screen is low at this time, and the influence of the display picture before the restart of the display screen on the temperature of each display area can be ignored, the time-domain pixel compensation data of each display area can be directly calculated by the time-domain pixel compensation method. If T3 < T1 is satisfied after restarting for a period of time, it means that the display screen has displayed a low gray-scale picture, and the temperature has decreased a lot, exceeding the lookup range. At this time, the time-domain pixel compensation data corresponding to the current temperature value can be determined by the time-domain pixel compensation method and the current mapping table stored in the Flash memory.
[0057] Specifically, when the current temperature value T3 is greater than the second temperature value T2, it indicates that the temperature of the display area is too high at this time, exceeding the lookup range of the historical mapping table. Therefore, it is impossible to obtain the time-domain pixel compensation data by looking up the historical mapping table at this time. Then, the time-domain pixel compensation data corresponding to the current temperature value needs to be determined by the time-domain pixel compensation method and the current mapping table stored in the Flash memory.
[0058] Assume that the current target frame image to be displayed is the nth frame after restart, where n is a natural number greater than 1. The steps of determining the time-domain pixel compensation data corresponding to the current temperature value by the time-domain pixel compensation method and the current mapping table stored in the Flash memory include: (21) Obtain the first time-domain pixel compensation data and the second time-domain pixel compensation data; the first time-domain pixel compensation data is obtained by performing pixel compensation calculation on the target frame image to be displayed by the time-domain pixel compensation method, and the second time-domain pixel compensation data is the time-domain pixel compensation data of the (n - 1)th frame image in the current mapping table stored in the Flash memory. The current mapping table records the time-domain pixel compensation data of each display area after restart and the temperature values corresponding to the time-domain pixel compensation data one by one.
[0059] In this embodiment, the Flash memory not only stores the historical mapping table recorded before the restart, but also the time-domain pixel compensation data of each display area calculated within a certain period after the restart, as well as the temperature values corresponding to the time-domain pixel compensation data, are stored in the Flash memory in real time. For clarity, in this embodiment, the mapping table containing the time-domain pixel compensation data, temperature values, and their corresponding relationships for each display area recorded after the restart is referred to as the current mapping table. It should be noted that after the restart, only when sufficient time has passed and the current mapping table contains a sufficient amount of data, is it necessary to delete the historical mapping table and retain only the current mapping table.
[0060] In some embodiments, the deletion condition for the historical mapping table can be: a preset period, such as 30 minutes. If the preset period is 30 minutes, the historical mapping table needs to be retained within 30 minutes after restarting, and if the current mapping table has complete and up-to-date data after 30 minutes, the historical mapping table can be deleted.
[0061] (22) Determine the time domain pixel compensation data corresponding to the current temperature value based on the first time domain pixel compensation data and the second time domain pixel compensation data.
[0062] Continuing with the example of the target frame image to be displayed being the nth frame after the restart, the temporal pixel compensation data of the nth frame image is calculated at this time. Represented as: , in This represents the pixel compensation data in the second time domain. This represents the pixel compensation data in the first time domain, where a and b are preset weight coefficients.
[0063] In this embodiment, the specific steps for obtaining the first time-domain pixel compensation data by performing pixel compensation calculations on the target frame image to be displayed using the time-domain pixel compensation method include: (a) Obtain temperature impact data for the target frame image in each display area; (b) For any display area, obtain the temperature influence data of the frame image of the preset number of frames in the period where the target frame image is located and calculate the average value. Use the average value as the time domain pixel compensation data of the target frame image in the display area. The time domain pixel compensation data is the first time domain pixel compensation data.
[0064] Continuing with the example of a 30-minute 60p (60 frames per second) video frame sequence, with a preset frame count of 60, the time-domain pixel compensation data is calculated in 1-second intervals. The period of the target frame image is the 1-second interval in which the target frame image is located. By accumulating over time, one set of time-domain pixel compensation data is calculated for every 60 frames, resulting in more accurate calculations and avoiding errors caused by significant differences in individual frames. Furthermore, in this disclosure, when displaying a video frame sequence with pixel compensation, the target pixel compensation data for each frame image is pre-calculated, as is the time-domain pixel compensation data. During display, the target pixel compensation data is used in real-time to perform pixel compensation on the target frame image to be displayed, and the compensated target frame image is then displayed.
[0065] Furthermore, the steps for obtaining temperature impact data of the target frame image in each display area include: (a1) Calculate the proportional gray level of each pixel based on the pixel data and gray level ratio of the target frame image.
[0066] In this embodiment, the grayscale ratio is denoted as G, which can be calculated by a preset grayscale ratio and the pixel value of each pixel.
[0067] The grayscale ratio can be obtained and preset through multiple experiments. The grayscale ratio can be expressed as R:G:B=a:b:c, where a+b+c=1. For example, in some embodiments, the grayscale ratio is preset to R:G:B=0.576577: 0.18018:0.243243. It should be noted that this embodiment does not limit the specific value of the grayscale ratio. The grayscale ratio may differ for different displays and needs to be obtained through multiple experiments. The pixel value of each pixel can be directly obtained and represented by its RGB values. For example, if the pixel value of pixel A is denoted as (Ra, Ga, Ba), then the grayscale ratio of pixel A is G=0.576577*Ra+0.18018*Ga+0.243243*Ba.
[0068] (a2) Calculate the average gray level of each display area based on the proportion of pixels contained in each display area.
[0069] Continue with Figure 2 Taking the MLED display screen as an example, the average gray level of each region can be represented by the average of the proportional gray levels of all pixels in that region. If the average gray level of a region is denoted as Gv, and a region includes n pixels, then the average gray level Gv of that region is the average of the proportional gray levels of the n pixels in that region.
[0070] (a3) Calculate the temperature influence data of the target frame image in each display area according to the partition average gray level and the preset gray level temperature fitting relationship.
[0071] Specifically, temperature influence data can be used to represent the influence of pixel grayscale on temperature in various regions and the current frame image; the preset grayscale temperature fitting relationship is the fitting relationship between pixel grayscale and temperature, which can be obtained and set in advance through experiments. For example, in one embodiment, the preset grayscale temperature fitting relationship is expressed as: Where Y represents the temperature influence data of a certain area, Gv represents the average gray level of the area, and a and γ are preset coefficients whose values are related to the parameters of the MLED display screen itself. For example, in one embodiment, a = actual peak brightness / measured peak brightness, where the actual peak brightness is a predefined fixed peak brightness and the measured peak brightness is the peak brightness currently set by the MLED display screen; γ represents the gamma currently set by the display screen, such as setting γ = 1.2.
[0072] Through the above steps (a1) to (a3), for the current frame image, its temperature impact data on each display area of the MLED display screen can be calculated. For each frame image in the video frame sequence, its corresponding temperature impact data can be calculated through the above steps (a1) to (a3).
[0073] Example 3 This embodiment provides a pixel compensation device for a display screen. Please refer to... Figure 4 , Figure 4 This is a structural block diagram of the pixel compensation device for the display screen according to an embodiment of the present disclosure, as shown below. Figure 4 As shown, the pixel compensation device 100 of the display screen includes a temperature acquisition module 10, a time domain compensation data acquisition module 12, a spatial domain compensation data determination module 14, and a pixel compensation module 16.
[0074] Specifically, the temperature acquisition module 10 is used to acquire the current temperature value of each display area detected by the temperature sensor.
[0075] The time domain compensation data acquisition module 12 is used to acquire time domain pixel compensation data corresponding to the current temperature value based on the current temperature value and the historical mapping table stored in the Flash memory. The historical mapping table includes time domain pixel compensation data of each display area recorded before restarting for a preset period and temperature values that correspond one-to-one with the time domain pixel compensation data.
[0076] The spatial domain compensation data determination module 14 is used to perform spatial domain pixel compensation calculation on the temporal domain pixel compensation data according to the spatial domain pixel compensation method to determine the target pixel compensation data; the pixel compensation module 16 is used to perform pixel compensation on the target frame image to be displayed according to the target pixel compensation data to obtain the compensated target frame image.
[0077] In this embodiment, the specific implementation process of the temperature acquisition module 10, the time domain compensation data acquisition module 12, the spatial domain compensation data determination module 14, and the pixel compensation module 16 is the same as the principle described in Embodiments 1 and 2, and will not be described in detail here.
[0078] Compared with related technologies, the pixel compensation device of the display screen in this embodiment can obtain the current temperature value of each display area of the display screen through a temperature sensor when the display screen restarts after an unexpected power outage, abnormal reset, or normal brief shutdown. Then, based on the current temperature value, it retrieves the time domain pixel compensation data corresponding to the current temperature value from the historical mapping table stored in the Flash memory. Afterwards, it performs spatial domain pixel compensation calculation on the time domain pixel compensation data according to the spatial domain pixel compensation method to determine the target pixel compensation data. Since the time domain pixel compensation data obtained in this solution has a large correspondence with the current temperature value of the display screen, the pixel compensation result is more accurate when using the time domain pixel compensation data for subsequent pixel compensation, which can better alleviate the occurrence of ghosting, ensure the color uniformity of the display screen, and improve the screen display effect.
[0079] Example 4 This embodiment provides a pixel compensation device for a display screen, which includes a temperature sensor, a memory, and a processor.
[0080] The temperature sensor is located on the display screen and is used to detect the temperature value of each display area.
[0081] The memory includes a first memory and a second memory. The first memory is a flash memory, used to store in real time the time-domain pixel compensation data calculated during the pixel compensation process, as well as the temperature information corresponding to the time-domain pixel compensation data at that moment, to prevent the loss of historical time-domain pixel compensation data in case of power failure. The flash memory in this embodiment has the same function and role as the flash memory described in Embodiment 1 or Embodiment 2, and will not be described in detail here. The second memory is used to store a computer program that can run on the processor. When the processor executes the computer program, it implements the steps of the pixel compensation method for the display screen as shown in Embodiment 1 and Embodiment 2, which will not be described in detail here.
[0082] It should be noted that the memory and processor in the pixel compensation device of the display screen in this embodiment can be separate devices or can be implemented by the memory, processor and other devices in the existing display system of the display screen. This embodiment does not limit their specific form.
[0083] Example 5 This embodiment provides a computer device; please refer to [reference needed]. Figure 5 , Figure 5 This is a schematic diagram of the structure of a computer device according to an embodiment of the present disclosure, such as... Figure 5 As shown, the computer device includes a memory 20, a processor 22, and a computer program stored on the memory 20 and executable on the processor 22. The processor 22 executes the program to implement the steps of the pixel compensation method for the display screen as shown in Embodiments 1 and 2, which will not be described in detail here.
[0084] Example 6 This embodiment provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, it implements the steps of the pixel compensation method for the display screen as shown in Embodiments 1 and 2, which will not be described in detail here.
[0085] Example 7 This embodiment provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the pixel compensation method for the display screen as shown in Embodiments 1 and 2, which will not be described in detail here.
[0086] Obviously, the above embodiments of this disclosure are merely examples for clearly illustrating this disclosure, and are not intended to limit the implementation of this disclosure. For those skilled in the art, other variations or modifications can be made based on the above description. It is impossible to exhaustively list all implementation methods here. Any obvious variations or modifications derived from the technical solutions of this disclosure are still within the protection scope of this disclosure.
Claims
1. A pixel compensation method for a display screen, characterized in that, The pixel compensation method includes the following steps: Get the current temperature value of each display area; The time-domain pixel compensation data corresponding to the current temperature value is obtained according to the current temperature value and the historical mapping table, wherein the historical mapping table includes the time-domain pixel compensation data of each display area recorded in a preset period before restart and the temperature value corresponding to the time-domain pixel compensation data. The spatial domain pixel compensation data is calculated by performing spatial domain pixel compensation on the temporal domain pixel compensation data according to the spatial domain pixel compensation method to determine the target pixel compensation data. Pixel compensation is performed on the target frame image to be displayed based on the target pixel compensation data to obtain the compensated target frame image.
2. The pixel compensation method for a display screen according to claim 1, characterized in that, The steps for obtaining the time-domain pixel compensation data corresponding to the current temperature value based on the current temperature value and the historical mapping table include: For any display area, if the current temperature value of the display area is greater than or equal to the first temperature value and less than or equal to the second temperature value, then the time domain pixel compensation data corresponding to the current temperature value is obtained from the historical mapping table by looking up the table and interpolation. The first temperature value is the lowest temperature value of the display area recorded in the historical mapping table before the restart, and the second temperature value is the final temperature value of the display area recorded before the restart.
3. The pixel compensation method for a display screen according to claim 2, characterized in that, The pixel compensation method further includes: For any display area, if the current temperature value of the display area is less than the first temperature value or greater than the second temperature value, then the time domain pixel compensation data corresponding to the current temperature value is determined by the time domain pixel compensation method and the current mapping table.
4. The pixel compensation method for a display screen according to claim 3, characterized in that, The steps for determining the time-domain pixel compensation data corresponding to the current temperature value using a time-domain pixel compensation method and a current mapping table include: If the target frame image to be displayed is the nth frame after restarting, then the first time domain pixel compensation data and the second time domain pixel compensation data are obtained; wherein the first time domain pixel compensation data is obtained by performing pixel compensation calculation on the target frame image to be displayed through the time domain pixel compensation method, and the second time domain pixel compensation data is the time domain pixel compensation data of the (n-1)th frame image in the current mapping table, where n is a natural number greater than 1. The time-domain pixel compensation data corresponding to the current temperature value is determined based on the first time-domain pixel compensation data and the second time-domain pixel compensation data.
5. The pixel compensation method for a display screen according to claim 4, characterized in that, The steps for obtaining the first time-domain pixel compensation data by performing pixel compensation calculations on the target frame image to be displayed using the time-domain pixel compensation method include: Acquire temperature impact data of the target frame image in each display area; For any display area, acquire the temperature influence data of a preset number of frames in the period where the target frame image is located and calculate the average value. Use the average value as the first time domain pixel compensation data of the target frame image in that display area.
6. The pixel compensation method for a display screen according to claim 5, characterized in that, The steps for obtaining temperature impact data of the target frame image in various display areas include: Calculate the proportional gray level of each pixel based on the pixel data and gray level ratio of the target frame image; Calculate the average gray level of each display area based on the proportion of gray levels of pixels contained in each display area; Based on the average grayscale of the partition and the preset grayscale temperature fitting relationship, the temperature influence data of the target frame image in each display area is calculated sequentially.
7. The pixel compensation method for a display screen according to claim 1, characterized in that, The steps for determining the target pixel compensation data by performing spatial domain pixel compensation calculations on the temporal domain pixel compensation data according to the spatial domain pixel compensation method include: For any display area, a first preset number of adjacent display areas are selected, and the temporal pixel compensation data of the adjacent display areas is filtered according to the first preset filtering parameters to obtain the first pixel compensation data. Pixel compensation data for each pixel within the display area is determined based on the first pixel compensation data; The target pixel compensation data for each pixel within the display area is determined based on the preset grayscale compensation range and the pixel compensation data for each pixel.
8. The pixel compensation method for a display screen according to claim 7, characterized in that, The steps for determining the pixel compensation data for each pixel within the display area based on the first pixel compensation data include: The first pixel compensation data is used as the second pixel compensation data for each pixel in the display area; For any pixel, a second preset number of neighboring pixels are selected, and the second pixel compensation data of the neighboring pixels is filtered according to the second preset filtering parameters. The filtering result is used as the pixel compensation data for each pixel.
9. The pixel compensation method for a display screen according to claim 1, characterized in that, The steps of performing pixel compensation on the target frame image to be displayed based on the target pixel compensation data to obtain the compensated target frame image include: Pixel compensation is performed on the R sub-pixels of each pixel based on the target pixel compensation data to obtain the compensated target frame image.
10. A pixel compensation device for a display screen, characterized in that, The pixel compensation device includes: The temperature acquisition module is used to acquire the current temperature value of each display area; The time domain compensation data acquisition module is used to acquire time domain pixel compensation data corresponding to the current temperature value based on the current temperature value and the historical mapping table, wherein the historical mapping table includes time domain pixel compensation data of each display area recorded in a preset period before restart and temperature values that correspond one-to-one with the time domain pixel compensation data. A spatial domain compensation data determination module is used to perform spatial domain pixel compensation calculations on the temporal domain pixel compensation data according to a spatial domain pixel compensation method, and determine the target pixel compensation data; and The pixel compensation module is used to perform pixel compensation on the target frame image to be displayed based on the target pixel compensation data, so as to obtain the compensated target frame image.
11. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the pixel compensation method for the display screen as described in any one of claims 1-9.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the pixel compensation method for the display screen as described in any one of claims 1-9.
13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the pixel compensation method for the display screen as described in any one of claims 1-9.
Citation Information
Patent Citations
Pixel compensation method, display device and electronic device
CN116844452A
Image display effect processing method and device, medium and equipment
CN117542307A