Image capturing method, device, electronic device and readable storage medium

By using a free-angle and fixed-angle camera setup, the method simplifies multi-frame image capture by maintaining one camera's position and synchronizing the other with the device, improving image quality through combined content capture.

JP7815248B2Active Publication Date: 2026-02-17VIVO MOBILE COMM CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
JP2023532574
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-12-07
Filing Date
2021-11-30
Publication Date
2026-02-17
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

Current image capturing methods in multi-frame scenes require fixed equipment for extended periods, making shooting difficult due to the need for stability, often necessitating the use of tripods.

Method used

Employing a first camera mounted on a free-angle head and a second camera on a fixed-angle head, where the free-angle head maintains the first camera's position constant while the fixed-angle head moves synchronously with the device, allowing for image combination to create a composite image.

Benefits of technology

This approach reduces the difficulty of capturing multiple frames by eliminating the need for additional support equipment and enhances image quality by incorporating diverse content from both cameras.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007815248000001
    Figure 0007815248000001
  • Figure 0007815248000002
    Figure 0007815248000002
  • Figure 0007815248000003
    Figure 0007815248000003
Patent Text Reader

Abstract

This application discloses an image capturing method, an apparatus, an electronic device, and a readable storage medium, which belong to the field of image processing. A specific implementation includes receiving a first input for triggering image capturing, acquiring a first image of multiple frames captured by a first camera in response to the first input, and acquiring a second image of multiple frames captured by a second camera, wherein in the image capturing process, a free platform controls the first camera to keep its actual capturing position constant, and a fixed platform controls the second camera to move synchronously with the electronic device, and combining the first image of multiple frames and the second image of multiple frames to obtain a combined image.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] (CROSS-REFERENCE TO RELATED APPLICATIONS) This application claims priority from Chinese Patent Application No. 202011429676.4, filed in China on December 7, 2020, the entire contents of which are incorporated herein by reference.

[0002] The present application belongs to the field of image processing, and specifically relates to an image capturing method, apparatus, electronic device and readable storage medium. [Background technology]

[0003] Currently, when shooting a scene with multiple frames of images such as slow shutter speed, the shooting equipment generally needs to be fixed for a relatively long time and should not be moved too much, otherwise the shooting quality will be affected. Therefore, the shooting equipment is often supported by equipment such as a tripod, which makes the shooting difficult. Summary of the Invention [Problem to be solved by the invention]

[0004] The purpose of the embodiments of the present application is to provide an image capturing method, apparatus, electronic device and readable storage medium that solve the problem of the relatively high shooting difficulty in current multi-frame image capturing scenes. [Means for solving the problem]

[0005] In order to solve the above technical problems, the present application is realized as follows.

[0006] According to a first aspect, an embodiment of the present application provides an image capturing method for use in an electronic device, the electronic device including a first camera, a second camera, a free-angle head, and a fixed-angle head, the first camera being mounted on the free-angle head, and the second camera being mounted on the fixed-angle head, the method comprising: receiving a first input to trigger image capture; In response to the first input, acquiring a first image of a plurality of frames taken by the first camera, and acquiring a second image of a plurality of frames taken by the second camera, wherein in the image taking process, the free platform controls the first camera so that the actual taking position does not change, and the fixed platform controls the second camera so that it moves synchronously with the electronic device; and combining the first image of the plurality of frames with the second image of the plurality of frames to obtain a combined image.

[0007] According to a second aspect, an embodiment of the present application provides an image capturing device for use in an electronic device, the electronic device including a first camera, a second camera, a free-angle head, and a fixed-angle head, the first camera being mounted on the free-angle head, and the second camera being mounted on the fixed-angle head, the device comprising: a receiving module for receiving a first input for triggering image capture; an acquisition module for acquiring a first image of a plurality of frames taken by the first camera and a second image of a plurality of frames taken by the second camera in response to the first input, wherein in an image capturing process, the acquisition module controls the free platform so that an actual capturing position of the first camera does not change, and the fixed platform so that the second camera moves synchronously with the electronic device; a combining module for combining the first image of the plurality of frames and the second image of the plurality of frames to obtain a combined image.

[0008] According to a third aspect, an embodiment of the present application provides an electronic device, the electronic device including a processor, a memory, and a program or instructions stored in the memory and operable to run on the processor, the program or instructions implementing the steps of the method according to the first aspect when executed by the processor.

