Mobile electronic equipment and image processing method
By using multi-depth image capture modules and image edge detection technology in mobile electronic devices, the problem of difficulty in shooting panoramic depth images with smartphones is solved, the generation and display of panoramic depth images is realized, and the shooting effect is improved.
Patent Information
- Application Number
- CN202310225913.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-02
- Publication Date
- 2024-09-03
AI Technical Summary
When shooting with smartphones and general digital cameras, they are limited by the optical physical conditions of a single lens, making it difficult to capture clear images of all the scenes in the scene at the same time. Especially for images with shallow depth of field and deep depth of field, it is difficult to achieve a panoramic depth effect.
By configuring the first image capture module and the second image capture module in the mobile electronic device, shooting with different depths of field, and using image edge detection technology to divide the image into focused areas and non-focused areas, combined with the image Bitsum image fusion technology generates panoramic depth images.
It realizes the fusion of images shot with different depths of field in the same scene to generate a panoramic depth image, so that all scenes in the scene are clearly imaged, improving the user experience.
Smart Images

Figure CN118587230A
Abstract
Description
Technical Field
[0001] The present invention relates to an image processing method and an electronic device for implementing the image processing method, and more specifically to an image processing method for fusing images with different depths of field into a full depth image and a mobile electronic device for implementing the image processing method. Background Art
[0002] With the rapid development of technology, the size of smart phones and general digital cameras is getting smaller and smaller, so that users can carry them and take pictures at any time. Generally speaking, although smart phones are equipped with multiple lenses, they mainly use a single lens to frame the scene when taking pictures. Due to the optical physical conditions of each lens, the image taken can be an image with a shallow depth of field or an image with a deep depth of field, making it difficult to make all the scenes in the scene clearly imaged. Summary of the invention
[0003] An embodiment of the present invention relates to an image processing method, which includes the following steps: receiving a first image captured by a first image capture module at a first depth of field of a scene; receiving a second image captured by a second image capture module at a second depth of field of the scene, wherein the first image and the second image are captured substantially at the same time, and the first depth of field is different from the second depth of field; performing image edge detection based on the first image to generate a first edge detection result; performing image edge detection based on the second image to generate a second edge detection result; dividing the first image into a first focus area and a first non-focus area based on the first edge detection result; dividing the second image into a second focus area and a second non-focus area based on the second edge detection result; and generating a full depth image based on the first focus area and the second focus area.
[0004] An embodiment of the present invention relates to a mobile electronic device, which includes a first image capture module, a second image capture module and a control module. The first image capture module captures a first image of a scene with a first depth of field, and the second image capture module captures a second image of the same scene with a second depth of field, wherein the first image and the second image are taken substantially at the same time, and the first depth of field is different from the second depth of field. The control module is configured to perform the following operations: receiving a first image and a second image; performing image edge detection based on the first image to generate a first edge detection result; performing image edge detection based on the second image to generate a second edge detection result; dividing the first image into a first focus area and a first non-focus area based on the first edge detection result; dividing the second image into a second focus area and a second non-focus area based on the second edge detection result; and forming a full depth image based on the first focus area and the second focus area. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] When read in conjunction with the accompanying drawings, aspects of the present disclosure are better understood from the following embodiments. It should be noted that, in accordance with standard practice in the industry, various structures are not drawn to scale. In fact, for clarity of discussion, the dimensions of various structures may be arbitrarily increased or reduced.
[0006] Figure 1 is a functional block diagram of a mobile electronic device according to the present disclosure.
[0007] Figure 2 It is a schematic diagram of a first image capture module and a second image capture module disposed in a mobile electronic device according to the present disclosure.
[0008] Figure 3 is a schematic diagram of the depth of field and the field of view of the first image capture module and the second image capture module according to the present disclosure.
[0009] Figure 4 is a schematic diagram of an image sensor chip according to the present disclosure.
[0010] Figure 5 is a schematic diagram of the image processing operation of a control module in a mobile electronic device according to the present disclosure.
[0011] Figure 6 It is a schematic diagram of fusing a first focus area and a second focus area to form a panoramic depth image according to the present disclosure.
[0012] FIG. 7A to FIG. 7B The after-focus image presented after a specific area of a full depth of field image displayed on a display is touched is shown.
[0013] Figure 8 is a schematic diagram of the image processing operation of a control module in a mobile electronic device according to the present disclosure.
[0014] Fig. 9 is a flow chart of an image processing method according to the present disclosure. DETAILED DESCRIPTION
[0015] The following uses more specific text to describe various embodiments or examples of the present disclosure illustrated in the accompanying drawings. It should be understood that these descriptions are only illustrative and are not intended to limit the present disclosure. For those skilled in the art of the present disclosure, any changes or modifications to the described embodiments, as well as further applications of the principles described in this document, are generally customary changes. Component symbols may be reused between embodiments, but it does not mean that one or more features of one embodiment must appear in another embodiment, even if the same component symbols are used.
[0016] Although terms including ordinal numbers such as "first", "second", etc. may be used to describe various components, structural components are not limited by these terms. These terms are only used to distinguish between various components. For example, without departing from the scope of the present disclosure, a "first structural component" may be referred to as a "second structural component". Similarly, a "second structural component" may also be referred to as a "first structural component". The term "and / or" used herein includes any and all combinations of one or more related items.
[0017] Spatially relative terms may be used herein, such as "below", "under", "below", "above", "above", etc., to facilitate description of the relationship between one component or part and another component or parts in the drawings. In addition to the orientation depicted in the drawings, spatially relative terms are used to include different orientations of the device in use or operation. When the device is turned to a different orientation (rotated 90 degrees or other orientations), the spatially relative terms used herein will also be interpreted according to the orientation after the rotation.
[0018] Figure 1 is a functional block diagram of a mobile electronic device 10 according to the present disclosure. Figure 1 The mobile electronic device 10 includes a photographing device 110, a control module 120 and a display 130; the photographing device 110 includes a first image capturing module 112 and a second image capturing module 114, and the first image capturing module 112 and the second image capturing module 114 can independently shoot with different parameters. For example, due to the different optical physical conditions they have, the first image capturing module 112 and the second image capturing module 114 can simultaneously shoot the same scene with different depths of field (DOF). The control module 120 can communicate information and issue instructions with the photographing device 110 and the display 130; specifically, the control module 120 is at least used to process the images provided by the first image capturing module 112 and the second image capturing module 114, such as edge detection, image alignment and image blending, so as to obtain an image in which all objects within a wider depth of field are clearly imaged (hereinafter referred to as a full depth of field image), and display the full depth of field image on the display 130.
[0019] Figure 2 1 is a schematic diagram of the first image capturing module 112 and the second image capturing module 114 being disposed in the mobile electronic device 10. Figure 2The mobile electronic device 10 may be a smart phone or other system having at least two image capture modules and capable of capturing images of a scene with different depths of field, such as (but not limited to) a tablet computer, a smart wearable device, a sports camera (e.g., a GoPro camera), a car camera, or the like. In order to allow the first image capture module 112 and the second image capture module 114 to capture images of the same scene, the first image capture module 112 and the second image capture module 114 may be located on the same side of the mobile electronic device 10 during shooting; for example, the first image capture module 112 and the second image capture module 114 are both disposed on the back of the mobile electronic device 10. The first image capture module 112 and the second image capture module 114 located on the same side of the mobile electronic device 10 may be as follows: Figure 2 As shown, they are arranged side by side vertically; in some embodiments, the first image capture module 112 and the second image capture module 114 can be arranged side by side horizontally or arranged diagonally.
[0020] Figure 3 is a schematic diagram of the depth of field and the field of view of the first image capture module 112 and the second image capture module 114 according to the present disclosure. Figure 3 , the first image capture module 112 captures a first image IMG1 of a scene with a first depth of field DOF1, and the second image capture module 114 captures a second image IMG2 of the same scene with a second depth of field DOF2; the first depth of field DOF1 is different from the second depth of field DOF2. In this embodiment, the first depth of field DOF1 and the second depth of field DOF2 are continuous depth of field ranges that do not overlap each other. Specifically, the first image capture module 112 can make the scene within the range of the first depth of field DOF1 to be clearly imaged, while the scene outside the range of the first depth of field DOF1 will appear blurred due to defocus; therefore, the first image IMG1 includes a first focus area A1 and a first non-focus area B1 defined according to the first depth of field DOF1. Similarly, the second image capture module 114 can make the scene within the second depth of field DOF2 clearly imaged, while the scene outside the second depth of field DOF2 will be blurred due to defocus; therefore, the second image IMG2 includes a second focus area A2 and a second non-focus area B2 defined according to the second depth of field DOF2. It should be noted that the first image capture module 112 and the second image capture module 114 in the mobile electronic device 10 are appropriately configured so that the first depth of field DOF1 and the second depth of field DOF2 are continuous ranges that do not overlap each other, which can facilitate the generation of a full depth image, but the present application is not limited thereto. In some embodiments, the first depth of field DOF1 and the second depth of field DOF2 may partially overlap or be discontinuous.
[0021] As mentioned above, the first image capturing module 112 and the second image capturing module 114 can independently perform shooting with different parameters. Figure 3 In the embodiment, the first image capture module 112 and the second image capture module 114 have different fields of view (FOV); configuring the first image capture module 112 and the second image capture module 114 with different fields of view in the mobile electronic device 10 is conducive to improving the user experience, for example, providing non-wide-angle or wide-angle images according to the needs of the user. In the case where the first image capture module 112 and the second image capture module 114 have different fields of view (for example Figure 3 As shown, the first field of view FOV1 of the first image capture module 112 is wider than the second field of view FOV2 of the second image capture module 114, and the first field of view FOV1 and the second field of view FOV2 partially overlap to facilitate subsequent image fusion. In addition, by keeping the optical axes (light of sight, LOS) of the first image capture module 112 and the second image capture module 114 parallel to each other, it can be ensured that the first image capture module 112 and the second image capture module 114 can capture images of the same scene at substantially the same viewing angle, thereby reducing the complexity of subsequent image fusion.
[0022] Figure 4 is a schematic diagram of the image sensor chip 116 in the first image capture module 112 and the second image capture module 114 according to the present disclosure. Figure 4 The image sensor chip 116 in the first image capture module 112 and the second image capture module 114 includes a plurality of image sensing pixels 1162 and a plurality of depth information measuring pixels 1164 arranged in a two-dimensional matrix; the image sensing pixels 1162 can generate image information reflecting the light intensity of the scene within the first field of view FOV1 or the second field of view FOV2, and the depth information measuring pixels 1164 can generate a phase signal; the phase signal can be used to measure the distance between the scene within the first field of view FOV1 or the second field of view FOV2 and the mobile electronic device 10, so as to generate first depth information corresponding to the first image IMG1 and second depth information corresponding to the second image IMG2.
[0023] Figure 5 is a schematic diagram of the control module 120 performing image processing according to the present disclosure. Figure 5, the control module 120 is any processing unit capable of processing, receiving and / or transmitting instructions, and can be used to control the operation of the mobile electronic device 10. For example, the control module 120 can be implemented using a general-purpose processor. In some embodiments, the control module 120 can at least perform image edge detection, image alignment and image fusion on the first image IMG1 and the second image IMG2 to generate a full-depth image. Image edge detection is mainly used to determine whether each area in the image belongs to a clear area or an unclear area; image alignment is mainly used to match two images to facilitate image fusion, thereby ensuring that the final full-depth image does not contain visually discontinuous areas; image fusion refers to merging at least a portion of two or more images into a full-depth image.
[0024] Specifically, the control module 120 can perform image edge detection on the first image IMG1 and the second image IMG2, respectively, and generate corresponding first edge detection results and second edge detection results. Generally speaking, the edge sharpness of the scene in the image is related to whether the image is focused or not. Taking the first image IMG1 as an example, as mentioned above, the first image capture module 112 can make the scene within the first depth of field DOF1 clearly imaged, so in the first image IMG1, the edge contour of the scene in focus within the first depth of field DOF1 looks clear, accurate and not blurred, which means that the focused image has a higher edge sharpness; on the contrary, the scene outside the range of the first depth of field DOF1 will appear blurred in the first image IMG1 due to defocusing, which means that the unfocused image has a lower edge sharpness. Therefore, the control module 120 can appropriately infer the first focus area A1 and the first non-focus area B1 in the first image IMG1 and the second non-focus area A2 and the second non-focus area B2 in the second image IMG2 by using the sharpness of the edge as a feature point to perform image edge detection on the first image IMG1 and the second image IMG2. For example, a sharpness threshold can be pre-defined in the control module 120, and the first image IMG1 can be distinguished into the focus area A1 and the non-focus area B1, and the second image IMG2 can be distinguished into the focus area A2 and the non-focus area B2 according to the comparison between the sharpness threshold and the edge contour of the scene in the first image IMG1 and the second image IMG2. In some embodiments, if the sharpness of the edge contour of the scene in the first image IMG1 and the second image IMG2 is higher than or equal to the sharpness threshold, the control module 120 determines that the area where the scene is located belongs to the focus area; conversely, when the sharpness of the edge contour of the scene in the first image IMG1 and the second image IMG2 is lower than the sharpness threshold, the control module 120 determines that the area where the scene is located is a non-focus area.
[0025] In the case where the first image capture module 112 and the second image capture module 114 have different fields of view, the scenes appearing in the first image IMG1 and the second image IMG2 may have differences in exposure range and / or size. The control module 120 may perform image alignment on the first image IMG1 and the second image IMG2, and generate a set of alignment data as a basis for subsequent image adjustments. In certain embodiments, when performing image alignment, the control module 120 may search for similar feature points (including but not limited to edge turning points or vertices) in the first image IMG1 and the second image IMG2, thereby performing an image alignment algorithm on these feature points and generating the set of alignment data. During the image alignment process, if the scenes in the first image IMG1 and the second image IMG2 have size differences due to different shooting conditions and cannot be accurately aligned, the control module 120 may select an image with a smaller field of view (e.g. Figure 3 The second image IMG2 shown is used as a reference image, and the field of view of another image is reduced; the reduction ratio can be recorded in the alignment data.
[0026] In some embodiments, when performing image fusion, the control module 120 may combine the first focus area A1 obtained from the first edge detection result and the second focus area A2 obtained from the second edge detection result according to the set of alignment data obtained by image alignment to generate a full depth image, such as Figure 6 As shown, the full depth image is sent to the display 130. Specifically, when performing image fusion, the control module 120 may mask the first non-focus area B1 obtained in the first edge detection result and the second non-focus area B2 obtained in the second edge detection result, and use the set of alignment data to determine whether there is visual discontinuity at the junction of the unmasked first focus area A1 and the second focus area A2. If there is no visual discontinuity at the junction of the first focus area A1 and the second focus area A2, the control module 120 directly merges the first focus area A1 and the second focus area A2 to form a full depth image; if there is visual discontinuity at the junction of the first focus area A1 and the second focus area A2, the control module 120 may adjust the image at the first focus area A1 and / or the second focus area A2 according to the set of alignment data, and merge the adjusted first focus area A1 and / or the second focus area A2 to form a full depth image.
[0027] See also Figure 5In some embodiments, the control module 120 can also integrate the first image IMG1, the second image IMG2, the first depth information and the second depth data to generate a post-focus image, so that the user can view images presented at different depths of field by touching the display 130. Specifically, the mobile electronic device 10 can be set by default to display a full depth image on the display 130 after the first image capture module 112 and the second image capture module 114 complete the capture of the first image IMG1 and the second image IMG2. When the user expects to view images presented at different depths of field on the display 130, the user can touch the display 130 to select a clear focus range of the image presented on the display 130 approximately at the point where the user touches, and blur other ranges outside the point where the user touches, so as to obtain a shallow depth of field effect that highlights the scene at the point where the user touches. Please refer to FIG. 7A to FIG. 7B ,in FIG. 7A to FIG. 7B The images on the left are all full depth images. Fig. 7A In the embodiment, when the user touches T1 of the panoramic depth image displayed on the display 130, the display 130 will correspondingly display a non-panoramic depth image focused on T1, such as Fig. 7A As shown in the right image; for example, the non-full depth image focused on T1 can be the first image IMG1 of the scene captured by the first depth of field DOF1. When the user touches T2 of the full depth image displayed on the display 130, the display 130 will correspondingly display the non-full depth image focused on T2, such as Figure 7B As shown in the image on the right; for example, the non-full depth image focused at T2 may be a second image IMG2 of the scene captured at a second depth of field DOF2.
[0028] See also Figure 5In order to achieve the above effect, the control module 120 can refer to the set of alignment data and set multiple flags on the full depth image; for example, the control module 120 can store the first range of the full depth image corresponding to the first focus area A1 in the first flag, and store the second range of the full depth image corresponding to the second focus area A2 in the second flag. When the control module 120 receives the area selection information from the display 130, it compares the area selection information with the flag; when the display 130 presents the full depth image, the user's touch position corresponds to the range information in the full depth image and is stored in the above area selection information. When the area selected by the user touching the display 130 (hereinafter referred to as the selected area) partially or completely overlaps with the first range stored in the first flag, the control module 120 fuses the first image IMG1 and the second image IMG2 according to the set of alignment data, the first depth data, the second depth data and the first flag to generate a post-focus image and provides it to the display 130 for playback; when the area selected by the user overlaps with the second range stored in the second flag (including the aforementioned complete overlap or partial overlap), the control module 120 fuses the first image IMG1 and the second image IMG2 according to the set of alignment data, the first depth data, the second depth data and the second flag to generate a post-focus image and provides it to the display 130 for playback.
[0029] Figure 8 is a schematic diagram of the image processing operation of the control module in the mobile electronic device according to the present disclosure. Figure 8 In some embodiments, the mobile electronic device 10 may further include a depth sensor 140, which may communicate with the control module 120. The depth sensor 140 may detect the distance between the scene and the mobile electronic device 10 using, for example, time of flight (ToF) and generate distance information. The control module 120 may integrate the first depth information from the first image capture module 112, the second depth information from the second image capture module 114, and the distance information from the depth sensor 140 to generate a depth map, and generate a post-focus image based on the first image, the second image, and the depth map, so that the user can view images presented at different depths of field by touching the display 130.
[0030] Specifically, the control module 120 can refer to the aforementioned alignment data and depth map, store the first range of the first focus area A1 in the first flag, and store the second range of the second focus area A2 in the second flag. When the area selected by the user touching the display 130 (hereinafter referred to as the selected area) completely overlaps or partially overlaps with the first range stored in the first flag, the control module 120 fuses the first image IMG1 and the second image IMG2 according to the set of alignment data and the depth map and refers to the first flag at the same time to generate a post-focus image and provides it to the display 130 for playback; wherein the depth map can be used to adjust the first range of the first flag. When the area selected by the user touching the display 130 (hereinafter referred to as the selected area) overlaps (including the aforementioned complete overlap or partial overlap) with the second range stored in the second flag, the control module 120 fuses the first image IMG1 and the second image IMG2 according to the set of alignment data and the depth map and refers to the second flag at the same time to generate a post-focus image and provides it to the display 130 for playback; wherein the depth map can be used to adjust the second range of the second flag.
[0031] Please refer to Fig. 9 , Fig. 9 is an image processing method according to the present disclosure. In some embodiments, the image processing method may be Figure 1 The control module 120 in the mobile electronic device 10 shown in FIG. Figure 1 , Figure 3 and Fig. 9 The image processing method may begin when the control module 120 receives a first image IMG1 captured by the first image capture module 112 at a first depth of field DOF1 and a second image IMG2 captured by the second image capture module 114 at a second depth of field DOF2 (step S302). The first image capture module 112 may obtain first depth information related to the distance between the scene and the mobile electronic device 10 when capturing the first image IMG1; similarly, the second image capture module 114 may obtain second depth information when capturing the second image IMG2. In some embodiments, the control module 120 may also receive the following information: Figure 8 The distance information provided by the depth sensor 140 shown in the figure is used, and the first depth information, the second depth information and the distance information are integrated to form a depth map.
[0032] Next, in step S304, the control module 120 performs image edge detection on the first image IMG1 and the second image IMG2 respectively to obtain corresponding first edge detection results and second edge detection results. The control module 120 may also perform image alignment on the first image IMG1 and the second image IMG2 to generate a set of alignment data (step S306). In the subsequent step S308, the control module 120 may, based on the set of alignment data, position the first focus area A1 (e.g., Figure 6 The second focus area A2 indicated in the second edge detection result is merged to generate a full depth image and provided to the display 130 for display (step S308).
[0033] In some embodiments, the control module 120 further stores a first range of the panoramic depth image corresponding to the first focus area A1 in a first flag, and stores a second range of the panoramic depth image corresponding to the second focus area A2 in a second flag (step S310). When it is detected that the area selected by the user by touching the display 130 overlaps with the first range, the display 130 displays a post-focus image generated by fusing the first image IMG1 and the second image IMG2 according to the set of alignment data, the depth map and the first flag (step S312), or when it is detected that the area selected by the user by touching the display 130 overlaps with the second range, the display 130 displays a post-focus image generated by fusing the first image IMG1 and the second image IMG2 according to the set of alignment data, the depth map and the second flag (step S314).
[0034] The foregoing summarizes the structures of several embodiments so that those skilled in the art can better understand the aspects of the present disclosure. Those skilled in the art will appreciate that they can easily use the present disclosure as a basis for designing or modifying other manufacturing processes and structures for carrying out the same purposes and / or achieving the same advantages of the embodiments described herein. Those skilled in the art will also recognize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that various changes, substitutions, and modifications may be made herein without departing from the spirit and scope of the present disclosure.
Claims
1. An image processing method, characterized in that: include: Receiving a first image captured by a first image capture module at a first depth of field; Receiving a second image captured by a second image capture module at a second depth of field of the scene, wherein the first image and the second image are captured substantially at the same time, and the first depth of field is different from the second depth of field; Performing image edge detection according to the first image to generate a first edge detection result; performing the image edge detection according to the second image to generate a second edge detection result; Dividing the first image into a first focus area and a first non-focus area according to the first edge detection result; Dividing the second image into a second focus area and a second non-focus area according to the second edge detection result; as well as A full depth image is generated according to the first focus area and the second focus area.
2. The method according to claim 1, characterized in that Also includes: Performing image alignment on the first image and the second image, and generating a set of alignment data; The step of generating a panoramic depth image comprises: The first image and the second image are fused according to the first focus area, the second focus area and the set of alignment data to generate the full depth image.
3. The method according to claim 2, characterized in that The first image capture module and the second image capture module include depth information measurement pixels, and the method further includes: receiving first depth information corresponding to the first image from the first image capturing module; receiving second depth information corresponding to the second image from the second image capturing module; and A post-focus image is generated according to the first image, the second image, the first depth information, and the second depth information.
4. The method according to claim 3, characterized in that: Also includes: Receiving distance information obtained by a depth sensor measuring the distance of the scene; as well as Integrating the first depth information, the second depth information, and the distance information to generate a depth map; The step of generating a post-focus image comprises: The post-focus image is generated according to the first image, the second image, and the depth map.
5. The method according to claim 4, characterized in that Also includes: Displaying the panoramic depth image on a display; Referring to the set of alignment data, storing a first range of the full depth image corresponding to the first focus area in a first flag; Referring to the set of alignment data, storing a second range of the full depth image corresponding to the second focus area in a second flag; as well as Detecting an area selected by a user in the displayed full depth image; The step of generating a post-focus image comprises: When the selected area overlaps with the first range stored in the first flag, the first image and the second image are merged according to the set of alignment data, the depth map and the first flag to generate the post-focus image; as well as When the selected area overlaps with the second range stored in the second flag, the first image and the second image are fused according to the set of alignment data, the depth map and the second flag to generate the post-focus image.
6. The method according to claim 1, characterized in that The first depth of field and the second depth of field are continuous ranges that do not overlap with each other.
7. The method according to claim 1, characterized in that The first image and the second image at least partially overlap.
8. A mobile electronic device, characterized in that: include: A first image capturing module, capturing a first image of a scene at a first depth of field; A second image capturing module, capturing a second image of the scene at a second depth of field, wherein the first image and the second image are captured substantially at the same time, and the first depth of field is different from the second depth of field; as well as A control module is configured to perform the following operations: receiving the first image and the second image; Performing image edge detection according to the first image to generate a first edge detection result; performing the image edge detection according to the second image to generate a second edge detection result; Dividing the first image into a first focus area and a first non-focus area according to the first edge detection result; Dividing the second image into a second focus area and a second non-focus area according to the second edge detection result; as well as A full depth image is formed according to the first focus area and the second focus area.
9. The mobile electronic device according to claim 8, characterized in that: The control module is also configured to perform the following operations: Performing image alignment on the first image and the second image, and generating a set of alignment data; The operation of generating a panoramic depth image includes: The first image and the second image are fused according to the first focus area, the second focus area and the set of alignment data to generate the full depth image.
10. The mobile electronic device according to claim 9, characterized in that: The first image capture module and the second image capture module each include a plurality of depth information measurement pixels, the plurality of depth information measurement pixels of the first image capture module are used to obtain first depth information corresponding to the first image, and the plurality of depth information measurement pixels of the second image capture module are used to obtain second depth information corresponding to the second image, The control module is further configured to generate a post-focus image according to the first image, the second image, the first depth information, and the second depth information.
11. The mobile electronic device according to claim 10, characterized in that: Also includes: A depth sensor, used to measure the distance of the scene to obtain distance information; The control module is further configured to perform the following operations: integrating the first depth information, the second depth information, and the distance information into a depth map; The operation of generating the post-focus image comprises: The post-focus image is generated according to the first image, the second image, and the depth map.
12. The mobile electronic device according to claim 11, characterized in that: Also includes: A display, coupled to the control module, for displaying the panoramic depth image; The control module is further configured to perform the following operations: Referring to the set of alignment data, storing a first range of the full depth image corresponding to the first focus area in a first flag; Referring to the set of alignment data, storing a second range of the full depth image corresponding to the second focus area in a second flag; and Detecting an area selected by a user in the displayed full depth image; The operation of generating the post-focus image comprises: When the selected area overlaps with the first range stored in the first flag, the first image and the second image are merged according to the set of alignment data, the depth map and the first flag to generate the post-focus image; and When the selected area overlaps with the second range stored in the second flag, the first image and the second image are fused according to the set of alignment data, the depth map and the second flag to generate the post-focus image.
13. The mobile electronic device according to claim 12, characterized in that: The display is a touch screen, and the user can select the area of the panoramic depth image by touching a corresponding position on the display.
14. The mobile electronic device according to claim 8, characterized in that: The first depth of field and the second depth of field are continuous ranges that do not overlap with each other.
15. The mobile electronic device according to claim 8, characterized in that: The first image capture module has a first field of view, the second image capture module has a second field of view, and the first field of view and the second field of view at least partially overlap.
