Image processing method and apparatus, and device
AssigneeHuawei Technologies Co., Ltd.
InventorsDa Su, Yundie Zhang
Life of this patent
Estimating the term…
Abstract
An image processing method includes displaying a first image, where the first image has a first size. The method further includes receiving an operation of a user, where the operation of the user is any one of the following operations: a profile picture setting operation, a screen setting operation, a picture sharing operation, a contact list operation, or a picture sending operation. The method further includes displaying a second image, where the second image has a second size, the second size is less than the first size, and the second image includes salient content on the first image.
Claims21
An image processing method, comprising:
- displaying a first image having a first size and comprising salient content corresponding to a representation of a salient object in the first image;
- receiving an operation of a user, wherein the operation of the user is a profile picture setting operation, a screen setting operation, a picture sharing operation, a contact list operation, or a picture sending operation;
- determining, responsive to the operation, the representation of the salient object and a second circular region that is in the first image and that comprises the representation of the salient object, wherein a second diameter of the second circular region is greater than a first diameter of a first circular region, wherein the second diameter is less than or equal to a shortest side length of the first image, and wherein the first circular region is a smallest circular region comprising the representation of the salient object;
- cropping the first image based on the second circular region to obtain a second image having a second size and comprising the salient content, wherein the second size is smaller than the first size;
- and
- displaying the second image.
An image processing apparatus, comprising:
- a memory configured to store program instructions;
- and
- a processor coupled to the memory and configured to execute the program instructions to cause the image processing apparatus to:
- display a first image having a first size and comprising salient content corresponding to a representation of a salient object in the first image;
- receive an operation of a user, wherein the operation of the user is a profile picture setting operation, a screen setting operation, a picture sharing operation, a contact list operation, or a picture sending operation;
- determine, responsive to the operation, the representation of the salient object and a second circular region that is in the first image and that comprises the representation of the salient object, wherein a second diameter of the second circular region is greater than a first diameter of a first circular region, wherein the second diameter is less than or equal to a shortest side length of the first image, and wherein the first circular region is a smallest circular region comprising the representation of the salient object;
- crop the first image based on the second circular region to obtain a second image having a second size and comprising the salient content, wherein the second size is smaller than the first size;
- and
- display the second image.
Dependencies are inferred from the claim text.