[0009] According to a fourth aspect, an embodiment of the present application provides a readable storage medium having a program or instructions stored thereon, the program or instructions performing the steps of the method according to the first aspect when executed by a processor.

[0010] According to a fifth aspect, an embodiment of the present application provides a chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor running a program or instruction and used to implement the method according to the first aspect.

[0011] According to a sixth aspect, an embodiment of the present application provides a computer program product, the computer program product being stored on a non-transitory storage medium, the computer program product being executed by at least one processor to implement the method according to the first aspect. [Effects of the Invention]

[0012] In an embodiment of the present application, after receiving a first input to trigger image capture, a first set of frames of images are captured by a first camera mounted on a pan head, and a second set of frames of images are captured by a second camera mounted on a fixed pan head. The first set of frames and the second set of frames of images are then combined to obtain a composite image. In this manner, the pan head replaces equipment such as a tripod to assist in capturing multiple frames of images, thereby reducing the difficulty of capturing images. Furthermore, during the image capture process, the pan head controls the first camera so that its actual capturing position remains constant, and the fixed pan head controls the second camera to move synchronously with the electronic device. This allows the first camera and the second camera to capture different image contents, thereby ensuring that the final combined image contains a relatively large amount of image content and improving image quality. [Brief explanation of the drawings]

[0013] [Figure 1] 1 is a flowchart of an image capturing method according to an embodiment of the present application. [Figure 2] 1 is a flowchart of an image capturing process in a specific example of the present application. [Figure 3] 1 is a schematic diagram of a mobile phone interface in a specific example of the present application; [Figure 4] 2 is a second schematic diagram of a mobile phone interface in a specific example of the present application. [Figure 5] FIG. 2 is a schematic diagram of an image synthesis process in a specific example of the present application. [Figure 6] 1 is a structural schematic diagram of an image capturing device according to an embodiment of the present application; [Figure 7] 1 is a structural schematic diagram of an electronic device according to an embodiment of the present application; [Figure 8] FIG. 1 is a structural schematic diagram of another electronic device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION

[0014] The following clearly and completely describes the technical solutions in the embodiments of the present application, in conjunction with the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without any creative efforts fall within the scope of protection of the present application.

[0015] The terms "first," "second," etc. in the specification and claims of this application are intended to distinguish between similar objects and are not intended to describe a particular order or sequence. It should be understood that such terms are interchangeable where appropriate, so that embodiments of this application may be performed in orders other than those illustrated or described herein, and that objects distinguished by "first," "second," etc. are generally of the same type and do not limit the number of objects; for example, a first object may be one or more. Furthermore, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / " generally indicates an "or" relationship between the related objects.

[0016] The image capturing method according to the embodiment of the present application will be described in detail below with reference to specific examples and application scenarios in conjunction with the drawings.

[0017] Referring to FIG. 1, FIG. 1 is a flowchart of an image capturing method according to an embodiment of the present application, which is used in an electronic device. The electronic device may include a first camera, a second camera, a pan head, and a fixed pan head. Here, the first camera is mounted on the pan head, and the second camera is mounted on the fixed pan head. Both the pan head and the fixed pan head are support devices for mounting and fixing the cameras, and can prevent camera shake, without requiring any additional fixing device.

[0018] As shown in FIG. 1, the image capturing method in the embodiment of the present application may include the following steps:

[0019] Step 101: Receive a first input to trigger image capture.

[0020] In this embodiment, after activating the photographing function in the electronic device, the user may input a command to trigger image photographing into the electronic device by clicking a photographing button, and in response, the electronic device receives a first input to trigger image photographing.

[0021] Step 102: In response to a first input, a first image of multiple frames taken by a first camera is obtained, and a second image of multiple frames taken by a second camera is obtained.

[0022] In this embodiment, during the image capture process, the free-angle head controls the first camera so that its actual shooting position does not change, and the fixed head controls the second camera so that it moves / moves synchronously with the electronic device. That is, the function of the free-angle head is to lock the shooting object and ensure that the actual shooting position of the first camera does not change by controlling the first camera to rotate in the reverse direction when the electronic device rotates forward, or to rotate in the forward direction when the electronic device rotates backward, thereby ensuring that the actual shooting position of the first camera does not change. The function of the fixed head is to control the second camera to move synchronously with the electronic device during the image capture process, that is, to maintain the relative stillness between the second camera and the electronic device, providing an appropriate anti-shake effect when the electronic device is rotated, and ensuring image quality.

