CN111010511B - Panoramic body-separating image shooting method and electronic equipment - Google Patents

Panoramic body-separating image shooting method and electronic equipment Download PDF

Info

Publication number
CN111010511B
CN111010511B CN201911277018.5A CN201911277018A CN111010511B CN 111010511 B CN111010511 B CN 111010511B CN 201911277018 A CN201911277018 A CN 201911277018A CN 111010511 B CN111010511 B CN 111010511B
Authority
CN
China
Prior art keywords
image
panoramic
images
preview area
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.)
Active
Application number
CN201911277018.5A
Other languages
Chinese (zh)
Other versions
CN111010511A (en
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 CN201911277018.5A priority Critical patent/CN111010511B/en
Publication of CN111010511A publication Critical patent/CN111010511A/en
Application granted granted Critical
Publication of CN111010511B publication Critical patent/CN111010511B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention provides a panoramic body-separating image shooting method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that the panoramic body-separating image shot by the existing electronic equipment is poor in effect. The method comprises the following steps: displaying a target shooting interface, wherein the target shooting interface comprises a panoramic shooting preview area; in response to a first input, acquiring a panoramic image, and displaying the acquired panoramic image in a panoramic shooting preview area; acquiring M images of the target object in response to a second input of the user, and displaying N images of the M images in the panoramic shooting preview area; and storing the image displayed in the panoramic shooting preview area to obtain a panoramic sectional image of the target object, wherein the panoramic sectional image is obtained according to the panoramic image and N images, M and N are integers greater than 1, and N is less than or equal to M. The method is applied to scenes for shooting the panoramic split images.

Description

Panoramic body-separating image shooting method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a panoramic body-separating image shooting method and electronic equipment.
Background
The electronic device can shoot a plurality of posture states of the same user in a panoramic shooting mode, so that the body-separating effect of the user can be formed in the shot image, and the image can be called a panoramic body-separating image.
At present, a method for shooting a panoramic body-separating image may be as follows: in the panoramic shooting mode, a shooting object can be firstly put in a position and then after the electronic equipment finishes shooting the position, a user can move the electronic equipment until an image of the shooting object is not included in a picture currently shot by the electronic equipment; and then the shooting object can bypass the electronic equipment, and the electronic equipment continues to pose at the position of the next shooting of the electronic equipment, so that the process is repeated, and the electronic equipment can shoot the panoramic body-separating image of the shooting object.
However, with the above shooting method, since the shooting subject cannot know the shooting angle of view of the electronic device, it is difficult for the shooting subject to determine where the next position shot by the electronic device is. Thus, on the one hand, if a photographic subject enters a scene that has been photographed by the electronic device, the electronic device may not be able to obtain an avatar image of the photographic subject; on the other hand, if the position of the subject is far from the previous position, the distance between adjacent partial images of the subject captured by the electronic device may be too large, resulting in poor picture composition effect of the panoramic partial image. Therefore, the shooting method causes the poor effect of the panoramic body-separating image shot by the electronic equipment.
Disclosure of Invention
The embodiment of the invention provides a panoramic body-splitting image shooting method and electronic equipment, and aims to solve the problem that the panoramic body-splitting image shot by the existing electronic equipment is poor in effect.
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 method for shooting a panoramic avatar image, where the method includes: displaying a target shooting interface, wherein the target shooting interface comprises a panoramic shooting preview area; and in response to the received first input, acquiring a panoramic image and displaying the acquired panoramic image in a panoramic shooting preview area; acquiring M images of the target object in response to the received second input, and displaying N images of the M images in the panoramic shooting preview area; and storing the images displayed in the panoramic shooting preview area to obtain a panoramic body-splitting image of the target object, wherein M and N are integers greater than 1 and N is less than or equal to M according to the panoramic image and the N images.
In a second aspect, an embodiment of the present invention provides an electronic device, which includes a display module, a processing module, and a saving module. The display module can be used for displaying a target shooting interface, and the target shooting interface comprises a panoramic shooting preview area; the processing module is used for responding to the received first input after the display module displays the target shooting interface, collecting the panoramic image and displaying the collected panoramic image in the panoramic shooting preview area; the processing module is further used for responding to the received second input after the display module displays the target shooting interface, collecting M images of the target object, and displaying N images in the M images in the panoramic shooting preview area; and the storage module is used for storing the image displayed in the panoramic shooting preview area by the processing module to obtain a panoramic body-splitting image of the target object, wherein the panoramic body-splitting image is an integer larger than 1 according to the panoramic image and the N images, and N is smaller than or equal to M.
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, and when executed by the processor, the electronic device implements the steps of the panoramic avatar image capturing method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the panoramic avatar image capturing method as in the first aspect described above.
In the embodiment of the invention, a target shooting interface (including a panoramic shooting preview area) can be displayed; and in response to the received first input, acquiring a panoramic image and displaying the acquired panoramic image in a panoramic shooting preview area; acquiring M images of the target object in response to the received second input, and displaying N images of the M images in the panoramic shooting preview area; and storing the images displayed in the panoramic shooting preview area to obtain a panoramic body-separating image (obtained according to the panoramic image and the N images) of the target object, wherein M and N are integers more than 1, and N is less than or equal to M. According to the scheme, the electronic equipment can obtain the panoramic sectional image of the target object according to the panoramic image displayed in the panoramic shooting preview area and the N images of the target object, and the electronic equipment can respectively collect the panoramic image and the multiple images of the target object, so that when the electronic equipment is used for shooting the panoramic sectional image of the target object, the electronic equipment can obtain the panoramic sectional image of the target object only by collecting the image and the panoramic image of the target object. Therefore, on one hand, the panoramic body-separating image obtained by the electronic equipment can be ensured to comprise the image of the target object; on the other hand, the target object does not need to be positioned for many times and appears in the panoramic split image shot by the electronic equipment, so that the situation that the position of the target object in the panoramic split image is not proper can be avoided. Therefore, the panoramic body-splitting image shooting method provided by the embodiment of the invention can optimize the effect of the panoramic body-splitting image shot by the electronic equipment.
Drawings
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a panoramic body-splitting image shooting method according to an embodiment of the present invention;
fig. 3 is one of schematic interface diagrams of an application of a panoramic avatar image shooting method according to an embodiment of the present invention;
fig. 4 is a second schematic interface diagram of an application of the panoramic avatar image capturing method according to the embodiment of the present invention;
fig. 5 is a third schematic interface diagram of an application of the panoramic avatar image shooting method according to the embodiment of the present invention;
fig. 6 is a fourth schematic interface diagram of an application of the panoramic avatar image shooting method according to the embodiment of the present invention;
fig. 7 is a fifth schematic interface diagram of an application of the panoramic avatar image shooting method according to the embodiment of the present invention;
fig. 8 is a sixth schematic interface diagram of an application of the panoramic avatar image shooting method according to the embodiment of the present invention;
fig. 9 is a seventh schematic interface diagram of an application of the panoramic avatar image capturing method according to the embodiment of the present invention;
fig. 10 is an eighth schematic interface diagram of an application of the panoramic avatar image capturing method according to the embodiment of the present invention;
fig. 11 is a ninth schematic interface diagram of an application of the panoramic avatar image capturing method according to the embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 13 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 is not necessarily to be construed as preferred or 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.
The embodiment of the invention provides a panoramic individual image shooting method, which can display a target shooting interface (comprising a panoramic shooting preview area); and in response to the received first input, acquiring a panoramic image and displaying the acquired panoramic image in a panoramic shooting preview area; acquiring M images of the target object in response to the received second input, and displaying N images of the M images in the panoramic shooting preview area; and storing the images displayed in the panoramic shooting preview area to obtain a panoramic body-separating image (obtained according to the panoramic image and the N images) of the target object, wherein M and N are integers more than 1, and N is less than or equal to M. According to the scheme, the electronic equipment can obtain the panoramic sectional image of the target object according to the panoramic image displayed in the panoramic shooting preview area and the N images of the target object, and the electronic equipment can respectively collect the panoramic image and the multiple images of the target object, so that when the electronic equipment is used for shooting the panoramic sectional image of the target object, the electronic equipment can obtain the panoramic sectional image of the target object only by collecting the image and the panoramic image of the target object. Therefore, on one hand, the panoramic body-separating image obtained by the electronic equipment can be ensured to comprise the image of the target object; on the other hand, the target object does not need to be positioned for many times and appears in the panoramic split image shot by the electronic equipment, so that the situation that the position of the target object in the panoramic split image is not proper can be avoided. Therefore, the panoramic body-splitting image shooting method provided by the embodiment of the invention can optimize the effect of the panoramic body-splitting image shot by the electronic equipment.
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.
The following describes a software environment applied to the panoramic avatar image shooting method provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible 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 panoramic avatar image shooting 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 panoramic avatar image shooting method may operate based on the android operating system shown in fig. 1. Namely, the processor or the electronic device can realize the panoramic avatar image shooting method provided by the embodiment of the invention by running the software program in an android operating system.
The electronic device in the embodiment of the invention can 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 terminal, 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 or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution subject of the panoramic avatar image shooting method provided in 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 panoramic avatar image shooting 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 panoramic avatar image shooting method provided by the embodiment of the present invention.
In the embodiment of the present invention, if a user wants to capture a panoramic avatar image of an object (e.g., the user himself, a friend of the user, etc.) through an electronic device, the user may first trigger the electronic device to display a capture interface for capturing the panoramic avatar image, where the capture interface may include a specific area, and the specific area may simultaneously display a panoramic image captured by the electronic device and an image of multiple images of the object captured by the electronic device. The user may then trigger the electronic device to capture a panoramic image (e.g., a panoramic image of a scene in which the subject is located) via one input and be displayed in the particular area in synchronization, and trigger the electronic device to capture a plurality of images of the subject via another input and display the images of the plurality of images in the particular area. Finally, the electronic device may save the image displayed in the specific area to obtain a panoramic avatar image of the object. Therefore, on one hand, the panoramic body-splitting image obtained by the electronic equipment can be ensured to comprise the image of the object, and on the other hand, the object does not need to appear in the panoramic body-splitting image in a mode of running for many times, so that the distance between the images of the adjacent objects in the panoramic body-splitting image obtained by the electronic equipment is more appropriate, and the effect of shooting the panoramic body-splitting image by the electronic equipment can be optimized.
The following describes an exemplary panoramic avatar image shooting method according to an embodiment of the present invention with reference to the drawings.
As shown in fig. 2, an embodiment of the present invention provides a panoramic avatar image photographing method, which includes the following steps S201 to S206.
S201, the electronic equipment displays a target shooting interface.
The target shooting interface may include a panoramic shooting preview area.
In the embodiment of the present invention, in a case where a user uses an electronic device to capture a panoramic avatar image of a certain object (for example, a target object in the embodiment of the present invention), the electronic device may display the target capture interface. In this way, after the electronic device displays the target shooting interface, the user can trigger the electronic device to start shooting the panoramic avatar image.
It can be understood that, in the embodiment of the present invention, the target object may be an object of a panoramic avatar image to be shot.
In the embodiment of the invention, the panoramic shooting preview area can be used for displaying the panoramic image currently acquired by the electronic equipment in real time.
For example, the target shooting interface may be an interface as shown in fig. 3, and the interface may include a panoramic shooting preview area 31, where the electronic device may display a panoramic image currently captured by the electronic device (i.e., an image captured by the electronic device in a panoramic shooting mode) in real time.
S202, the electronic equipment receives a first input.
S203, the electronic equipment responds to the received first input, acquires a panoramic image and displays the acquired image in a panoramic shooting preview area.
In the embodiment of the present invention, after the electronic device displays the target shooting interface, a user may trigger the electronic device to capture a panoramic image through the first input, and display the captured panoramic image in the panoramic shooting preview area in real time.
It should be noted that, in the embodiment of the present invention, the panoramic image collected by the electronic device may be a panoramic image of an environment where the electronic device is currently located.
Optionally, in the embodiment of the present invention, the first input may be an input of a first control in the target shooting interface by a user, or may also be a gesture input of the user, or may also be a voice input of the user. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
It will be appreciated that the first control described above may be used to control (or trigger) the electronic device to capture the panoramic image.
Optionally, in the embodiment of the present invention, the step S203 may be specifically implemented by the step S203a described below.
And S203a, the electronic equipment responds to the first input of the user, acquires the panoramic image through a rotatable camera in the electronic equipment, and displays the acquired panoramic image in the panoramic shooting preview area.
In the embodiment of the present invention, after the electronic device receives the first input, the electronic device may acquire a panoramic image through a rotatable camera in the electronic device, and display the panoramic image acquired by the electronic device in the panoramic shooting preview area.
It is understood that, in the embodiment of the present invention, the electronic device may be an electronic device including a rotatable camera.
Optionally, in this embodiment of the present invention, the target shooting interface may further include a panoramic image preview area, where the panoramic image preview area may be used to display an image currently acquired by a rotatable camera of the electronic device.
For example, as shown in fig. 4, the electronic device may display a panoramic image that has been captured by the rotatable camera 32 of the electronic device in the panoramic photograph preview area 31 and display an image that is currently captured by the rotatable camera 32 of the electronic device in the panoramic image preview area 33.
In the embodiment of the invention, because the electronic equipment can collect the panoramic image through the rotatable camera, the electronic equipment does not need to be manually controlled by a user to rotate in the process of collecting the panoramic image by the electronic equipment, so that the problems of picture jitter, deformation and the like of the panoramic image caused by manual rotation shooting can be reduced, and the image quality of the panoramic image collected by the electronic equipment can be improved.
And S204, the electronic equipment receives a second input.
S205, the electronic equipment responds to the received second input, acquires M images of the target object, and displays N images of the M images in the panoramic shooting preview area.
Wherein M and N are integers greater than 1, and N is less than or equal to M.
In the embodiment of the present invention, after the electronic device displays the target shooting interface, the user may trigger the electronic device to capture M images of a target object (an object of a panoramic avatar image to be shot) through the second input, and display N images of the M images in a panoramic shooting preview area.
It should be noted that the embodiment of the present invention may not limit the execution sequence of the electronic device executing the above-mentioned S202-S203 and S204-S205. That is, the electronic device may perform S202-S203 first, and then perform S204-S205; it is also possible to perform S204-S205 first and then S202-S203. The embodiment of the present invention exemplifies a method for shooting a panoramic avatar image by an electronic device by performing S202 to S203 first and then performing S204 to S205.
Optionally, in the embodiment of the present invention, the second input may be an input of a second control in the target shooting interface by the user, or a gesture input of the user, or a voice input of the user. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
It will be appreciated that the second control described above may be used to control (or trigger) the electronic device to capture an image of the target object.
Optionally, in the embodiment of the present invention, when the second input is a voice input of the user, that is, a manner of triggering the electronic device to acquire the image of the target object is a voice control manner, after the electronic device displays the target shooting interface, the user may set, in the target shooting interface, voice information that triggers the electronic device to shoot the image of the target object.
For example, after the electronic device displays the target shooting interface, the electronic device may display a voice recording control 34 as shown in fig. 5, and then the user may press the voice recording control 34 and speak the voice information he wants to set. After the electronic device acquires the voice information, the electronic device may set the voice information as instruction information that triggers the electronic device to acquire an image of the target object. As such, when the user wants to trigger the electronic device to capture the image of the target object, the user may speak the voice information again to trigger the electronic device to capture the image of the target object.
And the electronic equipment can be triggered to acquire an image of the target object every time the user speaks the voice information.
In the embodiment of the invention, the voice control mode can simplify the operation of the user on the electronic equipment and can remotely control the electronic equipment to shoot the image of the target object, so that the mode of shooting the panoramic individual image by the electronic equipment is more convenient.
Optionally, in the embodiment of the present invention, the step S205 may be specifically implemented by the step S205a described below.
And S205a, the electronic equipment responds to the received second input, acquires M images through a fixed camera in the electronic equipment, and displays N images in the M images in the panoramic shooting preview area.
In the embodiment of the present invention, after the electronic device receives the second input, the electronic device may acquire M images of the target object through a fixed camera in the electronic device, and display N images of the M images in the panoramic shooting preview area.
Optionally, in the embodiment of the present invention, the fixed camera in the electronic device may be a rear camera of the electronic device, or may also be a front camera of the electronic device, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the invention, the electronic equipment can acquire the panoramic image and the M images of the target object through different cameras in the electronic equipment, so that the target object does not need to appear in the panoramic split-body image shot by the electronic equipment in a mode of running for many times, and the movement of the target object can be reduced in the process of shooting the panoramic split-body image of the target object, thereby improving the shooting experience of a user.
Optionally, in this embodiment of the present invention, the target shooting interface may further include an object preview area.
The object preview area can be used for displaying an image of a target object acquired by the electronic equipment.
Optionally, in this embodiment of the present invention, when the target shooting interface includes the object preview area, the manner in which the electronic device responds to the second input may include two manners, which are a first manner and a second manner. The two modes (mode one and mode two) are specifically explained below by way of example.
As for the first mode, the above S205 can be specifically realized by S205b and S205c described below.
S205b, the electronic device responds to the second input, displaying one image in the panorama shooting preview area for each captured image of the images whose capture times are arranged in the top N bits.
S205c, the electronic device displays an image in the object preview area for each image acquired for the images arranged at the N +1 th bit to the M th bit with respect to the acquisition time.
In the first embodiment, N is smaller than M.
In addition, both of the above-mentioned S205b and S205c are steps performed by the electronic device in response to the second input, and for clarity of representation of the execution sequence between S205b and S205c, the step "responding to the second input" is only embodied in S205 b.
In the first mode, the image whose time is arranged in the top N bits is collected, and when the electronic device collects the image, the electronic device may directly display the image in the panoramic shooting preview area; images arranged at the (N + 1) th bit to the (M) th bit in time are acquired, and the electronic device can display the images in the object preview area. That is, the electronic device may display the above M images in different areas.
Optionally, in this embodiment of the present invention, for the images captured at the first N bits in the capture time, the electronic device may also display these images in the object preview area. That is, the electronic device may display the above M images in the object preview region.
For example, assuming that the M images are 5 images and the N images are 3 images, the electronic device may display 5 images in the subject preview area 35 and display the first 3 images of the 5 images displayed in the subject preview area 35 in the panorama shooting preview area 31, as shown in fig. 6.
Optionally, in the second mode, the second input may include two sub-inputs, which are the first sub-input and the second sub-input, respectively. The first sub-input may be used to trigger the electronic device to capture the M images, and the second sub-input may be used to trigger the electronic device to display N images of the M images in the panoramic shooting preview area.
With respect to the second mode, the S205 may be specifically realized by the following S205d and S205 e.
S205d, the electronic device, in response to the first sub-input, displays one image in the object preview area for each acquired image of the M images.
S205e, the electronic device displays N images in the panorama shooting preview area in response to the second sub-input.
The second sub-input may be an input for a user to trigger selection of N images from the M images.
It is to be understood that, with the second mode, the N images may be any N images among the M images.
In the embodiment of the present invention, after the electronic device receives the first sub-input, the electronic device may acquire M images of the target object, and display the M images in the object preview area, and then the user may trigger the electronic device to select N images from the M images to be displayed in the panoramic shooting preview area through the second sub-input.
In the embodiment of the present invention, for the description related to the first sub-input, reference may be specifically made to the detailed description of the second input in the above embodiment, and in order to avoid repetition, details are not described here again.
Optionally, in an embodiment of the present invention, the second sub-input may be an input that a user drags the N images to a preview area of the panoramic shooting.
For example, assuming that the M images are 5 images and the N images are 3 images, as shown in (a) of fig. 7, in the case that the electronic device receives the first sub-input, the electronic device may capture 5 images of the target object and display the 5 images in the object preview area 35. The user may then drag 3 images of the 5 images onto the panorama photographing preview area, and the electronic device may display the 3 images in the panorama photographing preview area 31 as shown in (b) of fig. 7 in response to the input.
S206, the electronic equipment stores the image displayed in the panoramic shooting preview area to obtain the panoramic body-splitting image of the target object.
The panoramic avatar image may be based on the panoramic image and the N images.
In the embodiment of the present invention, after the electronic device acquires the panoramic image and the M images, the electronic device may store the display image in the panoramic shooting preview area, so as to obtain the panoramic sectional image of the target object.
Optionally, in the embodiment of the present invention, the method for obtaining the panoramic avatar image of the target object by the electronic device may include at least one of the following methods: and superposing and displaying the N images on the panoramic image, splicing the N images on the panoramic image, and replacing partial content in the panoramic image by adopting the N images.
Optionally, in the embodiment of the present invention, for the N images, the electronic device may perform matting on each image to obtain an image of the target object. Then, the electronic equipment can display and/or splice the image of the target object in a superposed manner in the panoramic image collected by the electronic equipment to obtain a panoramic sectional image of the target object; or, the electronic device may replace a part of the content in the panoramic image with an image of the target object to obtain a panoramic avatar image of the target object.
Of course, in practical implementation, the electronic device may further perform any other possible technical means on the N images and the panoramic image to obtain the panoramic avatar image of the target object. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
The embodiment of the invention provides a panoramic body-splitting image shooting method, because electronic equipment can obtain a panoramic body-splitting image of a target object according to a panoramic image displayed in a panoramic shooting preview area and N images of the target object, and the electronic equipment can respectively collect the panoramic image and a plurality of images of the target object, when the electronic equipment shoots the panoramic body-splitting image of the target object, the electronic equipment can obtain the panoramic body-splitting image of the target object only by collecting the image and the panoramic image of the target object. Therefore, on one hand, the panoramic body-separating image obtained by the electronic equipment can be ensured to comprise the image of the target object; on the other hand, the target object does not need to be positioned for many times and appears in the panoramic split image shot by the electronic equipment, so that the situation that the position of the target object in the panoramic split image is not proper can be avoided. Therefore, the panoramic body-splitting image shooting method provided by the embodiment of the invention can optimize the effect of the panoramic body-splitting image shot by the electronic equipment.
Optionally, in the embodiment of the present invention, after the electronic device displays the target shooting preview interface, a user may first trigger the electronic device to display N identifiers (e.g., position identifiers in the embodiment of the present invention) in the panoramic shooting preview area through one input (e.g., a third input in the embodiment of the present invention), so as to mark the number of images of the target object that can be displayed in the panoramic shooting area. Then, after the electronic device acquires M images of the target object, N images of the M images may be displayed in the panorama shooting preview area. Therefore, the user can set the body dividing quantity of the target object in the panoramic body dividing image in the electronic equipment according to the use requirement of the user, and the body dividing quantity of the target object in the panoramic body dividing image shot by the electronic equipment can be more flexible.
For example, after S201, the panoramic avatar image capturing method according to the embodiment of the present invention may further include S207 and S208 described below.
And S207, the electronic equipment receives a third input of the user.
And S208, the electronic equipment responds to a third input of the user and displays the N position identifications in the panoramic shooting preview area.
The position indicated by the N position identifiers may be a display position of the N images, and the third input may be an input of setting the number of avatar in the panoramic avatar image to N by the user.
In the embodiment of the invention, after the electronic equipment displays the target shooting interface, a user can set the body number of the target object in the panoramic body-splitting image in the target shooting interface. Specifically, when the user sets the number of body parts to N, that is, the electronic device receives the third input, the electronic device may display the N position identifiers in the panorama shooting preview area in response to the third input. Therefore, the user can trigger the electronic equipment to set the number of the images of the target object displayed in the panoramic shooting preview area according to the use requirement of the user, and the customization performance of the panoramic split images shot by the electronic equipment can be improved.
It can be understood that the number of the position identifiers displayed in the panoramic shooting preview area by the electronic device can be determined according to the number of the panoramic split images set in the electronic device by the user.
For example, in the embodiment of the present invention, as shown in fig. 8, when the user sets the number of human images to "3" in the avatar count setting area 36 in the object capturing interface, the electronic apparatus may display 3 position indicators 37 in the panorama capturing preview area 31. As such, after the electronic device captures an image of the target object, the electronic device may display 3 images of the target object in the panorama shooting preview area.
In the embodiment of the invention, because the number of the position marks displayed in the panoramic shooting preview area is the number of the panoramic body-separating images set in the electronic equipment by the user, namely the number of the bodies in the panoramic body-separating images obtained by the electronic equipment is the number set in the electronic equipment by the user, the customization performance of the panoramic body-separating images shot by the electronic equipment can be improved.
Optionally, in this embodiment of the present invention, after the electronic device displays the N location identifiers in the panoramic view preview area, if the user wants to trigger the electronic device to adjust the location of the location identifier (for example, the first location identifier in this embodiment of the present invention) in the N location identifiers, the user may trigger the electronic device to update the display location of the location identifier in the panoramic view preview area through an input. Therefore, the user can trigger the electronic equipment to adjust the display position of the position identification according to the actual use requirement, and the position of the body-separated image of the target object in the panoramic body-separated image to be shot is adjusted.
For example, after S208, the panoramic avatar image capturing method according to the embodiment of the present invention may further include S209 and S210 described below.
It should be noted that the execution order between S209-S210 and S202-S205 may not be limited by the embodiments of the present invention. That is, the electronic device may first execute S209-S210 and then execute S202-S205, and may also first execute S202-S205 and then execute S209-S210. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
S209, the electronic equipment receives a fourth input of the first position identifier in the N position identifiers from the user.
And S210, the electronic equipment responds to the received fourth input, and the display position of the first position mark in the panoramic shooting preview area is updated.
In an embodiment of the present invention, after the electronic device displays the N location identifiers in the panoramic view preview area, if the user wants to trigger the electronic device to adjust the display location of a certain location identifier (i.e., the first location identifier) in the N location identifiers, the user may trigger the electronic device to update the display location of the first location identifier in the panoramic view preview area through the fourth input. Therefore, the user can trigger the electronic equipment to adjust the position of the body-separated image of the target object in the panoramic body-separated image to be shot according to the use requirement of the user, and the mode of shooting the panoramic body-separated image by the electronic equipment is flexible.
Optionally, in an embodiment of the present invention, the fourth input may be a drag input of the user to the first location identifier, and specifically, the fourth input may be an input of the user dragging the first location identifier from the first display location of the panoramic shooting preview area to the second display location.
It is understood that the first display position and the second display position are different display positions in the panoramic photographing preview area.
For example, as shown in fig. 9, when the user drags the location indicator 41, the electronic device may update the display location of the location indicator 41.
In the embodiment of the invention, the user can trigger the electronic device to update the display position of the first position identifier in the panoramic shooting preview area through the fourth input, so that the user can trigger the electronic device to adjust the display position of the body splitting image of the target object in the panoramic body splitting image to be acquired according to the use requirement of the user, the position of the body splitting image of the target object in the panoramic body splitting image shot by the electronic device is flexible, and the panoramic body splitting image shot by the electronic device can meet the use requirements of different users.
Optionally, in this embodiment of the present invention, after the electronic device displays the N images in the panoramic shooting preview area, if the user thinks that an image in the N images displayed by the electronic device does not satisfy the usage requirement of the electronic device and wants to exchange with one image in the M images displayed in the object preview area, the user may trigger the electronic device to exchange the two images through one input (for example, a fifth input in this embodiment of the present invention), so that the electronic device may display an image of a target object that satisfies the usage requirement of the user in the panoramic shooting preview area, and thus the panoramic image of the target object obtained by the electronic device may satisfy the actual usage requirement of the user.
For example, after the above S205c or S205e, the panoramic avatar image display method according to the embodiment of the present invention may further include the following S211 and S212.
S211, the electronic device receives a fifth input of the first image in the object preview area and the second image in the panorama shooting preview area from the user.
S212 the electronic device, in response to the fifth input, interchanging display of the first image and the second image.
In the embodiment of the present invention, after the electronic device displays the N images in the panoramic shooting preview area, if the user wants to swap the first image and the second image, the user may trigger the electronic device to swap and display the first image and the second image through the fifth input, so that the images displayed in the panoramic shooting preview area may be updated, and thus, the avatar image of the target object in the panoramic avatar image obtained by the electronic device may meet the user requirement.
Optionally, in an embodiment of the present invention, the fifth input may be an input that a user drags the first image to a display position of the second image, or may be a click input of the user on the first image and the second image in a preset time duration (a time duration preset in the electronic device by a manufacturer of the electronic device). The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Illustratively, as shown in fig. 10 (a), when the user drags the image 43 (i.e., the above-described first image) in the subject preview area to the display position of the image 44 (i.e., the above-described second image) displayed in the panorama shooting preview area, the electronic apparatus may exchange the display positions of the image 43 and the image 44 in response to the input. Specifically, as shown in fig. 10 (b), the electronic apparatus displays an image 43 in the panoramic photographing preview area and an image 44 in the subject preview area.
In the embodiment of the present invention, because the electronic device responds to the fifth input, the first image and the second image may be displayed in an exchangeable manner, that is, the electronic device may update the image displayed in the panoramic shooting preview area, so that the avatar image of the target object in the to-be-acquired panoramic avatar image may be updated, and thus, the manner for the electronic device to shoot the panoramic avatar image may be more flexible.
Optionally, in this embodiment of the present invention, after the electronic device displays the N location identifiers, if the user wants to change (for example, increase or decrease) the number of location identifiers displayed by the electronic device, the user may trigger the electronic device to modify the number of avatar in the panoramic avatar image to be captured through one input, so as to trigger the electronic device to modify the number of location identifiers displayed by the electronic device in the panoramic view preview area.
For example, after S208, the panoramic avatar image capturing method according to the embodiment of the present invention may further include S213 and S214 described below.
S213, the electronic equipment receives a sixth input that the user modifies the number of the split bodies in the panoramic split body image from N to K.
Wherein K is a positive integer and is not equal to N.
S214, the electronic equipment responds to the sixth input, and the N position marks are updated to K position marks.
In the embodiment of the present invention, when a user wants to adjust the number of split bodies in the panoramic split body image to be acquired, the user may trigger the electronic device to update the N position identifiers to the K position identifiers through the sixth input, so as to modify the number of split bodies of the target object in the panoramic split body image to be shot.
Illustratively, assuming that the number of avatar is initially set by the user to be 3, when the user modifies the number of human figures from "3" to "4" as shown in the avatar number setting area 36 shown in (a) of fig. 11, the electronic device may update the location indicator displayed in the panorama shooting preview area 31 to 4 location indicators as shown in (b) of fig. 11 in response to the input.
In the embodiment of the invention, the electronic equipment responds to the sixth input of the user and can modify the number of the position marks displayed in the panoramic shooting preview area, so that the number of the split objects in the panoramic split image to be shot can be modified through the sixth input, the panoramic split image obtained by the electronic equipment can meet the use requirement of the user, and the customization performance of the panoramic split image shot by the electronic equipment can be improved.
As shown in fig. 12, an embodiment of the invention provides an electronic device 500, where the electronic device 500 includes a display module 501, a processing module 502, and a saving module 503. The display module 501 may be configured to display a target shooting interface, where the target shooting interface includes a panoramic shooting preview area; the processing module 502 may be configured to, after the display module 501 displays the target shooting interface, capture a panoramic image in response to the received first input, and display the captured panoramic image in the panoramic shooting preview area; the processing module 502 may be further configured to, after the display module 501 displays the target shooting interface, in response to the received second input, acquire M images of the target object, and display N images of the M images in the panoramic shooting preview area; the saving module 503 may be configured to save the image displayed in the panoramic shooting preview area by the processing module 502, to obtain a panoramic avatar image of the target object, where M and N are both integer integers greater than 1 and N is less than or equal to M according to the panoramic image and the N images.
Optionally, N is smaller than M, and the target shooting interface further includes an object preview area; a processing module 502, specifically configured to respond to a second input, for an image whose acquisition time is arranged in the top N bits, display one image in a panoramic shooting preview area every time one image is acquired; for images whose acquisition times are arranged at the (N + 1) th bit to the (M) th bit, one image is displayed in the object preview region every time one image is acquired.
Optionally, the target shooting interface further includes an object preview area; the second input comprises a first sub-input and a second sub-input; a processing module 502, specifically configured to respond to the first sub-input, for each acquired image of the M images, to display one image in the object preview area; and displaying the N images in the panorama shooting preview area in response to a second sub-input, the second sub-input triggering an input for a user to select the N images from the M images.
Optionally, the processing module 502 is specifically configured to acquire a panoramic image through a rotatable camera in the electronic device; the processing module 502 is specifically configured to acquire M images through a fixed camera in the electronic device.
Optionally, the display module 501 is further configured to, after displaying the target shooting interface, respond to a received third input, display N location identifiers in the panoramic shooting preview area, where a location indicated by the N location identifiers is a display location of the N images, and the third input is an input that a user sets the number of individuals in the panoramic individual image to be N.
Optionally, the display module 501 is further configured to, after displaying the N location identifiers in the panoramic view preview area, update a display location of the first location identifier in the panoramic view preview area in response to a received fourth input to the first location identifier of the N location identifiers.
Optionally, the processing module 502 may be further configured to, after displaying N images of the M images in the panoramic preview area, switch and display the first image and the second image in response to a received fifth input to the first image in the object preview area and the second image in the panoramic preview area.
The electronic device provided by the embodiment of the invention can realize each process executed by the electronic device in the panoramic body-splitting image shooting method embodiment, and can achieve the same technical effect, and the details are not repeated here in order to avoid repetition.
The embodiment of the invention provides electronic equipment, which can obtain a panoramic sectional image of a target object according to a panoramic image displayed in a panoramic shooting preview area and N images of the target object, and can acquire the panoramic image and a plurality of images of the target object respectively. Therefore, on one hand, the panoramic body-separating image obtained by the electronic equipment can be ensured to comprise the image of the target object; on the other hand, the target object does not need to be positioned for many times and appears in the panoramic split image shot by the electronic equipment, so that the situation that the position of the target object in the panoramic split image is not proper can be avoided. Therefore, the panoramic body-splitting image shooting method provided by the embodiment of the invention can optimize the effect of the panoramic body-splitting image shot by the electronic equipment.
Fig. 13 is a hardware schematic diagram of an electronic device implementing various embodiments of the invention. As shown in fig. 13, the electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 13 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 terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to control the display unit 106 to display a target shooting interface, where the target shooting interface includes a panoramic shooting preview area; and in response to the received first input, acquiring a panoramic image and displaying the acquired panoramic image in a panoramic shooting preview area; acquiring M images of the target object in response to the received second input, and displaying N images of the M images in the panoramic shooting preview area; and controlling the memory 109 to store the image displayed in the panoramic shooting preview area to obtain a panoramic sectional image of the target object, wherein the panoramic sectional image is obtained according to the panoramic image and the N images, M and N are integers greater than 1, and N is less than or equal to M.
It can be understood that, in the embodiment of the present invention, the display module 501 in the structural schematic diagram of the electronic device (for example, fig. 12) may be implemented by the display unit 106; the processing module 502 in the schematic structural diagram of the electronic device may be implemented by the processor 110; the storage module 503 in the structural schematic diagram of the electronic device may be implemented by the memory 109.
The embodiment of the invention provides electronic equipment, which can obtain a panoramic sectional image of a target object according to a panoramic image displayed in a panoramic shooting preview area and N images of the target object, and can acquire the panoramic image and a plurality of images of the target object respectively. Therefore, on one hand, the panoramic body-separating image obtained by the electronic equipment can be ensured to comprise the image of the target object; on the other hand, the target object does not need to be positioned for many times and appears in the panoramic split image shot by the electronic equipment, so that the situation that the position of the target object in the panoramic split image is not proper can be avoided. Therefore, the panoramic body-splitting image shooting method provided by the embodiment of the invention can optimize the effect of the panoramic body-splitting image shot by the electronic equipment.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include an image capturing device (e.g., a camera) 1040, a Graphics Processing Unit (GPU) 1041, and a microphone 1042. An image capture device 1040 (e.g., a camera) captures image data for a still picture or video. The graphic processor 1041 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 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 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 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 105 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 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 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 107 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 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 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 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 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 described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 13, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. 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 108 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 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 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 by 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 109 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 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 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 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 13, the memory 109, and a computer program that is stored in the memory 109 and is executable on the processor 110, and when the computer program is executed by the processor 110, the processes of the foregoing panoramic avatar image shooting method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
An 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 shown in fig. 13, the computer program implements each process of the above-mentioned panoramic body-splitting image shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
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 according to 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 (12)

1. A panoramic body-splitting image shooting method is applied to electronic equipment and is characterized by comprising the following steps:
displaying a target shooting interface, wherein the target shooting interface comprises a panoramic shooting preview area;
in response to a received first input, capturing a panoramic image and displaying the captured panoramic image in the panoramic photographing preview area;
acquiring M images of a target object in response to a received second input, and displaying N images in the M images in the panoramic shooting preview area, wherein M and N are integers greater than 1, and N is smaller than M;
saving the image displayed in the panoramic shooting preview area to obtain a panoramic body-splitting image of the target object, wherein the panoramic body-splitting image is obtained according to the panoramic image and the N images;
the target shooting interface further comprises an object preview area;
the acquiring, in response to a second input, M images of a target object and displaying N images of the M images in the panorama shooting preview area includes:
displaying one image in the panorama shooting preview area for each image acquired with the images whose acquisition times are arranged in the top N bits in response to the second input;
and displaying one image in the object preview area every time one image is acquired for images whose acquisition times are arranged from the (N + 1) th bit to the (M) th bit.
2. The method of claim 1, wherein said capturing a panoramic image comprises:
acquiring a panoramic image through a rotatable camera in the electronic equipment;
the acquiring of the M images of the target object comprises:
and acquiring the M images through a fixed camera in the electronic equipment.
3. The method of claim 1, wherein after displaying the target capture interface, the method further comprises:
and responding to a received third input, displaying N position identifications in the panoramic shooting preview area, wherein the positions indicated by the N position identifications are the display positions of the N images, and the third input is an input for setting the number of the split in the panoramic split image to be N.
4. The method of claim 3, wherein after displaying the N location identifiers in the preview area of the panorama shot, the method further comprises:
updating a display position of a first location identifier of the N location identifiers in the panorama shooting preview area in response to a received fourth input to the first location identifier.
5. The method of claim 1, wherein after displaying N images of the M images in the panorama shooting preview area, the method further comprises:
in response to a fifth input to a first image in the subject preview area and a second image in the panorama photographing preview area, swapping display of the first image and the second image.
6. An electronic device, comprising a display module, a processing module and a saving module;
the display module is used for displaying a target shooting interface, and the target shooting interface comprises a panoramic shooting preview area;
the processing module is used for responding to the received first input after the display module displays the target shooting interface, collecting a panoramic image and displaying the collected panoramic image in the panoramic shooting preview area;
the processing module is further configured to, after the display module displays the target shooting interface, respond to a received second input, acquire M images of a target object, and display N images of the M images in the panoramic shooting preview area, where M and N are integers greater than 1, and N is smaller than M;
the storage module is configured to store the image displayed in the panoramic shooting preview area by the processing module to obtain a panoramic sectional image of the target object, where the panoramic sectional image is obtained according to the panoramic image and the N images;
the target shooting interface further comprises an object preview area;
the processing module is specifically configured to respond to the second input, and for each image acquired by acquiring images whose acquisition times are arranged in the top N bits, display one image in the panoramic shooting preview area; and displaying one image in the object preview area every time one image is acquired for images whose acquisition times are arranged from the (N + 1) th bit to the (M) th bit.
7. The electronic device of claim 6,
the processing module is specifically used for acquiring a panoramic image through a rotatable camera in the electronic equipment;
the processing module is specifically configured to acquire the M images through a fixed camera in the electronic device.
8. The electronic device of claim 6, wherein the display module is further configured to display N location identifiers in the preview area of the panoramic shot in response to a received third input from the user after displaying the object shooting interface, where the locations indicated by the N location identifiers are display locations of the N images, and the third input is an input from the user to set the number of split parts in the panoramic split-part image to N.
9. The electronic device of claim 8, wherein the display module is further configured to update a display position of a first location identifier of the N location identifiers in the panorama preview area in response to receiving a fourth input of the first location identifier after the N location identifiers are displayed in the panorama preview area.
10. The electronic device of claim 6, wherein the processing module is further configured to, after displaying N images of the M images in the preview area, swap display of the first image and the second image in response to a fifth received input of the first image in the preview area and the second image in the preview area.
11. 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 panoramic avatar image capture method of any of claims 1-5.
12. 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 panoramic avatar image photographing method according to any one of claims 1 to 5.
CN201911277018.5A 2019-12-12 2019-12-12 Panoramic body-separating image shooting method and electronic equipment Active CN111010511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911277018.5A CN111010511B (en) 2019-12-12 2019-12-12 Panoramic body-separating image shooting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911277018.5A CN111010511B (en) 2019-12-12 2019-12-12 Panoramic body-separating image shooting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111010511A CN111010511A (en) 2020-04-14
CN111010511B true CN111010511B (en) 2021-08-10

Family

ID=70114656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911277018.5A Active CN111010511B (en) 2019-12-12 2019-12-12 Panoramic body-separating image shooting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111010511B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586296B (en) 2020-04-27 2021-11-16 北京小米移动软件有限公司 Image capturing method, image capturing apparatus, and storage medium
CN113228619A (en) * 2020-08-25 2021-08-06 深圳市大疆创新科技有限公司 Shooting control method and device, movable platform and storage medium
CN114302071B (en) * 2021-12-28 2024-02-20 影石创新科技股份有限公司 Video processing method and device, storage medium and electronic equipment
CN114554280B (en) * 2022-01-14 2024-03-19 影石创新科技股份有限公司 Method and device for generating video of video division, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010135A (en) * 2013-02-26 2014-08-27 三星电子株式会社 Apparatus and method for photographing image
CN105551070A (en) * 2015-12-09 2016-05-04 广州市久邦数码科技有限公司 Camera system capable of loading map elements in real time
CN106357979A (en) * 2016-09-19 2017-01-25 宇龙计算机通信科技(深圳)有限公司 Photographing method, device and terminal
CN106408549A (en) * 2016-08-26 2017-02-15 努比亚技术有限公司 Clone photo processing method and device and terminal
CN108419007A (en) * 2018-01-30 2018-08-17 努比亚技术有限公司 Clone method, photo taking, terminal and computer readable storage medium
CN108540713A (en) * 2017-03-01 2018-09-14 奥林巴斯株式会社 Photographic device, image processing apparatus, image capture method and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012109898A (en) * 2010-11-19 2012-06-07 Aof Imaging Technology Ltd Imaging device, imaging method, and program
KR20150059534A (en) * 2013-11-22 2015-06-01 삼성전자주식회사 Method of generating panorama images,Computer readable storage medium of recording the method and a panorama images generating device.
CN108848313B (en) * 2018-08-10 2020-11-06 维沃移动通信有限公司 Multi-person photographing method, terminal and storage medium
CN110365907B (en) * 2019-07-26 2021-09-21 维沃移动通信有限公司 Photographing method and device and electronic equipment
CN110545385A (en) * 2019-09-23 2019-12-06 维沃移动通信有限公司 image processing method and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010135A (en) * 2013-02-26 2014-08-27 三星电子株式会社 Apparatus and method for photographing image
CN105551070A (en) * 2015-12-09 2016-05-04 广州市久邦数码科技有限公司 Camera system capable of loading map elements in real time
CN106408549A (en) * 2016-08-26 2017-02-15 努比亚技术有限公司 Clone photo processing method and device and terminal
CN106357979A (en) * 2016-09-19 2017-01-25 宇龙计算机通信科技(深圳)有限公司 Photographing method, device and terminal
CN108540713A (en) * 2017-03-01 2018-09-14 奥林巴斯株式会社 Photographic device, image processing apparatus, image capture method and storage medium
CN108419007A (en) * 2018-01-30 2018-08-17 努比亚技术有限公司 Clone method, photo taking, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN111010511A (en) 2020-04-14

Similar Documents

Publication Publication Date Title
CN108668083B (en) Photographing method and terminal
CN110913132B (en) Object tracking method and electronic equipment
CN110891144B (en) Image display method and electronic equipment
CN108495029B (en) Photographing method and mobile terminal
CN110908558B (en) Image display method and electronic equipment
CN111010511B (en) Panoramic body-separating image shooting method and electronic equipment
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN109525874B (en) Screen capturing method and terminal equipment
CN110213440B (en) Image sharing method and terminal
CN110769174B (en) Video viewing method and electronic equipment
CN110798621A (en) Image processing method and electronic equipment
CN108924422B (en) Panoramic photographing method and mobile terminal
CN110830713A (en) Zooming method and electronic equipment
CN111597370A (en) Shooting method and electronic equipment
CN110769154B (en) Shooting method and electronic equipment
CN111083374B (en) Filter adding method and electronic equipment
CN109361864B (en) Shooting parameter setting method and terminal equipment
CN111064896A (en) Device control method and electronic device
CN110750200A (en) Screenshot picture processing method and terminal equipment
JP7413546B2 (en) Photography method and electronic equipment
WO2021136181A1 (en) Image processing method and electronic device
CN110913133B (en) Shooting method and electronic equipment
CN110958387B (en) Content updating method and electronic equipment
CN110647506B (en) Picture deleting method and terminal equipment
CN110493457B (en) Terminal device control method and terminal device

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
GR01 Patent grant
GR01 Patent grant