WO2022166944A1 - Photographing method and apparatus, electronic device, and medium - Google Patents

Photographing method and apparatus, electronic device, and medium Download PDF

Info

Publication number
WO2022166944A1
WO2022166944A1 PCT/CN2022/075338 CN2022075338W WO2022166944A1 WO 2022166944 A1 WO2022166944 A1 WO 2022166944A1 CN 2022075338 W CN2022075338 W CN 2022075338W WO 2022166944 A1 WO2022166944 A1 WO 2022166944A1
Authority
WO
WIPO (PCT)
Prior art keywords
preview
sub
thumbnail
window
shooting
Prior art date
Application number
PCT/CN2022/075338
Other languages
French (fr)
Chinese (zh)
Inventor
杜桥
程万里
Original Assignee
维沃移动通信(杭州)有限公司
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 维沃移动通信(杭州)有限公司 filed Critical 维沃移动通信(杭州)有限公司
Publication of WO2022166944A1 publication Critical patent/WO2022166944A1/en

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/62Control of parameters via user interfaces
    • 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/665Control of cameras or camera modules involving internal camera communication with the image sensor, e.g. synchronising or multiplexing SSIS control signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
    • 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/2624Studio 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 for obtaining an image which is composed of whole input images, e.g. splitscreen

Definitions

  • the present application relates to the field of photography technology, and in particular, to a photographing method, device, electronic device and medium.
  • Smart electronic devices have more and more functions, such as taking pictures, shooting videos, playing audio and video, browsing web pages, sending and receiving emails, etc.
  • the use of electronic devices to take pictures is also generally favored by users.
  • the purpose of the embodiments of the present application is to provide a photographing method, device, electronic device and medium, which can solve the problem of the existing multi-camera photographing, which is cumbersome to operate and cannot meet the needs of users in arbitrary multi-angle and multi-scenarios.
  • an embodiment of the present application provides a photographing method, the method comprising:
  • auxiliary preview thumbnail window includes N sub-abridged windows, each of which includes a preview interface of a camera;
  • the target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1.
  • an embodiment of the present application further provides a photographing device, including:
  • the first receiving module is used to receive the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface, where the auxiliary preview thumbnail window includes N sub-thumbnail windows, and each sub-thumbnail window includes a camera preview interface ;
  • a first processing module configured to update the display of the shooting preview interface in response to the first input
  • a photographing module for outputting a target image based on the updated and displayed photographing preview interface
  • the target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1.
  • embodiments of the present application provide an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, where the program or instruction is processed by the processor
  • the steps of the photographing method described in the first aspect are implemented when the device is executed.
  • an 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 instruction is executed by a processor, the photographing method described in the first aspect is implemented steps of the method.
  • an embodiment of the present application provides a chip, 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, and implement the first aspect The steps of the photographing method.
  • a computer program product is provided, the computer program product is stored in a non-volatile storage medium, and the computer program product is executed by at least one processor to implement the photographing method according to the first aspect A step of.
  • a seventh aspect provides a communication device configured to perform the photographing method of the first aspect.
  • the auxiliary preview thumbnail window includes N sub-thumbnail windows, each of which includes a camera preview interface;
  • the display of the shooting preview interface is updated; based on the updated and displayed shooting preview interface, a target image is output; wherein the target image is based on at least one sub-contraction in the auxiliary preview thumbnail window Generated from the image captured by the camera corresponding to the thumbnail window, N is an integer greater than 1.
  • each sub-thumbnail window includes a camera preview interface , which enables users to switch and merge multiple cameras during the preview process through simple operations on the auxiliary preview thumbnail window of the shooting preview interface, meeting the user's needs for taking photos in any multi-angle and multi-scene.
  • FIG. 1 is a schematic flowchart of a photographing method provided by an embodiment of the present application.
  • FIG. 2 is one of the schematic diagrams of the distribution structure of the cameras on the electronic device according to the embodiment of the present application;
  • FIG. 3 is the second schematic diagram of the distribution structure of the cameras on the electronic device according to the embodiment of the application.
  • FIG. 4 is one of the corresponding interface operation schematic diagrams for executing the method of the embodiment of the present application.
  • FIG. 5 is the second schematic diagram of the corresponding interface operation for executing the method of the embodiment of the present application.
  • FIG. 6 is the third schematic diagram of the corresponding interface operation for executing the method of the embodiment of the present application.
  • FIG. 7 is a fourth schematic diagram of a corresponding interface operation for executing the method according to the embodiment of the present application.
  • FIG. 8 is a fifth schematic diagram of a corresponding interface operation for executing the method according to the embodiment of the present application.
  • FIG. 9 is the sixth schematic diagram of the corresponding interface operation for executing the method of the embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a photographing device according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an electronic device according to an embodiment of the application.
  • FIG. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • FIG. 1 it is a schematic flowchart of a photographing method according to an embodiment of the present application.
  • the method applies to electronic equipment.
  • the implementation process of the method will be specifically described below with reference to the figure.
  • Step 101 receiving the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface, the auxiliary preview thumbnail window includes N sub-abridged windows, and each sub-abridged window includes a preview interface of a camera;
  • the shooting fields of view of the N cameras corresponding to the N sub-abbreviated windows do not overlap at least in part, and the shooting angles of the N cameras are different.
  • the electronic device is provided with N cameras, and the shooting angles corresponding to each of the N cameras are different.
  • the shooting angles of the cameras corresponding to the preview interface included in each sub-thumbnail window are different.
  • N cameras can be arranged on the convex hemispherical surface 101 on the back of the electronic device, and distributed in different positions on the hemispherical surface, so that the shooting angles corresponding to each camera 102 in the N cameras can be different.
  • N cameras (103, 104 and 105 in the figure) can also be arranged on the back and side frames of the electronic device, and N cameras can be realized by the difference in the physical orientation of the back and side frames of the electronic device.
  • the camera angles corresponding to each camera are different.
  • the photographing preview interface includes an auxiliary preview thumbnail window 1.
  • the auxiliary preview thumbnail window includes N sub-abbreviated windows.
  • Each sub-thumbnail window includes a camera preview interface.
  • the shooting preview interface displays the preview image collected by the preset camera.
  • the preset camera is one of the N cameras, which may be a camera set by default in the system.
  • the first input is a preset input, and the first input may include, but is not limited to, at least one of click input, press input, long press input, pinch input, drag input, slide input, and swipe input, or That is to say, the first input can be one of the above-mentioned inputs, or can also be a combined input of two or more of the above-mentioned inputs. One or more images within the first area may be selected by the first input.
  • Step 102 in response to the first input, updating the display of the shooting preview interface
  • updating the display of the shooting preview interface is specifically updated to a preview image generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window.
  • the switching of multiple cameras in the preview process can be realized, that is, Users can intuitively preview the imaging effects of images captured by different cameras.
  • the fusion of multiple cameras in the preview process can be realized, that is, the user
  • the imaging effect of the image generated after the images collected by multiple cameras are synthesized can be previewed intuitively.
  • Step 103 Based on the updated and displayed shooting preview interface, output a target image; wherein, the target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is greater than An integer of 1.
  • the imaging effect finally achieved by the combination of the display position of the shooting object in the target image and the shooting parameters of the shooting object is the same as the imaging effect after the shooting preview interface is updated.
  • the auxiliary preview thumbnail window includes N sub-thumbnail windows, and each sub-thumbnail window includes a preview of a camera. interface; updating the display of the shooting preview interface in response to the first input; outputting a target image based on the updated and displayed shooting preview interface; wherein the target image is based on at least one of the auxiliary preview thumbnail windows It is generated by the image captured by the camera corresponding to the sub-thumbnail window, and N is an integer greater than 1.
  • each sub-thumbnail window includes a camera's
  • the preview interface enables users to switch and merge multiple cameras in the preview process through simple operations on the auxiliary preview thumbnail window of the shooting preview interface, meeting the user's needs for taking photos in any multi-angle and multi-scene.
  • receiving the user's first input to the auxiliary preview thumbnail window on the shooting preview interface may include:
  • step 102 of the method in this embodiment of the present application updating the display of the shooting preview interface includes:
  • the preview image collected by the camera corresponding to the first sub-thumbnail window is displayed, and T shooting parameter options are displayed;
  • the shooting preview interface includes an auxiliary preview thumbnail window and a main preview window.
  • the first sub-thumbnail window is any one of the N sub-thumbnail windows.
  • the first input corresponds to a sub-thumbnail window, that is, the first sub-thumbnail window
  • the main preview serial port displays the preview image collected by the camera corresponding to the first sub-thumbnail window, so as to realize the switching of multiple cameras in the preview process , that is, through the simple operation of the user, the user can intuitively preview the imaging effects of the images collected by different cameras.
  • T shooting parameter options are for the subsequent user to adjust the shooting parameters of the preview image displayed in the main preview window, so as to meet the user's demand for the image display effect.
  • the method of the embodiment of the present application further includes:
  • the target shooting parameter options may be one or at least two shooting parameter options.
  • the second input is a preset input
  • the second input may include, but is not limited to, at least one of click input, press input, long press input, pinch input, drag input, slide input, and swipe input, That is to say, the second input can be one of the above-mentioned inputs, or can also be a combined input of two or more of the above-mentioned inputs.
  • the user can select a preview image corresponding to any sub-thumbnail window and adjust its shooting parameters, so that the user can intuitively see the image preview effect and meet the user's effect requirements for image preview.
  • the upper left corner of the shooting preview interface is the auxiliary preview thumbnail window 1, and the auxiliary preview thumbnail window 1 includes 9 sub-abridged windows, which are arranged and displayed in a nine-square grid.
  • the upper right area of the main preview window 2 displays 4 shooting parameter options, including filter, normal, blur and light effect.
  • the user can slide the original shooting parameter option "normal” to the shooting parameter option "blurring", as shown in the figure on the right side of the first row of Figure 5.
  • the image of the photographed object being a cat is subjected to blurring processing to obtain a blurred cat image, as shown in the figure corresponding to the second row in FIG. 5 .
  • the method of the embodiment of the present application may further include:
  • the shooting parameters of the preview images in the N sub-thumbnail windows are adjusted.
  • the shooting parameters of the preview images displayed in the main preview window are adjusted, the shooting parameters of the preview images in the N sub-thumbnail windows are also adjusted synchronously.
  • the adjustment of shooting parameters can be completed in the shooting preview interface without jumping to the parameter setting interface, and the display effect of the preview images collected by N cameras can be updated in one step, which is convenient for subsequent users to preview N sub-thumbnails.
  • the preview image in the window is displayed after the shooting parameters are adjusted, when you want to change the preview image displayed in the main preview window, you can directly switch the preview image in the main preview window through a simple user operation without repeating the adjustment. Shooting parameters, saving user time.
  • the main preview window and the N sub-thumbnail windows are not limited to the synchronization of adjusting shooting parameters, and the N sub-thumbnail windows also respond synchronously to the user's preset operation on the main preview window.
  • the focus is auto focus by default, and the user can lock the focus by clicking a certain position in the main preview window.
  • the N sub-thumbnail windows respond to the focus operation synchronously, as shown in Figure 6.
  • the user can also zoom the preview image of the main preview window through a zoom operation on the main preview window, for example, through the user's pinch zoom operation.
  • the N sub-thumbnail windows also respond to the zoom operation synchronously.
  • receiving the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface may include:
  • step 102 of the method in this embodiment of the present application updating the display of the shooting preview interface includes:
  • a synthesis processing algorithm of the M preview images is determined, and based on the determined synthesis processing algorithm, a synthesis processing is performed on the M preview images to generate a target preview image.
  • the synthesis processing algorithm is an image stitching algorithm or an image fusion correction algorithm.
  • the synthesis processing algorithm of the M preview images is an image stitching algorithm; Based on the image stitching algorithm, the M preview images are synthesized to generate the target preview image. Specifically, a person in an image whose corresponding shooting scene is a human scene is extracted, and filled into an image whose corresponding shooting scene is a natural scene.
  • the synthesis processing algorithm of the M preview images is an image fusion correction algorithm;
  • the image is corrected by image fusion to generate the target preview image.
  • the user can customize and select images collected by any two or more cameras to be fused, so that the user can intuitively preview the imaging effect of the images generated by combining the images collected by the multiple cameras.
  • the upper left corner of the shooting preview interface is the auxiliary preview thumbnail window 1; the auxiliary preview thumbnail window 1 includes 9 sub-abridged windows, which are arranged and displayed in a nine-square grid.
  • the embodiments of the present application may further include:
  • the target object in the main preview window refers to the target object in the preview image displayed in the main preview window.
  • the target object may be automatically detected by the electronic device or selected by the user.
  • object types may include: characters, animals, scenery, and the like.
  • the object type of the target object can be identified.
  • the main preview window of the shooting preview interface displays a preview image, which is automatically detected by the electronic device and detected that there is a target object in the preview image, and the target object is identified as an animal through image recognition technology.
  • the main preview window of the shooting preview interface displays a preview image, receives a user's click input on the preview image, determines the corresponding target object in response to the click input, and identifies the target object as an animal through image recognition technology.
  • the object matching the object type of the target object may be an object of the same object type as the target object, or may be an object of a different object type from the target object.
  • the specific settings can be based on system settings or user-defined settings, which are specifically limited here.
  • the third input is a preset input
  • the third input may include, but is not limited to, at least one of click input, press input, long-press input, pinch input, drag input, slide input, and swipe input , that is to say, the third input can be one of the above-mentioned inputs, or can also be a combined input of two or more of the above-mentioned inputs.
  • the second thumbnail sub-window is any one of the P sub-abridged windows, the second thumbnail sub-window is determined based on the input feature of the third input, and P is a positive integer.
  • the second sub-thumbnail window is determined based on the input characteristics of the third input.
  • the second thumbnail sub-window may be determined based on the input direction of the sliding input.
  • the input direction of the sliding input is the first preset direction
  • the next sub-thumbnail window corresponding to the current sub-thumbnail window (one of the P sub-thumbnail windows) is the second sub-thumbnail window
  • the input direction of the input is the second preset direction
  • the previous sub-thumbnail window corresponding to the current sub-thumbnail window is the second sub-thumbnail window.
  • the number of times of click output can be used to determine the second thumbnail window.
  • the click input is a single-click input
  • the next sub-thumbnail window corresponding to the current sub-thumbnail window is the second sub-thumbnail window
  • the click input is a double-click input
  • the child thumbnail window is the second child thumbnail window.
  • This implementation does not require the user to operate the auxiliary preview thumbnail window, and can directly switch objects in the main preview window through user input on the shooting preview interface, specifically the main preview window.
  • the target area is where the target object is located in the preview image displayed in the main preview window Area.
  • the area where the target object is located is updated (corresponding to the main preview at this time). the entire area of the window) of the image content.
  • the preview images captured by cameras corresponding to other sub-thumbnail windows under the same object type can be switched through user operations.
  • the target area is the area in the preview image displayed in the main preview window excluding the area where the target object is located outside area.
  • preview images captured by cameras corresponding to other sub-thumbnail windows with different object types of the target object can be switched through a user operation. That is, what is updated is the image content of other regions except the region where the target object is located, and the object type of the image content is different from that of the target object. For example, if the target object is a person, different scenes corresponding to the person are switched as backgrounds through user operations; if the target object is a scene, different subjects corresponding to the scene are switched through user operations.
  • image synthesis processing is performed on the target object and the image content in the target area to generate a target preview image.
  • sub-thumbnail windows in the window that are different from the animal type and the object is the scene (can be used as the background of the cat), namely the sub-thumbnail window 5, the sub-thumbnail window 6 and the sub-thumbnail window 7; wherein, the main preview window
  • the upper right corner of 2 displays the operation instruction information, as shown in Figure 8, "Please slide left and right to select the background to be merged” and the arrow indicator; at this time, the user can switch the background to be merged by sliding the finger left and right, as shown in Figure 8
  • the figure on the right side of the first row is shown; after the user selects a satisfactory background image, the background and the image of the cat are subjected to image synthesis processing to obtain a synthesized image, see the corresponding figure in the second row of FIG. 8 . Finally, the user clicks the camera control to save the image of the main preview window 2 .
  • the method of the embodiment of the present application before receiving the user's first input to the auxiliary preview thumbnail window on the shooting preview interface, the method of the embodiment of the present application further includes:
  • the auxiliary preview thumbnail window is displayed.
  • different shooting scenes may be understood as the fact that the fields of view corresponding to the preview images collected by the two or more cameras do not overlap.
  • the method of the embodiment of the present application may further include:
  • the prompt information is used to prompt the user whether to display the auxiliary preview thumbnail window;
  • the displaying auxiliary preview thumbnail window includes:
  • an auxiliary preview thumbnail window is displayed.
  • the fourth input is used to determine the input for displaying the auxiliary preview thumbnail window.
  • the user can enter the shooting preview interface through any software, and in the shooting preview interface, as shown in the left figure in FIG. shown) to detect the shooting scene of each camera in the 9 cameras; if it is detected that there are different shooting scenes corresponding to more than 3 cameras, then prompt information is displayed on the shooting preview interface, and the prompt information is used to prompt the user whether to display the auxiliary preview thumbnail window, that is, displaying 9 images collected by 9 cameras, as shown on the right side of Figure 9.
  • the logo 8 corresponding to triggering the display of the auxiliary preview thumbnail window 1 is displayed on the shooting preview interface, as shown in the right figure in FIG. 9 , the user clicks the logo 8 to input, as shown in FIG.
  • the upper left corner of the interface displays the auxiliary preview thumbnail window 1.
  • the logos in this application are used to indicate words, symbols, images, etc. of information, and controls or other containers can be used as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
  • the auxiliary preview thumbnail window includes N sub-thumbnail windows, and each sub-thumbnail window includes a preview of a camera. interface; updating the display of the shooting preview interface in response to the first input; outputting a target image based on the updated and displayed shooting preview interface; wherein the target image is based on at least one of the auxiliary preview thumbnail windows It is generated by the image captured by the camera corresponding to the sub-thumbnail window, and N is an integer greater than 1.
  • each sub-thumbnail window includes a camera's
  • the preview interface enables users to switch and merge multiple cameras in the preview process through simple operations on the auxiliary preview thumbnail window of the shooting preview interface, meeting the user's needs for taking photos in any multi-angle and multi-scene.
  • the executing subject may be a photographing device, or a control module in the photographing device for executing the photographing method.
  • the photographing device provided by the embodiment of the present application is described by taking the photographing method performed by the photographing device as an example.
  • the photographing device may include:
  • the first receiving module 1001 is configured to receive the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface, where the auxiliary preview thumbnail window includes N sub-thumbnail windows, each of which includes a preview of a camera. interface;
  • a first processing module 1002 configured to update the display of the shooting preview interface in response to the first input
  • a photographing module 1003 configured to output a target image based on the updated and displayed photographing preview interface
  • the target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1.
  • the first receiving module 1001 includes:
  • a first receiving unit configured to receive a first input from a user to a first sub-thumbnail window in the N sub-thumbnail windows;
  • the first processing module 1002 includes:
  • a first display unit used for displaying, in the main preview window on the shooting preview interface, the preview image collected by the camera corresponding to the first sub-thumbnail window, and displaying T shooting parameter options;
  • the device also includes:
  • a second receiving module configured to receive a second input from the user to the target shooting parameter option in the T shooting parameter options
  • a second processing module configured to, in response to the second input, adjust the shooting parameters of the preview image displayed in the main preview window according to the target shooting parameter option;
  • T is a positive integer
  • the device further includes:
  • the third processing module is configured to adjust the shooting parameters of the preview images in the N sub-thumbnail windows according to the target shooting parameter options.
  • the first receiving module 1001 includes:
  • a second receiving unit configured to receive the first input from the user to the M sub-abbreviated windows in the N sub-abbreviated windows, where M is an integer greater than 1, and N>M;
  • the first processing module 1002 includes:
  • the first processing unit is configured to perform image synthesis on the preview images collected by the M cameras corresponding to the M sub-thumbnail windows, generate a target preview image, and display the image in the main preview window on the shooting preview interface.
  • Target preview image is configured to perform image synthesis on the preview images collected by the M cameras corresponding to the M sub-thumbnail windows, generate a target preview image, and display the image in the main preview window on the shooting preview interface.
  • the device further includes:
  • an acquisition module for acquiring the object type of the target object in the main preview window on the shooting preview interface
  • a fourth processing module configured to determine P sub-abbreviated windows in the N sub-abbreviated windows, and the P sub-abbreviated windows have objects matching the object types;
  • a third receiving module configured to receive a third input from the user on the shooting preview interface
  • a fifth processing module configured to, in response to the third input, update the display content of the target area of the main preview window on the shooting preview interface to the preview image collected by the camera corresponding to the second thumbnail sub-window; wherein,
  • the second sub-abbreviated window is any one of the P sub-abbreviated windows, the second sub-abbreviated window is determined based on the input feature of the third input, and P is a positive integer.
  • the target area is the target object in the preview image displayed in the main preview window. the area in which it is located;
  • the target area is the area in the preview image displayed in the main preview window excluding the area where the target object is located outside area.
  • the device further includes:
  • a detection module for detecting the shooting scene of the preview images collected by the N cameras
  • the first display module is configured to display an auxiliary preview thumbnail window when it is detected that the shooting scenes of the preview images collected by the at least two cameras are different.
  • the device further includes:
  • the second display module is used to display prompt information, and the prompt information is used to prompt the user whether to display the auxiliary preview thumbnail window;
  • the first display module includes:
  • the second display unit is configured to display the auxiliary preview thumbnail window when the fourth input of the prompt information by the user is received.
  • the shooting fields of view of the N cameras corresponding to the N sub-abbreviated windows do not overlap at least in part, and the shooting angles of the N cameras are different.
  • the photographing device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • the non-mobile electronic device may be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., the embodiment of the present application There is no specific limitation.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine a self-service machine
  • the photographing device in the embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the photographing device provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 9 , and to avoid repetition, details are not repeated here.
  • the first receiving module receives the first input from the user to the auxiliary preview thumbnail window on the photographing preview interface.
  • the auxiliary preview thumbnail window includes N sub-thumbnail windows, and each The preview interface includes a camera; the first processing module updates the display of the shooting preview interface in response to the first input; the camera module outputs a target image based on the updated and displayed shooting preview interface; wherein, the target The image is generated based on the image captured by the camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1.
  • each sub-thumbnail window includes a camera preview interface, which enables users to switch and merge multiple cameras in the preview process through simple operations on the auxiliary preview thumbnail window of the shooting preview interface, meeting the user’s arbitrary multi-angle and multi-scene requirements. photo needs.
  • an embodiment of the present application further provides an electronic device 1100, including a processor 1101, a memory 1102, a program or instruction stored in the memory 1102 and executable on the processor 1101, the program or instruction When executed by the processor 1101, each process of the above embodiment of the photographing method is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 12 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
  • the electronic device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, a processor 1210, and Power 1211 and other components.
  • the electronic device 1200 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 1210 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 12 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 1207 is configured to receive the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface.
  • the auxiliary preview thumbnail window includes N sub-thumbnail windows, each of which includes a a preview interface;
  • the processor 1210 is configured to, in response to the first input, in response to the first input, update the display of the shooting preview interface;
  • the display unit 1206 is configured to update the displayed shooting preview interface based on the updated display, Outputting a target image; wherein, the target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1.
  • each sub-thumbnail window includes a camera preview interface, so that the user can use the auxiliary preview thumbnails on the shooting preview interface.
  • the simple operation of the window realizes the switching and integration of multiple cameras in the preview process, and meets the needs of users to take photos in any multi-angle and multi-scene.
  • the user input unit 1207 is also used for:
  • the processor 1210 is also used to:
  • the preview image collected by the camera corresponding to the first sub-thumbnail window is displayed, and T shooting parameter options are displayed;
  • the user input unit 1207 is also used for:
  • the processor 1210 is also used to:
  • T is a positive integer
  • processor 1210 is further configured to:
  • the shooting parameters of the preview images in the N sub-thumbnail windows are adjusted.
  • the user input unit 1207 is also used for:
  • the processor 1210 is also used to:
  • processor 1210 is further configured to:
  • the user input unit 1207 is also used for:
  • the processor 1210 is also used to:
  • the second thumbnail sub-window is any one of the P sub-abridged windows, the second thumbnail sub-window is determined based on the input feature of the third input, and P is a positive integer.
  • the target area is the target object in the preview image displayed in the main preview window. the area in which it is located;
  • the target area is the area in the preview image displayed in the main preview window excluding the area where the target object is located outside area.
  • processor 1210 is further configured to:
  • the auxiliary preview thumbnail window is displayed.
  • Display unit 1206 is also used to:
  • the prompt information is used to prompt the user whether to display the auxiliary preview thumbnail window;
  • an auxiliary preview thumbnail window is displayed.
  • the shooting fields of view of the N cameras corresponding to the N sub-abbreviated windows do not overlap at least in part, and the shooting angles of the N cameras are different.
  • each sub-thumbnail window includes a camera preview interface, so that the user can use the auxiliary preview thumbnails on the shooting preview interface.
  • the simple operation of the window realizes the switching and integration of multiple cameras in the preview process, and meets the needs of users to take photos in any multi-angle and multi-scene.
  • the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1207 includes a touch panel 12071 and other input devices 12072 .
  • the touch panel 12071 is also called a touch screen.
  • the touch panel 12071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 12072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 1209 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1210.
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above embodiment of the photographing method can be realized, and the same can be achieved.
  • the technical effect, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An 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 of the above embodiments of the photographing method process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • An embodiment of the present application further provides a computer program product, the program product is stored in a non-volatile storage medium, the program product is executed by at least one processor to implement each process of the above-mentioned embodiments of the photographing method, and The same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Abstract

