Display method and device, electronic equipment and medium
By determining the preset area and pixel compensation data on the OLED display, the target image is directly compensated, which solves the screen burn-in problem, improves the accuracy of compensation data and user experience, and reduces the consumption of computing resources and storage space.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2026-03-10
AI Technical Summary
OLED displays suffer from poor display quality due to burn-in issues. Existing compensation data calculation methods consume a large amount of computing resources and storage space, resulting in decreased accuracy and a poor user experience.
By determining a preset area on the display screen and the first image of each area, the target image is directly compensated based on the first compensation data and historical compensation data of each pixel, reducing the generation of cumulative data, reducing the occupation of computing resources and storage space, and improving the accuracy of compensation data.
It effectively solves screen burn-in issues, optimizes compensation effects, improves user viewing and usage experience, reduces after-sales repair costs, and increases device availability.
Smart Images

Figure CN121640897A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electronic equipment technology, and in particular to a display method, apparatus, electronic device and medium. Background Technology
[0002] With the development of mobile devices and network technology, more and more users are using mobile devices such as smartphones and tablets for work or entertainment. Currently, most mobile display devices use OLED (Organic Light Emitting Display) technology. While OLED displays offer higher brightness and more vibrant colors, they are prone to burn-in due to the limited lifespan of organic light-emitting materials, affecting display quality.
[0003] To address the burn-in issue in OLED displays, current methods typically rely on compensation algorithms and data to adjust the brightness of pixels in the image to match a target baseline. This ensures uniform brightness across all pixels, eliminating burn-in-related display problems such as burn-in marks. Current compensation data calculations involve first calculating cumulative data and then generating compensation data based on that. Since the calculated cumulative data requires significant computing resources and storage space, electronic devices often compress the compensation data at a high compression rate. This leads to decreased accuracy of the compensation data, poor image quality after compensation, and an inability to eliminate burn-in-related display problems, resulting in a poor viewing and user experience. Summary of the Invention
[0004] To overcome the problems existing in related technologies, this disclosure provides a display method, apparatus, electronic device, and medium.
[0005] According to a first aspect of the present disclosure, a display method is provided, comprising:
[0006] Multiple preset areas on the display screen and a first image at each preset area are determined; the multiple first images are determined by at least one second image, the second image being the image currently displayed on the display screen, and the first image being a portion of the second image;
[0007] Determine first compensation data corresponding to each pixel in each of the first images; each first compensation data is compensation data at the position corresponding to each pixel determined based on the currently displayed image;
[0008] Based on the first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel, compensation is performed on each target pixel in the target image; each historical compensation data is the compensation data corresponding to each historical pixel in each historical image, each historical image is the image displayed at a historical moment in each preset area, and the target image is the image to be displayed on the display screen.
[0009] In some embodiments, the compensation of each target pixel in the target image based on the first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel includes:
[0010] Based on the first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel, the second compensation data corresponding to each pixel is determined; each second compensation data is the compensation data at the position corresponding to each pixel determined based on the historically displayed image and the currently displayed image;
[0011] Based on the second compensation data corresponding to each pixel, compensation is performed on each target pixel in the target image; the pixel corresponds one-to-one with the target pixel.
[0012] In some embodiments, determining the second compensation data corresponding to each pixel based on the first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel includes:
[0013] The first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel are added together to obtain the second compensation data corresponding to each pixel.
[0014] In some embodiments, compensating each target pixel in the target image based on the second compensation data corresponding to each pixel includes:
[0015] Determine the target brightness parameter and target grayscale parameter for each target pixel in the target image;
[0016] Based on the target brightness parameters and target grayscale parameters of each target pixel in the target image, and the second compensation data corresponding to each pixel, compensation is performed on each target pixel in the target image.
[0017] In some embodiments, compensating each target pixel in the target image based on the target brightness parameter and target grayscale parameter of each target pixel in the target image, and the second compensation data corresponding to each pixel, includes:
[0018] Based on the target brightness parameter and target grayscale parameter of each target pixel in the target image, and the second compensation data corresponding to each pixel, the target compensation data corresponding to each target pixel in the target image is determined; the target compensation data is the compensation data at the position corresponding to each target pixel determined based on the historically displayed image, the currently displayed image, and the image to be displayed.
[0019] Based on the target compensation data corresponding to each target pixel in the target image, compensation is performed on each target pixel in the target image.
[0020] In some embodiments, the second compensation data is the compensation data corresponding to each pixel under preset brightness parameters and preset grayscale parameters. Determining the target compensation data corresponding to each target pixel in the target image based on the target brightness parameters and target grayscale parameters of each target pixel in the target image, and the second compensation data corresponding to each pixel, includes:
[0021] Based on the target brightness parameter of each target pixel and the first correlation relationship, the target brightness gain parameter of each target pixel is determined; the first correlation relationship is used to characterize the correspondence between the brightness parameter and the brightness gain parameter.
[0022] Based on the target grayscale parameters and the second correlation of each target pixel, the target grayscale gain parameter of each target pixel is determined; the second correlation is used to characterize the correspondence between the grayscale parameters and the grayscale gain parameter.
[0023] Based on the target brightness parameter of each target pixel and the preset brightness parameter, a first target coefficient is determined for each target pixel; the first target coefficient is used to adjust the target brightness gain parameter.
[0024] Based on the target grayscale parameters of each target pixel and the preset grayscale parameters, a second target coefficient is determined for each target pixel; the second target coefficient is used to adjust the target grayscale gain parameter.
[0025] Based on the target brightness gain parameter, the first target coefficient, the target grayscale gain parameter, the second target coefficient, and the second compensation data for each target pixel, the target compensation data corresponding to each target pixel is determined.
[0026] In some embodiments, determining the first compensation data corresponding to each pixel in each first image includes:
[0027] The first brightness parameter, first grayscale parameter, first temperature parameter, and first frame rate parameter of each pixel are obtained, and the first duration of the first image at all preset areas is obtained.
[0028] Based on the first duration and the preset correlation, preset compensation data is determined; the preset compensation data includes preset brightness parameters, preset grayscale parameters, preset temperature parameters, and compensation data at the position corresponding to each pixel point under the preset frame rate; the preset correlation is used to characterize the correspondence between duration and preset compensation data.
[0029] Based on the first brightness parameter, the first grayscale parameter, the first temperature parameter, the first frame rate parameter, the first duration, and the preset compensation data for each pixel, the first compensation data corresponding to each pixel is determined.
[0030] In some embodiments, determining the first compensation data corresponding to each pixel based on the first brightness parameter, the first grayscale parameter, the first temperature parameter, the first frame rate parameter, the first duration, and the preset compensation data includes:
[0031] Based on the first brightness parameter and the first correlation relationship of each pixel, the first brightness gain parameter of each pixel is determined; the first correlation relationship is used to characterize the correspondence between the brightness parameter and the brightness gain parameter.
[0032] Based on the first grayscale parameter and the second correlation of each pixel, the first grayscale gain parameter of each pixel is determined; the second correlation is used to characterize the correspondence between the grayscale parameter and the grayscale gain parameter.
[0033] Based on the first temperature parameter and the third correlation of each pixel, the first temperature gain parameter of each pixel is determined; the third correlation is used to establish the correspondence between the temperature parameter and the temperature gain parameter.
[0034] Based on the first frame rate parameter and the fourth correlation of each pixel, the first frame rate gain parameter of each pixel is determined; the fourth correlation is used to characterize the correspondence between the frame rate parameter and the frame rate gain parameter.
[0035] Based on the first brightness gain parameter, the first grayscale gain parameter, the first temperature gain parameter, the first frame rate gain parameter, the first duration, and the preset compensation data for each pixel, the first compensation data corresponding to each pixel is determined.
[0036] In some embodiments, determining the first compensation data corresponding to each pixel based on the first brightness gain parameter, the first grayscale gain parameter, the first temperature gain parameter, the first frame rate gain parameter, the first duration, and preset compensation data for each pixel includes:
[0037] Based on the first brightness parameter and the preset brightness parameter of each pixel, a first coefficient is determined for each pixel; the first coefficient is used to adjust the first brightness gain parameter.
[0038] Based on the first grayscale parameter of each pixel and the preset grayscale parameter, a second coefficient is determined for each pixel; the second coefficient is used to adjust the first grayscale gain parameter.
[0039] Based on the first temperature parameter and the preset temperature parameter of each pixel, a third coefficient is determined for each pixel; the third coefficient is used to adjust the first temperature gain parameter.
[0040] Based on the first frame rate parameter and the preset frame rate parameter for each pixel, a fourth coefficient is determined for each pixel; the fourth coefficient is used to adjust the first frame rate gain parameter.
[0041] Based on the first brightness gain parameter, the first coefficient, the first grayscale gain parameter, the second coefficient, the first temperature gain parameter, the third coefficient, the first frame rate gain parameter, the fourth coefficient, the first duration, and the preset compensation data for each pixel, the first compensation data corresponding to each pixel is determined.
[0042] In some embodiments, the first image is an image in a preset color space, the preset color space including multiple color channels, and determining the first compensation data corresponding to each pixel in each first image includes:
[0043] Determine the first compensation data corresponding to each pixel in each first image under each color channel.
[0044] In some embodiments, the pre-stored historical compensation data corresponding to each pixel includes the pre-stored historical compensation data corresponding to each pixel in each color channel. The compensation of each target pixel in the target image based on the first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel includes:
[0045] Based on the first compensation data corresponding to each pixel in each color channel and the pre-stored historical compensation data corresponding to each pixel in each color channel, the second compensation data corresponding to each pixel in each color channel is determined;
[0046] Based on the second compensation data corresponding to each pixel in each color channel, compensation is performed on each target pixel in the target image.
[0047] In some embodiments, the method further includes:
[0048] Determine the target image after compensation for each target pixel;
[0049] The compensated target image is displayed on the display screen.
[0050] According to a second aspect of the present disclosure, a display device is provided, comprising:
[0051] The determining module is configured to determine a plurality of preset areas on the display screen and a first image at each preset area; the plurality of first images are determined by at least one second image, the second image being the image currently displayed on the display screen, and the first image being a portion of the second image;
[0052] The determining module is configured to determine first compensation data corresponding to each pixel in each of the first images; each first compensation data is compensation data at the position corresponding to each pixel determined based on the currently displayed image;
[0053] The processing module is configured to compensate each target pixel in the target image based on the first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel; each historical compensation data is the compensation data corresponding to each historical pixel in each historical image, each historical image is the image displayed at a historical moment in each preset area, and the target image is the image to be displayed on the display screen.
[0054] According to a third aspect of the present disclosure, an electronic device is provided, comprising:
[0055] processor;
[0056] Memory used to store processor-executable instructions;
[0057] The processor is configured to perform the display method as described in the first aspect of this disclosure.
[0058] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the display method as described in the first aspect of the present disclosure.
[0059] The method described in this disclosure has the following beneficial effects: This disclosure can directly compensate each target pixel in the target image based on the first compensation data and historical compensation data. This eliminates the need to generate compensation data after generating cumulative data, reducing the consumption of computing resources and storage space. By reducing the consumption of computing resources and storage space, the compression ratio of the compensation data can be reduced, and the accuracy of the compensation data can be improved, thereby effectively solving the screen burn-in problem and optimizing the compensation effect, thus improving the user's viewing and usage experience.
[0060] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0061] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0062] Figure 1 This is a flowchart illustrating a display method according to an exemplary embodiment.
[0063] Figure 2 This is a flowchart illustrating a display method according to an exemplary embodiment.
[0064] Figure 3 This is a flowchart illustrating a display method according to an exemplary embodiment.
[0065] Figure 4 This is a flowchart illustrating a display method according to an exemplary embodiment.
[0066] Figure 5 This is a flowchart illustrating a display method according to an exemplary embodiment.
[0067] Figure 6 This is a flowchart illustrating a display method according to an exemplary embodiment.
[0068] Figure 7 This is a block diagram illustrating a display device according to an exemplary embodiment.
[0069] Figure 8 This is a block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation
[0070] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0071] With the development of mobile devices and network technology, more and more users are using mobile devices such as smartphones and tablets for work or entertainment. Currently, most mobile display devices use OLED display technology. While OLED displays offer higher brightness and more vibrant colors, they are subject to burn-in issues due to the limited lifespan of organic light-emitting materials, affecting display quality.
[0072] To address the burn-in issue in OLED displays, current methods typically rely on compensation algorithms and data to adjust the brightness of pixels in the image to match a target baseline. This target baseline includes a predetermined brightness level, ensuring all pixels in the image have a uniform brightness and thus eliminating burn-in-like display problems. Current compensation data calculation methods involve first calculating cumulative data and then generating compensation data based on that cumulative data. Because the calculated cumulative data requires significant computing resources and storage space, electronic devices often compress the compensation data at a high compression rate. This leads to decreased accuracy of the compensation data and a poorer display quality after compensation, ultimately failing to eliminate burn-in-like display problems and resulting in a poor viewing and user experience.
[0073] To address the aforementioned issues, this disclosure provides a display method. This method involves determining multiple preset areas on a display screen and a first image within each preset area. Then, it determines first compensation data corresponding to each pixel in each first image. Finally, based on the first compensation data and pre-stored historical compensation data corresponding to each pixel, compensation is applied to each target pixel in the target image. This disclosure allows for direct compensation of each target pixel in the target image based on the first compensation data and historical compensation data. This eliminates the need to generate compensation data after generating cumulative data, reducing the consumption of computing resources and storage space. By reducing the consumption of computing resources and storage space, the compression ratio of the compensation data can be reduced, improving the accuracy of the compensation data. This effectively solves the screen burn-in problem and optimizes the compensation effect, thereby improving the user's viewing and usage experience.
[0074] The display method provided in this disclosure is executed by an electronic device, which may specifically be a mobile phone, tablet computer, laptop, smart robot, smart wearable device, or other smart device. Furthermore, the electronic device also includes various hardware resources and energy storage devices that provide power for the operation of these hardware resources. It should be noted that the display method in this disclosure is executed in a display driver chip.
[0075] Figure 1 This is a flowchart illustrating a display method according to an exemplary embodiment, performed by an electronic device. See also... Figure 1 The method includes the following steps:
[0076] Step S101: Determine multiple preset areas on the display screen and a first image in each preset area.
[0077] In this configuration, multiple first images are defined by at least one second image, which is the image currently displayed on the screen. Accordingly, each first image can be a portion of a second image.
[0078] In one example, the display screen can be divided into multiple preset areas, such as dividing the display screen into 30 equal areas. This embodiment does not limit the specific method of division; for example, the length of each preset area is 1 / 30th of the display screen length, and the width of each preset area is the same as the display screen width.
[0079] Because the images displayed on the screen may change in real time—for example, the current frame may display image A, and the next frame may display image B—the first image in the preset area will change along with the images displayed on the screen. Accordingly, the first image in each preset area may be determined by different images displayed on the screen; therefore, multiple first images are determined by at least one second image.
[0080] In some embodiments, the first image at each preset region can be determined at fixed intervals, such as determining the first image at the preset region every 0.2 seconds; or, the total time required to determine the first image at all preset regions can be set, and the determination of the first image at all preset regions can be completed within the total time.
[0081] Step S102: Determine the first compensation data corresponding to each pixel in each first image.
[0082] Each first image includes multiple pixels, and each first compensation data is the compensation data at the position corresponding to each pixel determined based on the currently displayed image. The currently displayed image is the first image.
[0083] In one example, each pixel corresponds to pixel attribute information, such as brightness parameters, grayscale parameters, temperature parameters, and frame rate parameters. The brightness parameter refers to the pixel's brightness value; for example, a brightness parameter of 500 nits. The grayscale parameter refers to the pixel's grayscale value, that is, the brightness level of the pixel; for example, a grayscale parameter of 255 levels. The temperature parameter refers to the temperature value of the electronic device, which can range from [0℃ to 50℃]. In one example, the temperature of the electronic device can be determined using temperature data obtained from a temperature sensor within the electronic device. The frame rate parameter refers to the display frame rate of the electronic device, which can include 60Hz and 120Hz.
[0084] In some embodiments, the brightness parameter can be a display brightness value (DBV). The DBV characterizes the brightness level of a pixel, and each pixel's brightness level corresponds to a specific brightness value. In some embodiments, the DBV can be represented by an integer value between 0 and 4095, with a higher DBV value indicating a higher pixel brightness. Accordingly, based on the correspondence between DBV and brightness, each integer value corresponds to a brightness value; for example, a DBV of 4095 corresponds to a brightness value of 500 nits.
[0085] In some embodiments, after determining the first compensation data corresponding to each pixel, the first compensation data corresponding to each pixel can be stored. For example, the first compensation data corresponding to each pixel can be stored in the memory of an electronic device, and the correspondence between the first compensation data and the pixels can be stored simultaneously. For example, pixel H can be stored as corresponding to the first compensation data h, and pixel G can be stored as corresponding to the first compensation data g. This facilitates compensation of target pixels in the target image in subsequent processes.
[0086] Step S103: Based on the first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel, compensation is performed on each target pixel in the target image.
[0087] Each historical compensation data point corresponds to the compensation data for each historical pixel in each historical image. Each historical image is the image displayed at a historical moment in each preset area. The target image is the image to be displayed on the screen. Each historical pixel corresponds to a pixel, that is, each pixel corresponds to a historical pixel, and each pixel also corresponds to historical compensation data.
[0088] In some embodiments, after compensating each target pixel in the target image, a compensated target image for each target pixel can be determined and displayed on a display screen. Specifically, each target pixel in the target image can be compensated, and the target image can be updated based on the compensated target pixels to obtain the compensated target image.
[0089] This disclosure allows for direct compensation of each target pixel in the target image based on first compensation data and historical compensation data. This eliminates the need to generate compensation data after generating cumulative data, reducing the consumption of computing resources and storage space. By reducing the consumption of computing resources and storage space, the compression ratio of the compensation data can be lowered, improving the accuracy of the compensation data. This effectively solves the screen burn-in problem and optimizes the compensation effect, thereby improving the user's viewing and usage experience. Furthermore, by effectively solving the screen burn-in problem in this disclosure, after-sales repair costs can be reduced, increasing availability. Additionally, this disclosure can divide the display screen into multiple preset areas and determine the first compensation data and historical compensation data for each pixel in each preset area. This block processing effectively saves the computing resources required for each compensation data calculation process and the memory space occupied by the compensation data, further improving the accuracy of the compensation data.
[0090] In some embodiments, a first brightness parameter, a first grayscale parameter, a first temperature parameter, and a first frame rate parameter for each pixel can be obtained, and first compensation data corresponding to each pixel can be determined based on the first brightness parameter, the first grayscale parameter, the first temperature parameter, and the first frame rate parameter. The first brightness parameter, the first grayscale parameter, the first temperature parameter, and the first frame rate parameter have the same meaning as the brightness parameter, grayscale parameter, temperature parameter, and frame rate parameter mentioned above, and will not be repeated here.
[0091] Specifically, based on the first brightness parameter, first grayscale parameter, first temperature parameter, and first frame rate parameter of each pixel, the gain value corresponding to each parameter of each pixel can be determined, and the first compensation data of each pixel can be determined based on the gain value corresponding to each parameter of each pixel. The gain value is used to adjust the parameters; for example, the gain value of the first brightness parameter is used to adjust the brightness value of the first brightness parameter to a preset brightness value. For example, the interpolation between the first brightness parameter and the preset brightness parameter of each pixel can be calculated, and the gain value of the first brightness parameter of each pixel can be calculated based on this interpolation. Similarly, the gain values of the first grayscale parameter, first temperature parameter, and first frame rate parameter of each pixel can be calculated separately in the above manner, and the first compensation data of each pixel can be determined based on all the gain values of each pixel.
[0092] In some embodiments, a first duration and preset compensation data can also be obtained, and the first duration and preset compensation data are added to the first compensation data determined in the above embodiments to determine the first compensation data. The following describes... Figure 2 The illustrated embodiment explains the process of determining the first compensation data.
[0093] Figure 2 This is a flowchart illustrating a display method according to an exemplary embodiment, performed by an electronic device. See also... Figure 2 The method includes the following steps:
[0094] Step S201: Obtain the first brightness parameter, first grayscale parameter, first temperature parameter and first frame rate parameter for each pixel, and obtain the first duration of the first image for all preset areas.
[0095] The first brightness parameter, first grayscale parameter, first temperature parameter, and first frame rate parameter are defined the same as those in the above embodiments, and will not be repeated here.
[0096] In some embodiments, the first image at each preset region can be determined sequentially, and the total time taken to determine the first images at all preset regions can be obtained. In one example, this total time is defined as the first duration. Specifically, the first image at the first preset region on the display screen can be determined, and the first compensation data and historical compensation data corresponding to each pixel in the first image at the first preset region can be determined. Then, the first image at the second preset region on the display screen can be determined, and the first compensation data and historical compensation data corresponding to each pixel in the first image at the second preset region can be determined. By continuously repeating the above process, the first compensation data and historical compensation data corresponding to each pixel in the first images at all preset regions can be determined, and the first duration can be determined based on the time taken for each determination process.
[0097] Step S202: Determine preset compensation data based on the first duration and preset correlation.
[0098] The preset compensation data includes preset brightness parameters, preset grayscale parameters, preset temperature parameters, and compensation data for each pixel's position under preset frame rate. The preset correlation is used to characterize the correspondence between duration and preset compensation data. In other words, the preset compensation data can be used to characterize the compensation data for each pixel under preset conditions (i.e., preset brightness parameters, preset grayscale parameters, preset temperature parameters, and preset frame rate).
[0099] It should be noted that the preset compensation data can be determined jointly by preset brightness gain parameters, preset grayscale gain parameters, preset temperature gain parameters, and preset frame rate gain parameters. For example, it can be calculated based on an algorithm relating these preset brightness gain parameters, preset grayscale gain parameters, preset temperature gain parameters, and preset frame rate gain parameters. The preset relationships can be displayed in the form of a LUT (Look Up Table), which includes the duration and preset compensation data. By searching this lookup table, the preset compensation data corresponding to the first duration can be determined.
[0100] It should be noted that since the preset compensation data is determined based on the first duration and the preset correlation, the preset compensation data for each pixel in the first image within the preset area within the time corresponding to the first duration is the same. For example, if the electronic device determines the first images (first image o, first image p) of all preset areas within the three minutes from 19:00 to 19:03, then the preset compensation data for each pixel in first image o and first image p is the same.
[0101] Step S203: Based on the first brightness parameter, first grayscale parameter, first temperature parameter, first frame rate parameter, first duration and preset compensation data of each pixel, determine the first compensation data corresponding to each pixel.
[0102] In some embodiments, a first brightness gain parameter for each pixel can be determined based on a first brightness parameter and a first correlation relationship; a first grayscale gain parameter for each pixel can be determined based on a first grayscale parameter and a second correlation relationship; a first temperature gain parameter for each pixel can be determined based on a first temperature parameter and a third correlation relationship; a first frame rate gain parameter for each pixel can be determined based on a first frame rate parameter and a fourth correlation relationship; and first compensation data corresponding to each pixel can be determined based on the first brightness gain parameter, the first grayscale gain parameter, the first temperature gain parameter, the first frame rate gain parameter, a first duration, and preset compensation data. The first brightness gain parameter characterizes the brightness value to be increased for the pixel; for example, the first brightness gain parameter can be 10 nits, indicating that the brightness of the pixel needs to be increased by 10 nits. Similar to the first brightness gain parameter, the first grayscale gain parameter, the first temperature gain parameter, and the first frame rate gain parameter all represent the value to be increased for each parameter.
[0103] To make it easier to understand, the relationships defined above will be discussed below:
[0104] The first correlation is used to characterize the correspondence between brightness parameters and brightness gain parameters; the second correlation is used to characterize the correspondence between grayscale parameters and grayscale gain parameters; the third correlation is used to characterize the correspondence between temperature parameters and temperature gain parameters; the fourth correlation is used to characterize the correspondence between frame rate parameters and frame rate gain parameters; and the fifth correlation is used to characterize the correspondence between duration and preset compensation data.
[0105] In one example, the brightness gain parameter corresponding to each brightness parameter can be calculated using an interpolation algorithm based on known brightness parameters and brightness gain parameters. Similarly, the grayscale gain parameter corresponding to each grayscale parameter can be calculated using an interpolation algorithm based on known grayscale parameters and grayscale gain parameters. The calculation methods for temperature gain parameters and frame rate gain parameters are the same as those for brightness gain parameters, and will not be repeated here.
[0106] In some embodiments, the above-mentioned associations can be displayed in the form of a lookup table. Accordingly, the first association can refer to a lookup table of brightness parameters and brightness gain parameters, the second association can refer to a lookup table of grayscale parameters and grayscale gain parameters, the third association can refer to a lookup table of temperature parameters and temperature gain parameters, and the fourth association can refer to a lookup table of frame rate parameters and frame rate gain parameters.
[0107] Thus, given the known compensation data for each pixel under the preset conditions, the first compensation data for each pixel under the current conditions can be determined based on the relationship between the preset conditions and the current conditions (i.e., under the first brightness parameter, the first grayscale parameter, the first temperature parameter, and the first frame rate parameter).
[0108] Since the attribute information of the preset situation and the current situation may be different, such as the first brightness parameter being different from the preset brightness parameter, the first gray level parameter being different from the preset gray level parameter, etc., when determining the first compensation data based on the preset compensation data, the attribute information corresponding to the pixel needs to be processed into data under the same condition as the preset compensation data.
[0109] In some embodiments, a first coefficient for each pixel can be determined based on a first brightness parameter and a preset brightness parameter; a second coefficient for each pixel can be determined based on a first grayscale parameter and a preset grayscale parameter; a third coefficient for each pixel can be determined based on a first temperature parameter and a preset temperature parameter; and a fourth coefficient for each pixel can be determined based on a first frame rate parameter and a preset frame rate parameter. Then, first compensation data corresponding to each pixel can be determined based on the first brightness gain parameter, the first coefficient, the first grayscale gain parameter, the second coefficient, the first temperature gain parameter, the third coefficient, the first frame rate gain parameter, the fourth coefficient, the first duration, and preset compensation data.
[0110] Optionally, the first brightness gain parameter, first coefficient, first grayscale gain parameter, second coefficient, first temperature gain parameter, third coefficient, first frame rate gain parameter, fourth coefficient, first duration, and preset compensation data of each pixel are multiplied to obtain the first compensation data corresponding to each pixel.
[0111] Specifically, the first coefficient can be used to adjust the first brightness gain parameter, the second coefficient can be used to adjust the first grayscale gain parameter, the third coefficient can be used to adjust the first temperature gain parameter, and the fourth coefficient can be used to adjust the first frame rate gain parameter. It should be noted that each pixel's first brightness parameter, preset brightness parameter, and first coefficient; each pixel's first grayscale parameter, preset grayscale parameter, and second coefficient; each pixel's first temperature parameter, preset temperature parameter, and third coefficient; and each pixel's first frame rate parameter, preset frame rate parameter, and fourth coefficient are all configured with corresponding relationships. These multiple relationships can be stored in the electronic device in the form of multiple display lookup tables.
[0112] In one example, the first, second, third, and fourth coefficients can be determined based on the aforementioned correspondences. For instance, when the first brightness parameter is 200 nits and the preset brightness parameter is 500 nits, the first coefficient is 0.7; when the first brightness parameter is 300 nits and the preset brightness parameter is 600 nits, the first coefficient is 0.8; and when the first grayscale parameter is 50 grayscales and the preset grayscale parameter is 255 grayscales, the first coefficient is 0.8. Thus, by adjusting the first brightness gain parameter, first grayscale gain parameter, first temperature gain parameter, and first frame rate gain parameter using the first, second, third, and fourth coefficients, the gain parameters are adjusted to match the data under the same conditions as the preset compensation data, facilitating the determination of the first compensation data in subsequent processes.
[0113] In some embodiments, the first compensation data can be calculated using the following formula:
[0114] OFFSET1 = Gain DBV *a*Gain gary *b*Gain t *c*Gain fps *d*T*offset
[0115] Where OFFSET1 represents the first compensation data, Gain DBV Gain represents the first brightness gain parameter. gary Gain represents the first grayscale gain parameter. t Indicates the first temperature gain parameter, Gain fpsLet T represent the first frame rate gain parameter, T represent the first duration, offset represent the preset compensation data, and a, b, c, and d represent the first, second, third, and fourth coefficients, respectively. Optionally, since the above formula includes many parameters, for ease of discussion, it can be defined as an aging model.
[0116] To facilitate understanding, a specific example is given below to illustrate the process of determining the first compensation data:
[0117] Assume a pixel has a first brightness parameter of 500 nits, a first grayscale parameter of 100 grayscale levels, a first temperature parameter of 25℃, a first frame rate parameter of 120Hz, and a first duration of 5 minutes. Furthermore, set the preset compensation data to correspond to preset brightness parameters of 500 nits, preset grayscale parameters of 255 grayscale levels, preset temperature parameters of 30℃, and preset frame rate parameters of 120Hz.
[0118] For this pixel: First, the preset compensation data can be determined to be 10 based on a first duration of 5 minutes and a preset correlation (the first duration of 5 minutes corresponds to the preset compensation data of 10). Then, based on a first brightness parameter of 500 nits and a first correlation, the first brightness gain parameter can be determined to be 1; based on a first grayscale parameter of 100 grayscale and a second correlation, the first grayscale gain parameter can be determined to be 3; based on a first temperature parameter of 25℃ and a third correlation, the first temperature gain parameter can be determined to be 1; and based on a first frame rate parameter of 120Hz and a fourth correlation, the first frame rate gain parameter can be determined to be 1. Next, the various gain parameters can be adjusted to unify the preset compensation data and the corresponding pixel values: based on the first brightness parameter of 500 nits and the preset brightness parameter of 500 nits, the first coefficient is determined to be 1; based on the first grayscale parameter of 100 grayscale and the preset grayscale parameter of 255 grayscale, the second coefficient is determined to be 0.6; based on the first temperature parameter of 25℃ and the preset temperature parameter of 30℃, the third coefficient is determined to be 0.9; based on the first frame rate parameter of 120Hz and the preset frame rate parameter of 120Hz, the fourth coefficient is determined to be 1.
[0119] Finally, an aging model can be used to multiply the first brightness gain parameter, the first coefficient, the first grayscale gain parameter, the second coefficient, the first temperature gain parameter, the third coefficient, the first frame rate gain parameter, the fourth coefficient, the first duration, and the preset compensation data to obtain the first compensation data. Correspondingly, substituting the values of each parameter into the aging model, the first compensation data for this pixel can be determined to be 1*3*1*1*1*0.6*0.9*1*10 = 16.2. Thus, compensation can be applied to the target pixel in the target image based on the first compensation data of 16.2.
[0120] Thus, the first compensation data corresponding to each pixel can be calculated using the above formula, and the target pixels of the target image can be compensated based on the first compensation data.
[0121] In this embodiment of the disclosure, the first compensation data of each pixel can be determined by preset compensation data and multiple parameters of each pixel (first brightness parameter, first brightness gain parameter, etc.). Based on the first compensation data corresponding to each pixel, the target pixel in the target image can be compensated, thereby effectively solving the screen burn-in problem on the display screen and improving the user's viewing and usage experience.
[0122] In some embodiments, compensation is performed on each target pixel in the target image based on first compensation data corresponding to each pixel and pre-stored historical compensation data corresponding to each pixel. This includes: determining second compensation data corresponding to each pixel based on the first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel; and compensating each target pixel in the target image based on the second compensation data corresponding to each pixel. Each piece of second compensation data is compensation data at the position corresponding to each pixel determined based on historically displayed images and the currently displayed image. The historically displayed images are historical images, and each pixel corresponds one-to-one with a target pixel.
[0123] Optionally, the first compensation data corresponding to each pixel can be added to the pre-stored historical compensation data corresponding to each pixel to obtain the second compensation data corresponding to each pixel. For example, if the first compensation data corresponding to pixel 1 is X1 and the historical compensation data corresponding to pixel 1 is X, then the second compensation data is X+X1. Adding the first compensation data corresponding to each pixel to the pre-stored historical compensation data corresponding to each pixel allows the second compensation data to include the historical compensation data, thereby making the second compensation data more accurate. Based on the second compensation data, the compensated target image has a better display effect, effectively solving the screen burn-in problem.
[0124] It should be noted that after determining the second compensation data, the historical compensation data can be updated based on the second compensation data; for example, the second compensation data can be determined as the new historical compensation data. Furthermore, the process of determining the first compensation data for each pixel, and determining the second compensation data based on the first compensation data and historical compensation data for each pixel, as shown in this embodiment, can be continuously looped to continuously update the historical compensation data. Additionally, after determining the second compensation data, the electronic device stores the second compensation data and the updated historical compensation data; for example, the second compensation data can be saved to the electronic device's Flash memory.
[0125] In some embodiments, the second compensation data can be determined through the above embodiments to be compensation data under a preset condition, and the target image is the image to be displayed on the screen. Since the target image may not be under the preset condition, it is necessary to adjust the second compensation data based on the actual display condition of the target image to obtain compensation data suitable for the target image. The following is a summary of the process. Figure 3 The illustrated embodiment describes the process of compensating each target pixel in the target image based on the second compensation data corresponding to each pixel.
[0126] Figure 3 This is a flowchart illustrating a display method according to an exemplary embodiment, performed by an electronic device. See also... Figure 3 The method includes the following steps:
[0127] Step S301: Determine the target brightness parameter and target grayscale parameter for each target pixel in the target image.
[0128] In some embodiments, the target image can be converted into an image in a color space related to the brightness parameter. For example, the target image can be converted into an image in the H (hue)S (saturation)V (brightness) color space, and the target brightness parameter of each target pixel can be determined by the V parameter of each target pixel.
[0129] In some embodiments, the target image can be converted into a black and white image to determine the target grayscale parameters of each target pixel in the target image.
[0130] Step S302: Based on the target brightness parameter and target grayscale parameter of each target pixel in the target image, and the second compensation data corresponding to each pixel, compensation is performed on each target pixel in the target image.
[0131] It should be noted that when using the second compensation data, the pre-stored second compensation data can be directly retrieved from the electronic device. In one example, the second compensation data can be burned into the Flash memory in real time, and upon power-on, the data in the Flash memory can be read back into the RAM (Random Access Memory). In this way, the second compensation data can be directly retrieved during the subsequent compensation of the target image.
[0132] In some embodiments, target compensation data for each target pixel in the target image can be determined based on the target brightness parameters and target grayscale parameters of each target pixel in the target image, as well as the second compensation data corresponding to each pixel. Compensation is then performed on each target pixel in the target image based on the target compensation data. The target compensation data is the compensation data at the position corresponding to each target pixel determined based on the historically displayed image, the currently displayed image, and the image to be displayed. The image to be displayed is the target image. That is, compensation data applicable to each target pixel, i.e., target compensation data, can be determined based on the second compensation data and the attribute information corresponding to each target pixel.
[0133] In some embodiments, a target brightness gain parameter corresponding to the target brightness parameter of each target pixel and a target grayscale gain parameter corresponding to the target grayscale parameter of each target pixel can be determined. Specifically, the target brightness gain parameter can be determined based on a first correlation relationship and the target brightness parameter, and the target grayscale gain parameter can be determined based on a second correlation relationship and the target grayscale parameter, which will not be elaborated further here.
[0134] Since the second compensation data is compensation data under preset brightness parameters and preset grayscale parameters, in some embodiments, a first target coefficient can be determined for each target pixel based on the target brightness parameters and preset brightness parameters. The first target coefficient is used to adjust the target brightness gain parameter. A second target coefficient is determined for each target pixel based on the target grayscale parameters and preset grayscale parameters. The second target coefficient is used to adjust the target grayscale gain parameter. Then, based on the target brightness gain parameter, the first target coefficient, the target grayscale gain parameter, the second target coefficient, and the second compensation data for each target pixel, the target compensation data corresponding to each target pixel is determined.
[0135] Optionally, the target compensation data for each target pixel is determined by multiplying the target brightness gain parameter, the first target coefficient, the target grayscale gain parameter, the second target coefficient, and the second compensation data. For example, for each target pixel: the first target coefficient is multiplied by the target brightness gain parameter to obtain the adjusted target brightness gain parameter; the second target coefficient is multiplied by the target grayscale gain parameter to obtain the adjusted target grayscale gain parameter; and the adjusted target brightness gain parameter, the adjusted target grayscale gain parameter, and the second compensation data are then multiplied to obtain the target compensation data. In one example, the calculation method of the first target coefficient and the second target coefficient can refer to the calculation method of the first coefficient, the second coefficient, etc. in the above embodiments, and will not be repeated here.
[0136] Here is a specific example:
[0137] For example, the second compensation data is 10, the preset brightness parameter is 500 nits, the preset grayscale parameter is 255 grayscale, the target brightness parameter of a certain target pixel is 200 nits, the target brightness gain parameter is 2, the target grayscale parameter is 50 grayscale, and the target grayscale gain parameter is 1. Based on the correspondence between the target brightness parameter, the preset brightness parameter, and the first target coefficient, the first target coefficient can be determined to be 0.7; based on the correspondence between the target grayscale parameter, the preset grayscale parameter, and the second target coefficient, the second target coefficient can be determined to be 0.8. Therefore, the target data for this target pixel is 2 * 0.7 * 1 * 0.8 * 10 = 11.2.
[0138] It should be noted that it is also possible to obtain parameters such as target temperature parameters and target frame rate parameters of target pixels in the target image, and add parameters related to the target temperature parameters and target frame rate parameters to determine more accurate target compensation data. For example, the target temperature gain parameter corresponding to the target temperature parameter, as well as the third target coefficient between the target temperature parameter and the preset temperature parameter, can be determined. Based on the original target brightness gain parameter, first target coefficient, target grayscale gain parameter, and second target coefficient, the target temperature gain parameter and the third target coefficient are added to determine the target compensation data.
[0139] The embodiments of this disclosure can determine target compensation data for target pixels based on the display of target pixels in the target image, thereby improving the accuracy of the compensation data and obtaining an image with better compensation effect.
[0140] In some embodiments, the first image is an image in a preset color space, which includes multiple color channels. To obtain better compensation results, compensation can be performed on each target pixel in the target image under each color channel. The following describes... Figure 4 The illustrated embodiment explains the process of compensating each target pixel in the target image under each color channel.
[0141] Figure 4 This is a flowchart illustrating a display method according to an exemplary embodiment, performed by an electronic device. See also... Figure 4 The method includes the following steps:
[0142] Step S401: Determine the first compensation data corresponding to each pixel in each color channel of each first image.
[0143] The preset color space can be the RGB color space. Accordingly, the first compensation data for each pixel in each first image under the R, G, and B color channels can be determined.
[0144] Based on the above embodiments, it can be determined that the first compensation data can be determined by preset compensation data. Therefore, in order to optimize the compensation effect of each color channel, a corresponding first duration and a display lookup table for preset compensation data can be set for each color channel. That is, different color channels can correspond to different preset compensation data under the same preset conditions, i.e., different offset values. For example, under the same preset brightness parameters, preset grayscale parameters, etc., the preset compensation data for the R color channel is 10, the preset compensation data for the G color channel is 20, and the preset compensation data for the B color channel is 15. In this way, the first compensation data corresponding to each pixel in each first image under each color channel can be determined in a targeted manner.
[0145] Step S402: Based on the first compensation data corresponding to each pixel in each color channel and the pre-stored historical compensation data corresponding to each pixel in each color channel, determine the second compensation data corresponding to each pixel in each color channel.
[0146] Accordingly, each pixel has corresponding pre-stored historical compensation data for different color channels. In some embodiments, the first compensation data of each pixel in the same color channel and the pre-stored historical compensation data can be added together to obtain the second compensation data of each pixel in each color channel. For example, if the first compensation data of a pixel in the R color channel is R1, the first compensation data of the pixel in the G color channel is G1, the first compensation data of the pixel in the B color channel is B1, the historical compensation data of the pixel in the R color channel is R, the historical compensation data of the pixel in the G color channel is G, and the historical compensation data of the pixel in the B color channel is B, then the second compensation data of the pixel in the R color channel is R+R1, the second compensation data of the pixel in the G color channel is G+G1, and the second compensation data of the pixel in the B color channel is B+B1. In this way, the second compensation data of all pixels in each color channel can be determined.
[0147] Step S403: Based on the second compensation data corresponding to each pixel in each color channel, compensate for each target pixel in the target image.
[0148] Correspondingly, compensation can be performed on each target pixel in the target image under each color channel. For example, based on the second compensation data of each pixel under the R color channel, the display data of the target pixel under the R color channel can be compensated; or, based on the second compensation data of each pixel under the G color channel, the display data of the target pixel under the G color channel can be compensated. The specific compensation process will not be elaborated here.
[0149] The embodiments disclosed herein can compensate for target pixels in each color channel, thereby obtaining better compensation effects and images with better display effects, improving the user's viewing and usage experience.
[0150] To verify the technical effects of the embodiments of this disclosure, the memory occupied by the related technologies and the display methods shown in the embodiments of this disclosure during actual use is calculated below:
[0151] In related technologies, for a conventional 1.5k display screen, calculating based on 1 pixel * 1 pixel, the space occupied for compensating pixels on the display screen is approximately 250 Mbit. Under the same conditions, in this embodiment, the cumulative space occupied by the first compensation data and historical compensation data is 1220 * 2712 * 2 * 8 / 1024 / 1024 / 30 = 1.68 Mbit, and the space occupied by the compensation portion for each target pixel in the target image is 1220 * 2712 * 2 * 8 / 1024 / 1024 = 50.48 Mbit. Therefore, the total space occupied in this embodiment is approximately 52 Mbit. Thus, the space occupied for pixel compensation on the display screen in this embodiment is significantly less than that occupied by pixel compensation on the display screen in related technologies. Therefore, this embodiment can effectively save computing resources and space usage, and improve the accuracy of the compensation data.
[0152] Figure 5 This is a flowchart illustrating a display method according to an exemplary embodiment. First, a first image is determined in each preset region. Then, based on a first brightness gain parameter, a first grayscale gain parameter, a first temperature gain parameter, and a first frame rate gain parameter corresponding to each pixel in the first image, first compensation data corresponding to each pixel is determined. Second compensation data is determined based on the first compensation data and historical compensation data corresponding to each pixel. The second compensation data can be burned into Flash memory and read back into RAM after power-on. Next, based on the second compensation data and the target brightness gain parameter and target grayscale gain parameter of each target pixel in the target image, target compensation data corresponding to each target pixel is determined. Based on the target compensation data, each target pixel in the target image is compensated to obtain the compensated target image.
[0153] like Figure 6 As shown, a complete embodiment is given below:
[0154] S601. Determine multiple preset areas on the display screen and a first image in each preset area.
[0155] S602, obtain the first brightness parameter, first grayscale parameter, first temperature parameter and first frame rate parameter of each pixel, and obtain the first duration of the first image at all preset areas.
[0156] S603. Based on the first duration and the preset correlation, determine the preset compensation data; the preset compensation data includes preset brightness parameters, preset grayscale parameters, preset temperature parameters, and compensation data at the position corresponding to each pixel under the preset frame rate.
[0157] S604. Determine the first brightness gain parameter, the first grayscale gain parameter, the first temperature gain parameter, and the first frame rate gain parameter for each pixel.
[0158] S605, Determine the first coefficient, second coefficient, third coefficient, and fourth coefficient for each pixel.
[0159] S606. Based on the first brightness gain parameter, first coefficient, first grayscale gain parameter, second coefficient, first temperature gain parameter, third coefficient, first frame rate gain parameter, fourth coefficient, first duration and preset compensation data for each pixel, determine the first compensation data corresponding to each pixel.
[0160] S607. Based on the first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel, determine the second compensation data corresponding to each pixel.
[0161] S608. Determine the target brightness parameter and target grayscale parameter for each target pixel in the target image.
[0162] S609. Determine the target brightness gain parameter, target grayscale gain parameter, first target coefficient, and second target coefficient for each target pixel in the target image.
[0163] S610. Based on the target brightness gain parameter, first target coefficient, target grayscale gain parameter, second target coefficient, and second compensation data of each target pixel, determine the target compensation data corresponding to each target pixel.
[0164] S611. Based on the target compensation data corresponding to each target pixel in the target image, compensate for each target pixel in the target image.
[0165] S612. Determine the target image after compensation for each target pixel.
[0166] S613. Display the compensated target image on the display screen.
[0167] Figure 7 This is a block diagram illustrating a display device according to an exemplary embodiment, configured in an electronic device. See also... Figure 7 The device includes:
[0168] The determining module 701 is configured to determine a plurality of preset areas on the display screen and a first image at each preset area; the plurality of first images are determined by at least one second image, the second image being the image currently displayed on the display screen, and the first image being a portion of the second image.
[0169] The determining module 701 is configured to determine first compensation data corresponding to each pixel in each first image; each first compensation data is compensation data at the position corresponding to each pixel determined based on the currently displayed image.
[0170] The processing module 702 is configured to compensate each target pixel in the target image based on the first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel; each historical compensation data is the compensation data corresponding to each historical pixel in each historical image, each historical image is the image displayed at a historical moment in each preset area, and the target image is the image to be displayed on the display screen.
[0171] In some embodiments, the processing module 702 is configured to:
[0172] Based on the first compensation data corresponding to each pixel and the pre-stored historical compensation data corresponding to each pixel, the second compensation data corresponding to each pixel is determined; each second compensation data is the compensation data at the position corresponding to each pixel determined based on the historically displayed image and the currently displayed image;
[0173] Based on the second compensation data corresponding to each pixel, compensation is performed on each target pixel in the target image; each pixel corresponds one-to-one with a target pixel.
[0174] In some embodiments, the processing module 702 is configured to:
[0175] The first compensation data corresponding to each pixel is added to the pre-stored historical compensation data corresponding to each pixel to obtain the second compensation data corresponding to each pixel.
[0176] In some embodiments, the processing module 702 is configured to:
[0177] Determine the target brightness parameters and target grayscale parameters for each target pixel in the target image;
[0178] Based on the target brightness parameters and target grayscale parameters of each target pixel in the target image, as well as the second compensation data corresponding to each pixel, compensation is performed on each target pixel in the target image.
[0179] In some embodiments, the processing module 702 is configured to:
[0180] Based on the target brightness parameter and target grayscale parameter of each target pixel in the target image, and the second compensation data corresponding to each pixel, the target compensation data corresponding to each target pixel in the target image is determined; the target compensation data is the compensation data at the position of each target pixel determined based on the historically displayed image, the currently displayed image, and the image to be displayed.
[0181] Compensation is performed on each target pixel in the target image based on the target compensation data corresponding to each target pixel.
[0182] In some embodiments, the processing module 702 is configured to:
[0183] Based on the target brightness parameter of each target pixel and the first correlation relationship, the target brightness gain parameter of each target pixel is determined; the first correlation relationship is used to characterize the correspondence between the brightness parameter and the brightness gain parameter.
[0184] Based on the target grayscale parameters and the second correlation of each target pixel, the target grayscale gain parameters of each target pixel are determined; the second correlation is used to characterize the correspondence between the grayscale parameters and the grayscale gain parameters.
[0185] Based on the target brightness parameters and preset brightness parameters of each target pixel, a first target coefficient is determined for each target pixel; the first target coefficient is used to adjust the target brightness gain parameter.
[0186] Based on the target grayscale parameters and preset grayscale parameters of each target pixel, a second target coefficient is determined for each target pixel; the second target coefficient is used to adjust the target grayscale gain parameter.
[0187] Based on the target brightness gain parameter, first target coefficient, target grayscale gain parameter, second target coefficient, and second compensation data of each target pixel, the target compensation data corresponding to each target pixel is determined.
[0188] In some embodiments, the determining module 701 is configured to:
[0189] Obtain the first brightness parameter, first grayscale parameter, first temperature parameter, and first frame rate parameter for each pixel, and obtain the first duration of the first image for all preset areas;
[0190] Based on the first duration and the preset correlation, preset compensation data is determined; the preset compensation data includes preset brightness parameters, preset grayscale parameters, preset temperature parameters, and compensation data at the position of each pixel under the preset frame rate; the preset correlation is used to characterize the correspondence between duration and preset compensation data.
[0191] Based on the first brightness parameter, first grayscale parameter, first temperature parameter, first frame rate parameter, first duration and preset compensation data of each pixel, the first compensation data corresponding to each pixel is determined.
[0192] In some embodiments, the determining module 701 is configured to:
[0193] Based on the first brightness parameter and the first correlation relationship of each pixel, the first brightness gain parameter of each pixel is determined; the first correlation relationship is used to characterize the correspondence between the brightness parameter and the brightness gain parameter.
[0194] Based on the first grayscale parameter and the second correlation of each pixel, the first grayscale gain parameter of each pixel is determined; the second correlation is used to characterize the correspondence between the grayscale parameter and the grayscale gain parameter.
[0195] Based on the first temperature parameter and the third correlation of each pixel, the first temperature gain parameter of each pixel is determined; the third correlation is used to determine the correspondence between the temperature parameter and the temperature gain parameter.
[0196] Based on the first frame rate parameter and the fourth correlation for each pixel, the first frame rate gain parameter for each pixel is determined; the fourth correlation is used to characterize the correspondence between the frame rate parameter and the frame rate gain parameter.
[0197] Based on the first brightness gain parameter, first grayscale gain parameter, first temperature gain parameter, first frame rate gain parameter, first duration and preset compensation data for each pixel, the first compensation data corresponding to each pixel is determined.
[0198] In some embodiments, the determining module 701 is configured to:
[0199] Based on the first brightness parameter and the preset brightness parameter of each pixel, a first coefficient is determined for each pixel; the first coefficient is used to adjust the first brightness gain parameter.
[0200] Based on the first grayscale parameter and the preset grayscale parameter of each pixel, a second coefficient is determined for each pixel; the second coefficient is used to adjust the first grayscale gain parameter.
[0201] Based on the first temperature parameter and the preset temperature parameter of each pixel, a third coefficient is determined for each pixel; the third coefficient is used to adjust the first temperature gain parameter.
[0202] Based on the first frame rate parameter and the preset frame rate parameter for each pixel, a fourth coefficient is determined for each pixel; the fourth coefficient is used to adjust the first frame rate gain parameter.
[0203] Based on the first brightness gain parameter, first coefficient, first grayscale gain parameter, second coefficient, first temperature gain parameter, third coefficient, first frame rate gain parameter, fourth coefficient, first duration, and preset compensation data for each pixel, the first compensation data corresponding to each pixel is determined.
[0204] In some embodiments, the first image is an image in a preset color space, the preset color space including multiple color channels, and the determining module 701 is configured to:
[0205] Determine the first compensation data corresponding to each pixel in each color channel of each first image.
[0206] In some embodiments, the pre-stored historical compensation data corresponding to each pixel includes the pre-stored historical compensation data corresponding to each pixel in each color channel. The determining module 701 is configured to: determine the second compensation data corresponding to each pixel in each color channel based on the first compensation data corresponding to each pixel in each color channel and the pre-stored historical compensation data corresponding to each pixel in each color channel.
[0207] Compensation is performed on each target pixel in the target image based on the second compensation data corresponding to each pixel in each color channel.
[0208] In some embodiments, the processing module 702 is configured to:
[0209] Determine the target image after compensation for each target pixel;
[0210] The compensated target image is displayed on the screen.
[0211] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0212] This disclosure also provides an electronic device, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the display method described in the above embodiments.
[0213] Figure 8 This is a block diagram of an electronic device 800 according to an exemplary embodiment.
[0214] Reference Figure 8The electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0215] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0216] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 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 storage, flash memory, magnetic disk, or optical disk.
[0217] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.
[0218] Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0219] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0220] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0221] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 can detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0222] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0223] In an exemplary embodiment, the electronic device 800 may 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 methods described above.
[0224] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of an electronic device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0225] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the display method provided by an exemplary embodiment of this disclosure.
[0226] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0227] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A display method characterized by comprising: The method comprises: determining a plurality of preset regions on a display screen and a first image at each preset region; a plurality of the first images are determined by at least one second image, the second image is an image currently displayed on the display screen, and the first image is a partial region in the second image; determining first compensation data corresponding to each pixel point in each first image; each first compensation data is compensation data corresponding to each pixel point at a position determined based on the image currently displayed; compensating each target pixel point in a target image based on the first compensation data corresponding to each pixel point and the pre-stored historical compensation data corresponding to each pixel point; each historical compensation data is compensation data corresponding to each historical pixel point in each historical image, the historical image is an image displayed at a historical time at each preset region, and the target image is an image to be displayed on the display screen.
2. The display method according to claim 1, wherein The compensation of each target pixel point in the target image based on the first compensation data corresponding to each pixel point and the pre-stored historical compensation data corresponding to each pixel point comprises: determining second compensation data corresponding to each pixel point based on the first compensation data corresponding to each pixel point and the pre-stored historical compensation data corresponding to each pixel point; each second compensation data is compensation data corresponding to each pixel point at a position determined based on the historical image and the image currently displayed; compensating each target pixel point in the target image based on the second compensation data corresponding to each pixel point; the pixel point and the target pixel point correspond one by one.
3. The display method according to claim 2, wherein The determination of the second compensation data corresponding to each pixel point based on the first compensation data corresponding to each pixel point and the pre-stored historical compensation data corresponding to each pixel point comprises: adding the first compensation data corresponding to each pixel point and the pre-stored historical compensation data corresponding to each pixel point to obtain the second compensation data corresponding to each pixel point.
4. The display method according to claim 3, wherein The compensation of each target pixel point in the target image based on the second compensation data corresponding to each pixel point comprises: determining a target brightness parameter and a target gray scale parameter of each target pixel point in the target image; compensating each target pixel point in the target image based on the target brightness parameter and the target gray scale parameter of each target pixel point in the target image and the second compensation data corresponding to each pixel point.
5. The display method according to claim 4, wherein The compensation of each target pixel point in the target image based on the target brightness parameter and the target gray scale parameter of each target pixel point in the target image and the second compensation data corresponding to each pixel point comprises: determine target compensation data corresponding to each target pixel point in the target image based on the target brightness parameter and the target grayscale parameter of each target pixel point in the target image and the second compensation data corresponding to each pixel point; the target compensation data is compensation data at a position corresponding to each target pixel point determined based on a historical displayed image, a currently displayed image and an image to be displayed; compensate each target pixel point in the target image based on the target compensation data corresponding to each target pixel point in the target image.
6. The display method according to claim 5, wherein The second compensation data is compensation data corresponding to each pixel point under preset brightness parameters and preset grayscale parameters. The determination of the target compensation data corresponding to each target pixel point in the target image based on the target brightness parameter and the target grayscale parameter of each target pixel point in the target image and the second compensation data corresponding to each pixel point includes: determine a target brightness gain parameter of each target pixel point based on the target brightness parameter of each target pixel point and a first correlation relationship; the first correlation relationship is used to represent a corresponding relationship between a brightness parameter and a brightness gain parameter; determine a target grayscale gain parameter of each target pixel point based on the target grayscale parameter of each target pixel point and a second correlation relationship; the second correlation relationship is used to represent a corresponding relationship between a grayscale parameter and a grayscale gain parameter; determine a first target coefficient of each target pixel point based on the target brightness parameter of each target pixel point and the preset brightness parameter; the first target coefficient is used to adjust the target brightness gain parameter; determine a second target coefficient of each target pixel point based on the target grayscale parameter of each target pixel point and the preset grayscale parameter; the second target coefficient is used to adjust the target grayscale gain parameter; determine the target compensation data corresponding to each target pixel point based on the target brightness gain parameter, the first target coefficient, the target grayscale gain parameter, the second target coefficient of each target pixel point and the second compensation data.
7. The display method according to claim 1, wherein The determination of the first compensation data corresponding to each pixel point in each first image includes: obtain a first brightness parameter, a first grayscale parameter, a first temperature parameter and a first frame rate parameter of each pixel point, and obtain a first time length for determining the first image at all preset regions; determine preset compensation data based on the first time length and a preset correlation relationship; the preset compensation data includes compensation data at a position corresponding to each pixel point under preset brightness parameters, preset grayscale parameters, preset temperature parameters and preset frame rates, and the preset correlation relationship is used to represent a corresponding relationship between a time length and preset compensation data; determine the first compensation data corresponding to each pixel point based on the first brightness parameter, the first grayscale parameter, the first temperature parameter, the first frame rate parameter, the first time length and the preset compensation data of each pixel point.
8. The display method according to claim 7, wherein The first compensation data corresponding to each pixel point is determined based on the first brightness parameter, the first gray scale parameter, the first temperature parameter, the first frame rate parameter, the first time length and the preset compensation data of each pixel point. A first brightness gain parameter of each pixel point is determined based on the first brightness parameter and a first correlation of each pixel point; the first correlation is used to represent the corresponding relationship between the brightness parameter and the brightness gain parameter. A first gray scale gain parameter of each pixel point is determined based on the first gray scale parameter and a second correlation of each pixel point; the second correlation is used to represent the corresponding relationship between the gray scale parameter and the gray scale gain parameter. A first temperature gain parameter of each pixel point is determined based on the first temperature parameter and a third correlation of each pixel point; the third correlation is used to represent the corresponding relationship between the temperature parameter and the temperature gain parameter. A first frame rate gain parameter of each pixel point is determined based on the first frame rate parameter and a fourth correlation of each pixel point; the fourth correlation is used to represent the corresponding relationship between the frame rate parameter and the frame rate gain parameter. The first compensation data corresponding to each pixel point is determined based on the first brightness gain parameter, the first gray scale gain parameter, the first temperature gain parameter, the first frame rate gain parameter, the first time length and the preset compensation data of each pixel point.
9. The display method according to claim 8, wherein The first compensation data corresponding to each pixel point is determined based on the first brightness gain parameter, the first gray scale gain parameter, the first temperature gain parameter, the first frame rate gain parameter, the first time length and the preset compensation data of each pixel point. A first coefficient of each pixel point is determined based on the first brightness parameter and the preset brightness parameter of each pixel point; the first coefficient is used to adjust the first brightness gain parameter. A second coefficient of each pixel point is determined based on the first gray scale parameter and the preset gray scale parameter of each pixel point; the second coefficient is used to adjust the first gray scale gain parameter. A third coefficient of each pixel point is determined based on the first temperature parameter and the preset temperature parameter of each pixel point; the third coefficient is used to adjust the first temperature gain parameter. A fourth coefficient of each pixel point is determined based on the first frame rate parameter and the preset frame rate parameter of each pixel point; the fourth coefficient is used to adjust the first frame rate gain parameter. The first compensation data corresponding to each pixel point is determined based on the first brightness gain parameter, the first coefficient, the first gray scale gain parameter, the second coefficient, the first temperature gain parameter, the third coefficient, the first frame rate gain parameter, the fourth coefficient, the first time length and the preset compensation data of each pixel point.
10. The display method according to claim 1, wherein The first image is an image in a preset color space, the preset color space includes a plurality of color channels, and the first compensation data corresponding to each pixel point in each first image is determined by: The first compensation data corresponding to each pixel point in each color channel of each first image is determined.
11. The display method according to claim 10, wherein The pre-stored historical compensation data corresponding to each pixel point includes pre-stored historical compensation data corresponding to each pixel point in each color channel. The compensation of each target pixel point in the target image based on the first compensation data corresponding to each pixel point and the pre-stored historical compensation data corresponding to each pixel point includes: determining the second compensation data corresponding to each pixel point in each color channel based on the first compensation data corresponding to each pixel point in each color channel and the pre-stored historical compensation data corresponding to each pixel point in each color channel; compensating each target pixel point in the target image based on the second compensation data corresponding to each pixel point in each color channel.
12. The display method according to claim 1, wherein The method further includes: determining the target image after compensating each target pixel point; displaying the compensated target image on the display screen.
13. A display device comprising: It includes: a determination module configured to determine a plurality of preset regions on a display screen and a first image at each preset region; a plurality of the first images are determined by at least one second image, the second image being a currently displayed image on the display screen, and the first image being a partial region in the second image; the determination module is configured to determine first compensation data corresponding to each pixel point in each of the first images; each of the first compensation data is compensation data at a position corresponding to each pixel point determined based on the currently displayed image; the processing module is configured to compensate each target pixel point in a target image based on the first compensation data corresponding to each pixel point and the pre-stored historical compensation data corresponding to each pixel point; each of the historical compensation data is compensation data corresponding to each historical pixel point in each historical image, the each historical image being an image displayed at a historical time at each preset region, and the target image being an image to be displayed on the display screen.
14. An electronic device, comprising: It includes: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the display method of any one of claims 1-12.
15. A non-transitory computer-readable storage medium, comprising: When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can perform the display method of any one of claims 1-12.