Image Frame Storage Method, Photographing Method, and Electronic Device
AssigneeHuawei Technologies Co., Ltd.
InventorXi Chen
Life of this patent
Estimating the term…
Abstract
An image frame storage method is applied to an electronic device, where a maximum frame quantity of image frames that are allowed to be stored in a first storage space of the electronic device is N, where N is a positive integer. The method includes collecting a first image frame within first duration, where every m first image frames consecutively collected within the first duration are a group of image frames; and storing a second image frame that meets an image quality condition and that is in the first image frame into the first storage space.
Claims21
1-29. (canceled)
An electronic device, comprising:
- a memory configured to store computer instructions;
- and
- one or more processors coupled to the memory and configured to execute the computer instructions to cause the electronic device to:
- collect a first image frame within a first duration, wherein every m first image frames consecutively collected within the first duration are a group of image frames, wherein m is based on a total quantity F of image frames collected within the first duration and a maximum frame quantity N, wherein the total quantity F is a quantity of image frames that can be collected within the first duration using a first frame rate, and wherein the total quantity F is greater than the maximum frame quantity N;
- and
- store, into a first storage space, a second image frame that meets an image quality condition and that is in the first image frame, wherein the second image frame meets the image quality condition when:
- an image quality of the second image frame is a highest image quality in a group in which the first image frame is located;
- or
- the image quality of the second image frame is higher than a first image quality, a difference value between image content of adjacent second image frames is greater than a first value, a quantity of the second image frames that belong to a Kth group of image frames is equal to 1 when K is equal to 1, and a quantity of the second image frames that belong to a Kth group of image frames is less than or equal to (K−1) when K is greater than or equal to 2.
A wireless communications system, comprising:
- a second electronic device;
- and
- a first electronic device communicatively connected to the second electronic device and configured to:
- collect a first image frame within a first duration, wherein every m first image frames consecutively collected within the first duration are a group of image frames, wherein m is based on a total quantity F of image frames collected within the first duration and a maximum frame quantity N, wherein the total quantity F is a quantity of image frames that can be collected by the first electronic device within the first duration using a first frame rate, wherein the total quantity F is greater than the maximum frame quantity N, wherein a maximum frame quantity of image frames that are allowed to be stored in a first storage space of the first electronic device is N, and wherein N is a positive integer;
- store, into the first storage space, a second image frame that meets an image quality condition and that is in the first image frame, wherein the image quality condition comprises:
- an image quality of the second image frame is a highest image quality in a group in which the first image frame is located;
- or
- the image quality of the second image frame is higher than a first image quality, a difference value between image content of adjacent second image frames is greater than a first value, a quantity of the second image frames that belong to a Kth group of image frames is equal to 1 when K is equal to 1, and a quantity of the second image frames that belong to a Kth group of image frames is less than or equal to (K−1) when K is greater than or equal to 2;
- receive, from the second electronic device, a first data packet comprising a photographing instruction based on a first operation;
- determine, according to the photographing instruction, Z second image frames from the second image frame stored in the first storage space, wherein Z is a positive integer;
- and
- send, to the second electronic device, the Z second image frames to display or store.
Dependencies are inferred from the claim text.