CN110769156A - Picture display method and electronic equipment - Google Patents

Picture display method and electronic equipment Download PDF

Info

Publication number
CN110769156A
CN110769156A CN201911053925.1A CN201911053925A CN110769156A CN 110769156 A CN110769156 A CN 110769156A CN 201911053925 A CN201911053925 A CN 201911053925A CN 110769156 A CN110769156 A CN 110769156A
Authority
CN
China
Prior art keywords
picture
pictures
camera
cameras
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911053925.1A
Other languages
Chinese (zh)
Inventor
陈涵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911053925.1A priority Critical patent/CN110769156A/en
Publication of CN110769156A publication Critical patent/CN110769156A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a picture display method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that the operation for obtaining a satisfactory picture is complicated. The method comprises the following steps: receiving a first input in a case where a first picture is displayed; and in response to the first input, updating and displaying the first picture as a second picture, wherein the field angles of the first picture and the second picture are different. Wherein, the first picture is any one of the following: the method comprises the steps that a picture shot by a first camera at a first moment and a picture obtained by fusing two pictures shot by two cameras including the first camera at the first moment are obtained; the second picture is any one of the following: the image shot by the second camera at the first moment and the image obtained by fusing the two images shot by the two cameras including the second camera at the first moment are obtained. The method can be applied to viewing scenes of photos taken by the electronic equipment.

Description

