CN113194256A - Shooting method, shooting device, electronic equipment and storage medium - Google Patents

Shooting method, shooting device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113194256A
CN113194256A CN202110474976.2A CN202110474976A CN113194256A CN 113194256 A CN113194256 A CN 113194256A CN 202110474976 A CN202110474976 A CN 202110474976A CN 113194256 A CN113194256 A CN 113194256A
Authority
CN
China
Prior art keywords
sub
shooting
image
window
windows
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.)
Granted
Application number
CN202110474976.2A
Other languages
Chinese (zh)
Other versions
CN113194256B (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 Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110474976.2A priority Critical patent/CN113194256B/en
Publication of CN113194256A publication Critical patent/CN113194256A/en
Application granted granted Critical
Publication of CN113194256B publication Critical patent/CN113194256B/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/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
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • 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/265Mixing

Landscapes

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

Abstract

The application discloses a shooting method, a shooting device, electronic equipment and a storage medium, and belongs to the technical field of camera shooting. The shooting method comprises the following steps: controlling a camera to shoot a first image; displaying a first image in a first shooting sub-window of a shooting preview interface, wherein the shooting preview interface comprises N sub-windows, and the N sub-windows comprise T shooting sub-windows and P recommendation sub-windows; displaying a second image in a first recommendation sub-window of the shooting preview interface; generating a target image based on the images displayed in the T shooting sub-windows and the P recommendation sub-windows; the shooting sub-window is used for displaying a preview image and an image shot by the camera; the recommendation sub-window is used for displaying the stored images; n is an integer greater than 1, P, T is a positive integer, N ═ P + T.

Description

Shooting method, shooting device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of camera shooting, and particularly relates to a shooting method and device, electronic equipment and a storage medium.
Background
Electronic equipment with a camera, such as a mobile phone, can shoot. In a use scene that contents in a plurality of images need to be displayed through one image, the images need to be shot and stored in an album or a certain folder, then the number and the arrangement mode of the images needing to be synthesized are set through image post-processing software installed on electronic equipment, the images in the number are selected from the stored and shot images, and the images are synthesized into one image according to the arrangement mode. However, the above method has the disadvantages of complicated steps and low efficiency.
Disclosure of Invention
The embodiment of the application aims to provide a shooting method, a shooting device, electronic equipment and a storage medium, and can solve the problems of complex operation and high difficulty in the image generation process of a multi-image splicing effect.
In a first aspect, an embodiment of the present application provides a shooting method, where the method includes:
controlling a camera to shoot a first image;
displaying a first image in a first shooting sub-window of a shooting preview interface, wherein the shooting preview interface comprises N sub-windows, and the N sub-windows comprise T shooting sub-windows and P recommendation sub-windows;
displaying a second image in a first recommendation sub-window of the shooting preview interface;
generating a target image based on the images displayed in the T shooting sub-windows and the P recommendation sub-windows;
the shooting sub-window is used for displaying a preview image and an image shot by the camera; the recommendation sub-window is used for displaying the stored images; n is an integer greater than 1, P, T is a positive integer, N ═ P + T.
In a second aspect, an embodiment of the present application provides a shooting device, including:
the image shooting module is used for controlling the camera to shoot a first image;
the first display module is used for displaying the first image in a first shooting sub-window of a shooting preview interface, wherein the shooting preview interface comprises N sub-windows, and the N sub-windows comprise T shooting sub-windows and P recommendation sub-windows;
the second display module is used for displaying a second image in a first recommendation sub-window of the shooting preview interface;
the image synthesis module is used for generating a target image based on the images displayed in the T shooting sub-windows and the P recommendation sub-windows;
the shooting sub-window is used for displaying a preview image and an image shot by a camera; the recommendation sub-window is used for displaying the stored images; n is an integer greater than 1, P, T is a positive integer, N ═ P + T.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the images obtained by shooting are displayed in the shooting sub-windows included in the shooting preview interface, the stored images are displayed in the recommendation sub-windows included in the shooting preview interface, the images displayed in the sub-windows are synthesized, the target images to be synthesized do not need to be selected from an album one by one, the problem that proper images cannot be found for splicing, combining and splicing does not exist, the images to be synthesized can be determined more simply, quickly and conveniently based on the shooting function of the electronic equipment without the need of later-stage image processing software, the generation process of the images with the multi-image splicing effect can be simplified, the difficulty of the generation process of the images with the multi-image splicing effect is reduced, the shooting function of the electronic equipment can be enriched, and the requirements of users for shooting and splicing the synthesized images can be better met.
Drawings
Fig. 1 is a schematic flowchart of a shooting method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
FIG. 3 is a schematic diagram of a shooting preview interface in an embodiment of the present application;
FIG. 4 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
FIG. 5 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
FIG. 6 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
FIG. 7 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
FIG. 8 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
FIG. 9 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
FIG. 10 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
FIG. 11 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
FIG. 12 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
FIG. 13 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
FIG. 14 is a schematic view of a capture sub-window template in an embodiment of the present application;
FIG. 15 is a schematic diagram of a shooting preview interface in the embodiment of the present application;
fig. 16 is a schematic structural diagram of a shooting device provided in an embodiment of the present application;
fig. 17 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 18 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The shooting method, the shooting device, the electronic device and the storage medium provided by the embodiment of the present application are described in detail with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of a shooting method provided in an embodiment of the present application. The shooting method provided by the embodiment of the application is described below with reference to fig. 1. As shown in fig. 1, the method includes:
step 101, controlling a camera to shoot a first image.
Optionally, the shooting method provided by the embodiment of the application is suitable for shooting images by electronic equipment with a camera.
The electronic device described above may be implemented in various forms. For example, the electronic devices described in the embodiments of the present application may include mobile terminals such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet), a PMP (portable multimedia player), a navigation device, a smart band, a smart hand, a digital camera, and the like, and fixed terminals such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the electronic device is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
It should be noted that the electronic device in the embodiment of the present application may include at least one camera.
The user can input a shooting instruction for shooting an image to the electronic apparatus, control at least one camera, and shoot a first image based on set shooting parameters (including sensitivity, shutter time, focal length, white balance, and the like) as needed.
For example, in the case that the mobile phone includes one front camera and a plurality of rear cameras, the front camera may be controlled to capture a first image through a capture instruction; any rear camera can be controlled to shoot the first image; the plurality of rear cameras can also be controlled to take the first image.
Alternatively, the first image may be a picture or a video.
For example, the first image is a picture obtained by a user taking a self-timer photograph, or a video shot of a scene.
102, displaying a first image in a first shooting sub-window of a shooting preview interface, wherein the shooting preview interface comprises N sub-windows, and the N sub-windows comprise T shooting sub-windows and P recommendation sub-windows.
The shooting sub-window is used for displaying a preview image and an image shot by the camera; the recommendation sub-window is used for displaying the stored images; n is an integer greater than 1, P, T is a positive integer, N ═ P + T.
Optionally, the electronic device in the embodiment of the present application may include at least one screen. Each screen may be a folding screen that can be folded, or an unfolding screen that cannot be folded.
A shooting preview interface may be displayed on the screen.
The shooting preview interface can comprise a plurality of sub-windows, wherein at least one sub-window is a shooting sub-window, and at least one sub-window is a recommendation sub-window.
The plurality of sub-windows may be arranged in a target arrangement, such as a squared figure or a stripe.
The target arrangement may be a default arrangement stored in advance or an arrangement determined based on an input from a user. The embodiments of the present application are not limited to specific target arrangements.
Each sub-window may display an image.
For the recommended sub-window, the image displayed by the sub-window is the stored image.
And for the shooting sub-window, the image displayed by the sub-window is obtained by calling a camera for shooting.
For the first photographing sub-window, the first image may be displayed in the photographing sub-window after the first image is obtained based on the photographing sub-window performing step 101.
Before the first image is obtained, a preview image of a camera corresponding to the shooting sub-window can be displayed in the first shooting sub-window.
Alternatively, step 103 may be performed in case the user is satisfied with the first image after the first image is displayed.
Optionally, after displaying the first image, the electronic device may receive a fifth input of user input for processing the first image in case the user is not satisfied with the first image.
The fifth input may be a touch input, a voice input, a gesture input, or a key input of the user on the first image.
The electronic device can perform image processing operations such as cropping, rotating and adjusting contrast on the first image in response to the fifth input, and update the first image.
Optionally, the fifth input may further comprise an input for triggering deletion of the first image.
And the electronic equipment responds to the fifth input, deletes the first shooting sub-window and displays the preview image of the camera corresponding to the shooting sub-window instead of displaying the first image. The electronic device may re-execute step 101 to control the camera to capture the first image until the first image satisfied by the user is obtained.
For example, as shown in fig. 2, the shooting preview interface includes 4 sub-windows: sub-window 201, sub-window 202, sub-window 203, and sub-window 204; the sub-window 202 is a first shooting sub-window, and displays a first image; the user may delete the first image by clicking on the control 205 for deleting the first image. As shown in fig. 3, the first image is no longer displayed in the sub-window 202, but a preview image is displayed.
And 103, displaying a second image in a first recommendation sub-window of the shooting preview interface.
Alternatively, the second image may be a stored image determined based on the display contents in the T photographing sub-windows, or a stored image selected by the user.
For the first recommendation sub-window, the second image may be displayed in the recommendation sub-window after the second image is determined.
Optionally, before step 103, a preview image or a blank image may be displayed in the first recommendation sub-window.
And step 104, generating a target image based on the images displayed in the T shooting sub-windows and the P recommendation sub-windows.
Optionally, after each shooting sub-window and each recommendation sub-window display images, the images displayed in the sub-windows may be combined in a splicing manner according to the target arrangement manner to generate an image. The generated image is a target image.
According to the embodiment of the application, the images obtained by shooting are displayed in the shooting sub-windows included in the shooting preview interface, the stored images are displayed in the recommendation sub-windows included in the shooting preview interface, the images displayed in the sub-windows are synthesized, the target images to be synthesized do not need to be selected from an album one by one, the problem that proper images cannot be found for splicing, combining and splicing does not exist, image processing software does not need to be passed through in the later period, the images to be synthesized can be determined more simply, rapidly and conveniently based on the shooting function of the electronic equipment, the generation process of the images with the multi-image splicing effect can be simplified, the difficulty of the generation process of the images with the multi-image splicing effect is reduced, the shooting function of the electronic equipment can be enriched, and the requirements of users for shooting and splicing the synthesized images can be better met.
Optionally, before the shooting the first recommended sub-window of the preview interface and displaying the second image, the method further includes: and acquiring T images of the T shooting sub-windows.
Optionally, before step 103, images of the respective shooting sub-windows may be acquired.
Alternatively, the T images may be acquired after T images of the T capture sub-windows are obtained.
Alternatively, after the images of each shooting sub-window are obtained respectively, each image may be acquired in turn, so as to acquire T images.
Determining K images matched with the image content of the T images; wherein K is a positive integer.
Alternatively, the T images may be matched with stored images based on the content of the images, and it may be determined whether the stored images are matched with the image content of the T images.
Based on the matching result of whether each stored image matches with the image content of the T images, K images can be determined from among the stored images that match with the image content of the T images. The second image is one of the K images.
The stored image and the image content of the T images are matched, which may include but is not limited to at least one of the following conditions:
the correlation between the stored images and the image contents of the T images meets a preset first condition;
the light intensity variations in the stored images and the T images correspond to a second predetermined condition.
Optionally, the relevance of the content of the image satisfies a preset first condition, which may include but is not limited to at least one of the following conditions:
the similarity of the environment in the image is larger than a preset threshold value;
the posture difference of the person in the image meets a preset third condition;
the same person is included in the image.
For example, if the T images are images of different persons in the same scenic spot and a stored image is an image of a person in the scenic spot, it can be determined that the image matches the image content of the T images.
For another example, if the T images are images of various plants and one of the stored images is an image of an animal, it can be determined that the image content of the image does not match the image content of the T images.
Optionally, after the stored images are screened, the screened images may be queried based on the T images, so as to improve the efficiency of querying.
Criteria for screening may include, but are not limited to: at least one of quality, sharpness, photographing time, and photographing place of the image.
Optionally, querying the screened images includes:
determining a content label of the image through an image content identification algorithm;
and matching the content labels of the T images with the content labels of the screened images so as to determine whether the image contents of the screened images are matched with the image contents of the T images.
The content tag may include the type of content.
Alternatively, the type of content may be classified in multiple levels. For example, the type of content may include a primary classification of landscape, people, animals, plants, objects, and buildings; the landscape may include secondary classifications of deserts, oceans, forests, lakes, rivers, canyons, mountains, and the like; the lakes may include three-level classifications of lake one, lake two, and lake three.
According to the embodiment of the application, the stored images are matched with the image content of the images of the shooting sub-windows, and the K images matched with the image content of the images of the shooting sub-windows are determined, so that one of the K images can be determined as the second image to be synthesized, the target images to be synthesized do not need to be selected from an album one by one, the problem that the proper images cannot be found for splicing, combining and splicing does not exist, image processing software does not need to be used in the later period, the images to be synthesized can be determined more simply, rapidly and conveniently based on the shooting function of the electronic equipment, the generation process of the images with the multi-image splicing effect can be simplified, the difficulty of the generation process of the images with the multi-image splicing effect is reduced, the shooting function of the electronic equipment can be enriched, and the requirements of users for shooting and splicing the synthesized images are better met.
Optionally, after determining K images matching the image content of the T images, the method further includes: and determining the image with the matching degree with the image content of the T images in the K images larger than a preset threshold value as a second image.
Alternatively, the electronic device may automatically match and determine one of the K images as the second image.
In the case where K is equal to 1 and the degree of matching of the image with the image content of the T images is greater than a preset threshold, the image may be determined as the second image.
In the case where K is greater than 1, and the degree of matching of the image content of only one of the K images with the image content of the T images is greater than a preset threshold, the image may be determined as the second image.
In the case where K is greater than 1, and the matching degree of the image contents of L images and T images among the K images is greater than a preset threshold, one image among the L images may be determined as the second image. Wherein L is a positive integer, and L is more than 1 and less than or equal to K.
The preset threshold may be set according to actual conditions, for example, the preset threshold is 90%. The embodiment of the present application is not particularly limited to a specific value of the preset threshold.
Optionally, determining one of the L images as the second image includes, but is not limited to, any of:
determining any one of the L images as a second image;
and determining one image with the maximum matching degree with the image contents of the T images in the L images as a second image.
The image with the matching degree of the image content of the T images in the K images being larger than the preset threshold value is determined as the second image, the second image can be determined simply, quickly and conveniently, the shooting function of the electronic equipment can be enriched, and the requirements of shooting and splicing the composite images by a user are met better.
Optionally, after determining K images matching the image content of the T images, the method further includes: and displaying the K images on the shooting preview interface.
Alternatively, after the K images are determined, the K images may be displayed in a target area in the shooting preview interface.
The target area may be a part or all of the first area where the photographing preview interface is displayed.
A first input by a user to a second image of the K images is received.
Alternatively, the user may input the first input to the electronic apparatus based on the K images displayed on the photographing preview interface.
A first input for determining a second image. The user may select one of the K images as the second image through the first input.
Optionally, the first input may be a touch input, a voice input, a gesture input, or a key input to one of the K images or (K-1) image, or may be a first operation.
Optionally, the first input may be any one of:
a user's touch input to a screen (hereinafter, simply referred to as "screen") of an electronic device. For example, the touch input may be a touch input along a direction parallel to one diagonal of a certain area of the screen, or a touch input along a direction perpendicular to a first side of a certain area of the screen, or the like.
And inputting the voice of a certain image in the K images by the user. For example, the first image among the K images corresponds to "1", the second image corresponds to "2", and the third image corresponds to "3". If the user inputs '1' by voice, the electronic equipment can receive the voice information '1' and determine as the input of the first image; if the user inputs '2' by voice, the electronic device may receive the voice information '2' and determine as an input to the second image; if the user inputs "3" by voice, the electronic device may receive the voice information "3" and determine as input to the third image.
A user gesture input to a certain area of the screen. For example, if the user makes a gesture input in a first direction parallel to the plane in which the screen lies, the electronic device may determine that the gesture input is an input to a first image of the K images; if the user makes a gesture input in a second direction parallel to the plane of the screen, the electronic device may determine that the gesture input is an input to a second image of the K images.
It is to be understood that the above listed inputs are exemplary lists, i.e., embodiments of the present application include, but are not limited to, the above listed inputs. In practical implementation, the input may also include any other possible input, which may be specifically determined according to practical use requirements, and the embodiment of the present application is not limited.
Displaying a second image in a first recommendation sub-window of the shooting preview interface, wherein the second image comprises: and responding to the first input, and displaying the second image in a first recommendation sub-window of the shooting preview interface.
Optionally, the electronic device may respond to the first input after receiving the first input.
When the first input is an input or operation on one of the K images, the electronic device may determine the image (i.e., one selected by the user) as the second image.
When the first input is an input or operation on (K-1) images of the K images, the electronic device may determine one image of the K images other than the (K-1) images (i.e., one image that is not selected by the user) as the second image.
After the second image is determined, the second image may be displayed in a first recommended sub-window of the shooting preview interface.
For example, as shown in fig. 4, the photographing preview interface includes 3 photographing sub-windows (a photographing sub-window 401, a photographing sub-window 402, and a photographing sub-window 403) and 1 recommendation sub-window (a first recommendation sub-window 404); the images obtained by shooting are displayed in the 3 shooting sub-windows; the user clicks on a control 405 for triggering AI intelligence recommendation of the second image. The electronic device screens 4 (i.e., K ═ 4) images matching the image content of the 3 images from among the images stored in the image library based on the 3 images of the 3 shooting sub-windows, and displays the 4 images (image 501, image 502, image 503, and image 504) on the shooting preview interface, as shown in fig. 5. The user may select image 501 as the second image by the first input. As shown in fig. 6, a second image (image 501 in fig. 5) is displayed in the first recommendation sub-window 404.
The embodiment of the application determines the second image based on the first input of the user and displays the second image in the first recommendation sub-window, so that the second image meeting the requirements of the user can be determined more simply, quickly and conveniently, the photographing function of the electronic equipment can be enriched, the requirements of the user for photographing and splicing the composite image can be better met, and the flexibility and diversity for determining the second image are improved.
Optionally, each of the T shooting sub-windows corresponds to one camera.
Alternatively, the T images displayed in the T shooting sub-windows may be obtained by shooting with different cameras. Correspondingly, each shooting sub-window corresponds to one camera respectively.
For example, in the case that the mobile phone includes one front camera and three rear cameras, a first part of the T images may be captured by the front camera, a second part may be captured by the first rear camera, a third part may be captured by the second rear camera, and a fourth part may be captured by the third rear camera; correspondingly, the shooting sub-window displaying the first part of the T images corresponds to the front camera, the shooting sub-window displaying the second part of the T images corresponds to the first rear camera, the shooting sub-window displaying the third part of the T images corresponds to the second rear camera, and the shooting sub-window displaying the fourth part of the T images corresponds to the third rear camera.
The embodiment of the application can shoot the images of the sub-windows through different cameras, and can obtain the first images more conveniently and efficiently, so that the images to be synthesized can be determined more simply, quickly and conveniently, the requirements of shooting and splicing the synthesized images by a user are met better, and the flexibility and diversity of obtaining the first images are improved.
Optionally, the shooting method further includes: and updating the display position of at least one shooting sub-window in the T shooting sub-windows based on the content displayed by the N sub-windows.
Optionally, before step 104, the display position of at least one shooting sub-window may be changed based on the content displayed by the N sub-windows, so as to realize automatic arrangement of the N sub-windows.
Alternatively, the display positions of the N sub-windows and the displayed content may be input to the detection model, and the N sub-windows after updating the display position of at least one of the T shooting sub-windows may be output. Before and after the display position is updated, the content displayed by each shooting sub-window is unchanged.
The detection model is obtained by training a synthetic image obtained by rearranging the display positions of the various book sub-windows based on the content displayed by the various book sub-windows by a user, wherein the display positions and the displayed content of the various book sub-windows are used as training samples.
The detection model can be trained by a large number of high-quality synthetic images, a set of model with the capability of automatically arranging images can be trained aiming at a plurality of typical scenes, and the image content of the target image obtained by synthesis can be ensured to better meet the requirements of users.
The display positions of the various book sub-windows are rearranged based on the content displayed by the various book sub-windows, which can be based on, but not limited to, the following scenarios:
1. full portrait scene: the images are automatically arranged according to the postures of portrait shooting, the directions of gaze, the hues of the images and the like, for example, the images in the same postures, the directions of gaze are consistent, the hues of the images are too close to each other, the images are not arranged together as much as possible, and the images can be arranged diagonally to ensure the overall harmony of the synthesized images;
2. scene of character and scene combination: the tasks and the scenes are staggered to be arranged as much as possible, so that the situation that people and people are arranged and the scenes are arranged together is avoided.
According to the embodiment of the application, the display position of at least one shooting sub-window in the T shooting sub-windows is updated based on the content displayed by the N sub-windows, and the target image can be ensured to better meet the requirements of the user and can be more efficiently obtained by automatically re-shooting the display positions of the N sub-windows.
Optionally, the shooting method further includes: and receiving second input of the T shooting sub-windows from the user.
Optionally, before step 104, if the user is not satisfied with the combined effect of the images displayed based on the arrangement of the N sub-windows, a second input may be input to the electronic device, and the rearrangement of the N sub-windows may be performed manually, so that the N sub-windows are arranged in the arrangement satisfied by the user.
The second input may be touch input, voice input, gesture input, or key input to the at least one photographing sub-window, or may be a second operation.
In response to a second input, at least one of the T photographing sub-windows is updated.
Optionally, the second input may carry information such as an identifier of at least one shooting sub-window, and after the second input is received, the second input is responded, and operations such as adding, deleting, exchanging, or changing the size of the T shooting sub-windows may be performed, so as to update the at least one shooting sub-window.
According to the embodiment of the application, based on the second input of the user to the T shooting sub-windows, at least one shooting sub-window in the T shooting sub-windows is updated, the T shooting sub-windows are rearranged, the harmony and the aesthetic feeling of the target image can be guaranteed, the target image meeting the requirements of the user can be obtained more efficiently, and the flexibility and diversity of sub-window arrangement and image synthesis are improved.
Optionally, updating at least one of the T shooting sub-windows includes:
exchanging the display positions of at least two shooting sub-windows;
deleting at least one shooting sub-window;
at least one shooting sub-window is added.
Alternatively, the at least two photographing sub-windows may be updated by exchanging display positions of the at least two photographing sub-windows.
It should be noted that the sizes of the shooting sub-windows may be different, and the sizes of the shooting sub-windows are also exchanged in the process of exchanging the display positions of at least two shooting sub-windows.
For example, as shown in fig. 7, the shooting preview interface includes 3 shooting sub-windows (a shooting sub-window 701, a shooting sub-window 702, and a shooting sub-window 703) and 1 recommendation sub-window (a recommendation sub-window 704); the second input may be used to trigger the exchange of the display positions of the shooting sub-window 702 and the shooting sub-window 703, and the display positions of the shooting sub-window 701 and the recommendation sub-window 704 are unchanged. The response result of the second input is shown in fig. 8. Since the sizes of the shooting sub-window 702 and the shooting sub-window 703 are different, the sizes of the shooting sub-window 702 and the shooting sub-window 703 are also exchanged, that is, the size of the shooting sub-window 702 after update is the size of the shooting sub-window 703 before update, and the size of the shooting sub-window 703 after update is the size of the shooting sub-window 702 before update.
The target image obtained based on the content shown in fig. 8 is shown in fig. 9.
It is understood that if the sizes of the photographing sub-window 702 and the photographing sub-window 703 are the same, exchanging the sizes of the photographing sub-window 702 and the photographing sub-window 703 does not change the sizes of the photographing sub-window 702 and the photographing sub-window 703.
Alternatively, at least one of the T photographing sub-windows may be updated by deleting the at least one photographing sub-window.
Deleting the capture sub-window causes the number of capture sub-windows to change, and the size of the undeleted sub-windows can be re-determined based on the objective rule.
Alternatively, the area covered by the deleted shooting sub-window may be allocated to several non-deleted sub-windows adjacent to the deleted shooting sub-window.
As shown in fig. 10, a shooting sub-window 1004 of 4 sub-windows (a recommendation sub-window 1001, a shooting sub-window 1002, a shooting sub-window 1003, and a shooting sub-window 1004) is selected, the shooting sub-window 1004 is deleted, an area covered by the shooting sub-window 1004 can be allocated to the shooting sub-window 1002 based on a preset object rule, and the size of the shooting sub-window 1002 can be adjusted. Each sub-window after deleting the photographing sub-window 1004 in fig. 10 is shown in fig. 11.
Alternatively, at least one of the T photographing sub-windows may be updated by adding at least one photographing sub-window.
The second input may carry information of the number of the shooting sub-windows to be added, and may also carry information of a new arrangement manner of each sub-window after adding at least one shooting sub-window.
After the second input is received, a plurality of shooting sub-windows can be added in the shooting preview interface based on the new arrangement mode.
The number of the sub-windows is changed due to the increase of the plurality of shooting sub-windows, and the size of each sub-window can be determined again based on the new arrangement mode.
The partial areas covered by the original several sub-windows before the shooting sub-window is added can be allocated to each added shooting sub-window.
For example, as shown in fig. 12, two shooting sub-windows (the shooting sub-window 1205 and the shooting sub-window 1206) are added based on the 4 sub-windows (the sub-window 1201, the sub-window 1202, the sub-window 1203 and the sub-window 1204) shown in fig. 12, and the new arrangement is as shown in fig. 15. As shown in fig. 15, a partial area covered by the sub-window 1201 and a partial area covered by the sub-window 1202 are assigned to the shooting sub-window 1205, and a partial area covered by the sub-window 1203 and a partial area covered by the sub-window 1204 are assigned to the shooting sub-window 1206.
According to the method and the device, the at least one shooting sub-window is updated through the modes of exchanging the display positions of the shooting sub-windows, deleting the at least one shooting sub-window or adding the at least one shooting sub-window, the shooting sub-windows can be rearranged more conveniently and efficiently, the target images meeting the requirements of users can be obtained more efficiently, and the flexibility and diversity of sub-window arrangement and image synthesis are improved.
Optionally, the shooting method further includes: a third input by the user is received.
Optionally, a third input for determining a number of capture sub-window templates. Several, one or more.
The third input may be touch input, voice input, gesture input, or key input, or may be a third operation.
It is to be understood that the above listed inputs are exemplary lists, i.e., embodiments of the present application include, but are not limited to, the above listed inputs. In practical implementation, the input may also include any other possible input, which may be specifically determined according to practical use requirements, and the embodiment of the present application is not limited.
A capture sub-window template for characterizing N, T the values of P and size information and position information of each sub-window.
Based on the shooting sub-window template, the number of sub-windows, the number of shooting sub-windows, the number of recommended sub-windows, and the size and display position of each sub-window can be determined.
In response to a third input, at least one capture sub-window template is displayed.
Optionally, after receiving the third input, determining a plurality of shooting sub-window templates in response to the third input, and displaying the plurality of shooting sub-window templates.
And receiving fourth input of the target shooting sub-window template in the at least one shooting sub-window template from the user.
Optionally, the fourth input is used to determine the target shooting sub-window template, and update the display parameters of the shooting sub-window or the recommended sub-window of the target shooting sub-window template.
The fourth input may be touch input, voice input, gesture input, or key input, or may be a fourth operation.
It is to be understood that the above listed inputs are exemplary lists, i.e., embodiments of the present application include, but are not limited to, the above listed inputs. In practical implementation, the input may also include any other possible input, which may be specifically determined according to practical use requirements, and the embodiment of the present application is not limited.
And in response to a fourth input, updating display parameters of the shooting sub-window or the recommendation sub-window of the target shooting sub-window template.
Wherein the display parameters include at least one of: the display position of the sub-window and the number of the sub-windows.
Optionally, after receiving the fourth input, in response to the fourth input, it may be determined that one of the at least one photographing sub-window template is the target photographing sub-window template.
For example, as shown in fig. 14, 4 shooting sub-window templates are displayed: up + down, left + upper right + lower right, upper left + upper right + down, upper left + upper right + lower left + lower right. The user may select, through the fourth input, the shooting sub-window template of "upper left + upper right + lower left + lower right" in the 4 shooting sub-window templates shown in fig. 14 as the target shooting sub-window template, to obtain the shooting preview interface shown in fig. 15, where the shooting preview interface includes 4 sub-windows: a shooting sub-window 1501, a shooting sub-window 1502, a shooting sub-window 1503, and a recommendation sub-window 1504.
And the fourth input also carries an updating method of the display parameters of the shooting sub-window or the recommended sub-window of the target shooting sub-window template. After determining the target capture sub-window template, at least one of the following may be updated based on a fourth input: the display position of the shooting sub-window of the target shooting sub-window template; the number of shooting sub-windows of the target shooting sub-window template; the display position of the recommended sub-window of the target shooting sub-window template; and the number of recommended sub-windows of the target shooting sub-window template.
According to the method and the device for displaying the recommended sub-windows, the at least one shooting sub-window template is displayed in response to the received third input, the display parameters of the shooting sub-windows or the recommended sub-windows of the target shooting sub-window template are updated in response to the received fourth input, a user can customize the number and the display positions of the required recommended sub-windows or the shooting sub-windows based on the existing shooting sub-window template, and flexibility and diversity of arrangement of the sub-windows can be improved.
In the shooting method provided by the embodiment of the present application, the executing subject may be a shooting device, or the executing subject may be a control module in the shooting device for executing the shooting method. The embodiment of the present application takes an example in which a shooting device executes a shooting method, and the shooting device provided in the embodiment of the present application is described.
Fig. 16 is a schematic structural diagram of a shooting device according to an embodiment of the present application. Based on the contents of any of the above embodiments, as shown in fig. 16, the apparatus includes an image capturing module 1601, a first display module 1602, a second display module 1603, and an image synthesizing module 1604, in which:
an image capturing module 1601, configured to control a camera to capture a first image;
a first display module 1602, configured to display a first image in a first shooting sub-window of a shooting preview interface, where the shooting preview interface includes N sub-windows, and the N sub-windows include T shooting sub-windows and P recommendation sub-windows;
a second display module 1603, configured to display a second image in the first recommendation sub-window of the shooting preview interface;
an image synthesis module 1604 for generating a target image based on the images displayed in the T shooting sub-windows and the P recommendation sub-windows;
the shooting sub-window is used for displaying a preview image and an image shot by the camera; the recommendation sub-window is used for displaying the stored images; n is an integer greater than 1, P, T is a positive integer, N ═ P + T.
Alternatively, the image capturing module 1601, the first display module 1602, the second display module 1603, and the image synthesizing module 1604 are electrically connected in sequence.
The image capturing module 1601 may control at least one camera to capture a first image based on set capturing parameters (including sensitivity, shutter time, focal length, white balance, and the like).
After obtaining the first image, the first display module 1602 may display the first image in the capture sub-window.
The second display module 1603 may display the second image in the recommendation sub-window after determining the second image.
The image synthesis module 1604 may synthesize the images displayed in the sub-windows in a splicing manner according to the target arrangement manner to generate an image. The generated image is a target image.
Optionally, the photographing apparatus further includes:
the first acquisition module is used for acquiring T images of the T shooting sub-windows;
the second acquisition module is used for determining K images matched with the image contents of the T images;
wherein K is a positive integer.
Optionally, the photographing apparatus further includes:
and the image determining module is used for determining the image with the matching degree with the image content of the T images in the K images larger than a preset threshold value as a second image.
Optionally, the photographing apparatus further includes:
the third display module is used for displaying K images on the shooting preview interface;
the first input module is used for receiving first input of a user on a second image in the K images;
a second display module 1603, configured to display a second image in the first recommendation sub-window of the shooting preview interface in response to the first input.
Optionally, the photographing apparatus further includes:
and the first arrangement module is used for updating the display position of at least one shooting sub-window in the T shooting sub-windows based on the content displayed by the N sub-windows.
Optionally, the photographing apparatus further includes:
the first input module is used for receiving second input of the user to the T shooting sub-windows;
and the second arrangement module is used for responding to a second input and updating at least one shooting sub-window in the T shooting sub-windows.
Optionally, the second arrangement module is configured to: exchanging the display positions of at least two shooting sub-windows; deleting at least one shooting sub-window; at least one shooting sub-window is added.
Optionally, the photographing apparatus further includes:
the third input module is used for receiving a third input of the user;
a fourth display module for displaying at least one photographing sub-window template in response to the third input;
the fourth input module is used for receiving fourth input of a user on a target shooting sub-window template in the at least one shooting sub-window template;
the parameter updating module is used for responding to the fourth input and updating the display parameters of the shooting sub-window or the recommendation sub-window of the target shooting sub-window template; wherein the display parameters include at least one of: the display position of the sub-window and the number of the sub-windows.
According to the embodiment of the application, the images obtained by shooting are displayed in the shooting sub-windows included in the shooting preview interface, the stored images are displayed in the recommendation sub-windows included in the shooting preview interface, the images displayed in the sub-windows are synthesized, the target images to be synthesized do not need to be selected from an album one by one, the problem that proper images cannot be found for splicing, combining and splicing does not exist, image processing software does not need to be passed through in the later period, the images to be synthesized can be determined more simply, rapidly and conveniently based on the shooting function of the electronic equipment, the generation process of the images with the multi-image splicing effect can be simplified, the difficulty of the generation process of the images with the multi-image splicing effect is reduced, the shooting function of the electronic equipment can be enriched, and the requirements of users for shooting and splicing the synthesized images can be better met.
The shooting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of 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 server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus 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 application are not limited specifically.
The shooting device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 15, and is not described here again to avoid repetition.
Optionally, as shown in fig. 17, an electronic device 1700 is further provided in an embodiment of the present application, and includes a processor 1701, a memory 1702, and a program or an instruction stored in the memory 1702 and executable on the processor 1701, where the program or the instruction is executed by the processor 1701 to implement each process of the foregoing shooting method embodiment, and achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 18 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
The electronic device 1800 includes, but is not limited to: radio frequency unit 1801, network module 1802, audio output unit 1803, input unit 1804, sensors 1805, display unit 1806, user input unit 1807, interface unit 1808, memory 1809, and processor 1810.
Those skilled in the art will appreciate that the electronic device 1800 may also include a power supply (e.g., a battery) for powering the various components, and that the power supply may be logically connected to the processor 1810 via a power management system to perform functions such as managing charging, discharging, and power consumption. The electronic device structure shown in fig. 18 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
The processor 1810 is configured to control the camera to shoot a first image;
a display unit 1806, configured to display a first image in a first shooting sub-window of a shooting preview interface, where the shooting preview interface includes N sub-windows, and the N sub-windows include T shooting sub-windows and P recommendation sub-windows; displaying a second image in a first recommendation sub-window of the shooting preview interface;
a processor 1810 for generating a target image based on images displayed in the T shooting sub-windows and the P recommendation sub-windows;
the shooting sub-window is used for displaying a preview image and an image shot by the camera; the recommendation sub-window is used for displaying the stored images; n is an integer greater than 1, P, T is a positive integer, N ═ P + T.
According to the embodiment of the application, the images obtained by shooting are displayed in the shooting sub-windows included in the shooting preview interface, the stored images are displayed in the recommendation sub-windows included in the shooting preview interface, the images displayed in the sub-windows are synthesized, the target images to be synthesized do not need to be selected from an album one by one, the problem that proper images cannot be found for splicing, combining and splicing does not exist, image processing software does not need to be passed through in the later period, the images to be synthesized can be determined more simply, rapidly and conveniently based on the shooting function of the electronic equipment, the generation process of the images with the multi-image splicing effect can be simplified, the difficulty of the generation process of the images with the multi-image splicing effect is reduced, the shooting function of the electronic equipment can be enriched, and the requirements of users for shooting and splicing the synthesized images can be better met.
Optionally, the processor 1810 is further configured to obtain T images of the T shooting sub-windows; determining K images matched with the image content of the T images; wherein K is a positive integer.
Optionally, the processor 1810 is further configured to determine, as the second image, an image of the K images whose matching degree with the image content of the T images is greater than a preset threshold.
Optionally, the display unit 1806 is further configured to display K images on the shooting preview interface;
a user input unit 1807 for receiving a first input by a user for a second image among the K images;
the display unit 1806 is further configured to display a second image in the first recommendation sub-window of the shooting preview interface in response to the first input.
Optionally, the processor 1810 is further configured to update a display position of at least one of the T shooting sub-windows based on the content displayed by the N sub-windows.
Optionally, the user input unit 1807 is further configured to receive a second input of the T shooting sub-windows from the user;
the processor 1810, further configured to update at least one of the T capture sub-windows in response to a second input.
Optionally, the processor 1810 is further configured to:
exchanging the display positions of at least two shooting sub-windows;
deleting at least one shooting sub-window;
at least one shooting sub-window is added.
Optionally, the user input unit 1807 is further configured to receive a third input from the user;
a processor 1810 further configured to display, in response to a third input, at least one capture sub-window template;
a user input unit 1807, further configured to receive a fourth input of the user to a target shooting sub-window template in the at least one shooting sub-window template;
the processor 1810, further configured to update display parameters of the shooting sub-window or the recommended sub-window of the target shooting sub-window template in response to a fourth input; wherein the display parameters include at least one of: the display position of the sub-window and the number of the sub-windows.
It should be understood that in the embodiment of the present application, the input Unit 1804 may include a Graphics Processing Unit (GPU) 18041 and a microphone 18042, and the Graphics Processing Unit 18041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1806 may include a display panel 18061, and the display panel 18061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1807 includes a touch panel 18071 and other input devices 18072. A touch panel 18071, also referred to as a touch screen. The touch panel 18071 may include two parts of a touch detection device and a touch controller. Other input devices 18072 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. The memory 1809 may be used to store software programs as well as various data, including but not limited to target application programs and an operating system. Processor 1810 may integrate an application processor, which primarily handles operating system, user interface, and target applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1810.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above shooting method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A photographing method, characterized by comprising:
controlling a camera to shoot a first image;
displaying the first image in a first shooting sub-window of a shooting preview interface, wherein the shooting preview interface comprises N sub-windows, and the N sub-windows comprise T shooting sub-windows and P recommendation sub-windows;
displaying a second image in a first recommendation sub-window of the shooting preview interface;
generating a target image based on the images displayed in the T shooting sub-windows and the P recommendation sub-windows;
the shooting sub-window is used for displaying a preview image and an image shot by a camera; the recommendation sub-window is used for displaying the stored images; n is an integer greater than 1, P, T is a positive integer, N ═ P + T.
2. The shooting method according to claim 1, wherein before displaying the second image in the first recommendation sub-window of the shooting preview interface, further comprising:
acquiring T images of the T shooting sub-windows;
determining K images matched with the image content of the T images;
wherein K is a positive integer.
3. The shooting method according to claim 2, wherein after determining K images that match the image content of the T images, further comprising:
and determining an image with the matching degree with the image content of the T images in the K images larger than a preset threshold value as a second image.
4. The shooting method according to claim 2, wherein after determining K images that match the image content of the T images, further comprising:
displaying the K images on a shooting preview interface;
receiving a first input of a user to a second image in the K images;
the displaying of the second image in the first recommendation sub-window of the shooting preview interface includes:
and responding to the first input, and displaying a second image in a first recommendation sub-window of the shooting preview interface.
5. The photographing method according to claim 1, wherein each of the T photographing sub-windows corresponds to one camera.
6. The photographing method according to claim 1, wherein the method further comprises:
and updating the display position of at least one shooting sub-window in the T shooting sub-windows based on the content displayed by the N sub-windows.
7. The photographing method according to claim 1, wherein the method further comprises:
receiving second input of the user to the T shooting sub-windows;
updating at least one of the T capture sub-windows in response to the second input.
8. The photographing method according to claim 7, wherein the updating at least one of the T photographing sub-windows includes:
exchanging the display positions of at least two shooting sub-windows;
deleting at least one shooting sub-window;
at least one shooting sub-window is added.
9. The photographing method according to claim 1, wherein the method further comprises:
receiving a third input of the user;
displaying at least one photographing sub-window template in response to the third input;
receiving a fourth input of a user to a target shooting sub-window template in the at least one shooting sub-window template;
updating display parameters of a shooting sub-window or a recommendation sub-window of the target shooting sub-window template in response to the fourth input;
wherein the display parameters include at least one of: the display position of the sub-window and the number of the sub-windows.
10. A camera, comprising:
the image shooting module is used for controlling the camera to shoot a first image;
the first display module is used for displaying the first image in a first shooting sub-window of a shooting preview interface, wherein the shooting preview interface comprises N sub-windows, and the N sub-windows comprise T shooting sub-windows and P recommendation sub-windows;
the second display module is used for displaying a second image in a first recommendation sub-window of the shooting preview interface;
the image synthesis module is used for generating a target image based on the images displayed in the T shooting sub-windows and the P recommendation sub-windows;
the shooting sub-window is used for displaying a preview image and an image shot by a camera; the recommendation sub-window is used for displaying the stored images; n is an integer greater than 1, P, T is a positive integer, N ═ P + T.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the photographing method according to any one of claims 1-9.
12. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to any one of claims 1-9.
CN202110474976.2A 2021-04-29 2021-04-29 Shooting method, shooting device, electronic equipment and storage medium Active CN113194256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110474976.2A CN113194256B (en) 2021-04-29 2021-04-29 Shooting method, shooting device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110474976.2A CN113194256B (en) 2021-04-29 2021-04-29 Shooting method, shooting device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113194256A true CN113194256A (en) 2021-07-30
CN113194256B CN113194256B (en) 2023-04-25

