CN112954196B - Shooting method, shooting device, electronic equipment and readable storage medium - Google Patents
Shooting method, shooting device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN112954196B CN112954196B CN202110113958.1A CN202110113958A CN112954196B CN 112954196 B CN112954196 B CN 112954196B CN 202110113958 A CN202110113958 A CN 202110113958A CN 112954196 B CN112954196 B CN 112954196B
- Authority
- CN
- China
- Prior art keywords
- preview
- image
- images
- sub
- target image
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical 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
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The application discloses a shooting method, a shooting device, electronic equipment and a readable storage medium, belongs to the technical field of shooting, and can solve the problem that time consumption for selecting a preview effect picture and checking images with different shooting effects is long. The method comprises the following steps: receiving a first input of a user under the condition of displaying a shooting preview interface, wherein the shooting preview interface comprises N preview sub-areas, and each preview sub-area comprises a preview image acquired by a camera; responding to the first input, controlling N cameras to shoot, obtaining N images, and generating a first target image; and N is an integer larger than 1, the first target image is synthesized based on the N preview images displayed by the N preview sub-areas, and the first target image is used for displaying any one of the N images. The method and the device are applied to scenes shot by the electronic equipment.
Description
Technical Field
The application belongs to the technical field of camera shooting, and particularly relates to a shooting method, a shooting device, electronic equipment and a readable storage medium.
Background
The function of shooing among the electronic equipment is usually used for taking notes daily life developments, and in order to satisfy people's record demand that increases day by day, electronic equipment's shooting mode is more and more, and the shooting effect is also more and more good. Through a plurality of cameras of installation in electronic equipment to the variety of camera and the variety of camera combination present more different effects of shooing, with the shooting demand that satisfies people, give people pleasing to the eye vision feast effect.
Although the number of cameras of the electronic device is increasing, no matter the preview or the photo is taken, most of the pictures displayed on the display screen are pictures captured by a single camera, when a user needs to select a required preview image from preview images corresponding to the preview images acquired by the multiple cameras, the multiple cameras need to be switched, the preview images of the multiple cameras can be selected by repeatedly turning pages and displaying the preview images one by one, and the preview image selection process is long in time consumption.
Disclosure of Invention
An embodiment of the present application provides a shooting method, a shooting device, an electronic device, and a readable storage medium, which can solve the problem that it takes a long time to select a preview effect picture.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a shooting method, including: receiving a first input of a user under the condition of displaying a shooting preview interface, wherein the shooting preview interface comprises N preview sub-areas, and each preview sub-area comprises a preview image acquired by a camera; responding to the first input, controlling N cameras to shoot to obtain N images, and generating a first target image; and N is an integer larger than 1, the first target image is synthesized based on the N preview images displayed by the N preview sub-areas, and the first target image is used for displaying any one of the N images.
In a second aspect, an embodiment of the present application provides a shooting device. The device comprises: receiving module and acquisition module, wherein: the device comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a first input of a user under the condition of displaying a shooting preview interface, the shooting preview interface comprises N preview sub-areas, and each preview sub-area comprises a preview image acquired by a camera; the acquisition module is used for responding to the first input received by the receiving module, controlling the N cameras to shoot, obtaining N images and generating a first target image; and N is an integer larger than 1, the first target image is synthesized based on the N preview images displayed by the N preview sub-areas, and the first target image is used for displaying any one of the N images.
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 as provided in 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 as provided in 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 as provided in the first aspect.
In the embodiment of the application, under the condition of displaying the shooting preview interface, since the preview images of each camera in the N cameras can be respectively displayed in the N preview sub-areas of the shooting preview interface, a user can screen the preview images in the shooting preview interface; and then after receiving a first input of a user, N images shot by the N cameras can be obtained in response to the first input, a first target image is obtained by synthesizing the N preview images in the N preview sub-areas, and then the N images shot by the N cameras can be rapidly displayed through the first target image. Therefore, the preview images are screened in the shooting preview interface, the images shot by different cameras are quickly displayed through the first target image, the time for selecting the shooting preview images and previewing the images shot by the different cameras by a client is shortened, a user can quickly select the required preview images and quickly check the images with different shooting effects, and the operation efficiency of the user is improved.
Drawings
Fig. 1 is a schematic flowchart of a shooting method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a shooting preview interface according to an embodiment of the present disclosure;
fig. 3 is a second schematic diagram of a preview shooting interface according to an embodiment of the present disclosure;
fig. 4 is a third schematic diagram of a shooting preview interface according to an embodiment of the present disclosure;
fig. 5 is a fourth schematic view of a shooting preview interface according to an embodiment of the present application;
fig. 6 is a fifth schematic view of a preview shooting interface provided in the embodiment of the present application;
fig. 7 is a schematic structural diagram of a shooting device according to an embodiment of the present application;
fig. 8 is a hardware schematic diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a second hardware schematic diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described 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 obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
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 "/", and generally means that the former and latter related objects are in an "or" relationship.
It should be noted that, the identifier in the embodiment of the present application is used to indicate a text, a symbol, an image, and the like of information, and a control or another container may be used as a carrier for displaying information, including but not limited to a text identifier, a symbol identifier, and an image identifier.
The shooting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The shooting method provided by the embodiment of the application can be applied to scenes of pictures shot by electronic equipment with a plurality of cameras.
Aiming at a scene that an electronic device with a plurality of cameras shoots the same scene, a user can adopt the following modes in order to obtain a scene picture meeting the self requirement: the user A uses the electronic equipment to take a picture of the scenery A, a picture captured by a single camera is displayed on a display screen of the electronic equipment in a preview mode, and the user A selects different cameras repeatedly to compare the photo effects captured by the different cameras and finally select the photo shot by the camera B. In the photo selecting process, a user A needs to repeatedly show preview pictures captured by different equipment heads one by one to select preview pictures meeting requirements and shoot photos meeting the requirements, so that the selecting process is long in time consumption.
In combination with the above scenario, in the embodiment of the application, before the user a uses the electronic device to photograph the scene a, a preview picture of the scene a captured by each of the N cameras may be simultaneously displayed in a preview shooting interface displayed by the electronic device. Therefore, after the electronic equipment receives the first input of the user, the preview picture in the shooting preview interface can be screened according to the first input, so as to obtain the images of the scenery A shot by part of the N cameras. So, in the screening process of previewing the picture in taking the preview interface, because user first can browse the preview picture of the scenery A that N cameras caught simultaneously for user first need not to make a round trip to turn repeatedly and browse the preview picture that each camera corresponds, alright reach and reduce the time that the customer selected the shooting effect picture, provide bigger operating space for follow-up artistic creation, and increased the interesting effect of shooing.
The embodiment of the application is applied to the electronic equipment comprising a plurality of cameras. The camera connected with the electronic equipment comprises a built-in camera integrated in the electronic equipment and an external camera connected in the process of using the electronic equipment. It should be noted that the camera types include, but are not limited to, a color camera, a black and white camera, an infrared camera, a moonlight camera, a starlight camera, and a general camera.
Illustratively, the built-in camera integrated inside the electronic device includes a built-in camera of a notebook computer, a front camera of a mobile phone, a rear camera of a mobile phone, a camera of a face recognition attendance machine, an infrared camera in a monitoring system, and the like.
For example, the external camera connected in the process of using the electronic equipment can adopt a wired connection mode and a wireless connection mode. The wired connection mode refers to the connection of the electronic equipment with an external camera through a USB interface, a Type-C interface, a lightning interface or a serial port and other interfaces. The wireless connection mode is that the electronic equipment establishes an information interaction channel with an external camera in a Bluetooth, infrared or wireless local area network mode and the like so as to realize connection with the external camera. In the embodiment of the present application, the connection mode of the external camera is not limited. No matter which connection mode is adopted, the electronic equipment and the external camera all comprise corresponding hardware elements.
As shown in fig. 1, an embodiment of the present application provides a shooting method, which may include steps 101 and 102 described below.
Step 101: in a case where a photographing preview interface is displayed, a photographing apparatus receives a first input of a user.
The shooting preview interface comprises N preview sub-areas, and each preview sub-area comprises a preview image acquired by a camera.
In the embodiment of the application, the preview image acquired by the camera in each preview sub-area can be updated in real time, that is, a preview picture is displayed in the preview sub-area.
In this embodiment of the application, a preview image of each of N cameras may be displayed in the shooting preview interface, where N is an integer greater than 1. The camera can be any camera selected from a built-in camera and an external camera of the electronic equipment, so that N is not more than the total number of the built-in camera and the external camera of the electronic equipment.
Optionally, in this embodiment of the present application, the shooting preview interface is a shooting preview interface in a multi-camera preview mode. For example, after the camera application is started, the shooting device may select a multi-camera preview mode from multiple shooting preview modes (generally including a single-camera preview mode and a multi-camera preview mode) of the camera application, and then display a shooting preview interface corresponding to the multi-camera preview mode. Further, the multi-camera preview mode may be manually selected by the user on the mode selection interface, or may be a default photographing preview mode after the photographing apparatus starts the camera application.
Optionally, in this embodiment of the application, the N cameras may be N preset cameras corresponding to the multi-camera preview mode, or may also be cameras manually selected by the user in the multi-camera preview mode, which is not limited in this embodiment of the application. Further, the N preset cameras may be N default cameras in the electronic device, or may be cameras corresponding to preview images displayed in a shooting preview interface displayed last time.
Optionally, in this embodiment of the application, the user may autonomously select a camera corresponding to each shooting preview interface, so that the shooting device may simultaneously display preview images of multiple cameras selected for the shooting preview interface by the user in the shooting preview interface. It can be understood that the user may select a camera in the multi-camera preview mode, or may select a camera corresponding to the preview image in the case of displaying the shooting preview interface.
Optionally, in this embodiment of the present application, multiple preview sub-areas in the N preview sub-areas may display preview images of the same camera, so as to enhance comparability of preview images displayed by different cameras, so as to compare preview images displayed by different cameras in a close-up manner.
Optionally, in this embodiment of the application, in each preview sub-area, in addition to displaying the preview image, camera information (for example, a camera name, a camera abbreviation, an image feature, and so on, which are simple words or patterns) of a camera corresponding to the preview image may be displayed to identify a feature of the preview image, so as to facilitate subsequent further processing on the preview image or the captured image.
Optionally, in this embodiment of the application, the shooting device may display the preview image corresponding to each camera in the shooting preview interface according to a predetermined display order. Illustratively, the predetermined display order may be determined according to the frequency of use of the cameras, the degree of adaptation to the current scene, or the priority of use of the cameras.
Exemplarily, assuming that the user b wants to capture a night scene, since the cameras adapted to the current night scene include 4 cameras, namely a moonlight camera, a wide-angle camera, a normal camera and a telephoto camera, the capturing device may sequentially display preview images of the 4 cameras in the capture preview interface according to the adaptation degree of the 4 cameras to the current night scene. For example, the preview images may be displayed in the shooting preview interface in order from left to right and from top to bottom. For example, taking the example that two preview images are displayed in one line in the shooting preview interface, the preview image of the moonlight camera can be displayed on the left side of the first line in the shooting preview interface, the preview image of the wide-angle camera can be displayed on the right side of the first line, the preview image of the normal camera can be displayed on the left side of the second line, and the preview image of the telephoto camera can be displayed on the right side of the second line.
Optionally, in this embodiment of the application, the preview images in the shooting preview interface are arranged in a preset area arrangement structure.
Illustratively, the preset area arrangement structure may be a 4-grid, a 9-grid, and the like. For example, as shown in fig. 2, taking 9 cameras included in the electronic device as an example, the preview images of the 9 cameras may be displayed according to a 9-grid structure.
Optionally, in this embodiment of the application, the first input is used to trigger the electronic device to perform a shooting operation. For example, the first input may be: the user inputs the shooting preview interface by touch or other feasibility inputs, which is not limited in the embodiment of the present application. Further, the first input may be: a click input, a slide input, a press input, etc., by the user on the shooting preview interface. Further, the click operation may be any number of times of click operations, may also be a long-press click (click time is greater than or equal to a preset time) operation, may also be a short-press click (click time is less than a preset time) operation, and the like. The sliding operation may be a sliding operation in any direction, such as an upward sliding operation, a downward sliding operation, a leftward sliding operation, or a rightward sliding operation. Similarly, the input mode of the camera selection input may be a touch mode such as long pressing, point touching, dragging or sliding, or other feasible input, which is not limited in the embodiment of the present application.
Optionally, in this embodiment of the application, the shooting device may display the shooting preview interface in multiple display forms. Example 1: displaying the images on a full screen so as to compare preview images of all cameras more clearly; example 2: the multi-interface display screen is displayed in a split screen mode with other applications, so that multi-interface operation is facilitated, and the requirement of a user for starting different application programs at the same time is met; example 3: and displaying the current shooting preview interface on the same screen with other applications or menu bars so as to change the interface display parameters of the current shooting preview interface.
Illustratively, the shooting preview interface can be a full-screen display of the display screen of the electronic device, and can also be a preset scale display of the display screen of the electronic device. Besides the preview image, the shooting preview interface can also include function trigger controls such as shooting, editing, gesture recognition and the like.
Therefore, the display area of the shooting preview interface is divided according to the display targets such as the size of the display area, the maximum full shooting preview interface, the maximum area quantity of the fixed single page and the like, so that the arrangement of the display area has specific regularity, and the subsequent picture editing operations such as rearrangement, selection, extraction, deletion, copying, optimization and the like of the preview image are facilitated.
Step 102: the shooting device responds to the first input, controls the N cameras to shoot, obtains N images and generates a first target image.
Wherein N is an integer greater than 1, the first target image is synthesized based on N preview images displayed in the N preview sub-areas, and the first target image is used to display any one of the N preview images.
In an embodiment of the present application, the first target image is used to display an original image associated with any one of the image sub-regions when the user selects the selected image sub-region.
Optionally, in this embodiment of the present application, the N cameras may be cameras that are automatically determined by the electronic device according to a current shooting mode, or may be one or more cameras selected by a user.
Optionally, in this embodiment of the application, the N images are images obtained by shooting the same target object by the N cameras. Illustratively, the N images are images of different screen effects of the same target object. For example, a wide-angle picture effect and a night-scene picture effect of the same target object.
In the embodiment of the present application, the first target image includes image contents in the above N images.
Optionally, in this embodiment of the application, after receiving a first input from a user, the shooting device controls the N cameras to shoot to obtain N images, and synthesizes N preview images displayed in sub-regions of the N images when the N images are obtained by shooting, so as to obtain a first target image.
Therefore, the shooting device can shoot through different cameras simultaneously to obtain images with multiple shooting effects of the same object shot by the different cameras, and generates one image including the preview image in the preview sub-interface corresponding to the different cameras, so that a user can quickly and flexibly check multiple images shot by the different cameras through the one image, the user does not need to search multiple images of the same object shot by the different cameras in a massive image in an album, and the image searching efficiency is improved.
Optionally, in this embodiment of the present application, the shooting device may adjust a size or a position of a preview image in the shooting preview interface, so that the obtained preview image of the target camera better meets a user's need. For example, the photographing apparatus may perform an adjustment and editing operation on a display position of a preview image in the photographing preview interface according to an input of a user adjusting the preview image.
For example 1, the shooting device may display a certain preview image in the shooting preview interface in a full screen manner, so as to view details of the picture.
In example 2, the shooting device may move the preview images of different cameras in the shooting preview interface to adjacent positions, so as to avoid misreading the preview images when comparing and selecting the target camera.
And 3, the shooting device can copy the preview image in the shooting preview interface and move the copied preview image to the adjacent position of other preview images needing to be compared, so as to avoid mistakenly looking the preview image when the target camera is compared and selected.
In the shooting method provided by the embodiment of the application, under the condition that a shooting preview interface is displayed, the preview images of each camera in N cameras can be respectively displayed in N preview sub-areas of the shooting preview interface, so that a user can screen the preview images in the shooting preview interface; and after receiving a first input of a user, obtaining N images shot by the N cameras in response to the first input, synthesizing the N images based on the N preview images in the N preview sub-areas to obtain a first target image, and then quickly displaying the N images shot by the N cameras through the first target image. Therefore, the preview images are screened in the shooting preview interface, the images shot by different cameras are quickly displayed through the first target image, the time for selecting the shooting preview images and previewing the images shot by the different cameras by a client is shortened, the user can quickly select the required preview images and quickly check the images with different shooting effects, the operation efficiency of the user is improved, a larger operation space is provided for subsequent artistic creation, and the shooting interest is increased.
Optionally, in this embodiment of the present application, before displaying the shooting preview interface, the shooting method provided in this embodiment of the present application further includes the following step A1:
step A1: and the shooting device divides the shooting preview interface into N preview sub-areas according to the target division parameters.
Illustratively, the target partition parameter includes at least one of: the number of cameras, the size of a single display area, the number of maximum areas of a single page (for example, the maximum area of a single page includes 9 preview sub-areas), and the interface size of the shooting preview interface.
For example, in a case where the object division parameter includes the number of cameras, the maximum area number of a single page, and the interface size of the above-described shooting preview interface, the shooting apparatus may calculate the number of display pages of the above-described display area. And finally, dividing the shooting preview interface according to the number of the preview subareas of the current display page and the interface size of the shooting preview interface to generate the preview subareas.
Illustratively, the photographing device may derive the number of display pages by calculating a quotient value and a remainder of the number of cameras and the maximum area number of a single page. For example, if the remainder is 0, the number of display pages of the captured preview image is determined as the quotient value, and if the remainder is not 0, the number of display pages is determined as the quotient value plus 1.
Illustratively, if the number of the display pages is equal to 1, determining that the number of the preview sub-areas divided by the display pages of the shooting preview interface is the number of the cameras. And if the number of the display pages is more than 1, determining that the number of the preview subareas divided by the last display page of the shooting preview interface is the remainder, and determining that the number of the preview subareas divided by other display pages of the shooting preview interface is the maximum area number of a single page. For example, taking the number of the display pages as 1 as an example, assuming that the number of the cameras is 9, the number of the preview sub-areas is 9; taking the number of the display pages as 2 as an example, assuming that the number of the cameras is 12 and the maximum number of the single page areas in the shooting preview interface is 9, the number of the preview sub-areas of the first display page is 9, and the number of the preview sub-areas of the second display page is 3.
For example, in the case that the target division parameters include the number of cameras, the interface size of the shooting preview interface, and the size of a single preview sub-area, the shooting device may further calculate the maximum area number of a single page in the shooting preview interface, then determine the number of display pages based on the maximum area number of the single page, and finally determine the number of preview sub-areas of the display pages of the shooting preview interface according to the number of display pages. For example, if the number of cameras is 5 and the maximum area number of a single page in the shooting preview interface is 9, the number of display pages is 1; if the number of the cameras is 5, and the maximum area number of a single page in the shooting preview interface is 4, the number of the display pages is 2.
Illustratively, the shooting device may obtain the maximum area number of the single page by calculating a quotient of an interface size of the shooting preview interface and a size of a single preview sub-area.
In addition, the number of preview sub-areas in the shooting preview interface is not fixed, and the size of the preview sub-area is also not fixed. In addition, in the area dividing process, the shooting preview interface can be divided into 5 preview sub-areas by adopting the modes of vertical equal division, horizontal equal division, fixed length-width ratio of the preview sub-area, fixed size of the preview sub-area and the like.
Therefore, the shooting device can flexibly perform area division on the shooting preview interface according to factors such as the actual number of cameras in the electronic equipment, the interface size of the shooting preview interface and the like, so that a user can conveniently check and operate the preview subarea in the shooting preview interface.
Optionally, in this embodiment of the application, the first target image includes N image sub-areas, and each image sub-area corresponds to a display position of each preview sub-area in the shooting preview interface; after step 102, the shooting method provided in the embodiment of the present application further includes the following step E1:
step E1: and establishing an association relation between the N image subregions in the first target image and the N images, and associating and storing the first target image and the N images.
And one image subregion is associated with the image shot by the camera corresponding to the preview subregion of the display position corresponding to one image subregion in the N images.
For example, after obtaining N images captured by N cameras and a first target image, the capturing device may store the first target image in association with the N images or image data of the N images.
Further, the format of the image data of the image may include at least one of: RAW, YUV or JPEG. The RAW (RAW Image Format) Format is an unprocessed or uncompressed Format, that is, image data in the RAW Format is source data of an Image.
For example, the shooting device may sequentially acquire and store preview images corresponding to images shot by each target camera according to area arrangement information of N preview sub-areas and N cameras in the shooting preview interface.
For example, the shooting device may establish a mapping relationship between one image subregion in the first target image and an image shot by the camera corresponding to the preview subregion of the display position corresponding to the image subregion in the N images, and store the mapping relationship.
In this way, when the user performs a triggering operation on any image subregion in the first target image, the original shot image corresponding to the image subregion can be triggered to be displayed, so that the corresponding original shot image can be quickly viewed through the image subregion in the first target image.
Further, the establishing of the mapping relationship may include any one of the following: and establishing an address mapping relation between the image sub-area and the image corresponding to the image sub-area.
For example, the camera device may further set a camera identifier of a camera of the corresponding image for each thumbnail. Furthermore, the shooting device can also add corresponding camera marks on each image subregion or the image corresponding to each image subregion.
Further optionally, in this embodiment, with reference to step E1, after the capturing device stores the first target image in association with the N images, the user may view the image content of the image corresponding to any image subregion in the first target image through touch input to the image subregion.
After the step 102, the shooting method provided in the embodiment of the present application further includes the following steps F1 and F2:
step F1: a fifth input by the user to a subregion of the target image in the first target image is received.
Step F2: in response to a fifth input, an image associated with the target image subregion is displayed.
Illustratively, the target image sub-region is one or more image sub-regions in the image sub-region.
Illustratively, the image associated with the target image sub-region is an image corresponding to the target image sub-region in the N images, that is, an original image captured by a camera. Further, the image associated with the target image subregion includes at least two images.
For example, the camera may update the display content of the current interface to an image associated with the target image subregion, or display the image in a floating manner on the current interface, or generate a new interface to display the image.
Therefore, the user can quickly and flexibly check a plurality of images shot by different cameras through the image, so that the user does not need to search a plurality of original images of the same object shot by the different cameras in the massive images in the album, and the image searching efficiency is improved.
For example, as shown in (a) of fig. 3, the first target image includes 9 thumbnails, and after the user clicks the thumbnail 31 corresponding to the wide-angle camera, as shown in (b) of fig. 3, the photographing device acquires the image photographed by the wide-angle camera and presents the image content of the image.
It should be noted that the first target image includes image content of an image captured by each target camera, and each image subregion in the first target image has an association relationship with the camera and the image, so that the arrangement of the image subregions can be changed in the first target image by deleting, copying, moving, and the like, and the arrangement of the images corresponding to the target cameras is modified to select an image meeting the needs of the user.
In this way, the user can conveniently view any one of the images through the input of the first target image by correspondingly storing the image data of the first target image and the image shot by the target camera.
Further optionally, in this embodiment of the application, the process of acquiring the first target image in the step E1 may include the following step E2:
step E2: and the shooting device carries out image synthesis on the N preview images displayed by the N preview sub-areas according to the area arrangement information of the N preview sub-areas to obtain a first target image.
Wherein the region arrangement information includes at least one of: display position, display area, display content.
Illustratively, the area arrangement information may include: and the area position information, the area number information, the area size information and the like of the N preview sub-areas in the shooting preview interface. Further, the area arrangement information may be 4 grids, 9 grids, and the like, which is not limited in the embodiment of the present application.
For example, with reference to fig. 2, 9 preview images, i.e., preview image 1 to preview image 9, are sequentially displayed in the 9 preview sub-areas in fig. 2. When the user clicks the "capture" control 23 on the interface (i.e., the first input), as shown in fig. 4, the capturing apparatus may acquire an image corresponding to each preview image, and synthesize the preview images in each preview sub-area according to the area arrangement information of each image sub-area in the capture preview interface, so as to obtain an image 41 (i.e., a first target image) including the image content of the preview image of each preview sub-area.
In this way, the photographing apparatus may synthesize the preview image according to arrangement information (e.g., region positions) of image sub-regions in the first target image to generate the first target image, so that a user can quickly become familiar with the first target image according to a given impression of the preview image, so as to edit the plurality of image contents in the first target image again.
Further optionally, in this embodiment, after the capturing device acquires the first target image, the capturing device may perform, by using the first target image, a first target operation on a part of or all of the N images, or perform a second target operation on the first target image. Wherein the first target operation comprises at least one of: and viewing, modifying, saving, copying or deleting the image data of the image and/or the image content in the image subarea of the first target image corresponding to the image. The second target operation may include at least one of: and viewing, modifying, saving, copying or deleting the image subarea in the first target image.
Illustratively, if the photographing device receives an input of deleting an image sub-area corresponding to the ultra-wide-angle lens in the first target image, the image sub-area corresponding to the ultra-wide-angle lens in the first target image, or image content in the image sub-area, is deleted while image data of an image corresponding to the ultra-wide-angle lens (i.e., an image photographed by the ultra-wide-angle lens) is deleted, whereas if an operation instruction of deleting the image data of the image corresponding to the ultra-wide-angle lens is received, the image data of the image corresponding to the ultra-wide-angle lens is deleted while image sub-area corresponding to the ultra-wide-angle lens in the first target image, or image content in the image sub-area, is deleted.
Further optionally, in this embodiment, after step 102, the shooting method provided in this embodiment further includes the following steps G1 to G5:
step G1: the camera receives a second input from the user.
Step G2: the photographing device displays the first target image in response to the second input.
Step G3: the camera receives a third input from the user to T image sub-regions of the N image sub-regions in the first target image.
Step G4: and the shooting device responds to the third input and carries out image synthesis on the T preview images displayed in the T image sub-areas to obtain a second target image.
Step G5: and establishing an incidence relation between the T image subregions in the second target image and the T images, and storing the second target image and the T images in an associated manner.
One image subregion is associated with an image shot by a camera corresponding to a preview subregion of a display position corresponding to the one image subregion in the T images; wherein T is a positive integer and is less than N.
It is understood that the photographing apparatus may display the first target image after acquiring the first target image, and then perform secondary image processing (i.e., the above-mentioned image synthesis) on the first target image according to the input of the user on the first target image to acquire an image that meets the needs of the user. For example, deleting the first target image, copying the first target image, adjusting image parameters of the first target image, performing image fusion on the first target image, and so on.
In one example, in the case of image synthesis of T preview images in T image sub-regions in the first target image, the shooting device may perform image fusion on the T preview images in the T image sub-regions according to the region arrangement of the T image sub-regions. That is, the arrangement of the preview images corresponding to the respective image sub-regions in the post-fusion image (i.e., the second target image) is the same as the arrangement of the pre-fusion image (i.e., the first target image).
In another example, the shooting device may fuse the images corresponding to the thumbnails according to a predetermined template to obtain an image of a predetermined arrangement pattern. Further, the predetermined template may be a 2-grid image template, a 4-grid image template, or the like.
For example, with reference to fig. 4, after the user sequentially clicks the image sub-area 42, the image sub-area 43, the image sub-area 44, and the image sub-area 45 in the squared image 41 (i.e., the first target image), a slide input may be performed on the current interface to trigger rearrangement of the thumbnails, as shown in fig. 5, the shooting device calls up a 4-grid image template and performs image fusion on the 4 image sub-areas according to the image template to obtain a four-grid image 51 (i.e., the second target image) in which the image sub-areas are rearranged.
For example, after obtaining the second target image, the camera may establish an association relationship between T image sub-areas in the second target image and T images, and store the second target image in association with the T images. Therefore, a user can conveniently and quickly view any original image corresponding to the image subregion of the second target image through the second target image.
In this way, in an actual shooting process, after a first target image including a plurality of preview images is acquired, when the first preview image does not meet the user requirement, the shooting device may recombine and image-synthesize image sub-regions in the first target image, thereby generating a new image meeting the user requirement. Because the first target image is used as a medium for viewing original images of a plurality of images associated with a plurality of image sub-regions of the first target image, based on the first target image, a user can self-define and select at least two of the plurality of images to recombine, so as to obtain a second target image of preview images corresponding to at least two images required by the user, the second target image of the preview images corresponding to the plurality of images required by the user can be obtained only by selecting on the basis of the generated first target image comprising the plurality of preview images without shooting again once, the operation is convenient, and the flexibility of image generation is higher.
Optionally, in this embodiment of the application, the shooting device may display, in the shooting preview interface, the preview image in the one or more display areas selected by the user according to the user requirement.
Exemplarily, after the shooting preview interface is displayed, the shooting method provided in the embodiment of the present application further includes the following steps H1 and H2:
step H1: and receiving fourth input of the user to M preview subareas in the N preview subareas.
Step H2: in response to a fourth input, the preview images in the N preview sub-areas are updated to the preview images in the M preview sub-areas.
Wherein M is a positive integer and M is less than N.
Illustratively, the X first display regions may be selected by the user from the M display regions by, but not limited to, single click, double click, long press, gesture, and voice.
Illustratively, the photographing apparatus may update the photographing preview interface upon receiving a fourth input by the user. Further, the photographing apparatus may update Y display areas in the photographing preview interface to X display areas, and update the preview image displayed in the photographing preview interface to a preview image within the X first display areas.
For example, referring to fig. 2, after the user clicks the display area 21 and the display area 22 in the shooting preview interface, as shown in fig. 6, the shooting apparatus updates the preview images in the 9 display areas in fig. 2 to the preview images in the 2 display areas in fig. 6. That is, the imaging device displays the preview image in the display area 21 in the display area 61, and displays the preview image in the display area 22 in the display area 62.
Therefore, under the condition that a plurality of preview images are displayed in the shooting preview interface, the shooting device can update the plurality of preview images in the shooting preview interface into the preview images which need to be checked by the user according to the actual requirements of the user, and the flexibility of user operation is improved.
Illustratively, the second display region is at least one of the X first display regions.
Further, the second display area is selected from the X first display areas by the user, and the selection mode includes but is not limited to single click, double click, long press, gesture and voice.
Optionally, in this embodiment of the application, the shooting device may receive an input of a user in any preview sub-area in the shooting preview interface, and adjust a parameter of a preview image displayed in the preview sub-area.
For example, the shooting device may save the preview image corresponding to the original picture parameters before adjusting the image parameters, so as to compare the preview image with the preview image after adjusting the parameters.
Illustratively, if the preview image corresponding to the original image parameters is found to better meet the user requirements, the preview image can be captured with the original image parameters by setting a one-key restoring control of the image parameters.
Therefore, in the shooting process, the shooting device can adjust the image parameters of the preview images in any preview sub-area according to the requirements of users, so that the requirement of the users on the accuracy of the preview images is met.
In the shooting method provided by the embodiment of the present application, the execution subject may be a shooting device, or 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. 7 is a schematic structural diagram of an image capturing apparatus according to an embodiment of the present disclosure, and as shown in fig. 7, the image capturing apparatus 500 includes: a receiving module 501 and an obtaining module 502, wherein: the receiving module 501 is configured to receive a first input of a user when a shooting preview interface is displayed, where the shooting preview interface includes N preview sub-areas, and each preview sub-area includes a preview image acquired by a camera; the obtaining module 502 is configured to, in response to the first input received by the receiving module 501, control N cameras to capture N images, and generate a first target image; wherein N is an integer greater than 1, the first target image is synthesized based on N preview images displayed in the N preview sub-areas, and the first target image is used to display any one of the N preview images.
In the shooting device provided by the embodiment of the application, under the condition of displaying the shooting preview interface, because the preview image of each camera in the N cameras can be respectively displayed in the N preview sub-areas of the shooting preview interface, a user can screen the preview images in the shooting preview interface; and then after receiving a first input of a user, N images shot by the N cameras can be obtained in response to the first input, a first target image is obtained by synthesizing the N preview images in the N preview sub-areas, and then the N images shot by the N cameras can be rapidly displayed through the first target image. Therefore, the preview images are screened in the shooting preview interface, the images shot by different cameras are quickly displayed through the first target image, the time for selecting the shooting preview images and previewing the images shot by the different cameras by a client is shortened, the user can quickly select the required preview images and quickly check the images with different shooting effects, the operation efficiency of the user is improved, a larger operation space is provided for subsequent artistic creation, and the shooting interest is increased.
Optionally, in this embodiment of the application, the first target image includes N image sub-areas, and each image sub-area corresponds to a display position of each preview sub-area in the shooting preview interface; the above-mentioned device still includes: an association module 503 and a storage module 504; the association module 503 is configured to establish an association relationship between the N image sub-areas in the first target image and the N images; the storage module 504 is configured to store the N image sub-regions in the first target image associated with the association module in association with the N images; and one image subarea is associated with the image shot by the camera corresponding to the preview subarea of the display position corresponding to the image subarea in the N images.
In this way, when the user performs a triggering operation on any image subregion in the first target image, the original shot image corresponding to the image subregion can be triggered to be displayed, so that the corresponding original shot image can be quickly viewed through the image subregion in the first target image.
Optionally, in an embodiment of the present application, the apparatus further includes: a display module 505, wherein: the receiving module 501 is further configured to receive a fifth input of the user to a sub-region of the target image in the first target image; the display module 505 is configured to display an image associated with the target image sub-area in response to the fifth input received by the receiving module 501.
Therefore, the user can check the images shot by any camera at any time through the first target image according to actual requirements, and convenience in user operation is improved.
Optionally, in an embodiment of the present application, the apparatus further includes: a synthesis module 506; the receiving module 501 is further configured to receive a second input of the user; the display module 505 is further configured to display the first target image in response to the second input received by the receiving module 501; the receiving module 501 is further configured to receive a third input from the user to T image sub-regions of the N image sub-regions of the first target image; the combining module 506 is configured to perform image combining on the T preview images displayed in the T image sub-areas in response to the third input received by the receiving module 501, so as to obtain a second target image; the association module 503 is configured to associate the T image sub-areas in the second target image with the T images; the storage module 504 is further configured to store the second target image and the T images in an associated manner; and one image subregion is associated with the image shot by the camera corresponding to the preview subregion of the display position corresponding to the image subregion in the T images, T is a positive integer, and T is less than N.
In this way, in an actual shooting process, after a first target image including a plurality of preview images is acquired, when the first preview image does not meet the user requirement, the shooting device may recombine and image-synthesize image sub-regions in the first target image, thereby generating a new image meeting the user requirement.
Optionally, in an embodiment of the present application, the apparatus further includes: a dividing module 507; the dividing module 507 is configured to divide the shooting preview interface into N preview sub-areas according to the target dividing parameter before displaying the shooting preview interface; wherein the target partitioning parameter comprises at least one of: the number of cameras, the size of a single display area, the maximum area number of a single page and the size of an interface of a shooting preview interface.
Therefore, the shooting device can flexibly perform area division on the shooting preview interface according to factors such as the actual number of cameras in the electronic equipment, the interface size of the shooting preview interface and the like, so that a user can conveniently check and operate the preview sub-area in the shooting preview interface.
Optionally, in this embodiment of the application, the combining module 506 is further configured to perform image combining on the N preview images displayed in the N preview sub-areas according to the area arrangement information of the N preview sub-areas, so as to obtain a first target image; wherein the area arrangement information includes at least one of: display position, display area, display content.
In this way, the photographing apparatus may synthesize the preview image according to arrangement information (e.g., region positions) of image sub-regions in the first target image to generate the first target image, so that a user can quickly become familiar with the first target image according to a given impression of the preview image, so as to edit the plurality of image contents in the first target image again.
Optionally, in an embodiment of the present application, the apparatus further includes: an update module 508; the receiving module 501 is further configured to receive a fourth input of the user to M preview sub-regions in the N preview sub-regions; the update module 508, configured to update the preview image in the N preview sub-areas to the preview image in the M preview sub-areas in response to the fourth input received by the receiving module 501; wherein M is a positive integer and M is less than N.
Therefore, under the condition that a plurality of preview images are displayed in the shooting preview interface, the shooting device can update the plurality of preview images in the shooting preview interface into the preview images which need to be checked by the user according to the actual requirements of the user, and the flexibility of user operation is improved.
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. Illustratively, 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 embodiment of the present application is 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 operating system, an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The shooting device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 700 is further provided in the embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction that is stored in the memory 702 and is executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810. Among them, the user input unit 807 includes: a touch panel 8071 and other input devices 8072, a display unit 806 including the display panel 8061, an input unit 804 including an image processor 8041 and a microphone 8042, and a memory 809 for storing software programs (e.g., an operating system, an application program required for at least one function), and various data.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 9 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 is not repeated here.
The user input unit 807 is configured to receive a first input of a user when a shooting preview interface is displayed, where the shooting preview interface includes N preview sub-areas, and each preview sub-area includes a preview image acquired by a camera; the processor 810 is configured to, in response to a first input received by the user input unit 807, control the N cameras to capture N images, and generate a first target image; wherein N is an integer greater than 1, the first target image is synthesized based on N preview images displayed in the N preview sub-areas, and the first target image is used to display any one of the N preview images.
In the electronic device provided by the embodiment of the application, when a shooting preview interface is displayed, since the preview image of each camera in the N cameras can be respectively displayed in the N preview sub-areas of the shooting preview interface, a user can screen the preview image in the shooting preview interface; and after receiving a first input of a user, obtaining N images shot by the N cameras in response to the first input, synthesizing the N images based on the N preview images in the N preview sub-areas to obtain a first target image, and then quickly displaying the N images shot by the N cameras through the first target image. Therefore, the preview images are screened in the shooting preview interface, the images shot by different cameras are quickly displayed through the first target image, the time for selecting the shooting preview images and previewing the images shot by the different cameras by a client is shortened, the user can quickly select the required preview images and quickly check the images with different shooting effects, the operation efficiency of the user is improved, a larger operation space is provided for subsequent artistic creation, and the shooting interest is increased.
Optionally, in this embodiment of the application, the first target image includes N image sub-areas, and each image sub-area corresponds to a display position of each preview sub-area in the shooting preview interface; the processor 810 is configured to establish an association relationship between the N image subregions in the first target image and the N images; the memory 809 is configured to store the N image sub-regions in the first target image associated with the processor 810 in association with the N images; and one image subarea is associated with the image shot by the camera corresponding to the preview subarea of the display position corresponding to the image subarea in the N images.
In this way, when the user performs a trigger operation on any image subregion in the first target image, the original captured image corresponding to the image subregion can be triggered to be displayed, so that the corresponding original captured image can be quickly viewed through the image subregion in the first target image.
Optionally, in this embodiment of the present application, the user input unit 807 is further configured to receive a fifth input from a user to a sub-region of the target image in the first target image; the display unit 806 is configured to display an image associated with the target image sub-area in response to the fifth input received by the user input unit 807.
Therefore, the user can check the images shot by any camera at any time through the first target image according to actual requirements, and convenience in user operation is improved.
Optionally, in this embodiment of the application, the processor 810 is further configured to receive a second input from the user; the display unit 806 is further configured to display the first target image in response to the second input received by the user input unit 807; the user input unit 807 is further configured to receive a third input from the user to T image subregions of the N image subregions of the first target image; the processor 810, configured to perform image synthesis on the T preview images displayed in the T image sub-areas in response to the third input received by the user input unit 807 to obtain a second target image; the processor 810 is configured to establish an association relationship between T image subregions in the second target image and T images; the storage unit 806 is further configured to store the second target image in association with the T images; and one image subregion is associated with the image shot by the camera corresponding to the preview subregion of the display position corresponding to the image subregion in the T images, T is a positive integer, and T is less than N.
In this way, in an actual shooting process, after a first target image including a plurality of preview images is acquired, when the first preview image does not meet the user requirement, the shooting device may recombine and image-synthesize image sub-regions in the first target image, thereby generating a new image meeting the user requirement.
Optionally, in this embodiment of the application, the processor 810 is configured to, before displaying the shooting preview interface, divide the shooting preview interface into N preview sub-areas according to the target division parameter; wherein the target partitioning parameter comprises at least one of: the number of cameras, the size of a single display area, the maximum area number of a single page and the interface size of a shooting preview interface.
Therefore, the shooting device can flexibly perform area division on the shooting preview interface according to factors such as the actual number of cameras in the electronic equipment, the interface size of the shooting preview interface and the like, so that a user can conveniently check and operate the preview subarea in the shooting preview interface.
Optionally, in this embodiment of the application, the processor 810 is further configured to perform image synthesis on the N preview images displayed by the N preview sub-areas according to the area arrangement information of the N preview sub-areas, so as to obtain a first target image; wherein the region arrangement information includes at least one of: display position, display area, display content.
In this way, the photographing apparatus may synthesize the preview image according to arrangement information (e.g., region positions) of image sub-regions in the first target image to generate the first target image, so that a user can quickly become familiar with the first target image according to a given impression of the preview image, so as to edit again a plurality of image contents in the first target image.
Optionally, in an embodiment of the present application, the user input unit 807 is further configured to receive a fourth input from a user to M preview sub-areas of the N preview sub-areas, and the processor 810 is further configured to update preview images in the N preview sub-areas to preview images in the M preview sub-areas in response to the fourth input received by the user input unit 807; wherein M is a positive integer and M is less than N.
Therefore, under the condition that a plurality of preview images are displayed in the shooting preview interface, the shooting device can update the plurality of preview images in the shooting preview interface into the preview images which need to be checked by the user according to the actual requirements of the user, and the flexibility of user operation is improved.
It should be understood that in the embodiment of the present application, the input unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the graphics processing unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 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 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 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 processor 810.
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 foregoing 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 in the above embodiment. Readable storage media, including computer-readable storage media such as a computer-read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and so forth.
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 execute a program or an instruction to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
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 one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element. Further, it should be noted that the scope of the methods and apparatuses in 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 recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application 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 several instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the methods of 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 method of photographing, the method comprising:
receiving a first input of a user under the condition of displaying a shooting preview interface, wherein the shooting preview interface comprises N preview sub-areas, and each preview sub-area comprises a preview image acquired by a camera;
responding to the first input, controlling N cameras to shoot, obtaining N images, and generating a first target image;
the first target image is obtained by synthesizing N preview images displayed on the N preview sub-areas, and the first target image is used for displaying any one of the N preview images;
the first target image comprises N image sub-areas, and each image sub-area corresponds to the display position of each preview sub-area in the shooting preview interface;
after the controlling the N cameras to capture N images and generating the first target image in response to the first input, the method further includes:
establishing an incidence relation between N image subregions in the first target image and the N images, and storing the first target image and the N images in an incidence way;
one image subregion is associated with an image shot by a camera corresponding to a preview subregion of a display position corresponding to the one image subregion in the N images;
after the responding to the first input and controlling the N cameras to shoot, obtaining N images and generating a first target image, the method further comprises:
receiving a second input of the user;
displaying the first target image in response to the second input;
receiving a third input of a user to T image sub-regions of the N image sub-regions of the first target image;
responding to the third input, and carrying out image synthesis on the T preview images displayed in the T image sub-areas to obtain a second target image;
establishing an association relation between T image subregions in the second target image and T images, and storing the second target image and the T images in an associated manner;
one image subregion is associated with an image shot by a camera corresponding to a preview subregion of a display position corresponding to the one image subregion in the T images;
wherein T is a positive integer and is less than N.
2. The method of claim 1, wherein after controlling N cameras to capture N images and generate a first target image in response to the first input, the method further comprises:
receiving a fifth input of a user to a target image subregion in the first target image;
in response to the fifth input, displaying an image associated with the target image subregion.
3. The method of claim 1, wherein prior to displaying the capture preview interface, the method further comprises:
dividing the shooting preview interface into N preview sub-areas according to target division parameters;
wherein the target partitioning parameter comprises at least one of: the number of cameras, the size of a single display area, the maximum area number of a single page and the interface size of the shooting preview interface.
4. The method of claim 1, wherein generating the first target image comprises:
according to the area arrangement information of the N preview subregions, carrying out image synthesis on the N preview images displayed by the N preview subregions to obtain a first target image;
wherein the region arrangement information includes at least one of: display position, display area, display content.
5. The method of any of claims 1 to 3, wherein after displaying the capture preview interface, the method further comprises:
receiving fourth input of the user to M preview sub-areas in the N preview sub-areas;
updating preview images in the N preview sub-regions to preview images in the M preview sub-regions in response to the fourth input;
wherein M is a positive integer, and M is less than N.
6. A camera, characterized in that the camera comprises: receiving module, acquisition module display module and synthesis module, wherein:
the receiving module is used for receiving a first input of a user under the condition that a shooting preview interface is displayed, wherein the shooting preview interface comprises N preview sub-areas, and each preview sub-area comprises a preview image acquired by a camera;
the acquisition module is used for responding to the first input received by the receiving module, controlling N cameras to shoot, obtaining N images and generating a first target image;
the first target image is synthesized based on N preview images displayed by the N preview sub-areas, and the first target image is used for displaying any one of the N preview images;
the first target image comprises N image sub-areas, and each image sub-area corresponds to the display position of each preview sub-area in the shooting preview interface; the device further comprises: the device comprises an association module and a storage module;
the association module is used for establishing association relations between the N image sub-areas in the first target image and the N images;
the storage module is used for storing the N image sub-areas in the first target image which are associated with each other by the association module in an associated manner with the N images;
one image subregion is associated with an image shot by a camera corresponding to a preview subregion of a display position corresponding to the one image subregion in the N images;
the receiving module is further used for receiving a second input of the user;
the display module is further used for responding to the second input received by the receiving module and displaying the first target image;
the receiving module is further configured to receive a third input of the user to T image sub-regions of the N image sub-regions of the first target image;
the synthesis module is used for responding to the third input received by the receiving module, and carrying out image synthesis on the T preview images displayed in the T image sub-areas to obtain a second target image;
the correlation module is used for establishing a correlation relationship between the T image subregions in the second target image and the T images;
the storage module is further used for storing the second target image and the T images in an associated manner;
one image subarea is associated with an image shot by a camera corresponding to a preview subarea of a display position corresponding to the image subarea in the T images, T is a positive integer, and T is less than N.
7. The apparatus of claim 6, further comprising: a display module, wherein:
the receiving module is further configured to receive a fifth input of a user to a target image sub-region in the first target image;
the display module is configured to display an image associated with the target image subregion in response to the fifth input received by the receiving module.
8. The apparatus of claim 6, further comprising: dividing a module;
the dividing module is used for dividing the shooting preview interface into N preview sub-areas according to target dividing parameters before the shooting preview interface is displayed;
wherein the target partitioning parameter comprises at least one of: the number of cameras, the size of a single display area, the maximum area number of a single page and the interface size of the shooting preview interface.
9. The apparatus of claim 6,
the synthesis module is further configured to perform image synthesis on the N preview images displayed by the N preview sub-areas according to the area arrangement information of the N preview sub-areas, so as to obtain a first target image;
wherein the region arrangement information includes at least one of: display position, display area, display content.
10. The apparatus of any one of claims 6 to 8, further comprising: an update module;
the receiving module is further configured to receive a fourth input of the user to M preview sub-regions of the N preview sub-regions;
the updating module is configured to update the preview images in the N preview sub-areas to the preview images in the M preview sub-areas in response to the fourth input received by the receiving module;
wherein M is a positive integer, and M is less than N.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the photographing method according to any one of claims 1 to 5.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the shooting method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110113958.1A CN112954196B (en) | 2021-01-27 | 2021-01-27 | Shooting method, shooting device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110113958.1A CN112954196B (en) | 2021-01-27 | 2021-01-27 | Shooting method, shooting device, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112954196A CN112954196A (en) | 2021-06-11 |
CN112954196B true CN112954196B (en) | 2023-02-10 |
Family
ID=76238184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110113958.1A Active CN112954196B (en) | 2021-01-27 | 2021-01-27 | Shooting method, shooting device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112954196B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113596329A (en) * | 2021-07-23 | 2021-11-02 | 维沃移动通信(杭州)有限公司 | Photographing method and photographing apparatus |
CN113794831B (en) * | 2021-08-13 | 2023-08-25 | 维沃移动通信(杭州)有限公司 | Video shooting method, device, electronic equipment and medium |
CN114025098B (en) * | 2021-11-25 | 2024-09-24 | Oppo广东移动通信有限公司 | Image display method, device, electronic equipment and computer readable storage medium |
CN114125179B (en) * | 2021-12-07 | 2024-04-05 | 维沃移动通信有限公司 | Shooting method and device |
CN114449172B (en) * | 2022-02-14 | 2024-10-29 | 维沃移动通信有限公司 | Shooting method and device and electronic equipment |
CN114780004B (en) * | 2022-04-11 | 2024-07-16 | 北京达佳互联信息技术有限公司 | Image display method and device, electronic equipment and storage medium |
CN117729419A (en) * | 2022-07-15 | 2024-03-19 | 荣耀终端有限公司 | Terminal shooting method and terminal equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995429A (en) * | 2017-12-22 | 2018-05-04 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN111669507A (en) * | 2020-07-01 | 2020-09-15 | 维沃移动通信有限公司 | Photographing method and device and electronic equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6784925B1 (en) * | 1998-03-24 | 2004-08-31 | Canon Kabushiki Kaisha | System to manage digital camera images |
JP4484775B2 (en) * | 2005-06-29 | 2010-06-16 | キヤノン株式会社 | Playback apparatus and playback method |
JP5232669B2 (en) * | 2009-01-22 | 2013-07-10 | オリンパスイメージング株式会社 | camera |
JP5664687B2 (en) * | 2013-03-22 | 2015-02-04 | カシオ計算機株式会社 | Image processing apparatus, image processing method, and program |
CN110505411B (en) * | 2019-09-03 | 2021-05-07 | RealMe重庆移动通信有限公司 | Image shooting method and device, storage medium and electronic equipment |
-
2021
- 2021-01-27 CN CN202110113958.1A patent/CN112954196B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995429A (en) * | 2017-12-22 | 2018-05-04 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN111669507A (en) * | 2020-07-01 | 2020-09-15 | 维沃移动通信有限公司 | Photographing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112954196A (en) | 2021-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112954196B (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN113093968B (en) | Shooting interface display method and device, electronic equipment and medium | |
CN112135046B (en) | Video shooting method, video shooting device and electronic equipment | |
WO2022166944A1 (en) | Photographing method and apparatus, electronic device, and medium | |
WO2022116885A1 (en) | Photographic method, apparatus, electronic device, and storage medium | |
CN111654635A (en) | Shooting parameter adjusting method and device and electronic equipment | |
CN113141450B (en) | Shooting method, shooting device, electronic equipment and medium | |
CN112995500A (en) | Shooting method, shooting device, electronic equipment and medium | |
CN112437232A (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN113794829B (en) | Shooting method and device and electronic equipment | |
CN112333386A (en) | Shooting method and device and electronic equipment | |
CN111866379A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN111669495B (en) | Photographing method, photographing device and electronic equipment | |
CN112637515B (en) | Shooting method and device and electronic equipment | |
WO2022095891A1 (en) | Image display method and apparatus, and device | |
CN113194256B (en) | Shooting method, shooting device, electronic equipment and storage medium | |
CN111885298B (en) | Image processing method and device | |
CN114025100A (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN113286085A (en) | Display control method and device and electronic equipment | |
CN114500852B (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
WO2022247766A1 (en) | Image processing method and apparatus, and electronic device | |
CN111587399B (en) | Filter effect display method and device and mobile terminal | |
CN114390205B (en) | Shooting method and device and electronic equipment | |
CN114143455A (en) | Shooting method and device and electronic equipment | |
CN112653841A (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 |