The present application relates to the technical field of photography, and discloses a photographing method and apparatus, an electronic device, and a medium. The method comprises: receiving a first input of a user to an auxiliary preview thumbnail window on a photographing preview interface, the auxiliary preview thumbnail window comprising N sub-thumbnail windows, and each sub-thumbnail window comprising a preview interface of a camera; in response to the first input, updating display of the photographing preview interface; and outputting a target image on the basis of the photographing preview interface, the target image being generated on the basis of an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window.

Description

拍照方法、装置、电子设备及介质Photographing method, device, electronic device and medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2021年2月8日在中国提交的中国专利申请No.202110170814.X的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110170814.X filed in China on Feb. 8, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请涉及摄像技术领域,具体涉及一种拍照方法、装置、电子设备及介质。The present application relates to the field of photography technology, and in particular, to a photographing method, device, electronic device and medium.
背景技术Background technique
随着移动通信技术的不断发展,智能电子设备(如手机)的不断普及。智能电子设备的功能也越来越多,如拍照、拍视频、音视频播放、浏览网页、收发邮件等。其中,使用电子设备进行拍照也受到用户的普遍青睐。With the continuous development of mobile communication technology, intelligent electronic devices (such as mobile phones) continue to be popularized. Smart electronic devices have more and more functions, such as taking pictures, shooting videos, playing audio and video, browsing web pages, sending and receiving emails, etc. Among them, the use of electronic devices to take pictures is also generally favored by users.
而随着电子设备的拍照技术不断进步,拍照使用的摄像头也越来越多,目前对于多摄像头拍照,其操作较为繁琐,无法满足用户任意多角度多场景的需求。With the continuous improvement of the photographing technology of electronic devices, more and more cameras are used for photographing. At present, the operation of taking pictures with multiple cameras is cumbersome and cannot meet the needs of users in arbitrary multi-angle and multi-scenarios.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种拍照方法、装置、电子设备及介质,能够解决现有多摄像头拍照,其操作较为繁琐,无法满足用户任意多角度多场景的需求的问题。The purpose of the embodiments of the present application is to provide a photographing method, device, electronic device and medium, which can solve the problem of the existing multi-camera photographing, which is cumbersome to operate and cannot meet the needs of users in arbitrary multi-angle and multi-scenarios.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供一种拍照方法,该方法包括:In a first aspect, an embodiment of the present application provides a photographing method, the method comprising:
接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入,所述辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口包括一个摄像头的预览界面;receiving the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface, where the auxiliary preview thumbnail window includes N sub-abridged windows, each of which includes a preview interface of a camera;
响应于所述第一输入,更新所述拍摄预览界面的显示;in response to the first input, updating the display of the shooting preview interface;
基于更新显示后的所述拍摄预览界面,输出目标图像;outputting a target image based on the updated and displayed shooting preview interface;
其中,所述目标图像是基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的,N为大于1的整数。The target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1.
第二方面,本申请实施例还提供一种拍照装置,包括:In a second aspect, an embodiment of the present application further provides a photographing device, including:
第一接收模块,用于接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入,所述辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口包括一个摄像头的预览界面;The first receiving module is used to receive the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface, where the auxiliary preview thumbnail window includes N sub-thumbnail windows, and each sub-thumbnail window includes a camera preview interface ;
第一处理模块,用于响应于所述第一输入,更新所述拍摄预览界面的显示;a first processing module, configured to update the display of the shooting preview interface in response to the first input;
拍照模块,用于基于更新显示后的所述拍摄预览界面,输出目标图像;a photographing module for outputting a target image based on the updated and displayed photographing preview interface;
其中,所述目标图像是基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的,N为大于1的整数。The target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1.
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的拍照方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, where the program or instruction is processed by the processor The steps of the photographing method described in the first aspect are implemented when the device is executed.
第四方面,本申请实施例还提供了一种可读存储介质,所述可读存储介质上存储有程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的拍照方法的步骤。In a fourth aspect, an 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 instruction is executed by a processor, the photographing method described in the first aspect is implemented steps of the method.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的拍照方法的步骤。In a fifth aspect, an embodiment of the present application provides a chip, 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, and implement the first aspect The steps of the photographing method.
第六方面,提供了一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的拍照方法的步骤。In a sixth aspect, a computer program product is provided, the computer program product is stored in a non-volatile storage medium, and the computer program product is executed by at least one processor to implement the photographing method according to the first aspect A step of.
第七方面,提供了一种通信设备,被配置为执行如第一方面所述的拍照方法。A seventh aspect provides a communication device configured to perform the photographing method of the first aspect.
本申请实施例中,通过用户对拍摄预览界面上的辅预览缩略窗口的第一输入,所述辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口包括一个 摄像头的预览界面;响应于所述第一输入,更新所述拍摄预览界面的显示;基于更新显示后的所述拍摄预览界面,输出目标图像;其中,所述目标图像是基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的,N为大于1的整数,如此,通过拍摄预览界面上的包括N个子缩略窗口的辅预览缩略窗口,每个子缩略窗口包括一个摄像头的预览界面,使用户能够通过对拍摄预览界面的辅预览缩略窗口的简单操作,实现预览过程中多摄像头的切换和融合,满足用户任意多角度多场景拍照的需求。In the embodiment of the present application, through the user's first input to the auxiliary preview thumbnail window on the shooting preview interface, the auxiliary preview thumbnail window includes N sub-thumbnail windows, each of which includes a camera preview interface; In response to the first input, the display of the shooting preview interface is updated; based on the updated and displayed shooting preview interface, a target image is output; wherein the target image is based on at least one sub-contraction in the auxiliary preview thumbnail window Generated from the image captured by the camera corresponding to the thumbnail window, N is an integer greater than 1. In this way, by shooting the auxiliary preview thumbnail window including N sub-thumbnail windows on the preview interface, each sub-thumbnail window includes a camera preview interface , which enables users to switch and merge multiple cameras during the preview process through simple operations on the auxiliary preview thumbnail window of the shooting preview interface, meeting the user's needs for taking photos in any multi-angle and multi-scene.
附图说明Description of drawings
图1为本申请实施例提供的拍照方法的流程示意图;1 is a schematic flowchart of a photographing method provided by an embodiment of the present application;
图2为本申请实施例的电子设备上摄像头的分布结构示意图之一;FIG. 2 is one of the schematic diagrams of the distribution structure of the cameras on the electronic device according to the embodiment of the present application;
图3为本申请实施例的的电子设备上摄像头的分布结构示意图之二;FIG. 3 is the second schematic diagram of the distribution structure of the cameras on the electronic device according to the embodiment of the application;
图4为执行本申请实施例的方法的对应的界面操作示意图之一;FIG. 4 is one of the corresponding interface operation schematic diagrams for executing the method of the embodiment of the present application;
图5为执行本申请实施例的方法的对应的界面操作示意图之二;FIG. 5 is the second schematic diagram of the corresponding interface operation for executing the method of the embodiment of the present application;
图6为执行本申请实施例的方法的对应的界面操作示意图之三;FIG. 6 is the third schematic diagram of the corresponding interface operation for executing the method of the embodiment of the present application;
图7为执行本申请实施例的方法的对应的界面操作示意图之四;FIG. 7 is a fourth schematic diagram of a corresponding interface operation for executing the method according to the embodiment of the present application;
图8为执行本申请实施例的方法的对应的界面操作示意图之五;FIG. 8 is a fifth schematic diagram of a corresponding interface operation for executing the method according to the embodiment of the present application;
图9为执行本申请实施例的方法的对应的界面操作示意图之六;FIG. 9 is the sixth schematic diagram of the corresponding interface operation for executing the method of the embodiment of the present application;
图10为本申请实施例的拍照装置的结构示意图;10 is a schematic structural diagram of a photographing device according to an embodiment of the present application;
图11为本申请实施例的电子设备的结构示意图;11 is a schematic structural diagram of an electronic device according to an embodiment of the application;
图12为本申请实施例的电子设备的硬件结构示意图。FIG. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别 类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面将结合附图,通过具体地实施例及其应用场景对本申请实施例提供的拍照方法进行详细地说明。The photographing method provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
如图1所示,为本申请实施例提供的拍照方法的流程示意图。该方法应用电子设备。下面就该图具体说明该方法的实施过程。As shown in FIG. 1 , it is a schematic flowchart of a photographing method according to an embodiment of the present application. The method applies to electronic equipment. The implementation process of the method will be specifically described below with reference to the figure.
步骤101,接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入,所述辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口包括一个摄像头的预览界面; Step 101, receiving the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface, the auxiliary preview thumbnail window includes N sub-abridged windows, and each sub-abridged window includes a preview interface of a camera;
可选地,所述N个子缩略窗口对应的N个摄像头的拍摄视场范围至少部分不重叠,所述N个摄像头的拍摄角度不同。Optionally, the shooting fields of view of the N cameras corresponding to the N sub-abbreviated windows do not overlap at least in part, and the shooting angles of the N cameras are different.
需要说明的是,电子设备设有N个摄像头,该N个摄像头中各摄像头对应的拍摄角度不同。各子缩略窗口包括的预览界面对应的摄像头的拍摄角度各不相同。It should be noted that the electronic device is provided with N cameras, and the shooting angles corresponding to each of the N cameras are different. The shooting angles of the cameras corresponding to the preview interface included in each sub-thumbnail window are different.
其中,如图2所示,N个摄像头可设置于电子设备的背面凸起的半球面101上,且分布在半球面的不同位置,如此可实现N个摄像头中各摄像头102对应的拍摄角度不同。Wherein, as shown in FIG. 2 , N cameras can be arranged on the convex hemispherical surface 101 on the back of the electronic device, and distributed in different positions on the hemispherical surface, so that the shooting angles corresponding to each camera 102 in the N cameras can be different. .
如图3所示,N个摄像头(图中103、104和105)还可设置于电子设备的背面和侧边框,通过电子设备的背面和侧边框的物理构成方位上的不同,实现N个摄像头中各摄像头对应的摄像角度不同。As shown in FIG. 3 , N cameras (103, 104 and 105 in the figure) can also be arranged on the back and side frames of the electronic device, and N cameras can be realized by the difference in the physical orientation of the back and side frames of the electronic device. The camera angles corresponding to each camera are different.
当然上述仅为示例,凡是使N个摄像头中各摄像头对应的拍摄角度不同的电子设备的物理结构均在本申请实施例的保护范围内,这里不做具体限定。Of course, the above is only an example, and any physical structure of the electronic device with different shooting angles corresponding to each of the N cameras falls within the protection scope of the embodiments of the present application, and is not specifically limited here.
本步骤中,在电子设备接收到拍照请求的情况下,触发进入拍摄预览界 面,该拍摄预览界面包括辅预览缩略窗口1,参见图4,该辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口包括一个摄像头的预览界面,此时,拍摄预览界面显示预设摄像头采集的预览图像。这里,预设摄像头为N个摄像头中的一者,可以是系统默认设置的摄像头。In this step, when the electronic device receives the photographing request, it triggers to enter the photographing preview interface. The photographing preview interface includes an auxiliary preview thumbnail window 1. Referring to FIG. 4 , the auxiliary preview thumbnail window includes N sub-abbreviated windows. Each sub-thumbnail window includes a camera preview interface. At this time, the shooting preview interface displays the preview image collected by the preset camera. Here, the preset camera is one of the N cameras, which may be a camera set by default in the system.
其中,第一输入为预先设置的输入,该第一输入可以包括但不限于点击输入、按压输入、长按输入、捏合输入、拖拽输入、滑动输入和划动输入中的至少一种,也即是说,该第一输入可以为上述输入中的其中一种,或者也可以为其中两种或以上输入的组合输入。通过第一输入可以选择第一区域内的一个或者多个图像。The first input is a preset input, and the first input may include, but is not limited to, at least one of click input, press input, long press input, pinch input, drag input, slide input, and swipe input, or That is to say, the first input can be one of the above-mentioned inputs, or can also be a combined input of two or more of the above-mentioned inputs. One or more images within the first area may be selected by the first input.
步骤102,响应于所述第一输入,更新所述拍摄预览界面的显示; Step 102, in response to the first input, updating the display of the shooting preview interface;
本步骤中,更新所述拍摄预览界面的显示具体更新为基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的预览图像。In this step, updating the display of the shooting preview interface is specifically updated to a preview image generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window.
其中,当具体更新为基于辅预览缩略窗口中所述第一输入对应的一个子缩略窗口对应的摄像头拍摄的图像生成的预览图像时,可实现预览过程中多摄像头的切换,也就是,用户能够直观地预览到不同摄像头采集的图像的成像效果。Wherein, when it is specifically updated to a preview image generated based on an image captured by a camera corresponding to a sub-thumbnail window corresponding to the first input in the auxiliary preview thumbnail window, the switching of multiple cameras in the preview process can be realized, that is, Users can intuitively preview the imaging effects of images captured by different cameras.
当具体更新为基于辅预览缩略窗口中所述第一输入对应的至少两个子缩略窗口对应的摄像头拍摄的图像生成的预览图像时,可实现预览过程中多摄像头的融合,也就是,用户能够直观地预览到多个摄像头采集的图像合成后生成的图像的成像效果。When it is specifically updated to a preview image generated based on images captured by cameras corresponding to at least two sub-thumbnail windows corresponding to the first input in the auxiliary preview thumbnail window, the fusion of multiple cameras in the preview process can be realized, that is, the user The imaging effect of the image generated after the images collected by multiple cameras are synthesized can be previewed intuitively.
步骤103,基于更新显示后的所述拍摄预览界面,输出目标图像;其中,所述目标图像是基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的,N为大于1的整数。Step 103: Based on the updated and displayed shooting preview interface, output a target image; wherein, the target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is greater than An integer of 1.
需要说明的是,目标图像中的拍摄对象的显示位置以及拍摄对象的拍摄参数结合最终达到的成像效果与拍摄预览界面更新后的成像效果相同。It should be noted that the imaging effect finally achieved by the combination of the display position of the shooting object in the target image and the shooting parameters of the shooting object is the same as the imaging effect after the shooting preview interface is updated.
本发明实施例的拍照方法,通过用户对拍摄预览界面上的辅预览缩略窗口的第一输入,所述辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口 包括一个摄像头的预览界面;响应于所述第一输入,更新所述拍摄预览界面的显示;基于更新显示后的所述拍摄预览界面,输出目标图像;其中,所述目标图像是基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的,N为大于1的整数,如此,通过拍摄预览界面上的包括N个子缩略窗口的辅预览缩略窗口,每个子缩略窗口包括一个摄像头的预览界面,使用户能够通过对拍摄预览界面的辅预览缩略窗口的简单操作,实现预览过程中多摄像头的切换和融合,满足用户任意多角度多场景拍照的需求。In the photographing method of the embodiment of the present invention, through the user's first input to the auxiliary preview thumbnail window on the photographing preview interface, the auxiliary preview thumbnail window includes N sub-thumbnail windows, and each sub-thumbnail window includes a preview of a camera. interface; updating the display of the shooting preview interface in response to the first input; outputting a target image based on the updated and displayed shooting preview interface; wherein the target image is based on at least one of the auxiliary preview thumbnail windows It is generated by the image captured by the camera corresponding to the sub-thumbnail window, and N is an integer greater than 1. In this way, by shooting the auxiliary preview thumbnail window including N sub-thumbnail windows on the preview interface, each sub-thumbnail window includes a camera's The preview interface enables users to switch and merge multiple cameras in the preview process through simple operations on the auxiliary preview thumbnail window of the shooting preview interface, meeting the user's needs for taking photos in any multi-angle and multi-scene.
作为一可选的实现方式,本申请实施例的方法步骤101,接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入可包括:As an optional implementation manner, in step 101 of the method in this embodiment of the present application, receiving the user's first input to the auxiliary preview thumbnail window on the shooting preview interface may include:
接收用户对所述N个子缩略窗口中的第一子缩略窗口的第一输入;receiving a first input from a user to a first sub-thumbnail window in the N sub-thumbnail windows;
相应的,本申请实施例的方法步骤102中,更新所述拍摄预览界面的显示,包括:Correspondingly, in step 102 of the method in this embodiment of the present application, updating the display of the shooting preview interface includes:
在所述拍摄预览界面上的主预览窗口中,显示所述第一子缩略窗口对应的摄像头采集的预览图像,并显示T个拍摄参数选项;In the main preview window on the shooting preview interface, the preview image collected by the camera corresponding to the first sub-thumbnail window is displayed, and T shooting parameter options are displayed;
本步骤中,拍摄预览界面包括辅预览缩略窗口和主预览窗口。这里,第一子缩略窗口为N个子缩略窗口中的任一个。In this step, the shooting preview interface includes an auxiliary preview thumbnail window and a main preview window. Here, the first sub-thumbnail window is any one of the N sub-thumbnail windows.
这里,所述第一输入对应一个子缩略窗口,即第一子缩略窗口,主预览串口显示该第一子缩略窗口对应的摄像头采集的预览图像,从而实现预览过程中多摄像头的切换,也就是,通过用户的简单操作,用户能够直观地预览到不同摄像头采集的图像的成像效果。Here, the first input corresponds to a sub-thumbnail window, that is, the first sub-thumbnail window, and the main preview serial port displays the preview image collected by the camera corresponding to the first sub-thumbnail window, so as to realize the switching of multiple cameras in the preview process , that is, through the simple operation of the user, the user can intuitively preview the imaging effects of the images collected by different cameras.
需要说明的是,显示T个拍摄参数选项,其目的是为了后续用户对主预览窗口中显示的预览图像进行拍摄参数的调整,以满足用户对图像显示效果的需求。It should be noted that the purpose of displaying T shooting parameter options is for the subsequent user to adjust the shooting parameters of the preview image displayed in the main preview window, so as to meet the user's demand for the image display effect.
基于更新显示后的所述拍摄预览界面,输出目标图像之前,本申请实施例的方法还包括:Based on the updated and displayed shooting preview interface, before outputting the target image, the method of the embodiment of the present application further includes:
接收用户对所述T个拍摄参数选项中的目标拍摄参数选项的第二输入;receiving a second input from the user to the target shooting parameter option in the T shooting parameter options;
这里,目标拍摄参数选项可以是一个或者至少两个拍摄参数选项。Here, the target shooting parameter options may be one or at least two shooting parameter options.
其中,第二输入为为预先设置的输入,该第二输入可以包括但不限于点击输入、按压输入、长按输入、捏合输入、拖拽输入、滑动输入和划动输入中的至少一种,也即是说,该第二输入可以为上述输入中的其中一种,或者也可以为其中两种或以上输入的组合输入。Wherein, the second input is a preset input, and the second input may include, but is not limited to, at least one of click input, press input, long press input, pinch input, drag input, slide input, and swipe input, That is to say, the second input can be one of the above-mentioned inputs, or can also be a combined input of two or more of the above-mentioned inputs.
响应于所述第二输入,按照所述目标拍摄参数选项,调整所述主预览窗口中显示的预览图像的拍摄参数;其中,T为正整数。In response to the second input, adjusting the shooting parameters of the preview image displayed in the main preview window according to the target shooting parameter option; wherein, T is a positive integer.
本实现方式中,用户可以选择任意一个子缩略窗口对应的预览图像,调整其拍摄参数,从而使用户直观地看到图像预览效果,满足用户对图像预览时的效果需求。In this implementation manner, the user can select a preview image corresponding to any sub-thumbnail window and adjust its shooting parameters, so that the user can intuitively see the image preview effect and meet the user's effect requirements for image preview.
在一示例中,参见图5,拍摄预览界面的左上角区域为辅预览缩略窗口1,该辅预览缩略窗口1包括9个子缩略窗口,以九宫格的方式排列显示,通过用户对辅预览缩略窗口1的点击操作,参见图5第一行左侧图所示,在拍摄预览界面的主预览窗口2显示该点击操作对应的子缩略窗口3中拍摄对象为猫咪的图像,并在主预览窗口2的右上角区域显示4个拍摄参数选项,4个拍摄参数选项包括滤镜、正常、虚化和光效。若用户根据需要,想要虚化的效果,则通过用户对原拍摄参数选项“正常”至拍摄参数选项“虚化”的滑动操作,参见图5第一行右侧图所示,后,对该拍摄对象为猫咪的图像进行虚化处理,得到虚化后的猫咪图像,参见图5中第二行对应的图所示。In an example, referring to FIG. 5 , the upper left corner of the shooting preview interface is the auxiliary preview thumbnail window 1, and the auxiliary preview thumbnail window 1 includes 9 sub-abridged windows, which are arranged and displayed in a nine-square grid. The click operation of the thumbnail window 1, as shown in the figure on the left side of the first row of FIG. 5, the main preview window 2 of the shooting preview interface displays the image of the cat in the sub-thumbnail window 3 corresponding to the click operation, and the image is displayed in the main preview window 2 of the shooting preview interface. The upper right area of the main preview window 2 displays 4 shooting parameter options, including filter, normal, blur and light effect. If the user wants the effect of blurring according to their needs, the user can slide the original shooting parameter option "normal" to the shooting parameter option "blurring", as shown in the figure on the right side of the first row of Figure 5. The image of the photographed object being a cat is subjected to blurring processing to obtain a blurred cat image, as shown in the figure corresponding to the second row in FIG. 5 .
进一步地,接收用户对所述T个拍摄参数选项中的目标拍摄参数选项的第二输入之后,本申请实施例的方法还可包括:Further, after receiving the second input from the user to the target shooting parameter option in the T shooting parameter options, the method of the embodiment of the present application may further include:
按照所述目标拍摄参数选项,调整所述N个子缩略窗口中的预览图像的拍摄参数。According to the target shooting parameter option, the shooting parameters of the preview images in the N sub-thumbnail windows are adjusted.
这里,在对主预览窗口中显示的预览图像进行拍摄参数调整时,也会同步调整N个子缩略窗口中的预览图像的拍摄参数。这样,在拍摄预览界面即可完成拍摄参数的调整,无需跳转至参数设置界面,而且通过一步操作便可更新N个摄像头采集的预览图像的显示效果,方便后续用户在预览到N个子缩略窗口中的预览图像经拍摄参数调整后的图像显示效果后,想要更换主预 览窗口中显示的预览图像时,可以直接通过简单的用户操作进行主预览窗口内预览图像的切换,无需再重复调整拍摄参数,节省用户时间。Here, when the shooting parameters of the preview images displayed in the main preview window are adjusted, the shooting parameters of the preview images in the N sub-thumbnail windows are also adjusted synchronously. In this way, the adjustment of shooting parameters can be completed in the shooting preview interface without jumping to the parameter setting interface, and the display effect of the preview images collected by N cameras can be updated in one step, which is convenient for subsequent users to preview N sub-thumbnails. After the preview image in the window is displayed after the shooting parameters are adjusted, when you want to change the preview image displayed in the main preview window, you can directly switch the preview image in the main preview window through a simple user operation without repeating the adjustment. Shooting parameters, saving user time.
需要说明的是,本申请实施例中主预览窗口和N个子缩略窗口不仅限于调整拍摄参数的同步,对于用户对主预览窗口的预设操作,N个子缩略窗口也同步响应。It should be noted that, in the embodiment of the present application, the main preview window and the N sub-thumbnail windows are not limited to the synchronization of adjusting shooting parameters, and the N sub-thumbnail windows also respond synchronously to the user's preset operation on the main preview window.
比如,在拍摄预览界面,对焦默认是自动对焦,用户可通过点击主预览窗口内某个位置锁定对焦,此时,N个子缩略窗口同步响应该对焦操作,如图6所示。用户还可以通过对主预览窗口的缩放操作,比如通过用户的双指缩放操作,缩放主预览窗口的预览图像,此时,N个子缩略窗口也同步响应该缩放操作。For example, in the shooting preview interface, the focus is auto focus by default, and the user can lock the focus by clicking a certain position in the main preview window. At this time, the N sub-thumbnail windows respond to the focus operation synchronously, as shown in Figure 6. The user can also zoom the preview image of the main preview window through a zoom operation on the main preview window, for example, through the user's pinch zoom operation. At this time, the N sub-thumbnail windows also respond to the zoom operation synchronously.
作为一可选地实现方式,本申请实施例的方法步骤101,接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入,可包括:As an optional implementation manner, in step 101 of the method in this embodiment of the present application, receiving the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface may include:
接收用户对所述N个子缩略窗口中的M个子缩略窗口的第一输入,M为大于1的整数,N>M;receiving a first input from a user to M sub-thumbnail windows in the N sub-thumbnail windows, where M is an integer greater than 1, and N>M;
相应地,本申请实施例的方法步骤102中,更新所述拍摄预览界面的显示,包括:Correspondingly, in step 102 of the method in this embodiment of the present application, updating the display of the shooting preview interface includes:
将所述M个子缩略窗口对应的M个摄像头采集的预览图像进行图像合成,生成目标预览图像,并在所述拍摄预览界面上的主预览窗口中,显示所述目标预览图像。Perform image synthesis on the preview images collected by the M cameras corresponding to the M sub-thumbnail windows to generate a target preview image, and display the target preview image in the main preview window on the shooting preview interface.
这里,具体的,通过场景检测,确定M个预览图像的合成处理算法,基于确定的合成处理算法,对M个预览图像进行合成处理,生成目标预览图像。Here, specifically, through scene detection, a synthesis processing algorithm of the M preview images is determined, and based on the determined synthesis processing algorithm, a synthesis processing is performed on the M preview images to generate a target preview image.
这里,合成处理算法为图像拼接算法或者图像融合矫正算法。Here, the synthesis processing algorithm is an image stitching algorithm or an image fusion correction algorithm.
可选地,在通过场景检测,检测到其中一个图像对应的拍摄场景为人物场景,另一图像对应的拍摄场景为自然场景的情况下,确定M个预览图像的合成处理算法为图像拼接算法;基于该图像拼接算法对M个预览图像进行合成处理,生成目标预览图像。具体的,提取对应的拍摄场景为人物场景的图像中的人物,将其填充到对应的拍摄场景为自然场景的图像中。Optionally, when it is detected that the shooting scene corresponding to one of the images is a human scene and the shooting scene corresponding to the other image is a natural scene through scene detection, it is determined that the synthesis processing algorithm of the M preview images is an image stitching algorithm; Based on the image stitching algorithm, the M preview images are synthesized to generate the target preview image. Specifically, a person in an image whose corresponding shooting scene is a human scene is extracted, and filled into an image whose corresponding shooting scene is a natural scene.
在通过场景检测,检测到M个预览图像的拍摄场景的相似度大于预设阈值的情况下,确定M个预览图像的合成处理算法为图像融合矫正算法;基于该图像融合矫正算法对M个预览图像进行图像融合矫正,生成目标预览图像。When it is detected through scene detection that the similarity of the shooting scenes of the M preview images is greater than the preset threshold, it is determined that the synthesis processing algorithm of the M preview images is an image fusion correction algorithm; The image is corrected by image fusion to generate the target preview image.
本实现方式中,用户可以自定义选择需要融合的任意两个或者多个摄像头采集的图像,使用户能够直观地预览到多个摄像头采集的图像合成后生成的图像的成像效果。In this implementation manner, the user can customize and select images collected by any two or more cameras to be fused, so that the user can intuitively preview the imaging effect of the images generated by combining the images collected by the multiple cameras.
在一示例中,参见图7,在拍摄预览界面的左上角区域为辅预览缩略窗口1;该辅预览缩略窗口1包括9个子缩略窗口,以九宫格的方式排列显示,通过用户对辅预览缩略窗口1中子缩略窗口3和子缩略窗口4的选择操作,参见图7左侧图所示,用户通过双指拖拉,选择双指对应的子缩略窗口3和子缩略窗口4,之后,将子缩略窗口3对应的摄像头采集的图像和子缩略窗口4内对应的摄像头采集的图像进行合成处理,得到合成后的图像,并显示在拍摄预览界面上的主预览窗口2内,显示该合成后的图像,参见图7右侧图所示。In an example, referring to FIG. 7 , the upper left corner of the shooting preview interface is the auxiliary preview thumbnail window 1; the auxiliary preview thumbnail window 1 includes 9 sub-abridged windows, which are arranged and displayed in a nine-square grid. Preview the selection operation of sub-thumbnail window 3 and sub-thumbnail window 4 in thumbnail window 1, as shown in the left figure of Figure 7, the user selects sub-thumbnail window 3 and sub-thumbnail window 4 corresponding to two fingers by dragging with two fingers , after that, the image collected by the camera corresponding to the sub-thumbnail window 3 and the image collected by the corresponding camera in the sub-thumbnail window 4 are synthesized to obtain the synthesized image, which is displayed in the main preview window 2 on the shooting preview interface. , the synthesized image is displayed, as shown in the right panel of Figure 7.
作为一可选的实现方式,本申请实施例还可包括:As an optional implementation manner, the embodiments of the present application may further include:
获取所述拍摄预览界面上的主预览窗口中目标对象的对象类型;obtaining the object type of the target object in the main preview window on the shooting preview interface;
本步骤中,主预览窗口中目标对象指的是主预览窗口显示的预览图像中的目标对象。该目标对象可以是电子设备自动检测到的,也可以是用户选定的。In this step, the target object in the main preview window refers to the target object in the preview image displayed in the main preview window. The target object may be automatically detected by the electronic device or selected by the user.
需要说明的是,对象类型可包括:人物、动物、景物等。It should be noted that the object types may include: characters, animals, scenery, and the like.
这里,通过图像识别技术,可以识别出目标对象的对象类型。Here, through the image recognition technology, the object type of the target object can be identified.
比如,拍摄预览界面的主预览窗口显示一预览图像,通过电子设备自动检测,检测到预览图像中具有一目标对象,通过图像识别技术,识别出该目标对象为动物。或者,拍摄预览界面的主预览窗口显示一预览图像,接收用户对该预览图像的点击输入,响应于该点击输入,确定对应的目标对象,并通过图像识别技术,识别出该目标对象为动物。For example, the main preview window of the shooting preview interface displays a preview image, which is automatically detected by the electronic device and detected that there is a target object in the preview image, and the target object is identified as an animal through image recognition technology. Alternatively, the main preview window of the shooting preview interface displays a preview image, receives a user's click input on the preview image, determines the corresponding target object in response to the click input, and identifies the target object as an animal through image recognition technology.
确定所述N个子缩略窗口中的P个子缩略窗口,所述P个子缩略窗口具 有与所述对象类型相匹配的对象;Determine the P sub-abbreviated windows in the N sub-abbreviated windows, and the P sub-abbreviated windows have objects that match the object type;
这里,与目标对象的对象类型相匹配的对象,可以是与目标对象的对象类型相同的对象,也可以是与目标对象的对象类型不同的对象。具体可根据系统设置,或者用户自定义设置,这里做具体限定。Here, the object matching the object type of the target object may be an object of the same object type as the target object, or may be an object of a different object type from the target object. The specific settings can be based on system settings or user-defined settings, which are specifically limited here.
接收用户在所述拍摄预览界面上的第三输入;receiving a third input from the user on the shooting preview interface;
本步骤中,第三输入为预先设置的输入,该第三输入可以包括但不限于点击输入、按压输入、长按输入、捏合输入、拖拽输入、滑动输入和划动输入中的至少一种,也即是说,该第三输入可以为上述输入中的其中一种,或者也可以为其中两种或以上输入的组合输入。In this step, the third input is a preset input, and the third input may include, but is not limited to, at least one of click input, press input, long-press input, pinch input, drag input, slide input, and swipe input , that is to say, the third input can be one of the above-mentioned inputs, or can also be a combined input of two or more of the above-mentioned inputs.
响应于所述第三输入,将所述拍摄预览界面上的主预览窗口的目标区域的显示内容更新为第二子缩略窗口对应的摄像头采集的预览图像;In response to the third input, updating the display content of the target area of the main preview window on the shooting preview interface to the preview image collected by the camera corresponding to the second sub-thumbnail window;
其中,所述第二子缩略窗口为所述P个子缩略窗口中的任一个,所述第二子缩略窗口是基于所述第三输入的输入特征确定的,P为正整数。Wherein, the second thumbnail sub-window is any one of the P sub-abridged windows, the second thumbnail sub-window is determined based on the input feature of the third input, and P is a positive integer.
这里,第二子缩略窗口是基于所述第三输入的输入特征确定的。Here, the second sub-thumbnail window is determined based on the input characteristics of the third input.
比如,在第三输入为滑动输入时,可基于滑动输入的输入方向,确定第二子缩略窗口。具体地,在滑动输入的输入方向为第一预设方向,对应当前子缩略窗口(P个子缩略窗口中的一者)的下一个子缩略窗口为第二子缩略窗口;在滑动输入的输入方向为第二预设方向,对应当前子缩略窗口的上一个子缩略窗口为第二子缩略窗口。For example, when the third input is a sliding input, the second thumbnail sub-window may be determined based on the input direction of the sliding input. Specifically, the input direction of the sliding input is the first preset direction, and the next sub-thumbnail window corresponding to the current sub-thumbnail window (one of the P sub-thumbnail windows) is the second sub-thumbnail window; The input direction of the input is the second preset direction, and the previous sub-thumbnail window corresponding to the current sub-thumbnail window is the second sub-thumbnail window.
又比如,在第三输入为点击输入时,可点击输出的次数,确定第二缩略窗口。具体的,在点击输入为单击输入时,对应当前子缩略窗口的下一个子缩略窗口为第二子缩略窗口;在点击输入为双击输入时,对应当前子缩略窗口的上一个子缩略窗口为第二子缩略窗口。For another example, when the third input is a click input, the number of times of click output can be used to determine the second thumbnail window. Specifically, when the click input is a single-click input, the next sub-thumbnail window corresponding to the current sub-thumbnail window is the second sub-thumbnail window; when the click input is a double-click input, the previous sub-thumbnail window corresponding to the current sub-thumbnail window The child thumbnail window is the second child thumbnail window.
本实现方式,不需要用户操作辅预览缩略窗口,可直接通过对拍摄预览界面,具体的是主预览窗口的用户输入,便可实现主预览窗口内对象的切换。This implementation does not require the user to operate the auxiliary preview thumbnail window, and can directly switch objects in the main preview window through user input on the shooting preview interface, specifically the main preview window.
具体地,在所述目标对象的对象类型与所述P个子缩略窗口具有的对象的类型相同的情况下,所述目标区域为所述主预览窗口中显示的预览图像中 所述目标对象所在的区域。Specifically, in the case where the object type of the target object is the same as the type of the object possessed by the P sub-thumbnail windows, the target area is where the target object is located in the preview image displayed in the main preview window Area.
需要说明的是,当主预览窗口中显示的预览图像中只有一类对象,比如为作为背景的景物时,由于该景物占整个画面,则更新的是目标对象所在区域(此时对应的是主预览窗口的整个区域)的图像内容。当主预览窗口中显示的预览图像中有两个对象,比如,一类为人物,一类为作为背景的景物时,那么在目标对象为人物时,则更新的是目标对象所在区域(此时对应的是主预览窗口的部分区域)的图像内容。该场景下,通过用户操作可以切换相同对象类型下其他子缩略窗口对应的摄像头采集的预览图像。It should be noted that when there is only one type of object in the preview image displayed in the main preview window, such as a scene as a background, since the scene occupies the entire screen, the area where the target object is located is updated (corresponding to the main preview at this time). the entire area of the window) of the image content. When there are two objects in the preview image displayed in the main preview window, for example, one is a person and the other is a background scene, then when the target object is a person, the area where the target object is updated (corresponding to is part of the main preview window) of the image content. In this scenario, the preview images captured by cameras corresponding to other sub-thumbnail windows under the same object type can be switched through user operations.
在所述目标对象的对象类型与所述P个子缩略窗口具有的对象的类型不同的情况下,所述目标区域为所述主预览窗口中显示的预览图像中除所述目标对象所在区域之外的区域。In the case where the object type of the target object is different from the object type of the P sub-thumbnail windows, the target area is the area in the preview image displayed in the main preview window excluding the area where the target object is located outside area.
需要说明的是,该场景下,通过用户操作可切换与目标对象的对象类型不同的其他子缩略窗口对应的摄像头采集的预览图像。即更新的是除目标对象所在区域之外的其他区域的图像内容,且该图像内容的对象类型与目标对象的对象类型不同。比如,目标对象为人物,则通过用户操作切换对应该人物的不同景物作为背景;目标对象为景物,则通过用户操作切换对应该景物下的不同主体。It should be noted that, in this scenario, preview images captured by cameras corresponding to other sub-thumbnail windows with different object types of the target object can be switched through a user operation. That is, what is updated is the image content of other regions except the region where the target object is located, and the object type of the image content is different from that of the target object. For example, if the target object is a person, different scenes corresponding to the person are switched as backgrounds through user operations; if the target object is a scene, different subjects corresponding to the scene are switched through user operations.
对应该场景,进一步地,将所述目标对象与目标区域内的图像内容进行图像合成处理,生成目标预览图像。Corresponding to the scene, further, image synthesis processing is performed on the target object and the image content in the target area to generate a target preview image.
在一示例中,参见图8第一行左侧图所示,识别到拍摄预览界面的主预览窗口2中的目标对象(图8中为猫咪)的对象类型为动物时,确定9个子缩略窗口中3个与动物类型不同的且对象为景物(可作为猫咪的背景)的子缩略窗口,即子缩略窗口5、子缩略窗口6和子缩略窗口7;其中,该主预览窗口2的右上角区域显示有操作指示信息,如图8中,“请左右滑动选择要融合的背景”以及箭头指示标识;此时,用户可以通过左右滑动手指来切换要融合的背景,如图8第一行右侧图所示;当用户选择到满意的背景图后,将该背景与猫咪的图像进行图像合成处理,得到合成后的图像,参见图8第二 行对应的图。最后,用户点击拍照控件保存主预览窗口2的图像。In an example, referring to the figure on the left side of the first row of FIG. 8 , when it is recognized that the object type of the target object (cat in FIG. 8 ) in the main preview window 2 of the shooting preview interface is an animal, 9 sub-abbreviations are determined. There are 3 sub-thumbnail windows in the window that are different from the animal type and the object is the scene (can be used as the background of the cat), namely the sub-thumbnail window 5, the sub-thumbnail window 6 and the sub-thumbnail window 7; wherein, the main preview window The upper right corner of 2 displays the operation instruction information, as shown in Figure 8, "Please slide left and right to select the background to be merged" and the arrow indicator; at this time, the user can switch the background to be merged by sliding the finger left and right, as shown in Figure 8 The figure on the right side of the first row is shown; after the user selects a satisfactory background image, the background and the image of the cat are subjected to image synthesis processing to obtain a synthesized image, see the corresponding figure in the second row of FIG. 8 . Finally, the user clicks the camera control to save the image of the main preview window 2 .
作为一可选的实现方式,接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入之前,本申请实施例的方法还包括:As an optional implementation manner, before receiving the user's first input to the auxiliary preview thumbnail window on the shooting preview interface, the method of the embodiment of the present application further includes:
检测N个摄像头采集的预览图像的拍摄场景;Detect the shooting scene of the preview images collected by the N cameras;
在检测到至少两个摄像头采集的预览图像的拍摄场景不同的情况下,显示辅预览缩略窗口。When it is detected that the shooting scenes of the preview images collected by the at least two cameras are different, the auxiliary preview thumbnail window is displayed.
这里,拍摄场景不同可以理解为两个或者多个摄像头采集的预览图像对应的视场范围不重合。Here, different shooting scenes may be understood as the fact that the fields of view corresponding to the preview images collected by the two or more cameras do not overlap.
基于此,所述显示辅预览缩略窗口之前,本申请实施例的方法还可包括:Based on this, before the display of the auxiliary preview thumbnail window, the method of the embodiment of the present application may further include:
显示提示信息,所述提示信息用于提示用户是否显示辅预览缩略窗口;Displaying prompt information, the prompt information is used to prompt the user whether to display the auxiliary preview thumbnail window;
所述显示辅预览缩略窗口,包括:The displaying auxiliary preview thumbnail window includes:
在接收到用户对所述提示信息的第四输入的情况下,显示辅预览缩略窗口。In the case of receiving the fourth input of the prompt information by the user, an auxiliary preview thumbnail window is displayed.
这里,第四输入用于确定显示辅预览缩略窗口的输入。Here, the fourth input is used to determine the input for displaying the auxiliary preview thumbnail window.
在一示例中,用户可通过任意软件进入拍摄预览界面,在该拍摄预览界面,如图9中左侧图所示,电子设备(该电子设备的摄像头的拍摄角度不同,如图2和图3所示)检测9个摄像头中各摄像头的拍摄场景;若检测到存在3个以上摄像头对应的拍摄场景不同,则在拍摄预览界面显示提示信息,该提示信息用于提示用户是否显示辅预览缩略窗口,即显示9个摄像头采集的9个图像,如图9中右侧图所示。这里,在拍摄预览界面显示对应触发显示辅预览缩略窗口1的标识8时,如图9中右侧图所示,通过用户对该标识8的点击输入,如图10所示,在拍摄预览界面左上角区域显示辅预览缩略窗口1。In an example, the user can enter the shooting preview interface through any software, and in the shooting preview interface, as shown in the left figure in FIG. shown) to detect the shooting scene of each camera in the 9 cameras; if it is detected that there are different shooting scenes corresponding to more than 3 cameras, then prompt information is displayed on the shooting preview interface, and the prompt information is used to prompt the user whether to display the auxiliary preview thumbnail window, that is, displaying 9 images collected by 9 cameras, as shown on the right side of Figure 9. Here, when the logo 8 corresponding to triggering the display of the auxiliary preview thumbnail window 1 is displayed on the shooting preview interface, as shown in the right figure in FIG. 9 , the user clicks the logo 8 to input, as shown in FIG. The upper left corner of the interface displays the auxiliary preview thumbnail window 1.
本申请中的标识用于指示信息的文字、符号、图像等,可以以控件或者其他容器作为显示信息的载体,包括但不限于文字标识、符号标识、图像标识。The logos in this application are used to indicate words, symbols, images, etc. of information, and controls or other containers can be used as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
本申请实施例的拍照方法,通过用户对拍摄预览界面上的辅预览缩略窗 口的第一输入,所述辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口包括一个摄像头的预览界面;响应于所述第一输入,更新所述拍摄预览界面的显示;基于更新显示后的所述拍摄预览界面,输出目标图像;其中,所述目标图像是基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的,N为大于1的整数,如此,通过拍摄预览界面上的包括N个子缩略窗口的辅预览缩略窗口,每个子缩略窗口包括一个摄像头的预览界面,使用户能够通过对拍摄预览界面的辅预览缩略窗口的简单操作,实现预览过程中多摄像头的切换和融合,满足用户任意多角度多场景拍照的需求。In the photographing method of the embodiment of the present application, through the user's first input to the auxiliary preview thumbnail window on the shooting preview interface, the auxiliary preview thumbnail window includes N sub-thumbnail windows, and each sub-thumbnail window includes a preview of a camera. interface; updating the display of the shooting preview interface in response to the first input; outputting a target image based on the updated and displayed shooting preview interface; wherein the target image is based on at least one of the auxiliary preview thumbnail windows It is generated by the image captured by the camera corresponding to the sub-thumbnail window, and N is an integer greater than 1. In this way, by shooting the auxiliary preview thumbnail window including N sub-thumbnail windows on the preview interface, each sub-thumbnail window includes a camera's The preview interface enables users to switch and merge multiple cameras in the preview process through simple operations on the auxiliary preview thumbnail window of the shooting preview interface, meeting the user's needs for taking photos in any multi-angle and multi-scene.
需要说明的是,本申请实施例提供的拍照方法,执行主体可以为拍照装置,或者该拍照装置中的用于执行拍照方法的控制模块。本申请实施例中以拍照装置执行拍照方法为例,说明本申请实施例提供的拍照装置。It should be noted that, in the photographing method provided by the embodiments of the present application, the executing subject may be a photographing device, or a control module in the photographing device for executing the photographing method. In the embodiment of the present application, the photographing device provided by the embodiment of the present application is described by taking the photographing method performed by the photographing device as an example.
如图10所示,为本申请实施例提供的拍照装置的结构示意图。该拍照装置可以包括:As shown in FIG. 10 , it is a schematic structural diagram of a photographing apparatus provided by an embodiment of the present application. The photographing device may include:
第一接收模块1001,用于接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入,所述辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口包括一个摄像头的预览界面;The first receiving module 1001 is configured to receive the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface, where the auxiliary preview thumbnail window includes N sub-thumbnail windows, each of which includes a preview of a camera. interface;
第一处理模块1002,用于响应于所述第一输入,更新所述拍摄预览界面的显示;a first processing module 1002, configured to update the display of the shooting preview interface in response to the first input;
拍照模块1003,用于基于更新显示后的所述拍摄预览界面,输出目标图像;a photographing module 1003, configured to output a target image based on the updated and displayed photographing preview interface;
其中,所述目标图像是基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的,N为大于1的整数。The target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1.
可选地,所述第一接收模块1001包括:Optionally, the first receiving module 1001 includes:
第一接收单元,用于接收用户对所述N个子缩略窗口中的第一子缩略窗口的第一输入;a first receiving unit, configured to receive a first input from a user to a first sub-thumbnail window in the N sub-thumbnail windows;
所述第一处理模块1002包括:The first processing module 1002 includes:
第一显示单元,用于在所述拍摄预览界面上的主预览窗口中,显示所述 第一子缩略窗口对应的摄像头采集的预览图像,并显示T个拍摄参数选项;A first display unit, used for displaying, in the main preview window on the shooting preview interface, the preview image collected by the camera corresponding to the first sub-thumbnail window, and displaying T shooting parameter options;
所述装置还包括:The device also includes:
第二接收模块,用于接收用户对所述T个拍摄参数选项中的目标拍摄参数选项的第二输入;a second receiving module, configured to receive a second input from the user to the target shooting parameter option in the T shooting parameter options;
第二处理模块,用于,响应于所述第二输入,按照所述目标拍摄参数选项,调整所述主预览窗口中显示的预览图像的拍摄参数;a second processing module, configured to, in response to the second input, adjust the shooting parameters of the preview image displayed in the main preview window according to the target shooting parameter option;
其中,T为正整数。where T is a positive integer.
可选地,所述装置还包括:Optionally, the device further includes:
第三处理模块,用于按照所述目标拍摄参数选项,调整所述N个子缩略窗口中的预览图像的拍摄参数。The third processing module is configured to adjust the shooting parameters of the preview images in the N sub-thumbnail windows according to the target shooting parameter options.
可选地,所述第一接收模块1001包括:Optionally, the first receiving module 1001 includes:
第二接收单元,用于接收用户对所述N个子缩略窗口中的M个子缩略窗口的第一输入,M为大于1的整数,N>M;a second receiving unit, configured to receive the first input from the user to the M sub-abbreviated windows in the N sub-abbreviated windows, where M is an integer greater than 1, and N>M;
所述第一处理模块1002包括:The first processing module 1002 includes:
第一处理单元,用于将所述M个子缩略窗口对应的M个摄像头采集的预览图像进行图像合成,生成目标预览图像,并在所述拍摄预览界面上的主预览窗口中,显示所述目标预览图像。The first processing unit is configured to perform image synthesis on the preview images collected by the M cameras corresponding to the M sub-thumbnail windows, generate a target preview image, and display the image in the main preview window on the shooting preview interface. Target preview image.
可选地,所述装置还包括:Optionally, the device further includes:
获取模块,用于获取所述拍摄预览界面上的主预览窗口中目标对象的对象类型;an acquisition module for acquiring the object type of the target object in the main preview window on the shooting preview interface;
第四处理模块,用于确定所述N个子缩略窗口中的P个子缩略窗口,所述P个子缩略窗口具有与所述对象类型相匹配的对象;a fourth processing module, configured to determine P sub-abbreviated windows in the N sub-abbreviated windows, and the P sub-abbreviated windows have objects matching the object types;
第三接收模块,用于接收用户在所述拍摄预览界面上的第三输入;a third receiving module, configured to receive a third input from the user on the shooting preview interface;
第五处理模块,用于响应于所述第三输入,将所述拍摄预览界面上的主预览窗口的目标区域的显示内容更新为第二子缩略窗口对应的摄像头采集的预览图像;其中,所述第二子缩略窗口为所述P个子缩略窗口中的任一个,所述第二子缩略窗口是基于所述第三输入的输入特征确定的,P为正整数。a fifth processing module, configured to, in response to the third input, update the display content of the target area of the main preview window on the shooting preview interface to the preview image collected by the camera corresponding to the second thumbnail sub-window; wherein, The second sub-abbreviated window is any one of the P sub-abbreviated windows, the second sub-abbreviated window is determined based on the input feature of the third input, and P is a positive integer.
可选地,在所述目标对象的对象类型与所述P个子缩略窗口具有的对象的类型相同的情况下,所述目标区域为所述主预览窗口中显示的预览图像中所述目标对象所在的区域;Optionally, in the case that the object type of the target object is the same as the type of objects possessed by the P sub-thumbnail windows, the target area is the target object in the preview image displayed in the main preview window. the area in which it is located;
在所述目标对象的对象类型与所述P个子缩略窗口具有的对象的类型不同的情况下,所述目标区域为所述主预览窗口中显示的预览图像中除所述目标对象所在区域之外的区域。In the case where the object type of the target object is different from the object type of the P sub-thumbnail windows, the target area is the area in the preview image displayed in the main preview window excluding the area where the target object is located outside area.
可选地,所述装置还包括:Optionally, the device further includes:
检测模块,用于检测N个摄像头采集的预览图像的拍摄场景;a detection module for detecting the shooting scene of the preview images collected by the N cameras;
第一显示模块,用于在检测到至少两个摄像头采集的预览图像的拍摄场景不同的情况下,显示辅预览缩略窗口。The first display module is configured to display an auxiliary preview thumbnail window when it is detected that the shooting scenes of the preview images collected by the at least two cameras are different.
可选地,所述装置还包括:Optionally, the device further includes:
第二显示模块,用于显示提示信息,所述提示信息用于提示用户是否显示辅预览缩略窗口;The second display module is used to display prompt information, and the prompt information is used to prompt the user whether to display the auxiliary preview thumbnail window;
所述第一显示模块包括:The first display module includes:
第二显示单元,用于在接收到用户对所述提示信息的第四输入的情况下,显示辅预览缩略窗口。The second display unit is configured to display the auxiliary preview thumbnail window when the fourth input of the prompt information by the user is received.
可选地,所述N个子缩略窗口对应的N个摄像头的拍摄视场范围至少部分不重叠,所述N个摄像头的拍摄角度不同。Optionally, the shooting fields of view of the N cameras corresponding to the N sub-abbreviated windows do not overlap at least in part, and the shooting angles of the N cameras are different.
本申请实施例中的拍照装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The photographing device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device may be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., the embodiment of the present application There is no specific limitation.
本申请实施例中的拍照装置可以为具有操作系统的装置。该操作系统可 以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The photographing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的拍照装置能够实现图1至图9的方法实施例实现的各个过程,为避免重复,这里不再赘述。The photographing device provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 9 , and to avoid repetition, details are not repeated here.
本申请实施例的拍照装置,通过第一接收模块接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入,所述辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口包括一个摄像头的预览界面;第一处理模块响应于所述第一输入,更新所述拍摄预览界面的显示;拍照模块基于更新显示后的所述拍摄预览界面,输出目标图像;其中,所述目标图像是基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的,N为大于1的整数,如此,通过拍摄预览界面上的包括N个子缩略窗口的辅预览缩略窗口,每个子缩略窗口包括一个摄像头的预览界面,使用户能够通过对拍摄预览界面的辅预览缩略窗口的简单操作,实现预览过程中多摄像头的切换和融合,满足用户任意多角度多场景拍照的需求。In the photographing apparatus of the embodiment of the present application, the first receiving module receives the first input from the user to the auxiliary preview thumbnail window on the photographing preview interface. The auxiliary preview thumbnail window includes N sub-thumbnail windows, and each The preview interface includes a camera; the first processing module updates the display of the shooting preview interface in response to the first input; the camera module outputs a target image based on the updated and displayed shooting preview interface; wherein, the target The image is generated based on the image captured by the camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1. In this way, by capturing the auxiliary preview thumbnail including N sub-thumbnail windows on the preview interface Window, each sub-thumbnail window includes a camera preview interface, which enables users to switch and merge multiple cameras in the preview process through simple operations on the auxiliary preview thumbnail window of the shooting preview interface, meeting the user’s arbitrary multi-angle and multi-scene requirements. photo needs.
如图11所示,本申请实施例还提供一种电子设备1100,包括处理器1101,存储器1102,存储在存储器1102上并可在所述处理器1101上运行的程序或指令,该程序或指令被处理器1101执行时实现上述拍照方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。As shown in FIG. 11, an embodiment of the present application further provides an electronic device 1100, including a processor 1101, a memory 1102, a program or instruction stored in the memory 1102 and executable on the processor 1101, the program or instruction When executed by the processor 1101, each process of the above embodiment of the photographing method is implemented, and the same technical effect can be achieved. 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 aforementioned mobile electronic devices and non-mobile electronic devices.
图12为实现本申请各个实施例的一种电子设备的硬件结构示意图。FIG. 12 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
该电子设备1200包括但不限于:射频单元1201、网络模块1202、音频输出单元1203、输入单元1204、传感器1205、显示单元1206、用户输入单元1207、接口单元1208、存储器1209、处理器1210、以及电源1211等部件。The electronic device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, a processor 1210, and Power 1211 and other components.
本领域技术人员可以理解,电子设备1200还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图12中示 出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1200 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 1210 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 12 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
其中,用户输入单元1207,用于接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入,所述辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口包括一个摄像头的预览界面;处理器1210,用于响应于所述第一输入,响应于所述第一输入,更新所述拍摄预览界面的显示;显示单元1206用于基于更新显示后的所述拍摄预览界面,输出目标图像;其中,所述目标图像是基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的,N为大于1的整数。The user input unit 1207 is configured to receive the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface. The auxiliary preview thumbnail window includes N sub-thumbnail windows, each of which includes a a preview interface; the processor 1210 is configured to, in response to the first input, in response to the first input, update the display of the shooting preview interface; the display unit 1206 is configured to update the displayed shooting preview interface based on the updated display, Outputting a target image; wherein, the target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1.
本申请实施例中,通过拍摄预览界面上的包括N个子缩略窗口的辅预览缩略窗口,每个子缩略窗口包括一个摄像头的预览界面,使用户能够通过对拍摄预览界面的辅预览缩略窗口的简单操作,实现预览过程中多摄像头的切换和融合,满足用户任意多角度多场景拍照的需求。In the embodiment of the present application, by shooting auxiliary preview thumbnail windows including N sub-thumbnail windows on the preview interface, each sub-thumbnail window includes a camera preview interface, so that the user can use the auxiliary preview thumbnails on the shooting preview interface. The simple operation of the window realizes the switching and integration of multiple cameras in the preview process, and meets the needs of users to take photos in any multi-angle and multi-scene.
可选地,用户输入单元1207,还用于:Optionally, the user input unit 1207 is also used for:
接收用户对所述N个子缩略窗口中的第一子缩略窗口的第一输入;receiving a first input from a user to a first sub-thumbnail window in the N sub-thumbnail windows;
处理器1210,还用于:The processor 1210 is also used to:
在所述拍摄预览界面上的主预览窗口中,显示所述第一子缩略窗口对应的摄像头采集的预览图像,并显示T个拍摄参数选项;In the main preview window on the shooting preview interface, the preview image collected by the camera corresponding to the first sub-thumbnail window is displayed, and T shooting parameter options are displayed;
用户输入单元1207,还用于:The user input unit 1207 is also used for:
接收用户对所述T个拍摄参数选项中的目标拍摄参数选项的第二输入;receiving a second input from the user to the target shooting parameter option in the T shooting parameter options;
处理器1210,还用于:The processor 1210 is also used to:
响应于所述第二输入,按照所述目标拍摄参数选项,调整所述主预览窗口中显示的预览图像的拍摄参数;In response to the second input, adjusting the shooting parameters of the preview image displayed in the main preview window according to the target shooting parameter option;
其中,T为正整数。where T is a positive integer.
可选地,处理器1210,还用于:Optionally, the processor 1210 is further configured to:
按照所述目标拍摄参数选项,调整所述N个子缩略窗口中的预览图像的拍摄参数。According to the target shooting parameter option, the shooting parameters of the preview images in the N sub-thumbnail windows are adjusted.
可选地,用户输入单元1207,还用于:Optionally, the user input unit 1207 is also used for:
接收用户对所述N个子缩略窗口中的M个子缩略窗口的第一输入,M为大于1的整数,N>M;receiving a first input from a user to M sub-thumbnail windows in the N sub-thumbnail windows, where M is an integer greater than 1, and N>M;
处理器1210,还用于:The processor 1210 is also used to:
将所述M个子缩略窗口对应的M个摄像头采集的预览图像进行图像合成,生成目标预览图像,并通过显示单元1206在所述拍摄预览界面上的主预览窗口中,显示所述目标预览图像。Perform image synthesis on the preview images collected by the M cameras corresponding to the M sub-thumbnail windows to generate a target preview image, and display the target preview image in the main preview window on the shooting preview interface through the display unit 1206 .
可选地,处理器1210,还用于:Optionally, the processor 1210 is further configured to:
获取所述拍摄预览界面上的主预览窗口中目标对象的对象类型;obtaining the object type of the target object in the main preview window on the shooting preview interface;
确定所述N个子缩略窗口中的P个子缩略窗口,所述P个子缩略窗口具有与所述对象类型相匹配的对象;determining P sub-thumbnail windows in the N sub-thumbnail windows, the P sub-thumbnail windows having objects matching the object type;
可选地,用户输入单元1207,还用于:Optionally, the user input unit 1207 is also used for:
接收用户在所述拍摄预览界面上的第三输入;receiving a third input from the user on the shooting preview interface;
处理器1210,还用于:The processor 1210 is also used to:
响应于所述第三输入,将所述拍摄预览界面上的主预览窗口的目标区域的显示内容更新为第二子缩略窗口对应的摄像头采集的预览图像;In response to the third input, updating the display content of the target area of the main preview window on the shooting preview interface to the preview image collected by the camera corresponding to the second sub-thumbnail window;
其中,所述第二子缩略窗口为所述P个子缩略窗口中的任一个,所述第二子缩略窗口是基于所述第三输入的输入特征确定的,P为正整数。Wherein, the second thumbnail sub-window is any one of the P sub-abridged windows, the second thumbnail sub-window is determined based on the input feature of the third input, and P is a positive integer.
可选地,在所述目标对象的对象类型与所述P个子缩略窗口具有的对象的类型相同的情况下,所述目标区域为所述主预览窗口中显示的预览图像中所述目标对象所在的区域;Optionally, in the case that the object type of the target object is the same as the type of objects possessed by the P sub-thumbnail windows, the target area is the target object in the preview image displayed in the main preview window. the area in which it is located;
在所述目标对象的对象类型与所述P个子缩略窗口具有的对象的类型不同的情况下,所述目标区域为所述主预览窗口中显示的预览图像中除所述目标对象所在区域之外的区域。In the case where the object type of the target object is different from the object type of the P sub-thumbnail windows, the target area is the area in the preview image displayed in the main preview window excluding the area where the target object is located outside area.
可选地,处理器1210,还用于:Optionally, the processor 1210 is further configured to:
检测N个摄像头采集的预览图像的拍摄场景;Detect the shooting scene of the preview images collected by the N cameras;
在检测到至少两个摄像头采集的预览图像的拍摄场景不同的情况下,显 示辅预览缩略窗口。When it is detected that the shooting scenes of the preview images collected by at least two cameras are different, the auxiliary preview thumbnail window is displayed.
显示单元1206还用于: Display unit 1206 is also used to:
显示提示信息,所述提示信息用于提示用户是否显示辅预览缩略窗口;Displaying prompt information, the prompt information is used to prompt the user whether to display the auxiliary preview thumbnail window;
在接收到用户对所述提示信息的第四输入的情况下,显示辅预览缩略窗口。In the case of receiving the fourth input of the prompt information by the user, an auxiliary preview thumbnail window is displayed.
可选地,所述N个子缩略窗口对应的N个摄像头的拍摄视场范围至少部分不重叠,所述N个摄像头的拍摄角度不同。Optionally, the shooting fields of view of the N cameras corresponding to the N sub-abbreviated windows do not overlap at least in part, and the shooting angles of the N cameras are different.
本申请实施例中,通过拍摄预览界面上的包括N个子缩略窗口的辅预览缩略窗口,每个子缩略窗口包括一个摄像头的预览界面,使用户能够通过对拍摄预览界面的辅预览缩略窗口的简单操作,实现预览过程中多摄像头的切换和融合,满足用户任意多角度多场景拍照的需求。In the embodiment of the present application, by shooting auxiliary preview thumbnail windows including N sub-thumbnail windows on the preview interface, each sub-thumbnail window includes a camera preview interface, so that the user can use the auxiliary preview thumbnails on the shooting preview interface. The simple operation of the window realizes the switching and integration of multiple cameras in the preview process, and meets the needs of users to take photos in any multi-angle and multi-scene.
应理解的是,本申请实施例中,输入单元1204可以包括图形处理器(Graphics Processing Unit,GPU)12041和麦克风12042,图形处理器12041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1206可包括显示面板12061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板12061。用户输入单元1207包括触控面板12071以及其他输入设备12072。触控面板12071,也称为触摸屏。触控面板12071可包括触摸检测装置和触摸控制器两个部分。其他输入设备12072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1209可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1210中。It should be understood that, in this embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042. Such as camera) to obtain still pictures or video image data for processing. The display unit 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and other input devices 12072 . The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts, a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again. Memory 1209 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1210.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述拍照方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above embodiment of the photographing method can be realized, and the same can be achieved. The technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述拍照方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An 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 of the above embodiments of the photographing method process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
本申请实施例另提供了一种计算机程序产品,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现上述拍照方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a computer program product, the program product is stored in a non-volatile storage medium, the program product is executed by at least one processor to implement each process of the above-mentioned embodiments of the photographing method, and The same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通 过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (23)

  1. 一种拍照方法,包括:A method of taking pictures, comprising:
    接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入,所述辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口包括一个摄像头的预览界面;receiving the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface, where the auxiliary preview thumbnail window includes N sub-abridged windows, each of which includes a preview interface of a camera;
    响应于所述第一输入,更新所述拍摄预览界面的显示;in response to the first input, updating the display of the shooting preview interface;
    基于更新显示后的所述拍摄预览界面,输出目标图像;outputting a target image based on the updated and displayed shooting preview interface;
    其中,所述目标图像是基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的,N为大于1的整数。The target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1.
  2. 根据权利要求1所述的方法,其中,所述接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入,包括:The method according to claim 1, wherein the receiving the user's first input to the auxiliary preview thumbnail window on the shooting preview interface comprises:
    接收用户对所述N个子缩略窗口中的第一子缩略窗口的第一输入;receiving a first input from a user to a first sub-thumbnail window in the N sub-thumbnail windows;
    所述更新所述拍摄预览界面的显示,包括:The updating of the display of the shooting preview interface includes:
    在所述拍摄预览界面上的主预览窗口中,显示所述第一子缩略窗口对应的摄像头采集的预览图像,并显示T个拍摄参数选项;In the main preview window on the shooting preview interface, the preview image collected by the camera corresponding to the first sub-thumbnail window is displayed, and T shooting parameter options are displayed;
    所述基于更新显示后的所述拍摄预览界面,输出目标图像之前,还包括:Before outputting the target image based on the updated and displayed shooting preview interface, the method further includes:
    接收用户对所述T个拍摄参数选项中的目标拍摄参数选项的第二输入;receiving a second input from the user to the target shooting parameter option in the T shooting parameter options;
    响应于所述第二输入,按照所述目标拍摄参数选项,调整所述主预览窗口中显示的预览图像的拍摄参数;In response to the second input, adjusting the shooting parameters of the preview image displayed in the main preview window according to the target shooting parameter option;
    其中,T为正整数。where T is a positive integer.
  3. 根据权利要求2所述的方法,其中,所述接收用户对所述T个拍摄参数选项中的目标拍摄参数选项的第二输入之后,所述方法还包括:The method according to claim 2, wherein after receiving the second input from the user on the target shooting parameter option in the T shooting parameter options, the method further comprises:
    按照所述目标拍摄参数选项,调整所述N个子缩略窗口中的预览图像的拍摄参数。According to the target shooting parameter option, the shooting parameters of the preview images in the N sub-thumbnail windows are adjusted.
  4. 根据权利要求1所述的方法,其中,所述接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入,包括:The method according to claim 1, wherein the receiving the user's first input to the auxiliary preview thumbnail window on the shooting preview interface comprises:
    接收用户对所述N个子缩略窗口中的M个子缩略窗口的第一输入,M为 大于1的整数,N>M;Receive the first input from the user to the M sub-abbreviated windows in the N sub-abbreviated windows, where M is an integer greater than 1, and N>M;
    所述更新所述拍摄预览界面的显示,包括:The updating of the display of the shooting preview interface includes:
    将所述M个子缩略窗口对应的M个摄像头采集的预览图像进行图像合成,生成目标预览图像,并在所述拍摄预览界面上的主预览窗口中,显示所述目标预览图像。Perform image synthesis on the preview images collected by the M cameras corresponding to the M sub-thumbnail windows to generate a target preview image, and display the target preview image in the main preview window on the shooting preview interface.
  5. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises:
    获取所述拍摄预览界面上的主预览窗口中目标对象的对象类型;obtaining the object type of the target object in the main preview window on the shooting preview interface;
    确定所述N个子缩略窗口中的P个子缩略窗口,所述P个子缩略窗口具有与所述对象类型相匹配的对象;determining P sub-thumbnail windows in the N sub-thumbnail windows, the P sub-thumbnail windows having objects matching the object type;
    接收用户在所述拍摄预览界面上的第三输入;receiving a third input from the user on the shooting preview interface;
    响应于所述第三输入,将所述拍摄预览界面上的主预览窗口的目标区域的显示内容更新为第二子缩略窗口对应的摄像头采集的预览图像;In response to the third input, updating the display content of the target area of the main preview window on the shooting preview interface to the preview image collected by the camera corresponding to the second sub-thumbnail window;
    其中,所述第二子缩略窗口为所述P个子缩略窗口中的任一个,所述第二子缩略窗口是基于所述第三输入的输入特征确定的,P为正整数。Wherein, the second thumbnail sub-window is any one of the P sub-abridged windows, the second thumbnail sub-window is determined based on the input feature of the third input, and P is a positive integer.
  6. 根据权利要求5所述的方法,其中,The method of claim 5, wherein,
    在所述目标对象的对象类型与所述P个子缩略窗口具有的对象的类型相同的情况下,所述目标区域为所述主预览窗口中显示的预览图像中所述目标对象所在的区域;In the case that the object type of the target object is the same as that of the objects possessed by the P sub-thumbnail windows, the target area is the area where the target object is located in the preview image displayed in the main preview window;
    在所述目标对象的对象类型与所述P个子缩略窗口具有的对象的类型不同的情况下,所述目标区域为所述主预览窗口中显示的预览图像中除所述目标对象所在区域之外的区域。In the case where the object type of the target object is different from the object type of the P sub-thumbnail windows, the target area is the area in the preview image displayed in the main preview window excluding the area where the target object is located outside area.
  7. 根据权利要求1所述的方法,其中,所述接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入之前,还包括:The method according to claim 1, wherein before receiving the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface, the method further comprises:
    检测N个摄像头采集的预览图像的拍摄场景;Detect the shooting scene of the preview images collected by the N cameras;
    在检测到至少两个摄像头采集的预览图像的拍摄场景不同的情况下,显示辅预览缩略窗口。When it is detected that the shooting scenes of the preview images collected by the at least two cameras are different, the auxiliary preview thumbnail window is displayed.
  8. 根据权利要求7所述的方法,其中,所述显示辅预览缩略窗口之前, 还包括:The method according to claim 7, wherein before the displaying the auxiliary preview thumbnail window, the method further comprises:
    显示提示信息,所述提示信息用于提示用户是否显示辅预览缩略窗口;Displaying prompt information, the prompt information is used to prompt the user whether to display the auxiliary preview thumbnail window;
    所述显示辅预览缩略窗口,包括:The displaying auxiliary preview thumbnail window includes:
    在接收到用户对所述提示信息的第四输入的情况下,显示辅预览缩略窗口。In the case of receiving the fourth input of the prompt information by the user, an auxiliary preview thumbnail window is displayed.
  9. 根据权利要求1所述的方法,其中,所述N个子缩略窗口对应的N个摄像头的拍摄视场范围至少部分不重叠,所述N个摄像头的拍摄角度不同。The method according to claim 1, wherein the shooting fields of view of the N cameras corresponding to the N sub-abbreviated windows do not overlap at least in part, and the shooting angles of the N cameras are different.
  10. 一种拍照装置,包括:A photographing device, comprising:
    第一接收模块,用于接收用户对拍摄预览界面上的辅预览缩略窗口的第一输入,所述辅预览缩略窗口包括N个子缩略窗口,每个子缩略窗口包括一个摄像头的预览界面;The first receiving module is used to receive the first input from the user to the auxiliary preview thumbnail window on the shooting preview interface, where the auxiliary preview thumbnail window includes N sub-thumbnail windows, and each sub-thumbnail window includes a camera preview interface ;
    第一处理模块,用于响应于所述第一输入,更新所述拍摄预览界面的显示;a first processing module, configured to update the display of the shooting preview interface in response to the first input;
    拍照模块,用于基于更新显示后的所述拍摄预览界面,输出目标图像;a photographing module for outputting a target image based on the updated and displayed photographing preview interface;
    其中,所述目标图像是基于辅预览缩略窗口中至少一个子缩略窗口对应的摄像头拍摄的图像生成的,N为大于1的整数。The target image is generated based on an image captured by a camera corresponding to at least one sub-thumbnail window in the auxiliary preview thumbnail window, and N is an integer greater than 1.
  11. 根据权利要求10所述的装置,其中,所述第一接收模块包括:The apparatus of claim 10, wherein the first receiving module comprises:
    第一接收单元,用于接收用户对所述N个子缩略窗口中的第一子缩略窗口的第一输入;a first receiving unit, configured to receive a first input from a user to a first sub-thumbnail window in the N sub-thumbnail windows;
    所述第一处理模块包括:The first processing module includes:
    第一显示单元,用于在所述拍摄预览界面上的主预览窗口中,显示所述第一子缩略窗口对应的摄像头采集的预览图像,并显示T个拍摄参数选项;a first display unit, configured to display, in the main preview window on the shooting preview interface, a preview image collected by a camera corresponding to the first sub-thumbnail window, and display T shooting parameter options;
    所述装置还包括:The device also includes:
    第二接收模块,用于接收用户对所述T个拍摄参数选项中的目标拍摄参数选项的第二输入;a second receiving module, configured to receive a second input from the user to the target shooting parameter option in the T shooting parameter options;
    第二处理模块,用于,响应于所述第二输入,按照所述目标拍摄参数选项,调整所述主预览窗口中显示的预览图像的拍摄参数;a second processing module, configured to, in response to the second input, adjust the shooting parameters of the preview image displayed in the main preview window according to the target shooting parameter option;
    其中,T为正整数。where T is a positive integer.
  12. 根据权利要求11所述的装置,其中,所述装置还包括:The apparatus of claim 11, wherein the apparatus further comprises:
    第三处理模块,用于按照所述目标拍摄参数选项,调整所述N个子缩略窗口中的预览图像的拍摄参数。The third processing module is configured to adjust the shooting parameters of the preview images in the N sub-thumbnail windows according to the target shooting parameter options.
  13. 根据权利要求10所述的装置,其中,所述第一接收模块包括:The apparatus of claim 10, wherein the first receiving module comprises:
    第二接收单元,用于接收用户对所述N个子缩略窗口中的M个子缩略窗口的第一输入,M为大于1的整数,N>M;a second receiving unit, configured to receive the first input from the user to the M sub-abbreviated windows in the N sub-abbreviated windows, where M is an integer greater than 1, and N>M;
    所述第一处理模块包括:The first processing module includes:
    第一处理单元,用于将所述M个子缩略窗口对应的M个摄像头采集的预览图像进行图像合成,生成目标预览图像,并在所述拍摄预览界面上的主预览窗口中,显示所述目标预览图像。The first processing unit is configured to perform image synthesis on the preview images collected by the M cameras corresponding to the M sub-thumbnail windows, generate a target preview image, and display the image in the main preview window on the shooting preview interface. Target preview image.
  14. 根据权利要求10所述的装置,其中,所述装置还包括:The apparatus of claim 10, wherein the apparatus further comprises:
    获取模块,用于获取所述拍摄预览界面上的主预览窗口中目标对象的对象类型;an acquisition module for acquiring the object type of the target object in the main preview window on the shooting preview interface;
    第四处理模块,用于确定所述N个子缩略窗口中的P个子缩略窗口,所述P个子缩略窗口具有与所述对象类型相匹配的对象;a fourth processing module, configured to determine P sub-abbreviated windows in the N sub-abbreviated windows, and the P sub-abbreviated windows have objects matching the object types;
    第三接收模块,用于接收用户在所述拍摄预览界面上的第三输入;a third receiving module, configured to receive a third input from the user on the shooting preview interface;
    第五处理模块,用于响应于所述第三输入,将所述拍摄预览界面上的主预览窗口的目标区域的显示内容更新为第二子缩略窗口对应的摄像头采集的预览图像;其中,所述第二子缩略窗口为所述P个子缩略窗口中的任一个,所述第二子缩略窗口是基于所述第三输入的输入特征确定的,P为正整数。a fifth processing module, configured to, in response to the third input, update the display content of the target area of the main preview window on the shooting preview interface to the preview image collected by the camera corresponding to the second thumbnail sub-window; wherein, The second thumbnail sub-window is any one of the P sub-abridged windows, the second thumbnail sub-window is determined based on the input feature of the third input, and P is a positive integer.
  15. 根据权利要求14所述的装置,其中,在所述目标对象的对象类型与所述P个子缩略窗口具有的对象的类型相同的情况下,所述目标区域为所述主预览窗口中显示的预览图像中所述目标对象所在的区域;The apparatus according to claim 14, wherein, in the case that the object type of the target object is the same as the type of the object possessed by the P sub-thumbnail windows, the target area is the one displayed in the main preview window. the area where the target object is located in the preview image;
    在所述目标对象的对象类型与所述P个子缩略窗口具有的对象的类型不同的情况下,所述目标区域为所述主预览窗口中显示的预览图像中除所述目标对象所在区域之外的区域。In the case where the object type of the target object is different from the object type of the P sub-thumbnail windows, the target area is the area in the preview image displayed in the main preview window excluding the area where the target object is located outside area.
  16. 根据权利要求10所述的装置,其中,所述装置还包括:The apparatus of claim 10, wherein the apparatus further comprises:
    检测模块,用于检测N个摄像头采集的预览图像的拍摄场景;a detection module for detecting the shooting scene of the preview images collected by the N cameras;
    第一显示模块,用于在检测到至少两个摄像头采集的预览图像的拍摄场景不同的情况下,显示辅预览缩略窗口。The first display module is configured to display an auxiliary preview thumbnail window when it is detected that the shooting scenes of the preview images collected by the at least two cameras are different.
  17. 根据权利要求16所述的装置,其中,所述装置还包括:The apparatus of claim 16, wherein the apparatus further comprises:
    第二显示模块,用于显示提示信息,所述提示信息用于提示用户是否显示辅预览缩略窗口;The second display module is used to display prompt information, and the prompt information is used to prompt the user whether to display the auxiliary preview thumbnail window;
    所述第一显示模块包括:The first display module includes:
    第二显示单元,用于在接收到用户对所述提示信息的第四输入的情况下,显示辅预览缩略窗口。The second display unit is configured to display the auxiliary preview thumbnail window when the fourth input of the prompt information by the user is received.
  18. 根据权利要求10所述的装置,其中,所述N个子缩略窗口对应的N个摄像头的拍摄视场范围至少部分不重叠,所述N个摄像头的拍摄角度不同。The device according to claim 10, wherein the shooting fields of view of the N cameras corresponding to the N sub-thumbnail windows do not overlap at least in part, and the shooting angles of the N cameras are different.
  19. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1至9中任一项所述的拍照方法的步骤。An electronic device comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, wherein the program or instruction is executed by the processor to implement the method as claimed in claim 1 Steps of the photographing method described in any one of to 9.
  20. 一种可读存储介质,所述可读存储介质上存储有程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1至9中任一项所述的拍照方法的步骤。A readable storage medium on which a program or an instruction is stored, wherein, when the program or instruction is executed by a processor, the steps of the photographing method according to any one of claims 1 to 9 are implemented .
  21. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至9中任一项所述的拍照方法的步骤。A chip, comprising a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the photographing method according to any one of claims 1 to 9 A step of.
  22. 一种计算机程序产品,其中,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1至9中任一项所述的拍照方法的步骤。A computer program product, wherein the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the photographing method according to any one of claims 1 to 9 A step of.
  23. 一种通信设备,其中,被配置为执行如权利要求1至9中任一项所述的拍照方法。A communication device configured to perform the photographing method of any one of claims 1 to 9.