[0023] In one specific example, the first image captured by the first camera and / or the second image captured by the second camera may be stored in the electronic device in the form of a buffer queue. When the stored images reach an upper limit, the stored image at the top of the buffer queue may be discarded, and new captured images may continue to be stored at the end of the buffer queue. This upper limit may be set according to the actual situation of the user. For example, this upper limit may be set as the number of images captured within 2 seconds. That is, if the first camera and the second camera capture 30 frame images per second, the upper limit of the buffer queue will be 60 frame images.

[0024] Step 103: Synthesize the first image of the multiple frames and the second image of the multiple frames to obtain a composite image.

[0025] It should be noted that the embodiments of the present application do not limit the image synthesis method, and may adopt any conventional image synthesis method. The applicable scenes of the embodiments of the present application include, but are not limited to, multi-frame image shooting scenes, such as slow shutter shooting scenes, panoramic shooting scenes, etc.

[0026] In an embodiment of the present application, an image capturing method receives a first input for triggering image capture, then acquires a plurality of frames of first images captured by a first camera mounted on a pan head, acquires a plurality of frames of second images captured by a second camera mounted on a fixed pan head, and combines the plurality of frames of first images with the plurality of frames of second images to obtain a composite image. In this way, the pan head replaces equipment such as a tripod to assist in capturing multiple frames of images, thereby reducing the difficulty of capturing images. Furthermore, during the image capturing process, the pan head controls the first camera so that its actual capturing position does not change, and the fixed pan head controls the second camera to move synchronously with the electronic device, allowing the first camera and the second camera to capture different image contents, thereby ensuring that the final combined image contains a relatively large amount of image content and improving image quality.

[0027] In an embodiment of the present application, to ensure an image synthesis effect, a first target image may be selected from a plurality of frames of first images, and a second target image may be selected from a plurality of frames of second images, and the first target image and the second target image may be synthesized to obtain a synthesized image. Here, the number of first target images may be one frame or multiple frames. The number of second target images may be one frame or multiple frames. When selecting the first target image and the second target image, the electronic device may select them based on a user's selection operation or based on a selection rule preset in the electronic device, but this is not limited thereto.

[0028] Optionally, the image synthesis process in step 103 above may include selecting a first target image from the first images of the multiple frames and selecting a second target image of the multiple frames from the second images of the multiple frames, and using the second target images of the multiple frames to perform image content supplementation on the first target image to obtain a synthesized image.

[0029] In one embodiment, the first target image and the second target image may be selected from cached images after the image capture is completed. In this way, by selecting the first target image and the second target image after the image capture is completed, it is possible to realize selection from the entire cached images, thereby ensuring the quality of the selected images.

[0030] It should be noted that when the actual shooting position of the first camera remains unchanged, i.e., the first camera actually captures multiple frames of images at the starting shooting position, the first target image may be selected from the multiple frames of first images captured by the first camera as the image with the highest clarity among the multiple frames of first images. When the second camera moves or rotates during the image capture process, i.e., the images captured by the second camera are images of different scenes, in order to ensure an image synthesis effect, multiple frames of second target images may be selected from the second images captured by the second camera, and the multiple frames of second target images are images captured when the second camera rotates at different angles. For example, if the maximum rotation angle of the pan head is T and six frames of second target images are selected, the six frames of second target images may correspond to images captured when the rotation angles of the pan head are T / 6, T / 3, T / 2, 2T / 3, 5T / 6, and T, respectively.

[0031] In this way, the composite image contains the image content at the initial shooting position and is supplemented with the image content after the electronic device has rotated, thereby ensuring the quality of the composite image.

[0032] In an embodiment of the present application, when the rotation angle of the pan head exceeds a preset threshold, the first camera cannot be locked to prevent the starting position from changing, i.e., when the rotation angle of the pan head reaches a preset threshold, it reaches the limit for locking the first camera, and if it continues to rotate, the first camera cannot be locked to prevent the starting position from changing, so the electronic device may stop the shooting process when monitoring that the rotation angle of the pan head has reached a preset threshold, and this preset threshold may be set based on the corresponding pan head.

