Photographing Method and Related Apparatus
AssigneeHonor Device Co., Ltd.
InventorHanyu Feng
Life of this patent
Estimating the term…
Abstract
This application discloses a photographing method and a related apparatus. The method includes the following steps: An electronic device detects a motion status of a photographed subject; if the photographed subject is moving relative to the electronic device, the electronic device determines whether an artificial light source is present in a current photographing environment; and if an artificial light source is present in the current photographing environment, the electronic device determines a frame interval based on a flicker frequency of the artificial light source, and may also reduce an exposure time by a step size B.
Claims17
A photographing method, applied to an electronic device comprising a display and a camera, wherein the method comprises:
- displaying, by the electronic device, a photographing interface on the display, wherein the photographing interface is configured to display a first image captured by the camera;
- sequentially displaying, by the electronic device when a relative motion exists between a photographed subject in the first image and the electronic device, L image frames captured by the camera at the photographing interface, wherein exposure times of the L image frames are different and sequentially decreased, an exposure time of an image frame first displayed in the L image frames is the same as an exposure time of the first image, and L is an integer greater than 2;
- determining, by the electronic device, a flicker period of an artificial light source when the artificial light source is present in a photographing environment;
- and
- adjusting, by the electronic device based on the flicker period, a frame interval for photographing the L image frames, wherein the frame interval is an interval between photographing two adjacent frames of images in the L image frames by the camera, and the frame interval is an integer multiple of the flicker period.
An electronic device, comprising a display, a camera, one or more memories, and one or more processors, wherein the one or more processors are coupled to the camera and the one or more memories;
- the one or more memories are configured to store computer program code comprising computer instructions;
- wherein the display is configured to:
- display a photographing interface, wherein the photographing interface is configured to display a first image captured by the camera, the display is further configured to sequentially display, when a relative motion exists between a photographed subject in the first image and the electronic device, L frames of second images captured by the camera at the photographing interface, wherein exposure times of the L image frames are different and sequentially decreased, an exposure time of an image frame first displayed in the L image frames is the same as an exposure time of the first image, and L is an integer greater than 2;
- and
- wherein the computer program code is executable by the processor to:
- determine a flicker period of an artificial light source when the artificial light source is present in a photographing environment;
- and
- adjust, based on the flicker period, a frame interval for photographing the L image frames, wherein the frame interval is an interval between photographing two adjacent frames of images in the L image frames by the camera, and the frame interval is an integer multiple of the flicker period.
A non-transitory computer-readable storage medium, comprising computer instructions, wherein when the computer instructions are run on an electronic device comprising a camera and a display, the electronic device is enabled to:
- display a photographing interface on the display, wherein the photographing interface is configured to display a first image captured by the camera;
- sequentially display, when a relative motion exists between a photographed subject in the first image and the electronic device, L image frames captured by the camera at the photographing interface, wherein exposure times of the L image frames are different and sequentially decreased, an exposure time of an image frame first displayed in the L image frames is the same as an exposure time of the first image, and L is an integer greater than 2;
- determine a flicker period of an artificial light source when the artificial light source is present in a photographing environment;
- and
- adjust, based on the flicker period, a frame interval for photographing the L image frames, wherein the frame interval is an interval between photographing two adjacent frames of images in the L image frames by the camera, and the frame interval is an integer multiple of the flicker period.
Dependencies are inferred from the claim text.