High-magnification photographing method and electronic device
AssigneeHonor Device Co., Ltd.
InventorsWenyu ZHOU, Qifeng LONG, Dong GUO
Life of this patent
Estimating the term…
Abstract
In a high-magnification photographing scenario, the electronic device may automatically lock, in response to an operation of the user, a photographing object that requires high-magnification photographing. Then, the electronic device may collect and display a preview image of the photographing object by using a proper zoom ratio, and obtain an initial state and an initial position of the electronic device. In this way, it is unnecessary for the user to manually adjust the zoom ratio, so that jitter caused by the user's manual operation can be reduced.
Claims21
-19. (canceled)
A photographing method, wherein the method is applied to an electronic device, the electronic device comprises a camera, and the method comprises:
- displaying a first interface, wherein the first interface is a viewfinder interface for photographing by the electronic device, the first interface comprises a first preview image collected by the camera when a zoom ratio is m, the first preview image comprises an image of a target object, and the image of the target object is at a central position of the first preview image;
- displaying a second interface in response to a first operation performed by a user on the image of the target object in the first interface, and obtaining and saving initial pose information of the electronic device, wherein the second interface comprises a second preview image collected by the camera when the zoom ratio is n, the second preview image comprises an image of the target object, and n>m;
- and the initial pose information is used to indicate a motion state and a position of the electronic device when receiving the first operation;
- obtaining real-time pose information of the electronic device, wherein the real-time pose information is used to indicate a real-time motion state and a real-time position of the electronic device;
- sending first prompt information based on the real-time pose information and the initial pose information, wherein the first prompt information is used to prompt the user to move the electronic device, so that the electronic device is in the motion state and at the position indicated by the initial pose information;
- displaying a third interface in response to a photographing operation of the user, wherein the third interface comprises a third preview image and a fourth preview image, the third preview image is an image with a highest image parameter in a plurality of frames of second preview images collected by the camera, the image parameter comprises definition or integrity, and the fourth preview image is an image photographed in response to the photographing operation;
- and
- saving a preview image selected by the user in response to a selection operation performed by the user on the third preview image or the fourth preview image.
A photographing method, wherein the method is applied to an electronic device, the electronic device comprises a camera, and the method comprises:
- displaying a first interface, wherein the first interface is a viewfinder interface for photographing by the electronic device, the first interface comprises a first preview image collected by the camera when a zoom ratio is m, and the first preview image comprises an image of a target object;
- displaying a second interface in response to a zoom operation performed by a user on the first interface, wherein the second interface comprises a second preview image collected by the camera when the zoom ratio is n, and n>m;
- and the zoom operation is used to trigger the electronic device to adjust the zoom ratio of the camera to n;
- periodically buffering the second preview image in real time;
- displaying a third interface, and obtaining and saving initial pose information of the electronic device if the second preview images buffered in consecutive K periods comprise a same photographing area, and integrity of an image of the target object in the same photographing area is greater than a preset integrity threshold, wherein the third interface comprises an image that comprises the target object and that is collected by the camera when the zoom ratio is m;
- and the initial pose information is used to indicate that the second preview images buffered in consecutive K periods comprise a same photographing area, and a motion state and a position of the electronic device when the integrity of the image of the target object is greater than the preset integrity threshold, wherein K≥2, and K is an integer;
- obtaining real-time pose information of the electronic device, wherein the real-time pose information is used to indicate a real-time motion state and a real-time position of the electronic device;
- sending first prompt information based on the real-time pose information and the initial pose information, wherein the first prompt information is used to prompt the user to move the electronic device, so that the electronic device is in the motion state and at the position indicated by the initial pose information;
- displaying a fourth interface comprising a third preview image and a fourth preview image in response to a photographing operation of the user, wherein the fourth preview image is an image photographed in response to the photographing operation, the third preview image is an image with a highest image parameter in a plurality of frames of second preview images collected by the camera, and the image parameter comprises definition and integrity;
- and
- saving a preview image selected by the user in response to the user's selection of the third preview image or the fourth preview image in the fourth interface.
An electronic device, comprising:
- a camera;
- a non-transitory memory comprising instructions;
- and
- a processor coupled to the non-transitory memory, the instructions being executed by the processor to cause the electronic device to:
- display a first interface, wherein the first interface is a viewfinder interface for photographing by the electronic device, the first interface comprises a first preview image collected by the camera when a zoom ratio is m, the first preview image comprises an image of a target object, and the image of the target object is at a central position of the first preview image;
- display a second interface in response to a first operation performed by a user on the image of the target object in the first interface, and obtaining and saving initial pose information of the electronic device, wherein the second interface comprises a second preview image collected by the camera when the zoom ratio is n, the second preview image comprises an image of the target object, and n>m;
- and the initial pose information is used to indicate a motion state and a position of the electronic device when receiving the first operation;
- obtain real-time pose information of the electronic device, wherein the real-time pose information is used to indicate a real-time motion state and a real-time position of the electronic device;
- send first prompt information based on the real-time pose information and the initial pose information, wherein the first prompt information is used to prompt the user to move the electronic device, so that the electronic device is in the motion state and at the position indicated by the initial pose information;
- display a third interface in response to a photographing operation of the user, wherein the third interface comprises a third preview image and a fourth preview image, the third preview image is an image with a highest image parameter in a plurality of frames of second preview images collected by the camera, the image parameter comprises definition or integrity, and the fourth preview image is an image photographed in response to the photographing operation;
- and
- save a preview image selected by the user in response to a selection operation performed by the user on the third preview image or the fourth preview image.
Dependencies are inferred from the claim text.