[0033] Optionally, the image capturing method of this embodiment may further include stopping the capturing process when monitoring that the rotation angle of the ball head reaches a preset threshold or an input for triggering the stop of image capturing is received.

[0034] That is, in the image capturing process, the electronic device monitors whether the rotation angle of the pan head reaches a preset threshold or whether an input for triggering the stop of image capturing is received, and can stop the capturing process when the rotation angle of the pan head reaches a preset threshold or an input for triggering the stop of image capturing is received, which input can be realized by the user clicking the capture button.

[0035] In an embodiment of the present application, the first target image and the second target image may be selected based on a user's selection operation. The process of selecting the first target image and the second target image may include: receiving a second input for the first image of the plurality of frames and the second image of the plurality of frames, the second input including, but not limited to, a pressing operation, a sliding operation, and the like; In response to a second input, selecting a first target image from the plurality of frames of first images, and selecting a plurality of frames of second target images from the plurality of frames of second images.

[0036] In this way, by selecting the required first and second target images through a user selection operation, the quality of the selected images can be ensured and the subsequent image synthesis effect can be further improved.

[0037] In one specific example, after image capture is completed, the first image of the plurality of frames and the second image of the plurality of frames that have already been cached may be displayed on the display interface of the electronic device, allowing a user to select a first target image from the first image of the plurality of frames and a second target image from the second image of the plurality of frames. The first image of the plurality of frames and the second image of the plurality of frames may be displayed simultaneously or sequentially on the display interface of the electronic device, for example, by displaying the first image of the plurality of frames followed by the second image of the plurality of frames, or by displaying the second image of the plurality of frames followed by the first image of the plurality of frames.

[0038] Optionally, the image capturing method of this embodiment may further include presenting the image captured by the second camera on a preview interface for user confirmation.

[0039] It should be noted that the actual shooting position of the first camera remains unchanged, i.e., the image at the initial shooting position is locked, but the image taken by the second camera is an image of a different scene, so there is no need to present the image taken by the first camera in the preview interface, and only the image taken by the second camera needs to be presented.

[0040] A specific example of the present application will be described in detail below in conjunction with FIGS. 2 to 5. FIG.

[0041] In a specific example of the present application, the electronic device is a mobile phone, which includes a first rear camera, a second rear camera, a free-angle head, and a fixed-angle head, where the first rear camera is mounted on the free-angle head, and the second rear camera is mounted on the fixed-angle head. As shown in Figure 2, an image capturing process using slow shutter photography may include the following steps:

[0042] Step 201: The mobile phone turns on the camera application according to user input, opens the first rear camera and the second rear camera, and enters a dual-head photography mode.

[0043] As shown in Figure 3, after the mobile phone turns on the camera application and opens the rear camera, the mobile phone interface may display information for the user to select whether to enter the dual head photography mode. The user can enter the dual head photography mode by clicking the "Pro" button.

[0044] Step 202: The mobile phone receives an input for triggering image capture based on the user clicking the capture button, and starts image capture.

[0045] In dual head shooting mode, the free head and fixed head are enabled at the same time, the free head will lock the image currently being shot, and when the mobile phone moves within a certain range, the free head will move accordingly to ensure the actual position of the shot remains the same, so when the user starts slow shutter shooting, they only need to press the shooting button, and the image will start being taken immediately after pressing.

[0046] Step 203: During the image capturing process, the mobile phone moves, and the free platform controls the first rear camera to keep the actual capturing position unchanged, i.e., lock the initial capturing position, and cache the first image captured by the first rear camera.

[0047] Step 204: During the image capturing process, the mobile phone moves, and the fixed pan head controls the second rear camera to move synchronously with the mobile phone, i.e., maintain the relative stationary state between the mobile phone and the second rear camera, and cache the second image captured by the second rear camera.

[0048] Here, in the slow shutter photography process, which always requires a long exposure time, the fixed platform can provide a suitable anti-shake effect in this process, and there is no need to use additional fixed equipment.

[0049] Step 205: Determine whether the rotation angle of the free-angle head reaches a preset threshold or whether an input for triggering the stop of image capture is received.

[0050] In one embodiment, since the camera platform cannot compensate for camera displacement without limit, the rotation status of the camera platform may be indicated by a rectangular frame on the mobile phone interface shown in Figure 4 while the mobile phone is moving, thereby informing the user of the movement status of the camera platform.

