Search

CN-121998837-A - Image processing method, readable storage medium, and electronic apparatus

CN121998837ACN 121998837 ACN121998837 ACN 121998837ACN-121998837-A

Abstract

The application provides an image processing method, a readable storage medium and electronic equipment, and belongs to the technical field of image processing. The method is applied to an electronic device comprising an application processor and an enhanced rendering processor, the application processor may render the layers by a rendering frame rate having a value lower than a refresh rate of the display screen, and synthesize portions of the layers at a first frequency (the value of the first frequency is lower than the value of the refresh rate of the display screen) to obtain a plurality of first images. Then, the enhancement rendering process may be performed on the at least two first images generated by the application processor by the enhancement rendering processor, and the synthesized image may be synthesized based on the first images after the enhancement rendering process by a synthesized frame rate having the same value as the refresh rate of the display screen. The enhanced rendering processor has lower power consumption and higher efficiency for enhanced rendering processing, thereby being beneficial to reducing the power consumption of the electronic equipment for image processing and improving the efficiency of image processing.

Inventors

  • ZHANG FENGJU
  • LU LAICHENG
  • LI DENG

Assignees

  • 荣耀终端股份有限公司

Dates

Publication Date
20260508
Application Date
20241105

Claims (13)

  1. 1. An image processing method is applied to an electronic device, and is characterized in that the electronic device comprises a first processor and a second processor, and the method comprises the following steps: Displaying the first composite image at a first point in time; before a second time point, synthesizing part of the at least three layers by the first processor to obtain at least two first images; Transmitting, by the first processor, the at least two first images to the second processor; rendering the first image by the second processor; synthesizing the at least two first images after rendering treatment through the second processor to obtain a second synthesized image; And displaying the second synthesized image at a second time point, refreshing a first display screen area of a display screen of the electronic equipment in the process of displaying the second synthesized image, wherein the first display screen area comprises a display screen area corresponding to a first image area with different contents of the first synthesized image and the second synthesized image, other display screen areas outside the first display screen area are not refreshed, and four sides of the first display screen area are not overlapped with four sides of the display area of the display screen.
  2. 2. The method according to claim 1, wherein the at least two first images comprise images synthesized from the partial layers and/or images corresponding to each of the at least three layers except the partial layers.
  3. 3. The method of claim 1, wherein the rendering process comprises at least one of a super-resolution process, a contrast adjustment process, an image sharpening process, a super-frame process, a detail enhancement process, a high dynamic range process, an image noise reduction process, a blurring process, and an animated image that generates an attribute animation.
  4. 4. The method of any one of claims 1 to 3, wherein the electronic device further comprises a display driver chip, wherein displaying the second composite image comprises: transmitting, by the second processor, first image data of the first image area in the second composite image to the display driver chip; And refreshing the first display screen area according to the first image data through the display driving chip.
  5. 5. The method of claim 4, wherein transmitting, by the second processor, first image data of the first image region in the second composite image to the display driver chip, comprises: generating, by the second processor, at least one first data packet and at least one second data packet based on the first image data, wherein the first data packet includes the first image data, and the second data packet indicates other image areas outside the first image area; and sending the at least one first data packet and the at least one second data packet to the display driving chip through the second processor.
  6. 6. The method of claim 5, wherein the second composite image comprises m rows and n columns of pixels, the first image region being an x-th column to a y-th column of the m rows and n columns of pixels in rows i to j, wherein m, n, i, j, x, y is a positive integer, i is less than or equal to j, j is less than or equal to m, x is less than or equal to y, and y is less than n; The at least one first data packet comprises j-i+1 first data packets respectively corresponding to image data in an x column to a y column in an i row to a j row; The at least one second data packet comprises one second data packet indicating the 1 st row to the i-1 st row, j-i+1 second data packets respectively indicating the 1 st column to the x-1 st column in the i st row to the j th row, j-i+1 second data packets respectively indicating the y+1 st column to the n th column in the i st row to the j th row, and one second data packet indicating the j+1 th row to the m th row.
  7. 7. The method of claim 4, wherein the refreshing, by the display driver chip, the first image data to the first display screen region comprises: The display driving chip controls the row driving signals and the column driving signals of the pixels in the first display screen area to be simultaneously effective, and the display driving chip controls the row driving signals and the column driving signals of the pixels in the other display screen areas to be simultaneously effective.
  8. 8. The method according to claim 1, wherein the method further comprises: And after the second time point, rendering at least part of the first images in the at least two first images through a second processor, and synthesizing and displaying at least one third synthesized image based on the at least part of the first images after the rendering, wherein the numerical value of the synthesized frame rate of the third synthesized image synthesized through the second processor is the same as the numerical value of the refresh rate of the display screen.
  9. 9. The method of claim 1, wherein the electronic device synthesizes, by the first processor, a portion of the at least three layers at a synthesized frame rate that is a third value that is less than a second value of the current refresh rate of the display screen, and wherein the electronic device synthesizes, by the second processor, the at least two first images after rendering at the synthesized frame rate that is the second value.
  10. 10. The method of claim 1, wherein the transmitting, by the first processor, the at least two first images to the second processor comprises: And transmitting the at least two first images and the image processing parameters corresponding to the first images to the second processor through the first processor.
  11. 11. The method of claim 1, wherein the image processing parameters include at least one of the following processing parameters: and the type of image quality enhancement processing is used for carrying out the rendering processing on the image area in the first image, and the dynamic effect parameters of the attribute animation corresponding to the first image.
  12. 12. A readable storage medium, characterized in that the readable storage medium stores one or more programs, which when executed on an electronic device, cause the electronic device to perform the image processing method of any of claims 1 to 11.
  13. 13. An electronic device, comprising: one or more first processors, one or more second processor processors, one or more memories; The one or more memories store one or more computer programs that, when executed by the first processor and the second processor, cause the electronic device to perform the image processing method of any of claims 1-11.

