An OLED screen-based ink stain compensation method, system, medium and product
By constructing a compensation transition zone and calculating dynamic compensation gain, the problem of abrupt brightness changes at the edge of the ink spot area in OLED screens was solved, achieving a natural brightness transition and improving display uniformity and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN CHUANGYUAN MICROELECTRONICS TECH CO LTD
- Filing Date
- 2026-01-14
- Publication Date
- 2026-04-28
AI Technical Summary
Existing methods for compensating for ink spots on OLED screens are prone to sudden brightness changes at the edges of the ink spot area, affecting the display effect and causing visual defects.
By constructing a compensation transition zone and using the brightness attenuation factor and halo sensitivity coefficient to calculate the dynamic compensation gain, a natural transition between the ink spot area and the normal display area is achieved, avoiding the visual discontinuity of the compensation boundary.
It improves the overall display uniformity of OLED screens, enhances the user's visual experience, eliminates visual artifacts at compensation boundaries, and ensures image quality at different grayscale levels.
Smart Images

Figure CN121506035B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and in particular to a method, system, medium, and product for ink spot compensation based on an OLED screen. Background Technology
[0002] OLED screens are widely used in electronic products such as smartphones and tablets due to their advantages such as self-emission, high contrast, and wide color gamut. However, during the manufacturing process of OLED screens, uneven brightness in localized areas, known as ink spot defects, often occurs due to factors such as process technology and materials. Ink spot defects affect user experience and reduce product quality, thus requiring effective compensation measures.
[0003] Currently, the commonly used method for ink spot compensation in the industry is to acquire the brightness distribution image of the OLED screen, then locate the ink spot area through image processing algorithms, calculate the brightness difference between each pixel in the ink spot area and each pixel in the normal display area, and finally compensate the pixels in the ink spot area based on the calculated brightness difference.
[0004] This ink spot compensation method has some problems in practical applications. Because it only compensates within the ink spot area, abrupt changes in brightness occur at the edges of the ink spot area, creating new visual defects and affecting the overall display effect. Summary of the Invention
[0005] This application provides a method, system, medium, and product for ink spot compensation based on OLED screens, which is used to improve the overall display uniformity of OLED screens.
[0006] In a first aspect, this application provides a method for ink spot compensation based on an OLED screen, applied to an ink spot compensation system. The method includes: acquiring a first brightness image of the OLED screen at a preset high grayscale level and a second brightness image at a preset low grayscale level; based on the first brightness image, identifying the normal display area and the ink spot area of the OLED screen, and extracting the outer contour line of the ink spot area, constructing a compensation transition area based on the outer contour line; calculating the brightness attenuation factor of each pixel in the compensation transition area relative to the normal display area according to the first brightness image; calculating the halo sensitivity coefficient of each pixel in the compensation transition area at a preset low grayscale level according to the second brightness image, wherein the halo sensitivity coefficient is positively correlated with the brightness of the pixel; determining the dynamic compensation gain of each pixel in the compensation transition area based on the brightness attenuation factor and the halo sensitivity coefficient, wherein the dynamic compensation gain changes with the brightness attenuation factor, the halo sensitivity coefficient, and the brightness of the pixel; and writing the dynamic compensation gain into the driver chip of the OLED screen to compensate the brightness of each pixel in the compensation transition area during the display process of the OLED screen.
[0007] By adopting the above technical solution, the ink spot compensation system constructs a compensation transition zone, so that the compensation is no longer limited to the ink spot itself, but extends to the edge transition area, effectively avoiding the visual discontinuity of the compensation boundary. By quantifying the brightness difference at high grayscale levels through a brightness attenuation factor and considering the halo effect at low grayscale levels through a halo sensitivity coefficient, the dynamic compensation gain is finally determined. This allows for dynamic adjustment based on the degree of brightness attenuation, halo sensitivity characteristics, and real-time brightness of pixels, ensuring that the compensation effect meets the needs of different display scenarios. The ink spot compensation system writes the dynamic compensation gain into the driver chip, realizing real-time brightness adjustment during the display process. This results in a natural and smooth brightness transition between the ink spot area and the normal display area, improving the overall display uniformity of the OLED screen and greatly enhancing the user's visual experience.
[0008] In conjunction with some embodiments of the first aspect, in some embodiments, based on a first brightness image, identifying the normal display area and the ink spot area of the OLED screen specifically includes: averaging the brightness of all pixels in the first brightness image to obtain a reference brightness; calculating the difference between the brightness of all pixels in the first brightness image and the reference brightness; marking pixels whose absolute value of the difference is greater than a preset first brightness threshold as ink spot pixels; performing connected component analysis on the ink spot pixels to classify adjacent ink spot pixels into the same ink spot area; and determining other areas not marked as ink spot areas as normal display areas.
[0009] By employing the above technical solution, the ink spot compensation system averages the brightness of all pixels in the first brightness image to obtain a reference brightness. Using objective data as a benchmark, it replaces subjective judgment, ensuring the fairness and consistency of region division. The system calculates the difference between the brightness of all pixels in the first brightness image and the reference brightness, and marks ink spot pixels using a preset first brightness threshold as a standard. This achieves precise selection of ink spot pixels, effectively avoiding misjudging normal brightness fluctuations as ink spots. Further connected component analysis categorizes adjacent ink spot pixels into the same ink spot region, accurately delineating the actual distribution range of the ink spots and avoiding compensation disorder caused by isolated pixel interference. This method not only improves the accuracy and efficiency of ink spot recognition but also provides precise contour basis for the construction of subsequent compensation transition areas, ensuring the orderliness and effectiveness of the entire ink spot compensation process and guaranteeing the reliability of the compensation effect from the source.
[0010] In conjunction with some embodiments of the first aspect, in some embodiments, a compensation transition region is constructed based on the outer contour line, specifically including: using the outer contour line as the initial boundary, performing a preset number of pixel expansion operations, each pixel expansion operation including expanding the first boundary outward by one pixel distance to obtain a second boundary, marking the area between the first boundary and the second boundary as the pixel area corresponding to the current number of operations; and constructing a concentric ring structure compensation transition region by arranging all the pixel areas obtained after the preset number of pixel expansion operations according to the spatial position relationship from the inside to the outside.
[0011] By adopting the above technical solution, the ink spot compensation system uses the outer contour line of the ink spot area as the initial boundary and performs a preset number of pixel expansion operations. Each pixel expansion operation extends outward by only one pixel distance and marks the corresponding pixel area, thereby accurately controlling the range and thickness of the compensation transition zone. This avoids the problems of insufficient compensation due to excessive narrowness or affecting the normal display area due to excessive width. The ink spot compensation system constructs a concentric ring structure of the compensation transition zone for all pixel areas obtained from the pixel expansion operations, according to the spatial relationship from the inside to the outside. This allows the compensation gain to be gradually adjusted in the direction from the ink spot area to the normal display area, achieving a smooth transition of brightness and eliminating the visual traces of "compensation boundary" that may appear in traditional compensation methods.
[0012] In conjunction with some embodiments of the first aspect, in some embodiments, the calculation of the brightness attenuation factor of each pixel in the compensation transition zone relative to the normal display area, based on the first brightness image, specifically includes: averaging the brightness of all pixels in the normal display area in the first brightness image to obtain a first standard brightness; obtaining the first actual brightness of a target pixel in the compensation transition zone in the first brightness image, where the target pixel is any pixel in the compensation transition zone; dividing the first actual brightness by the first standard brightness to obtain the initial brightness attenuation factor of the target pixel; and performing spatial smoothing on the initial brightness attenuation factor based on the position of the target pixel in the compensation transition zone to obtain the brightness attenuation factor of the target pixel.
[0013] By adopting the above technical solution, firstly, the ink spot compensation system averages the brightness of all pixels in the first brightness image within the normal display area to obtain the first standard brightness, establishing an objective and unified brightness benchmark and avoiding compensation deviations caused by a chaotic brightness benchmark. Then, the ink spot compensation system obtains the first actual brightness of each pixel in the first brightness image within the compensation transition area and compares it with the first standard brightness to obtain an initial brightness attenuation factor. This allows for precise quantification of the brightness attenuation degree of a single pixel within the compensation transition area relative to the normal display area, achieving refined perception of the impact of ink spots. Based on this, the ink spot compensation system performs spatial smoothing processing based on the pixel's position in the compensation transition area, fully considering the gradient distribution characteristics from the inside to the outside of the compensation transition area, avoiding abrupt changes in the brightness attenuation factor between adjacent pixels, and ensuring a smooth transition effect for subsequent compensation gains. This refined and differentiated brightness attenuation factor calculation method ensures that pixel compensation closely matches its actual brightness, providing a precise basis for subsequent dynamic compensation, improving the targeting and effectiveness of ink spot compensation, and resulting in a more uniform brightness and a more natural visual experience after compensation.
[0014] In conjunction with some embodiments of the first aspect, in some embodiments, based on the second brightness image, the halo sensitivity coefficient of each pixel in the compensation transition zone at a preset low grayscale level is calculated. The halo sensitivity coefficient is positively correlated with the brightness of the pixel. Specifically, this includes: averaging the brightness of all pixels in the normal display area in the second brightness image to obtain a second standard brightness; obtaining the second actual brightness of a target pixel in the compensation transition zone in the second brightness image, where the target pixel is any pixel in the compensation transition zone; dividing the second actual brightness by the second standard brightness to obtain the initial halo sensitivity coefficient of the target pixel; performing a nonlinear mapping on the initial halo sensitivity coefficient based on the position of the target pixel in the compensation transition zone to obtain the halo sensitivity coefficient of the target pixel; if the halo sensitivity coefficient is less than a preset minimum coefficient threshold, then setting the halo sensitivity coefficient to the preset minimum coefficient threshold.
[0015] By adopting the above technical solution, firstly, the ink spot compensation system averages the brightness of all pixels in the normal display area in the second brightness image to obtain the second standard brightness, providing a reliable reference for the quantification of halo sensitivity and ensuring the objectivity of the halo sensitivity coefficient calculation. Then, the ink spot compensation system obtains the second actual brightness of each pixel in the compensation transition zone in the second brightness image and compares it with the second standard brightness to obtain the initial halo sensitivity coefficient, accurately capturing the halo performance differences of individual pixels in the compensation transition zone at low grayscale levels. The ink spot compensation system combines the pixel's position in the compensation transition zone with non-linear mapping, adjusting the initial halo sensitivity coefficient according to the gradient characteristics of the compensation transition zone, making the halo sensitivity coefficient more closely match the actual halo influence law. The preset minimum coefficient threshold effectively avoids the problem of abnormally large compensation gain due to an excessively small halo sensitivity coefficient, ensuring display stability. Since the halo sensitivity coefficient is positively correlated with the pixel brightness, high-brightness halo areas can receive more targeted compensation, solving the problem of halo around ink spots disrupting image consistency at low grayscale levels and improving the image quality of OLED screens at different grayscale levels.
[0016] In conjunction with some embodiments of the first aspect, in some embodiments, based on the brightness attenuation factor and the halo sensitivity coefficient, the dynamic compensation gain of each pixel in the compensation transition region is determined. The dynamic compensation gain varies with the brightness attenuation factor, the halo sensitivity coefficient, and the brightness of the pixel. Specifically, this includes: using the halo sensitivity coefficient to calculate a first component gain for the halo effect, the first component gain being negatively correlated with the halo sensitivity coefficient; using the brightness attenuation factor to calculate a second component gain for brightness attenuation, the second component gain being negatively correlated with the brightness attenuation factor; obtaining the real-time brightness of the pixel, and determining the halo weight and attenuation weight based on the real-time brightness; and calculating the dynamic compensation gain by weighting the halo weight, attenuation weight, first component gain, and second component gain.
[0017] By adopting the above technical solution, firstly, the ink spot compensation system decomposes the compensation requirements into two core dimensions: halo effect and brightness attenuation. Through a negative correlation design between the first component gain and the halo sensitivity coefficient, it achieves targeted suppression of halo interference in low grayscale scenes—pixels with higher halo sensitivity coefficients correspond to smaller first component gains, avoiding overcompensation that could lead to new brightness imbalances. Simultaneously, through the negative correlation logic between the second component gain and the brightness attenuation factor, it ensures that pixels with more severe brightness attenuation receive stronger brightness compensation, accurately compensating for brightness loss in the ink spot area. The ink spot compensation system introduces real-time pixel brightness as the basis for weight adjustment, dynamically allocating halo weight and attenuation weight, enabling the compensation strategy to intelligently switch its focus according to the display scene: in high-brightness display scenes, the attenuation weight ratio is increased to strengthen brightness uniformity compensation; in low-brightness scenes, the halo weight is increased to primarily suppress halo blurring. By weighted calculation and fusion of two types of component gains and dynamic weights, the resulting dynamic compensation gain achieves personalized compensation with "one strategy per pixel". This not only fully covers the two core issues of ink spot brightness decay and halo interference, but also avoids the shortcomings caused by a single compensation dimension, effectively eliminating visual defects such as brightness abrupt changes and overcompensation at the compensation boundary.
[0018] In conjunction with some embodiments of the first aspect, in some embodiments, after determining the dynamic compensation gain of each pixel in the compensation transition zone based on the brightness attenuation factor and the halo sensitivity coefficient, and the dynamic compensation gain changing with the brightness attenuation factor, the halo sensitivity coefficient and the brightness of the pixel, the method further includes: obtaining the cumulative working time of each pixel in the compensation transition zone; generating an aging suppression weight based on the cumulative working time, wherein the aging suppression weight is negatively correlated with the cumulative working time; and correcting the dynamic compensation gain using the aging suppression weight to obtain the final compensation gain.
[0019] By adopting the above technical solution, the ink spot compensation system obtains the cumulative working time of each pixel within the compensation transition zone. It fully considers the positive correlation between the aging degree of OLED screen pixels and the working time, generating an aging suppression weight that is negatively correlated with the cumulative working time. That is, the longer the working time and the more severe the aging of a pixel, the smaller the aging suppression weight it receives, thus avoiding further damage to aging pixels caused by overcompensation. The ink spot compensation system uses the aging suppression weight to correct the dynamic compensation gain, obtaining the final compensation gain. This retains the ink spot elimination effect of dynamic compensation while balancing the aging rate of pixels through weight adjustment, delaying the generation of new ink spots caused by localized overworking. This method can dynamically adapt to the performance changes of the OLED screen during long-term use, breaking through the bottleneck of traditional fixed compensation's inability to cope with aging problems. It not only ensures display uniformity during long-term use but also extends the overall lifespan of the OLED screen.
[0020] In a second aspect, embodiments of this application provide an ink spot compensation system, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program code, which includes computer instructions, and the one or more processors call the computer instructions to cause the ink spot compensation system to perform the method described in the first aspect and any possible implementation thereof.
[0021] Thirdly, embodiments of this application provide a computer program product containing instructions that, when the computer program product is run on an ink spot compensation system, cause the ink spot compensation system to perform the method described in the first aspect and any possible implementation thereof.
[0022] Fourthly, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on an ink spot compensation system, cause the ink spot compensation system to perform the method described in the first aspect and any possible implementation thereof.
[0023] Understandably, the ink spot compensation system provided in the second aspect, the computer program product provided in the third aspect, and the computer storage medium provided in the fourth aspect are all used to execute the methods provided in the embodiments of this application. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here.
[0024] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:
[0025] 1. By adopting the above technical solution, the ink spot compensation system constructs a compensation transition zone, so that the compensation is no longer limited to the ink spot itself, but extends to the edge transition area, effectively avoiding the visual discontinuity of the compensation boundary. By quantifying the brightness difference at high grayscale levels through a brightness attenuation factor and considering the halo effect at low grayscale levels through a halo sensitivity coefficient, the dynamic compensation gain is finally determined. This allows for dynamic adjustment based on the degree of brightness attenuation, halo sensitivity characteristics, and real-time brightness of pixels, ensuring that the compensation effect meets the needs of different display scenarios. The ink spot compensation system writes the dynamic compensation gain into the driver chip, realizing real-time brightness adjustment during the display process. This results in a natural and smooth brightness transition between the ink spot area and the normal display area, improving the overall display uniformity of the OLED screen and greatly enhancing the user's visual experience.
[0026] 2. By adopting the above technical solution, the ink spot compensation system uses the outer contour line of the ink spot area as the initial boundary and performs a preset number of pixel expansion operations. Each pixel expansion operation extends outward by only one pixel distance and marks the corresponding pixel area, thereby accurately controlling the range and thickness of the compensation transition zone. This avoids the problem of insufficient compensation due to excessive narrowness or affecting the normal display area due to excessive width. The ink spot compensation system constructs a concentric ring structure of the compensation transition zone for all pixel areas obtained from the pixel expansion operations, according to the spatial relationship from the inside to the outside. This allows the compensation gain to be gradually adjusted in the direction from the ink spot area to the normal display area, achieving a smooth transition of brightness and eliminating the visual traces of "compensation boundary" that may appear in traditional compensation methods.
[0027] 3. By adopting the above technical solution, firstly, the ink spot compensation system decomposes the compensation requirements into two core dimensions: halo effect and brightness attenuation. Through the negative correlation design between the first component gain and the halo sensitivity coefficient, it achieves targeted suppression of halo interference in low grayscale scenes—pixels with higher halo sensitivity coefficients correspond to smaller first component gains, avoiding overcompensation that could lead to new brightness imbalances. Simultaneously, through the negative correlation logic between the second component gain and the brightness attenuation factor, it ensures that pixels with more severe brightness attenuation receive stronger brightness compensation, accurately compensating for brightness loss in ink spot areas. The ink spot compensation system introduces real-time pixel brightness as the basis for weight adjustment, dynamically allocating halo weight and attenuation weight, enabling the compensation strategy to intelligently switch its focus according to the display scene: in high-brightness display scenes, the attenuation weight ratio is increased to strengthen brightness uniformity compensation; in low-brightness scenes, the halo weight is increased to focus on suppressing halo blurring problems. By weighted calculation and fusion of two types of component gains and dynamic weights, the resulting dynamic compensation gain achieves personalized compensation with "one strategy per pixel". This not only fully covers the two core issues of ink spot brightness decay and halo interference, but also avoids the shortcomings caused by a single compensation dimension, effectively eliminating visual defects such as brightness abrupt changes and overcompensation at the compensation boundary. Attached Figure Description
[0028] Figure 1 This is a flowchart illustrating an ink spot compensation method based on an OLED screen in an embodiment of this application.
[0029] Figure 2 This is another schematic flowchart of the ink spot compensation method based on an OLED screen in the embodiments of this application;
[0030] Figure 3 This is a schematic diagram of the physical device structure of an ink spot compensation system in the embodiments of this application. Detailed Implementation
[0031] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification of this application, the singular expressions “a,” “an,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to any or all possible combinations including one or more of the listed items.
[0032] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0033] The following describes the process of the method provided in this implementation. Please refer to [link / reference]. Figure 1 This is a flowchart illustrating an ink spot compensation method based on an OLED screen in an embodiment of this application.
[0034] S101. Obtain the first brightness image of the OLED screen at a preset high grayscale level, and the second brightness image at a preset low grayscale level;
[0035] The preset high grayscale level refers to a grayscale value range pre-set in the ink spot compensation system that enables the OLED screen to display at high brightness. This maximizes the brightness difference between the ink spot area and the normal display area. For example, setting a grayscale value range of 200-255 as the preset high grayscale level means that within this range, the OLED screen pixels have high luminous intensity, and the brightness decay in the ink spot area will be more noticeable. The first brightness image represents image data captured by the image acquisition module (such as a high-precision optical sensor) of the ink spot compensation system when the OLED screen is displayed at the preset high grayscale level. This data contains the actual brightness information of each pixel and is used for subsequent area recognition and brightness decay analysis. The preset low grayscale level refers to a grayscale value range pre-set in the ink spot compensation system that enables the OLED screen to display at low brightness. This is used to detect halo phenomena in low-brightness scenes. For example, setting a grayscale value range of 0-50 as the preset low grayscale level means that within this range, the normal display area has lower brightness, and halo interference around the ink spot is more easily detected. The second brightness image refers to the image data captured by the image acquisition module when the OLED screen is displayed at a preset low grayscale level. It contains the actual brightness information of each pixel and is used to analyze the halo sensitivity of pixels in low-brightness scenes.
[0036] Specifically, the ink spot compensation system sends control commands to the OLED screen's driver chip, causing it to switch to a preset high grayscale level and maintain a pure color display (such as pure white). At this time, the ink spot compensation system controls the image acquisition module to capture multiple frames of images according to a preset resolution (such as the same as the OLED screen's native resolution) and a preset sampling frequency (such as 30 frames / second). After processing by noise reduction and inter-frame fusion algorithms, the first brightness image is obtained.
[0037] The ink spot compensation system sends a control command to the OLED screen's driver chip again, causing it to switch to a preset low grayscale level and maintain a pure color display (such as pure black or dark gray), capture and process the image with the same acquisition parameters, and obtain a second brightness image.
[0038] By acquiring brightness images at two different grayscale levels, the ink spot compensation system can fully grasp the display characteristics of OLED screens in high-brightness (highlighting brightness decay) and low-brightness (highlighting halo) scenarios, providing a complete and accurate data foundation for subsequent area recognition and parameter calculation, and avoiding the problem of incomplete ink spot feature capture caused by a single grayscale image.
[0039] S102. Based on the first brightness image, identify the normal display area and the ink spot area of the OLED screen, extract the outer contour line of the ink spot area, and construct a compensation transition area based on the outer contour line.
[0040] The normal display area refers to the region of the OLED screen where the pixel brightness meets the preset standard and there is no obvious brightness abnormality. It serves as the benchmark for ink spot identification and compensation calculation, and its brightness uniformity is within a preset threshold range (i.e., the pixel brightness difference within the same grayscale level does not exceed 5%). The ink spot region refers to a localized area of abnormal brightness in the OLED screen caused by manufacturing defects (such as uneven deposition) or aging. It manifests as a patchy area with brightness higher or lower than the normal display area and is the core target area for subsequent compensation. The outer contour line refers to the closed line surrounding the ink spot region extracted by an image edge detection algorithm (such as the Canny algorithm). It is used to define the boundary range of the ink spot region and consists of a series of continuous pixel coordinates. The compensation transition region is a buffer area constructed based on the outer contour line of the ink spot region, located between the ink spot region and the normal display area. It is used to achieve a smooth transition of compensation gain and avoid sudden brightness changes between the ink spot region and the normal display area.
[0041] Specifically, firstly, the ink spot compensation system preprocesses the first brightness image, including grayscale enhancement and noise filtering (such as Gaussian filtering). Then, based on the preprocessed first brightness image, the system performs region recognition: firstly, it calculates the average brightness of all pixels in the first brightness image to obtain a reference brightness; then, it calculates the difference between the brightness of all pixels in the first brightness image and the reference brightness, marking pixels whose absolute difference is greater than a preset first brightness threshold (such as 10% of the reference brightness) as ink spot pixels. Next, it uses a connected component analysis algorithm (such as 8-neighborhood connectivity analysis) to classify adjacent ink spot pixels into the same ink spot region, while other regions not marked as ink spot regions are determined as normal display regions. Finally, the ink spot compensation system uses an edge detection algorithm to extract the outer contour line of each ink spot region, clarifying the boundary coordinates of the ink spot region. Finally, the ink spot compensation system uses the outer contour line as the initial boundary and performs a preset number of pixel expansion operations (such as 3-5 times). Each pixel expansion operation extends the current boundary outward by one pixel distance to form a new boundary. The area between adjacent boundaries is the pixel area corresponding to a single pixel expansion operation. The ink spot compensation system integrates the pixel areas obtained by all pixel expansion operations according to the spatial relationship from the inside to the outside to form a concentric ring structure compensation transition area.
[0042] By accurately identifying ink stain areas and normal display areas and constructing a structured compensation transition zone, a clear scope of application is provided for subsequent targeted compensation. At the same time, the transition zone design avoids the abruptness of the compensation boundary and ensures the continuity of the display image.
[0043] Optionally, under normal circumstances, based on the first brightness image, identifying the normal display area and the ink spot area of the OLED screen can be achieved in the following ways, without limitation: averaging the brightness of all pixels in the first brightness image to obtain a reference brightness; calculating the difference between the brightness of all pixels in the first brightness image and the reference brightness; marking pixels whose absolute value of the difference is greater than a preset first brightness threshold as ink spot pixels; performing connected component analysis on the ink spot pixels to classify adjacent ink spot pixels into the same ink spot area; and determining other areas not marked as ink spot areas as normal display areas.
[0044] Optionally, under normal circumstances, the compensation transition zone can be constructed based on the outer contour line in the following way, without limitation: take the outer contour line as the initial boundary, perform a preset number of pixel expansion operations, each pixel expansion operation includes expanding the first boundary outward by one pixel distance to obtain the second boundary, and marking the area between the first boundary and the second boundary as the pixel area corresponding to the current number of operations; and construct a concentric ring structure compensation transition zone by all the pixel areas obtained after the preset number of pixel expansion operations according to the spatial position relationship from the inside to the outside.
[0045] S103. Based on the first brightness image, calculate the brightness attenuation factor of each pixel in the compensation transition zone relative to the normal display area;
[0046] In this context, each pixel within the compensation transition zone refers to all the pixels that constitute the compensation transition zone. Each pixel corresponds to a unique coordinate position and brightness data, and is the smallest unit for calculating the brightness attenuation factor. The brightness attenuation factor is a coefficient used to represent the degree of brightness attenuation of pixels in the compensation transition zone relative to the normal display area. Its value is typically between 0 and 1, with a smaller value indicating more severe brightness attenuation.
[0047] Specifically, the ink spot compensation system extracts the brightness data of all pixels in the first brightness image based on the normal display area, calculates the average value of these brightness data to obtain the first standard brightness, which represents the normal luminous level of the OLED screen under a preset high grayscale level. Subsequently, the ink spot compensation system traverses each pixel in the compensation transition area, obtaining the actual brightness of each pixel in the first brightness image (i.e., the first actual brightness). Next, the ink spot compensation system divides the first actual brightness of each pixel by the first standard brightness to obtain the initial brightness attenuation factor of that pixel. The initial brightness attenuation factor directly reflects the brightness difference of the pixel relative to the normal display area. Finally, considering the concentric ring structure of the compensation transition area, the ink spot compensation system performs spatial smoothing (such as using a Gaussian smoothing algorithm) based on the position of the pixel in the compensation transition area (such as the pixel distance from the outer contour line of the ink spot area), and performs a weighted average of the initial brightness attenuation factors of adjacent pixels to avoid abrupt changes in factors caused by brightness fluctuations of a single pixel, ultimately obtaining the brightness attenuation factor of each pixel.
[0048] Optionally, in general, the brightness attenuation factor of each pixel in the compensation transition zone relative to the normal display area can be calculated based on the first brightness image in the following ways, without limitation: averaging the brightness of all pixels in the normal display area in the first brightness image to obtain the first standard brightness; obtaining the first actual brightness of the target pixel in the compensation transition zone in the first brightness image, where the target pixel is any pixel in the compensation transition zone; dividing the first actual brightness by the first standard brightness to obtain the initial brightness attenuation factor of the target pixel; and spatially smoothing the initial brightness attenuation factor based on the position of the target pixel in the compensation transition zone to obtain the brightness attenuation factor of the target pixel.
[0049] S104. Based on the second brightness image, calculate the halo sensitivity coefficient of each pixel in the compensation transition area at a preset low gray level. The halo sensitivity coefficient is positively correlated with the brightness of the pixel.
[0050] The halo sensitivity coefficient is used to represent the degree to which each pixel in the compensation transition zone is affected by the halo at a preset low gray level. Its value is positively correlated with the brightness of the pixel, that is, the higher the brightness of the pixel, the greater the halo sensitivity coefficient.
[0051] Specifically, the ink spot compensation system extracts the brightness data of all pixels in the normal display area in the second brightness image, calculates the average value of these brightness data to obtain the second standard brightness, which represents the normal luminous level of the OLED screen at a preset low grayscale level. Then, the ink spot compensation system traverses each pixel in the compensation transition area, acquiring the actual brightness of each pixel in the second brightness image (i.e., the second actual brightness). Next, the ink spot compensation system divides the second actual brightness of each pixel by the second standard brightness to obtain the initial halo sensitivity coefficient of that pixel. The initial halo sensitivity coefficient initially reflects... The system considers the halo sensitivity of individual pixels. Finally, taking into account the concentric ring structure of the compensation transition zone, the ink spot compensation system adjusts the initial halo sensitivity coefficient using a non-linear mapping algorithm (such as S-curve mapping) based on the pixel's position within the compensation transition zone (e.g., pixel distance from the outer contour of the ink spot area). This makes the halo sensitivity coefficient more closely match the attenuation pattern of the halo from the inside out. Finally, the ink spot compensation system determines whether the adjusted halo sensitivity coefficient is less than a preset minimum coefficient threshold. If so, it forcibly sets it to this preset minimum coefficient threshold to prevent excessive subsequent compensation gain due to an excessively small halo sensitivity coefficient, ensuring display stability. The preset minimum coefficient threshold refers to the lowest numerical limit set by the ink spot compensation system to prevent abnormal compensation gain caused by an excessively small halo sensitivity coefficient; for example, setting it to 0.3 is a preset minimum coefficient threshold.
[0052] Optionally, under normal circumstances, based on the second brightness image, the halo sensitivity coefficient of each pixel in the compensation transition zone at a preset low grayscale level is calculated. The halo sensitivity coefficient is positively correlated with the brightness of the pixel. This can be achieved in the following ways, without limitation: averaging the brightness of all pixels in the normal display area in the second brightness image to obtain the second standard brightness; obtaining the second actual brightness of the target pixel in the compensation transition zone in the second brightness image, where the target pixel is any pixel in the compensation transition zone; dividing the second actual brightness by the second standard brightness to obtain the initial halo sensitivity coefficient of the target pixel; performing a non-linear mapping on the initial halo sensitivity coefficient based on the position of the target pixel in the compensation transition zone to obtain the halo sensitivity coefficient of the target pixel; if the halo sensitivity coefficient is less than a preset minimum coefficient threshold, then setting the halo sensitivity coefficient to the preset minimum coefficient threshold.
[0053] S105. Based on the brightness attenuation factor and the halo sensitivity coefficient, determine the dynamic compensation gain of each pixel in the compensation transition zone. The dynamic compensation gain varies with the brightness attenuation factor, the halo sensitivity coefficient, and the brightness of the pixel.
[0054] Among them, dynamic compensation gain refers to the brightness compensation adjustment coefficient dynamically calculated by the ink spot compensation system based on the brightness attenuation factor, halo sensitivity coefficient and pixel brightness, which is used to compensate the brightness of the pixel in a targeted manner.
[0055] Specifically, the ink spot compensation system breaks down the compensation requirements into two core dimensions: one is compensation for halo interference in low grayscale scenes, and the other is compensation for brightness attenuation in high grayscale scenes.
[0056] For halo interference compensation, the ink spot compensation system uses the halo sensitivity coefficient to calculate the first component gain. Based on the logic that "the higher the halo sensitivity coefficient, the more severe the halo interference, and the more necessary it is to suppress overcompensation", a negative correlation mapping algorithm is adopted (such as the formula G1=k1 / (S+ε), where G1 is the first component gain, S is the halo sensitivity coefficient, k1 is a preset proportional constant, and ε is a small value to avoid the denominator being 0) to ensure that the halo-sensitive area receives appropriate gain suppression and prevents new brightness imbalances from occurring after compensation.
[0057] For brightness attenuation compensation, the ink spot compensation system uses the brightness attenuation factor to calculate the second component gain. Based on the logic that "the smaller the brightness attenuation factor, the more severe the brightness loss, and the stronger the compensation required", it also adopts the negative correlation mapping algorithm (such as the formula G2=k2 / (D+ε), where G2 is the second component gain, D is the brightness attenuation factor, and k2 is a preset proportional constant) to ensure that pixels with severe attenuation receive sufficient brightness replenishment.
[0058] Subsequently, the ink spot compensation system collects the current display brightness (i.e., real-time brightness) of each pixel in the compensation transition zone in real time through the OLED screen's driver chip, and allocates halo weight and attenuation weight according to preset brightness range rules: when the real-time brightness is higher than the preset threshold (e.g., corresponding to gray level 150), it is determined to be a high brightness scene. At this time, the brightness attenuation has a more significant impact on the visual experience, and the ink spot compensation system sets the attenuation weight to a higher value (e.g., 0.7) and the halo weight to a lower value (e.g., 0.3); when the real-time brightness is lower than the preset threshold (e.g., corresponding to gray level 50), it is determined to be a low brightness scene, and the halo interference is more prominent. The ink spot compensation system sets the halo weight to a higher value (e.g., 0.6) and the attenuation weight to a lower value (e.g., 0.4); when the real-time brightness is in the middle range, the weights are dynamically allocated in a linear interpolation manner.
[0059] Finally, the ink spot compensation system uses a weighted summation formula (e.g., G=W1×G1+W2×G2, where G is the dynamic compensation gain, W1 is the halo weight, and W2 is the attenuation weight) to calculate the final dynamic compensation gain for each pixel. Throughout the process, the dynamic compensation gain adaptively adjusts according to the pixel's brightness attenuation, halo sensitivity, and changes in real-time display brightness, achieving fine-grained compensation with a "one-pixel-one-strategy" approach. This solves the brightness attenuation problem in the ink spot area, suppresses halo interference in low-brightness scenes, and avoids abrupt brightness changes at the compensation boundary, providing precise parameter support for subsequent real-time brightness adjustments.
[0060] Optionally, in general, based on the brightness attenuation factor and the halo sensitivity coefficient, the dynamic compensation gain of each pixel within the compensation transition zone is determined. The dynamic compensation gain can be achieved by varying the brightness attenuation factor, the halo sensitivity coefficient, and the pixel's brightness in the following ways, without limitation: Calculate the first component gain for the halo effect using the halo sensitivity coefficient, where the first component gain is negatively correlated with the halo sensitivity coefficient; calculate the second component gain for brightness attenuation using the brightness attenuation factor, where the second component gain is negatively correlated with the brightness attenuation factor; obtain the real-time brightness of the pixel and determine the halo weight and attenuation weight based on the real-time brightness; and calculate the dynamic compensation gain by weighting the halo weight, attenuation weight, first component gain, and second component gain.
[0061] S106. Write the dynamic compensation gain into the driver chip of the OLED screen to compensate the brightness of each pixel in the compensation transition area during the display process of the OLED screen.
[0062] In OLED screens, the driver chip is the core chip integrated within the OLED screen that receives display signals and controls pixel illumination. It stores compensation parameters and adjusts the pixel drive current based on these parameters. Examples include a combination module of source and gate driver chips specifically designed for OLED screens. The display process refers to the entire process by which the OLED screen presents an image by emitting light from its pixels after receiving a display command, including image signal analysis, drive current output, and pixel illumination. Real-time adjustment refers to the driver chip's instantaneous and synchronous adjustment of pixel brightness during image display, based on stored dynamic compensation gain, to ensure that the compensation effect is synchronized with the display process without delay.
[0063] Specifically, the ink spot compensation system establishes a correspondence between dynamic compensation gain and pixels in the compensation transition zone, associating and storing the coordinate information of each pixel with its corresponding dynamic compensation gain to form a compensation parameter table. Subsequently, the ink spot compensation system writes this compensation parameter table into the dedicated storage area (such as EEPROM) of the OLED screen driver chip through a communication interface (such as I2C or SPI interface). This dedicated storage area supports fast reading, ensuring that parameter retrieval is not delayed during the display process. In the subsequent display process of the OLED screen, after receiving external display signals, the driver chip first parses the target display brightness of each pixel in the compensation transition zone, and then, based on the coordinate information of each pixel in the compensation transition zone, retrieves the corresponding dynamic compensation gain from the dedicated storage area to correct the target display brightness and adjust the driving current of the pixels.
[0064] The ink spot compensation system can also write the brightness attenuation factor and halo sensitivity coefficient into the driver chip of the OLED screen, control the driver chip to obtain the real-time brightness of each pixel in the compensation transition zone during the display process of the OLED screen, and calculate the dynamic compensation gain based on the real-time brightness, brightness attenuation factor and halo sensitivity coefficient, and use the dynamic compensation gain to perform real-time compensation for the brightness of each pixel in the compensation transition zone.
[0065] The entire adjustment process is synchronized with the pixel illumination process, achieving real-time dynamic compensation. This ensures that the brightness of each pixel in the compensation transition zone can accurately match its actual condition, ultimately achieving the effect of ink spot compensation and uniform image display.
[0066] By adopting the above technical solution, the ink spot compensation system constructs a compensation transition zone, so that the compensation is no longer limited to the ink spot itself, but extends to the edge transition area, effectively avoiding the visual discontinuity of the compensation boundary. By quantifying the brightness difference at high grayscale levels through a brightness attenuation factor and considering the halo effect at low grayscale levels through a halo sensitivity coefficient, the dynamic compensation gain is finally determined. This allows for dynamic adjustment based on the degree of brightness attenuation, halo sensitivity characteristics, and real-time brightness of pixels, ensuring that the compensation effect meets the needs of different display scenarios. The ink spot compensation system writes the dynamic compensation gain into the driver chip, realizing real-time brightness adjustment during the display process. This results in a natural and smooth brightness transition between the ink spot area and the normal display area, improving the overall display uniformity of the OLED screen and greatly enhancing the user's visual experience.
[0067] The following provides a more detailed description of the process of the method provided in this implementation. Please refer to [link / reference]. Figure 2 This is another flowchart illustrating the ink spot compensation method based on an OLED screen in this application embodiment.
[0068] S201. Obtain the first brightness image of the OLED screen at a preset high grayscale level, and the second brightness image at a preset low grayscale level.
[0069] For details, please refer to step S101, which will not be repeated here.
[0070] S202. Based on the first brightness image, identify the normal display area and the ink spot area of the OLED screen, extract the outer contour line of the ink spot area, and construct a compensation transition area based on the outer contour line.
[0071] For details, please refer to step S102, which will not be repeated here.
[0072] S203. Based on the first brightness image, calculate the brightness attenuation factor of each pixel in the compensation transition zone relative to the normal display area.
[0073] For details, please refer to step S103, which will not be repeated here.
[0074] S204. Based on the second brightness image, calculate the halo sensitivity coefficient of each pixel in the compensation transition area at a preset low gray level. The halo sensitivity coefficient is positively correlated with the brightness of the pixel.
[0075] For details, please refer to step S104, which will not be repeated here.
[0076] S205. Based on the brightness attenuation factor and halo sensitivity coefficient, determine the dynamic compensation gain of each pixel in the compensation transition zone. The dynamic compensation gain varies with the brightness attenuation factor, halo sensitivity coefficient and the brightness of the pixel.
[0077] For details, please refer to step S105, which will not be repeated here.
[0078] S206. Obtain the cumulative working time of each pixel in the compensation transition area, and generate aging suppression weight based on the cumulative working time. The aging suppression weight is negatively correlated with the cumulative working time.
[0079] The cumulative working time refers to the total time that a single pixel in the compensation transition zone has actually been in a light-emitting state since the OLED screen was turned on. The unit can be set to hours (h). It is used to quantify the aging degree of the pixel. For example, if a pixel has been in a cumulative light-emitting state for 1000 hours and another pixel has been in a cumulative light-emitting state for 500 hours, the former is usually more severely aged. The aging suppression weight is a coefficient generated based on the cumulative working time of the pixel and used to adjust the intensity of the compensation gain. Its value is negatively correlated with the cumulative working time. That is, the longer the cumulative working time, the smaller the aging suppression weight, which is used to avoid over-compensating the aged pixels and aggravating the loss.
[0080] Specifically, the ink spot compensation system retrieves the cumulative working time of each pixel within the compensation transition zone through the built-in timing module of the OLED screen driver chip or a corresponding pixel working status monitoring unit. Then, based on a preset aging weight mapping rule, the system generates a corresponding aging suppression weight according to the cumulative working time. This preset aging weight mapping rule follows a negative correlation logic: the longer the cumulative working time, the smaller the aging suppression weight. For example, the mapping relationship is set as follows: when the cumulative working time is ≤800h, the aging suppression weight is 1.0; when 800h < cumulative working time ≤1500h, the aging suppression weight is 0.8; when 1500h < cumulative working time ≤2500h, the aging suppression weight is 0.6; and when the cumulative working time >2500h, the aging suppression weight is 0.4. The ink spot compensation system iterates through all pixels within the compensation transition zone, matching their cumulative working time with the preset aging weight mapping rule one by one to generate a unique aging suppression weight for each pixel.
[0081] S207. The dynamic compensation gain is corrected using the aging suppression weight to obtain the final compensation gain.
[0082] Specifically, the ink spot compensation system establishes a one-to-one correspondence between the dynamic compensation gain and aging suppression weight of pixels within the compensation transition zone, ensuring that the dynamic compensation gain of each pixel matches its specific aging suppression weight. Subsequently, the ink spot compensation system uses a multiplication correction algorithm to multiply the dynamic compensation gain of each pixel by its corresponding aging suppression weight to obtain the final compensation gain of that pixel. The calculation formula can be expressed as: Final compensation gain = Dynamic compensation gain × Aging suppression weight.
[0083] S208. Write the final compensation gain into the driver chip of the OLED screen to compensate the brightness of each pixel in the compensation transition area during the display process of the OLED screen.
[0084] Specifically, the implementation method of writing the final compensation gain into the driver chip of the OLED screen can be found in the implementation method of writing the dynamic compensation gain into the driver chip of the OLED screen, such as step S106, which will not be repeated here.
[0085] The ink spot compensation system in the embodiments of this invention is described below from the perspective of hardware processing. Please refer to [link / reference]. Figure 3 This is a schematic diagram of the physical device structure of the ink spot compensation system in the embodiments of this application.
[0086] It should be noted that, Figure 3 The structure of the ink spot compensation system shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.
[0087] like Figure 3As shown, the ink spot compensation system includes a CPU 301, which can perform various appropriate actions and processes according to a program stored in the read-only memory ROM 302 or a program loaded from the storage section 308 into the random access memory RAM 303, such as performing the methods described in the above embodiments. The RAM 303 also stores various programs and data required for system operation. The CPU 301, ROM 302, and RAM 303 are interconnected via a bus 304. An I / O interface 305 is also connected to the bus 304.
[0088] The following components are connected to I / O interface 305: input section 306 including audio input devices, push-button switches, etc.; output section 307 including a liquid crystal display (LCD) and audio output devices, indicator lights, etc.; storage section 308 including a hard disk, etc.; and communication section 309 including a network interface card such as a LAN (Local Area Network) card, modem, etc. Communication section 309 performs communication processing via a network such as the Internet. Drive 310 is also connected to I / O interface 305 as needed. Removable media 311, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 310 as needed so that computer programs read from them can be installed into storage section 308 as needed.
[0089] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing computer programs for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 309, and / or installed from removable medium 311. When the computer program is executed by CPU 301, it performs the various functions defined in the present invention.
[0090] It should be noted that specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0091] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. Each block in a flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those shown in the drawings.
[0092] Specifically, the ink spot compensation system of this embodiment includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, it implements the ink spot compensation method based on the OLED screen provided in the above embodiment.
[0093] In another aspect, the present invention also provides a computer-readable storage medium, which may be included in the ink spot compensation system described in the above embodiments; or it may exist independently and not assembled into the ink spot compensation system. The storage medium carries one or more computer programs, which, when executed by a processor of the ink spot compensation system, cause the ink spot compensation system to implement the OLED screen-based ink spot compensation method provided in the above embodiments.
[0094] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0095] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".
[0096] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A method for ink spot compensation based on an OLED screen, characterized in that, The method, applied to an ink spot compensation system, includes: Acquire the first brightness image of the OLED screen at a preset high grayscale level, and the second brightness image at a preset low grayscale level; Based on the first brightness image, the normal display area and the ink spot area of the OLED screen are identified, and the outer contour line of the ink spot area is extracted. Based on the outer contour line, a compensation transition area is constructed. Based on the first brightness image, calculate the brightness attenuation factor of each pixel in the compensation transition zone relative to the normal display area; Based on the second brightness image, the halo sensitivity coefficient of each pixel in the compensation transition zone at the preset low gray level is calculated, and the halo sensitivity coefficient is positively correlated with the brightness of the pixel. Based on the brightness attenuation factor and the halo sensitivity coefficient, the dynamic compensation gain of each pixel in the compensation transition zone is determined, and the dynamic compensation gain varies with the brightness attenuation factor, the halo sensitivity coefficient, and the brightness of the pixel. The dynamic compensation gain is written into the driver chip of the OLED screen to compensate the brightness of each pixel in the compensation transition zone during the display process of the OLED screen.
2. The method according to claim 1, characterized in that, The step of identifying the normal display area and ink spot area of the OLED screen based on the first brightness image specifically includes: The reference brightness is obtained by averaging the brightness of all pixels in the first brightness image. Calculate the difference between the brightness of all pixels in the first brightness image and the reference brightness; Pixels whose absolute value of the difference is greater than a preset first brightness threshold are marked as ink spot pixels; Connectivity analysis is performed on the ink spot pixels to classify adjacent ink spot pixels into the same ink spot region; Other areas not marked as ink spots are identified as normal display areas.
3. The method according to claim 1, characterized in that, The construction of the compensation transition zone based on the outer contour line specifically includes: Using the outer contour line as the initial boundary, perform a preset number of pixel expansion operations. Each pixel expansion operation includes expanding the first boundary outward by one pixel distance to obtain the second boundary, and marking the area between the first boundary and the second boundary as the pixel area corresponding to the current number of operations. All pixel regions obtained after a preset number of pixel expansion operations are arranged in a concentric ring structure as a compensation transition zone according to their spatial position from the inside out.
4. The method according to claim 1, characterized in that, The step of calculating the brightness attenuation factor of each pixel in the compensation transition zone relative to the normal display area based on the first brightness image specifically includes: The first standard brightness is obtained by averaging the brightness of all pixels in the normal display area in the first brightness image. Obtain the first actual brightness of the target pixel in the first brightness image within the compensation transition zone, wherein the target pixel is any pixel within the compensation transition zone; Divide the first actual brightness by the first standard brightness to obtain the initial brightness attenuation factor of the target pixel; Based on the position of the target pixel in the compensation transition region, the initial brightness attenuation factor is spatially smoothed to obtain the brightness attenuation factor of the target pixel.
5. The method according to claim 1, characterized in that, The step of calculating the halo sensitivity coefficient of each pixel in the compensation transition zone at the preset low grayscale level based on the second brightness image, wherein the halo sensitivity coefficient is positively correlated with the brightness of the pixel, specifically includes: The second standard brightness is obtained by averaging the brightness of all pixels in the normal display area in the second brightness image. Obtain the second actual brightness of the target pixel in the second brightness image within the compensation transition zone, wherein the target pixel is any pixel within the compensation transition zone; Divide the second actual brightness by the second standard brightness to obtain the initial halo sensitivity coefficient of the target pixel; Based on the position of the target pixel in the compensation transition region, the initial halo sensitivity coefficient is nonlinearly mapped to obtain the halo sensitivity coefficient of the target pixel; If the halo sensitivity coefficient is less than the preset minimum coefficient threshold, then the halo sensitivity coefficient is set to the preset minimum coefficient threshold.
6. The method according to claim 1, characterized in that, The step of determining the dynamic compensation gain for each pixel within the compensation transition region based on the brightness attenuation factor and the halo sensitivity coefficient, wherein the dynamic compensation gain varies with the brightness attenuation factor, the halo sensitivity coefficient, and the brightness of the pixel, specifically includes: Using the halo sensitivity coefficient, the first component gain for the halo effect is calculated, and the first component gain is negatively correlated with the halo sensitivity coefficient; Using the brightness attenuation factor, a second component gain for brightness attenuation is calculated, and the second component gain is negatively correlated with the brightness attenuation factor; Obtain the real-time brightness of the pixel, and determine the halo weight and attenuation weight based on the real-time brightness; The dynamic compensation gain is calculated by weighting the halo weight, the attenuation weight, the first component gain, and the second component gain.
7. The method according to claim 1, characterized in that, After the step of determining the dynamic compensation gain of each pixel in the compensation transition region based on the brightness attenuation factor and the halo sensitivity coefficient, wherein the dynamic compensation gain varies with the brightness attenuation factor, the halo sensitivity coefficient, and the brightness of the pixel, the method further includes: The cumulative working time of each pixel in the compensation transition region is obtained, and an aging suppression weight is generated based on the cumulative working time. The aging suppression weight is negatively correlated with the cumulative working time. The dynamic compensation gain is corrected using the aging suppression weight to obtain the final compensation gain.
8. An ink spot compensation system, characterized in that, The ink spot compensation system includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code including computer instructions, and the one or more processors call the computer instructions to cause the ink spot compensation system to perform the method as described in any one of claims 1-7.
9. A computer-readable storage medium comprising instructions, characterized in that, When the instruction is executed on the ink spot compensation system, the ink spot compensation system performs the method as described in any one of claims 1-7.
10. A computer program product, characterized in that, When the computer program product is run on the ink spot compensation system, the ink spot compensation system performs the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Method and apparatus for suppress glare and enhancing image in low illumination image
CN109064426A
Method and device for compensating mura defects of display screen
CN110503923A