Image display method and device, electronic equipment, storage medium and product
By sampling, downsampling and polynomial fitting of the display screen image, and calculating and applying brightness compensation values, the problem of uneven brightness attenuation caused by aging of the display device is solved, and the display uniformity and visual effect of the image are significantly improved.
Patent Information
- Application Number
- CN202510205792.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-24
- Publication Date
- 2025-05-09
AI Technical Summary
The aging of the display device in the display screen causes uneven brightness attenuation, affecting the uniformity of the display. In severe cases, the screen may be burned, and brightness compensation is required to improve the display effect.
By sampling and downsampling the image to be displayed, the pixel value of the target pixel point is determined using polynomial fitting and interpolation technology, and the brightness compensation value is calculated, and the image is brightness compensation after upsampling.
It effectively improves the uniformity of image brightness, reduces the edge error of brightness attenuation, and improves the visual effect of the image.
Smart Images

Figure CN119964524A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of imaging, and in particular to image display methods, devices, electronic devices, storage media and products. Background Art
[0002] During the use of the display screen, the display devices in the display screen will have aging problems, and the aging degree of the display devices at different positions is different according to the different usage conditions of the display devices at different positions, which leads to different brightness attenuation degrees of the display devices at different positions, affecting the display uniformity of the display screen during use, and in severe cases, screen burn-in may occur. Therefore, it is necessary to compensate the brightness of the display screen and improve the display effect, which is an urgent problem to be solved. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides an image display method, device, electronic device, storage medium and product.
[0004] According to a first aspect of some embodiments of the present disclosure, there is provided an image display method, comprising sampling an image to be displayed to obtain a sampled image; down-sampling the sampled image to obtain a down-sampled image, wherein a pixel value of a target pixel in the down-sampled image is obtained by interpolating after polynomial fitting in row and column directions based on the target pixel and a preset number of adjacent pixels around the target pixel, and the target pixel is any pixel in the down-sampled image; determining a pixel brightness value of the down-sampled image, and determining a brightness compensation value based on a preset pixel brightness target value and the pixel brightness value; up-sampling the brightness compensation value to obtain a target brightness compensation value; compensating the pixel brightness value in the image to be displayed based on the target brightness compensation value to obtain a target image, and displaying the target image.
[0005] In one embodiment, determining the pixel brightness value of the downsampled image includes: adding noise to the downsampled image to obtain the downsampled image after adding noise; and using the pixel brightness value of the downsampled image after adding noise as the pixel brightness value of the downsampled image.
[0006] In one embodiment, the pixel brightness value of the downsampled image is determined in the following manner: the attribute value of the sampled image is converted into a pixel gain value of the sampled image, the pixel gain value being determined based on the product of the attribute value and the grayscale value of the target pixel; the product of the pixel gain value and the sampling time is determined as the initial pixel usage time, and the initial pixel usage time is downsampled, and the current pixel usage time of the downsampled image is obtained based on the initial pixel usage time after the downsampling process; based on the correspondence between the pixel usage time and the pixel brightness attenuation value, the pixel brightness attenuation value corresponding to the pixel usage time is determined; and the product of the pixel brightness attenuation value and the preset initial pixel brightness value is used as the pixel brightness value of the downsampled image after adding noise.
[0007] In one embodiment, the current pixel usage time of the downsampled image is obtained based on the initial pixel usage time after the downsampling process, including: accumulating the sampling time to obtain the accumulated sampling time, and determining whether the accumulated sampling time reaches the preset compensation time; in response to the accumulated sampling time not reaching the preset compensation time, accumulating the initial pixel usage time of the downsampled image after the downsampling process corresponding to each sampling time to obtain the accumulated pixel usage time, and continuing to accumulate the sampling time until the accumulated sampling time reaches the preset compensation time; in response to the accumulated sampling time reaching the preset compensation time, determining the accumulated pixel usage time as the current pixel usage time.
[0008] In one embodiment, the pixel brightness target value is determined in the following manner: the average pixel brightness value in the downsampled image is used as the pixel brightness target value; or the maximum pixel brightness value in the downsampled image is used as the pixel brightness target value; or the minimum pixel brightness value in the downsampled image is used as the pixel brightness target value.
[0009] In one embodiment, the upsampling of the brightness compensation value to obtain a target brightness compensation value includes: determining a scaling ratio between the downsampled image and the image to be displayed; determining a first position of a target pixel and adjacent pixels in the image to be displayed; based on the first position and the scaling ratio, obtaining a second position of the target pixel and adjacent pixels in the image to be displayed in the downsampled image; based on the second position of the target pixel and adjacent pixels, obtaining a weight of each adjacent pixel among the adjacent pixels, the weight representing a distance between each adjacent pixel and the target pixel in the downsampled image; based on the weight, performing a weighted summation of the brightness compensation values of the adjacent pixels to obtain a target brightness compensation value of the target pixel in the image to be displayed.
[0010] In one implementation, displaying the target image includes: adding noise to the target image to obtain the target image after the noise is added; and displaying the target image after the noise is added.
[0011] According to a second aspect of some embodiments of the present disclosure, there is provided an image display device, comprising a processing unit, configured to sample an image to be displayed to obtain a sampled image; down-sample the sampled image to obtain a down-sampled image, wherein a pixel value of a target pixel in the down-sampled image is obtained by interpolating after polynomial fitting in row and column directions based on the target pixel and a preset number of adjacent pixels around the target pixel, and the target pixel is any pixel in the down-sampled image; a determination unit, configured to determine a pixel brightness value of the down-sampled image, and determine a brightness compensation value based on a preset pixel brightness target value and the pixel brightness value; up-sample the brightness compensation value to obtain a target brightness compensation value; and a display unit, configured to compensate the pixel brightness value in the image to be displayed based on the target brightness compensation value to obtain a target image, and display the target image.
[0012] In one embodiment, the determination unit determines the pixel brightness value of the downsampled image in the following manner: adding noise to the downsampled image to obtain the downsampled image after adding noise; and using the pixel brightness value of the downsampled image after adding noise as the pixel brightness value of the downsampled image.
[0013] In one embodiment, the determination unit determines the pixel brightness value of the downsampled image in the following manner: converting the attribute value of the sampled image into a pixel gain value of the sampled image, wherein the pixel gain value is determined based on the product of the attribute value and the grayscale value of the target pixel; determining the product of the pixel gain value and the sampling time as the initial pixel usage time, and downsampling the initial pixel usage time, and obtaining the current pixel usage time of the downsampled image based on the initial pixel usage time after the downsampling process; determining the pixel brightness attenuation value corresponding to the pixel usage time based on the corresponding relationship between the pixel usage time and the pixel brightness attenuation value; and using the product of the pixel brightness attenuation value and the preset initial pixel brightness value as the pixel brightness value of the downsampled image after adding noise.
[0014] In one embodiment, the determination unit obtains the current pixel usage time of the downsampled image based on the initial pixel usage time after the downsampling process in the following manner, including: accumulating the sampling time to obtain the accumulated sampling time, and determining whether the accumulated sampling time reaches the preset compensation time; in response to the accumulated sampling time not reaching the preset compensation time, accumulating the initial pixel usage time after the downsampling process of the downsampled image corresponding to each sampling time to obtain the accumulated pixel usage time, and continuing to accumulate the sampling time until the accumulated sampling time reaches the preset compensation time; in response to the accumulated sampling time reaching the preset compensation time, determining the accumulated pixel usage time as the current pixel usage time.
[0015] In one embodiment, the determination unit determines the pixel brightness target value in the following manner: using the average pixel brightness value in the downsampled image as the pixel brightness target value; or using the maximum pixel brightness value in the downsampled image as the pixel brightness target value; or using the minimum pixel brightness value in the downsampled image as the pixel brightness target value.
[0016] In one embodiment, the processing unit performs upsampling processing on the brightness compensation value in the following manner to obtain a target brightness compensation value: determining a scaling ratio between the downsampled image and the image to be displayed; determining a first position of a target pixel and adjacent pixels in the image to be displayed; based on the first position and the scaling ratio, obtaining a second position of the target pixel and adjacent pixels in the image to be displayed in the downsampled image; based on the second position of the target pixel and adjacent pixels, obtaining a weight of each adjacent pixel among the adjacent pixels, the weight representing the distance of each adjacent pixel from the target pixel in the downsampled image; based on the weight, performing a weighted summation of the brightness compensation values of the adjacent pixels to obtain a target brightness compensation value of the target pixel in the image to be displayed.
[0017] In one implementation, the display unit displays the target image in the following manner: adding noise to the target image to obtain the target image after the noise is added; and displaying the target image after the noise is added.
[0018] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to: execute the image display method described in the first aspect or any one of the implementations of the first aspect.
[0019] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the image display method described in the first aspect or any one of the embodiments of the first aspect.
[0020] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the image display method described in the first aspect or any one of the embodiments of the first aspect is implemented.
[0021] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: sampling the image to be displayed to obtain a sampled image, performing polynomial fitting in the row direction and the column direction based on the target pixel point and the preset number of adjacent pixels around the target pixel point, and obtaining the pixel value of the target pixel point by difference, thereby retaining the details of the sampled image, and accurately reflecting the change trend of the pixel point in the local area based on the polynomial fitting, and reducing the smooth edge error of the downsampled image. By calculating the brightness compensation value, and after upsampling the brightness compensation value, compensating the pixel brightness value of the image to be displayed to obtain the target image, it can effectively improve the uniformity of the brightness of the image to be displayed, improve the aging brightness problem of the image, and enhance the visual effect of the target image.
[0022] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0024] Figure 1 is a schematic diagram of an image display method according to some embodiments of the present disclosure.
[0025] Figure 2 is a schematic diagram of a downsampling processing method according to some embodiments of the present disclosure.
[0026] Figure 3 is a flowchart of an image display method according to some embodiments of the present disclosure.
[0027] Figure 4 is a flowchart of a down-sampling image processing method according to some embodiments of the present disclosure.
[0028] Figure 5 The present invention is a flowchart of a method for determining a pixel brightness value according to some embodiments of the present disclosure.
[0029] Figure 6 is a schematic diagram of a brightness attenuation curve according to some embodiments of the present disclosure.
[0030] Figure 7 The present invention is a flowchart of a method for determining current pixel usage time according to some embodiments of the present disclosure.
[0031] Figure 8 is a flowchart of a method for determining a target brightness compensation value according to some embodiments of the present disclosure.
[0032] Fig. 9 The present invention is a flowchart of a method for displaying a target image according to some embodiments of the present disclosure.
[0033] Fig.10 is a schematic diagram of an image display method according to some embodiments of the present disclosure.
[0034] Fig.11a It is an effect diagram of a block processing method according to some embodiments of the present disclosure.
[0035] Fig.11b It is an effect diagram of another block processing method according to some embodiments of the present disclosure.
[0036] Fig.12a It is a rendering of an image display method according to some embodiments of the present disclosure.
[0037] Figure 12b It is a rendering of another image display method according to some embodiments of the present disclosure.
[0038] Fig.12c It is a rendering of another image display method according to some embodiments of the present disclosure.
[0039] Fig.12d It is a rendering of another image display method according to some embodiments of the present disclosure.
[0040] Fig.13 is a block diagram of an image display device according to some embodiments of the present disclosure.
[0041] Fig.14 It is a block diagram of a device for image display according to some embodiments of the present disclosure.
[0042] Fig.15 It is a block diagram of a device for image display according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0043] Some embodiments of the present disclosure will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. Various changes, modifications and equivalents of the methods, devices and / or systems described herein will become apparent after understanding the present disclosure. For example, the order of operations described herein is merely an example and is not limited to those orders set forth herein, but can be changed as becomes apparent after understanding the present disclosure, except for operations that must be performed in a specific order. In addition, for clarity and brevity, descriptions of features known in the art may be omitted.
[0044] The following embodiments described in some embodiments of the present disclosure do not represent all embodiments consistent with the present disclosure. Instead, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0045] The image display method provided in some embodiments of the present disclosure may be applied to a scenario in which the display brightness of an organic light-emitting diode display (OLED) is compensated.
[0046] During the use of the display screen, the display devices in the display screen will have aging problems, and according to the different usage conditions of the display devices at different positions, the aging degrees of the display devices at different positions are different, resulting in different brightness attenuation degrees of the display devices at different positions, affecting the display uniformity of the display screen during use, and in severe cases, screen burn-in may occur.
[0047] like Figure 1 As shown, Figure 1 It is a schematic diagram of an image display method shown according to some embodiments of the present disclosure. When compensating the brightness of a display screen, the usage of the display screen is usually statistically calculated at certain time intervals, and the image to be displayed on the display screen is downsampled to obtain a downsampled image. The pixel points in the downsampled image are cumulatively calculated, and the cumulative value is cached, and the cumulative value in the cumulative value cache is sent to the compensation value calculation unit to obtain the compensation value of each pixel point, and then the image to be displayed is compensated through the compensation value and the aging compensation unit to obtain a compensated image. Among them, the aging statistical model may include image sampling, downsampling block processing, and cumulative value calculation. The cumulative value storage unit may include a cumulative value cache, which can be understood as storing the cumulative value corresponding to each time interval in the cumulative value storage unit. The aging compensation model may include a compensation value calculation unit, a compensation value, and an aging compensation unit.
[0048] In the above scheme, in order to save memory, when obtaining the downsampled image, the image to be displayed is downsampled mainly through block processing. Figure 2 As shown, Figure 2 This is a schematic diagram of a downsampling processing method according to some embodiments of the present disclosure. In Block processing, 1*1, 2*1, 2*2, and 4*4 can be used as a Block, and the mean of each sub-pixel in each Block is taken as the statistical value to obtain a downsampled image. This method is simple to implement, but the sampling edge error is large, which affects the edge compensation effect.
[0049] In view of this, some embodiments of the present disclosure provide an image display method.
[0050] Figure 3 is a flowchart of an image display method according to some embodiments of the present disclosure. Figure 3 As shown, the following steps are included.
[0051] In step S11, the image to be displayed is sampled to obtain a sampled image.
[0052] In the disclosed embodiment, the display content, brightness, frame rate, temperature, time, etc. of the image to be displayed may be sampled to obtain a sampled image after sampling processing.
[0053] In step S12, downsampling is performed on the sampled image to obtain a downsampled image.
[0054] In the disclosed embodiment, the pixel value of the target pixel in the downsampled image is determined to obtain the downsampled image. The target pixel is any pixel in the downsampled image. The pixel value of the target pixel is obtained by interpolation after polynomial fitting in the row direction and the column direction based on the target pixel and a preset number of adjacent pixels around the target pixel.
[0055] Specifically, the first resolution of the sampled image can be determined, and the second resolution of the downsampled image can be determined. The second resolution can be preset. The scaling ratio is determined based on the first resolution and the second resolution, and the first position of the target pixel in the sampled image is determined. The second position of the target pixel in the downsampled image is determined based on the first position and the scaling ratio, and the second position of the adjacent pixels is determined based on a preset number of adjacent pixels around the target pixel in the sampled image, and the calculation is performed based on the target pixel and the adjacent pixels. The calculation method can be to perform polynomial fitting in the row direction and the column direction respectively to determine the position of the target pixel and the pixel value of the target pixel. The above calculation is performed for each target pixel in the downsampled image to obtain the downsampled image.
[0056] In the disclosed embodiment, when downsampling the sampled image, it is necessary to calculate the position where the downsampled image is mapped to the sampled image. There may be a situation where the corresponding position in the sampled image is not an integer, so interpolation processing is required.
[0057] In the embodiment of the present disclosure, when downsampling is performed, the preset number of adjacent pixel points around the target pixel point may be 16 adjacent pixel points, and the downsampling may use bicubic interpolation.
[0058] In step S13, the pixel brightness value of the down-sampled image is determined, and the brightness compensation value is determined based on the preset pixel brightness target value and the pixel brightness value.
[0059] In the disclosed embodiment, the pixel brightness value of each target pixel point of the downsampled image is determined, and the brightness compensation value of each target pixel point is determined based on the preset pixel brightness target value and the pixel brightness value.
[0060] In the embodiment of the present disclosure, since the aging degree of the display device at different positions is different, the brightness compensation value of each target pixel is different. Based on the brightness value of each target pixel and the pixel brightness target value, the brightness compensation value of each target pixel can be determined respectively, so as to compensate each target pixel.
[0061] In step S14, the brightness compensation value is up-sampled to obtain a target brightness compensation value.
[0062] In the disclosed embodiment, a brightness compensation value of the downsampled image is obtained based on the pixel brightness value of the downsampled image and the pixel brightness target value. The brightness compensation value of the downsampled image needs to be upsampled to obtain a target brightness compensation value corresponding to the image to be displayed.
[0063] In step S15, the pixel brightness values in the image to be displayed are compensated based on the target brightness compensation value to obtain a target image, and the target image is displayed.
[0064] In the disclosed embodiment, based on the target brightness compensation value corresponding to the image to be displayed, the pixel brightness value of each pixel in the image to be displayed is compensated to obtain a target image in which each pixel is compensated, and the target image is displayed.
[0065] In the disclosed embodiment, bicubic interpolation is performed on the sampled image to obtain a downsampled image. Since bicubic interpolation takes into account the linear relationship between pixel points and introduces high-order polynomial fitting, the smoothing effect of the interpolation result is increased, the jagged edges and blurring of the downsampled image are reduced, and the image quality is improved.
[0066] In the embodiment of the present disclosure, when determining the pixel brightness value of the downsampled image, in order to reduce the edge error of the image, the following operation may also be performed. Figure 4 is a flowchart of a down-sampling image processing method according to some embodiments of the present disclosure. Figure 4 As shown, the following steps are included.
[0067] In step S21, noise is added to the downsampled image to obtain a downsampled image after the noise is added.
[0068] In step S22, the pixel brightness value of the down-sampled image after adding noise is used as the pixel brightness value of the down-sampled image.
[0069] In the embodiment of the present disclosure, noise may be added to the downsampled image, such as Gaussian noise. In the process of adding noise, some values are usually randomly generated, and the generated values are added to the pixel brightness of the downsampled image to obtain the downsampled image after adding noise. The pixel brightness value of the downsampled image after adding noise is used as the pixel brightness value of the downsampled image.
[0070] In the disclosed embodiment, adding noise to the downsampled image can reduce the edge error of the downsampled image and improve the image quality of the downsampled image.
[0071] In the embodiment of the present disclosure, the pixel brightness value of the downsampled image is determined, and then the brightness compensation value of the downsampled image is determined, so that each pixel point can be compensated based on the brightness compensation value and the pixel brightness value. The pixel brightness value can be determined in the following manner. Figure 5 is a flowchart of a method for determining a pixel brightness value according to some embodiments of the present disclosure. Figure 5 As shown, the following steps are included.
[0072] In step S31, the attribute value of the sampled image is converted into a pixel yield value of the sampled image.
[0073] In the embodiment of the present disclosure, the attribute value includes a value obtained by sampling data such as display content, brightness, frame rate, temperature, and time of the image to be displayed.
[0074] In the embodiment of the present disclosure, the grayscale value of each pixel in the sampled image is determined, and the pixel benefit value of the sampled image can be obtained based on the product of the grayscale value and the attribute value.
[0075] In step S32, the product of the pixel benefit value and the sampling time is determined as the initial pixel usage time.
[0076] In the disclosed embodiment, the sampling time can be understood as the time for sampling the image to be displayed at a certain time interval. The display content of the display screen is sampled according to the sampling time to obtain the pixel benefit value of each pixel point, and the usage of each pixel point within the sampling time is quantified based on the product of the pixel benefit value and the sampling time to obtain the initial pixel usage time of each pixel point, so that the aging degree of each pixel point can be judged based on the initial pixel usage time of each pixel point, and the brightness of each pixel point can be compensated.
[0077] In step S33, the initial pixel usage time is downsampled, and the current pixel usage time of the downsampled image is obtained based on the initial pixel usage time after the downsampled processing.
[0078] In the disclosed embodiment, the initial pixel usage time of the sampled image is converted to the current pixel usage time of the downsampled image.
[0079] In the disclosed embodiment, the initial pixel usage time may be downsampled to obtain the current pixel usage time after the downsampling process. The current pixel usage time may represent the usage of each pixel in the downsampled image.
[0080] In step S34, based on the correspondence between the pixel usage time and the pixel brightness attenuation value, the pixel brightness attenuation value corresponding to the matching pixel usage time is determined.
[0081] In the present disclosure, Figure 6 As shown, Figure 6 1 is a schematic diagram of a brightness attenuation curve according to some embodiments of the present disclosure, which characterizes the corresponding relationship between the pixel usage time and the pixel brightness attenuation value, wherein the horizontal axis is the pixel usage time, and the vertical axis is the brightness attenuation value corresponding to a given time.
[0082] In the embodiment of the present disclosure, the current pixel usage time of each pixel point of the sampled image can be determined based on Figure 6 The corresponding relationship is determined to determine the pixel attenuation value corresponding to the current pixel usage time, thereby determining the attenuation of each pixel point.
[0083] In step S35, the product of the pixel brightness attenuation value and the preset initial pixel brightness value is used as the pixel brightness value of the down-sampled image after adding noise.
[0084] In the embodiment of the present disclosure, each pixel point is preset with an initial pixel brightness value. Based on the product of the initial pixel brightness value of each pixel point and the pixel brightness attenuation value, the pixel brightness value of each pixel point can be obtained, and the pixel brightness value is used as the pixel brightness value of the downsampled image.
[0085] In the embodiment of the present disclosure, the product of the sampling time and the pixel benefit value is used as the initial pixel usage time, which adds a time dimension consideration for each pixel point, facilitates accurate reflection of the aging condition of each pixel point, and determines the current pixel brightness value based on the pixel brightness attenuation value of each pixel point, thereby increasing the accuracy of each pixel point in the compensation process.
[0086] In the embodiment of the present disclosure, when compensating an image, compensation may be performed after each sampling, or compensation may be performed when the sampling time reaches a preset compensation time. Figure 7 is a flowchart of a method for determining current pixel usage time according to some embodiments of the present disclosure. Figure 7 As shown, the following steps are included.
[0087] In step S41, the sampling time is accumulated to obtain the accumulated sampling time, and it is determined whether the accumulated sampling time reaches the preset compensation time.
[0088] In the disclosed embodiment, the sampling time and the preset compensation time are obtained, each sampling time is accumulated to obtain the accumulated sampling time, and it is determined whether the accumulated sampling time reaches the preset compensation time, thereby determining the current pixel usage time.
[0089] In step S42a, in response to the accumulated sampling time not reaching the preset compensation time, the initial pixel usage time after downsampling processing of the downsampled image corresponding to each sampling time is accumulated to obtain the accumulated pixel usage time.
[0090] In the embodiment of the present disclosure, it is determined that the accumulated sampling time does not reach the preset compensation time, and the initial pixel usage time corresponding to each sampling time is downsampled and accumulated to obtain the accumulated pixel usage time. The sampling time is accumulated continuously until the accumulated sampling time reaches the preset compensation time.
[0091] In step S42b, in response to the accumulated sampling time reaching the preset compensation time, the accumulated pixel usage time is determined as the current pixel usage time.
[0092] In the embodiment of the present disclosure, if the accumulated sampling time reaches the preset compensation time, it indicates that the image to be displayed can be compensated at present, and the accumulated pixel usage time is determined as the current pixel usage time, and the brightness compensation value is determined based on the current pixel usage time, so as to compensate each pixel point.
[0093] In one implementation, if the sampling time is once every X seconds and the preset compensation time is once every Y hours, sampling is performed every X seconds to obtain the current pixel usage time, and X is accumulated until the accumulated X is equal to Y. During the accumulation process, not only the sampling time is accumulated, but also the current pixel usage time needs to be accumulated. Therefore, when the accumulated X is equal to Y, the accumulated pixel usage time is obtained, and the accumulated pixel usage time is used as the current pixel usage time to determine the brightness compensation value.
[0094] In the embodiment of the present disclosure, when the sampling time reaches the preset compensation time, the brightness of the image to be displayed is compensated, which can save memory and avoid memory consumption caused by frequent compensation.
[0095] In the embodiment of the present disclosure, based on the pixel brightness value and the preset pixel brightness target value, the brightness compensation value of each pixel point can be determined, wherein the pixel brightness target value can be obtained in the following ways.
[0096] In the embodiment of the present disclosure, the average pixel brightness value in the downsampled image may be used as the pixel brightness target value, wherein the average pixel brightness value is determined by the pixel brightness values of all pixels in the downsampled image.
[0097] In the disclosed embodiment, the maximum pixel brightness value in the downsampled image may be used as the pixel brightness target value.
[0098] In the disclosed embodiment, the minimum pixel brightness value in the downsampled image may be used as the pixel brightness target value.
[0099] In the disclosed embodiment, the average pixel brightness value is used as the pixel brightness target value, which can reflect the overall brightness level of the image, help maintain the uniformity of the image display, and avoid excessive brightness fluctuations. The maximum pixel brightness value is used as the pixel brightness target value to emphasize the bright spot area in the image. The minimum pixel brightness value is used as the pixel brightness target value to avoid the situation where the dark part of the image is too dark and the image information is lost.
[0100] In the disclosed embodiment, a brightness compensation value is obtained, and the brightness compensation value is up-sampled to obtain a target brightness compensation value, so that the image to be displayed can be compensated based on the target brightness compensation value.
[0101] Figure 8 is a flow chart showing a method for determining a target brightness compensation value according to some embodiments of the present disclosure. Figure 8 As shown, the following steps are included.
[0102] In step S51, the scaling ratio between the down-sampled image and the image to be displayed is determined.
[0103] In the disclosed embodiment, a first resolution of an image to be displayed and a second resolution of a downsampled image are acquired, and a scaling ratio between the downsampled image and the image to be displayed can be obtained based on a ratio of the first resolution to the second resolution.
[0104] In step S52, the first position of the target pixel and the adjacent pixel points in the image to be displayed is determined.
[0105] In the embodiment of the present disclosure, since it is necessary to perform upsampling processing on the brightness compensation value, that is, based on the brightness compensation value corresponding to the downsampled image, upsample to the target brightness compensation value of the image to be displayed, the first position of the target pixel point and the adjacent pixel point in the image to be displayed is determined. It can be understood that the pixel point is the first position in the image to be displayed.
[0106] In step S53, based on the first position and the scaling ratio, the second position of the target pixel point and the adjacent pixel points in the image to be displayed in the down-sampled image is obtained.
[0107] In the embodiment of the present disclosure, based on the first position and the scaling ratio, the second position corresponding to the target pixel point and the adjacent pixel points in the image to be displayed in the down-sampled image is determined.
[0108] In the disclosed embodiment, each pixel of the image to be displayed needs to be mapped to the down-sampled image, so as to determine different situations of each pixel of the image to be displayed based on the position of each pixel after mapping.
[0109] In step S54, based on the target pixel and the second position of the adjacent pixel, the weight of each adjacent pixel in the adjacent pixel is obtained.
[0110] In the disclosed embodiment, the weight represents the distance between each adjacent pixel and the target pixel in the downsampled image.
[0111] In the disclosed embodiment, the second position of the target pixel and the adjacent pixel in the downsampled image is determined. Bicubic interpolation is performed based on the second position of each of the adjacent pixel to determine the distance relationship between each adjacent pixel and the target pixel, and the distance relationship can be represented by a weight.
[0112] In step S55, based on the weights, the brightness compensation values of adjacent pixels are weightedly summed to obtain a target brightness compensation value of the target pixel in the image to be displayed.
[0113] In the embodiment of the present disclosure, based on the positional relationship of each adjacent pixel point among the adjacent pixel points, the brightness compensation values of the adjacent pixel points are weightedly summed to obtain the target brightness compensation value of the target pixel point in the image to be displayed.
[0114] In the disclosed embodiment, by considering the weights and brightness compensation values of adjacent pixels, the details in the image can be better preserved and enhanced, and the brightness compensation value can be upsampled to reduce distortion and blur when compensation is performed based on the target brightness compensation value.
[0115] Fig. 9 is a flow chart of a method for displaying a target image according to some embodiments of the present disclosure. Fig. 9 As shown, the following steps are included.
[0116] In step S61, noise is added to the target image to obtain a target image after the noise is added.
[0117] In step S62, the target image after adding noise is displayed.
[0118] In the disclosed embodiment, noise, such as Gaussian noise, is added to the target image to obtain the target image after the noise is added, and the target image after the noise is added is displayed, which is beneficial to reducing the edge error of the target image.
[0119] In the present disclosure, in combination Fig.10 The image display method is described. Fig.10 is a schematic diagram of an image display method according to some embodiments of the present disclosure. Fig.10 As shown, an image to be displayed is obtained, and image sampling is performed to obtain a sampled image. The resolution of the sampled image is M*N, and the sampled image is downsampled to obtain a downsampled image. The resolution of the downsampled image can be preset, which can be m*n. The downsampling process preferably uses bicubic interpolation, which can be calculated based on the weighted average of a preset number of pixel points around the target pixel point. Bicubic interpolation not only considers the linear relationship between pixel points, but also introduces high-order polynomial fitting to make the edge of the downsampled image smoother and more natural, and can reduce jagged edges and blur while maintaining image details, thereby improving image quality.
[0120] In the disclosed embodiment, noise may be optionally added to the downsampled image.
[0121] In the disclosed embodiment, the attribute value of the sampled image is converted into the pixel benefit value of the sampled image, and the product of the pixel benefit value and the sampling time is used to determine the initial pixel usage time, and further obtain the pixel usage time of the downsampled image. The sampling time is accumulated to obtain the accumulated sampling time. In response to the accumulated sampling time not reaching the preset compensation time, the initial pixel usage time after downsampling of the downsampled image corresponding to each sampling time is accumulated to obtain the accumulated pixel usage time, and the sampling time is accumulated until the accumulated sampling time reaches the preset compensation time. In response to the accumulated sampling time reaching the preset compensation time, the accumulated pixel usage time is determined as the current pixel usage time. After the accumulated pixel usage time is calculated, the accumulated pixel usage time is stored in the accumulated value cache.
[0122] In the embodiment of the present disclosure, based on the correspondence between the pixel usage time and the pixel brightness attenuation value, the pixel brightness attenuation value corresponding to the current pixel usage time is determined, and the pixel brightness value is determined by the pixel brightness attenuation value and the initial pixel brightness value. In response to the sampling time reaching the preset compensation time, in the compensation value calculation unit, the brightness compensation value is determined based on the pixel brightness value and the preset pixel brightness target value, and the brightness compensation value is upsampled to obtain the target brightness compensation value, and the downsampled image is upsampled so that the resolution is upsampled from m*n to M*N, and noise is added to the image to be displayed.
[0123] In the embodiment of the present disclosure, the aging statistical model may include image sampling, downsampling processing, noise addition and cumulative value calculation parts, the cumulative value storage unit may include a cumulative value cache part, and the aging compensation model may include a compensation value calculation unit, upsampling processing, noise addition, target brightness compensation value and aging compensation unit parts.
[0124] In the embodiment of the present disclosure, in the aging compensation unit, the pixel brightness value in the image to be displayed is compensated based on the target brightness compensation value to obtain the target image, which can reduce and smooth the edge error, realize high-rate downsampling processing, optimize memory and power consumption, and optimize the problem of large edge error caused by the block processing method. Optionally, noise can be added to the downsampled image to further blur the edge error.
[0125] In the present disclosure, in combination Figure 11a to Figure 11b , the effect diagram of Block processing is explained. Fig.11a FIG. 1 is an effect diagram of a block processing method according to some embodiments of the present disclosure. Fig.11a As shown, 8*8 pixels are taken as a Block. Fig.11b FIG. 1 is a diagram showing another block processing method according to some embodiments of the present disclosure. Fig.11bAs shown in the figure, 4*4 pixels are regarded as a Block. Figure 11a to Figure 11b , we can observe that there are problems of uneven edges and poor edge compensation, which are easily recognized by the human eye. In the Block processing method, the edge problem is obvious, which in turn limits the downsampling ratio, thus limiting the further optimization of memory and power consumption.
[0126] In the present disclosure, in combination Figures 12a to 12d , the effect diagram of the image display method is explained. Fig.12a is an effect diagram of an image display method according to some embodiments of the present disclosure. Fig.12a As shown, Fig.12a This is the brightness-compensated image obtained using bicubic interpolation. Figure 12b FIG. 1 is a rendering of another image display method according to some embodiments of the present disclosure. Figure 12b As shown, Figure 12b An image showing the effect of using bicubic interpolation for upsampling and downsampling, and adding noise during downsampling. Fig.12c FIG. 1 is a rendering of another image display method according to some embodiments of the present disclosure. Fig.12c As shown, Fig.12c The effect of using bicubic interpolation for upsampling and downsampling, and adding noise during the upsampling process. Fig.12d FIG. 1 is a rendering of another image display method according to some embodiments of the present disclosure. Fig.12d As shown, Fig.12d The effect of using bicubic interpolation for upsampling and downsampling, and adding noise in the upsampling and downsampling processes respectively. Figures 12a to 12d It can be seen that the edge error of the image gradually decreases, the smoothness gradually improves, the compensation effect is good, and the user experience is effectively improved.
[0127] Based on the same concept, an embodiment of the present disclosure also provides an image display device.
[0128] It is understandable that the image display device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0129] Fig.13 is a block diagram of an image display device 100 according to some embodiments of the present disclosure. Fig.13 The device includes a processing unit 101, a determining unit 102 and a display unit 103.
[0130] The processing unit 101 is used to sample the image to be displayed to obtain a sampled image; and downsample the sampled image to obtain a downsampled image, wherein the pixel value of a target pixel in the downsampled image is obtained by interpolation after polynomial fitting in the row direction and the column direction based on the target pixel and a preset number of adjacent pixels around the target pixel, and the target pixel is any pixel in the downsampled image.
[0131] The determination unit 102 is used to determine the pixel brightness value of the downsampled image, and determine the brightness compensation value based on the preset pixel brightness target value and the pixel brightness value; and perform upsampling processing on the brightness compensation value to obtain the target brightness compensation value.
[0132] The display unit 103 is used to compensate the pixel brightness values in the image to be displayed based on the target brightness compensation value to obtain the target image, and display the target image.
[0133] In one implementation, the determination unit 102 determines the pixel brightness value of the downsampled image in the following manner: adding noise to the downsampled image to obtain the downsampled image after adding noise; and using the pixel brightness value of the downsampled image after adding noise as the pixel brightness value of the downsampled image.
[0134] In one embodiment, the determination unit 102 determines the pixel brightness value of the downsampled image in the following manner: converting the attribute value of the sampled image into a pixel benefit value of the sampled image, the pixel benefit value being determined based on the product of the attribute value and the grayscale value of the target pixel; determining the product of the pixel benefit value and the sampling time as the initial pixel usage time, and performing downsampling processing on the initial pixel usage time, and obtaining the current pixel usage time of the downsampled image based on the initial pixel usage time after the downsampling processing; determining the pixel brightness attenuation value corresponding to the matching pixel usage time based on the correspondence between the pixel usage time and the pixel brightness attenuation value; and using the product of the pixel brightness attenuation value and the preset initial pixel brightness value as the pixel brightness value of the downsampled image after adding noise.
[0135] In one embodiment, the determination unit 102 obtains the current pixel usage time of the downsampled image based on the initial pixel usage time after the downsampling process in the following manner, including: accumulating the sampling time to obtain the accumulated sampling time, and determining whether the accumulated sampling time reaches the preset compensation time; in response to the accumulated sampling time not reaching the preset compensation time, accumulating the initial pixel usage time after the downsampling process of the downsampled image corresponding to each sampling time to obtain the accumulated pixel usage time, and continuing to accumulate the sampling time until the accumulated sampling time reaches the preset compensation time; in response to the accumulated sampling time reaching the preset compensation time, determining the accumulated pixel usage time as the current pixel usage time.
[0136] In one implementation, the determination unit 102 determines the pixel brightness target value in the following manner: using the average pixel brightness value in the downsampled image as the pixel brightness target value; or using the maximum pixel brightness value in the downsampled image as the pixel brightness target value; or using the minimum pixel brightness value in the downsampled image as the pixel brightness target value.
[0137] In one embodiment, the processing unit 101 upsamples the brightness compensation value in the following manner to obtain a target brightness compensation value: determine a scaling ratio between a downsampled image and an image to be displayed; determine a first position of a target pixel and adjacent pixels in the image to be displayed; based on the first position and the scaling ratio, obtain a second position of the target pixel and adjacent pixels in the image to be displayed in the downsampled image; based on the second position of the target pixel and adjacent pixels, obtain a weight of each adjacent pixel in the adjacent pixels, the weight representing the distance of each adjacent pixel from the target pixel in the downsampled image; based on the weight, perform a weighted summation of the brightness compensation values of the adjacent pixels to obtain a target brightness compensation value of the target pixel in the image to be displayed.
[0138] In one implementation, the display unit 103 displays the target image in the following manner: adding noise to the target image to obtain the target image after the noise is added; and displaying the target image after the noise is added.
[0139] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0140] Fig.14 1 is a block diagram of a device 200 for image display according to some embodiments of the present disclosure. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0141] Reference Fig.14 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .
[0142] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
[0143] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0144] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.
[0145] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0146] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
[0147] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0148] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0149] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 3G, 4G, 5G, other communication standards, or a combination thereof. In some embodiments of the present disclosure, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In some embodiments of the present disclosure, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0150] In some embodiments of the present disclosure, the device 200 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0151] In some embodiments of the present disclosure, a storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to complete the above method. For example, the storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0152] In some embodiments of the present disclosure, a storage medium is provided, which may be, for example, a non-transitory computer-readable storage medium.
[0153] In some embodiments of the present disclosure, when the instructions in the storage medium are executed by a processor of an electronic device, the processor is enabled to execute the above-mentioned methods.
[0154] Fig.15 is a block diagram of a device 300 for image display according to some embodiments of the present disclosure. For example, the device 300 may be provided as a server. Fig.15 , the apparatus 300 includes a processing component 322, which further includes one or more processors, and a memory resource represented by a memory 332 for storing instructions, such as an application, that can be executed by the processing component 322. The application stored in the memory 332 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 322 is configured to execute the instructions to perform the above method.
[0155] The device 300 may also include a power supply component 326 configured to perform power management of the device 300, a wired or wireless network interface 350 configured to connect the device 300 to a network, and an input / output (I / O) interface 358. The device 300 may operate based on an operating system stored in the memory 332, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.
[0156] In some embodiments of the present disclosure, a storage medium including instructions is also provided, such as a memory 332 including instructions, and the instructions can be executed by the processing component 322 of the device 300 to complete the above method. For example, the storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0157] In some embodiments of the present disclosure, a storage medium is provided, which may be, for example, a non-transitory computer-readable storage medium.
[0158] In some embodiments of the present disclosure, when the instructions in the storage medium are executed by a processor of an electronic device, the processor is enabled to execute the above-mentioned methods.
[0159] In some embodiments of the present disclosure, a computer program product is further provided, including a computer program, which, when executed by a processor, implements the image display method involved in any of the above embodiments.
[0160] In some embodiments of the present disclosure, a processor that executes a computer program may be deployed in an electronic device, for example.
[0161] Those skilled in the art may also understand that the various illustrative logical blocks and steps listed in the embodiments of the present application may be implemented by electronic hardware, computer software, or a combination of the two. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the functions described for each specific application, but such implementation should not be understood as exceeding the scope of protection of the embodiments of the present application.
[0162] Although terms such as "first", "second" and "third" may be used herein to describe various components, parts, regions, layers or sections, these components, parts, regions, layers or sections are not limited to these terms. On the contrary, these terms are only used to distinguish one component, part, region, layer or section from another component, part, region, layer or section. Therefore, without departing from the teachings of each example, the first component, part, region, layer or section mentioned in the examples described herein may also be referred to as the second component, part, region, layer or section. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features.
[0163] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0164] In the description herein, the meaning of "plurality" is at least two, referring to two or more than two, such as two, three, etc., unless otherwise clearly and specifically limited. Other quantifiers are similar. The singular forms of "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings. In addition, unless otherwise specified or clearly pointed to the singular form from the context, the articles "a" and "an" as used in this application and the appended claims are generally understood to mean "one or more".
[0165] It should be understood that, unless otherwise specifically noted, the features of some embodiments of the various present disclosures described herein may be combined with each other. As used herein, the term "and / or" includes any one of the related listed items and any combination of any two or more thereof; "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist, for example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects before and after are in an "or" relationship. Similarly, "at least one of ......." includes any one of the related listed items and any combination of any two or more thereof.
[0166] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0167] In addition, the word "exemplary" is used herein to mean serving as an example, instance, or diagram. Any aspect or design described herein as "exemplary" is not necessarily to be understood as being advantageous compared to other aspects or designs. On the contrary, the use of the word exemplary is intended to present concepts in a concrete manner. As used herein, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or clear from the context, "X applies A or B" is intended to mean any one of the natural inclusive arrangements. That is, if X applies A; X applies B; or X applies both A and B, then applying A or B is satisfied under any of the aforementioned examples.
[0168] Likewise, although the present disclosure has been shown and described with respect to one or more implementations, after reading and understanding the specification and the accompanying drawings, those skilled in the art will appreciate equivalent variations and modifications. The present disclosure includes all such modifications and variations, and is limited only by the scope of rights. In particular, with respect to the various functions performed by the components (e.g., elements, resources, etc.) described above, unless otherwise noted, the terms used to describe such components are intended to correspond to any component (functionally equivalent) that performs the specific functions of the described components, even if the structure is not equivalent to the disclosed structure. In addition, although the specific features of the present disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations, as may be desired and conducive to any given or specific application. In addition, with respect to "including", "having", "having", "having", or variations thereof used in the present disclosure, such terms are intended to be inclusive in a manner similar to the term "comprising".
[0169] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.
[0170] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims
1. An image display method, characterized in that: include: Sampling the image to be displayed to obtain a sampled image; Downsampling the sampled image to obtain a downsampled image, wherein a pixel value of a target pixel in the downsampled image is obtained by interpolating after polynomial fitting in a row direction and a column direction based on the target pixel and a preset number of adjacent pixels around the target pixel, and the target pixel is any pixel in the downsampled image; Determining a pixel brightness value of the downsampled image, and determining a brightness compensation value based on a preset pixel brightness target value and the pixel brightness value; Performing up-sampling processing on the brightness compensation value to obtain a target brightness compensation value; The pixel brightness values in the image to be displayed are compensated based on the target brightness compensation value to obtain a target image, and the target image is displayed.
2. The method according to claim 1, characterized in that: Determining the pixel brightness value of the down-sampled image includes: Adding noise to the downsampled image to obtain a downsampled image after adding noise; The pixel brightness value of the down-sampled image after adding the noise is used as the pixel brightness value of the down-sampled image.
3. The method according to claim 1 or 2, characterized in that: The pixel brightness value of the downsampled image is determined in the following manner: Converting the attribute value of the sampled image into a pixel benefit value of the sampled image, wherein the pixel benefit value is determined based on a product of the attribute value and a grayscale value of a target pixel point; The product of the pixel benefit value and the sampling time is determined as the initial pixel usage time, and the initial pixel usage time is downsampled, and based on the initial pixel usage time after the downsampling process, the current pixel usage time of the downsampled image is obtained; Based on the correspondence between the pixel usage time and the pixel brightness attenuation value, determining the pixel brightness attenuation value corresponding to the pixel usage time; The product of the pixel brightness attenuation value and the preset initial pixel brightness value is used as the pixel brightness value of the down-sampled image after adding noise.
4. The method according to claim 3, characterized in that The obtaining the current pixel usage time of the down-sampled image based on the initial pixel usage time after the down-sampling process includes: Accumulating the sampling time to obtain the accumulated sampling time, and determining whether the accumulated sampling time reaches the preset compensation time; In response to the accumulated sampling time not reaching the preset compensation time, the initial pixel usage time after downsampling processing of the downsampled image corresponding to each sampling time is accumulated to obtain the accumulated pixel usage time, and the sampling time is continuously accumulated until the accumulated sampling time reaches the preset compensation time; In response to the accumulated sampling time reaching the preset compensation time, the accumulated pixel usage time is determined as the current pixel usage time.
5. The method according to claim 4, characterized in that The pixel brightness target value is determined in the following manner: The average pixel brightness value in the downsampled image is used as the pixel brightness target value; or The maximum pixel brightness value in the downsampled image is used as the pixel brightness target value; or The minimum pixel brightness value in the downsampled image is used as the pixel brightness target value.
6. The method according to claim 1, characterized in that The up-sampling of the brightness compensation value to obtain a target brightness compensation value includes: Determining a scaling ratio between the downsampled image and the image to be displayed; Determine a first position of a target pixel and adjacent pixels in the image to be displayed; Based on the first position and the scaling ratio, obtaining a second position of a target pixel point and an adjacent pixel point in the image to be displayed in the downsampled image; Based on the second position of the target pixel and the adjacent pixel, a weight of each adjacent pixel in the adjacent pixel is obtained, wherein the weight represents the distance between each adjacent pixel and the target pixel in the downsampled image; Based on the weight, a weighted sum is performed on the brightness compensation values of adjacent pixels to obtain a target brightness compensation value of the target pixel in the image to be displayed.
7. The method according to claim 1, characterized in that The displaying of the target image comprises: Adding noise to the target image to obtain a target image after adding noise; The target image after adding noise is displayed.
8. An image display device, characterized in that: include: A processing unit, used for sampling the image to be displayed to obtain a sampled image; Downsampling the sampled image to obtain a downsampled image, wherein a pixel value of a target pixel in the downsampled image is obtained by interpolating after polynomial fitting in a row direction and a column direction based on the target pixel and a preset number of adjacent pixels around the target pixel, and the target pixel is any pixel in the downsampled image; A determination unit, configured to determine a pixel brightness value of the downsampled image, and determine a brightness compensation value based on a preset pixel brightness target value and the pixel brightness value; and perform upsampling processing on the brightness compensation value to obtain a target brightness compensation value; The display unit compensates the pixel brightness value in the image to be displayed based on the target brightness compensation value to obtain a target image, and displays the target image.
9. The device according to claim 8, characterized in that The determination unit determines the pixel brightness value of the down-sampled image in the following manner: Adding noise to the downsampled image to obtain a downsampled image after adding noise; The pixel brightness value of the down-sampled image after adding the noise is used as the pixel brightness value of the down-sampled image.
10. The device according to claim 8 or 9, characterized in that The determination unit determines the pixel brightness value of the down-sampled image in the following manner: Converting the attribute value of the sampled image into a pixel benefit value of the sampled image, wherein the pixel benefit value is determined based on a product of the attribute value and a grayscale value of a target pixel point; The product of the pixel benefit value and the sampling time is determined as the initial pixel usage time, and the initial pixel usage time is downsampled, and based on the initial pixel usage time after the downsampling process, the current pixel usage time of the downsampled image is obtained; Based on the correspondence between the pixel usage time and the pixel brightness attenuation value, determining the pixel brightness attenuation value corresponding to the pixel usage time; The product of the pixel brightness attenuation value and the preset initial pixel brightness value is used as the pixel brightness value of the down-sampled image after adding noise.
11. The device according to claim 10, characterized in that The determining unit obtains the current pixel usage time of the downsampled image based on the initial pixel usage time after the downsampled processing in the following manner, including: Accumulating the sampling time to obtain the accumulated sampling time, and determining whether the accumulated sampling time reaches the preset compensation time; In response to the accumulated sampling time not reaching the preset compensation time, the initial pixel usage time after downsampling processing of the downsampled image corresponding to each sampling time is accumulated to obtain the accumulated pixel usage time, and the sampling time is continuously accumulated until the accumulated sampling time reaches the preset compensation time; In response to the accumulated sampling time reaching the preset compensation time, the accumulated pixel usage time is determined as the current pixel usage time.
12. The device according to claim 11, characterized in that The determination unit determines the pixel brightness target value in the following manner: The average pixel brightness value in the downsampled image is used as the pixel brightness target value; or The maximum pixel brightness value in the downsampled image is used as the pixel brightness target value; or The minimum pixel brightness value in the downsampled image is used as the pixel brightness target value.
13. The device according to claim 8, characterized in that The processing unit performs up-sampling processing on the brightness compensation value in the following manner to obtain a target brightness compensation value: Determining a scaling ratio between the downsampled image and the image to be displayed; Determine a first position of a target pixel and adjacent pixels in the image to be displayed; Based on the first position and the scaling ratio, obtaining a second position of a target pixel point and an adjacent pixel point in the image to be displayed in the downsampled image; Based on the second position of the target pixel and the adjacent pixel, a weight of each adjacent pixel in the adjacent pixel is obtained, wherein the weight represents the distance between each adjacent pixel and the target pixel in the downsampled image; Based on the weight, a weighted sum is performed on the brightness compensation values of adjacent pixels to obtain a target brightness compensation value of the target pixel in the image to be displayed.
14. The device according to claim 8, characterized in that The display unit displays the target image in the following manner: Adding noise to the target image to obtain a target image after adding noise; The target image after adding noise is displayed.
15. An electronic device, characterized in that: include: processor; memory for storing computer programs or instructions executable by a processor; The processor is configured to: execute the computer program or instructions to implement the steps of the image display method in any one of claims 1 to 7.
16. A storage medium, characterized in that: The storage medium stores a computer program or instructions. When the computer program or instructions in the storage medium are executed by a processor of an electronic device, the processor is enabled to execute the image display method according to any one of claims 1 to 7.
17. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the image display method according to any one of claims 1 to 7.