[0051] When capturing a slow-shutter light painting scene, the camera platform has already locked the starting position. As the user begins to paint the light painting, the user begins to move the mobile phone accordingly, continuing until the entire painting is completed. During the shooting process, the mobile phone application needs to determine whether the maximum rotation angle of the camera platform has been reached. If the maximum rotation angle of the camera platform is T, when the mobile phone begins to move, the camera platform will lock the starting position by rotating itself. When the rotation angle of the camera platform reaches T, it indicates that the limit of shooting has been reached. If the rotation continues, the camera platform will no longer be able to lock the starting position. When the user presses the capture button again, a command to stop shooting is input, or when the rotation reaches the limit of the camera platform, shooting is completed and step 206 is entered.

[0052] Step 206: After the shooting is completed, read the first image captured by the first rear camera and select a first target image therefrom; read the second image captured by the second rear camera and select multiple frames of the second target image therefrom.

[0053] The free-standing head keeps the starting position locked all the time, so the captured image is more important, while the fixed head rotates with the mobile phone to capture more details. Therefore, when extracting the images corresponding to these two heads, the image corresponding to the free-standing head can be selected as the clearest, while the image corresponding to the fixed head is an image of a different scene, so multiple frames of images at different rotation angles need to be selected.

[0054] Step 207: Synthesize the first target image and the multiple frames of the second target image to obtain a composite image.

[0055] For example, as shown in Figure 5, the first image from the left is the first image captured by the free-angle head. Since multiple frames were captured, clicking this area pops up a series of relatively clear images stored in the image capture area, and the user can select the clearest image based on their input. The second and third images from the left are extended images captured by the fixed head and rotating the mobile phone. Users can freely select additional scenes beyond the initial captured scene. After the user selects the images they need to combine, the image composition is completed by adding background images. In this way, a composite image can be obtained by combining the three frames shown in Figure 5.

[0056] The user then returns to step 202 if they wish to continue taking images, otherwise they exit the camera.

[0057] In this way, the example of the present application uses a free head and a fixed head to lock the initial shooting position, and can supplement images after the mobile phone starts to rotate, and finally completes shooting of a multi-frame scene by combining images.

[0058] It should be noted that, for the image capturing method according to the embodiment of the present application, the execution body may be an image capturing device, or may be a control module for executing the image capturing method in the image capturing device. In the embodiment of the present application, the image capturing device according to the embodiment of the present application will be described by taking the image capturing device as an example to execute the image capturing method.

[0059] Referring to FIG. 6, FIG. 6 is a structural schematic diagram of an image capturing device according to an embodiment of the present application, which is used in an electronic device. The electronic device may include a first camera, a second camera, a pan head, and a fixed pan head. Here, the first camera is mounted on the pan head, and the second camera is mounted on the fixed pan head. Both the pan head and the fixed pan head are support devices that mount and fix the cameras, and can prevent shaking. During the image capturing process, the pan head controls the first camera to keep its actual shooting position constant, and the fixed pan head controls the second camera to move synchronously with the electronic device. As shown in FIG. 6, this image capturing device 60 includes: a receiving module 61 for receiving a first input for triggering image capture; an acquisition module 62 for acquiring a first image of a plurality of frames taken by the first camera and for acquiring a second image of a plurality of frames taken by the second camera in response to the first input; a combining module 63 for combining the first image of the plurality of frames and the second image of the plurality of frames to obtain a combined image.

[0060] Optionally, the synthesis module 63 a selection unit for selecting a first target image from the first images of the plurality of frames and selecting a second target image from the second images of the plurality of frames; a synthesis unit for performing image content supplementation on the first target image using the second target images of the plurality of frames to obtain the synthesized image; Here, the first target image is the image with the highest clarity among the first images of the multiple frames, and the second target images of the multiple frames are images taken when the second camera rotates at different angles.

[0061] Optionally, the image capture device 60 includes: The control module further includes a control module for stopping the image capture process when monitoring that the rotation angle of the free-angle head reaches the preset threshold or receives an input to trigger the stop of image capture.

[0062] Optionally, the selection unit: a receiving subunit for receiving a second input for a first image of the plurality of frames and a second image of the plurality of frames; a selection subunit for selecting a first target image from the first images of the plurality of frames and selecting a second target image from the second images of the plurality of frames in response to the second input.