Description

Image processing method, readable storage medium, and electronic apparatus Technical Field The present application relates to the field of image processing technologies, and in particular, to an image processing method, a readable storage medium, and an electronic device. Background The processing of each composite image to be displayed by the electronic device typically includes rendering, compositing, and post-processing (optional). Wherein, drawing means generating image data of each layer of the composite image, rendering means rendering the layer data of each layer into a layer, compositing means laminating each layer into a composite image, post-processing means performing image quality enhancement processing such as super resolution, super frame, contrast/sharpness adjustment, and the like on the composite image. To avoid a screen displayed by the electronic device from being stuck, the value of the frame rate of the composite image synthesized by the electronic device is typically greater than or equal to the value of the refresh rate of the display screen of the electronic device. But electronic devices implement rendering, as well as rendering, compositing, and post-processing processes-image processing-consume significant power. Disclosure of Invention In view of the above, the present application provides an image processing method, a readable storage medium, and an electronic device, which are advantageous for reducing power consumption of the electronic device for image processing. The image processing method is applied to electronic equipment and comprises the steps of displaying a first synthesized image at a first time point, synthesizing partial image layers in at least three image layers to obtain at least two first images through the first processor before a second time point, transmitting the at least two first images to the second processor through the first processor, performing rendering processing on the first images through the second processor, synthesizing the at least two first images after the rendering processing through the second processor to obtain a second synthesized image, displaying the second synthesized image at the second time point, refreshing first display screen areas of a display screen of the electronic equipment in the process of displaying the second synthesized image, wherein the first display screen areas comprise display screen areas corresponding to first image areas with different contents of the first synthesized image and the second synthesized image, other display screen areas outside the first display screen areas are not refreshed, and four sides of the first display screen areas are not overlapped with four sides of a display screen. In the method, the electronic equipment synthesizes at least part of at least three layers corresponding to the user interface to be displayed through the first processor to obtain at least two first images, and then the electronic equipment performs rendering processing (such as enhanced rendering processing) on the at least two first images through the second processor to obtain a second synthesized image. In this way, the overall power consumption of the electronic device to generate the second composite image can be reduced because the power consumption of the rendering process performed by the second processor is lower. In addition, in the process of displaying the second composite image, the electronic device can only refresh the display screen area corresponding to the first image area with different contents of the second composite image relative to the first composite image, instead of refreshing all the display screen areas, so that the power consumption of refreshing the image by the electronic device can be reduced. Because the four sides of the first display screen area are not overlapped with the four sides of the display area of the display screen, which is equivalent to the area of the first display screen area in the middle of the display area of the display screen, the electronic device can refresh the first display screen area (instead of the whole row or the whole column) more accurately according to different contents of the second composite image relative to the first composite image so as to refresh the display screen. In some implementations, the first composite image and the second composite image may be two frames of composite images that are displayed consecutively by the electronic device. In some implementations, the first processor is an application processor and the second processor is an enhanced rendering processor. In some implementations, the first processor may begin synthesizing, by the first processor, a portion of the at least three layers at a time earlier than, after, or the same as the first point in time. In one possible implementation of the first aspect, the at least two first images include images synthesized by partial layers, and/or images corresponding to each of at least