Picture display method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a picture display method and electronic equipment.
Background
With the development of communication technology, in order to achieve better photographing effect, more and more electronic devices are provided with a plurality of cameras, such as a general wide-angle camera, a super wide-angle camera, a telephoto camera, and the like.
In general, when a user faces different shooting scenes, the user can select a camera from a plurality of cameras to shoot a picture according to actual needs. For example, a user clicks a photographing control or performs a gesture zoom operation in a photographing preview interface to trigger the electronic device to take a picture using a camera corresponding to the user input, so that the picture can be obtained.
However, after the photo is obtained by the above method, the user can view the photo taken this time. If the user is not satisfied with the photographing field angle of the photo taken this time, the user can trigger the electronic device to use another camera to re-take the photo to obtain the photo with another field angle, so that the operation of obtaining the photo satisfied with the user is complicated.
Disclosure of Invention
The embodiment of the invention provides a picture display method and electronic equipment, and aims to solve the problem that the operation for obtaining a satisfactory picture is complicated.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a picture display method. The method comprises the following steps: receiving a first input in a case where a first picture is displayed; and in response to the first input, updating and displaying the first picture as a second picture, wherein the field angles of the first picture and the second picture are different. Wherein, the first picture is any one of the following: the method comprises the steps that a picture shot by a first camera at a first moment and a picture obtained by fusing two pictures shot by two cameras including the first camera at the first moment are obtained; the second picture is any one of the following: the image shot by the second camera at the first moment and the image obtained by fusing the two images shot by the two cameras including the second camera at the first moment are obtained.
In a second aspect, an embodiment of the present invention provides an electronic device. The electronic device comprises a receiving module and a display module. And the receiving module is used for receiving a first input under the condition that the display module displays the first picture. And the display module is used for responding to the first input received by the receiving module and updating and displaying the first picture into a second picture, and the field angles of the first picture and the second picture are different. Wherein, the first picture is any one of the following: the method comprises the steps that a picture shot by a first camera at a first moment and a picture obtained by fusing two pictures shot by two cameras including the first camera at the first moment are obtained; the second picture is any one of the following: the image shot by the second camera at the first moment and the image obtained by fusing the two images shot by the two cameras including the second camera at the first moment are obtained.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the picture display method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the picture display method provided in the first aspect are implemented.
In an embodiment of the present invention, in a case where the first picture is displayed, a first input may be received; and in response to the first input, updating and displaying the first picture as a second picture, wherein the field angles of the first picture and the second picture are different. Wherein, the first picture is any one of the following: the method comprises the steps that a picture shot by a first camera at a first moment and a picture obtained by fusing two pictures shot by two cameras including the first camera at the first moment are obtained; the second picture is any one of the following: the image shot by the second camera at the first moment and the image obtained by fusing the two images shot by the two cameras including the second camera at the first moment are obtained. By means of the scheme, when a user views a first picture obtained at a certain moment, if the shooting view angle of the user to the first picture is not satisfactory, the user can trigger the electronic equipment to update and display the first picture to be a second picture of other shooting view angles obtained at the moment according to actual needs. Therefore, the user can independently select the pictures with different shooting visual angles acquired at the same time, namely the operation of acquiring the pictures satisfied by the user is simpler and more convenient.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a picture display method according to an embodiment of the present invention;
fig. 3 is a second schematic diagram of a picture display method according to an embodiment of the invention;
fig. 4 is an operation diagram of a photo preview interface according to an embodiment of the present invention;
fig. 5 is a third schematic diagram illustrating a picture display method according to an embodiment of the invention;
fig. 6 is a second schematic operational diagram of a photo preview interface according to an embodiment of the present invention;
fig. 7 is a third schematic operation diagram of a photo preview interface according to the embodiment of the present invention;
FIG. 8 is a fourth schematic diagram illustrating a picture display method according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating an embodiment of a stored picture;
FIG. 10 is a second schematic diagram of a stored picture according to an embodiment of the present invention;
FIG. 11 is a fifth schematic view illustrating a picture display method according to an embodiment of the present invention;
FIG. 12 is a diagram illustrating an operation of viewing a picture according to an embodiment of the present invention;
FIG. 13 is a sixth schematic view illustrating a picture display method according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 15 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 16 is a third schematic structural diagram of an electronic apparatus according to an embodiment of the invention;
fig. 17 is a fourth schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 18 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention should not be construed as advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
Some terms/nouns referred to in the embodiments of the present invention are explained below.
Multiplying power: generally, the zoom factor that can be regarded as a lens refers to a ratio of an imaging size of a subject to be shot to an actual size, that is, the zoom factor can also be measured by a focal length and a shooting distance, and can also be expressed by a zoom factor in the embodiment of the present invention.
The field angle: the FOV is also called an angle of view or a field of view, and is an angle formed by two edges of an object image of a measured object passing through the maximum range of a lens. Note that the shorter the focal length, the smaller the magnification, and the larger the angle of view; the longer the focal length, the larger the magnification, and the smaller the angle of view.
Main camera: the camera can be called as a common camera and is a conventional camera arranged in the electronic equipment.
Wide-angle camera: a camera provided in an electronic apparatus, which has a shorter focal length and a larger shooting angle of view than a main camera, can be used, for example, to shoot a wide-range landscape, i.e., a wide-angle camera having a magnification smaller than that of the main camera. E.g., ultra wide angle cameras, etc.
A long-focus camera: a camera which has a longer focal length and a smaller shooting angle than a main camera and is arranged in an electronic device can be used for shooting close-up of a person scene and a distant scene under the condition of unchanged pixels, namely the magnification of the long-focus camera is larger than that of the main camera. For example, the tele camera may be a 2-time tele camera, a 5-time tele camera, or the like.
Fusing: the method includes the steps that at least two pictures are overlapped, pixel points of overlapped areas are selected, and the fused pictures are formed. It should be noted that, in the embodiment of the present invention, the merging may refer to merging two pictures.
Cutting: the method is to obtain a picture area after cutting an original picture according to a certain size. The embodiment of the invention can be a picture obtained by intercepting an original picture shot by a camera by the electronic equipment according to the zooming operation of a user.
The embodiment of the invention provides a picture display method and electronic equipment, which can receive a first input under the condition of displaying a first picture; and in response to the first input, updating and displaying the first picture as a second picture, wherein the field angles of the first picture and the second picture are different. Wherein, the first picture is any one of the following: the method comprises the steps that a picture shot by a first camera at a first moment and a picture obtained by fusing two pictures shot by two cameras including the first camera at the first moment are obtained; the second picture is any one of the following: the image shot by the second camera at the first moment and the image obtained by fusing the two images shot by the two cameras including the second camera at the first moment are obtained. By means of the scheme, when a user views a first picture obtained at a certain moment, if the shooting view angle of the user to the first picture is not satisfactory, the user can trigger the electronic equipment to update and display the first picture to be a second picture of other shooting view angles obtained at the moment according to actual needs. Therefore, the user can independently select the pictures with different shooting visual angles acquired at the same time, namely the operation of acquiring the pictures satisfied by the user is simpler and more convenient.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
Taking an android operating system as an example, a software environment to which the image display method provided by the embodiment of the invention is applied is introduced.
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the image display method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the image display method may operate based on the android operating system shown in fig. 1. Namely, the processor or the electronic device can implement the image display method provided by the embodiment of the invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a terminal device. The electronic device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
An execution main body of the picture display method provided by the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the picture display method in the electronic device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily describe the picture display method provided by the embodiment of the present invention.
As shown in fig. 2, an embodiment of the invention provides a method for displaying a picture. The method may include S101 and S102 described below.
S101, the electronic equipment receives a first input under the condition that the first picture is displayed.
Wherein, the first picture is any one of the following: the image fusion method comprises a picture shot by a first camera at a first moment and a picture obtained by fusing two pictures shot by two cameras including the first camera at the first moment.
The image display method provided by the embodiment of the invention can be applied to electronic equipment comprising M cameras, wherein M is an integer larger than 1. It is to be understood that the first picture may specifically be any one of the following: the image fusion method comprises the steps of obtaining an image shot by a first camera in M cameras at a first moment, and obtaining an image obtained by fusing two images shot by two cameras including the first camera in the M cameras at the first moment.
In the embodiment of the present invention, the picture may refer to a picture taken by a camera of the electronic device. For example, the first picture may be a photograph taken by a first camera of the M cameras.
In the case where the first picture is a picture obtained by fusing two pictures taken by two cameras including the first camera at the first time, the two pictures have different angles of view of taking the pictures.
In addition, each camera corresponds to a different magnification interval. When the first picture is a picture obtained by fusing two pictures shot by two cameras including the first camera at the first moment, the magnification interval corresponding to the first camera in the two cameras is adjacent to the magnification interval corresponding to the other camera.
In addition, in the embodiment of the invention, the M cameras are M cameras which are positioned on the same plane in the electronic equipment and have completely different shooting visual angles. For example, the M cameras may be located on a plane where a screen of the electronic device is located, that is, a front surface of the electronic device; alternatively, the M cameras may be located on a plane opposite to a plane on which a screen of the electronic device is located, i.e., a back surface of the electronic device.
Optionally, the M cameras may be sequentially arranged on the plane of the electronic device according to the size of the field angle.
Optionally, before the step S101, the picture display method provided in the embodiment of the present invention may further include: the electronic device receives input from a user and displays a first picture in response to the input from the user.
For example, if the input of the user is input for starting to view the picture, the first picture is a picture displayed by the electronic device by default; and if the input of the user is the input during the picture switching, the first picture is the switched picture.
For example, the first picture is taken as a picture displayed by the electronic device as a default. Assuming that the preview picture collected by the main camera is displayed at the first moment by the electronic device, when the M cameras are controlled to take pictures at the first moment and then view the pictures, the first picture can be a picture taken by the first camera.
Optionally, when the first picture is a picture taken by a first camera of the M cameras at a first time, before the electronic device displays the first picture, the electronic device stores M pictures taken by the M cameras at the first time, or stores M pictures taken by the M cameras at the first time and X pictures obtained by fusing the pictures in the M pictures, and the first picture may be one of the M pictures. Wherein X is a positive integer less than M.
Optionally, in a case that the first picture is a picture obtained by fusing two pictures taken by two cameras including the first camera in the M cameras at the first time, before the electronic device displays the first picture, one mode is that the pictures stored in the electronic device include: m pictures shot by the M cameras at a first moment and X pictures obtained by fusing the pictures in the M pictures, wherein the first picture can be one picture in the X pictures; in another mode, the pictures stored in the electronic device include M pictures shot by the M cameras at the first time, and the first picture may be one picture obtained by fusing two pictures in the M pictures. Wherein X is a positive integer less than M.
Optionally, the first input may be a touch input, a key input, a gesture input, or the like. For example, the touch input may be a sliding input, a clicking input, a long-pressing input, or the like of the first picture by the user, where the sliding input may be to increase the distance between two fingers or to decrease the distance between two fingers.
Optionally, in the case of displaying the first picture, the picture display method provided in the embodiment of the present invention may further include: and displaying the first magnification. The first magnification may be an actual magnification determined by the electronic device according to the input of the user; or, the first magnification may be a magnification interval corresponding to a certain picture stored in the electronic device; alternatively, the first magnification may be a median, which is a median of a magnification interval corresponding to a certain picture stored in the electronic device.
And S102, responding to the first input, and updating and displaying the first picture as a second picture by the electronic equipment.
Wherein the first picture and the second picture have different field angles. The second picture is any one of the following: the image shot by the second camera at the first moment and the image obtained by fusing the two images shot by the two cameras including the second camera at the first moment are obtained.
In the case where the second picture is obtained by fusing two pictures taken by two cameras including the second camera at the first time, the two pictures have different angles of view.
In addition, each camera corresponds to a different magnification interval, so when the second picture is a picture obtained by fusing two pictures taken by two cameras including the second camera at the first time, the magnification interval corresponding to the second camera in the two cameras is adjacent to the magnification interval corresponding to the other camera.
In addition, in the embodiment of the present invention, the first camera and the second camera may be any two different cameras among the M cameras. For example, the electronic apparatus may include 4 rear cameras, which may be a wide camera a, a normal camera B, a 2-time telephoto camera C, and a 5-time telephoto camera D, respectively, and for example, the ultra-wide camera a may satisfy Fov ═ 110 °, the normal camera B may satisfy Fov ═ 60 °, the 2-time telephoto camera C may satisfy Fov ═ 40 °, and the 5-time telephoto camera D may satisfy Fov ═ 15 °. Wherein, first camera can be super wide angle camera A, and the second camera can be 2 times long burnt camera C.
For example, the first picture is taken by a first camera of the M cameras at a first time. In the process that a user views a first picture displayed by the electronic device, when the user is unsatisfied with the angle of view of the first picture and wants to view a second picture with other shooting angles of view, the user can trigger the electronic device to update and display the first picture as the second picture through the first input. The second picture is one of M pictures shot by the M cameras at the first moment.
For example, a first picture is taken as a picture obtained by fusing two pictures taken by two cameras including the first camera in the M cameras at a first time. In the process that a user views a first picture displayed by electronic equipment, when the user is unsatisfied with the angle of view of the first picture and wants to view second pictures of other shooting angles of view, the user can trigger the electronic equipment through a first input to fuse two pictures shot by two cameras including the first camera in the M cameras at a first moment to obtain a picture as a second picture, and the picture is updated and displayed as the second picture.
Optionally, a first possible implementation manner is that M pictures and X pictures are stored in the electronic device, where the M pictures are pictures taken by the M cameras at the first time, and the X pictures are pictures obtained by fusing pictures in the M pictures. The first picture may be any one of M pictures and X pictures, and the second picture may be any one of the M pictures and X pictures except the first picture.
A second possible implementation manner is that M pictures are stored in the electronic device, and the M pictures are pictures taken by the M cameras at the first time. The first picture can be any one of the M pictures, and the second picture can be any one of the M pictures except the first picture; or the first picture may be any one of the M pictures, and the second picture may be a picture obtained by fusing two of the M pictures; or the first picture may be one picture obtained by fusing two pictures in the M pictures, and the second picture may be any one picture in the M pictures; alternatively, the first picture may be one picture obtained by fusing two of the M pictures, and the second picture may be another picture obtained by fusing two of the M pictures.
It should be noted that, two cameras and a second picture in the "a picture obtained by fusing two pictures taken by two cameras including the first camera in the M cameras at the first time" are "a picture obtained by fusing two pictures taken by two cameras including the second camera in the M cameras at the first time" and are: two pairs of completely different cameras; or one camera is the same, and the other camera is different, namely two cameras which are not completely the same.
The embodiment of the invention provides a picture display method and electronic equipment, wherein when a user views a first picture obtained at a certain moment, if the shooting view angle of the user on the first picture is not satisfactory, the user can trigger the electronic equipment to update and display the first picture into a second picture of other shooting view angles obtained at the moment according to actual needs. Therefore, the user can independently select the pictures with different shooting visual angles acquired at the same time, namely the operation of acquiring the pictures satisfied by the user is simpler and more convenient.
Optionally, with reference to fig. 2, as shown in fig. 3, before the above S101, the picture display method provided in the embodiment of the present invention may further include the following S103 and S104.
S103, the electronic equipment receives a second input.
Optionally, the second input may be touch input, key input, gravity input, voice input, or the like. For example, the touch input may be a touch input of a user for a first control, where the first control is used to control the M cameras to take pictures simultaneously and respectively.
Optionally, before the electronic device receives the second input of the user, the picture display method provided in the embodiment of the present invention may further include: the electronic equipment can simultaneously acquire M preview pictures through M cameras, and one camera acquires one preview picture.
And S104, responding to the second input, and controlling the M cameras to shoot M pictures at the first moment by the electronic equipment.
The M pictures are different in field angle, and the M cameras at least comprise a first camera and a second camera.
In S104, at the first time, one camera takes one picture.
In addition, the above S103 and S104 are exemplified by the electronic device controlling M cameras to take M pictures at the first time, and do not limit the present invention in any way. The invention provides another shooting method, which comprises the step that in response to input of a user, the electronic equipment can control Y cameras in M cameras to shoot Y pictures at a first moment, wherein Y is an integer which is larger than 1 and smaller than M.
Illustratively, the electronic device includes 4 rear cameras, i.e., an ultra wide camera a, a normal camera B, a 2-time telephoto camera C, and a 5-time telephoto camera D, where the ultra wide camera a may satisfy Fov ═ 110 °, the normal camera B may satisfy Fov ═ 60 °, the 2-time telephoto camera C may satisfy Fov ═ 40 °, and the 5-time telephoto camera D may satisfy Fov ═ 15 °. The user can firstly control 4 rear cameras to be in an operating state simultaneously through one input, and the 4 rear cameras can respectively collect 4 preview pictures which aim at the same shooting object and have different shooting view angles. As shown in fig. 4, the electronic device may display a preview screen captured by the general camera B and the first control 01. If the electronic equipment receives a second input of the user for the first control 01, the 4 cameras are controlled to take 4 pictures with different shooting visual angles at the first moment in response to the second input.
According to the picture display method provided by the embodiment of the invention, the electronic device can respond to the second input of the user and control the M cameras to shoot the M pictures at the first moment, so that when the user subsequently views the M pictures, if the shooting view angle of the first picture obtained at the first moment is not satisfactory, the user can trigger the electronic device to update and display the first picture into the second pictures of other shooting view angles obtained at the first moment according to actual needs. In this way, the user can autonomously select pictures of different photographing field angles, which are acquired at the same time.
Optionally, with reference to fig. 3, as shown in fig. 5, before the step S103, the picture display method provided in the embodiment of the present invention may further include the following steps S105 and S106.
And S105, the electronic equipment receives a third input when the first preview screen is displayed.
Wherein the first preview screen is any one of the following: the image that the third camera in M cameras gathered at the second moment, will include the image that two preview pictures that two cameras of third camera gathered at the second moment fuse and obtain.
The two preview images for merging the first preview image are different in imaging angle of view.
In addition, each camera corresponds to a different magnification interval, so that when the first preview picture is a picture obtained by fusing two preview pictures acquired by two cameras including a third camera at the second moment, the magnification interval corresponding to the third camera in the two cameras is adjacent to the magnification interval corresponding to the other camera, that is, the magnification intervals corresponding to the two preview pictures fused to obtain the first preview picture are adjacent to each other.
Optionally, before the step S105, the picture display method provided in the embodiment of the present invention may further include: the electronic equipment receives input of a user and responds to the input of the user to display one preview picture in M preview pictures collected by M cameras.
Optionally, in the case of displaying the first preview screen, the picture display method provided in the embodiment of the present invention may further include: and displaying the second magnification. The second magnification may be an actual magnification determined by the electronic device according to the input of the user; or, the second magnification may be a magnification interval corresponding to the first preview picture; alternatively, the second magnification may be a median of a magnification interval corresponding to the first preview screen.
For example, if the input of the user is an input for triggering the start of displaying the preview screen, the first preview screen is a preview screen displayed by the electronic device by default; and if the input of the user is the input during switching the preview screen, the first preview screen is the switched preview screen.
Optionally, the third input may be a touch input or a gesture input. For example, the gesture input may be a sliding input of the user with respect to the first preview screen, and the sliding input may be increasing a distance between two fingers or decreasing the distance between two fingers.
And S106, responding to the third input, and updating and displaying the first preview screen as a second preview screen by the electronic equipment.
Wherein the first preview screen and the second preview screen have different angles of view. The second preview screen is any one of: the image collected by the fourth camera in the M cameras at the third moment and the image obtained by fusing the two preview images collected by the two cameras including the fourth camera at the third moment are obtained. The third time is a time subsequent to the second time.
The two preview images for merging the second preview image are different in imaging angle of view.
In addition, each camera corresponds to a different magnification interval, so that when the second preview picture is a picture obtained by fusing two preview pictures acquired by two cameras including a fourth camera at the third time, the magnification interval corresponding to the fourth camera in the two cameras is adjacent to the magnification interval corresponding to the other camera, that is, the magnification intervals corresponding to the two preview pictures fused to obtain the second preview picture are adjacent to each other.
The second time and the third time are times before the first time. The third camera and the fourth camera are two cameras with different shooting visual angles in the M cameras.
Optionally, the S106 may specifically include S106A, S106B, and S106D; alternatively, S106A, S106C, and S106D described below may be included.
S106, 106A, the electronic device determines a second scaling multiple according to the input parameters of the third input.
Optionally, the input parameters of the third input may include at least one of: a sliding length of the third input, a sliding direction of the third input.
Exemplarily, the third input is taken as a gesture input for an exemplary explanation. The user can slide the two fingers in the first preview screen to reduce the distance between the two fingers, so that the electronic device can acquire that the step length of the sliding of the two fingers is a first step length, and acquire that a second zoom multiple corresponding to the first step length is 0.5 x.
Exemplarily, the third input is taken as a gesture input for an exemplary explanation. The user may slide the two fingers in the first preview screen to increase the distance between the two fingers, so that the electronic device may acquire the step size of the two-finger sliding as the second step size, and acquire the second zoom factor corresponding to the second step size as 4.5 ×.
Optionally, the second magnification and the second zoom magnification may be the same or different.
Optionally, since the shooting field angles of the M cameras correspond to the M magnification intervals, for the M preview pictures acquired by the M cameras, each preview picture corresponds to one magnification interval, that is, the M preview pictures correspond to the M magnification intervals. After the electronic device determines the second zoom factor according to the second input parameter, the electronic device may determine whether the second zoom factor belongs to one of the M magnification intervals. If the second zoom factor belongs to one of the M magnification intervals, that is, the M preview screens include a preview screen corresponding to the first zoom factor, the electronic device may perform S106B described below; if the first zoom factor does not belong to one of the M magnification intervals, that is, the M preview screens do not include the preview screen corresponding to the second zoom factor, the electronic device may perform S106C described below.
Optionally, two adjacent magnification intervals in the M magnification intervals may be continuous, two adjacent magnification intervals in the M magnification intervals may be discontinuous, and two adjacent magnification intervals in the M magnification intervals have overlapping magnification intervals.
And S106, 106B, if the M preview pictures acquired by the M cameras include a preview picture corresponding to the second zoom multiple, the electronic equipment takes the preview picture corresponding to the second zoom multiple as the second preview picture.
S106, 106C, if the M preview pictures collected by the M cameras do not include the preview picture corresponding to the second zoom multiple, the electronic equipment acquires a third preview picture and a fourth preview picture according to the second zoom multiple, and fuses the third preview picture and the fourth preview picture to obtain the second preview picture.
The third preview picture and the fourth preview picture may be two preview pictures acquired by two cameras including the fourth camera in the M cameras at the third time.
Optionally, when the second zoom factor does not belong to any one of the M magnification intervals, if the second zoom factor is greater than the maximum value of the first magnification interval and smaller than the minimum value of the second magnification interval, the third preview picture may be a picture corresponding to the first magnification interval, and the fourth preview picture may be a picture corresponding to the second magnification interval. The first magnification interval and the second magnification interval may be two magnification intervals of the M magnification intervals.
Optionally, the third preview screen and the fourth preview screen are different from the first preview screen; or the third preview picture is the same as the first preview picture; alternatively, the fourth preview screen is the same as the first preview screen.
S106, the electronic equipment updates and displays the first preview screen as a second preview screen.
Illustratively, the electronic device includes 4 cameras in the above embodiments as an example. Suppose that the magnification interval corresponding to the preview picture acquired by the ultra-wide-angle camera a is (0, 0.8x), the magnification interval corresponding to the preview picture acquired by the ordinary camera B is [1,0x, 1.8x ], the magnification interval corresponding to the preview picture acquired by the 2-fold tele camera C is [2x, 4.5x ], the magnification interval corresponding to the preview picture acquired by the 5-fold tele camera D is [5x, k), wherein k is any numerical value greater than 5 x. As shown in (a) of fig. 6, for a first preview screen captured by the general camera B, if the electronic device receives an input 02 of a user for the first preview screen, the electronic device may respond to the input 02, and determine that the second zoom factor is 0.5x according to the first step length obtained by the input 02. Since the second zoom factor 0.5x belongs to the magnification range (0, 0.8x), that is, the 4 preview pictures include preview pictures corresponding to the second zoom factor 0.5x, the electronic device may update and display the preview picture acquired by the camera B as the preview picture acquired by the super-wide-angle camera a, as shown in (B) of fig. 6.
For example, the electronic device includes 4 cameras and 4 magnification intervals corresponding to the cameras in the above embodiments. As shown in (a) of fig. 7, for a first preview screen captured by the general camera B, if the electronic device receives an input 03 of a user for the first preview screen, the electronic device may respond to the input 03, and determine that the second zoom factor is 4.5x according to a second step size obtained by the input 03. Since the second zoom factor 4.5x does not belong to the 4-magnification interval, that is, the 4 preview pictures do not include the preview picture corresponding to the second zoom factor 4.5x, the electronic device obtains the third preview picture acquired by the 2-fold telephoto camera C and the fourth preview picture acquired by the 5-fold telephoto camera D according to the second zoom factor 4.5x, as shown in (B) in fig. 7, the electronic device fuses the third preview picture and the fourth preview picture to obtain the second preview picture, and then updates and displays the preview picture acquired by the normal camera B as the second preview picture.
According to the picture display method provided by the embodiment of the invention, as the M cameras of the electronic equipment can simultaneously acquire the M preview pictures, if the shooting angle of view of the first preview picture is not satisfactory, the user can trigger the electronic equipment to update and display the first preview picture into the second preview picture so as to view the preview pictures at other angles of view, so that the user can obtain favorite pictures.
Optionally, with reference to fig. 3, as shown in fig. 8, after the step S104 and before the step S101, the picture display method provided in the embodiment of the present invention may further include the following step S107.
S107, the electronic equipment stores the target picture in the electronic equipment.
Wherein the target picture comprises at least one of: the method comprises the following steps of M pictures, X pictures obtained by fusing the pictures in the M pictures, N pictures meeting preset rules in the M pictures, M pictures obtained by cutting the M pictures, and X pictures obtained by cutting the X pictures; x is a positive integer less than M, and N is a positive integer less than or equal to M.
For example, the target picture may be any one of the following:
(1) m pictures.
Illustratively, the above embodiment is also exemplified by 4 cameras. As shown in fig. 9, 4 photographs of the target picture may be stored in the electronic device, and the 4 photographs are a photograph taken by the ultra-wide camera a, a photograph taken by the normal camera B, a photograph taken by the 2-time telephoto camera C, and a photograph taken by the 5-time telephoto camera D, respectively.
(2) M pictures and X pictures obtained by fusing the pictures in the M pictures.
Illustratively, the above embodiment is also exemplified by 4 cameras. As shown in fig. 10, a target picture including 7 photographs may be stored in the electronic device. The 4 pictures are respectively a picture shot by an ultra-wide-angle camera A, a picture shot by a common camera B, a picture shot by a 2-time long-focus camera C and a picture shot by a 5-time long-focus camera D; the 3 pictures are respectively the picture obtained by fusing the picture shot by the ultra-wide-angle camera A and the picture shot by the common camera B, the picture obtained by fusing the picture shot by the common camera B and the picture shot by the 2-time long-focus camera C, the picture shot by the 2-time long-focus camera C and the picture shot by the 5-time long-focus camera D.
(3) And N pictures meeting the preset rule in the M pictures.
Optionally, the preset rule may be: before the electronic device takes M pictures, the electronic device does not detect a preset operation. For example, the preset operation may be a zoom operation of the user with respect to a preview screen displayed by the electronic apparatus.
Optionally, the N pictures may be: the picture that the camera was shot is predetermine through N in M cameras. The N preset cameras can be cameras with multiplying power smaller than or equal to preset multiplying power.
Illustratively, the preset rule is taken as an example for the user to perform the zooming operation on the preview screen displayed by the electronic equipment. If the electronic device receives a zoom operation of the user for a preview screen displayed by the electronic device before the electronic device takes M pictures in response to the second input of the user, the electronic device may take M pictures and store the M pictures, or store the M pictures and X pictures, etc. after the electronic device receives the second input of the user. If the electronic device does not receive the zoom operation of the user for the preview picture displayed by the electronic device before the electronic device responds to the second input of the user and takes the M pictures, after the electronic device receives the second input of the user, the electronic device may determine that the user has low requirements for the pictures and store the pictures taken by N preset cameras among the M cameras, for example, the N preset cameras are main cameras.
(4) And cutting the M pictures to obtain the M pictures.
The cropping of the M pictures may include performing a cropping operation on all the M pictures and performing a cropping operation on a part of the M pictures. Correspondingly, the M pictures obtained after cutting the M pictures can be the M pictures which are all cut; or one part may be a cropped picture and the other part may be an unfragmented picture.
Optionally, for each cropped picture, the following method may be used to obtain: the electronic equipment can determine a central point of the zooming operation of the user according to the zooming operation of the user on the preview picture during shooting, further determine a target area according to the central point, and store a target picture with a size corresponding to the target area. The target area may be a preset area of the electronic device, or the target area may be an area determined by the electronic device according to an input of a user.
(5) And cutting the X pictures to obtain the X pictures.
For the way of clipping X pictures, refer to the above-mentioned manner of clipping M pictures, which is not described herein again.
(6) And cutting the M pictures to obtain M pictures and cutting the X pictures to obtain X pictures.
(7) M pictures and X pictures obtained after cutting the X pictures.
(8) The method comprises the steps of obtaining M pictures after cutting the M pictures and obtaining X pictures after fusing the pictures in the M pictures.
According to the picture display method provided by the embodiment of the invention, as the electronic equipment stores the target picture, when the user views the picture, if the shooting view angle of the user to the current picture is not satisfactory, the user can independently select the picture of the other shooting view angle from the target picture or fuse the pictures of the other shooting view angle according to the target picture.
To the first possible implementation manner
Optionally, M pictures and X pictures are stored in the electronic device, where the M pictures are pictures shot by the M cameras at the first time, the X pictures are pictures obtained by fusing the pictures in the M pictures, and X is a positive integer smaller than M. In conjunction with fig. 2, as shown in fig. 11, the above S102 may be specifically realized by a1, a2, A3, and a4 described below.
A1, responding to the first input, the electronic device determines a first scaling multiple according to the input parameters of the first input.
Optionally, the input parameters of the first input may include at least one of: a sliding length of the first input, a sliding direction of the first input.
For example, the first input is taken as a touch input for example. The user can slide the two fingers in the first picture to reduce the distance between the two fingers, so that the electronic device can acquire that the step length of the sliding of the two fingers is the third step length, and acquire that the first scaling multiple corresponding to the third step length is 1.5 x.
For example, the first input is taken as a touch input for example. The user can slide the two fingers in the first picture to increase the distance between the two fingers, so that the electronic device can acquire that the step length of the sliding of the two fingers is the fourth step length, and acquire that the first scaling multiple corresponding to the fourth step length is 4.8 x.
Alternatively, the first magnification may be the same as the first zoom magnification, or the first magnification may be different from the first zoom magnification.
And A2, acquiring a picture corresponding to the first zoom multiple from the M pictures and the X pictures by the electronic equipment.
Optionally, one picture corresponding to the first zoom factor may be one picture of M pictures; or, one picture corresponding to the first zoom factor may be one picture of the X pictures.
Optionally, for a case where M pictures and X pictures are stored in the electronic device: because the shooting field angles of the M cameras correspond to the M magnification intervals, for M pictures shot by the M cameras and X pictures obtained by fusing the M pictures, each picture corresponds to one magnification interval, namely the M pictures and the X pictures correspond to (M + X) magnification intervals. After the electronic device determines the first zoom factor according to the first input parameter, the electronic device may determine which magnification interval of the (M + X) magnification intervals the first zoom factor specifically belongs to, so that the electronic device obtains one picture corresponding to the first zoom factor from among the M pictures and the X pictures.
And A3, the electronic equipment takes a picture corresponding to the first zoom multiple as a second picture.
Optionally, if the first zoom factor belongs to a target magnification interval in the (M + X) magnification intervals, the electronic device may use a picture corresponding to the target magnification interval as the second picture.
And A4, the electronic equipment updates and displays the first picture as the second picture.
For example, the above embodiment is also exemplified by taking 4 cameras and 4 corresponding magnification intervals as examples. If the electronic equipment stores 4 pictures and 3 fusion pictures shot by 4 cameras. The 3 fused pictures can be respectively the picture shot by the ultra-wide-angle camera A and the picture shot by the common camera B after fusion, and the corresponding magnification interval is [0.8x, 1.0x ]; the magnification range corresponding to the picture obtained by fusing the picture shot by the common camera B and the picture shot by the 2-time long-focus camera C is [1.8x, 2x ]; the picture obtained by fusing the picture shot by the 2-time long-focus camera C and the picture shot by the 5-time long-focus camera D has a corresponding magnification interval of [4.5x, 5x ]. As shown in fig. 12 (a), if the electronic device receives an input 04 from the user for a first picture taken by the 2-times telephoto camera C, a fourth step size may be obtained according to the input 04 in response to the input 04, and the first zoom factor is determined to be 4.8x according to the fourth step size. Since the first zoom factor 4.8x belongs to the magnification interval [4.5x, 5x ], the electronic device can update and display the picture taken by the 2-time tele camera C as a fused picture of the picture taken by the 2-time tele camera C and the picture taken by the 5-time tele camera D.
According to the picture display method provided by the embodiment of the invention, as the electronic equipment stores (M + X) pictures, when the user views the pictures, if the shooting view angle of the user to the first picture is not satisfied, the user can trigger the electronic equipment to update and display the first picture to the second picture, namely, the user can independently select to view the pictures with different shooting view angles.
For the second possible implementation manner
Optionally, M pictures are stored in the electronic device, and the M pictures are pictures taken by the M cameras at the first time. Referring to fig. 2, as shown in fig. 13, S102 may be specifically implemented by B1, B2, and B4 described below, or may be implemented by including B1, B3, and B4 described below.
And B1, responding to the first input, and determining a first scaling multiple by the electronic equipment according to the input parameters of the first input.
Optionally, the input parameters of the first input may include at least one of: a sliding length of the first input, a sliding direction of the first input.
For example, the first input is taken as a touch input for example. The user can slide the two fingers in the first picture to reduce the distance between the two fingers, so that the electronic device can acquire that the step length of the sliding of the two fingers is a fifth step length, and acquire that the first scaling multiple corresponding to the fifth step length is 1.9 x.
For example, the first input is taken as a touch input for example. The user can slide the two fingers in the first picture to increase the distance between the two fingers, so that the electronic device can acquire that the step length of the sliding of the two fingers is the sixth step length, and acquire that the first scaling multiple corresponding to the sixth step length is 4.8 x.
Alternatively, the first magnification may be the same as the first zoom magnification, or the first magnification may be different from the first zoom magnification.
Optionally, for a case where M pictures are stored in the electronic device: because the shooting field angles of the M cameras correspond to the M magnification intervals, for M pictures shot by the M cameras, each picture corresponds to one magnification interval, namely the M pictures correspond to the M magnification intervals. After the electronic device determines the first zoom factor according to the first input parameter, the electronic device may determine whether the first zoom factor belongs to one of the M magnification intervals. If the first zoom factor belongs to one of the M magnification intervals, that is, the M pictures include a picture corresponding to the first zoom factor, the electronic device may execute B2 described below; if the first zoom factor does not belong to one of the M magnification intervals, that is, the M pictures do not include a picture corresponding to the first zoom factor, the electronic device may execute B3 described below.
And B2, if the M pictures comprise pictures corresponding to the first zoom factor, the electronic equipment takes the pictures corresponding to the first zoom factor as second pictures.
The second picture is a picture taken by a second camera of the M cameras of the electronic equipment at a first moment.
Optionally, two adjacent magnification intervals in the M magnification intervals may be continuous, two adjacent magnification intervals in the M magnification intervals may be discontinuous, and two adjacent magnification intervals in the M magnification intervals have overlapping magnification intervals.
And B3, if the M pictures do not include the picture corresponding to the first zoom factor, acquiring a third picture and a fourth picture according to the first zoom factor, and fusing the third picture and the fourth picture to obtain a second picture.
The third picture and the fourth picture are two pictures which are shot by two cameras including the second camera at the first moment and have different field angles.
It should be noted that the two cameras for taking the third picture and the fourth picture are two cameras among M cameras of the electronic device.
Optionally, when the first zoom factor does not belong to any one of the M magnification intervals, if the first zoom factor is greater than the maximum value of the first magnification interval and smaller than the minimum value of the second magnification interval, the third picture may be a picture corresponding to the first magnification interval, and the fourth picture may be a picture corresponding to the second magnification interval. The first magnification interval and the second magnification interval may be two magnification intervals of the M magnification intervals.
Optionally, the third picture and the fourth picture may be different pictures from the first picture; alternatively, the third picture may be the first picture; alternatively, the fourth picture may be the first picture.
And B4, the electronic equipment updates and displays the first picture as the second picture.
For example, the above embodiment is also exemplified by taking 4 cameras and 4 corresponding magnification intervals as examples. If the electronic equipment stores 4 pictures shot by 4 cameras. For example, if the electronic device receives an input 04 from the user for a first picture taken by a 2-times telephoto camera C as shown in fig. 12 (a), a sixth step size obtained according to the input 04 may be responded to the input 04, and the first zoom factor may be determined to be 4.8x according to the sixth step size. Since the first zoom factor 4.8x does not belong to the 4 magnification intervals, that is, the 4 pictures do not include the picture corresponding to the first zoom factor 4.8x, the electronic device obtains the third picture shot by the 2-fold telephoto camera C and the fourth picture shot by the 5-fold telephoto camera D according to the first zoom factor 4.8x, as shown in (b) in fig. 12, the electronic device fuses the third picture and the fourth picture to obtain the second picture, and then updates and displays the picture shot by the 2-fold telephoto camera C as the second picture.
According to the picture display method provided by the embodiment of the invention, as the electronic equipment stores M pictures, on one hand, when a user views the pictures, if the shooting view angle of the user to the first picture is not satisfactory, the user can trigger the electronic equipment to update and display the first picture to the second picture, namely, the user can independently select to view the pictures with different shooting view angles; on the other hand, under the condition that the electronic equipment does not store the picture corresponding to the first input, the second picture can be obtained through real-time fusion without storing the second picture in the electronic equipment in advance, and therefore the storage space of the electronic equipment can be saved.
In the embodiment of the present invention, the picture display methods shown in the above drawings are all exemplarily described with reference to one drawing in the embodiment of the present invention. In specific implementation, the image display methods shown in the above drawings may also be implemented by combining any other drawings that may be combined, which are illustrated in the above embodiments, and are not described herein again.
As shown in fig. 14, an embodiment of the invention provides an electronic device 1400. The electronic equipment comprises M cameras. The electronic device may include a receiving module 1401 and a display module 1402. A receiving module 1401, configured to receive a first input when the display module 1402 displays the first picture. A display module 1402, configured to update and display a first picture as a second picture in response to the first input received by the receiving module 1401, where the first picture and the second picture have different field angles. Wherein, the first picture is any one of the following: the method comprises the steps that a picture shot by a first camera at a first moment and a picture obtained by fusing two pictures shot by two cameras including the first camera at the first moment are obtained; the second picture is any one of the following: the image shot by the second camera at the first moment and the image obtained by fusing the two images shot by the two cameras including the second camera at the first moment are obtained.
Optionally, in conjunction with fig. 14, as shown in fig. 15, the electronic device further includes a processing module 1403. The receiving module 1401 is further configured to receive a second input before the displaying module 1402 displays the first picture. A processing module 1403 for controlling the M cameras to take M pictures at the first moment in response to the second input received 1401 by the receiving module. The M pictures are different in field angle, and the M cameras at least comprise a first camera and a second camera.
Optionally, the receiving module 1401 may be further configured to receive a third input when the display module 1402 displays the first preview screen. The display module 1402 may be further configured to update and display the first preview screen as a second preview screen in response to the third input received by the receiving module 1401, where the first preview screen and the second preview screen have different field angles. Wherein the first preview screen is any one of the following: a picture collected by a third camera in the M cameras at the second moment and a picture obtained by fusing two preview pictures collected by two cameras including the third camera at the second moment are obtained; the second preview screen is any one of: a picture collected by a fourth camera in the M cameras at the third moment and a picture obtained by fusing two preview pictures collected by two cameras including the fourth camera at the third moment are obtained; the third time is a time after the second time.
Optionally, in conjunction with fig. 15, as shown in fig. 16, the electronic device further includes a storage module 1404. A storage module 1404, which may be used to store the target picture in the electronic device after the processing module 1403 controls the M cameras to take M pictures at the first time. Wherein the target picture comprises at least one of: the method comprises the following steps of M pictures, X pictures obtained by fusing the pictures in the M pictures, N pictures meeting preset rules in the M pictures, M pictures obtained by cutting the M pictures, and X pictures obtained by cutting the X pictures; x is a positive integer less than M, and N is a positive integer less than or equal to M.
Optionally, M pictures and X pictures are stored in the electronic device, where the M pictures are pictures shot by the M cameras at the first time, the X pictures are pictures obtained by fusing the pictures in the M pictures, and X is a positive integer smaller than M. Referring to fig. 14, as shown in fig. 17, the electronic device further includes a determination module 1405 and a processing module 1403. A determining module 1405, configured to determine the first zoom factor according to the input parameter of the first input before the displaying module 1402 displays the first picture as the second picture. A processing module 1403, configured to obtain, from the M pictures and the X pictures, a picture corresponding to the first zoom factor determined by the determining module 1405; and taking a picture corresponding to the first zoom factor as the second picture.
Optionally, M pictures are stored in the electronic device, and the M pictures are pictures taken by the M cameras at the first time. The electronic device further comprises a processing module 1403. The determining module 1405 is further configured to determine the first zoom factor according to the input parameter of the first input before the displaying module 1402 displays the first picture as the second picture. A processing module 1403, configured to, if the M pictures include a picture corresponding to the first zoom factor, take the picture corresponding to the first zoom factor as the second picture, where the second picture is a picture taken by the second camera at the first time; or if the M pictures do not include the picture corresponding to the first zoom factor, acquiring a third picture and a fourth picture according to the first zoom factor, and fusing the third picture and the fourth picture to obtain the second picture. The third picture and the fourth picture are two pictures which are shot by two cameras including the second camera at the first moment and have different field angles.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
The embodiment of the invention provides electronic equipment, wherein when a user views a first picture obtained at a certain moment, if the shooting view angle of the user on the first picture is not satisfactory, the user can trigger the electronic equipment to update and display the first picture into a second picture of other shooting view angles obtained at the moment according to actual needs. Therefore, the user can independently select the pictures with different shooting visual angles acquired at the same time, namely the operation of acquiring the pictures satisfied by the user by the electronic equipment provided by the embodiment of the invention is simpler and more convenient.
Fig. 18 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in fig. 18, the electronic device 200 includes, but is not limited to: radio frequency unit 201, network module 202, audio output unit 203, input unit 204, sensor 205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210, and power supply 211. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 18 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
A processor 210, which may be configured to control the user input unit 207 to receive a first input in a case where the display unit 206 displays the first picture; and controls the display unit 206 to update and display the first picture as a second picture in response to the first input received by the user input unit 207, the first picture and the second picture having different field angles.
The first picture may be any one of the following: the image fusion method comprises a picture shot by a first camera at a first moment and a picture obtained by fusing two pictures shot by two cameras including the first camera at the first moment. The second picture may be any one of the following: the image shot by the second camera at the first moment and the image obtained by fusing the two images shot by the two cameras including the second camera at the first moment are obtained.
The embodiment of the invention provides electronic equipment, wherein when a user views a first picture obtained at a certain moment, if the shooting view angle of the user on the first picture is not satisfactory, the user can trigger the electronic equipment to update and display the first picture into a second picture of other shooting view angles obtained at the moment according to actual needs. Therefore, the user can independently select the pictures with different shooting visual angles acquired at the same time, namely the operation of acquiring the pictures satisfied by the user by the electronic equipment provided by the embodiment of the invention is simpler and more convenient.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 201 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 210; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 201 can also communicate with a network and other devices through a wireless communication system.
The electronic device 200 provides the user with wireless broadband internet access via the network module 202, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 203 may convert audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into an audio signal and output as sound. Also, the audio output unit 203 may also provide audio output related to a specific function performed by the electronic apparatus 200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 204 is used to receive an audio or video signal. The input unit 204 may include a Graphics Processing Unit (GPU) 2041 and a microphone 2042, and the graphics processor 2041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 206. The image frames processed by the graphic processor 2041 may be stored in the memory 209 (or other storage medium) or transmitted via the radio frequency unit 201 or the network module 202. The microphone 2042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 201 in case of a phone call mode.
The electronic device 200 also includes at least one sensor 205, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 2061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 2061 and/or the backlight when the electronic device 200 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 205 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072. Touch panel 2071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 2071 (e.g., user operation on or near the touch panel 2071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 2071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 210, and receives and executes commands sent by the processor 210. In addition, the touch panel 2071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 207 may include other input devices 2072 in addition to the touch panel 2071. In particular, the other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not further described herein.
Further, a touch panel 2071 may be overlaid on the display panel 2061, and when the touch panel 2071 detects a touch operation on or near the touch panel 2071, the touch panel is transmitted to the processor 210 to determine the type of the touch event, and then the processor 210 provides a corresponding visual output on the display panel 2061 according to the type of the touch event. Although the touch panel 2071 and the display panel 2061 are shown as two separate components in fig. 18 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 2071 and the display panel 2061 may be integrated to implement the input and output functions of the electronic device, and are not limited herein.
The interface unit 208 is an interface for connecting an external device to the electronic apparatus 200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 200 or may be used to transmit data between the electronic apparatus 200 and the external device.
The memory 209 may be used to store software programs as well as various data. The memory 209 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 209 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 210 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 209 and calling data stored in the memory 209, thereby performing overall monitoring of the electronic device. Processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 210.
The electronic device 200 may further include a power source 211 (such as a battery) for supplying power to each component, and optionally, the power source 211 may be logically connected to the processor 210 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 200 includes some functional modules that are not shown, and thus are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor 210 as shown in fig. 18, a memory 209, and a computer program that is stored in the memory 209 and is executable on the processor 210, and when the computer program is executed by the processor 210, the processes of the foregoing method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. Examples of the computer-readable storage medium include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk and an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A picture display method is applied to electronic equipment, and is characterized by comprising the following steps:
receiving a first input in a case where a first picture is displayed;
in response to the first input, updating and displaying the first picture as a second picture, wherein the field angles of the first picture and the second picture are different;
wherein the first picture is any one of the following: the method comprises the steps that a picture shot by a first camera at a first moment is fused with two pictures shot by two cameras including the first camera at the first moment to obtain a picture;
the second picture is any one of the following: the image shot by the second camera at the first moment and the image obtained by fusing the two images shot by the two cameras including the second camera at the first moment are obtained.
2. The method of claim 1, wherein prior to displaying the first picture, the method further comprises:
receiving a second input;
and responding to the second input, controlling M cameras to shoot M pictures at the first moment, wherein the field angles of the M pictures are different, and the M cameras at least comprise the first camera and the second camera.
3. The method of claim 2, wherein prior to said receiving the second input, the method further comprises:
receiving a third input in a case where the first preview screen is displayed;
in response to the third input, updating and displaying the first preview screen as a second preview screen, wherein the field angles of the first preview screen and the second preview screen are different;
wherein the first preview screen is any one of: a picture acquired by a third camera of the M cameras at a second moment and a picture obtained by fusing two preview pictures acquired by two cameras including the third camera at the second moment;
the second preview screen is any one of: a picture acquired by a fourth camera of the M cameras at a third moment and a picture obtained by fusing two preview pictures acquired by two cameras including the fourth camera at the third moment; the third time is a time after the second time.
4. The method of claim 2, wherein the controlling M cameras to take M pictures at the first time further comprises:
storing a target picture in the electronic device;
wherein the target picture comprises at least one of: the M pictures, X pictures obtained by fusing the pictures in the M pictures, N pictures meeting preset rules in the M pictures, M pictures obtained by cutting the M pictures and X pictures obtained by cutting the X pictures;
x is a positive integer less than M, and N is a positive integer less than or equal to M.
5. The method according to claim 1, wherein the electronic device stores M pictures and X pictures, the M pictures are taken by the M cameras at the first time, the X pictures are obtained by fusing pictures in the M pictures, and X is a positive integer smaller than M;
before the updating and displaying the first picture as the second picture, the method further comprises:
determining a first scaling multiple according to the input parameters of the first input;
acquiring a picture corresponding to the first zoom factor from the M pictures and the X pictures;
and taking a picture corresponding to the first zoom factor as the second picture.
6. The method according to claim 1, wherein the electronic device stores M pictures, and the M pictures are taken by M cameras at the first moment;
before the updating and displaying the first picture as the second picture, the method further comprises:
determining a first scaling multiple according to the input parameters of the first input;
if the M pictures comprise pictures corresponding to the first zoom multiple, taking the pictures corresponding to the first zoom multiple as the second pictures, wherein the second pictures are pictures shot by the second camera at the first moment;
alternatively, the first and second electrodes may be,
if the M pictures do not include the picture corresponding to the first zoom factor, acquiring a third picture and a fourth picture according to the first zoom factor, and fusing the third picture and the fourth picture to obtain the second picture, wherein the third picture and the fourth picture are two pictures which comprise two cameras of the second camera and are different in field angle and are shot at the first moment.
7. An electronic device, comprising a receiving module and a display module;
the receiving module is used for receiving a first input under the condition that the display module displays a first picture;
the display module is configured to update and display the first picture as a second picture in response to the first input received by the receiving module, where the field angles of the first picture and the second picture are different;
wherein the first picture is any one of the following: the method comprises the steps that a picture shot by a first camera at a first moment is fused with two pictures shot by two cameras including the first camera at the first moment to obtain a picture;
the second picture is any one of the following: the image shot by the second camera at the first moment and the image obtained by fusing the two images shot by the two cameras including the second camera at the first moment are obtained.
8. The electronic device of claim 7, further comprising a processing module;
the receiving module is further configured to receive a second input before the display module displays the first picture;
the processing module is configured to control M cameras to take M pictures at the first time in response to the second input received by the receiving module, where the field angles of the M pictures are all different, and the M cameras at least include the first camera and the second camera.
9. The electronic device of claim 8, wherein the receiving module is further configured to receive a third input when the display module displays the first preview screen;
the display module is further configured to update and display the first preview screen as a second preview screen in response to the third input received by the receiving module, where the field angles of the first preview screen and the second preview screen are different;
wherein the first preview screen is any one of: a picture acquired by a third camera of the M cameras at a second moment and a picture obtained by fusing two preview pictures acquired by two cameras including the third camera at the second moment;
the second preview screen is any one of: a picture acquired by a fourth camera of the M cameras at a third moment and a picture obtained by fusing two preview pictures acquired by two cameras including the fourth camera at the third moment; the third time is a time after the second time.
10. The electronic device of claim 8, further comprising a memory module;
the storage module is used for storing a target picture in the electronic equipment after the processing module controls the M cameras to take the M pictures at the first moment;
wherein the target picture comprises at least one of: the M pictures, X pictures obtained by fusing the pictures in the M pictures, N pictures meeting preset rules in the M pictures, M pictures obtained by cutting the M pictures and X pictures obtained by cutting the X pictures; x is a positive integer less than M, and N is a positive integer less than or equal to M.
11. The electronic device according to claim 7, wherein M pictures and X pictures are stored in the electronic device, the M pictures are taken by the M cameras at the first time, the X pictures are obtained by fusing pictures in the M pictures, and X is a positive integer smaller than M; the electronic equipment further comprises a determining module and a processing module;
the determining module is configured to determine a first zoom factor according to the first input parameter before the display module updates and displays the first picture as a second picture;
the processing module is configured to obtain one picture corresponding to the first zoom factor determined by the determining module from the M pictures and the X pictures; and taking a picture corresponding to the first zoom factor as the second picture.
12. The electronic device according to claim 7, wherein the electronic device stores M pictures, and the M pictures are taken by M cameras at the first moment; the electronic equipment further comprises a determining module and a processing module;
the determining module is configured to determine a first zoom factor according to the first input parameter before the display module updates and displays the first picture as the second picture;
the processing module is configured to, if the M pictures include a picture corresponding to the first zoom factor, take the picture corresponding to the first zoom factor as the second picture, where the second picture is a picture taken by the second camera at the first time; or if the M pictures do not include a picture corresponding to the first zoom factor, acquiring a third picture and a fourth picture according to the first zoom factor, and fusing the third picture and the fourth picture to obtain the second picture, wherein the third picture and the fourth picture are two pictures with different field angles, which are shot by two cameras including the second camera at the first moment.
13. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the picture display method as claimed in any one of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the picture display method according to any one of claims 1 to 6.
CN201911053925.1A 2019-10-31 2019-10-31 Picture display method and electronic equipment Pending CN110769156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911053925.1A CN110769156A (en) 2019-10-31 2019-10-31 Picture display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911053925.1A CN110769156A (en) 2019-10-31 2019-10-31 Picture display method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110769156A true CN110769156A (en) 2020-02-07

Family

ID=69335145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911053925.1A Pending CN110769156A (en) 2019-10-31 2019-10-31 Picture display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110769156A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294517A (en) * 2020-03-03 2020-06-16 华为技术有限公司 Image processing method and mobile terminal
CN112383709A (en) * 2020-11-06 2021-02-19 维沃移动通信(杭州)有限公司 Picture display method, device and equipment
CN113055592A (en) * 2021-03-11 2021-06-29 Oppo广东移动通信有限公司 Image display method and device, electronic equipment and computer readable storage medium
WO2022161340A1 (en) * 2021-01-27 2022-08-04 维沃移动通信有限公司 Image display method and apparatus, and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070035623A1 (en) * 2005-07-22 2007-02-15 Cernium Corporation Directed attention digital video recordation
CN105657237A (en) * 2014-11-13 2016-06-08 聚晶半导体股份有限公司 Image acquisition device and digital zooming method thereof
CN110099213A (en) * 2019-04-26 2019-08-06 维沃移动通信(杭州)有限公司 A kind of image display control method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070035623A1 (en) * 2005-07-22 2007-02-15 Cernium Corporation Directed attention digital video recordation
CN105657237A (en) * 2014-11-13 2016-06-08 聚晶半导体股份有限公司 Image acquisition device and digital zooming method thereof
CN110099213A (en) * 2019-04-26 2019-08-06 维沃移动通信(杭州)有限公司 A kind of image display control method and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294517A (en) * 2020-03-03 2020-06-16 华为技术有限公司 Image processing method and mobile terminal
CN111294517B (en) * 2020-03-03 2021-12-17 荣耀终端有限公司 Image processing method and mobile terminal
US11758265B2 (en) 2020-03-03 2023-09-12 Honor Device Co., Ltd. Image processing method and mobile terminal
CN112383709A (en) * 2020-11-06 2021-02-19 维沃移动通信(杭州)有限公司 Picture display method, device and equipment
WO2022095891A1 (en) * 2020-11-06 2022-05-12 维沃移动通信(杭州)有限公司 Image display method and apparatus, and device
WO2022161340A1 (en) * 2021-01-27 2022-08-04 维沃移动通信有限公司 Image display method and apparatus, and electronic device
CN113055592A (en) * 2021-03-11 2021-06-29 Oppo广东移动通信有限公司 Image display method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN111541845B (en) Image processing method and device and electronic equipment
CN108668083B (en) Photographing method and terminal
CN107592466B (en) Photographing method and mobile terminal
CN108495029B (en) Photographing method and mobile terminal
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN110896451B (en) Preview picture display method, electronic device and computer readable storage medium
CN109639969B (en) Image processing method, terminal and server
CN110769156A (en) Picture display method and electronic equipment
CN109905603B (en) Shooting processing method and mobile terminal
CN109474786B (en) Preview image generation method and terminal
CN111010512A (en) Display control method and electronic equipment
CN110769174B (en) Video viewing method and electronic equipment
CN110784651A (en) Anti-shake method and electronic equipment
CN110198413B (en) Video shooting method, video shooting device and electronic equipment
CN110913131A (en) Moon shooting method and electronic equipment
CN111010511B (en) Panoramic body-separating image shooting method and electronic equipment
CN110830713A (en) Zooming method and electronic equipment
CN108924422B (en) Panoramic photographing method and mobile terminal
CN111031248A (en) Shooting method and electronic equipment
CN110798621A (en) Image processing method and electronic equipment
CN111124227A (en) Image display method and electronic equipment
CN111597370A (en) Shooting method and electronic equipment
CN111405117A (en) Control method and electronic equipment
CN111061531A (en) Picture display method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207