Binocular system and depth map acquisition method
By combining high-resolution and low-resolution image sensing chips in a binocular system and integrating logical processing modules, the problems of high power consumption and slow data transmission in binocular systems in the existing technology are solved, and a more efficient depth measurement is achieved. Graph acquisition improves system performance and applicability.
Patent Information
- Application Number
- CN202010356319.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-29
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-04-29
AI Technical Summary
Existing binocular systems consume high power and have slow data transmission speeds when acquiring stereoscopic images. They require two image sensing chips of the same size and additional back-end processing chips, resulting in a complex and inefficient system.
Using one large and one small image sensor chip, the high-resolution first image sensor chip is combined with the low-resolution second image sensor chip. The logic processing module is integrated on the high-resolution chip to directly perform depth calculations and reduce calculations. resources and data bandwidth.
It reduces the overall power consumption and delay of the binocular system, improves system performance and processing capabilities, reduces system volume and power consumption, and is suitable for various devices.
Smart Images

Figure CN113573038B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a binocular system and a depth map acquisition method. Background Art
[0002] Normally, ordinary people use both eyes to observe objects. The image of the object observed by the left eye and the image of the object observed by the right eye have a slight parallax. With a certain amount of experience, they can estimate the distance between the observed object and themselves, so that the observed object has a three-dimensional sense. With the advancement of science and technology, people need to obtain three-dimensional images. For example, when using structured light for face recognition, it is necessary to know the depth information of the face. At present, the stereoscopic display of pictures or images is mostly realized by utilizing the parallax characteristics of the human eyes. Two cameras placed side by side are used to represent the left eye and the right eye of the person, and two pictures with slight horizontal parallax are taken synchronously. This is the working principle of the binocular ranging system. Binocular stereo vision is based on the above-mentioned parallax principle. It recovers the three-dimensional geometric information of the object being measured from the multiple images obtained by the binocular camera, that is, obtains the depth image or depth value of all objects or target objects. However, if Figure 1 As shown, the current binocular system uses two separate image chips of the same size, such as the first image sensing chip 102 and the second image sensing chip 104, both of which have relatively large resolutions, and requires an additional back-end processing chip 106 to perform the binocular depth calculation function. The entire system consumes high power and has a slow data transmission speed.
[0003] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the Invention
[0004] The object of the present invention is to provide a binocular system and a depth map acquisition method with low power consumption and less delay.
[0005] The present invention provides a binocular system, including a first image sensing component, a second image sensing component and a logic processing module, wherein the first image sensing component includes a first image sensing chip, the second image sensing component includes a second image sensing chip, the resolution of the first image sensing chip is greater than the resolution of the second image sensing chip, the first image sensing chip and the second image sensing chip are respectively connected to the logic processing module, and the second image sensing component is connected to the first image sensing component.
[0006] The present invention also provides a depth map acquisition method, using the above binocular system, the depth map acquisition method comprises the following steps:
[0007] The first image sensing chip and the second image sensing chip simultaneously capture images to obtain a first image and a second image respectively, wherein a resolution of the first image is greater than a resolution of the second image;
[0008] preprocessing the first image and the second image;
[0009] Depth calculation is performed on the preprocessed first image and the second image to obtain a depth image.
[0010] In the binocular system and depth map acquisition method of the present invention, since the second image sensing chip adopts a lower resolution, the overall power consumption of the binocular system can be reduced. In addition, the bandwidth required for the data generated by the low-resolution second image sensing chip is smaller, which can reduce system latency. At the same time, the low resolution requires fewer computing resources, which can significantly improve system performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is a structural block diagram of a binocular ranging system in the prior art.
[0012] Figure 2 2 is a structural block diagram of a binocular system according to an embodiment of the present invention.
[0013] Figure 3 4 is a more specific structural block diagram of a binocular system according to an embodiment of the present invention.
[0014] Figure 4 FIG. 4 is a flow chart of a depth map acquisition method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0015] The following embodiments of the present invention are described in further detail with reference to the accompanying drawings and examples. The following examples are used to illustrate the present invention but are not intended to limit the scope of the present invention.
[0016] Please refer to Figure 2 The binocular system of one embodiment of the present invention has two image sensor chips with different resolutions, namely a first image sensor chip 114 and a second image sensor chip 132 , and also includes a logic processing module 112 , which is stacked on the first image sensor chip 114 .
[0017] Please refer to Figure 3Specifically, a binocular system according to an embodiment of the present invention includes a first image sensing component 11, a second image sensing component 13, and a logic processing module 112. The first image sensing component 11 includes a first image sensing chip 114, and the second image sensing component 13 includes a second image sensing chip 132. The resolution of the first image sensing chip 114 is greater than the resolution of the second image sensing chip 132. The first image sensing chip 112 and the second image sensing chip 132 are respectively connected to the logic processing module 112, and the second image sensing component 13 is connected to the first image sensing component 11. In one embodiment, the resolution of the first image sensing chip 114 is 8 MP, and the resolution of the second image sensing chip is 1 MP.
[0018] In the binocular system of the present invention, since the second image sensor chip 132 adopts a lower resolution, the overall power consumption of the binocular system can be reduced. In addition, the data generated by the low-resolution second image sensor chip 132 requires a smaller bandwidth, which can reduce system latency. At the same time, the low resolution requires fewer computing resources, which can significantly improve system performance.
[0019] In this embodiment, the first image sensing component 11 is configured to send a synchronization signal to the second image sensing component 13 , so that the first image sensing chip 114 and the second image sensing chip 132 capture images simultaneously.
[0020] In this embodiment, the logic processing module 112 is configured to receive a first image captured by the first image sensing chip 114 and a second image captured by the second image sensing chip 132 .
[0021] In this embodiment, the first image sensor component 11 also includes the logic processing module 112. It will be appreciated that the logic processing module 112 can also be provided separately, rather than within the first image sensor component 11. By integrating or stacking the logic processing module 112 on the first image sensor component 11, the depth information can be directly obtained from the first image sensor component 11 without the need for a separate chip for back-end processing. This further reduces latency and enables a more responsive system. Furthermore, the system achieves a higher level of integration, a smaller size, and adaptability to a variety of devices without the need for a separate chip.
[0022] In this embodiment, the logic processing module 112 includes a calculation module 116 and a calibration module 117. The calibration module 117 is used to preprocess the first image acquired by the first image sensing chip 114 and the second image acquired by the second image sensing chip 132. The preprocessing includes but is not limited to distortion correction, scaling, alignment, histogram equalization, etc. The calculation module 116 is used to perform depth calculation on the preprocessed first image and the second image to obtain a depth image. The resolution of the depth image is not greater than the resolution of the second image. The depth image can be calculated using a trigonometric function relationship according to the formula d=f*b / s, where f is the focal length, b is the baseline of the binocular system, s is the disparity, and d is the depth value. The disparity s of the depth image is calculated by calculating the disparity of all pixels. Therefore, the depth image contains the depth information of all objects in the image.
[0023] The logic processing module 112 may also include a detection module 118 and a matching module 119. The detection module 118 may be configured to perform target detection or tracking on the first image captured by the first image sensor chip 114 to obtain target ROI information. The matching module 119 may be configured to perform matching calculations within a certain range on the second image captured by the second image sensor chip 132 based on the ROI information to obtain a target depth value. The target depth value is thus calculated based on the disparity of a portion of pixels.
[0024] In another embodiment, the detection module 118 may directly perform target detection or target tracking on the depth image to obtain the target ROI information. Alternatively, the detection module 118 may perform target detection or target tracking on the depth image in combination with the first image to obtain the target ROI information. In this case, since the depth image already contains the target depth value, there is no need to match the second image to calculate the target depth value.
[0025] Please refer to Figure 4 In one embodiment of the present invention, a depth map acquisition method is provided, which uses the above-mentioned binocular system. The depth map acquisition method includes the following steps:
[0026] S11: The first image sensing component 11 sends a synchronization signal to the second image sensing component 13. Specifically, the synchronization signal can be sent via the MIPI protocol.
[0027] S13 , the first image sensing chip 114 and the second image sensing chip 132 simultaneously capture images according to the synchronization signal to obtain a first image and a second image respectively.
[0028] S15: Preprocess the first image and the second image. Specifically, the preprocessing of the first image and the second image includes but is not limited to performing distortion correction, scaling, alignment, and histogram equalization on the first image and the second image.
[0029] Specifically, in step S15, the second image sensing component 13 transmits the image captured by the second image sensing chip 132 to the logic processing module 112 of the first image sensing component 11, and the first image sensing chip 114 transmits the captured image to the logic processing module 112. The logic processing module 112 pre-processes the first and second images. More specifically, the calibration module 117 of the logic processing module 112 pre-processes the first and second images.
[0030] S17: Perform depth calculation on the preprocessed first image and the second image to obtain a depth image. Specifically, the calculation module 116 of the logic processing module 112 calculates the depth image on the preprocessed first image and the second image. Generally, the depth image is calculated using the SGM (Semi-Global Matching) or GwcNet (Group-wise Correlation Network) method. The resolution of the depth image is no higher than the resolution of the second image sensor chip 132.
[0031] Specifically, the SGM method generally includes:
[0032] S171, matching cost computation;
[0033] Typically, costs are based on absolute, squared, or sampling-insensitive differences in intensity and color, as these costs are sensitive to radiometric differences. Some methods also use costs based on image gradients. To handle complex radiometric relationships between images, mutual information is introduced into computer vision and has been used for stereo matching and faster approximation.
[0034] S172, matching cost aggregation;
[0035] Cost stacking is the process of concatenating matching costs within a neighborhood. Typically, the cost is simply summed over a fixed-size window at constant disparity; some methods also weight each element within the window based on its color similarity and distance to the center pixel. Alternatively, neighborhoods can be selected based on continuous intensity or color segments.
[0036] S173, disparity computation / optimization;
[0037] The local algorithm needs to do disparity calculation by selecting the disparity corresponding to the lowest matching error.
[0038] The global algorithm skips the second step of cost superposition and directly processes the matching cost, defining a global energy function containing a data term and a smoothness term. The former sums the pixel-level matching costs, and the latter supports piecewise smooth disparity selection. Some methods add more data terms to penalize occlusion, or use visibility to perform left / right or symmetry consistency between images, or weight smoothness based on segmentation information. The strategies used to find the minimum value from the global energy function are different. The dynamic programming method (DP) optimizes each scan line separately in 1D, which usually leads to streaking effects. The tree-based DP method can avoid this problem. Graph Cuts or Belief Propagation can be used for 2D optimization. The hierarchical method performs image segmentation, then models the plane in the disparity space and performs iterative optimization.
[0039] S174, disparity refinement.
[0040] Disparity refinement is generally used to eliminate peaks, verify consistency, interpolate within gaps, or increase accuracy through sub-pixel interpolation. Because most algorithms generate discrete disparities, refinement is necessary to improve accuracy.
[0041] The depth map acquisition method of the present invention may also include the following steps: performing target detection or target tracking on the first image and / or the depth image acquired by the first image sensing chip 114, and obtaining information about the target on the image, i.e., ROI information; and, when using the first image for target detection or target tracking, performing matching calculations within a certain range on the image acquired by the second image sensing chip 132 based on the ROI information to obtain a target depth value.
[0042] The binocular system of the present invention utilizes two image sensor chips, one large and one small, with different resolutions. Compared to the existing technology that uses two chips of the same size, the low-resolution image sensor requires fewer computing resources, reducing system computing power requirements, significantly improving system performance, and lowering overall system power consumption. Furthermore, the logic processing module of the present invention is integrated with the first image sensor chip, eliminating the need for additional back-end processing chips. This reduces system latency, increases data transmission rates, and offers higher integration, making it adaptable to a variety of devices for different applications. While maintaining the same power consumption, it also offers faster processing capabilities.
[0043] In the depth map acquisition method of the present invention, since the second image sensing chip 132 of the binocular system adopts a lower resolution, the overall power consumption of the binocular system can be reduced, and the bandwidth required for the data generated by the low-resolution second image sensing chip 132 is smaller, which can reduce the system latency. At the same time, the low resolution requires fewer computing resources, which can significantly improve the system performance. In the accompanying drawings, the sizes and relative sizes of layers and regions are exaggerated for clarity. It should be understood that when an element such as a layer, region or substrate is referred to as being "formed on", "disposed on" or "located on" another element, the element can be directly disposed on the other element, or an intermediate element may exist. Conversely, when an element is referred to as being "directly formed on" or "directly disposed on" another element, there is no intermediate element.
[0044] In this document, unless otherwise specified or limited, the terms "mounted," "connected," and "connected" should be understood broadly. For example, they can refer to fixed, removable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediary; and internal communication between two components. Those skilled in the art will understand the specific meanings of these terms based on specific circumstances.
[0045] In this document, the directions or positional relationships indicated by terms such as "up", "down", "front", "back", "left", "right", "top", "bottom", "inside", "outside", "vertical", and "horizontal" are based on the directions or positional relationships shown in the accompanying drawings and are only for the clarity of the technical solution and the convenience of description, and therefore should not be understood as limiting the present invention.
[0046] In this document, the ordinal adjectives "first", "second", etc. used to describe elements are only used to distinguish elements with similar attributes, and do not mean that the elements described must follow a given order, or be subject to time, space, level or other limitations.
[0047] In this document, unless otherwise specified, "a plurality of" or "a number of" means two or more.
[0048] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0049] As used herein, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion of elements other than the listed elements and may also include additional elements not specifically listed.
[0050] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A binocular system, comprising a first image sensing component (11) and a second image sensing component (13), characterized in that: The binocular system further comprises a logic processing module (112); the first image sensing component (11) comprises a first image sensing chip (114); the second image sensing component (13) comprises a second image sensing chip (132); the resolution of the first image sensing chip (114) is greater than the resolution of the second image sensing chip (132); the first image sensing chip (114) and the second image sensing chip (132) are respectively connected to the logic processing module (112); the second image sensing component (13) is connected to the first image sensing component (11); the first image sensing component (11) is used to send a synchronization signal to the second image sensing component (13) so that the first image sensing chip (114) and the second image sensing chip (132) collect images simultaneously; the logic processing module (11 2) is arranged in the first image sensing component (11) and is stacked with the first image sensing chip (114); the logic processing module (112) includes a calculation module (116) and a calibration module (117); the calibration module (117) is used to pre-process the first image acquired by the first image sensing chip (114) and the second image acquired by the second image sensing chip (132); the calculation module (116) is used to perform depth calculation on the pre-processed first image and the second image to obtain a depth image, the resolution of the depth image is not greater than the resolution of the second image; the logic processing module (112) also includes a detection module (118); the detection module (118) is used to perform target detection or target tracking on the first image and the depth image acquired by the first image sensing chip (114) to obtain ROI information of the target.
2. The binocular system according to claim 1, characterized in that: The logic processing module (112) is used to receive a first image captured by the first image sensing chip (114) and a second image captured by the second image sensing chip (132).
3. The binocular system according to claim 1, characterized in that: The logic processing module (112) further comprises a matching module (119), wherein the matching module (119) is used to perform matching calculations within a certain range on the second image acquired by the second image sensing chip (132) according to the ROI information to obtain a target depth value when using the first image for target detection or target tracking.
4. A method for acquiring a depth map, using the binocular system according to any one of claims 1 to 3, characterized in that: The depth map acquisition method comprises the following steps: The first image sensing chip (114) and the second image sensing chip (132) simultaneously capture images to obtain a first image and a second image respectively, wherein a resolution of the first image is greater than a resolution of the second image; Preprocessing the first image and the second image; Depth calculation is performed on the preprocessed first image and the second image to obtain a depth image.
5. The depth map acquisition method according to claim 4, characterized in that: The depth map acquisition method further comprises the following steps before the step of simultaneously capturing images by the first image sensing chip (114) and the second image sensing chip (132): The first image sensing component (11) sends a synchronization signal to the second image sensing component (13).
6. The depth map acquisition method according to claim 5, characterized in that: The step of preprocessing the first image and the second image further includes: The second image sensing component (13) sends the image captured by the second image sensing chip (132) to the logic processing module (112), and the first image sensing chip (114) sends the captured image to the logic processing module (112), and the logic processing module (112) pre-processes the first image and the second image.
7. The depth map acquisition method according to claim 4, characterized in that: The step of preprocessing the first image and the second image specifically includes: performing distortion correction, scaling, alignment and / or histogram equalization on the first image and the second image.
8. The depth map acquisition method according to claim 4, characterized in that: The depth map acquisition method further comprises the step of performing target detection or target tracking on the first image and / or the depth image acquired by the first image sensing chip (114) to obtain ROI information of the target.
9. The depth map acquisition method according to claim 8, characterized in that: When the first image is used for target detection or target tracking, a target depth value is obtained by performing matching calculations within a certain range on the image acquired by the second image sensing chip (132) based on the ROI information.