[0063] Optionally, the image capture device 60 includes: The display device further includes a presentation module for presenting an image captured by the second camera on a preview interface.

[0064] The image capturing device in the embodiments of the present application may be a device, or may be a component, integrated circuit, or chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet PC, a laptop, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and the non-mobile electronic device may be a personal computer (PC), a television, a teller machine, or a self-service machine, and the embodiments of the present application are not specifically limited.

[0065] The image capturing device in the embodiment of the present application may be a device having an operating system, which may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not specifically limited.

[0066] The image capturing device 60 according to the embodiment of the present application can realize each process realized by the embodiment of the method shown in FIG. 1 and achieve the same technical effects, and will not be further described here to avoid repetition.

[0067] Optionally, as shown in Fig. 7, an embodiment of the present application further provides an electronic device 700, which includes a processor 701, a memory 702, and a program or instruction stored in the memory 702 and operable on the processor 701, which, when executed by the processor 701, can realize each process of the embodiment of the image capturing method and achieve the same technical effect. To avoid repetition, no further description will be given here.

[0068] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices described above.

[0069] FIG. 8 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.

[0070] The electronic device 800 includes components such as, but not limited to, a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.

[0071] In an embodiment of the present application, the input unit 804 may include an imaging assembly 8041. The imaging assembly 8041 may include a first camera, a second camera, a free-angle head, and a fixed-angle head. Here, the first camera is mounted on the free-angle head, and the free-angle head controls the first camera so that its actual shooting position does not change during the image capturing process. The second camera is mounted on the fixed-angle head, and the fixed-angle head controls the second camera so that it moves synchronously with the electronic device 800 during the image capturing process.

[0072] As can be understood by those skilled in the art, the electronic device 800 may further include a power source (e.g., a battery) for powering each component, and the power source may be logically connected to the processor 810 by a power management system, thereby enabling the power management system to realize functions such as charge / discharge management and power consumption management. The electronic device structure shown in Figure 8 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than those shown, or a combination of some components, or a different arrangement of components, which will not be further described here.

[0073] wherein the user input unit 807 is used to receive a first input for triggering image capture; In response to the first input, processor 810 is used to acquire a first image of multiple frames taken by the first camera and a second image of multiple frames taken by the second camera, and to combine the first image of multiple frames with the second image of multiple frames to obtain a combined image.

[0074] Optionally, the processor 810 further selects a first target image from the first images of the plurality of frames and a second target image from the second images of the plurality of frames, and uses the second target image from the plurality of frames to perform image content supplementation on the first target image to obtain the composite image, wherein the first target image is the image with the highest clarity in the first images of the plurality of frames, and the second target images from the plurality of frames are images taken when the second camera rotates at different angles.

[0075] Optionally, the processor 810 is further used to stop the image capture process when it monitors that the rotation angle of the ball head reaches the preset threshold or the user input unit 807 receives an input to trigger the stop of image capture.

[0076] Optionally, the user input unit 807 is further used to receive a second input for the first image of the plurality of frames and the second image of the plurality of frames; The processor 810 is further used to select a first target image from a first image of the plurality of frames and a second target image of the plurality of frames from a second image of the plurality of frames in response to the second input.

[0077] Optionally, the display unit 806 is used to present the image captured by the second camera on a preview interface.

[0078] The electronic device 800 according to the embodiment of the present application can implement each process implemented by the embodiment of the method shown in FIG. 1 and achieve the same technical effects, and will not be further described here to avoid repetition.

[0079] It should be understood that in the embodiment of the present application, the input unit 804 may further include a graphics processing unit (GPU) 8042 and a microphone 8043, and the graphics processor 8042 processes image data of still or video images captured by an image capture device (e.g., an imaging assembly 8041) in a video capture mode or an image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be arranged in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. The other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control buttons, switch buttons, etc.), a trackball, a mouse, and a control lever, which will not be further described herein. The memory 809 may be used to store software programs and various data, including, but not limited to, application programs and an operating system. The processor 810 may integrate an application processor and a modem processor. Here, the application processor is primarily for processing the operating system, user interface, application programs, etc., and the modem processor is primarily for processing wireless communications. As can be appreciated, the modem processor does not have to be integrated into the processor 810.

