Image processing method and device, electronic equipment and readable storage medium
By compensating for pixel units in the area for a long time in the OLED display panel, it is necessary to ensure that the pixel value is constantly changing in sequence, solving the problem of burning screens when the OLED display panel is prone to, and extend the service life of the pixel unit.
Patent Information
- Application Number
- CN202310936951.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-27
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2043-07-27
AI Technical Summary
When the OLED display panel lights up the pixel units in an area for a long time, it will cause the life loss of the pixel units in that area to accelerate, and the screen burning phenomenon of color and brightness deviations occurs.
By determining the target pixel area in the image frame sequence to be displayed, and compensation processing the target pixels in the target pixel area of each image frame, the second image frame sequence is obtained. This method includes determining the reference pixel area and fuzzy treatment of the target pixel point to ensure that the pixel value of the same target pixel point of the same target pixels adjacent to the two timing of the image frame is different.
In the case of not affecting the user's visual experience, dynamically adjust the pixel units that are lit for a long time, so that it continues to change, thereby extending the service life of the pixel unit and preventing the screen.
Smart Images

Figure CN119380658A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of image processing, and in particular to an image processing method, device, electronic device and readable storage medium. Background Art
[0002] In recent years, organic light emitting diodes (OLEDs) have occupied an increasing share in the display panel market due to their characteristics of active light emission, high light brightness, and high resolution.
[0003] However, when the pixel units in one area of the OLED display panel are lit for a long time, the life loss of the pixel units in that area will be much higher than that in other areas. As the lighting time increases, the transistor characteristics of the pixel units in that area will gradually drift, causing the color and brightness of the OLED display panel to deviate, resulting in screen burn-in. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides an image processing method, device, electronic device and readable storage medium.
[0005] In a first aspect of the present disclosure, there is provided an image processing method, comprising:
[0006] Determine a target pixel area in a first image frame sequence to be displayed; wherein the first image frame sequence includes a plurality of first image frames that are sequentially continuous, and the target pixel area includes: a plurality of target pixel points corresponding to a target display area with a burn-in risk in a display device that displays the first image frame sequence;
[0007] A compensation process is performed on the target pixel points in the target pixel area of each of the first image frames to obtain a second image frame sequence; wherein the pixel values of the same target pixel point of any two temporally adjacent second image frames in the second image frame sequence are different.
[0008] Optionally, performing compensation processing on target pixel points within a target pixel area of each of the first image frames to obtain a second image frame sequence includes:
[0009] Determine a reference pixel region corresponding to each of the target pixel points in the plurality of the first image frames; wherein the reference pixel regions corresponding to the same target pixel point in any two time-sequentially adjacent first image frames are different;
[0010] Based on a reference pixel region of each of the target pixels in a plurality of the first image frames, blur processing is performed on the target pixel to obtain the second image frame sequence.
[0011] Optionally, the determining a reference pixel region corresponding to each of the target pixel points in the plurality of first image frames includes:
[0012] Based on a first preset parameter, a plurality of image groups are determined from the first image frame sequence; wherein each of the image groups includes: a plurality of time-sequentially continuous first image frames; and the number of first image frames included in the image group is determined by the first preset parameter;
[0013] Based on a second preset parameter, a reference pixel region of the target pixel point of each of the first image frames in an image group is determined.
[0014] Optionally, determining the reference pixel area of the target pixel point of each of the first image frames in an image group based on the second preset parameter includes:
[0015] determining a display order of each of the first image frames within the image group;
[0016] Determine, based on the display order of each of the first image frames and the second preset parameter, a reference distance corresponding to the target pixel point in each of the first image frames;
[0017] Based on the reference distance corresponding to the target pixel point in each of the first image frames, a plurality of reference pixel points are obtained from the first image frame; wherein the distance between the plurality of reference pixel points and the target pixel point is less than or equal to the reference distance;
[0018] Based on a plurality of the reference pixels corresponding to the target pixel of each of the first image frames in an image group, a reference pixel region corresponding to the target pixel is determined.
[0019] Optionally, acquiring a plurality of reference pixels from the first image frame based on the reference distance corresponding to the target pixel in each first image frame includes:
[0020] Based on the target pixel point in each of the first image frames, a plurality of reference pixel points are acquired in a first direction; the distance between the plurality of reference pixel points and the target pixel point in the first direction is less than or equal to the reference distance;
[0021] Based on the target pixel point, multiple reference pixel points are obtained in the second direction; the distance between the multiple reference pixel points and the target pixel point in the second direction is less than or equal to the reference distance; and the second direction is perpendicular to the first direction.
[0022] Optionally, the blurring the target pixel based on a reference pixel area of each target pixel in a plurality of the first image frames to obtain the second image frame sequence includes:
[0023] Determine a second pixel value corresponding to the target pixel of the i-th first image frame in the first image group based on the target pixel of the i-th first image frame and the first pixel values of the multiple reference pixels corresponding to the target pixel; wherein i is greater than or equal to 1 and less than or equal to a first preset parameter;
[0024] determining, based on the second pixel value corresponding to the target pixel of the i-th first image frame in the first image group, the second pixel value corresponding to the target pixel of the i-th first image frame in the second image group; the second image group is an image group other than the first image group in the plurality of image groups in the first image frame sequence;
[0025] The second image frame sequence is determined based on second pixel values corresponding to the target pixel points of multiple first image frames in the first image frame sequence.
[0026] Optionally, determining the second pixel value corresponding to the target pixel of the i-th first image frame in the first image group based on the target pixel of the i-th first image frame and the first pixel values of the multiple reference pixels corresponding to the target pixel includes:
[0027] Based on the pixel mean between the first pixel value of the target pixel point in the i-th first image frame and the first pixel values of the multiple reference pixel points corresponding to the target pixel point, determine the second pixel value corresponding to the target pixel point in the i-th first image frame.
[0028] According to a second aspect of the present disclosure, there is provided an image processing device, comprising:
[0029] A determination module, configured to determine a target pixel region within a first image frame sequence to be displayed; wherein the first image frame sequence includes a plurality of first image frames that are sequentially continuous, and the target pixel region includes: a plurality of target pixel points corresponding to a target display region with a burn-in risk in a display device that displays the first image frame sequence;
[0030] A processing module is used to perform compensation processing on the target pixel points in the target pixel area of each of the first image frames to obtain a second image frame sequence; wherein the pixel values of the same target pixel point of any two time-sequentially adjacent second image frames in the second image frame sequence are different.
[0031] Optionally, the processing module is further used to:
[0032] Determine a reference pixel region corresponding to each of the target pixel points in the plurality of the first image frames; wherein the reference pixel regions corresponding to the same target pixel point in any two time-sequentially adjacent first image frames are different;
[0033] Based on a reference pixel region of each of the target pixels in a plurality of the first image frames, blur processing is performed on the target pixel to obtain the second image frame sequence.
[0034] Optionally, the processing module is further used to:
[0035] Based on a first preset parameter, a plurality of image groups are determined from the first image frame sequence; wherein each of the image groups includes: a plurality of time-sequentially continuous first image frames; and the number of first image frames included in the image group is determined by the first preset parameter;
[0036] Based on a second preset parameter, a reference pixel region of the target pixel point of each of the first image frames in an image group is determined.
[0037] Optionally, the processing module is further used to:
[0038] determining a display order of each of the first image frames within the image group;
[0039] Determine, based on the display order of each of the first image frames and the second preset parameter, a reference distance corresponding to the target pixel point in each of the first image frames;
[0040] Based on the reference distance corresponding to the target pixel point in each of the first image frames, a plurality of reference pixel points are obtained from the first image frame; wherein the distance between the plurality of reference pixel points and the target pixel point is less than or equal to the reference distance;
[0041] Based on a plurality of the reference pixels corresponding to the target pixel of each of the first image frames in an image group, a reference pixel region corresponding to the target pixel is determined.
[0042] Optionally, the processing module is further used to:
[0043] Based on the target pixel point in each of the first image frames, a plurality of reference pixel points are acquired in a first direction; the distance between the plurality of reference pixel points and the target pixel point in the first direction is less than or equal to the reference distance;
[0044] Based on the target pixel point, multiple reference pixel points are obtained in the second direction; the distance between the multiple reference pixel points and the target pixel point in the second direction is less than or equal to the reference distance; and the second direction is perpendicular to the first direction.
[0045] Optionally, the processing module is further used to:
[0046] Determine a second pixel value corresponding to the target pixel of the i-th first image frame in the first image group based on the target pixel of the i-th first image frame and the first pixel values of the multiple reference pixels corresponding to the target pixel; wherein i is greater than or equal to 1 and less than or equal to a first preset parameter;
[0047] determining, based on the second pixel value corresponding to the target pixel of the i-th first image frame in the first image group, the second pixel value corresponding to the target pixel of the i-th first image frame in the second image group; the second image group is an image group other than the first image group in the plurality of image groups in the first image frame sequence;
[0048] The second image frame sequence is determined based on second pixel values corresponding to the target pixel points of multiple first image frames in the first image frame sequence.
[0049] Optionally, the processing module is further used to:
[0050] Based on the pixel mean between the first pixel value of the target pixel point in the i-th first image frame and the first pixel values of the multiple reference pixel points corresponding to the target pixel point, determine the second pixel value corresponding to the target pixel point in the i-th first image frame.
[0051] According to a third aspect of the present disclosure, an electronic device is provided, including:
[0052] a memory for storing processor-executable instructions;
[0053] A processor connected to the memory;
[0054] Wherein, the processor is configured to execute the image processing method as described in any embodiment of the first aspect of the present disclosure.
[0055] According to a fourth aspect of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the image processing method as described in any one of the embodiments of the first aspect of the present disclosure.
[0056] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0057] In the embodiment of the present disclosure, by determining the target pixel area within the first image frame sequence to be displayed, that is, determining the target pixel area corresponding to the target display area where there is a risk of burn-in when the display device displays the first image frame sequence, and performing compensation processing on the pixel points within the target pixel area of each image frame in the first image frame sequence, a second image frame sequence in which the pixel values of the same target pixel point of any two temporally adjacent image frames are different can be obtained, so that when the display device displays the second image frame sequence, the same pixel unit can display different pixel values according to different timings, thereby adjusting the pixel unit that has been in a lit state for a long time to a pixel unit in a constantly changing state, thereby achieving the effect of anti-burn-in optimization.
[0058] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0060] Figure 1 It is a schematic diagram of a display interface in the related art.
[0061] Figure 2 is a flowchart of an image processing method according to an exemplary embodiment of the present disclosure. Figure 1 .
[0062] Figure 3 is a flowchart of an image processing method according to an exemplary embodiment of the present disclosure. Figure 2 .
[0063] Figure 4 is a flowchart of an image processing method according to an exemplary embodiment of the present disclosure. Figure 3 .
[0064] Figure 5 is a structural diagram of an image processing device according to an exemplary embodiment of the present disclosure Figure 1 .
[0065] Figure 6 is a flowchart of an image processing method according to an exemplary embodiment of the present disclosure. Figure 4 .
[0066] Figure 7 is a structural diagram of an image processing device according to an exemplary embodiment of the present disclosure Figure 2 .
[0067] Figure 8It is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0068] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.
[0069] Figure 1 is a schematic diagram of a display interface in the related art, such as Figure 1 As shown, when the electronic device runs application A, the OLED display panel in the electronic device will display the display interface 10 for a long time. Among them, the picture in the first sub-interface 11 of the display interface 10 will continue to change, and the life loss of the corresponding pixel unit will not be much different, but the picture in the second sub-interface 12 of the display interface 10 ( Figure 1 The pattern shown by the black solid line in the middle (a pattern with high brightness in actual applications) will be lit for a long time, resulting in the life loss of the pixel unit in the second sub-interface 12 being much higher than the life loss of the pixel unit in the first sub-interface 11, resulting in screen burn-in.
[0070] The solution to the above-mentioned screen burn-in phenomenon in the related art is to reduce the brightness of the always-on area (the second sub-interface 12), but this solution will significantly reduce the contrast between pixel units, affecting the user experience, and this method can only delay the screen burn-in, but cannot eradicate the screen burn-in problem.
[0071] The present invention provides an image processing method. Figure 2 is a flowchart of an image processing method according to an exemplary embodiment of the present disclosure. Figure 1 ,like Figure 2 As shown, the image processing method comprises:
[0072] Step S201, determining a target pixel area in a first image frame sequence to be displayed; wherein the first image frame sequence includes a plurality of first image frames that are sequentially continuous, and the target pixel area includes: a plurality of target pixel points corresponding to a target display area having a burn-in risk in a display device that displays the first image frame sequence;
[0073] Step S202, performing compensation processing on the target pixel points in the target pixel area of each of the first image frames to obtain a second image frame sequence; wherein the pixel values of the same target pixel point of any two temporally adjacent second image frames in the second image frame sequence are different.
[0074] In the embodiments of the present disclosure, the image processing method can be applied to an electronic device (such as a display device), and the electronic device can be a display with an OLED display panel, or a TV with an OLED display panel, or a mobile device with an OLED display panel, such as a mobile phone, a tablet computer, a PDA, etc. The electronic device is not specifically limited here.
[0075] In step S201, the electronic device may determine a target pixel area of the first image frame sequence to be displayed according to a target application corresponding to the first image frame sequence to be displayed.
[0076] The target pixel area may include a plurality of target pixel points corresponding to a target display area with a risk of screen burn-in in the electronic device displaying the first image frame sequence. Alternatively, the target pixel area may be an area where a plurality of target pixel points corresponding to a target display area with a risk of screen burn-in are located when the electronic device runs the target application and displays the first image frame sequence.
[0077] The first image frame sequence includes a plurality of first image frames that are sequentially continuous; the target application is, for example, a short video application, which is not limited in the present disclosure. When the target application is a short video application, the first image frame sequence may be a short video, and the plurality of first image frames that are sequentially continuous may be a plurality of images that constitute the short video.
[0078] It is understandable that the first image frame sequence is a plurality of images to be displayed on the target application, and based on the display characteristics of the target application, the target pixel area in the first image frame sequence can be determined. The display characteristics are used to characterize the characteristics of the target application on the display interface.
[0079] Exemplarily, when the target application has Figure 1 In the display interface 10 shown, the target application has the characteristic that the image in the second sub-interface 12 is lit for a long time. Based on the characteristic of the long-lit pixel unit in the second sub-interface 12, the area corresponding to the pixel unit can be determined as the burn-in area, so that the area of the multiple pixel points corresponding to the burn-in area in the first image frame sequence is determined as the target pixel area.
[0080] In some embodiments, before determining the target pixel area within the first image frame sequence to be displayed, the electronic device also needs to obtain the first image frame sequence to be displayed. It is understandable that the electronic device can determine the first image frame sequence to be displayed by the target application by first obtaining a plurality of time-sequentially continuous image frames to be displayed by the target application. Here,
[0081] In some embodiments, the electronic device may determine a target pixel region of the first image frame sequence based on pixel values of the first image frame sequence.
[0082] It is understandable that after acquiring the first image frame sequence, the electronic device can also obtain the pixel value of each pixel point of the first image frame in the first image frame sequence. Based on the pixel value, it can be determined that when the electronic device displays the first image frame sequence, the target display area in the OLED display panel has a risk of screen burn-in. Based on the target display area, it can be determined that the area in the first image frame sequence corresponding to the target display area is the target pixel area.
[0083] The pixel value may be a color value of the pixel point or a brightness value of the pixel point. For example, the pixel value may be divided into 256 levels from 0 to 255, and different levels correspond to different brightness levels.
[0084] It can be understood that the first image frame has a plurality of pixels, each of which has a corresponding pixel value. Based on the pixel values, the brightness value of each pixel unit in the OLED display panel when displaying each corresponding pixel in the first image frame can be determined, so that the total brightness value of each pixel unit when displaying the corresponding plurality of pixels in the first image frame sequence can be determined.
[0085] In one embodiment, based on the total brightness value, a region where a plurality of pixel units having a total brightness value greater than a preset threshold are located may be determined as a target display region with a risk of screen burn-in.
[0086] Among them, the preset threshold can be set according to actual needs, and the embodiments of the present disclosure do not make specific limitations on this.
[0087] It is understandable that when the total brightness value is greater than the preset threshold, the pixel unit operates at high brightness for a long time, which can easily cause the transistor characteristics of the pixel unit to drift, resulting in deviations in color and brightness of the pixel unit and screen burn-in.
[0088] In one embodiment, based on the total brightness value, a region where a plurality of pixel units having the same total brightness value are located may be determined as a target display region with a risk of screen burn-in.
[0089] It is understandable that if the total brightness values corresponding to multiple adjacent pixel units are the same, it means that the multiple pixels may continue to display the same image. When the multiple pixel units continue to emit light, it is easy to cause the performance of the multiple pixel units to be degraded, which is easy to cause screen burn-in.
[0090] In step S202, after determining the target pixel area in the first image frame sequence in step S201, the electronic device can sequentially perform pixel value compensation on the target pixel points in the target pixel area of each of the first image frames to obtain multiple second image frames. The multiple second image frames are arranged in time sequence to form a second image frame sequence.
[0091] The second image frame is an image frame obtained after image processing of the first image frame. The target pixel point is any pixel point in the target pixel area.
[0092] The pixel values of the same target pixel point in any two temporally adjacent second image frames in the second image frame sequence are different. Here, the same target pixel point refers to two target pixel points corresponding to the same pixel unit in any two temporally adjacent second image frames.
[0093] It can be understood that the pixel values of the same target pixel point in any two time-sequentially adjacent second image frames in the second image frame sequence are different, so that when the electronic device displays the second image frame sequence, the luminous brightness of the same pixel unit in the target display area can be continuously changed to achieve dynamic adjustment of the display luminous brightness, thereby reducing the risk of screen burn-in caused by long-term high-brightness luminescence of the pixel unit when displaying the first image frame.
[0094] In one embodiment, different compensation values may be used to compensate the pixel value of the same target pixel point in two sequentially adjacent first image frames.
[0095] For example, when the pixel values of the same target pixel in two sequentially adjacent first image frames are both 200, the first compensation value +20 can be used to compensate the first first image frame so that the pixel value of the pixel in the obtained second image frame is 220; the second compensation value -40 can also be used to compensate the second first image frame so that the pixel value of the pixel in the obtained second image frame is 160.
[0096] It should be noted that the size of the compensation value can be set according to actual conditions, and the embodiments of the present disclosure do not specifically limit this.
[0097] In the embodiment of the present disclosure, by acquiring a first image frame sequence composed of a plurality of time-sequentially continuous first image frames to be displayed, a target display area where there is a risk of burn-in when the display device displays the first image frame sequence can be determined, and then a target pixel area within the first image frame sequence displayed in the target display area can be determined; by performing compensation processing on pixel points within the target pixel area of each image frame in the first image frame sequence, a second image frame sequence in which the pixel values of the same target pixel point of any two time-sequentially adjacent image frames are different can be obtained, so that when the display device displays the second image frame sequence, the same pixel unit can display different pixel values according to different time sequences, thereby adjusting a pixel unit that has been in a lit state for a long time to a pixel unit in a constantly changing state, thereby achieving an anti-burn-in optimization effect.
[0098] Optional, Figure 3 is a flowchart of an image processing method according to an exemplary embodiment of the present disclosure. Figure 2 ,like Figure 3 As shown, the step S202 of performing compensation processing on the target pixel points in the target pixel area of each of the first image frames to obtain a second image frame sequence includes:
[0099] Step S301, determining a reference pixel region corresponding to each of the target pixels in the plurality of the first image frames; wherein the reference pixel regions corresponding to the same target pixel in any two sequentially adjacent first image frames are different;
[0100] Step S302: performing blur processing on the target pixel based on a reference pixel region of each target pixel in a plurality of the first image frames to obtain a second image frame sequence.
[0101] In an embodiment of the present disclosure, after the electronic device obtains the target pixel area of the first image frame sequence to be displayed through step S201, it can first execute step S301 to determine the reference pixel area corresponding to each of the target pixel points in multiple first image frames (for example, the first first image frame, the second first image frame, the third first image frame, etc.); then execute step S302 to blur the target pixel points based on the information obtained from the reference pixel area of each target pixel point to obtain multiple second image frames (for example, the first second image frame, the second second image frame, the third second image frame, etc.); the multiple second image frames are arranged in time sequence to form the second image frame sequence.
[0102] It should be noted that, when the pixel values of the same pixel point in the target pixel area of multiple first image frames are the same, in order to make the pixel values of the same pixel point in any two adjacent first image frames after processing different, different processing parameters can be configured for the pixel values of the same pixel point in the processing of any two first image frames adjacent in time sequence, for example, different reference pixel areas; thereby, it can be ensured that the processing parameters of the same target pixel point in any two first image frames adjacent in time sequence are different, so that different processed pixel values can be obtained, satisfying the requirement that the pixel values of the same target pixel point in any two second image frames adjacent in time sequence in the second image frame sequence are different.
[0103] The reference pixel area may be an area consisting of a plurality of pixel points adjacent to the target pixel point.
[0104] In some embodiments, the electronic device may blur the pixel values of the target pixel points based on the pixel values of the pixel points corresponding to the reference pixel area to obtain the second image frame sequence.
[0105] It can be understood that the reference pixel area is an area composed of multiple pixel points adjacent to the target pixel point. Therefore, the pixel value of the target pixel point can be adjusted according to the pixel value of the pixel point corresponding to the reference pixel area. On the one hand, the pixel value of the target pixel point can be adjusted, and on the other hand, the pixel difference between the target pixel point and the pixel points in the reference pixel area can be balanced, so that the brightness of the image in the display interface of the electronic device does not change much and will not affect the user's visual experience.
[0106] Exemplarily, when the pixel value of the target pixel is 200 and the pixel values of the two pixels in the reference pixel area are 160, the pixel value of the target pixel can be adjusted by lowering the pixel value of the target pixel from 200 to 180 by bringing the pixel value of the target pixel closer to the pixel value of the pixels in the reference area.
[0107] In the embodiments of the present disclosure, by determining the reference pixel area of each target pixel in each image frame, the reference pixel value when processing the pixel value of each target pixel in each image frame can be determined; by setting the reference pixel areas of two image frames adjacent in time sequence to be different, the reference pixel values of the same target pixel in two image frames adjacent in time sequence can be made different, so that each target pixel is blurred based on different reference pixel values, so that the target pixel has different pixel values in image frames of different time sequences, thereby achieving the display effect of dynamically adjusting the target pixel area.
[0108] Optionally, the step of determining a reference pixel region corresponding to each of the target pixel points in the plurality of the first image frames in step S301 includes:
[0109] Based on a first preset parameter, a plurality of image groups are determined from the first image frame sequence; wherein each of the image groups includes: a plurality of time-sequentially continuous first image frames; and the number of first image frames included in the image group is determined by the first preset parameter;
[0110] Based on a second preset parameter, a reference pixel region of the target pixel point of each of the first image frames in an image group is determined.
[0111] In the embodiment of the present disclosure, when determining the reference pixel region corresponding to each of the target pixel points in the plurality of first image frames, the electronic device may group the plurality of first image frames based on a first preset parameter, thereby determining a plurality of image groups from the first image frame sequence. Subsequently, the electronic device may process each image group based on a second preset parameter, and determine the reference region of the target pixel point of each first image frame in each image group.
[0112] The plurality of first image frames in each of the image groups are a plurality of first image frames that are continuous in time sequence, and the number of the first image frames in each of the image groups is determined by a first preset parameter.
[0113] The first preset parameter may be a parameter preset by the electronic device when executing the image processing method in the embodiment of the present disclosure. The value of the first preset parameter may be set according to actual needs, and the embodiment of the present disclosure does not make any specific limitation on this.
[0114] It can be understood that since multiple image groups all determine the reference area of the target pixel point based on the second preset parameter, the processing method of each first image frame with the same timing in the multiple image groups is the same, and thus the reference pixel area of the target pixel point of each first image frame with the same timing in the multiple image groups is the same.
[0115] That is to say, the processing method of the first image frame in the first image group is the same as the processing method of the first image frame in the second image group, so that the reference pixel area of the target pixel point of the first image frame in the first image group is the same as the reference pixel area of the target pixel point of the first image frame in the second image group; the processing method of the second image frame in the first image group is the same as the processing method of the second image frame in the second image group, so that the reference pixel area of the target pixel point of the second image frame in the first image group is the same as the reference pixel area of the target pixel point of the second image frame in the second image group; and so on, the processing method of the last image frame in the first image group is the same as the processing method of the last image frame in the second image group, so that the reference pixel area of the target pixel point of the last image frame in the first image group is the same as the reference pixel area of the target pixel point of the last image frame in the second image group.
[0116] Furthermore, since the first image frame in the second image group is located behind the last image frame in the first image group in terms of time sequence, and the reference pixel area of the target pixel point of the first image frame in the second image group is the same as the reference pixel area of the target pixel point of the first image frame in the first image group, when the electronic device determines the reference pixel area corresponding to each of the target pixel points in multiple first image frames, it can cyclically acquire different reference pixel areas with the number of first image frames in an image group as a period.
[0117] In the embodiment of the present disclosure, the first image frame sequence is grouped using the first preset parameter, and the reference pixel area of multiple first image frames in each image group is acquired using the second preset parameter. This can achieve cyclic acquisition of the reference pixel area of the target pixel point with the first preset parameter as a period, thereby improving the efficiency of acquiring the reference pixel area of the target pixel point of the first image frame of any time sequence and reducing the calculation difficulty of the electronic device.
[0118] Optionally, determining the reference pixel area of the target pixel point of each of the first image frames in an image group based on the second preset parameter includes:
[0119] determining a display order of each of the first image frames within the image group;
[0120] Determine, based on the display order of each of the first image frames and the second preset parameter, a reference distance corresponding to the target pixel point in each of the first image frames;
[0121] Based on the reference distance corresponding to the target pixel point in each of the first image frames, a plurality of reference pixel points are obtained from the first image frame; wherein the distance between the plurality of reference pixel points and the target pixel point is less than or equal to the reference distance;
[0122] Based on a plurality of the reference pixels corresponding to the target pixel of each of the first image frames in an image group, a reference pixel region corresponding to the target pixel is determined.
[0123] It should be noted that, in a first image frame sequence having multiple first image frames, the pixel values of the same target pixel point within the target pixel area in the multiple first image frames may be the same. Therefore, when the electronic device determines the reference pixel area of the target pixel point of each of the first image frames in an image group, it can distinguish the first image frames of different time sequences in the image group, and set the reference pixel areas of the same target pixel point in the first image frames of different time sequences to be different. Based on the different reference pixel areas of the same target pixel point in the first image frames of different time sequences, different compensation values are obtained for the same target pixel point in the first image frames of different time sequences, so that the pixel values of the same target pixel point in any two adjacent image frames in the processed second image frame sequence are different.
[0124] In an embodiment of the present disclosure, the electronic device determines a reference pixel area of the target pixel point of each first image frame in an image group. First, the electronic device may determine the display order of each first image frame in the image group, and obtain the sorting position of each first image frame in the image group. Subsequently, based on the sorting position of each first image frame in the image group and the second preset parameter, the corresponding reference distance is determined for the target pixel point in each first image frame.
[0125] Among them, the second preset parameter can be a parameter preset by the electronic device when executing the image processing method in the embodiment of the present disclosure. The value of the second preset parameter can be set according to actual needs, and the embodiment of the present disclosure does not make any specific limitations on this.
[0126] It can be understood that different reference distances can be obtained according to different display orders of the second preset parameters and the image frames.
[0127] It is understandable that the reference distance may be the number of pixels preset by the electronic device and spaced from the target pixel. Exemplarily, the reference distance may be 1, indicating that the number of pixels spaced from the target pixel is 1, that is, the pixel adjacent to the target pixel.
[0128] It can be seen that for any target pixel point in the first image frame, a plurality of pixel points that meet the quantity requirement can be determined based on the reference distance corresponding to the target pixel point, that is, the number of pixels separated from the target pixel point. The plurality of pixel points are multiple reference pixel points obtained from the first image frame.
[0129] The distance between the multiple reference pixels and the target pixel may be less than or equal to the reference distance, that is, the number of pixels spaced between the multiple reference pixels and the target pixel is less than or equal to the preset number of pixels spaced from the target pixel.
[0130] It should be noted that the reference distance corresponding to the target pixel point in any first image frame is different from the reference distance corresponding to the target pixel point in two first image frames adjacent to the first image frame before and after the first image frame, so that the reference distances corresponding to the target pixel points in two adjacent first image frames can be ensured to be different. Based on the different reference distances, the number of reference pixel points of the target pixel point obtained in each first image frame is different.
[0131] After the electronic device obtains multiple reference pixel points of the target pixel point, based on the multiple reference pixel points corresponding to each target pixel point, it can determine the reference pixel area corresponding to each of the target pixel points.
[0132] Wherein, the reference pixel area at least includes the multiple reference pixel points.
[0133] In the embodiment of the present disclosure, through the display position of the first image frame in the image group and the second preset parameters, different reference pixel areas can be determined for the target pixel points in the first image frames of different time sequences, thereby ensuring that the pixel values of the target pixel points of two image frames adjacent in time sequence are different, thereby achieving dynamic adjustment of the pixel value of the target pixel point.
[0134] Optionally, acquiring a plurality of reference pixels from the first image frame based on the reference distance corresponding to the target pixel in each first image frame includes:
[0135] Based on the target pixel point in each of the first image frames, a plurality of reference pixel points are acquired in a first direction; the distance between the plurality of reference pixel points and the target pixel point in the first direction is less than or equal to the reference distance;
[0136] Based on the target pixel point, multiple reference pixel points are obtained in the second direction; the distance between the multiple reference pixel points and the target pixel point in the second direction is less than or equal to the reference distance; and the second direction is perpendicular to the first direction.
[0137] In an embodiment of the present disclosure, after determining the reference distance corresponding to each target pixel point, the electronic device can respectively obtain multiple reference pixel points that meet the reference distance in the first direction and the second direction, and confirm the multiple reference pixel points obtained in the first direction and the second direction as reference pixel points of the target pixel point.
[0138] The multiple reference pixel points satisfying the reference distance refer to pixel points whose distance from the target pixel point in the first direction or in the second direction is less than or equal to the reference distance.
[0139] It is understandable that, in actual use, the image displayed in the target pixel area is as follows: Figure 1 As shown in the second sub-interface 12 in FIG. 1 , it is mostly composed of line segments along the first direction (e.g., the X direction) and along the second direction (e.g., the Y direction). Therefore, when processing the target pixel area in the first image frame, reference pixel points of the target pixel points can be selected in the first direction and the second direction, thereby reducing the acquisition of reference pixel points and the amount of data calculation on the one hand; on the other hand, only pixel points related to the display pattern of the electronic device can be selected as reference pixel points, thereby improving the accuracy of image processing.
[0140] Optionally, the step S302 of performing blur processing on the target pixel based on the reference pixel area of each target pixel of the plurality of first image frames to obtain the second image frame sequence includes:
[0141] Determine a second pixel value corresponding to the target pixel of the i-th first image frame in the first image group based on the target pixel of the i-th first image frame and the first pixel values of the multiple reference pixels corresponding to the target pixel; wherein i is greater than or equal to 1 and less than or equal to a first preset parameter;
[0142] determining, based on the second pixel value corresponding to the target pixel of the i-th first image frame in the first image group, the second pixel value corresponding to the target pixel of the i-th first image frame in the second image group; the second image group is an image group other than the first image group in the plurality of image groups in the first image frame sequence;
[0143] The second image frame sequence is determined based on second pixel values corresponding to the target pixel points of multiple first image frames in the first image frame sequence.
[0144] In the disclosed embodiment, after the electronic device groups the plurality of first image frames by executing step S301 and determines the reference pixel region corresponding to each target pixel of each first image frame in each image group, the electronic device can determine the second pixel value of each target pixel in the first image group after image processing based on the first pixel value of the pixel in the reference pixel region corresponding to each target pixel in the first image group. Subsequently, the electronic device can store the second pixel value of each target pixel in the target pixel region in the first image group, and determine the second pixel value of each target pixel in the second image group corresponding to the first image group based on the stored second pixel value of each target pixel in the first image group, thereby reducing the step of the electronic device calculating the second pixel value of each target pixel in the second image group, and improving the efficiency of image processing.
[0145] The first image group may be any one of the multiple image groups determined by the first image frame sequence, and the second image group may be an image group other than the first image group among the multiple image groups.
[0146] It can be understood that the process of performing image processing on the first image group includes: the electronic device can determine the second pixel value corresponding to the target pixel point of the first first image frame based on the first pixel value of the target pixel point of the first first image frame in the first image group and the multiple reference pixel points corresponding to the target pixel point; the electronic device can determine the second pixel value corresponding to the target pixel point of the second first image frame in the first image group based on the target pixel point of the second first image frame in the first image group and the first pixel value of the multiple reference pixel points corresponding to the target pixel point; and so on, the electronic device can determine the second pixel value corresponding to the target pixel point of the next first image frame based on the target pixel point of the last first image frame in the first image group and the first pixel value of the multiple reference pixel points corresponding to the target pixel point, so that the electronic device obtains the second pixel value of the target pixel point in each first image frame in the first image group.
[0147] The process of performing image processing on the second image group includes: obtaining the display order of multiple first image frames in the second image group; for each first image frame indicated by the display order, using the same processing method as that for each first image frame indicated by the display order in the first image group, to obtain the second pixel value of the target pixel point of each first image frame.
[0148] Exemplarily, for a target pixel of the first first image frame in the second image group, the second pixel value of the same target pixel in the first first image frame in the first image group is determined as the pixel value of the target pixel in the first first image frame in the second image group, wherein the second pixel value of the first target pixel in the first first image frame is equal to the second pixel value of the first target pixel in the first first image frame in the first image group.
[0149] The process of performing image processing on the first image frame sequence includes the above-mentioned process of performing image processing on the first image group and the above-mentioned process of performing image processing on the second image group, so that the multiple image groups obtained from the first image frame sequence can sequentially determine the second pixel value corresponding to the target pixel point to obtain multiple processed image groups, and the multiple processed second image groups form the second image frame sequence.
[0150] Optionally, determining the second pixel value corresponding to the target pixel of the i-th first image frame in the first image group based on the target pixel of the i-th first image frame and the first pixel values of the multiple reference pixels corresponding to the target pixel includes:
[0151] Based on the pixel mean between the first pixel value of the target pixel point in the i-th first image frame and the first pixel values of the multiple reference pixel points corresponding to the target pixel point, determine the second pixel value corresponding to the target pixel point in the i-th first image frame.
[0152] In the disclosed embodiment, for the i-th first image frame, by obtaining the first pixel value of the target pixel of the i-th first image frame, the first pixel values of the multiple reference pixels in the pixel reference area corresponding to the target pixel are obtained; then the first pixel value of the target pixel and the first pixel values of the multiple reference pixels corresponding to the target pixel are added and averaged, so as to obtain the pixel mean value between the first pixel value of the target pixel of the i-th first image frame and the first pixel values of the multiple reference pixels. The pixel mean value is the pixel value obtained by the target pixel after image processing, that is, the second pixel value.
[0153] The image processing method in the embodiment of the present disclosure is described below with reference to a specific example.
[0154] Figure 4 is a flowchart of an image processing method according to an exemplary embodiment of the present disclosure. Figure 3 .like Figure 4 As shown, the image processing method comprises:
[0155] In step S401, the electronic device receives input data (eg, a first image frame sequence to be displayed), and determines a target pixel region and a non-target pixel region according to the first image frame sequence to be displayed.
[0156] Step S402: performing image processing on the data in the target pixel area of the first image frame sequence, and displaying the processed data.
[0157] Here, the image processing process can be implemented through one or more of the above embodiments, and for the sake of brevity of the specification, it will not be described here in detail.
[0158] Step S403: The data in the non-target pixel area of the first image frame sequence is not processed and is directly displayed.
[0159] In the disclosed embodiment, the electronic device can process the data of the target pixel area to adjust the pixel unit that has been in the lighting state for a long time to the pixel unit that is in a constantly changing state, so as to achieve the effect of anti-burn-in optimization. In addition, the electronic device may not process the data of the non-target pixel area, so as not to affect the display effect of the non-target pixel area and the user experience of the target application.
[0160] Figure 5 is a structural diagram of an image processing device according to an exemplary embodiment of the present disclosure Figure 1 .like Figure 5 As shown, the image processing device can be a chip or system on chip in an electronic device, or a functional module in an electronic device for implementing the methods described in the above embodiments. The image processing device can implement the functions performed by the electronic device in the above embodiments, and these functions can be implemented by hardware executing corresponding software. These hardware or software include one or more modules corresponding to the above functions.
[0161] The image processing device may have an image processing module 501, which may include: a first submodule 501a, a second submodule 501b, and a third submodule 501c. The first submodule 501a, the second submodule 501b, and the third submodule 501c may be integrated into one hardware or software, or may be respectively configured as multiple hardware or software.
[0162] The image processing module 501 is used to execute the image processing method in one or more of the above embodiments. Among them, the first submodule 501a is used to start the image processing mode after receiving data. Exemplarily, the first submodule 501a may include a register (recorded as DeEN). When DeEN=1, the first submodule 501a turns on the image processing mode. The second submodule 501b is used to obtain the target pixel area. Exemplarily, the second submodule 501b may include four registers (recorded as DeHa, DeHb, DeVa and DeVb respectively). DeHa, DeHb, DeVa and DeVb respectively store four position information, and the area surrounded by the four positions can be the target pixel area. The third submodule 501c is used to set the intensity of image processing. Exemplarily, the third submodule 501c may include two registers (recorded as Deswitch and Deshift respectively). Deswitch and Deshift respectively control the first preset parameter and the second preset parameter. By setting different values of Deswitch and Deshift, image processing effects of different intensities can be achieved.
[0163] Figure 6 is a flowchart of an image processing method according to an exemplary embodiment of the present disclosure. Figure 4 . Below, refer to Figures 1 to 4 , Figure 6 The method described, combined with Figure 5 The device structure shown in FIG. Figure 5 The module shown executes the process of the image processing method, which includes:
[0164] Step S601: the electronic device starts executing the image processing method.
[0165] It can be understood that, when the electronic device determines that DeEN in the first submodule 501a shows DeEN=1, it can obtain the first image frame sequence to be displayed and start image processing on the first image frame sequence.
[0166] Step S602: The electronic device determines a target pixel area in the first image frame sequence.
[0167] It is understandable that after the electronic device executes step S601 to determine to start the image processing mode, it can determine the target pixel area of the first image frame sequence based on the method in one or more embodiments in step S201. The electronic device can also set the position of the determined target pixel area to store through DeHa, DeHb, DeVa and DeVb in the second submodule 501b to ensure that subsequent image processing is only for the target pixel area, and does not include non-target pixel areas.
[0168] In step S603, the electronic device determines a reference pixel region corresponding to each of the target pixel points in the first image frames, and performs blur processing on the target pixel point based on the reference pixel region of each of the target pixel points in the first image frames.
[0169] It is understandable that after the electronic device executes step S602 to determine the target pixel area, it can blur the target pixel point through the method in one or more embodiments of steps S301 to S302, which will not be described here for the sake of brevity.
[0170] It should be noted that, in actual use, Deswitch and Deshift in the third submodule 501c can control the first preset parameter and the second preset parameter respectively. Exemplarily, Deswitch can be set to a gear of 1-5, and different gears correspond to different numbers of image frames in the image group. Deswitch can be set to a gear of 0-10, and different gears control different reference pixel areas.
[0171] Exemplarily, when Deswitch is set to 3, that is, three frames form an image group, and every three frames form a cycle, the fourth frame (the first first image frame of the second image group) will reach the state of the first frame (the first first image frame of the first image group) (the same reference pixel area).
[0172] Then, when performing image processing on the pixel value of any pixel point, the following formula can be used to calculate it.
[0173]
[0174] Date(x,y)(n+1)=∑(Date(x-Deshift-Δt),Date(x+Deshift+Δt)) / (2*Deshift+1+2Δt);
[0175] ∑(Date(y-Deshift-Δt),Date(y+Deshift+Δt) / (2*Deshift+1+2Δt)(2)
[0177] Date(x,y)(n+2)=∑(Date(x-Deshift-2Δt),Date(x+Deshift+2Δt)) / (2*Deshift+1+4Δt);
[0178] ∑(Date(y-Deshift-2Δt),Date(y+Deshift+2Δt) / (2*Deshift+1+4Δt)(3)
[0180] In the above formulas (1) to (3), Date represents the pixel value of the pixel point; (x, y) represents the horizontal coordinate and the vertical coordinate of the pixel point; n represents the nth image frame; Deshift represents the preset pixel reference area; Δt represents the adjustment area of the preset pixel reference area between different frames.
[0181] Then, the above formula (1) as a whole indicates that in the nth image frame, the pixel value of the pixel point located at (x, y) is equal to the average of all the pixels (2) adjacent to the point in the x-axis direction (assuming the value is 1) and the first pixel of the point, plus the average of all the pixels (4) adjacent to the point in the y-axis direction and the second pixel of the point, and then the average of the pixels in the x-axis direction and the y-axis direction is calculated. The above formula (2) as a whole indicates that in the n+1th image frame, the pixel value of the pixel point located at (x, y) is equal to the average of all the pixels (4) adjacent to the point in the x-axis direction after the adjacent Deshift (assuming the value is 1) and the first pixel of the point, plus the average of all the pixels (4) adjacent to the point in the y-axis direction after the adjacent Deshift (assuming the value is 1) and the second pixel of the point, and then the average of the pixels in the x-axis direction and the y-axis direction is calculated.
[0182] From the above, it can be seen that the image processing method in the embodiment of the present disclosure, under the premise of not affecting the actual user experience, that is, under the premise that the user can still see the image of the target pixel area, the image of the target pixel area will be continuously scaled at 3 frames (Deswitch is set to 3) (the scaling degree is Δt, Δt is set by Deshift). Since the actual scaling is at the pixel level, the user will not perceive it, and the pixel units that are actually lit for a long time are constantly changing, thereby enhancing the service life of the pixel units, which will further optimize the effect of the anti-burn-in processing.
[0183] The present disclosure provides an image processing device. Figure 7 is a structural diagram of an image processing device according to an exemplary embodiment of the present disclosure Figure 2 ,like Figure 7 As shown, the image processing device 700 includes:
[0184] The determination module 701 is used to determine a target pixel area in the first image frame sequence to be displayed; wherein the first image frame sequence includes a plurality of first image frames that are sequentially continuous, and the target pixel area includes: a plurality of target pixel points corresponding to a target display area with a burn-in risk in a display device that displays the first image frame sequence;
[0185] The processing module 702 is used to perform compensation processing on the target pixel points in the target pixel area of each of the first image frames to obtain a second image frame sequence; wherein the pixel values of the same target pixel point of any two time-sequentially adjacent second image frames in the second image frame sequence are different.
[0186] Optionally, the processing module 702 is further configured to:
[0187] Determine a reference pixel region corresponding to each of the target pixel points in the plurality of the first image frames; wherein the reference pixel regions corresponding to the same target pixel point in any two time-sequentially adjacent first image frames are different;
[0188] Based on a reference pixel region of each of the target pixels in a plurality of the first image frames, blur processing is performed on the target pixel to obtain the second image frame sequence.
[0189] Optionally, the processing module 702 is further configured to:
[0190] Based on a first preset parameter, a plurality of image groups are determined from the first image frame sequence; wherein each of the image groups includes: a plurality of time-sequentially continuous first image frames; and the number of first image frames included in the image group is determined by the first preset parameter;
[0191] Based on a second preset parameter, a reference pixel region of the target pixel point of each of the first image frames in an image group is determined.
[0192] Optionally, the processing module 702 is further configured to:
[0193] determining a display order of each of the first image frames within the image group;
[0194] Determine, based on the display order of each of the first image frames and the second preset parameter, a reference distance corresponding to the target pixel point in each of the first image frames;
[0195] Based on the reference distance corresponding to the target pixel point in each of the first image frames, a plurality of reference pixel points are obtained from the first image frame; wherein the distance between the plurality of reference pixel points and the target pixel point is less than or equal to the reference distance;
[0196] Based on a plurality of the reference pixels corresponding to the target pixel of each of the first image frames in an image group, a reference pixel region corresponding to the target pixel is determined.
[0197] Optionally, the processing module 702 is further configured to:
[0198] Based on the target pixel point in each of the first image frames, a plurality of reference pixel points are acquired in a first direction; the distance between the plurality of reference pixel points and the target pixel point in the first direction is less than or equal to the reference distance;
[0199] Based on the target pixel point, multiple reference pixel points are obtained in the second direction; the distance between the multiple reference pixel points and the target pixel point in the second direction is less than or equal to the reference distance; and the second direction is perpendicular to the first direction.
[0200] Optionally, the processing module 702 is further configured to:
[0201] Determine a second pixel value corresponding to the target pixel of the i-th first image frame in the first image group based on the target pixel of the i-th first image frame and the first pixel values of the multiple reference pixels corresponding to the target pixel; wherein i is greater than or equal to 1 and less than or equal to a first preset parameter;
[0202] determining, based on the second pixel value corresponding to the target pixel of the i-th first image frame in the first image group, the second pixel value corresponding to the target pixel of the i-th first image frame in the second image group; the second image group is an image group other than the first image group in the plurality of image groups in the first image frame sequence;
[0203] The second image frame sequence is determined based on second pixel values corresponding to the target pixel points of multiple first image frames in the first image frame sequence.
[0204] Optionally, the processing module 702 is further configured to:
[0205] Based on the pixel mean between the first pixel value of the target pixel point in the i-th first image frame and the first pixel values of the multiple reference pixel points corresponding to the target pixel point, determine the second pixel value corresponding to the target pixel point in the i-th first image frame.
[0206] It should be noted that the above-mentioned determination module 701 and processing module 702 may be the same module as the above-mentioned image processing module 501, and both may execute the functions that may be executed by the electronic device in one or more of the above-mentioned embodiments.
[0207] Figure 8 1 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. For example, the electronic device may be an electronic device 80 having an OLED display panel.
[0208] Reference Figure 8The electronic device 80 may include one or more of the following components: a processing component 83, a memory 84, a power component 85, a multimedia component 86, an audio component 87, an input / output (I / O) interface 88, a sensor component 89, and a communication component 810.
[0209] The processing component 83 generally controls the overall operation of the electronic device 80, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 83 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 83 may include one or more modules to facilitate the interaction between the processing component 83 and other components. For example, the processing component 83 may include a multimedia module to facilitate the interaction between the multimedia component 86 and the processing component 83.
[0210] The memory 84 is configured to store various types of data to support operations on the electronic device 80. Examples of such data include instructions for any application or method operating on the electronic device 80, contact data, phone book data, messages, pictures, videos, etc. The memory 84 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0211] The power supply assembly 85 provides power to the various components of the electronic device 80. The power supply assembly 85 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 80.
[0212] The multimedia component 86 includes a screen that provides an output interface between the electronic device 80 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 86 includes a front camera and / or a rear camera. When the electronic device 80 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0213] The audio component 87 is configured to output and / or input audio signals. For example, the audio component 87 includes a microphone (MIC), and when the electronic device 80 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 84 or sent via the communication component 810. In some embodiments, the audio component 87 also includes a speaker for outputting audio signals.
[0214] I / O interface 88 provides an interface between processing component 83 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button and lock button.
[0215] The sensor assembly 89 includes one or more sensors for providing various aspects of status assessment for the electronic device 80. For example, the sensor assembly 89 can detect the open / closed state of the electronic device 80, the relative positioning of components, such as the display and keypad of the electronic device 80, and the sensor assembly 89 can also detect the position change of the electronic device 80 or a component of the electronic device 80, the presence or absence of user contact with the electronic device 80, the orientation or acceleration / deceleration of the electronic device 80, and the temperature change of the electronic device 80. The sensor assembly 89 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 89 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 89 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0216] The communication component 810 is configured to facilitate wired or wireless communication between the electronic device 80 and other devices. The electronic device 80 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 810 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 810 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0217] In an exemplary embodiment, the electronic device 80 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 above methods.
[0218] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 84 including instructions, and the instructions can be executed by the processor 820 of the electronic device 80 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0219] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0220] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An image processing method, characterized in that: include: Determine a target pixel area in a first image frame sequence to be displayed; wherein the first image frame sequence includes a plurality of first image frames that are sequentially continuous, and the target pixel area includes: a plurality of target pixel points corresponding to a target display area having a burn-in risk in an electronic device that displays the first image frame sequence; A compensation process is performed on the target pixel points in the target pixel area of each of the first image frames to obtain a second image frame sequence; wherein the pixel values of the same target pixel point of any two temporally adjacent second image frames in the second image frame sequence are different.
2. The method according to claim 1, characterized in that The compensating the target pixel points in the target pixel area of each of the first image frames to obtain a second image frame sequence comprises: Determine a reference pixel region corresponding to each of the target pixel points in the plurality of the first image frames; wherein the reference pixel regions corresponding to the same target pixel point in any two time-sequentially adjacent first image frames are different; Based on a reference pixel region of each of the target pixels in a plurality of the first image frames, blur processing is performed on the target pixel to obtain the second image frame sequence.
3. The method according to claim 2, characterized in that The determining of a reference pixel region corresponding to each of the target pixel points in the plurality of the first image frames comprises: Based on a first preset parameter, a plurality of image groups are determined from the first image frame sequence; wherein each of the image groups includes: a plurality of time-sequentially continuous first image frames; and the number of first image frames included in the image group is determined by the first preset parameter; Based on a second preset parameter, a reference pixel region of the target pixel point of each of the first image frames in an image group is determined.
4. The method according to claim 3, characterized in that The determining, based on the second preset parameter, a reference pixel area of the target pixel point of each of the first image frames in an image group includes: determining a display order of each of the first image frames within the image group; Determine, based on the display order of each of the first image frames and the second preset parameter, a reference distance corresponding to the target pixel point in each of the first image frames; Based on the reference distance corresponding to the target pixel point in each of the first image frames, a plurality of reference pixel points are obtained from the first image frame; wherein the distance between the plurality of reference pixel points and the target pixel point is less than or equal to the reference distance; Based on a plurality of the reference pixels corresponding to the target pixel of each of the first image frames in an image group, a reference pixel region corresponding to the target pixel is determined.
5. The method according to claim 4, characterized in that The acquiring a plurality of reference pixels from the first image frame based on the reference distance corresponding to the target pixel in each first image frame includes: Based on the target pixel point in each of the first image frames, a plurality of reference pixel points are acquired in a first direction; the distance between the plurality of reference pixel points and the target pixel point in the first direction is less than or equal to the reference distance; Based on the target pixel point, multiple reference pixel points are obtained in the second direction; the distance between the multiple reference pixel points and the target pixel point in the second direction is less than or equal to the reference distance; and the second direction is perpendicular to the first direction.
6. The method according to claim 4, characterized in that The step of performing blur processing on the target pixel based on a reference pixel area of each target pixel of the plurality of first image frames to obtain the second image frame sequence includes: Determine a second pixel value corresponding to the target pixel of the i-th first image frame in the first image group based on the target pixel of the i-th first image frame and the first pixel values of the multiple reference pixels corresponding to the target pixel; wherein i is greater than or equal to 1 and less than or equal to a first preset parameter; determining, based on the second pixel value corresponding to the target pixel of the i-th first image frame in the first image group, the second pixel value corresponding to the target pixel of the i-th first image frame in the second image group; the second image group is an image group other than the first image group in the plurality of image groups in the first image frame sequence; The second image frame sequence is determined based on second pixel values corresponding to the target pixel points of multiple first image frames in the first image frame sequence.
7. The method according to claim 6, characterized in that The determining, based on the target pixel of the i-th first image frame in the first image group and the first pixel values of the plurality of reference pixels corresponding to the target pixel, a second pixel value corresponding to the target pixel of the i-th first image frame includes: Based on the pixel mean between the first pixel value of the target pixel point in the i-th first image frame and the first pixel values of the multiple reference pixel points corresponding to the target pixel point, determine the second pixel value corresponding to the target pixel point in the i-th first image frame.
8. An image processing device, characterized in that: include: A determination module, configured to determine a target pixel region within a first image frame sequence to be displayed; wherein the first image frame sequence includes a plurality of first image frames that are sequentially continuous, and the target pixel region includes: a plurality of target pixel points corresponding to a target display region with a burn-in risk in a display device that displays the first image frame sequence; A processing module is used to perform compensation processing on the target pixel points in the target pixel area of each of the first image frames to obtain a second image frame sequence; wherein the pixel values of the same target pixel point of any two time-sequentially adjacent second image frames in the second image frame sequence are different.
9. An electronic device, characterized in that: include: a memory for storing processor-executable instructions; A processor connected to the memory; The processor is configured to execute the image processing method as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the image processing method as claimed in any one of claims 1 to 7.
Citation Information
Patent Citations
Display control method and device of terminal and intelligent terminal
CN105654903A
Status icon display method, status icon display device and terminal
CN105895015A
Display control method and device
CN106681675A
Pixel point display method and apparatus
CN106708460A
Display method and terminal
CN106900036A