PCT/CN2022/075338 2021-02-08 2022-02-07 Photographing method and apparatus, electronic device, and medium WO2022166944A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110170814.XA CN112954210B (en) 2021-02-08 2021-02-08 Photographing method and device, electronic equipment and medium
CN202110170814.X 2021-02-08

Publications (1)

Publication Number Publication Date
WO2022166944A1 true WO2022166944A1 (en) 2022-08-11

Family

ID=76243437

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/075338 WO2022166944A1 (en) 2021-02-08 2022-02-07 Photographing method and apparatus, electronic device, and medium

Country Status (2)

Country Link
CN (1) CN112954210B (en)
WO (1) WO2022166944A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112954210B (en) * 2021-02-08 2023-04-18 维沃移动通信(杭州)有限公司 Photographing method and device, electronic equipment and medium
CN113473004B (en) * 2021-06-16 2023-05-23 维沃移动通信(杭州)有限公司 Shooting method and device
CN113794831B (en) * 2021-08-13 2023-08-25 维沃移动通信(杭州)有限公司 Video shooting method, device, electronic equipment and medium
CN113747240B (en) * 2021-09-10 2023-04-07 荣耀终端有限公司 Video processing method, apparatus and storage medium
CN114286010B (en) * 2021-12-30 2023-12-26 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and medium
CN114594883A (en) * 2022-02-25 2022-06-07 北京达佳互联信息技术有限公司 Shooting method, shooting device, shooting equipment and storage medium
CN117119276A (en) * 2023-04-21 2023-11-24 荣耀终端有限公司 Underwater shooting method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140232904A1 (en) * 2013-02-21 2014-08-21 Samsung Electronics Co., Ltd. Combining effective images in electronic device having a plurality of cameras
CN107995429A (en) * 2017-12-22 2018-05-04 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN110505411A (en) * 2019-09-03 2019-11-26 RealMe重庆移动通信有限公司 Image capturing method, device, storage medium and electronic equipment
CN111159449A (en) * 2019-12-31 2020-05-15 维沃移动通信有限公司 Image display method and electronic equipment
CN111316627A (en) * 2017-09-06 2020-06-19 深圳传音通讯有限公司 Shooting method and user terminal
CN112333389A (en) * 2020-10-30 2021-02-05 维沃移动通信(杭州)有限公司 Image display control method and device and electronic equipment
CN112954210A (en) * 2021-02-08 2021-06-11 维沃移动通信(杭州)有限公司 Photographing method and device, electronic equipment and medium

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100656589B1 (en) * 2006-03-28 2006-12-13 삼성전자주식회사 Portable terminal capable of displaying and deleting division photograph pictures and method therof
KR100919982B1 (en) * 2008-01-07 2009-10-05 삼성디지털이미징 주식회사 Control method of digital camera having function of screen partition
US9124762B2 (en) * 2012-12-20 2015-09-01 Microsoft Technology Licensing, Llc Privacy camera
KR102018887B1 (en) * 2013-02-21 2019-09-05 삼성전자주식회사 Image preview using detection of body parts
CN104954692B (en) * 2015-06-30 2019-05-07 百度在线网络技术(北京)有限公司 The method and device of camera shooting is controlled by terminal device
CN109218630B (en) * 2017-07-06 2022-04-12 腾讯科技(深圳)有限公司 Multimedia information processing method and device, terminal and storage medium
CN107707823A (en) * 2017-10-18 2018-02-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN207427311U (en) * 2017-11-08 2018-05-29 深圳市凯木金科技有限公司 A kind of PLCC encapsulation plus the cobasis plate dual camera of CSP encapsulation
US11012603B2 (en) * 2018-06-08 2021-05-18 Samsung Electronics Co., Ltd Methods and apparatus for capturing media using plurality of cameras in electronic device
CN112954219A (en) * 2019-03-18 2021-06-11 荣耀终端有限公司 Multi-channel video recording method and equipment
CN110213494B (en) * 2019-07-03 2021-05-11 Oppo广东移动通信有限公司 Photographing method and device, electronic equipment and computer readable storage medium
CN111601010A (en) * 2019-07-18 2020-08-28 上海锴铨智能科技有限公司 Unified device of multichannel shooting parameter
CN112217985A (en) * 2020-08-28 2021-01-12 新奥特(北京)视频技术有限公司 Information acquisition method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140232904A1 (en) * 2013-02-21 2014-08-21 Samsung Electronics Co., Ltd. Combining effective images in electronic device having a plurality of cameras
CN111316627A (en) * 2017-09-06 2020-06-19 深圳传音通讯有限公司 Shooting method and user terminal
CN107995429A (en) * 2017-12-22 2018-05-04 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN110505411A (en) * 2019-09-03 2019-11-26 RealMe重庆移动通信有限公司 Image capturing method, device, storage medium and electronic equipment
CN111159449A (en) * 2019-12-31 2020-05-15 维沃移动通信有限公司 Image display method and electronic equipment
CN112333389A (en) * 2020-10-30 2021-02-05 维沃移动通信(杭州)有限公司 Image display control method and device and electronic equipment
CN112954210A (en) * 2021-02-08 2021-06-11 维沃移动通信(杭州)有限公司 Photographing method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN112954210B (en) 2023-04-18
CN112954210A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
WO2022166944A1 (en) Photographing method and apparatus, electronic device, and medium
WO2022063023A1 (en) Video shooting method, video shooting apparatus, and electronic device
EP2822267B1 (en) Method and apparatus for previewing a dual-shot image
US20240031668A1 (en) Photographing interface display method and apparatus, electronic device, and medium
WO2022116885A1 (en) Photographic method, apparatus, electronic device, and storage medium
CN112954196B (en) Shooting method, shooting device, electronic equipment and readable storage medium
WO2022012657A1 (en) Image editing method and apparatus, and electronic device
WO2022161260A1 (en) Focusing method and apparatus, electronic device, and medium
WO2022116961A1 (en) Photographing method, apparatus, electronic device, and readable storage medium
WO2022252660A1 (en) Video capturing method and electronic device
US11551465B2 (en) Method and apparatus for detecting finger occlusion image, and storage medium
WO2022089284A1 (en) Photographing processing method and apparatus, electronic device, and readable storage medium
CN112911147B (en) Display control method, display control device and electronic equipment
WO2023134583A1 (en) Video recording method and apparatus, and electronic device
CN112486390A (en) Display control method and device and electronic equipment
CN111669495B (en) Photographing method, photographing device and electronic equipment
WO2023083132A1 (en) Photographing method and apparatus, and electronic device and readable storage medium
WO2022156673A1 (en) Display control method and apparatus, electronic device, and medium
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
WO2022095878A1 (en) Photographing method and apparatus, and electronic device and readable storage medium
CN112653841B (en) Shooting method and device and electronic equipment
WO2022161261A1 (en) Image display method and apparatus, and electronic device
EP4258650A1 (en) Photographing method and apparatus for intelligent view-finding recommendation
CN112367467B (en) Display control method, display control device, electronic apparatus, and medium
CN114245017A (en) Shooting method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22749223

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22749223

Country of ref document: EP

Kind code of ref document: A1