[0080] The embodiments of the present application further provide a readable storage medium, on which a program or instruction is stored, which, when executed by a processor, can realize each process of the above-mentioned image capturing method embodiment and achieve the same technical effect. In order to avoid repetition, no further description will be given here.

[0081] The processor may be the processor in the electronic device described in the above embodiment. The readable storage medium may include a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0082] The embodiments of the present application further provide a chip, the chip including a processor and a communication interface, the communication interface is coupled to the processor, the processor runs a program or instruction, and is used to realize each process of the embodiments of the image capturing method described above, and can achieve the same technical effect. In order to avoid repetition, no further description will be given here.

[0083] It should be understood that the chips referred to in the embodiments of this application may be referred to as system level chips, system chips, chip systems, or system-on-chips.

[0084] It should be noted that, in this specification, the terms "comprise," "include," "includes," or any other variations thereof are intended to cover the non-exclusive "comprise," whereby a process, method, article, or apparatus comprising a set of elements not only includes those elements, but also other elements not expressly listed or inherent in such process, method, article, or apparatus. Absent further limitations, an element defined by the phrase "comprises one of" does not preclude the presence of other identical elements in the process, method, article, or apparatus comprising that element. 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 include performing functions in an essentially simultaneous manner or in the reverse order based on the functions involved. For example, the described method may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with reference to some examples may be combined in other examples.

[0085] As will be apparent to those skilled in the art from the above description of the embodiments, the methods of the above embodiments can be realized in the form of software and a necessary general-purpose hardware platform. Of course, they can also be realized in hardware, but in many cases the former is a more preferred embodiment. Based on this understanding, the technical solution of the present application, in substance or in part contributing to the prior art, may be embodied in the form of a software product. This computer software product is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) and includes some instructions for causing a terminal (which may be a mobile phone, computer, server, air conditioner, network device, etc.) to execute the methods described in each embodiment of the present application.

[0086] As can be appreciated by those skilled in the art, the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can implement the described functions using different methods for each specific application, but such implementation should not be considered beyond the scope of the present disclosure.

[0087] As will be apparent to those skilled in the art, for the sake of convenience and conciseness of description, the specific operating processes of the above-described systems, devices and units may refer to the corresponding processes in the above-described method embodiments, and will not be further described here.

[0088] In the embodiments of the present application, it should be understood that the disclosed devices and methods may be realized in other ways. For example, the device embodiments described above are merely exemplary, and the division of the units is merely a logical functional division. In actual implementation, there may be other division methods, for example, multiple units or assemblies may be combined or integrated into another system, or some features may be omitted or not implemented. Furthermore, the couplings or direct couplings or communication connections between devices shown or discussed may be indirect couplings or communication connections through some interfaces, devices, or units, and may be electrical, mechanical, or other types.

[0089] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, located in one location, or distributed across multiple network units, some or all of which may be selected to achieve the objectives of the solution of this embodiment according to actual needs.

[0090] Furthermore, each functional unit in each embodiment of the present disclosure may be integrated into a single processing unit, each unit may exist physically alone, or two or more units may be integrated into a single unit.

[0091] Although the embodiments of the present application have been described above in conjunction with the drawings, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not limiting. Those skilled in the art can take the teachings of the present application into account and implement many forms without departing from the spirit and scope of the claims, all of which fall within the scope of protection of the present application.

Claims

1. 1. An image capturing method for use in an electronic device, the electronic device including a first camera, a second camera, a first pan head, and a second pan head, the first camera being mounted on the first pan head, and the second camera being mounted on the second pan head, the method comprising: receiving a first input to trigger image capture; In response to the first input, acquiring a first image of a plurality of frames taken by the first camera, and acquiring a second image of a plurality of frames taken by the second camera, wherein in the image taking process, the first camera platform controls the first camera so that the actual taking position of the first camera does not change, and the second camera platform controls the second camera so that the second camera moves synchronously with the electronic device; combining the first image of the plurality of frames with the second image of the plurality of frames to obtain a combined image; the second camera platform controls the second camera to move synchronously with the electronic device in order to maintain relative stillness between the second camera and the electronic device during an image capturing process; When the electronic device rotates in a forward direction, the first pan head controls the first camera to rotate in a reverse direction, or when the electronic device rotates in a reverse direction, the first pan head controls the first camera to rotate in a forward direction; The method comprises: and stopping the image capture process when monitoring that the rotation angle of the first head reaches a preset threshold or receiving an input to trigger the stop of image capture; The image capturing method, wherein the electronic device further includes a display interface for indicating the rotation status of the first pan head.

