Image processing method and electronic device

JP2026519328APending Publication Date: 2026-06-16HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2024-02-23
Publication Date
2026-06-16

Smart Images

  • Figure 2026519328000001_ABST
    Figure 2026519328000001_ABST
Patent Text Reader

Abstract

Embodiments of this application provide an image processing method and an electronic device. The method includes the steps of: encoding a first image to obtain a first encoded file in response to an action by a user to capture a first image via a first terminal device; transmitting the first encoded file to a server when a first action by the user is detected and / or when the first terminal device satisfies a first condition; and receiving a second image transmitted by the server, wherein the second image is obtained by the server by performing cloud enhancement processing on the first image in the first encoded file. With this method and electronic device, transmission to the cloud can be avoided when the terminal device is under heavy load or overheating, or when the network conditions are poor.
Need to check novelty before this filing date? Find Prior Art

Claims

1. An image processing method, wherein the method is The steps include: encoding the first image in order to obtain a first encoded file in response to an action by a user to capture a first image via a first terminal device; The steps include: sending the first encoded file to the server when the first action of the user is detected and / or when the first terminal device satisfies the first condition; A step of receiving a second image transmitted by the server, wherein the second image is acquired by the server by performing cloud enhancement processing on the first image in the first encoded file. An image processing method comprising:

2. The first condition mentioned above is the following condition, The current load of the first terminal device is less than a first load threshold, the current temperature of the first terminal device is less than a first temperature threshold, and the current network signal of the first terminal device is greater than a first signal threshold. The method according to claim 1, comprising one or more of the following.

3. Before sending the first encoded file to the server, the method, A step of displaying a first interface on the display of a first terminal device in response to a second action of the user, wherein the first interface comprises a first preview image and a first icon, and the first preview image is a gallery preview image corresponding to the first image. Furthermore, The first action of the user comprises the user tapping the first icon. The method according to claim 1 or 2.

4. The first interface further comprises a first selection control, and the method is When the user selects a first enhancement level via the first selection control, the first information is transported within the first encoded file, the first information indicating that the degree of portrait enhancement performed by the server on the first image is the first enhancement level, and the cloud enhancement process includes the portrait enhancement. The method according to claim 3, further comprising:

5. In response to the operation of the user acquiring the first image via the first terminal device, the step of encoding the first image in order to obtain the first encoded file is: A step of determining whether to enter cloud enhancement mode based on the current shooting scene, wherein the server needs to perform cloud enhancement processing on the first image in the cloud enhancement mode. When it is determined to enter the cloud enhancement mode, the first step is to encode the first image in order to obtain the first encoded file in response to the operation of the user acquiring the first image via the first terminal device, The method according to any one of claims 1 to 4, comprising:

6. The step of determining whether to enter the cloud enhancement mode based on the current shooting scene is: A step of determining whether to enter the cloud enhancement mode based on the current shooting scene and the current load and / or the current temperature of the first terminal device, The steps include determining not to enter the cloud enhancement mode when the current load of the first terminal device is greater than the first load threshold and / or the current temperature of the first terminal device is greater than the first temperature threshold, The method according to claim 5, comprising:

7. The step of determining whether to enter the cloud enhancement mode based on the current shooting scene is: The steps include: obtaining a preview image corresponding to the current shooting scene; The steps include determining to enter the cloud enhancement mode when it is detected that a first portrait exists in the preview image and that the first portrait satisfies a second condition, The method according to claim 5 or 6, comprising:

8. The method according to claim 7, wherein the area ratio of the first portrait in the preview image is greater than the first area ratio and less than the second area ratio.

9. The step of determining whether to enter the cloud enhancement mode based on the current shooting scene is: The steps include: obtaining a preview image corresponding to the current shooting scene; The steps include: determining to enter the cloud enhancement mode when, based on the preview image, the current scene is determined to be a high-dynamic scene; or, The steps include determining to enter the cloud enhancement mode when, based on the preview image, it is determined that the brightness of the current scene is less than the first brightness, The method according to claim 5 or 6, comprising:

10. In response to the operation of the user acquiring the first image via the first terminal device, the step of encoding the first image in order to obtain the first encoded file is: When it is detected that the current shooting mode is cloud camera mode, portrait mode, or wide aperture mode, the first step is to encode the first image in order to obtain the first encoded file in response to the operation of the user capturing the first image via the first terminal device, The method according to any one of claims 1 to 4, further comprising:

11. In response to the operation of the user acquiring the first image via the first terminal device, the step of encoding the first image in order to obtain the first encoded file is: When it is detected that the current shooting mode is cloud camera mode, portrait mode, or wide aperture mode, that the current load of the first terminal device is less than the first load threshold, and that the current temperature of the first terminal device is less than the first temperature threshold, the first image is encoded in order to obtain the first encoded file in response to the operation of the user capturing the first image via the first terminal device. The method according to any one of claims 1 to 4, further comprising:

12. The aforementioned method, If the second image transmitted by the server is not received within a first time threshold, the first steps include decoding the first encoded file in order to obtain the first image. A step of performing a third process on the first image in order to obtain a fourth image, wherein the timing start point of the first time threshold is the time when the first encoded file is transmitted to the server, and the third process comprises image signal processor ISP processing and post-processing. The method according to any one of claims 1 to 11, further comprising:

13. The aforementioned method, When it is decided not to enter the cloud enhancement mode, the third step is to perform a third process on the first image in order to acquire a fourth image in response to the operation of the user acquiring the first image via the first terminal device, wherein the third process comprises image signal processor ISP processing and post-processing. The method according to claim 5 or 6, further comprising:

14. The aforementioned method, A step of sending a request message to the server, wherein the request message is used to request the server to retrieve a target image stored in the server. The steps include receiving an image transmitted by the server and obtained by adjusting the target image based on the device information of the first terminal device, The method according to any one of claims 1 to 13, further comprising:

15. The method according to any one of claims 1 to 14, wherein the first image comprises an original image.

16. It is an electronic device, One or more processors, One or more memory devices, One or more computer programs, wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions, and when the instructions are executed by the one or more processors, the electronic device becomes capable of performing the method according to any one of claims 1 to 15, An electronic device equipped with the following features.

17. A computer-readable storage medium wherein the storage medium stores a program or instruction, and when the program or instruction is executed, the method according to any one of claims 1 to 15 is performed.

18. A chip wherein the chip stores an instruction, and when the instruction is executed, the method according to any one of claims 1 to 15 is performed.