Photographing method, apparatus and electronic device
By displaying multiple camera preview windows on the shooting preview interface and responding to user input, the problem of existing technologies being unable to meet various shooting needs is solved. This enables the capture of images with different camera characteristics in a single operation, improving shooting convenience and image diversity.
Patent Information
- Application Number
- CN202611540021.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-30
- Publication Date
- 2026-11-20
AI Technical Summary
In existing technologies, when users take pictures with multiple cameras on mobile terminal devices, it is impossible to meet various shooting needs, and it is necessary to switch cameras to take pictures separately to obtain images with different camera characteristics.
A shooting method and apparatus are provided, which obtain two images with different camera characteristics by displaying preview windows of two different cameras on the shooting preview interface and performing a shooting operation in response to user input, including functions such as camera switching and filter adjustment.
It enables the simultaneous capture of two images with different camera characteristics, reducing the number of shooting operations, ensuring the consistency of image capture time, meeting users' needs for multiple field-of-view images of the same scene, and improving shooting convenience.
Smart Images

Figure CN123145477A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of electronic technology, specifically relating to a shooting method, apparatus, and electronic device. Background Technology
[0002] With the continuous updates and iterations of mobile terminal devices, the camera configuration of mobile terminal devices has gradually evolved from a single camera configuration to a multi-camera configuration that includes multiple cameras such as wide-angle cameras, telephoto cameras, and front-facing cameras. These different cameras can meet the shooting needs of users in different scenarios.
[0003] In related technologies, users can use a telephoto camera to capture details of distant scenes; or a wide-angle camera to capture expansive landscapes; or a front-facing camera to take selfies.
[0004] However, the images captured by the camera in the above solutions are relatively simple and may not meet the diverse shooting needs of users. Summary of the Invention
[0005] The purpose of this application is to provide a shooting method, device, and electronic device that allows a user to obtain two images with different camera shooting characteristics in a single shooting operation, without the need for the user to switch cameras to shoot separately. This reduces the number of shooting operations and ensures that the two images are captured at the same time, meeting the user's need to record different fields of view of the same scene using different cameras, and improving the convenience of shooting images with different camera characteristics.
[0006] In a first aspect, embodiments of this application provide a shooting method, the method comprising: receiving a first input to a shooting preview interface; in response to the first input, displaying a first shooting preview window and a second shooting preview window on the shooting preview interface; the first shooting preview window including a preview image captured by a first camera; the second shooting preview window including a preview image captured by a second camera; the first camera and the second camera including any two of the following: a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, and a front-facing camera; and in response to the shooting input, capturing a first image and a second image through the first camera and the second camera.
[0007] In some embodiments of this application, the first shooting preview window includes a camera switching control, which is used to switch the camera that captures the preview image displayed in the first shooting preview window; the method further includes: when the first shooting preview window includes a preview image captured by a first camera, receiving a second input from the user to the camera switching control in the first shooting preview window; in response to the second input, displaying a preview image captured by a third camera in the first shooting preview window; wherein the third camera is different from the second camera.
[0008] In some embodiments of this application, the camera switching control includes M camera identifiers, each camera identifier corresponding to one camera, where M is an integer greater than 1; the method further includes: when the first shooting preview window includes a preview image captured by the camera indicated by the first camera identifier, receiving a third input from the user for a second camera identifier; the first camera identifier is any one of the M camera identifiers; the second camera identifier is any one of the M camera identifiers other than the first camera identifier; in response to the third input, displaying the preview image captured by the camera indicated by the second camera identifier in the first shooting preview window.
[0009] In some embodiments of this application, the first shooting preview window includes a filter adjustment control, which is used to adjust the filter type of the preview image in the first shooting preview window; the method further includes: receiving a fourth input from the user to the filter adjustment control in the first shooting preview window; in response to the fourth input, displaying N filter identifiers in the first shooting preview window, each filter identifier corresponding to a filter type, where N is an integer greater than 1.
[0010] In some embodiments of this application, the method further includes: when the filter type corresponding to the preview image in the first shooting preview window is the first filter type indicated by the first filter identifier, receiving a fifth input from the user for the second filter identifier, wherein the first filter identifier is any one of the N filter identifiers, and the second filter identifier is any one of the N filter identifiers other than the first filter identifier; in response to the fifth input, displaying a preview image of the second filter type indicated by the second filter identifier in the first shooting preview window.
[0011] In some embodiments of this application, the preview image in the first shooting preview window is a preview image of a third filter type indicated by a third filter identifier, and the preview image in the second shooting preview window is a preview image of a fourth filter type indicated by a fourth filter identifier. The third filter identifier and the fourth filter identifier are any two filter identifiers among the N filter identifiers. The above-mentioned shooting the first image and the second image through the first camera and the second camera includes: shooting the first image of the third filter type and the second image of the fourth filter type through the first camera and the second camera.
[0012] In some embodiments of this application, the shooting preview interface includes a dynamic image control for turning the dynamic image shooting mode on or off; the method further includes: receiving a sixth input from the user to the dynamic image control when the dynamic image control is in a first display state, the first display state indicating that the dynamic image shooting mode is off; in response to the sixth input, displaying the dynamic image control in a second display state, the second display state indicating that the dynamic image shooting mode is on; and in response to the shooting input, capturing a first dynamic image and a second dynamic image using the first camera and the second camera.
[0013] In some embodiments of this application, the method further includes: when the dynamic image control is in a first display state, in response to the shooting input, capturing a first static image and a second static image through the first camera and the second camera; wherein the field of view of the first static image and the second static image are different.
[0014] In some embodiments of this application, when the aforementioned shooting preview interface is displayed on the screen of a foldable electronic device, and when the foldable electronic device is in a folded state and displays a shooting preview window, a seventh input from the user is received, the seventh input being used to unfold the foldable electronic device; the shooting preview window displayed by the foldable electronic device is a shooting preview window for any one camera; in response to the seventh input, a multi-camera control is displayed on the shooting preview interface, the multi-camera control being used to turn the multi-camera mode on or off; the aforementioned display of a first shooting preview window and a second shooting preview window on the shooting preview interface in response to the first input includes: in response to the first input to the multi-camera control displayed on the shooting preview interface, displaying a first shooting preview window and a second shooting preview window on the shooting preview interface.
[0015] In some embodiments of this application, the method further includes: when the multi-camera control is displayed in the shooting preview interface, receiving an eighth input from the user, the eighth input being used to fold the foldable screen electronic device; in response to the eighth input, hiding the multi-camera control displayed in the shooting preview interface, and displaying the shooting preview window in the shooting preview interface.
[0016] In some embodiments of this application, the first camera is a front-facing camera and the second camera is a telephoto camera; the action of capturing a first image and a second image in response to a shooting input includes: capturing a first image and a second image in response to a shooting input using the front-facing camera and the telephoto camera.
[0017] In some embodiments of this application, the first camera is a wide-angle camera and the second camera is a telephoto camera; the above-mentioned capturing a first image and a second image in response to a shooting input includes: capturing a first image and a second image in response to a shooting input using the wide-angle camera and the telephoto camera.
[0018] In some embodiments of this application, the method further includes: in response to the fourth input, displaying a rollback control and the N filter icons in the first shooting preview window; after receiving the user's fifth input on the second filter icon, the method further includes: receiving the user's ninth input on the rollback control; in response to the ninth input, hiding the rollback control and the N filter icons displayed in the first shooting preview window, and displaying the camera switching control in the first shooting preview window.
[0019] In some embodiments of this application, after capturing the first image and the second image using the first camera and the second camera, the method further includes: receiving a tenth input from a user, the tenth input being used to open a photo album application; and in response to the tenth input, displaying a photo album application interface, the photo album application interface including a thumbnail of the first image and a thumbnail of the second image; the display position of the thumbnail of the first image being adjacent to the display position of the thumbnail of the second image.
[0020] In some embodiments of this application, the shooting preview interface includes a shooting mode control; the shooting mode control includes at least one of the following: landscape control, portrait control, photo control, video recording control, and ultra-high-definition document control; the method further includes: in response to the first input to the multi-camera control displayed in the shooting preview interface, displaying a first prompt message and hiding the shooting mode control; the first prompt message is used to prompt the user that the foldable screen electronic device has enabled the multi-camera mode; when the multi-camera mode is enabled, multiple still images or moving images captured by different cameras are captured in one shot.
[0021] In some embodiments of this application, after displaying the first prompt information and hiding the shooting mode control, the method further includes: receiving an eleventh input from the user to the multi-camera control; in response to the eleventh input, displaying a second prompt information and the shooting mode control, wherein the second prompt information is used to prompt the user that the foldable screen electronic device has turned off the multi-camera mode; and when the multi-camera mode is turned off, taking a single still image or moving image captured by one camera at a time.
[0022] Secondly, embodiments of this application provide a shooting device, which includes: a receiving module for receiving a first input to a shooting preview interface; a display module for displaying a first shooting preview window and a second shooting preview window on the shooting preview interface in response to the first input; the first shooting preview window including a preview image captured by a first camera; the second shooting preview window including a preview image captured by a second camera; the first camera and the second camera including any two of the following: a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, and a front-facing camera; and a shooting module for capturing a first image and a second image through the first camera and the second camera in response to the shooting input.
[0023] In some embodiments of this application, the first shooting preview window includes a camera switching control, which is used to switch the camera that captures the preview image displayed in the first shooting preview window; the receiving module is further configured to receive a second input from the user to the camera switching control in the first shooting preview window when the first shooting preview window includes a preview image captured by the first camera, wherein the first shooting preview window is any one of the N shooting preview windows; the display module is further configured to display a preview image captured by a third camera in the first shooting preview window in response to the second input; wherein the third camera is different from the second camera.
[0024] In some embodiments of this application, the camera switching control includes M camera identifiers, each camera identifier corresponding to one camera, where M is an integer greater than 1; the receiving module is further configured to receive a third input from the user for a second camera identifier when the first shooting preview window includes a preview image captured by the camera indicated by the first camera identifier; the first camera identifier is any one of the M camera identifiers, and the second camera identifier is any one of the M camera identifiers other than the first camera identifier; the display module is further configured to, in response to the third input, display the preview image captured by the camera indicated by the second camera identifier in the first shooting preview window.
[0025] In some embodiments of this application, the first shooting preview window includes a filter adjustment control, which is used to adjust the filter type of the preview image in the first shooting preview window; the receiving module is further used to receive a fourth input from the user to the filter adjustment control in the first shooting preview window; the display module is further used to respond to the fourth input by displaying N filter identifiers in the first shooting preview window, each filter identifier corresponding to a filter type, where N is an integer greater than 1.
[0026] In some embodiments of this application, the receiving module is further configured to receive a fifth input from the user regarding the second filter identifier when the filter type corresponding to the preview image in the first shooting preview window is the first filter type indicated by the first filter identifier; the first filter identifier is any one of the N filter identifiers; the second filter identifier is any one of the N filter identifiers other than the first filter identifier; the display module is further configured to, in response to the fifth input, display a preview image of the second filter type indicated by the second filter identifier in the first shooting preview window.
[0027] In some embodiments of this application, the preview image in the first shooting preview window is a preview image of the third filter type indicated by the third filter identifier, and the preview image in the second shooting preview window is a preview image of the fourth filter type indicated by the fourth filter identifier. The third filter identifier and the fourth filter identifier are any two filter identifiers among the N filter identifiers. The shooting module is specifically used to: capture the first image of the third filter type and the second image of the fourth filter type through the first camera and the second camera.
[0028] In some embodiments of this application, the shooting preview interface includes a dynamic image control, which is used to turn the dynamic image shooting mode on or off; the receiving module is further configured to receive a sixth input from the user to the dynamic image control when the dynamic image control is in a first display state, the first display state being used to indicate that the dynamic image shooting mode is off; the display module is further configured to display the dynamic image control in a second display state in response to the sixth input, the second display state being used to indicate that the dynamic image shooting mode is on; the shooting module is further configured to capture a first dynamic image and a second dynamic image through the first camera and the second camera in response to the shooting input.
[0029] In some embodiments of this application, the above-mentioned shooting module is further configured to, in response to the shooting input, capture a first static image and a second static image through the first camera and the second camera when the above-mentioned dynamic image control is in a first display state; wherein the field of view of the first static image and the second static image are different.
[0030] In some embodiments of this application, when the aforementioned shooting preview interface is displayed on the screen of the foldable screen electronic device, the receiving module is further configured to receive a seventh input from the user when the foldable screen electronic device is in a folded state and the foldable screen electronic device displays a shooting preview window, the seventh input being used to unfold the foldable screen electronic device; the shooting preview window displayed by the foldable screen electronic device is a shooting preview window of any one camera; the display module is further configured to display a multi-camera control on the shooting preview interface in response to the aforementioned seventh input, the multi-camera control being used to turn the multi-camera mode on or off; specifically, the display module is configured to: in response to the aforementioned first input to the multi-camera control displayed on the shooting preview interface, display a first shooting preview window and a second shooting preview window on the shooting preview interface.
[0031] In some embodiments of this application, the receiving module is further configured to receive an eighth input from the user when the multi-camera control is displayed in the shooting preview interface, the eighth input being used to fold the foldable screen electronic device; the display module is further configured to hide the multi-camera control displayed in the shooting preview interface in response to the eighth input, and to display a shooting preview window in the shooting preview interface.
[0032] In some embodiments of this application, the first camera is a front-facing camera and the second camera is a telephoto camera; the shooting module is specifically used to: in response to shooting input, capture a first image and a second image through the front-facing camera and the telephoto camera.
[0033] In some embodiments of this application, the first camera is a wide-angle camera and the second camera is a telephoto camera; the shooting module is specifically used to: in response to shooting input, capture a first image and a second image through the wide-angle camera and the telephoto camera.
[0034] In some embodiments of this application, the display module is further configured to, in response to the fourth input, display the back control and the N filter icons in the first shooting preview window; the receiving module is further configured to, after receiving the user's fifth input to the second filter icon, receive the user's ninth input to the back control; the display module is further configured to, in response to the ninth input, hide the back control and the N filter icons displayed in the first shooting preview window, and display the camera switching control in the first shooting preview window.
[0035] In some embodiments of this application, the receiving module is further configured to receive a tenth input from the user after the shooting module captures the first image and the second image through the first camera and the second camera, the tenth input being used to open a photo album application; the display module is further configured to display a photo album application interface in response to the tenth input received by the receiving module, the photo album application interface including a thumbnail of the first image and a thumbnail of the second image; the display position of the thumbnail of the first image is adjacent to the display position of the thumbnail of the second image.
[0036] In some embodiments of this application, the shooting preview interface includes a shooting mode control; the shooting mode control includes at least one of the following: landscape control, portrait control, photo control, video recording control, and ultra-high-definition document control; the display module is further configured to respond to the first input to the multi-camera control displayed in the shooting preview interface, display a first prompt message, and hide the shooting mode control; the first prompt message is used to prompt the user that the foldable screen electronic device has enabled the multi-camera mode; when the multi-camera mode is enabled, multiple still images or moving images captured by different cameras are captured in one shot.
[0037] In some embodiments of this application, the receiving module is further configured to receive an eleventh input from the user to the multi-camera control after the display module displays the first prompt information and hides the shooting mode control; the display module is further configured to display a second prompt information and the shooting mode control in response to the eleventh input; the second prompt information is used to prompt the user that the foldable screen electronic device has turned off the multi-camera mode, and in the case that the multi-camera mode is turned off, a single static image or dynamic image captured by a single camera is captured at one time.
[0038] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the shooting method as described in the first aspect.
[0039] Fourthly, embodiments of this application provide a readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the shooting method as described in the first aspect.
[0040] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the shooting method as described in the first aspect.
[0041] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the shooting method as described in the first aspect.
[0042] In this embodiment, a first input to the shooting preview interface is received; in response to the first input, a first shooting preview window and a second shooting preview window are displayed on the shooting preview interface; the first shooting preview window includes a preview image captured by a first camera; the second shooting preview window includes a preview image captured by a second camera; the first camera and the second camera include any two of the following: a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, and a front-facing camera; in response to the shooting input, a first image and a second image are captured by the first camera and the second camera. This solution displays two preview windows on the shooting preview interface, each containing preview images captured by a different camera. Users can simultaneously preview these images and, through a shooting input, trigger the electronic device to capture two different images using the corresponding cameras in each preview window. This allows users to capture two images with different compositions simultaneously. Since the first and second images are captured by different cameras, they possess the advantages of each camera's capabilities. For example, a wide-angle camera provides a larger field of view, while a telephoto camera offers higher magnification and resolution. This allows users to obtain two images with different camera characteristics in a single shooting operation, eliminating the need to switch cameras. This reduces the number of shooting operations and ensures that the two images are captured at the same time, satisfying users' needs to record different fields of view of the same scene using different cameras. It improves the convenience of capturing images with different camera characteristics, avoids the problem of a single image failing to meet multiple user needs, and achieves the effect of capturing images from two different cameras in a single shot, thus increasing the diversity of captured images. Attached Figure Description
[0043] Figure 1 This is a flowchart of a shooting method provided in some embodiments of this application;
[0044] Figure 2 This is a schematic diagram of the camera preview interface of a mobile phone in a folded state provided in some embodiments of this application;
[0045] Figure 3 This is a schematic diagram of the camera preview interface of a mobile phone in a folded state provided in some embodiments of this application;
[0046] Figure 4 This is a schematic diagram of the shooting preview interface of a mobile phone in the unfolded state provided in some embodiments of this application;
[0047] Figure 5 This is a schematic diagram of the shooting preview interface of a mobile phone in the unfolded state provided in some embodiments of this application;
[0048] Figure 6 These are schematic diagrams of user touch multi-camera controls provided in some embodiments of this application;
[0049] Figure 7 This is a schematic diagram of a shooting preview window provided in some embodiments of this application;
[0050] Figure 8 These are schematic diagrams of user touch multi-camera controls provided in some embodiments of this application;
[0051] Figure 9 This is a schematic diagram of a shooting preview window provided in some embodiments of this application;
[0052] Figure 10 This is a schematic diagram of a user touch camera switching control provided in some embodiments of this application;
[0053] Figure 11 This is a schematic diagram of a shooting preview window provided in some embodiments of this application;
[0054] Figure 12 This is a schematic diagram of a user touch camera switching control provided in some embodiments of this application;
[0055] Figure 13 This is a schematic diagram of a shooting preview window provided in some embodiments of this application;
[0056] Figure 14 This is a schematic diagram of a user touch filter adjustment control provided in some embodiments of this application;
[0057] Figure 15 This is a schematic diagram of filter identifiers provided in some embodiments of this application;
[0058] Figure 16 This is a schematic diagram of a user touch filter adjustment control provided in some embodiments of this application;
[0059] Figure 17 This is a schematic diagram of filter identifiers provided in some embodiments of this application;
[0060] Figure 18 This is a schematic diagram of a user touch filter identifier provided in some embodiments of this application;
[0061] Figure 19 This is a schematic diagram of a shooting preview window provided in some embodiments of this application;
[0062] Figure 20 This is a schematic diagram of a user touch filter identifier provided in some embodiments of this application;
[0063] Figure 21 This is a schematic diagram of a shooting preview window provided in some embodiments of this application;
[0064] Figure 21 This is a schematic diagram of a shooting preview window provided in some embodiments of this application;
[0065] Figure 22 This is a schematic diagram of user touch dynamic image identifiers provided in some embodiments of this application;
[0066] Figure 23 This is a schematic diagram of a shooting preview window provided in some embodiments of this application;
[0067] Figure 24 This is a schematic diagram of user touch dynamic image identifiers provided in some embodiments of this application;
[0068] Figure 25 This is a schematic diagram of a shooting preview window provided in some embodiments of this application;
[0069] Figure 26 These are schematic diagrams of user foldable phones provided in some embodiments of this application;
[0070] Figure 27 These are schematic diagrams of user foldable phones provided in some embodiments of this application;
[0071] Figure 28 This is a schematic diagram of a user touch back control provided in some embodiments of this application;
[0072] Figure 29 This is a schematic diagram of a shooting preview window provided in some embodiments of this application;
[0073] Figure 30 This is a schematic diagram of a user touch back control provided in some embodiments of this application;
[0074] Figure 31 This is a schematic diagram of a shooting preview window provided in some embodiments of this application;
[0075] Figure 32 These are schematic diagrams illustrating a user clicking the album application icon on a mobile phone desktop, provided in some embodiments of this application;
[0076] Figure 33 These are schematic diagrams of the photo album application interface provided in some embodiments of this application;
[0077] Figure 34 These are schematic diagrams illustrating a user clicking the album application icon on a mobile phone desktop, provided in some embodiments of this application;
[0078] Figure 35 These are schematic diagrams of the photo album application interface provided in some embodiments of this application;
[0079] Figure 36 These are schematic diagrams of user touch multi-camera controls provided in some embodiments of this application;
[0080] Figure 37 This is a schematic diagram of the first prompt information provided in some embodiments of this application;
[0081] Figure 38 These are schematic diagrams of user touch multi-camera controls provided in some embodiments of this application;
[0082] Figure 39 This is a schematic diagram of the first prompt information provided in some embodiments of this application;
[0083] Figure 40 These are schematic diagrams of user touch multi-camera controls provided in some embodiments of this application;
[0084] Figure 41 This is a schematic diagram of the second prompt information provided in some embodiments of this application;
[0085] Figure 42 These are schematic diagrams of user touch multi-camera controls provided in some embodiments of this application;
[0086] Figure 43 This is a schematic diagram of the second prompt information provided in some embodiments of this application;
[0087] Figure 44 These are schematic diagrams of the imaging devices provided in some embodiments of this application;
[0088] Figure 45 These are schematic diagrams of the electronic devices provided in some embodiments of this application;
[0089] Figure 46 These are schematic diagrams of the hardware structure of electronic devices provided in some embodiments of this application. Detailed Implementation
[0090] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0091] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0092] The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more items, and its meaning is similar to that of "at least one."
[0093] The following explains some concepts and terms involved in the shooting method, device and electronic device provided in the embodiments of this application.
[0094] Interface: This refers to the visual interface through which users interact with electronic devices, such as mobile phones. It serves as the medium for information presentation and input / output within a hardware or software system. Electronic devices can display an interface on a screen, allowing users to interact with the device through touch, clicks, or gestures. The interface can include elements such as icons, buttons, menus, text, and labels.
[0095] Controls: A control is a graphical user interface element and a basic building block of the user interface, such as a window or text box. It is displayed in the program interface of any application. Controls can be buttons, text boxes, labels, etc., and are used to control all the data processed by each application and the interactive operations on that data.
[0096] Identifiers: In this application, identifiers are text, symbols, images, etc. used to indicate information. They can be used as carriers for displaying information, including but not limited to text identifiers, image identifiers, symbol identifiers, etc.
[0097] Applications: In this embodiment, the electronic device may have multiple applications (APPs) installed, and icons of these applications may be displayed on the home screen of the electronic device. The applications in this embodiment may be embedded applications (i.e., system applications of the electronic device) or downloadable applications. Embedded applications are applications provided as part of the implementation of the electronic device. Downloadable applications are applications that can provide their own Internet Protocol Multimedia Subsystem (IMS) connectivity. The downloadable application may be an application pre-installed on the electronic device or a third-party application downloaded and installed by the user. As an example, applications may include: social applications, image management applications (e.g., photo albums), map applications (e.g., maps), browser applications, music applications, etc.
[0098] The following description, in conjunction with the accompanying drawings, details the imaging method, apparatus, and electronic equipment provided in this application through specific embodiments and application scenarios.
[0099] The embodiments of this application can be applied to shooting scenarios. For example:
[0100] Scenario 1: A scenario where a user takes images using both the front and rear cameras.
[0101] Scenario 2: A scenario where a user takes images using a wide-angle camera and a telephoto camera.
[0102] Scenario 3: A scenario where a user takes images using an ultra-wide-angle camera and a telephoto camera.
[0103] The following uses some specific scenarios from the embodiments of this application as examples to illustrate the shooting method provided in the embodiments of this application.
[0104] For example, scenario 1: Users can take pictures at a concert using the front and rear cameras of a foldable phone. The user can take a selfie with the front camera and film the dancers at the concert with the rear camera.
[0105] For example, scenario 2: Users can take pictures at a concert using the telephoto and wide-angle cameras of a foldable phone. The telephoto camera can be used to take close-up shots of the dancers on stage, and the wide-angle camera can be used to capture panoramic images of the concert.
[0106] For example, scenario 3: Users can take pictures using the telephoto and ultra-wide-angle cameras on their tablets while hiking. The telephoto camera can capture close-up shots of distant birds, while the ultra-wide-angle camera can capture the magnificent mountain scenery.
[0107] It should be noted that scenarios 1 to 3 above are merely exemplary examples of some scenarios that may be applied to the embodiments of this application. In actual implementation, the embodiments of this application can also be applied to any possible scenario where shooting is required. The embodiments of this application are not limited here.
[0108] The subject executing the shooting method provided in this application embodiment can be a shooting device, which can be an electronic device, or a functional module or functional entity within an electronic device. The following uses an electronic device as an example to illustrate the technical solution provided in this application embodiment.
[0109] Figure 1 A flowchart of a shooting method provided in an embodiment of this application is shown, such as... Figure 1 As shown, the shooting method provided in this application embodiment may include the following steps 201 to 203.
[0110] Step 201: The electronic device receives the first input to the shooting preview interface.
[0111] In some embodiments of this application, the device type of the aforementioned electronic device includes any one of the following: foldable screen phone, candybar phone, and tablet computer. Of course, the device type of the aforementioned electronic device can also be other device types, which can be determined according to actual needs, and this application does not limit this.
[0112] In some embodiments of this application, the shooting preview interface described above can be the application interface of a camera application.
[0113] For example, taking scenario 1 as an example, such as Figure 2 As shown, after the user opens the camera application, the shooting preview interface displayed on the foldable screen phone includes the user's selfie taken with the front camera. This includes the user's selfie image 30, camera switching controls 31, filter adjustment controls 32, dynamic image controls 33, and shooting mode controls 34 to 38.
[0114] It should be noted that for specific descriptions of the camera switching control, filter adjustment control, dynamic image control, and shooting mode control, please refer to the relevant descriptions in the following embodiments. To avoid repetition, this application will not repeat them here.
[0115] For example, taking scenario 2 as an example, such as Figure 3As shown, after the user opens the camera application, the shooting preview interface displayed on the foldable phone includes footage of the concert captured by the wide-angle camera. This includes dancers (39) and the stage (40), camera switching controls (41), filter adjustment controls (42), dynamic image controls (43), and shooting mode controls (44 to 48).
[0116] In some embodiments of this application, the first input includes at least one of the following: the user inputs data to the electronic device via touch using a finger or stylus, the user inputs a voice command, or the user inputs a specific gesture. Of course, the first input can also be other feasible inputs. The specific input can be determined according to actual needs, and this application does not limit it.
[0117] In some embodiments of this application, the first input is used to control the electronic device to display a first shooting preview window and a second shooting preview window.
[0118] In some embodiments of this application, the touch input includes at least one of the following: single-click input, double-click input, any number of clicks input, long-press input, and short-press input.
[0119] In some embodiments of this application, the specific gestures mentioned above include at least one of the following: a single-click gesture, a swipe gesture, a drag gesture, a pressure-recognition gesture, a long-press gesture, an area-change gesture, a double-press gesture, and a double-tap gesture.
[0120] In some embodiments of this application, the first input to the shooting preview interface can be the input to the multi-camera control in the shooting preview interface.
[0121] In some embodiments of this application, the multi-camera control described above is used to enable the multi-camera mode of the electronic device. Specifically, when the multi-camera mode is enabled, the electronic device can display multiple shooting preview windows in the shooting preview area, and can capture multiple images at once using different cameras based on the shooting input.
[0122] In some embodiments of this application, when the electronic device is a foldable screen electronic device, the electronic device can detect the unfolded state of the electronic device and the currently displayed interface in real time, and when the interface displayed by the electronic device is a shooting preview interface and the electronic device is in the unfolded state, the multi-camera control is displayed in the shooting preview area.
[0123] For example, taking scenario 1 as an example, combined with Figure 2 ,like Figure 4 As shown, after the user unfolds the foldable phone, if the phone detects that it is currently in the unfolded state and displays the shooting preview interface, it can display the multi-camera control 49 in the shooting preview interface.
[0124] For example, taking scenario 2 as an example, combined with Figure 3 ,like Figure 5 As shown, after the user unfolds the foldable phone, the phone detects that it is currently in the unfolded state and displays the shooting preview interface, and then displays the multi-camera control 50 in the shooting preview interface.
[0125] Step 202: In response to the first input, the electronic device displays a first shooting preview window and a second shooting preview window on the shooting preview interface.
[0126] In some embodiments of this application, before receiving the first input, the electronic device displays only one shooting preview window on the shooting preview interface. The shooting preview window includes a preview image captured by the default camera of the electronic device. After receiving the first input, the electronic device can respond to the first input by simultaneously displaying a first shooting preview window and a second shooting preview window on the shooting preview interface.
[0127] In some embodiments of this application, the default camera includes any one of the following: a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, and a front-facing camera. Of course, the default camera can also be other cameras in the electronic device, and the specific choice can be determined according to actual needs; this application does not limit this.
[0128] In some embodiments of this application, the first shooting preview window includes a preview image captured by the first camera, and the second shooting preview window includes a preview image captured by the second camera. The first camera and the second camera include any two of the following: a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, and a front-facing camera.
[0129] In some embodiments of this application, the aforementioned front-facing camera refers to a camera located on the side of the mobile phone screen for users to take selfies.
[0130] In some embodiments of this application, the aforementioned front-facing camera refers to a camera disposed on the side of the electronic device's display panel, and whose orientation is the same as the light emission direction of the display panel.
[0131] In some embodiments of this application, the aforementioned telephoto camera refers to a camera with a small field of view and a long equivalent focal length, used to capture details of distant objects.
[0132] In some embodiments of this application, the aforementioned wide-angle camera refers to a camera with a large field of view and a short equivalent focal length, used to capture wide scenes at close range.
[0133] For example, taking scenario 1 as an example, combined with Figure 4 ,like Figure 6 As shown, users can tap the multi-camera control 49 to trigger the foldable phone to display the image. Figure 7The first shooting preview window 51 and the second shooting preview interface 55 are shown. The first shooting preview window 51 includes a selfie image 52 captured by the user through the front camera of the foldable screen phone, and the second shooting preview interface 55 includes an image 56 of the dancer captured by the user through the rear camera of the foldable screen phone. In addition, the first shooting preview window 51 also includes a camera switching control 54 and a filter adjustment control 53; the second shooting preview window 55 also includes a camera switching control 58 and a filter adjustment control 57.
[0134] For example, taking scenario 2 as an example, combined with Figure 5 ,like Figure 8 As shown, users can tap the multi-camera control 50 to trigger the foldable phone to display the image. Figure 9 The first shooting preview window 59 and the second shooting preview window 64 are shown. The first shooting preview window 59 includes a panoramic view of the stage captured by the user through the wide-angle camera of the foldable screen phone, including dancer image 61 and stage image 60. The second shooting preview window 64 includes dancer image 65 captured by the user through the telephoto camera of the foldable screen phone. In addition, the first shooting preview window 59 also includes a camera switching control 63 and a filter adjustment control 62; the second shooting preview window 64 also includes a camera switching control 67 and a filter adjustment control 66.
[0135] In some embodiments of this application, the size of the first shooting preview window can be the same as the size of the second shooting preview window, or the size of the first shooting preview window can be different from the size of the second shooting preview window. The specific size can be determined according to actual needs, and this application does not limit it.
[0136] In some embodiments of this application, the electronic device may also respond to the first input by displaying K shooting preview windows on the shooting preview interface, where K is an integer greater than 2, and each shooting preview window includes a preview image captured by a camera.
[0137] In some embodiments of this application, the cameras corresponding to the preview images displayed in the K preview windows can all be the same. Alternatively, the cameras corresponding to the preview images displayed in the K preview windows can be partially the same. Or, the cameras corresponding to the preview images displayed in the K preview windows can all be different.
[0138] In some embodiments of this application, the camera type may include at least one of the following: a front-facing camera, a rear-facing camera, a wide-angle camera, a telephoto camera, and an ultra-wide-angle camera. Of course, the camera type may also include other camera types, which can be determined according to actual needs, and this application does not limit this.
[0139] In some embodiments of this application, the aforementioned rear camera refers to a camera disposed on the side of the electronic device away from the display panel, and whose orientation is opposite to the light emission direction of the display panel.
[0140] In some embodiments of this application, the window sizes of the K shooting preview windows can all be the same. Alternatively, the sizes of the K shooting preview windows can be partially the same. Or, the sizes of the K shooting preview windows can all be different.
[0141] Step 203: In response to the shooting input, the electronic device captures a first image and a second image through the first camera and the second camera.
[0142] In some embodiments of this application, the first image and the second image are images captured by different cameras. For example, if the first image is captured by a front-facing camera, the second image may be captured by a telephoto camera; or, if the first image is captured by a wide-angle camera, the second image may be captured by a telephoto camera.
[0143] In some embodiments of this application, the aforementioned shooting input can be a touch input to the shooting control. Of course, the aforementioned shooting input can also be other forms of input to trigger the electronic device to take a picture, such as a user's voice command, a user double-clicking the volume button, etc., which can be determined according to actual needs, and this application does not limit it.
[0144] In some embodiments of this application, when the electronic device displays K shooting preview windows, the electronic device can also capture K images in response to shooting input. Specifically, the electronic device can capture K images based on the filter parameters corresponding to the K shooting preview windows using the cameras corresponding to the K shooting preview windows in response to shooting input.
[0145] In some embodiments of this application, the electronic device can, in response to a shooting input, capture K images based on filter parameters corresponding to the K shooting preview windows via cameras corresponding to the K shooting preview windows.
[0146] In some embodiments of this application, the electronic device can, in response to a shooting input, capture K images based on the filter parameters corresponding to each of the K shooting preview windows via cameras corresponding to the K shooting preview windows.
[0147] It is understood that in the shooting method proposed in this application, the electronic device can take multiple images based on the filter parameters corresponding to different shooting preview windows, thereby avoiding the problem that a single image cannot meet the user's multiple needs and improving the diversity of the captured images.
[0148] In some embodiments of this application, the user can switch the camera that captures the preview image in the preview window using the camera switching control in the preview window before triggering the electronic device to capture the first image and the second image.
[0149] It should be noted that, for the specific implementation process of switching the camera that captures the preview image in the shooting preview window through the camera switching control in the shooting preview window before the user triggers the electronic device to capture the first image and the second image, please refer to the relevant description in the following embodiments. To avoid repetition, this application will not repeat it here.
[0150] In some embodiments of this application, the user can adjust the filter type of the preview image in the shooting preview window by means of the filter adjustment control in the shooting preview window before triggering the electronic device to shoot the first image and the second image. The specific implementation process can be found in the relevant description in the following embodiments. To avoid repetition, this application will not repeat it here.
[0151] It should be noted that the specific implementation process of adjusting the filter type of the preview image in the shooting preview window by means of the filter adjustment control in the shooting preview window before the user triggers the electronic device to shoot the first image and the second image can be found in the relevant description in the following embodiments. To avoid repetition, this application will not repeat it here.
[0152] It is understood that in the shooting method proposed in this application, the electronic device can display two shooting preview windows on the shooting preview interface, and display the images captured by the front camera and the images captured by the rear camera in the two shooting preview windows respectively. This allows the user to preview multiple preview images simultaneously on the shooting preview interface and make shooting inputs, triggering the electronic device to capture multiple images through the cameras corresponding to the multiple shooting preview windows. This avoids the problem that a single captured image cannot meet the user's multiple needs and improves the diversity of captured images.
[0153] This application provides a shooting method. In this method, two shooting preview windows, each containing preview images captured by a different camera, can be displayed on the shooting preview interface. This allows the user to simultaneously preview the preview images captured by different cameras on the shooting preview interface. By inputting a shooting command, the electronic device is triggered to capture two different images through the different cameras corresponding to the two shooting preview windows. This allows the user to capture two images with different compositions at the same time. Since the first and second images are captured by different cameras, they possess the advantages of each camera's capabilities. For example, images captured by a wide-angle camera have a larger field of view, while images captured by a telephoto camera have higher magnification and resolution. This allows the user to obtain two images with different camera characteristics in a single shooting operation, eliminating the need to switch cameras for separate shooting. This reduces the number of shooting operations and ensures that the two images are captured at the same time, meeting the user's need to record different fields of view of the same scene using different cameras. It improves the convenience of capturing images with different camera characteristics, avoids the problem that a single captured image cannot meet the user's diverse needs, and achieves the effect of capturing images through two different cameras in a single shooting operation, thus increasing the diversity of captured images.
[0154] In some embodiments of this application, the first shooting preview window includes a camera switching control, which is used to switch the camera that captures the preview image displayed in the first shooting preview window. The shooting method provided in this application also includes the following steps 300a and 300b.
[0155] Step 300a: When the first shooting preview window includes a preview image captured by the first camera, the electronic device receives a second input from the user to the camera switching control in the first shooting preview window.
[0156] In some embodiments of this application, when K shooting preview windows are displayed on the shooting preview interface, the first shooting preview window is any one of the K shooting preview windows.
[0157] In some embodiments of this application, when K shooting preview windows are displayed on the shooting preview interface, each shooting preview window may include a camera switching control. The camera switching control included in each shooting preview window is used to switch the acquisition camera corresponding to the preview image in that shooting preview window.
[0158] In some embodiments of this application, the second input includes at least one of the following: the user inputs data to the electronic device via touch using a finger or stylus, the user inputs a voice command, or the user inputs a specific gesture. Of course, the second input can also be other feasible inputs. The specific input can be determined according to actual needs, and this application does not limit it.
[0159] In some embodiments of this application, the function of the second input is to switch the camera corresponding to the preview screen in the first shooting preview window from the first camera to the third camera.
[0160] Step 300b: In response to the second input, the electronic device displays a preview image captured by the third camera in the first shooting preview window.
[0161] The third camera mentioned above is different from the first camera mentioned above.
[0162] In some embodiments of this application, the difference between the third camera and the first camera refers to the fact that the third camera and the first camera can be cameras of different camera types.
[0163] For example, if the first camera is a front-facing camera, the third camera can be a rear-facing camera; if the first camera is a telephoto camera, the third camera can be a wide-angle camera.
[0164] For example, taking scenario 1 as an example, combined with Figure 7 ,like Figure 10 As shown, the second input can be a user's touch input to the "1x" indicator in the camera switching control. The foldable phone can respond to this second input and switch the preview image displayed in the first shooting preview window 51 to the one shown above. Figure 11 The image shown is a panoramic view of the stage captured by a wide-angle camera, including dancer view 60 and stage view 61.
[0165] For example, taking scenario 2 as an example, combined with Figure 9 ,like Figure 12 As shown, the second input can be a user's touch input to the "front camera" icon in the camera switching control. The foldable phone can respond to this second input and switch the preview image displayed in the first shooting preview window 59 to the one shown above. Figure 13 The image shown is a selfie captured by the front-facing camera, including the user's face 52.
[0166] In this way, the electronic device can switch the camera corresponding to the first shooting preview window from the first camera to the third camera based on the user's second input to the camera switching control, while the first shooting preview window includes a preview image captured by the first camera. The screen captured by the third camera is then displayed in the first shooting preview window. This achieves the effect of flexibly switching the camera corresponding to the screen in any shooting preview window. This allows two images with different shooting characteristics to be obtained in a single shooting operation, ensuring that the shooting time of the two images is consistent. This meets the user's need to record different fields of view of the same scene through different cameras, avoids the problem that a single captured image cannot meet the user's multiple needs, and improves the diversity of captured images.
[0167] In some embodiments of this application, the camera switching control includes M camera identifiers, each camera identifier corresponding to one camera, where M is an integer greater than 1. The shooting method provided in this application also includes the following steps 301a and 301b.
[0168] Step 301a: When the first shooting preview window includes a preview image captured by the camera indicated by the first camera identifier, the electronic device receives a third input from the user regarding the second camera identifier.
[0169] In some embodiments of this application, the first shooting preview window including the preview image captured by the camera indicated by the first camera identifier means that the preview image displayed in the first shooting preview window is the image captured by the camera indicated by the first camera identifier. For example, when the first camera identifier is the camera identifier corresponding to a telephoto camera, the first shooting preview window displays the preview image captured by the telephoto camera.
[0170] In some embodiments of this application, the aforementioned third input includes at least one of the following: the user performs touch input on the electronic device using a touch device such as a finger or stylus; the user inputs a voice command; or the user inputs a specific gesture. Of course, the aforementioned third input can also be other feasible inputs. The specific input can be determined according to actual needs, and this application does not limit it.
[0171] In some embodiments of this application, the function of the third input is to switch the camera corresponding to the preview screen in the first shooting preview window from the camera corresponding to the first identifier to the camera corresponding to the second camera identifier.
[0172] In some embodiments of this application, the first camera identifier is any one of the M camera identifiers, and the second camera identifier is any one of the M camera identifiers other than the first camera identifier.
[0173] In some embodiments of this application, the aforementioned camera identifier may also be referred to as a magnification identifier.
[0174] In some embodiments of this application, the aforementioned camera identifier includes at least one of the following: a front-facing camera identifier, a wide-angle camera identifier, a telephoto camera identifier, and an ultra-wide-angle camera identifier. Of course, the aforementioned camera identifier may also include other camera identifiers, which can be determined according to actual needs, and this application does not limit this.
[0175] In some embodiments of this application, the aforementioned front-facing camera identifier corresponds to a front-facing camera; the aforementioned wide-angle camera identifier corresponds to a wide-angle camera; the aforementioned telephoto camera identifier corresponds to a telephoto camera; and the aforementioned telephoto camera identifier corresponds to a telephoto camera.
[0176] For example, taking scenario 1 as an example, such as Figure 10 As shown, the camera switching control 54 includes a "Front" identifier, a "0.6" identifier, a "1x" identifier, a "3" identifier, and a "10" identifier; among them, the "Front" identifier is the identifier for the front-facing camera, corresponding to the front-facing camera; the "0.6" identifier is the identifier for the ultra-wide-angle camera, corresponding to the ultra-wide-angle camera; the "1x" identifier is the identifier for the wide-angle camera, corresponding to the wide-angle camera; the "3" identifier is the identifier for the telephoto camera, corresponding to the telephoto camera; and the "10" identifier is the identifier for the telephoto camera, corresponding to the telephoto camera. The lens switching identifiers included in the camera switching control 58 are the same as those in the camera switching control 54, and will not be described again here.
[0177] It should be noted that both the "3" and "10" markings are for telephoto cameras, and can correspond to telephoto cameras with different optical magnifications, or to the same telephoto camera. Specifically, when the "3" and "10" markings correspond to the same telephoto camera, the preview image indicated by the "10" marking can be obtained by cropping the image captured by that same telephoto camera.
[0178] For example, such as Figure 12 As shown, the camera switching control 63 includes a "Front" identifier, a "0.6" identifier, a "1x" identifier, a "3" identifier, and a "10" identifier; among them, the "Front" identifier is the identifier for the front-facing camera, corresponding to the front-facing camera; the "0.6" identifier is the identifier for the ultra-wide-angle camera, corresponding to the ultra-wide-angle camera; the "1x" identifier is the identifier for the wide-angle camera, corresponding to the wide-angle camera; the "3" identifier is the identifier for the telephoto camera, corresponding to the telephoto camera; and the "10" identifier is the identifier for the telephoto camera, corresponding to the telephoto camera. The lens switching identifiers included in the camera switching control 67 are the same as those in the camera switching control 63, and will not be described again here.
[0179] Step 301b: In response to the third input, the electronic device displays a preview image captured by the camera indicated by the second camera identifier in the first shooting preview window.
[0180] For example, taking scenario 1 as an example, such as Figure 10 As shown, when the preview image displayed in the first shooting preview window 51 of the foldable screen phone is the image captured by the front-facing camera indicated by the "Front-facing" label, the foldable screen phone receives a third input from the user regarding the "1x" label in the camera switching control 54, which can be done as follows: Figure 11 As shown, the preview image displayed in the first shooting preview window 51 is switched to a panoramic view of the stage captured by a wide-angle camera, which includes dancers 61 and the stage 60.
[0181] For example, taking scenario 2 as an example, combined with Figure 9 ,like Figure 12 As shown, when the preview image displayed in the first shooting preview window 59 of the foldable screen phone is the image captured by the ultra-wide-angle camera indicated by the "1x" label, the foldable screen phone receives a third input from the user regarding the "front camera" label in the camera switching control 37, and switches the preview image displayed in the first shooting preview window 59 to the image shown in the "1x" label. Figure 13 The image shown is a selfie captured by the front-facing camera, including the user's face 52.
[0182] In this way, when the first shooting preview window includes a preview image captured by the camera indicated by the first camera identifier, the electronic device can, based on the user's third input to the second camera identifier, switch the camera corresponding to the first shooting preview window from the camera indicated by the first camera identifier to the camera indicated by the second camera identifier, and display the image captured by the camera indicated by the second camera identifier in the first shooting preview window. This achieves the effect of flexibly switching the camera corresponding to the image in any shooting preview window, so that two images with different camera shooting characteristics can be obtained in one shooting operation. This ensures that the shooting time of the two images is consistent, meets the user's need to record different fields of view of the same scene through different cameras, avoids the problem that a single captured image cannot meet the user's multiple needs, and improves the diversity of captured images.
[0183] In some embodiments of this application, the first shooting preview window includes a filter adjustment control, which is used to adjust the filter type of the preview image in the first shooting preview window. The shooting method provided in this application also includes the following steps 303a and 303b.
[0184] Step 303a: The electronic device receives the user's fourth input to the filter adjustment controls in the first shooting preview window.
[0185] In some embodiments of this application, the above-mentioned filter type refers to the filter processing effect of the electronic device on the image.
[0186] In some embodiments of this application, the above-mentioned filter type may also be referred to as filter style, filter name, or filter parameter.
[0187] In some embodiments of this application, the fourth input includes at least one of the following: the user performs touch input on the electronic device using a touch device such as a finger or stylus; the user inputs a voice command; or the user inputs a specific gesture. Of course, the fourth input can also be other feasible inputs. The specific input can be determined according to actual needs, and this application does not limit it.
[0188] In some embodiments of this application, the fourth input is used to trigger the display of N filter icons in the first shooting preview window.
[0189] Step 303b: In response to the fourth input, the electronic device displays N filter icons in the first shooting preview window.
[0190] In some embodiments of this application, each filter identifier corresponds to a filter type, and N is an integer greater than 1.
[0191] In some embodiments of this application, the filter adjustment controls described above are used to adjust the filter type of the preview image displayed in the shooting preview window. Specifically, the electronic device can change the filter type of the image by changing the image parameters of the image.
[0192] In some embodiments of this application, the image parameters mentioned above include at least one of the following: brightness, contrast, and saturation. Of course, other image parameters may also be included, and the specific parameters can be determined according to actual needs; this application does not limit this.
[0193] In some embodiments of this application, the electronic device may, in response to the aforementioned fourth input, hide the camera switching control displayed in the first shooting preview window and display the aforementioned N filter icons and the back control, wherein the back control is used to hide the aforementioned N filter icons and re-display the camera switching control in the first shooting preview window.
[0194] For example, taking scenario 1 as an example, combined with Figure 7 ,like Figure 14 As shown, the foldable phone can receive touch input from the user on the filter adjustment controls 53 in the first shooting preview window 51, such as... Figure 15 As shown, filter icons 69 to 71 and a back control 68 are displayed in the first shooting preview window 51, while the camera switching control 54 displayed in the first shooting preview window is hidden.
[0195] For example, taking scenario 2 as an example, combined with Figure 9 ,like Figure 16 As shown, the foldable phone can receive touch input from the user onto the filter adjustment controls 62 in the first shooting preview window 59, such as... Figure 17 As shown, filter icons 73 to 75 and a rollback control 72 are displayed in the first shooting preview window 59, while the camera switching control 63 displayed in the first shooting preview window is hidden.
[0196] In this way, the electronic device can receive a fourth input from the user regarding the filter adjustment controls, and in response to the fourth input, display at least one filter icon for adjusting the filter type in the shooting preview window. This allows the user to flexibly select the filter icon corresponding to their desired filter type from the at least one filter icon, and enables the electronic device to obtain multiple images with different filter types in a single shot. That is, a single shooting operation can obtain two images with different camera shooting characteristics and different filter types, satisfying the user's need to record different field-of-view scenes or different filter effects of the same scene using different cameras. This avoids the problem that a single captured image cannot meet the user's multiple needs and improves the diversity of captured images.
[0197] In some embodiments of this application, the shooting method proposed in this application further includes the following steps 304a and 304b.
[0198] Step 304a: If the filter type corresponding to the preview image in the first shooting preview window is the first filter type indicated by the first filter identifier, the electronic device receives the user's fifth input for the second filter identifier.
[0199] In some embodiments of this application, the first filter identifier shown is any one of the N filter identifiers, and the second filter identifier is any one of the N filter identifiers other than the first filter identifier.
[0200] In some embodiments of this application, the aforementioned fifth input includes at least one of the following: the user performs touch input on the electronic device using a touch device such as a finger or stylus; the user inputs a voice command; or the user inputs a specific gesture. Of course, the aforementioned fourth input can also be other feasible inputs. The specific input can be determined according to actual needs, and this application does not limit it.
[0201] In some embodiments of this application, the fifth input is used to trigger the adjustment of the filter type corresponding to the first shooting preview window from the filter type corresponding to the first filter identifier to the filter type corresponding to the second filter identifier.
[0202] Step 304b: In response to the fifth input, the electronic device displays a preview image of the second filter type indicated by the second filter identifier in the first shooting preview window.
[0203] In some embodiments of this application, the electronic device may, in response to the fifth input, change the filter type corresponding to the first shooting preview window, thereby displaying a preview image of the second filter type in the first preview window.
[0204] For example, taking scenario 1 as an example, combined with Figure 15 ,like Figure 18 As shown, when the user clicks the filter icon 70 in the first shooting preview window 51, the foldable screen phone will trigger the filter icon 70. Figure 19 As shown, the filter type corresponding to the preview image displayed in the first shooting preview window 51 is adjusted to the filter type corresponding to the filter identifier 70.
[0205] For example, taking scenario 2 as an example, combined with Figure 17 ,like Figure 20 As shown, when the user clicks the filter icon 73 in the first shooting preview window 59, the foldable screen phone will trigger the filter icon 73. Figure 21 As shown, the filter type corresponding to the preview image displayed in the first shooting preview window 59 is adjusted to the filter type corresponding to filter identifier 73.
[0206] It is understood that in the shooting method proposed in this application, the electronic device can flexibly adjust the filter parameters corresponding to any image in the shooting preview window based on the user's input of the filter identifier, so that the user can preview multiple preview images simultaneously in the shooting preview interface and make shooting input, triggering the electronic device to capture multiple images through the cameras corresponding to multiple shooting preview windows, avoiding the problem that a single captured image cannot meet the user's multiple needs, and improving the diversity of captured images.
[0207] In this way, the electronic device can receive the user's fifth input for the filter identifier and, in response to the fifth input, display a preview image of the filter type indicated by the filter identifier selected by the user in the first shooting preview window. In subsequent responses to shooting input, multiple images with different filter types can be obtained in one shooting operation. That is, two images with different camera shooting characteristics and different filter types can be obtained in one shooting operation, which meets the user's need to record different field of view or different filter effects of the same scene through different cameras. This avoids the problem that a single image cannot meet the user's multiple needs and improves the diversity of the captured images.
[0208] In some embodiments of this application, the preview image in the first shooting preview window is a preview image of the third filter type indicated by the third filter identifier, and the preview image in the second shooting preview window is a preview image of the fourth filter type indicated by the fourth filter identifier. The third filter identifier and the fourth filter identifier are any two filter identifiers among the N filter identifiers. For example, in combination with... Figure 1 ,like Figure 22 As shown, step 203 above can be implemented through step 203a below.
[0209] Step 203a: The electronic device captures a first image of a third filter type and a second image of a fourth filter type using the first camera and the second camera.
[0210] In some embodiments of this application, the electronic device can acquire original images through a first camera and a second camera respectively, process the original image acquired by the first camera based on the image processing parameters corresponding to the third filter type, and process the original image acquired by the second camera based on the fourth filter type, thereby obtaining a first image of the third filter type and a second image of the fourth filter type.
[0211] It is understood that in the shooting method proposed in this application, the electronic device can display two shooting preview windows on the shooting preview interface, and display the images corresponding to different filter parameters in the two shooting preview windows respectively. This allows the user to preview multiple preview images simultaneously on the shooting preview interface and make shooting inputs, triggering the electronic device to capture multiple images through the cameras corresponding to the multiple shooting preview windows. This avoids the problem that a single captured image cannot meet the user's multiple needs and improves the diversity of captured images.
[0212] In this way, electronic devices can respond to shooting input and obtain multiple images with different filter types in one shooting operation. That is, a single shooting operation can obtain two images with different camera shooting characteristics and different filter types, which meets the user's need to record different field of view or different filter effects of the same scene through different cameras. This avoids the problem that a single image cannot meet the user's multiple needs and improves the diversity of captured images.
[0213] In some embodiments of this application, the shooting preview interface includes a dynamic image control, which is used to turn the dynamic image shooting mode on or off. The shooting method proposed in this application further includes steps 305a to 305c as described below.
[0214] Step 305a: When the dynamic image control is in the first display state, the electronic device receives the user's sixth input to the dynamic image control.
[0215] In some embodiments of this application, the first display state is used to indicate that the dynamic image capturing mode is in a closed state.
[0216] In some embodiments of this application, the first display state described above may also be referred to as the off display state.
[0217] In some embodiments of this application, the above-mentioned dynamic image control may also be referred to as a live control.
[0218] In some embodiments of this application, the sixth input includes at least one of the following: the user performs touch input on the electronic device using a touch device such as a finger or stylus; the user inputs a voice command; or the user inputs a specific gesture. Of course, the sixth input can also be other feasible inputs. The specific type can be determined according to actual needs, and this application does not limit it.
[0219] In some embodiments of this application, the sixth input is used to enable the dynamic image capture mode of the electronic device.
[0220] Step 305b: The electronic device responds to the sixth input and displays the dynamic image control in the second display state.
[0221] In some embodiments of this application, the second display state is used to indicate that the dynamic image capture mode is in the on state.
[0222] In some embodiments of this application, the second display state described above may also be referred to as the on display state.
[0223] In some embodiments of this application, after receiving the sixth input, the electronic device may, in response to the sixth input, switch the display state of the dynamic image control from the first display state to the second display state.
[0224] For example, taking scenario 1 as an example, combined with Figure 19 ,like Figure 22 As shown, when the foldable phone displays the dynamic image control 33 in its first display state, the user can touch the dynamic image control 33 to trigger the foldable phone to... Figure 23 As shown, the dynamic image control 33 is displayed in the second display state.
[0225] For example, taking scenario 2 as an example, combined with Figure 21 ,like Figure 24 As shown, when the foldable phone displays the dynamic image control 43 in its first display state, the user can touch the dynamic image control 43 to trigger the foldable phone to... Figure 25 As shown, the dynamic image control 43 is displayed in the second display state.
[0226] Step 305c: In response to the shooting input, the electronic device captures a first dynamic image and a second dynamic image through the first camera and the second camera.
[0227] In some embodiments of this application, the aforementioned dynamic image refers to a dynamic image captured within a period of time before and after the user presses the shutter.
[0228] In some embodiments of this application, the aforementioned dynamic image refers to an image with a playback duration of a first duration.
[0229] In some embodiments of this application, the first duration can be a fixed value, such as 3 seconds. Of course, the first duration can also be other values preset by the system, which can be determined according to actual needs, and this application does not limit this.
[0230] In some embodiments of this application, the above-mentioned dynamic images may also be referred to as live images or live photographs.
[0231] In some embodiments of this application, when the above-mentioned shooting preview interface includes K shooting preview windows, the electronic device can respond to shooting input and capture K dynamic images through the cameras corresponding to the K shooting preview windows.
[0232] In some embodiments of this application, the electronic device can receive the user's shooting input when the above-mentioned dynamic image control is in the on display state, and in response to the shooting input, capture K dynamic images.
[0233] It is understandable that electronic devices can receive user input for dynamic image controls, thereby activating dynamic image shooting mode and capturing multiple dynamic images at once based on the user's shooting input. This avoids the problem that a single captured image cannot meet the user's diverse needs and improves the diversity of captured images.
[0234] In this way, the electronic device can trigger the activation or deactivation of the dynamic image shooting mode through the dynamic image control. When the dynamic image shooting mode is activated, different dynamic images can be captured by different cameras corresponding to the first and second preview windows. That is, a single shooting operation can obtain two dynamic images with different camera shooting characteristics, without the need for the user to switch cameras to shoot separately. This reduces the number of shooting operations and ensures that the shooting time of the two dynamic images is consistent, meeting the user's need to record different fields of view of the same scene through different cameras, and further improving the diversity of captured images.
[0235] In some embodiments of this application, the shooting method proposed in this application further includes the following step 306a.
[0236] Step 306a: When the dynamic image control is in the first display state, the electronic device, in response to the shooting input, captures the first static image and the second static image through the first camera and the second camera.
[0237] The first static image and the second static image have different field of view angles.
[0238] It is understandable that the first still image and the second still image are captured by different cameras, therefore their fields of view are different. For example, if the first still image is captured by a wide-angle camera and the second still image is captured by a telephoto camera, the field of view of the first still image is larger than that of the second still image.
[0239] In some embodiments of this application, the first static image and the second static image mentioned above refer to images without dynamic effects.
[0240] In this way, the electronic device can trigger the activation or deactivation of the dynamic image shooting mode through the dynamic image control. When the dynamic image shooting mode is deactivated, different still images can be captured by different cameras corresponding to the first and second shooting preview windows. That is, a single shooting operation can obtain two still images with different camera shooting characteristics, without the need for the user to switch cameras to shoot separately. This reduces the number of shooting operations and ensures that the shooting time of the two dynamic images is consistent, meeting the user's need to record different fields of view of the same scene through different cameras, and further improving the diversity of captured images.
[0241] In some embodiments of this application, when the above-mentioned shooting preview interface is displayed on the display screen of a foldable screen electronic device, the shooting method proposed in this application further includes the following steps 307a and 307b, and the above-mentioned step 201 can be specifically implemented by the following step 201a.
[0242] Step 307a: When the foldable screen electronic device is in a folded state and displays a shooting preview interface with a shooting preview window, the electronic device receives the user's seventh input.
[0243] In some embodiments of this application, the shooting preview window displayed by the foldable screen electronic device is the shooting preview window of any camera.
[0244] In some embodiments of this application, the seventh input is used to unfold the foldable screen electronic device.
[0245] In some embodiments of this application, the foldable screen electronic device described above can be a foldable screen mobile phone.
[0246] Step 307b: The electronic device responds to the seventh input and displays the multi-camera control on the shooting preview interface.
[0247] In some embodiments of this application, the multi-camera control described above is used to enable or disable the multi-camera mode.
[0248] In some embodiments of this application, the multi-camera control described above may also be referred to as a one-shot-multiple-view control.
[0249] In some embodiments of this application, the multi-camera control described above is used to enable the multi-camera mode of the electronic device. Specifically, when the multi-camera mode is enabled, the electronic device can display a first shooting preview window and a second shooting preview window on the shooting preview interface, and capture two images at once in response to the user's shooting input. Conversely, when the multi-camera mode is disabled, the electronic device only displays one shooting preview window on the shooting preview interface, which includes a preview image captured by the default camera.
[0250] Step 201a: In response to the first input to the multi-camera control displayed in the shooting preview interface, the electronic device displays a first shooting preview window and a second shooting preview window in the shooting preview interface.
[0251] In some embodiments of this application, when the electronic device is in a folded state, the shooting preview interface displayed by the electronic device includes only one shooting preview window, which includes a preview image captured by the default camera. Upon receiving a seventh input from the user and detecting that the electronic device is in an unfolded state, a multi-camera control is displayed in the shooting preview interface.
[0252] It is understandable that electronic devices can receive the user's first input to the multi-camera control to activate the multi-camera mode. In this state, multiple shooting preview windows are displayed on the shooting preview interface, allowing the user to preview multiple preview images simultaneously and make shooting inputs. This triggers the electronic device to capture multiple images through the cameras corresponding to the multiple shooting preview windows, avoiding the problem that a single captured image cannot meet the user's diverse needs and improving the diversity of captured images.
[0253] For example, taking scenario 1 as an example, such as Figure 2 As shown, when the foldable phone is in the folded state, it only displays the user's selfie captured by the front-facing camera in the shooting preview interface. Upon receiving input from the user to unfold the foldable phone and detecting that it is in the unfolded state, as... Figure 4 As shown, the multi-camera control 49 is displayed in the shooting preview interface.
[0254] For example, taking scenario 2 as an example, such as Figure 3As shown, when the foldable phone is in the folded state, it only displays a panoramic view of the stage captured by the wide-angle camera in the shooting preview interface. Upon receiving input from the user to unfold the foldable phone and detecting that it is in the unfolded state, as... Figure 5 As shown, the multi-camera control 50 is displayed in the shooting preview interface.
[0255] In this way, the electronic device can hide the multi-camera controls when it is folded and display them when it is detected to be unfolded. This avoids the problem that the first and second shooting preview windows cannot be displayed when the electronic device is folded due to the small screen area, thus improving the display effect of the shooting preview interface.
[0256] In some embodiments of this application, the shooting method proposed in this application further includes the following steps 308a and 308b.
[0257] Step 308a: When the electronic device displays the multi-camera control in the shooting preview interface, it receives the user's eighth input.
[0258] In some embodiments of this application, the eighth input is used to fold the foldable screen electronic device.
[0259] Step 308b: In response to the eighth input, the electronic device hides the multi-camera control displayed in the shooting preview interface and displays the aforementioned shooting preview window in the shooting preview interface.
[0260] In some embodiments of this application, the electronic device may, in response to the eighth input described above, hide the multi-camera control displayed in the shooting preview interface, and update the first shooting preview window and the second shooting preview window displayed in the shooting preview interface to a single shooting preview window, which includes a preview image captured by the default camera of the electronic device.
[0261] For example, taking scenario 1 as an example, combined with Figure 7 ,like Figure 26 As shown, when the multi-camera control 49 is displayed on the foldable phone, the user can fold the foldable phone to trigger the foldable phone to... Figure 2 As shown, the multi-camera control 49 is hidden, and a shooting preview window is displayed in the shooting preview window, which includes the user's selfie captured by the front camera.
[0262] For example, taking scenario 2 as an example, combined with Figure 9 ,like Figure 27 As shown, when the multi-camera control 50 is displayed on the foldable phone, the user can fold the foldable phone, triggering the foldable phone to... Figure 3As shown, the multi-camera control 50 is hidden, and a shooting preview window is displayed in the shooting preview window, which includes a panoramic view of the stage captured by the wide-angle camera.
[0263] In this way, after detecting the user's input of folding the electronic device, the electronic device can hide the display of the multi-camera control and switch the first and second shooting preview windows displayed in the shooting preview interface to a single shooting preview window. This avoids the problem that multiple shooting preview windows cannot be displayed due to the small screen area of the folded electronic device, and improves the display effect of the shooting preview interface.
[0264] In some embodiments of this application, the first camera is a front-facing camera, and the second camera is a telephoto camera. Step 203 can be specifically implemented through step 203f below.
[0265] Step 203f: In response to the shooting input, the electronic device captures a first image and a second image using the front-facing camera and the telephoto camera.
[0266] In some embodiments of this application, the first image captured by the front-facing camera can be referred to as a selfie image, and the second image captured by the telephoto camera can be referred to as a telephoto image.
[0267] In this way, electronic devices can use a single shooting input to call the front-facing camera for a selfie and the telephoto camera for a distant target. This allows for the acquisition of a selfie image with the characteristics of the front-facing camera and a distant image with the characteristics of the telephoto camera in a single shooting operation. This eliminates the need for users to switch cameras to take separate shots, reducing the number of shooting operations and ensuring that the two images are captured at the same time. It meets the user's need to record different fields of view of the same scene using different cameras, improves the convenience of capturing images with different camera characteristics, and avoids the problem that a single image cannot meet the user's multiple needs. It achieves the effect of capturing images with two different cameras in a single shooting, increasing the diversity of captured images.
[0268] In some embodiments of this application, the first camera is a wide-angle camera, and the second camera is a telephoto camera. Step 203 can be specifically implemented through step 203g.
[0269] Step 203g: In response to the shooting input, the electronic device captures a first image and a second image using a wide-angle camera and a telephoto camera.
[0270] In some embodiments of this application, the first image captured by the aforementioned wide-angle camera may be referred to as a wide-angle image.
[0271] In some embodiments of this application, the wide-angle image mentioned above refers to an image with a wide field of view captured by the wide-angle camera.
[0272] It is understandable that electronic devices can display two shooting preview windows on the shooting preview interface, showing the images captured by the wide-angle camera and the telephoto camera respectively in these two shooting preview windows. This allows users to preview multiple preview images simultaneously on the shooting preview interface and make shooting inputs, triggering the electronic device to capture multiple images through the cameras corresponding to the multiple shooting preview windows. This avoids the problem that a single captured image cannot meet the user's diverse needs and improves the diversity of captured images.
[0273] In this way, electronic devices can use a single shooting input to call the wide-angle camera to capture a panoramic image of an object and the telephoto camera to capture a close-up image of a distant target. This allows for the acquisition of a panoramic image with the characteristics of a wide-angle camera and a distant image with the characteristics of a telephoto camera in a single shooting operation. This eliminates the need for users to switch cameras to shoot separately, reducing the number of shooting operations and ensuring that the two images are captured at the same time. It meets the user's need to record different fields of view of the same scene using different cameras, improves the convenience of capturing images with different camera characteristics, and avoids the problem that a single captured image cannot meet the user's multiple needs. It achieves the effect of capturing images with two different cameras in a single shooting, increasing the diversity of captured images.
[0274] In some embodiments of this application, the shooting method proposed in this application further includes the following step 309a, and after the above step 204a, the shooting method proposed in this application further includes the following steps 204c and 204d.
[0275] Step 309a: In response to the fourth input, the electronic device displays the rollback control and the aforementioned N filter icons in the first shooting preview window.
[0276] Step 204c: The electronic device receives the user's ninth input to the back button.
[0277] In some embodiments of this application, the aforementioned ninth input includes at least one of the following: the user performs touch input on the electronic device using a touch device such as a finger or stylus, the user inputs a voice command, or the user inputs a specific gesture. Of course, the aforementioned ninth input can also be other feasible inputs. The specific input can be determined according to actual needs, and this application does not limit it.
[0278] In some embodiments of this application, the ninth input is used to hide the back control and the N filter icons in the first shooting preview window, and to display the camera switching control.
[0279] In step 204d, the electronic device responds to the ninth input by hiding the aforementioned back control and the aforementioned N filter icons displayed in the first shooting preview window, and displays the aforementioned camera switching control in the aforementioned first shooting preview window.
[0280] In some embodiments of this application, the electronic device may, in response to the ninth input, hide the aforementioned back control and the aforementioned N filter icons displayed in the first shooting preview window, and display the aforementioned camera switching control in the aforementioned first shooting preview window.
[0281] For example, taking scenario 1 as an example, combined with Figure 19 ,like Figure 28 As shown, when the foldable phone displays the back control 68, the user can touch the back control 68 to trigger the foldable phone to... Figure 29 As shown, the rollback control 68 and filter identifiers 69 to 71 are hidden, and the camera switching control 54 is re-displayed in the first shooting preview window 51.
[0282] For example, taking scenario 2 as an example, combined with Figure 21 ,like Figure 30 As shown, when the foldable phone displays the back control 72, the user can touch the back control 72 to trigger the foldable phone to... Figure 31 As shown, the rollback control 72 and filter identifiers 73 to 75 are hidden, and the camera switching control 67 is re-displayed in the first shooting preview window 59.
[0283] It is understood that in the shooting method proposed in this application, the electronic device can receive the user's back control after the user selects the filter icon, hide the filter icon and redisplay the camera switching control, so that the user can switch the camera corresponding to any shooting preview window based on the camera switching control, thus optimizing the human-computer interaction during shooting.
[0284] In this way, the electronic device can trigger the hiding of the filter icon by inputting the back button, and then re-display the camera switching control in the first shooting preview window. This allows the user to switch the camera corresponding to the preview image in the first shooting preview window again using the camera switching control, thus optimizing the human-computer interaction.
[0285] In some embodiments of this application, the shooting method proposed in this application further includes the following steps 310a and 310b.
[0286] Step 310a: The electronic device receives the user's tenth input.
[0287] In some embodiments of this application, the tenth input is used to open a photo album application.
[0288] In some embodiments of this application, the tenth input includes at least one of the following: the user performs touch input on the electronic device using a touch device such as a finger or stylus, the user inputs a voice command, or the user inputs a specific gesture. Of course, the tenth input can also be other feasible inputs. The specific type can be determined according to actual needs, and this application does not limit it.
[0289] Step 310b: The electronic device responds to the tenth input and displays the photo album application interface.
[0290] In some embodiments of this application, the above-mentioned photo album application interface includes a thumbnail of the first image and a thumbnail of the second image, and the display position of the thumbnail of the first image is adjacent to the display position of the thumbnail of the second image.
[0291] For example, such as Figure 32 As shown, after taking the first and second images, the user can trigger the foldable phone to display the phone's home screen, which includes a photo album application icon 76. The user can touch this photo album application icon 76 to trigger the electronic device as follows: Figure 33 As shown, the photo album application interface is displayed. The photo album application interface includes a thumbnail 77 of the first image and a thumbnail 78 of the second image, and the thumbnail 77 of the first image and the thumbnail 78 of the second image are displayed in adjacent positions.
[0292] For example, such as Figure 34 As shown, after taking the first and second images, the user can trigger the foldable phone to display the phone's home screen. This home screen includes a photo album application icon 79. The user can touch this photo album application icon 79 to trigger the electronic device as follows: Figure 35 As shown, the photo album application interface is displayed. The photo album application interface includes a thumbnail 80 of the first image and a thumbnail 81 of the second image, and the display positions of the thumbnail 80 of the first image and the thumbnail 81 of the second image are adjacent.
[0293] In some embodiments of this application, the phrase "the thumbnail of the first image is displayed adjacent to the thumbnail of the second image" means that the thumbnails of the first image and the second image are displayed in a continuous arrangement.
[0294] In some embodiments of this application, the continuous arrangement of the thumbnails of the first image and the second image refers to the continuous arrangement of the thumbnails of the first image and the second image in rows or columns.
[0295] It is understood that in the shooting method proposed in this application, the electronic device can continuously display multiple images taken by the user at one time in the photo album application, so that the user can conveniently see the images he / she has taken, thus optimizing the human-computer interaction after shooting.
[0296] In this way, after the electronic device takes the first and second images, the user can trigger the electronic device to open the photo album application and display the first and second images in two adjacent positions in the photo album application interface. This avoids the cumbersome operation caused by the user manually searching for the first and second images and improves the convenience of viewing the captured images through the electronic device.
[0297] In some embodiments of this application, the shooting preview interface includes a shooting mode control, which includes at least one of the following: landscape control, portrait control, photo control, video recording control, and ultra-high-definition document control. The shooting method proposed in this application further includes step 311a.
[0298] Step 311a: In response to the first input to the multi-camera controls displayed in the shooting preview interface, the electronic device displays the first prompt information and hides the shooting mode controls.
[0299] In some embodiments of this application, the shooting mode control includes at least one of the following: landscape control, portrait control, photo control, video recording control, and ultra-high-definition document control. Of course, the shooting mode control may also include other controls, which can be determined according to actual needs, and this application does not limit this.
[0300] In some embodiments of this application, the aforementioned landscape control is used to enable the landscape photography function of the electronic device. When the landscape photography function is enabled, the image displayed by the electronic device is better.
[0301] In some embodiments of this application, the aforementioned portrait control is used to enable the portrait shooting function of the electronic device. When the portrait shooting function is enabled, the image obtained by the electronic device from the portrait is displayed well.
[0302] In some embodiments of this application, the aforementioned camera control is used to enable the still image capture function of the electronic device. When the still image capture function is enabled, the electronic device can capture still images.
[0303] In some embodiments of this application, the recording control described above is used to enable the video recording function of the electronic device. When the video recording function is enabled, the electronic device can record video.
[0304] It is understandable that when an electronic device is in the multi-capture mode, it will display multiple shooting preview windows in the shooting preview area. These shooting preview windows will occupy a large screen area. In order to make enough display space for the multiple shooting preview windows, the first function control can be hidden.
[0305] It is understandable that when an electronic device is in the multi-capture mode, it will display multiple shooting preview windows in the shooting preview area. These shooting preview windows will occupy a large screen area. In order to make enough display space for the multiple shooting preview windows, the first function control can be hidden.
[0306] In some embodiments of this application, the aforementioned first prompt information is used to prompt the user that the foldable screen electronic device has enabled multi-camera mode; when the multi-camera mode is enabled, multiple static or dynamic images captured by different cameras are captured at once.
[0307] For example, taking scenario 1 as an example, such as Figure 36 As shown, when the foldable phone displays the multi-camera control 49 and shooting mode controls 34 to 38, the user taps the multi-camera control 49, triggering the foldable phone to... Figure 37 As shown, the first prompt message 82 is displayed, which includes the text "Multi-camera mode is enabled, and you can get multiple photos in one shot!", and the shooting mode controls 34 to 38 in the shooting preview interface are hidden.
[0308] For example, taking scenario 2 as an example, such as Figure 38 As shown, when the multi-camera control 50 and shooting mode controls 44 to 48 are displayed on the foldable phone, after the user clicks on the multi-camera control 50, the foldable phone triggers the following... Figure 39 As shown, the first prompt message 83 is displayed, which includes the text "Multi-camera mode is enabled, and you can get multiple photos in one shot!", and the shooting mode controls 44 to 48 in the shooting preview interface are hidden.
[0309] It is understood that in the shooting method proposed in this application, when the electronic device is in the multi-camera mode, the above-mentioned shooting mode control can be hidden, thereby providing sufficient display space for the display of the first shooting preview window and the second shooting preview window. This allows the electronic device to display multiple shooting preview windows on the shooting preview interface, enabling users to simultaneously preview multiple preview images on the shooting preview interface and make shooting inputs, triggering the electronic device to capture multiple images through the cameras corresponding to the multiple shooting preview windows. This avoids the problem that a single captured image cannot meet the user's multiple needs and improves the diversity of captured images.
[0310] In this way, after receiving the user's input to open the multi-camera control, the electronic device can display the first prompt message to inform the user that multiple photos taken by different cameras can be obtained at once, thus optimizing the human-computer interaction method.
[0311] In some embodiments of this application, after step 311a above, the shooting method proposed in this application further includes steps 312a and 312b below.
[0312] Step 312a: The electronic device receives the eleventh input from the user to the multi-camera control.
[0313] In some embodiments of this application, the eleventh input includes at least one of the following: the user performs touch input on the electronic device using a touch device such as a finger or stylus; the user inputs a voice command; or the user inputs a specific gesture. Of course, the eleventh input can also be other feasible inputs. The specific type can be determined according to actual needs, and this application does not limit it.
[0314] In some embodiments of this application, the eleventh input described above is used to disable the multi-camera mode of the electronic device.
[0315] Step 312b: The electronic device responds to the eleventh input by displaying the second prompt message and shooting mode control.
[0316] In some embodiments of this application, the second prompt information is used to prompt the user that the foldable screen electronic device has turned off the multi-camera mode; when the multi-camera mode is turned off, a single static image or dynamic image is captured by one camera at a time.
[0317] For example, taking scenario 1 as an example, combined with Figure 37 ,like Figure 40 As shown, after the user clicks the multi-camera control 49, the foldable screen phone is triggered as follows. Figure 41 As shown, a second prompt message 84 is displayed, which includes the text "Multi-camera mode is turned off. One photo can be obtained from one shot!".
[0318] For example, taking scenario 2 as an example, combined with Figure 39 ,like Figure 42 As shown, after the user clicks the multi-camera control 50, the foldable screen phone is triggered as follows. Figure 43 As shown, a second prompt message 85 is displayed, which includes the text "Multi-camera mode is turned off. One photo can be obtained from one shot!".
[0319] It is understandable that after the electronic device exits multi-camera mode, the shooting preview area no longer displays multiple shooting preview windows, but only one shooting preview window. At this time, there is a large amount of unused space in the shooting preview interface, and the electronic device can display the aforementioned shooting mode controls.
[0320] In this way, after receiving the user's input to close the multi-camera control, the electronic device can display a second prompt message to inform the user that only one photo has been taken in the current session, thus optimizing the human-computer interaction method.
[0321] For the various scenarios in which the embodiments of this application can be applied, and in conjunction with the various implementation schemes of the embodiments of this application described above, specific examples are given below to illustrate the implementation process of the embodiments of this application in various scenarios:
[0322] Example 1: A user taps the camera app on a foldable phone, triggering the phone to display a shooting preview interface. The user then unfolds the phone, displaying a multi-camera control in the preview area. Tapping this control activates multi-camera mode, displaying two preview windows: the first and second preview windows mentioned above. The preview images in these windows come from different cameras; the first preview image comes from the first camera, and the second preview image comes from the second camera. Each preview window includes a camera switching control. Tapping the camera switching control in either preview window triggers the phone to display multiple lens switching indicators in that window, including: "Front," "0.6," "1.0x," "3.0," and "10.0." When the user clicks "Front Camera," the foldable phone captures a selfie image using the front camera and displays it in the first shooting preview window. The user then clicks the camera switching control in another shooting preview window, triggering another preview window to display the multiple lens switching icons. In that next preview window, the user clicks "3.0X," triggering the foldable phone to capture an image of a dancer on stage using the rear camera and displaying that image in another preview window. Finally, the user clicks the shooting control, triggering the phone to capture two images: one a selfie and the other a telephoto close-up of the dancer on stage.
[0323] Example 2: A user taps the camera app on a foldable phone, triggering the phone to display a shooting preview interface. The user then unfolds the phone, displaying multi-camera controls in the preview area. Tapping these controls activates multi-camera mode, displaying two preview windows: the first and second preview windows mentioned above. The preview images in these windows come from different cameras; the first preview image comes from the first camera, and the second preview image comes from the second camera. Each preview window includes a camera switching control. Tapping the camera switching control in either preview window triggers the phone to display multiple lens switching indicators in that window, including: "Front," "0.6," "1.0x," "3.0," and "10.0." When the user clicks "1.0x", the foldable phone captures a panoramic image of the concert using its wide-angle camera. Then, the user clicks the camera switching control in another shooting preview window, which also displays the aforementioned multiple lens switching icons in another shooting preview window. When the user clicks "3.0" in another shooting preview window, the foldable phone captures an image of the dancers on stage using its telephoto camera. Finally, the user clicks the shooting control, which triggers the phone to capture two images: one is a panoramic image of the stage, and the other is a telephoto close-up image of the dancers on stage.
[0324] Example 3: A user taps the camera app on a foldable phone, triggering the phone to display a shooting preview interface. The user then unfolds the phone, causing it to display multi-camera controls in the preview area. Tapping these controls activates multi-camera mode, displaying two preview windows: the first and second preview windows mentioned above. The preview images in these windows come from different cameras; the first preview image comes from the first camera, and the second preview image comes from the second camera. Each preview window includes a camera switching control. Tapping the camera switching control in either preview window triggers the phone to display multiple lens switching indicators in that window, including: "Front," "0.6," "1.0x," "3.0," and "10.0." When the user clicks "10.0", the foldable phone uses its telephoto camera to capture an image of a distant bird and displays it in the aforementioned shooting preview window. The user then clicks the camera switching control in another shooting preview window, triggering another preview window to display the aforementioned multiple lens switching icons. In another shooting preview window, the user clicks "0.6", triggering the foldable phone to use its ultra-wide-angle camera to capture a magnificent mountain landscape image and display it in another preview window. Finally, the user clicks the shooting control, triggering the phone to capture two images: one of the magnificent mountain landscape and the other a telephoto close-up of a bird on stage.
[0325] Thus, the shooting method proposed in this application can capture multiple images with different fields of view and compositions simultaneously. Furthermore, these multiple images can be output from multiple different cameras, leveraging the advantages of different camera outputs, such as a large field of view or high magnification and resolution. In addition, the electronic device can set independent filter parameters for any one of the multiple images, further improving the flexibility of the shooting process.
[0326] In the shooting method proposed in this application, the filter parameters for moving images can also be flexibly set. Specifically, the above scheme demonstrates how to set filter parameters in still photo mode. Placing the filter function within the view frame means that the function can be used in combination with any mode without functional conflict. Therefore, when the electronic device is in moving image mode, the electronic device can also independently set the filter parameters for two moving images and change the preview effect in the shooting preview window after completing the settings.
[0327] It should be noted that each of the above method embodiments, or various possible implementations of each method embodiment, can be executed individually or in combination of any two or more. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.
[0328] The shooting method provided in this application can be executed by a shooting device. This application uses a shooting device to perform the shooting method as an example to illustrate the shooting device provided in this application.
[0329] Figure 44 This is a schematic diagram of the structure of a shooting device provided in an embodiment of this application. Figure 44 As shown, the imaging device includes:
[0330] The receiving module 501 is used to receive a first input to the shooting preview interface; the display module 502 is used to display a first shooting preview window and a second shooting preview window on the shooting preview interface in response to the first input; the first shooting preview window includes a preview image captured by the first camera; the second shooting preview window includes a preview image captured by the second camera; the first camera and the second camera include any two of the following: a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, and a front-facing camera; the shooting module 503 is used to capture a first image and a second image through the first camera and the second camera in response to the shooting input.
[0331] In one possible implementation, the first shooting preview window includes a camera switching control for switching the camera that captures the preview image displayed in the first shooting preview window; the receiving module 501 is further configured to receive a second input from the user to the camera switching control in the first shooting preview window when the first shooting preview window includes a preview image captured by the first camera; the display module 502 is further configured to, in response to the second input, display a preview image captured by a third camera in the first shooting preview window; wherein the third camera is different from the second camera.
[0332] In one possible implementation, the camera switching control includes M camera identifiers, each corresponding to a camera, where M is an integer greater than 1; the receiving module 501 is further configured to receive a third input from the user for a second camera identifier when the first shooting preview window includes a preview image captured by the camera indicated by the first camera identifier; the first camera identifier is any one of the M camera identifiers, and the second camera identifier is any one of the M camera identifiers other than the first camera identifier; the display module 502 is further configured to, in response to the third input received by the receiving module 501, display the preview image captured by the camera indicated by the second camera identifier in the first shooting preview window.
[0333] In one possible implementation, the first shooting preview window includes a filter adjustment control for adjusting the filter type of the preview image in the first shooting preview window; the receiving module 501 is further configured to receive a fourth input from the user to the filter adjustment control in the first shooting preview window; the display module 502 is further configured to, in response to the fourth input, display N filter identifiers in the first shooting preview window, each filter identifier corresponding to a filter type, where N is an integer greater than 1.
[0334] In one possible implementation, the receiving module 501 is further configured to receive a fifth input from the user regarding the second filter identifier when the filter type corresponding to the preview image in the first shooting preview window is the first filter type indicated by the first filter identifier; the first filter identifier is any one of the N filter identifiers; the second filter identifier is any one of the N filter identifiers other than the first filter identifier; the display module 502 is further configured to, in response to the fifth input received by the receiving module 501, display a preview image of the second filter type indicated by the second filter identifier in the first shooting preview window.
[0335] In one possible implementation, the preview image in the first shooting preview window is a preview image of the third filter type indicated by the third filter identifier, and the preview image in the second shooting preview window is a preview image of the fourth filter type indicated by the fourth filter identifier. The third filter identifier and the fourth filter identifier are any two filter identifiers among the N filter identifiers. The shooting module 503 is specifically used to: capture the first image of the third filter type and the second image of the fourth filter type through the first camera and the second camera.
[0336] In one possible implementation, the shooting preview interface includes a dynamic image control for turning the dynamic image shooting mode on or off; the receiving module 501 is further configured to receive a sixth input from the user to the dynamic image control when the dynamic image control is in a first display state, the first display state indicating that the dynamic image shooting mode is off; the display module 502 is further configured to display the dynamic image control in a second display state in response to the sixth input received by the receiving module 501, the second display state indicating that the dynamic image shooting mode is on; the shooting module 503 is further configured to capture a first dynamic image and a second dynamic image through the first camera and the second camera in response to the shooting input.
[0337] In one possible implementation, the shooting module 503 is further configured to, in response to the shooting input, capture a first static image and a second static image using the first camera and the second camera when the dynamic image control is in the first display state; wherein the first static image and the second static image have different field of view.
[0338] In one possible implementation, when the aforementioned shooting preview interface is displayed on the screen of the foldable electronic device, the receiving module 501 is further configured to receive a seventh input from the user when the foldable electronic device is in a folded state and the foldable electronic device displays a shooting preview window, the seventh input being used to unfold the foldable electronic device; the shooting preview window displayed by the foldable electronic device is a shooting preview window of any one camera; the display module 502 is further configured to display a multi-camera control on the shooting preview interface in response to the seventh input received by the receiving module 501, the multi-camera control being used to turn the multi-camera mode on or off; specifically, the display module 502 is configured to: in response to the first input to the multi-camera control displayed on the shooting preview interface, display a first shooting preview window and a second shooting preview window on the shooting preview interface.
[0339] In one possible implementation, the receiving module 501 is further configured to receive an eighth input from the user when the multi-camera control is displayed in the shooting preview interface, the eighth input being used to fold the foldable screen electronic device; the display module 502 is further configured to hide the multi-camera control displayed in the shooting preview interface in response to the eighth input received by the receiving module 501, and to display a shooting preview window in the shooting preview interface.
[0340] In one possible implementation, the first camera is a front-facing camera, and the second camera is the aforementioned camera; the shooting module 503 is specifically used to: in response to shooting input, capture a first image and a second image through the front-facing camera and the telephoto camera.
[0341] In one possible implementation, the first camera is a wide-angle camera and the second camera is a telephoto camera; the shooting module 503 is specifically used to: in response to shooting input, capture a first image and a second image through the wide-angle camera and the telephoto camera.
[0342] In one possible implementation, the display module 502 is further configured to, in response to the fourth input received by the receiving module 501, display a rollback control and the N filter icons in the first shooting preview window; the receiving module 501 is further configured to, after receiving the user's fifth input to the second filter icon, receive the user's ninth input to the rollback control; the display module 502 is further configured to, in response to the ninth input received by the receiving module 501, hide the rollback control and the N filter icons displayed in the first shooting preview window, and display the camera switching control in the first shooting preview window.
[0343] In one possible implementation, the receiving module 501 is further configured to receive a tenth input from the user after the shooting module 503 has captured the first image and the second image through the first camera and the second camera, the tenth input being used to open the photo album application; the display module 502 is further configured to display the photo album application interface in response to the tenth input received by the receiving module 501, the photo album application interface including a thumbnail of the first image and a thumbnail of the second image; the display position of the thumbnail of the first image is adjacent to the display position of the thumbnail of the second image.
[0344] In one possible implementation, the aforementioned shooting preview interface includes a shooting mode control; the shooting mode control includes at least one of the following: landscape control, portrait control, photo control, video recording control, and ultra-high-definition document control; the aforementioned display module 502 is further configured to respond to the aforementioned first input to the aforementioned multi-camera control displayed in the aforementioned shooting preview interface, display a first prompt message, and hide the aforementioned shooting mode control; the aforementioned first prompt message is used to prompt the user that the aforementioned foldable screen electronic device has enabled multi-camera mode; when the aforementioned multi-camera mode is enabled, multiple still images or moving images captured by different cameras are obtained in one shot.
[0345] In one possible implementation, the receiving module 501 is further configured to receive an eleventh input from the user to the multi-camera control after the display module 502 displays the first prompt information and hides the shooting mode control; the display module 502 is further configured to display a second prompt information and the shooting mode control in response to the eleventh input received by the receiving module 501, wherein the second prompt information is used to prompt the user that the foldable screen electronic device has turned off the multi-camera mode; when the multi-camera mode is turned off, a still image or moving image captured by one camera is captured at a time.
[0346] This application provides a shooting device that can display two shooting preview windows, each containing preview images captured by a different camera, on a shooting preview interface. This allows users to simultaneously preview the preview images captured by different cameras on the shooting preview interface. By inputting a shooting command, the electronic device is triggered to capture two different images through the different cameras corresponding to the two shooting preview windows. In this way, users can capture two images with different compositions at the same time using the electronic device. Since the first and second images are captured by different cameras, they possess the advantages of different camera capture methods. For example, images captured by a wide-angle camera have a larger field of view, while images captured by a telephoto camera have high magnification and high resolution. This allows users to obtain two images with different camera shooting characteristics in a single shooting operation, without the need for users to switch cameras to shoot separately. This reduces the number of shooting operations and ensures that the two images are captured at the same time. It meets the user's need to record different fields of view of the same scene using different cameras, improves the convenience of capturing images with different camera characteristics, and avoids the problem that a single captured image cannot meet the user's multiple needs. It achieves the effect of capturing images with two different cameras in a single shooting, increasing the diversity of captured images.
[0347] The shooting device in this application embodiment can be an electronic device or a component of an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, handheld computer, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. The embodiments of this application do not specifically limit the scope.
[0348] The shooting device in this application embodiment can be a device with an operating system. The operating system can be Android, iOS, or other possible operating systems, and this application embodiment does not specifically limit it.
[0349] The imaging device provided in this application embodiment can realize the various processes implemented in the above method embodiments, and will not be described again here to avoid repetition.
[0350] Optionally, such as Figure 45 As shown, this application embodiment also provides an electronic device 600, including a processor 601 and a memory 602. The memory 602 stores a program or instructions that can run on the processor 601. When the program or instructions are executed by the processor 601, they implement the various steps of the above-described shooting method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0351] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0352] Figure 46 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0353] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
[0354] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 46 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0355] The user input unit 107 is used to receive a first input to the shooting preview interface; the display unit 106 is used to display a first shooting preview window and a second shooting preview window on the shooting preview interface in response to the first input; the first shooting preview window includes a preview image captured by the first camera, and the second shooting preview window includes a preview image captured by the second camera; the first camera and the second camera include any two of the following: a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, and a front-facing camera; the processor 110 is used to capture a first image and a second image through the first camera and the second camera in response to the shooting input.
[0356] Optionally, the first shooting preview window includes a camera switching control, which is used to switch the camera that captures the preview image displayed in the first shooting preview window; the user input unit 107 is also used to receive a second input from the user to the camera switching control in the first shooting preview window when the first shooting preview window includes a preview image captured by the first camera; the display unit 106 is also used to respond to the second input to display a preview image captured by a third camera in the first shooting preview window; wherein the third camera is different from the second camera.
[0357] Optionally, the camera switching control includes M camera identifiers, each camera identifier corresponding to one camera, where M is an integer greater than 1; the user input unit 107 is further configured to receive a third input from the user for a second camera identifier when the first shooting preview window includes a preview image captured by the camera indicated by the first camera identifier; the first camera identifier is any one of the M camera identifiers, and the second camera identifier is any one of the M camera identifiers other than the first camera identifier; the display unit 106 is further configured to, in response to the third input received by the user input unit 107, display the preview image captured by the camera indicated by the second camera identifier in the first shooting preview window.
[0358] Optionally, the first shooting preview window includes a filter adjustment control, which is used to adjust the filter type of the preview image in the first shooting preview window; the user input unit 107 is also used to receive a fourth input from the user to the filter adjustment control in the first shooting preview window; the display unit 106 is also used to respond to the fourth input to display N filter identifiers in the first shooting preview window, each filter identifier corresponding to a filter type, where N is an integer greater than 1.
[0359] Optionally, the user input unit 107 is further configured to receive a fifth input from the user regarding a second filter identifier when the filter type corresponding to the preview image in the first shooting preview window is the first filter type indicated by the first filter identifier; the first filter identifier is any one of the N filter identifiers; the second filter identifier is any one of the N filter identifiers other than the first filter identifier; the display unit 106 is further configured to, in response to the fifth input received by the user input unit 107, display a preview image of the second filter type indicated by the second filter identifier in the first shooting preview window.
[0360] Optionally, the preview image in the first shooting preview window is a preview image of the third filter type indicated by the third filter identifier, and the preview image in the second shooting preview window is a preview image of the fourth filter type indicated by the fourth filter identifier. The third filter identifier and the fourth filter identifier are any two filter identifiers among the N filter identifiers. The processor 110 is specifically used to: capture the first image of the third filter type and the second image of the fourth filter type through the first camera and the second camera.
[0361] Optionally, the aforementioned shooting preview interface includes a dynamic image control, which is used to turn the dynamic image shooting mode on or off; the aforementioned user input unit 107 is further configured to receive a sixth input from the user to the aforementioned dynamic image control when the aforementioned dynamic image control is in a first display state, the aforementioned first display state being used to indicate that the aforementioned dynamic image shooting mode is in a closed state; the aforementioned display unit 106 is further configured to, in response to the aforementioned sixth input received by the aforementioned user input unit 107, display the aforementioned dynamic image control in a second display state, the aforementioned second display state being used to indicate that the aforementioned dynamic image shooting mode is in a closed state; the aforementioned processor 110 is further configured to, in response to the aforementioned shooting input, capture a first dynamic image and a second dynamic image through the aforementioned first camera and the aforementioned second camera.
[0362] Optionally, the processor 110 is further configured to, in response to the shooting input, capture a first still image and a second still image using the first camera and the second camera when the aforementioned dynamic image control is in a first display state; wherein the first still image and the second still image have different field of view.
[0363] Optionally, when the aforementioned shooting preview interface is displayed on the screen of the foldable electronic device, the aforementioned user input unit 107 is further configured to receive a seventh input from the user when the foldable electronic device is in a folded state and the foldable electronic device displays a shooting preview window, the seventh input being used to unfold the foldable electronic device; the shooting preview window displayed by the foldable electronic device is a shooting preview window of any one camera; the aforementioned display unit 106 is further configured to display a multi-camera control on the shooting preview interface in response to the aforementioned seventh input received by the user input unit 107, the multi-camera control being used to turn the multi-camera mode on or off; the aforementioned display unit 106 is specifically configured to: in response to the aforementioned first input to the multi-camera control displayed in the shooting preview interface, display a first shooting preview window and a second shooting preview window on the shooting preview interface.
[0364] Optionally, the user input unit 107 is further configured to receive an eighth input from the user when the multi-camera control is displayed in the shooting preview interface, the eighth input being used to fold the foldable screen electronic device; the display unit 106 is further configured to, in response to the eighth input received by the user input unit 107, hide the multi-camera control displayed in the shooting preview interface, and display a shooting preview window in the shooting preview interface.
[0365] Optionally, the first camera is a front-facing camera, and the second camera is a telephoto camera; the processor 110 is specifically used to: in response to shooting input, capture a first image and a second image through the front-facing camera and the telephoto camera.
[0366] Optionally, the first camera is a wide-angle camera and the second camera is a telephoto camera; the processor 110 is specifically used to: in response to shooting input, capture a first image and a second image through the wide-angle camera and the telephoto camera.
[0367] Optionally, the display unit 106 is further configured to, in response to the fourth input received by the user input unit 107, display a rollback control and the N filter icons in the first shooting preview window; the user input unit 107 is further configured to, after receiving the fifth input from the user for the second filter icon, receive a ninth input from the user for the rollback control; the display unit 106 is further configured to, in response to the ninth input received by the user input unit 107, hide the rollback control and the N filter icons displayed in the first shooting preview window, and display the camera switching control in the first shooting preview window.
[0368] Optionally, the user input unit 107 is further configured to receive a tenth input from the user after the shooting module 503 has captured the first image and the second image through the first camera and the second camera, the tenth input being used to open the photo album application; the display unit 106 is further configured to display the photo album application interface in response to the tenth input received by the user input unit 107, the photo album application interface including a thumbnail of the first image and a thumbnail of the second image; the display position of the thumbnail of the first image is adjacent to the display position of the thumbnail of the second image.
[0369] Optionally, the aforementioned shooting preview interface includes a shooting mode control; the shooting mode control includes at least one of the following: landscape control, portrait control, photo control, video recording control, and ultra-high-definition document control; the aforementioned display unit 106 is further configured to respond to the aforementioned first input to the aforementioned multi-camera control displayed in the aforementioned shooting preview interface, display a first prompt message, and hide the aforementioned shooting mode control; the aforementioned first prompt message is used to prompt the user that the aforementioned foldable screen electronic device has enabled multi-camera mode; when the aforementioned multi-camera mode is enabled, multiple still images or moving images captured by different cameras are obtained in one shot.
[0370] Optionally, the user input unit 107 is further configured to receive an eleventh input from the user to the multi-camera control after the display unit 106 displays the first prompt information and hides the shooting mode control; the display unit 106 is further configured to display a second prompt information and the shooting mode control in response to the eleventh input received by the user input unit 107, the second prompt information being used to prompt the user that the multi-camera mode of the foldable screen electronic device has been turned off; when the multi-camera mode is turned off, a still image or moving image captured by one camera is captured at a time.
[0371] This application provides an electronic device that can display two preview windows containing preview images captured by different cameras on a shooting preview interface. This allows users to simultaneously preview the images captured by different cameras on the shooting preview interface. By inputting a shooting command, the electronic device can be triggered to capture two different images using the different cameras corresponding to the two preview windows. This allows users to capture two images with different compositions at the same time. Since the first and second images are captured by different cameras, they possess the advantages of each camera. For example, images captured by a wide-angle camera have a larger field of view, while images captured by a telephoto camera have higher magnification and resolution. This allows users to obtain two images with different camera characteristics in a single shooting operation, eliminating the need to switch cameras for separate shooting. This reduces the number of shooting operations and ensures that the two images are captured at the same time, meeting the user's need to record different fields of view of the same scene using different cameras. It improves the convenience of capturing images with different camera characteristics, avoids the problem that a single captured image cannot meet the user's multiple needs, and achieves the effect of capturing images with two different cameras in a single shooting operation, thus increasing the diversity of captured images.
[0372] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0373] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0374] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.
[0375] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described shooting method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0376] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0377] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described shooting method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0378] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0379] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described shooting method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0380] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0381] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0382] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A shooting method, characterized in that, include: Receive the first input to the shooting preview interface; In response to the first input, a first shooting preview window and a second shooting preview window are displayed on the shooting preview interface; the first shooting preview window includes a preview image captured by the first camera; the second shooting preview window includes a preview image captured by the second camera; the first camera and the second camera include any two of the following: a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, and a front-facing camera; In response to the shooting input, a first image and a second image are captured using the first camera and the second camera.
2. The method according to claim 1, characterized in that, The first shooting preview window includes a camera switching control, which is used to switch the camera that captures the preview image displayed in the first shooting preview window; the method further includes: When the first shooting preview window includes a preview image captured by the first camera, the system receives a second input from the user to the camera switching control in the first shooting preview window. In response to the second input, a preview image captured by the third camera is displayed in the first shooting preview window; The third camera is different from the second camera.
3. The method according to claim 2, characterized in that, The camera switching control includes M camera identifiers, each indicating one camera, where M is an integer greater than 1; the method further includes: When the first shooting preview window includes a preview image captured by the camera indicated by the first camera identifier, the user's third input on the second camera identifier is received; the first camera identifier is any one of the M camera identifiers; the second camera identifier is any one of the M camera identifiers other than the first camera identifier. In response to the third input, a preview image captured by the camera indicated by the second camera identifier is displayed in the first shooting preview window.
4. The method according to claim 1, characterized in that, The first shooting preview window includes filter adjustment controls, which are used to adjust the filter type of the preview image displayed in the first shooting preview window; the method further includes: Receive a fourth input from the user to the filter adjustment controls in the first shooting preview window; In response to the fourth input, N filter identifiers are displayed in the first shooting preview window, each filter identifier indicating a filter type, where N is an integer greater than 1.
5. The method according to claim 4, characterized in that, The method further includes: When the filter type corresponding to the preview image in the first shooting preview window is the first filter type indicated by the first filter identifier, the user's fifth input for the second filter identifier is received, wherein the first filter identifier is any one of the N filter identifiers; and the second filter identifier is any one of the N filter identifiers other than the first filter identifier. In response to the fifth input, a preview image of the second filter type indicated by the second filter identifier is displayed in the first shooting preview window.
6. The method according to claim 4, characterized in that, The preview image in the first shooting preview window is a preview image of the third filter type indicated by the third filter identifier, and the preview image in the second shooting preview window is a preview image of the fourth filter type indicated by the fourth filter identifier. The third filter identifier and the fourth filter identifier are any two filter identifiers among the N filter identifiers. The step of capturing the first image and the second image through the first camera and the second camera includes: The first image of the third filter type and the second image of the fourth filter type are captured using the first camera and the second camera.
7. The method according to claim 1, characterized in that, The shooting preview interface includes a dynamic image control, which is used to enable or disable the dynamic image shooting mode; the method further includes: When the dynamic image control is in the first display state, a sixth input from the user to the dynamic image control is received, wherein the first display state is used to indicate that the dynamic image shooting mode is in the off state; In response to the sixth input, the dynamic image control is displayed in a second display state; the second display state is used to indicate that the dynamic image shooting mode is enabled. In response to the shooting input, a first dynamic image and a second dynamic image are captured using the first camera and the second camera.
8. The method according to claim 7, characterized in that, The method further includes: When the dynamic image control is in the first display state, in response to the shooting input, a first still image and a second still image are captured through the first camera and the second camera; The first static image and the second static image have different field of view angles.
9. The method according to claim 1, characterized in that, When the shooting preview interface is displayed on the screen of a foldable electronic device, the method further includes: When the foldable screen electronic device is in a folded state and displays a shooting preview interface with a shooting preview window, a seventh input from the user is received, the seventh input being used to unfold the foldable screen electronic device; the shooting preview window displayed by the foldable screen electronic device can be the shooting preview window of any camera; In response to the seventh input, a multi-camera control is displayed on the shooting preview interface, the multi-camera control being used to turn the multi-camera mode on or off; The step of displaying a first shooting preview window and a second shooting preview window on the shooting preview interface in response to the first input includes: In response to the first input to the multi-camera control displayed in the shooting preview interface, a first shooting preview window and a second shooting preview window are displayed in the shooting preview interface.
10. The method according to claim 9, characterized in that, The method further includes: When the multi-camera control is displayed in the shooting preview interface, the user's eighth input is received, which is used to fold the foldable screen electronic device; In response to the eighth input, the multi-camera control displayed in the shooting preview interface is hidden, and a shooting preview window is displayed in the shooting preview interface.
11. The method according to claim 1, characterized in that, The first camera is a front-facing camera; the second camera is a telephoto camera; The step of capturing a first image and a second image in response to a shooting input, using the first camera and the second camera, includes: In response to the shooting input, a first image and a second image are captured using the front-facing camera and the telephoto camera.
12. The method according to claim 1, characterized in that, The first camera is a wide-angle camera, and the second camera is a telephoto camera; The step of capturing a first image and a second image in response to a shooting input, using the first camera and the second camera, includes: In response to the shooting input, a first image and a second image are captured using the wide-angle camera and the telephoto camera.
13. The method according to claim 6, characterized in that, The method further includes: In response to the fourth input, a rollback control and the N filter icons are displayed in the first shooting preview window; After receiving the user's fifth input regarding the second filter identifier, the method further includes: Receive the user's ninth input to the back button; In response to the ninth input, the back control and the N filter icons displayed in the first shooting preview window are hidden, and the camera switching control is displayed in the first shooting preview window.
14. The method according to any one of claims 1 to 13, characterized in that, After capturing the first image and the second image using the first camera and the second camera, the method further includes: Receive the user's tenth input, which is used to open the photo album application; In response to the tenth input, a photo album application interface is displayed, the photo album application interface including a thumbnail of the first image and a thumbnail of the second image; the display position of the thumbnail of the first image is adjacent to the display position of the thumbnail of the second image.
15. The method according to claim 9, characterized in that, The shooting preview interface includes shooting mode controls; the shooting mode controls include at least one of the following: landscape controls, portrait controls, photo controls, video controls, and ultra-high-definition document controls; The method further includes: In response to the first input to the multi-camera control displayed in the shooting preview interface, a first prompt message is displayed and the shooting mode control is hidden; the first prompt message is used to prompt the user that the foldable screen electronic device has enabled the multi-camera mode; when the multi-camera mode is enabled, multiple still images or moving images captured by different cameras are captured in one shot.
16. The method according to claim 15, characterized in that, After displaying the first prompt message and hiding the shooting mode control, the method further includes: Receive the eleventh input from the user to the multi-camera control; In response to the eleventh input, a second prompt message and the shooting mode control are displayed; the second prompt message is used to remind the user that the foldable screen electronic device has turned off the multi-camera mode; when the multi-camera mode is turned off, a single still image or moving image is captured by one camera at a time.
17. A shooting device, characterized in that, include: The receiving module is used to receive the first input to the shooting preview interface; The display module is configured to respond to the first input received by the receiving module and display a first shooting preview window and a second shooting preview window on the shooting preview interface; the first shooting preview window includes a preview image captured by the first camera; the second shooting preview window includes a preview image captured by the second camera; the first camera and the second camera include any two of the following: a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, and a front-facing camera; The shooting module is used to capture a first image and a second image in response to shooting input, using the first camera and the second camera.
18. The apparatus according to claim 17, characterized in that, The first shooting preview window includes a camera switching control, which is used to switch the camera that captures the preview image displayed in the first shooting preview window; The receiving module is further configured to receive a second input from the user to the camera switching control in the first shooting preview window when the first shooting preview window includes a preview image captured by the first camera; The display module is further configured to, in response to the second input received by the receiving module, display a preview image captured by the third camera in the first shooting preview window; The third camera is different from the second camera.
19. The apparatus according to claim 18, characterized in that, The camera switching control includes M camera identifiers, each camera identifier corresponding to one camera, where M is an integer greater than 1; The receiving module is further configured to receive a third input from the user to the second camera identifier when the first shooting preview window includes a preview image captured by the camera indicated by the first camera identifier; the first camera identifier is any one of the M camera identifiers; The second camera identifier is any one of the M camera identifiers other than the first camera identifier; The display module is further configured to, in response to the third input received by the receiving module, display a preview image captured by the camera indicated by the second camera identifier in the first shooting preview window.
20. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the shooting method as described in any one of claims 1 to 16.