2. The step of synthesizing the first image of the plurality of frames and the second image of the plurality of frames to obtain a synthesized image includes: selecting a first target image from the plurality of frames of first images and selecting a plurality of frames of second target images from the plurality of frames of second images; and performing image content supplementation on the first target image using the second target images of the plurality of frames to obtain the composite image; 2. The method of claim 1, wherein the first target image is the image with the highest clarity among the first images of the plurality of frames, and the second target images of the plurality of frames are images taken when the second camera rotates at different angles.

3. Selecting a first target image from the first images of the plurality of frames and selecting a second target image from the second images of the plurality of frames includes: receiving a second input for a first image of the plurality of frames and a second image of the plurality of frames; 3. The method of claim 2, further comprising: selecting a first target image from a first image of the plurality of frames, and selecting a second target image from a second image of the plurality of frames, in response to the second input.

4. The method comprises: The method of claim 1 , further comprising presenting an image captured by the second camera on a preview interface.

5. An image capturing device for use in an electronic device, the electronic device including a first camera, a second camera, a first pan head, and a second pan head, the first camera being mounted on the first pan head, the second camera being mounted on the second pan head, the device comprising: a receiving module for receiving a first input for triggering image capture; an acquisition module for acquiring a first image of a plurality of frames taken by the first camera and a second image of a plurality of frames taken by the second camera in response to the first input, wherein in an image capturing process, the acquisition module controls the first camera platform so that an actual capturing position of the first camera does not change, and controls the second camera platform so that the second camera moves synchronously with the electronic device; a synthesis module for synthesizing the first image of the plurality of frames and the second image of the plurality of frames to obtain a synthesized image; the second camera platform controls the second camera to move synchronously with the electronic device in order to maintain relative stillness between the second camera and the electronic device during an image capturing process; When the electronic device rotates in a forward direction, the first pan head controls the first camera to rotate in a reverse direction, or when the electronic device rotates in a reverse direction, the first pan head controls the first camera to rotate in a forward direction; The device comprises: a control module for stopping the image capture process when monitoring that the rotation angle of the first head reaches a preset threshold or receives an input to trigger the stop of image capture; The image capturing device, wherein the electronic device further includes a display interface for indicating a rotation status of the first pan head.

6. The synthesis module comprises: a selection unit for selecting a first target image from the first images of the plurality of frames and selecting a second target image from the second images of the plurality of frames; a synthesis unit for performing image content supplementation on the first target image using the second target images of the plurality of frames to obtain the synthesized image; 6. The device of claim 5, wherein the first target image is the image with the highest clarity among the first images of the plurality of frames, and the second target images of the plurality of frames are images taken when the second camera rotates at different angles.

7. The selection unit a receiving subunit for receiving a second input for a first image of the plurality of frames and a second image of the plurality of frames; a selection subunit for selecting a first target image from the first images of the plurality of frames and selecting a second target image from the second images of the plurality of frames in response to the second input.

8. The device comprises: The apparatus of claim 5 , further comprising a presentation module for presenting images captured by the second camera on a preview interface.

9. 5. An electronic device comprising a processor, a memory, and a program or instructions stored in the memory and operable on the processor, the electronic device realizing the image capturing method according to any one of claims 1 to 4 when the program or instructions are executed by the processor.

10. A readable storage medium having a program or instructions stored thereon, the program or instructions implementing the image capturing method of any one of claims 1 to 4 when executed by a processor.

11. A chip including a memory, a processor, and a communication interface, the communication interface being coupled to the processor, the processor running a program or instructions stored in the memory, and used to realize the image capture method of any one of claims 1 to 4.

12. 5. A computer program stored on a non-transitory storage medium, the computer program being executed by at least one processor to implement the image capturing method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Mobile terminal and method for controlling camera shooting by utilizing mobile terminal

    CN105554383A

  • Mobile terminal with two cameras

    CN105657103A

  • Panoramic shooting method, mobile terminal and computer readable storage medium

    CN107566738A

  • Photographing control methods and mobile terminals

    CN109639975A

  • Equipment imaging method and device, storage medium and electronic equipment

    CN110290300A