Family

ID=76980766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110474976.2A Active CN113194256B (en) 2021-04-29 2021-04-29 Shooting method, shooting device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113194256B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113824878A (en) * 2021-08-20 2021-12-21 荣耀终端有限公司 Shooting control method based on foldable screen and electronic equipment
CN114125307A (en) * 2021-12-30 2022-03-01 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200809557A (en) * 2006-08-08 2008-02-16 yao-sheng Dong Method and system for automatic batch completion of image synthesis
CN105376471A (en) * 2015-12-21 2016-03-02 景好 Panorama shooting system based on moving platform and method
CN105551008A (en) * 2014-11-04 2016-05-04 腾讯科技(深圳)有限公司 Information processing method, client, and server
CN105812643A (en) * 2014-12-30 2016-07-27 中兴通讯股份有限公司 Puzzle processing method and device
US20170345214A1 (en) * 2016-05-30 2017-11-30 Hong Kong Applied Science & Technology Research Institute Company Limited High Resolution (HR) Panorama Generation Without Ghosting Artifacts Using Multiple HR Images Mapped to a Low-Resolution 360-Degree Image
US20180124312A1 (en) * 2016-10-27 2018-05-03 Mediatek Inc. Method and Apparatus of Video Compression for Pre-stitched Panoramic Contents
CN108460817A (en) * 2018-01-23 2018-08-28 维沃移动通信有限公司 A kind of pattern splicing method and mobile terminal
CN111986083A (en) * 2020-07-29 2020-11-24 上海阿几网络技术有限公司 Method and device for automatically combining images

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200809557A (en) * 2006-08-08 2008-02-16 yao-sheng Dong Method and system for automatic batch completion of image synthesis
CN105551008A (en) * 2014-11-04 2016-05-04 腾讯科技(深圳)有限公司 Information processing method, client, and server
CN105812643A (en) * 2014-12-30 2016-07-27 中兴通讯股份有限公司 Puzzle processing method and device
CN105376471A (en) * 2015-12-21 2016-03-02 景好 Panorama shooting system based on moving platform and method
US20170345214A1 (en) * 2016-05-30 2017-11-30 Hong Kong Applied Science & Technology Research Institute Company Limited High Resolution (HR) Panorama Generation Without Ghosting Artifacts Using Multiple HR Images Mapped to a Low-Resolution 360-Degree Image
US20180124312A1 (en) * 2016-10-27 2018-05-03 Mediatek Inc. Method and Apparatus of Video Compression for Pre-stitched Panoramic Contents
CN108460817A (en) * 2018-01-23 2018-08-28 维沃移动通信有限公司 A kind of pattern splicing method and mobile terminal
CN111986083A (en) * 2020-07-29 2020-11-24 上海阿几网络技术有限公司 Method and device for automatically combining images

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113824878A (en) * 2021-08-20 2021-12-21 荣耀终端有限公司 Shooting control method based on foldable screen and electronic equipment
CN114125307A (en) * 2021-12-30 2022-03-01 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
CN114125307B (en) * 2021-12-30 2024-02-02 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113194256B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN111612873B (en) GIF picture generation method and device and electronic equipment
CN113093968B (en) Shooting interface display method and device, electronic equipment and medium
CN112954196B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112714257B (en) Display control method, display control device, electronic device, and medium
WO2022161260A1 (en) Focusing method and apparatus, electronic device, and medium
CN111756995A (en) Image processing method and device
CN111857512A (en) Image editing method and device and electronic equipment
CN113766129A (en) Video recording method, video recording device, electronic equipment and medium
CN112954210A (en) Photographing method and device, electronic equipment and medium
CN113014801B (en) Video recording method, video recording device, electronic equipment and medium
CN113194256B (en) Shooting method, shooting device, electronic equipment and storage medium
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN113794829A (en) Shooting method and device and electronic equipment
CN112449110B (en) Image processing method and device and electronic equipment
CN112330728A (en) Image processing method, image processing device, electronic equipment and readable storage medium
WO2022247766A1 (en) Image processing method and apparatus, and electronic device
CN114025100B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN113271378A (en) Image processing method and device and electronic equipment
CN113360684A (en) Picture management method and device and electronic equipment
CN112732961A (en) Image classification method and device
CN112653841A (en) Shooting method and device and electronic equipment
CN112492206B (en) Image processing method and device and electronic equipment
US20140153836A1 (en) Electronic device and image processing method
CN114143455B (en) Shooting method and device 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
GR01 Patent grant
GR01 Patent grant