Image processing method, apparatus, device, storage medium and program product
By acquiring partial refresh indicators and static area data, the global data of the target video frame is determined for image enhancement processing, which solves the problem that the partial refresh method cannot acquire the entire frame image data and improves the display effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-17
- Publication Date
- 2026-03-24
AI Technical Summary
When performing global image quality enhancement, the partial refresh method cannot obtain the data content of the entire frame image, which affects the display effect.
By obtaining the local refresh indicator, the local data of the target video frame and the static data of the static area of the previous video frame are obtained. The global data of the target video frame is determined and image enhancement processing is performed to reduce the dependence on the global data and improve the display effect.
It achieves global image enhancement processing of target video frames in a partial refresh state, reduces the dependence on global data, and improves the display effect.
Smart Images

Figure CN116567352B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display, in particular to an image processing method and device, equipment, storage medium and program product. BACKGROUND
[0002] On many electronic devices with screens, the screen refresh is usually in the form of continuous refresh of several frames of images (such as 30 frames or 60 frames, etc.) within 1 second, which will bring great power consumption.
[0003] In the related art, the power consumption can be reduced by using a local refresh mode for part of the screen. For example, the area playing the video is normally refreshed, and the static area of other content is not refreshed, keeping the previous static content. This local refresh can reduce the power consumption of the display chip and the panel by reducing the amount of data to be refreshed.
[0004] However, when the electronic device performs global picture quality (PQ) enhancement processing, such as global contrast enhancement, etc., the above local update method will cause the data content of the entire frame of images to be unable to be obtained, affecting the processing effect of the PQ enhancement processing which relies on the global statistical information, thereby causing poor display effect of the picture. SUMMARY
[0005] The present application provides an image processing method, device, equipment, storage medium and program product to solve the problem that the above local update method causes the data content of the entire frame of images to be unable to be obtained, affecting the processing effect of the PQ enhancement processing which relies on the global statistical information, thereby causing poor display effect of the picture.
[0006] In a first aspect, the present application provides an image processing method, comprising:
[0007] obtaining a local refresh indication, the local refresh indication being used to indicate that local refresh is performed starting from a target video frame;
[0008] obtaining first local data of the target video frame;
[0009] obtaining static data of a first static area of a first video frame, the first video frame being a previous video frame of the target video frame;
[0010] determining first global data of the target video frame according to the first local data and the static data;
[0011] performing image enhancement processing on the target video frame according to the first global data to obtain an enhanced video frame of the target video frame.
[0012] In a possible implementation, the acquiring the still data of the first still region of the first video frame comprises:
[0013] acquiring second global data of the first video frame;
[0014] determining the still data of the first still region according to the second global data and the first local data.
[0015] In a possible implementation, the acquiring the first local data of the target video frame comprises:
[0016] acquiring activity data of at least one activity region of the target video frame;
[0017] acquiring preset data in the activity data of the at least one activity region;
[0018] determining transition data of at least one transition region according to the preset data;
[0019] wherein the first local data comprises the transition data of the at least one transition region and the activity data of the at least one activity region.
[0020] In a possible implementation, the acquiring the preset data in the activity data of at least one activity region comprises:
[0021] determining an upper boundary and / or a lower boundary of any one activity region;
[0022] determining the preset data according to data of a preset range adjacent to the upper boundary of each activity region and / or data of a preset range adjacent to the lower boundary of each activity region.
[0023] In a possible implementation, the method further comprises:
[0024] acquiring activity data of an activity region and transition data of a transition region of a second video frame, the second video frame being a video frame before a global refresh instruction or a region change instruction is received;
[0025] determining third global data of the second video frame according to the still data of the first still region, the activity data of the activity region of the second video frame, and the transition data of the transition region of the second video frame;
[0026] performing image enhancement processing on the second video frame according to the third global data to obtain an enhanced video frame of the second video frame.
[0027] In a possible implementation, the method further comprises:
[0028] refresh a display interface of a display device based on the enhanced video frame of the target video frame;
[0029] refresh the display interface based on the display data.
[0030] In a second aspect, the present application provides an image processing apparatus, comprising:
[0031] a first obtaining module configured to obtain a partial refresh instruction, the partial refresh instruction being used to indicate that partial refresh is performed starting from a target video frame;
[0032] a second obtaining module configured to obtain first partial data of the target video frame;
[0033] a third obtaining module configured to obtain static data of a first static region of a first video frame, the first video frame being a previous video frame of the target video frame;
[0034] a determining module configured to determine first global data of the target video frame according to the first partial data and the static data;
[0035] a processing module configured to perform image enhancement processing on the target video frame according to the first global data to obtain an enhanced video frame of the target video frame.
[0036] In a possible implementation, the third obtaining module is specifically configured to:
[0037] obtain second global data of the first video frame;
[0038] determine the static data of the first static region according to the second global data and the first partial data.
[0039] In a possible implementation, the second obtaining module is specifically configured to:
[0040] obtain activity data of at least one active region of the target video frame;
[0041] obtain preset data in the activity data of the at least one active region;
[0042] determine transition data of the at least one transition region according to the preset data;
[0043] The first partial data comprises transition data of at least one transition region and activity data of at least one active region.
[0044] In a possible implementation, the second obtaining module is specifically configured to:
[0045] for any one active region, determine an upper boundary and / or a lower boundary of the active region;
[0046] The preset data is determined according to data of a preset range adjacent to the upper boundary of each active region, and / or data of a preset range adjacent to the lower boundary of each active region.
[0047] In a possible implementation, the apparatus further includes an enhancement module.
[0048] The enhancement module is specifically configured to:
[0049] obtain activity data of an active region and transition data of a transition region of a second video frame, the second video frame being a video frame before a global refresh instruction or a region change instruction is received;
[0050] determine third global data of the second video frame according to the static data of the first static region, the activity data of the active region of the second video frame, and the transition data of the transition region of the second video frame;
[0051] perform image enhancement processing on the second video frame according to the third global data, to obtain an enhanced video frame of the second video frame.
[0052] In a possible implementation, the apparatus further includes a display module.
[0053] The display module is specifically configured to:
[0054] refresh a display interface of a display device based on the enhanced video frame of the target video frame;
[0055] display the display interface after the display data is updated.
[0056] In a third aspect, the present application provides an electronic device, including a processor, and a memory connected with the processor in communication;
[0057] The memory stores computer execution instructions.
[0058] The processor executes the computer execution instructions stored in the memory, to implement the image processing method in the first aspect.
[0059] In a fourth aspect, the present application provides a computer readable storage medium, the computer readable storage medium storing computer execution instructions, the computer execution instructions being executed by a computer to implement the image processing method in the first aspect.
[0060] In a fifth aspect, the present application provides a computer program product, including a computer program, the computer program being executed by a computer to implement the image processing method in the first aspect.
[0061] In a sixth aspect, an embodiment of the present application provides a chip, wherein the chip stores a computer program, and the computer program is executed by the chip to cause the image processing method in the first aspect to be executed.
[0062] In a possible implementation, the chip is a chip in a chip module.
[0063] In a seventh aspect, an embodiment of the present application provides a module device, wherein the module device comprises a power module, a storage module and a chip module.
[0064] The power module is configured to provide power for the module device.
[0065] The storage module is configured to store data and instructions.
[0066] The chip module is configured to execute the image processing method in the first aspect.
[0067] The image processing method, device, equipment, storage medium and program product provided by the present application obtain a local refresh instruction, the local refresh instruction is used to indicate that local refresh is executed from a target video frame, then first local data of the target video frame is obtained, and static data of a first static region of a first video frame is obtained, the first video frame is a previous video frame of the target video frame, then first global data of the target video frame is determined according to the first local data and the static data of the first static region, the target video frame is subjected to image enhancement processing according to the first global data, an enhanced video frame of the target video frame is obtained, and global data of the target video frame is determined based on the characteristic that the static data of the static region is not refreshed, so that the influence of PQ quality enhancement processing which depends on the global data is reduced, and the picture display effect is enhanced. BRIEF DESCRIPTION OF DRAWINGS
[0068] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the present application.
[0069] Figure 1 A schematic diagram of a display interface according to an example of the present application;
[0070] Figure 2 A structural schematic diagram of a display device according to an example of the present application;
[0071] Figure 3 A flowchart of an image processing method according to an embodiment of the present application;
[0072] Figure 4 A schematic diagram of determining first global data of a target video frame according to first local data and static data of a first static region according to an example of the present application;
[0073] Figure 5 This is a flowchart illustrating another image processing method provided in Embodiment 2 of this application;
[0074] Figure 6 This is a schematic diagram of the screen area of the display interface as an example of this application;
[0075] Figure 7 A schematic diagram illustrating the static data for determining the first static region of a target video frame, as an example of this application;
[0076] Figure 8 This is a schematic diagram of the structure of an image processing apparatus provided in Embodiment 3 of this application;
[0077] Figure 9 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of this application.
[0078] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0079] 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 numbers 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 application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0080] Display power consumption is a significant issue in many electronic devices with screens. This is especially true for power-sensitive devices like smartphones, tablets, and commercial displays, where reducing display power consumption is crucial. Typically, screens refresh by continuously displaying several frames per second (e.g., 30 or 60 frames per second), which results in substantial power consumption.
[0081] In related technologies, for a specific display interface, such as Figure 1 The display interface is showing a video playing, and the shaded area represents the video playback area, i.e., the refresh area. For Figure 1 In this type of display interface, the terminal device can reduce power consumption by using partial refresh on a portion of the screen, while keeping the content in other areas static. This partial refresh method reduces the amount of data refreshed, thereby lowering the power consumption of the display chip and panel.
[0082] However, in actual scenarios, global refresh and local refresh often occur alternately, and when the electronic device performs global picture quality (PQ) enhancement processing, such as global contrast enhancement, and the like, the above local updating method can cause the data content of the entire frame of image to be unable to be obtained, affect the processing effect of the PQ enhancement processing that relies on the global statistical information, and thus cause the picture display effect to be poor.
[0083] Therefore, the present application provides an image processing method, which can obtain a local refresh indication of a target video frame, then obtain local data of the target video frame and static data of a static region of a previous video frame of the target video frame, and determine global data of the target video frame according to the obtained local data and static data, so that global image enhancement processing can be performed on the target video frame, the influence on the PQ quality enhancement processing that relies on the global data is reduced, and the picture display effect is enhanced.
[0084] For the convenience of understanding, the structure of a display device to which the page refresh method of the embodiments of the present application is applied will be described below in conjunction with an example of the present application. Figure 2
[0085] Figure 2 For the structure of a display device of an example of the present application, please refer to Figure 2 The display device includes a preset storage 201, an image enhancement component 202, and a control driving module 203 configured to receive an upper-layer command.
[0086] The control driving module 203 can receive an upper-layer command, and the upper-layer command can include a local refresh indication, which is used to indicate that local refresh is performed starting from a target video frame.
[0087] Then the control driving module 203 can determine static data of a static region of a previous video frame of the target video frame, and obtain local data of the target video frame, to determine global data of the target video frame, and send the global data of the target video frame to the image enhancement component 202, so that the image enhancement component 202 performs global image enhancement processing on the target video frame according to the global data.
[0088] The preset storage 201 is configured to store static data, which is data that is not refreshed by the display device in a local refresh state, i.e., static data of a static region. The static data here can be static data of a static region of a previous video frame of the target video frame, and the static data can be used to determine global data of a subsequent frame of the target video frame when the subsequent frame of the target video frame is in a local refresh state and the local refresh region does not change.
[0089] In the embodiments of the present application, the display device can be any device with a display screen. The device includes but is not limited to: user equipment (User Equipment, UE), mobile device, user terminal, terminal, wireless communication device, handheld device, vehicle-mounted device, etc. For example, some examples of terminals can be: mobile phone, tablet computer, computer with wireless transceiver function (such as notebook computer, palm computer, etc.), mobile Internet device (Mobile Internet Device, MID), virtual reality (Virtual Reality, VR) device, augmented reality (Augmented Reality, AR) device, extended reality (Extended Reality, XR) device, wireless terminal in industrial control, wireless terminal in self driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, cellular phone, cordless phone, session initiation protocol (Session Initiation Protocol, SIP) phone, wireless local loop (Wireless Local Loop, WLL) station, personal digital assistant (Personal Digital Assistant, PDA), handheld device with wireless communication function, computing device or other processing device connected to wireless modem, vehicle-mounted device, wearable device, etc.
[0090] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can exist independently or can be combined with each other. For the same or similar concepts or processes, some embodiments may not be described again. The embodiments of the present application will be described below with reference to the drawings.
[0091] Figure 3 A flowchart of an image processing method provided by Embodiment One of the present application is shown. The method can be executed by a display device or an image processing apparatus provided in the display device. The apparatus can be a chip, a chip module, an integrated development environment (integrated development environment, IDE), etc. For details, refer to Figure 3 The method includes the following steps:
[0092] S301, acquire a partial refresh indication, the partial refresh indication is used to indicate that the partial refresh is performed from a target video frame.
[0093] The display device can acquire a partial refresh indication, the partial refresh indication is used to indicate that the partial refresh is performed from a target video frame.
[0094] It can be understood that the display device performs global refresh on the video frame before the target video frame, for example, on the previous video frame of the target video frame, here referred to as the first video frame, the display device performs global refresh on the first video frame.
[0095] Exemplarily, the partial refresh state means that only the content of the active region in the display interface of the display device is refreshed, and the content of other static regions is not refreshed.
[0096] The global refresh state means that the content of the entire display interface is refreshed in the display interface of the display device.
[0097] S302, acquire first partial data of the target video frame.
[0098] If the refresh state of the target video frame is the partial refresh state, the display device can acquire the first partial data of the refresh region of the target video frame to determine the global data of the target video frame.
[0099] Exemplarily, the first partial data can include transition data of at least one transition region and active data of at least one active region.
[0100] S303, acquire static data of a first static region of the first video frame, the first video frame being the previous video frame of the target video frame.
[0101] After acquiring the first partial data of the target video frame, the display device can acquire the static data of the first static region of the first video frame.
[0102] S304, determine first global data of the target video frame according to the first partial data and the static data.
[0103] After the display device acquires the first partial data of the target video frame and the static data of the first static region of the first video frame, the display device can determine the first global data of the target video frame according to the first partial data and the static data of the first static region.
[0104] Exemplarily, Figure 4 A schematic diagram for the display device to determine the first global data of the target video frame according to the first partial data and the static data of the first static region is shown in Figure 4It can be known that the first stationary region of the first video frame includes two regions, and the stationary data of the first stationary region is composed of the data of the two regions. The first local data and the stationary data of the first stationary region can constitute the global data of the target video frame.
[0105] S305, performing image enhancement processing on the target video frame according to the first global data to obtain an enhanced video frame of the target video frame.
[0106] After determining the first global data of the target video frame, the display device can perform image enhancement processing on the target video frame according to the first global data to obtain an enhanced video frame of the target video frame, so that the global data of the target video frame can be obtained in the state of local refresh of the target video frame, thereby realizing global image enhancement processing on the target video frame.
[0107] For example, the display device can perform image enhancement processing on the target video frame according to the first global data, such as reducing backlight, global contrast enhancement, etc.
[0108] In this embodiment, the display device can obtain a local refresh indication, the local refresh indication being used to indicate that local refresh is performed starting from a target video frame, then obtain first local data of the target video frame, and obtain stationary data of a first stationary region of a first video frame, the first video frame being a previous video frame of the target video frame. Then, the first global data of the target video frame is determined according to the first local data and the stationary data of the first stationary region, the target video frame is subjected to image enhancement processing according to the first global data to obtain an enhanced video frame of the target video frame, and the global data of the target video frame is determined based on the stationary data of the stationary region which is not refreshed, thereby reducing the influence of PQ quality enhancement processing which depends on the global data and enhancing the picture display effect.
[0109] Next, the image processing method provided in the present application will be described through Embodiment Two.
[0110] Figure 5 The flowchart of another image processing method provided in Embodiment Two of the present application, which can be executed by a display device or an image processing device provided in the display device. The device can be a chip, a chip module, an IDE, etc. For reference Figure 5 , the method comprises the following steps:
[0111] S501, obtaining a local refresh indication, the local refresh indication being used to indicate that local refresh is performed starting from a target video frame.
[0112] S502, obtaining first local data of the target video frame.
[0113] To obtain the global data of the target video frame, the display device can obtain target first local data, specifically, the display device can obtain the first local data of the target video frame.
[0114] In the embodiments of the present application, the video frame corresponding to the display interface can be divided into three regions: a static region, an active region and a transition region, for example, Figure 6 For a schematic diagram of the picture region of the display interface of the present application, the transition region is between the static region and the active region, and the active region overlaps the static region, the transition data of the transition region is used for the image enhancement component to perform enhancement processing on the image, and the transition data of the transition region is not displayed in the page.
[0115] In a possible implementation, the first local data includes transition data of at least one transition region and active data of at least one active region, and the display device can obtain the first local data according to the following manner:
[0116] The display device can obtain the active data of at least one active region of the target video frame, and in the active data of at least one active region, obtain preset data, and then determine the transition data of at least one transition region according to the preset data.
[0117] In a possible implementation, the display device can obtain the preset data in the active data of at least one active region in the following manner:
[0118] For any one active region, the display device can determine the upper boundary and / or the lower boundary of the active region, and then determine the preset data according to the data of a preset range adjacent to the upper boundary of each active region and / or the data of a preset range adjacent to the lower boundary of each active region.
[0119] For example, in the example of Figure 6 , the upper boundary and the lower boundary of the active region are the dividing line 1 and the dividing line 2 respectively, the preset range can be one line spacing, the data of the 6th row is the data of the preset range adjacent to the upper boundary, and the data of the 12th row is the data of the preset range adjacent to the lower boundary, that is, the preset data can include the data of the 6th row and the data of the 12th row.
[0120] In another possible implementation, the display device can obtain the static data of the second static region of the target video frame, determine the second static region according to the static data of the second static region, and determine at least one active region according to the active data of at least one active region.
[0121] For any one active region, the display device can determine the dividing line between the second static region and the active region, and obtain the preset data from the active data of at least one active region according to the dividing line.
[0122] For example, the static data of the second static region can be composed of a plurality of pixel data, each of which can include a pixel value and a pixel position. The display device can divide the second static region in the target video frame according to the pixel positions of the plurality of pixels, and divide at least one active region in the target video frame according to the active data of the at least one active region.
[0123] For example, for the convenience of description, the display interface in Figure 6 is divided into a plurality of rows according to the same row spacing, and the display interface in Figure 6 It can be seen that the boundary line 1 between the static region 1 and the active region is shown in the figure. The display device can obtain the data of the 7th row adjacent to the boundary line 1 in the active region, and determine the data of the 7th row as part of the preset data. This part of the preset data can be used as the data of the transition region 1. As can be seen from the figure, the transition region 1 overlaps the region corresponding to the 6th row of the static region 1.
[0124] Similarly, the boundary line 2 between the static region 2 and the active region is shown in the figure. The display device can obtain the data of the 12th row adjacent to the boundary line 2 in the active region, and determine the data of the 12th row as another part of the preset data. This part of the preset data can be used as the data of the transition region 2. As can be seen from the figure, the transition region 2 overlaps the region corresponding to the 13th row of the static region 2. That is, in this example, the preset data is composed of two parts, i.e. the data of the 7th row and the data of the 12th row.
[0125] When the image enhancement component performs image enhancement processing on the display interface, for the processing of the active data of the active region, when the first row of the active region is processed, for example Figure 6 the 7th row in , the data of the transition region 1 can be obtained to perform data enhancement processing on the data of the 7th row, such as averaging the pixel values. Compared with obtaining the data of the static region or supplementing 0 pixels, the data enhancement is improved by using the transition data of the transition region, which improves the accuracy of data enhancement.
[0126] S503, obtaining second global data of the first video frame.
[0127] The display device is in a global refresh state for the first video frame, and the display device can obtain the second global data of the first video frame.
[0128] S504, determining static data of the first static region according to the second global data and the first local data.
[0129] Since the display device is in the partial refresh state from the target video frame, i.e., the partial region of the target video frame is refreshed, for the un-refreshed region (i.e., the static region), the display device displays by using the data of the static region of the first video frame.
[0130] Then, the static data of the first static region of the target video frame can be obtained according to the second global data of the first video frame and the first partial data of the target video frame.
[0131] For example, as shown in FIG. 6, the display device can determine the active region in which the first partial data is located in the target video frame, determine the data of the active region in the first video frame, and then determine the data other than the data of the active region in the second global data as the static data of the first static region of the target video frame. Figure 7
[0132] S505, determining the first global data of the target video frame according to the first partial data and the static data of the first static region.
[0133] S506, performing image enhancement processing on the target video frame according to the first global data to obtain an enhanced video frame of the target video frame.
[0134] For related descriptions of S505 and S506, refer to the above embodiments, which will not be described here.
[0135] It can be understood that for a subsequent video frame of the target video frame, which can be referred to as a second video frame, the second video frame is a video frame before the global refresh instruction or the region change instruction is received, and the global data of the second video frame can be determined according to the static data of the first static region of the first video frame and the partial data of the second video frame.
[0136] Specifically, the display device can obtain the active data of the active region and the transition data of the transition region of the second video frame, determine the third global data of the second video frame according to the static data of the first static region, the active data of the active region of the second video frame, and the transition data of the transition region of the second video frame, and perform image enhancement processing on the second video frame according to the third global data to obtain an enhanced video frame of the second video frame.
[0137] The transition data of the transition region of the second video frame can be determined according to the active data of the active region of the second video frame. For example, the display device can determine the data of a preset range adjacent to the upper boundary and / or the lower boundary of the active region as the transition data of the transition region. For example, in FIG. 7, the upper boundary can be the boundary line 1, the lower boundary can be the boundary line 2, and the data of the preset range can be the 7th row and the 12th row. Figure 6 Figure 6 In the example, the preset range can be one line spacing. In the example, the preset range can also be two line spacings, and the data of the preset range adjacent to the upper boundary can be the data of the 5th line and the 6th line.
[0138] In the example, the preset range can be one line spacing. In the example, the preset range can also be two line spacings, and the data of the preset range adjacent to the upper boundary can be the data of the 5th line and the 6th line.
[0139] In a possible implementation, the display device can update the data of the active region in the display interface to the active data of the active region of the enhanced video frame of the target video frame. The data of the static region is not refreshed, and then the display device displays the updated display interface based on the active data of the active region of the enhanced video frame of the target video frame and the static data of the static region of the enhanced video frame of the target video frame.
[0140] In the example, the preset range can be one line spacing. In the example, the preset range can also be two line spacings, and the data of the preset range adjacent to the upper boundary can be the data of the 5th line and the 6th line.
[0141] Figure 8 A structure schematic diagram of an image processing device provided in Embodiment Three of the present application is shown in FIG. 8. Referring to FIG. 8, Figure 8 The device 80 includes a first obtaining module 801, a second obtaining module 802, a third obtaining module 803, a determining module 804, and a processing module 805.
[0142] The first obtaining module 801 is configured to obtain a local refresh indication, the local refresh indication being used to indicate that local refresh is performed starting from a target video frame.
[0143] The second obtaining module 802 is configured to obtain first local data of the target video frame.
[0144] The third obtaining module 803 is configured to obtain static data of a first static region of a first video frame, the first video frame being a previous video frame of the target video frame.
[0145] The determining module 804 is configured to determine first global data of the target video frame according to the first local data and the static data.
[0146] The processing module 805 is configured to perform image enhancement processing on the target video frame according to the first global data, to obtain an enhanced video frame of the target video frame.
[0147] In a possible implementation, the third obtaining module 803 is specifically configured to:
[0148] obtain second global data of the first video frame.
[0149] determine the static data of the first static region according to the second global data and the first local data.
[0150] In a possible implementation, the second obtaining module 802 is specifically configured to:
[0151] obtain activity data of at least one active region of the target video frame.
[0152] obtain preset data in the activity data of the at least one active region.
[0153] determine transition data of at least one transition region according to the preset data.
[0154] The first local data includes the transition data of the at least one transition region and the activity data of the at least one active region.
[0155] In a possible implementation, the second obtaining module 802 is specifically configured to:
[0156] determine an upper boundary and / or a lower boundary of each active region.
[0157] determine the preset data according to data of a preset range adjacent to the upper boundary of each active region and / or data of a preset range adjacent to the lower boundary of each active region.
[0158] In a possible implementation, the apparatus further includes an enhancement module.
[0159] The enhancement module is specifically configured to:
[0160] obtain activity data of an active region and transition data of a transition region of a second video frame, the second video frame being a video frame before a global refresh instruction or a region change instruction is received.
[0161] determine third global data of the second video frame according to the static data of the first static region, the activity data of the active region of the second video frame, and the transition data of the transition region of the second video frame.
[0162] According to the third global data, the second video frame is subjected to image enhancement processing to obtain an enhanced video frame of the second video frame.
[0163] In a possible implementation, the apparatus further includes a display module.
[0164] The display module is specifically configured to:
[0165] The display interface of the display device is refreshed based on the enhanced video frame of the target video frame.
[0166] The display interface after the display data is updated.
[0167] The apparatus of the embodiment can be used to execute the technical solutions of the method embodiments, and the specific implementation manners and technical effects are similar, which will not be described here.
[0168] Figure 9 A structural schematic diagram of an electronic device provided in Embodiment Four of the present application is shown in FIG. 9. Figure 9 As shown in FIG. 9, the electronic device 90 can include at least one processor 901 and a memory 902.
[0169] The memory 902 is configured to store a program. Specifically, the program can include program code including computer execution instructions.
[0170] The memory 902 can include a random access memory (RAM) and can also include a non-volatile memory such as at least one disk memory.
[0171] The processor 901 is configured to execute the computer execution instructions stored in the memory 902 to implement the method described in the foregoing method embodiments. The processor 901 can be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0172] Optionally, the electronic device 90 can further include a communication interface 903. In a specific implementation, if the communication interface 903, the memory 902, and the processor 901 are independently implemented, the communication interface 903, the memory 902, and the processor 901 can be connected with each other through a bus and complete communication therebetween. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0173] Optionally, in a specific implementation, if the communication interface 903, the memory 902, and the processor 901 are integrated on a chip, the communication interface 903, the memory 902, and the processor 901 can complete communication through an internal interface.
[0174] The electronic device 90 can be a chip, a chip module, an IDE, or a smart home device, a smart wearable device, a smart vehicle, or the like.
[0175] The electronic device of the embodiment can be used to execute the technical solutions of the method embodiments, and the specific implementation manners and technical effects are similar, which will not be described here.
[0176] Embodiment five of the present application provides a computer readable storage medium, which can include a U disk, a mobile hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk or an optical disk, and various media that can store computer execution instructions, specifically, the computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by a computer to execute the technical solutions shown in the above method embodiments, and the specific implementation manners and technical effects are similar, which will not be described here.
[0177] Embodiment six of the present application provides a computer program product, which includes a computer program, and the computer program is executed by a computer to execute the technical solutions shown in the above method embodiments, and the specific implementation manners and technical effects are similar, which will not be described here.
[0178] Embodiment seven of the present application provides a chip, and the chip stores a computer program, and the computer program is executed by the chip to execute the technical solutions shown in the above method embodiments.
[0179] In a possible implementation, the chip can also be a chip module.
[0180] The chip of the embodiment can be used to execute the technical solutions shown in the method embodiments, and the specific implementation manners and technical effects are similar, which will not be described here again
[0181] Embodiment eight of the present application provides a module device, which comprises a power module, a storage module and a chip module.
[0182] The power module is configured to provide power for the module device.
[0183] The storage module is configured to store data and instructions.
[0184] The chip module of the embodiment can be used to execute the technical solutions shown in the method embodiments, and the specific implementation manners and technical effects are similar, which will not be described here again.
[0185] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. The specification and examples given are exemplary only and the true scope and spirit of the application is indicated by the following claims. The true scope and spirit of the application is indicated by the following claims.
[0186] It should be understood that the application is not limited to the precise construction that has been described above and shown in the accompanying drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the application. The scope of the application is indicated by the appended claims, and all changes that come within the meaning and range of equivalents are intended to be embraced therein.
[0187] In the present application, "and / or" is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. In addition, the character " / " in this paper represents that the front and rear associated objects are a "or" relationship.
[0188] "at least one" or the like refers to any combination of these items, including any combination of single item or multiple items. For example, at least one of a, b or c can represent a, b, c, a and b, a and c, b and c, or a, b and c, wherein each of a, b and c can be an element or a set containing one or more elements.
[0189] At least one in the present application refers to one or more. Multiple refers to two or more. The first, second, and the like appear in the embodiments of the present application, only for the purpose of description and distinction of the description object, and there is no order, nor represents the special limitation of the number of devices in the embodiments of the present application, cannot constitute any limitation on the embodiments of the present application. For example, the first threshold and the second threshold, only in order to distinguish different threshold, and is not to represent the size, priority or importance of the two threshold, etc. Different.
[0190] In the present application, "example", "in some embodiments", "in another embodiment" and the like are used to represent as an example, illustration or illustration. Any embodiment or design scheme described as "example" in the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the use of the word example is intended to present the concept in a specific way.
[0191] In the present application, "of", "corresponding", "corresponding", "relevant" and "corresponding" can be mixed sometimes. It should be pointed out that when the difference is not emphasized, the meaning expressed is consistent. In the embodiments of the present application, communication and transmission can be mixed sometimes. It should be pointed out that when the difference is not emphasized, the meaning expressed is consistent. For example, transmission can include sending and / or receiving, and can be a noun or a verb.
[0192] In the present application, "equal" can be used with "less than" or "greater than", but not at the same time with "less than" and "greater than". When "equal" is used with "less than", it is applicable to the technical scheme adopted by "less than". When "equal" is used with "greater than", it is applicable to the technical scheme adopted by "greater than".
Claims
1. An image processing method, characterized in that, The method includes: Obtain a partial refresh indication, which is used to indicate that a partial refresh should be performed starting from the target video frame; Obtain the first partial data of the target video frame; Obtain still data of the first still region of the first video frame, where the first video frame is the video frame preceding the target video frame; Based on the first local data and the static data of the first static region, the first global data of the target video frame is determined; Based on the first global data, image enhancement processing is performed on the target video frame to obtain the enhanced video frame of the target video frame; The method further includes: Obtain activity data of the active region and transition data of the transition region of the second video frame. The second video frame is the video frame before the global refresh instruction or the region change instruction is received, and the second video frame is the video frame after the target video frame. Based on the static data of the first static region, the active data of the active region of the second video frame, and the transition data of the transition region of the second video frame, the third global data of the second video frame is determined. Based on the third global data, image enhancement processing is performed on the second video frame to obtain the enhanced video frame of the second video frame.
2. The method according to claim 1, characterized in that, The step of acquiring still data of the first still region of the first video frame includes: Obtain the second global data of the first video frame; Based on the second global data and the first local data, determine the static data of the first static region.
3. The method according to claim 1 or 2, characterized in that, The acquisition of the first partial data of the target video frame includes: Acquire activity data for at least one active region of the target video frame; From the activity data of the at least one activity area, obtain preset data; Based on the preset data, determine the transition data for at least one transition region; The first local data includes transition data of at least one transition region and activity data of at least one active region.
4. The method according to claim 3, characterized in that, From the activity data of at least one activity area, retrieve preset data, including: For any given active region, determine the upper and / or lower boundaries of the active region; The preset data is determined based on the data of the preset range adjacent to the upper boundary of each activity area, and / or the data of the preset range adjacent to the lower boundary of each activity area.
5. The method according to any one of claims 1-4, characterized in that, The method further includes: The display interface of the display device is refreshed based on the enhanced video frame of the target video frame; The interface displays the updated data.
6. An image processing apparatus, characterized in that, include: The first acquisition module is used to acquire a partial refresh instruction, wherein the partial refresh instruction is used to indicate that a partial refresh is performed starting from the target video frame; The second acquisition module is used to acquire the first partial data of the target video frame; The third acquisition module is used to acquire still data of the first still region of the first video frame, wherein the first video frame is the video frame preceding the target video frame. The determining module is configured to determine the first global data of the target video frame based on the first local data and the still data; The processing module is configured to perform image enhancement processing on the target video frame based on the first global data to obtain the enhanced video frame of the target video frame; The enhancement module is used to acquire the activity data of the active region and the transition data of the transition region of the second video frame. The second video frame is the video frame before the global refresh instruction or the region change instruction is received, and the second video frame is the video frame after the target video frame. Based on the static data of the first static region, the active data of the active region of the second video frame, and the transition data of the transition region of the second video frame, the third global data of the second video frame is determined. Based on the third global data, image enhancement processing is performed on the second video frame to obtain the enhanced video frame of the second video frame.
7. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the image processing method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the image processing method as described in any one of claims 1-5.
9. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the image processing method according to any one of claims 1-5.
Citation Information
Patent Citations
Method for supporting local refreshing of any display area
CN112004089A