A passive ranging method based on two-frame imaging and gradient difference

By employing a passive ranging method based on two-frame imaging and gradient difference, and utilizing a ranging matrix library and compressed sensing technology, the accuracy and complexity issues of existing passive monocular ranging methods are resolved, achieving high-precision and real-time ranging results.

CN118258352BActive Publication Date: 2026-11-24SUZHOU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410322791.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-20
Publication Date
2026-11-24
Estimated Expiration
2044-03-20

AI Technical Summary

Technical Problem

Existing passive monocular ranging methods suffer from problems such as low ranging accuracy, system complexity, low energy utilization, and high computational load, making it difficult to meet the high-precision ranging requirements of fields such as autonomous driving and artificial intelligence.

Method used

A passive ranging method based on two-frame imaging and gradient difference is adopted. By constructing a ranging matrix library and combining compressed sensing and gradient difference image processing techniques, the distance information of the target can be obtained in real time.

Benefits of technology

It achieves high-precision, real-time monocular ranging, solves the decoupling problem in traditional methods, simplifies the system structure, and improves target recognition capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118258352B_ABST
    Figure CN118258352B_ABST
Patent Text Reader

Abstract

This invention provides a passive ranging method based on two-frame imaging and gradient difference. Based on the parameters of the optical imaging system, a measurement matrix library is obtained by calculating the point spread function at different detection distances. Using two frames of signals from the same target with axial distance deviations acquired sequentially by the optical imaging system, combined with a compressed sensing model, calculation and reconstruction are performed to obtain two sets of image information at different distance positions, and edge extraction is then performed. An image quality evaluation function based on gradient difference is used to calculate the values ​​corresponding to the edge images at different distance positions, and differentiation is performed to obtain the position information corresponding to two sets of extreme points with negative second derivatives. Combining the axial deviation direction of the same target with the position information of the extreme points, the distance information of the target can be obtained. This invention features a simple system, good real-time performance, and high ranging accuracy, and effectively solves the symmetric decoupling problem existing in traditional monocular system defocus imaging methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical ranging, and more particularly to a passive ranging method based on two-frame imaging and gradient difference. Background Technology

[0002] In nature, targets and scenes are three-dimensional entities. However, traditional optical imaging systems project images of different distances in a scene onto a two-dimensional plane image, losing the distance information between the target scene. This cannot meet the application needs of many fields such as autonomous driving, artificial intelligence, biological imaging, deep space exploration, virtual reality, and augmented reality. Accurately obtaining the distance information between scene targets has always been one of the research hotspots in the scientific community.

[0003] Currently, methods for acquiring distance information between scene targets are mainly divided into two categories: active measurement and passive measurement. Active measurement methods include structured light methods and time-of-flight methods. Structured light methods use light modulation (such as coded structured light, laser modulation, etc.) to illuminate scene targets and obtain target distance information by calculating changes in light intensity or phase. However, they often only enable three-dimensional measurement of close-range targets. Time-of-flight methods obtain target distance information by emitting pulses or continuous lasers towards the target and measuring the arrival time or phase change of the reflected or scattered signals from the target. They can measure longer distances and have higher accuracy. However, active measurement often uses single-wavelength lasers as light sources, which makes it difficult to achieve large field of view and long-distance measurement. Furthermore, the acquired target images lack sufficient texture, and the detection systems are usually quite complex. In contrast, passive measurement methods do not require additional active light sources, the target images have rich texture structures, the systems are simple, power-efficient, and have better concealment, making them the main development direction for high-precision ranging in recent years.

[0004] Passive ranging methods mainly include stereo vision methods and computational reconstruction methods based on monocular systems. Stereo vision methods use multiple cameras to acquire multiple images of the same scene target from multiple viewpoints, and use feature-based stereo reconstruction algorithms to obtain the distance information of the scene target. However, the ranging accuracy is usually low at longer distances, and a series of calibration and registration processes are often required. Computational reconstruction methods based on monocular systems use perspective, focal length differences, motion parallax, or coding to obtain distance information. For example, defocus imaging based on the standard point spread function (PSF) calculates depth information by acquiring image sequences under different defocus states. However, because the PSFs under different defocus states are extremely similar, the measurement accuracy is limited, and there is a problem of non-unique decoupling. Defocus imaging based on coded masks introduces different coded masks (such as 3D phase masks or double-helix phase masks) to make the PSF change with the depth of the scene target. The depth information of the target scene is obtained through 3D image reconstruction. However, this type of method has disadvantages such as low system energy utilization, high computational cost, and poor spatial image reconstruction quality. Therefore, there is an urgent need to explore a monocular passive ranging scheme that offers good real-time performance, accurate ranging, and a simple system. Summary of the Invention

[0005] This invention addresses the shortcomings of existing passive monocular ranging methods by providing a passive ranging method based on two-frame imaging and gradient difference. This method offers advantages such as good real-time performance, system simplicity, high ranging accuracy, and the ability to effectively solve the symmetric decoupling problem of traditional monocular system defocus imaging.

[0006] The technical solution for achieving the objective of this invention is a passive ranging method based on two-frame imaging and gradient difference, comprising the following steps: (1) Acquisition of detection signals The target in the scene under test is imaged on the detector after passing through the imaging lens, and an optical imaging system is constructed: the detector sequentially acquires and records two frame image signals Y1 and Y2 of the target under test with an axial distance deviation of Δz. (2) Construction of the ranging matrix library Based on the optical imaging system constructed in step (1), combined with the virtual three-dimensional world corresponding to the scene to be tested, the point spread function (PSF) at different detection distances of the target to be tested is calculated, and a measurement matrix library A is constructed. (3) Solving for distance information Step 1: Image Reconstruction Based on Compressed Sensing Distance Tomography Using a compressed sensing (CS) model, based on the constructed measurement matrix library A and two image signals Y1 and Y2, two sets of image information X at different distance positions are reconstructed through calculation. 1i and X2i i = 1, 2, ..., L; Step 2: Extraction of edge information from tomographic images The image information X obtained by computational reconstruction 1i and X 2i Edge extraction is performed on i = 1, 2, ..., L to obtain two sets of edge images at different distances. and i = 1, 2, ..., L; Step 3: Calculation of edge image evaluation function based on gradient difference The image quality evaluation function (IQEF) based on gradient difference is used to compute two sets of edge images at different distances in parallel. and The value F1(z) corresponding to i = 1, 2, ..., L i ) and F2(z i ); Step 4: Obtaining target distance information The obtained F1(z) and F2(z) values ​​are differentiated to obtain the position information ±z1 and ±z2 corresponding to the maximum points of the second derivative with negative values. Based on the axial deviation direction Δz of the corresponding target and the change direction (z1-z2) of the two sets of position information, the true distance information z of the target in the test scene is calculated.

[0007] In step (2) of this invention, the point spread function (PSF) corresponding to the center point of the plane of the target to be measured is arranged into the central column of the measurement matrix. The central column is translated to obtain the remaining columns, thus completing the calibration of the measurement matrix. The operation is repeated in sequence to obtain the measurement matrix library A of the virtual three-dimensional world corresponding to the scene to be measured.

[0008] The present invention employs the gradient difference-based IQEF method to obtain the distance information of the target by evaluating the defocus state of the corresponding image.

[0009] The acquisition of target distance information in this invention involves the following steps: for the same target under test, if the axial deviation direction Δz and the corresponding falling edge position information change direction (z1-z2) are both positive or negative, the target distance is located at a negative defocus position; if the two changes are one positive and one negative, the target distance is located at a positive defocus position. Thus, the true distance information z of the target under test in the test scene can be obtained.

[0010] As can be seen from the above technical solution, the present invention has the following advantages:

[0011] 1. The system detection structure adopted in this invention is still a typical traditional optical imaging scheme. The system is simple and does not affect its original detection and recognition working mode. At the same time, the acquisition of distance information can further improve the system's target recognition capability.

[0012] 2. This invention uses a parallel solution method to obtain distance information of different regions of the target scene. The amount of data processed serially is extremely small, and it has good real-time performance.

[0013] 3. By introducing a two-frame imaging method and a gradient difference evaluation function, this invention not only solves the problem of non-unique distance information decoupling in the defocus imaging method based on the standard PSF, but also has higher ranging accuracy. Attached Figure Description

[0014] Figure 1 This is a schematic diagram of a detection system structure according to an embodiment of the present invention, which is a passive ranging method based on two-frame imaging and gradient difference. In the figure: 1 is the scene to be tested; 101 is the same target in the scene to be tested with an axial distance deviation Δz; 2 is the imaging lens; 3 is the detector.

[0015] Figure 2 This is a flowchart of signal processing and distance information solving for a passive ranging method based on two-frame imaging and gradient difference according to an embodiment of the present invention.

[0016] Figure 3 This is a flowchart illustrating the acquisition of target distance information using a passive ranging method based on two-frame imaging and gradient difference, as provided in an embodiment of the present invention. Detailed Implementation

[0017] The technical solution of the present invention will be further described below with reference to the accompanying drawings and embodiments.

[0018] This invention provides a passive ranging method based on two-frame imaging and gradient difference, comprising three parts: acquiring the detection signal, constructing the ranging matrix library, and solving for the distance information. The specific steps are as follows:

[0019] (1) Acquisition of detection signals See appendix Figure 1 This is a schematic diagram of the optical imaging system used to acquire detection signals by the passive ranging method provided in this embodiment. The optical imaging system is constructed as follows: the target 101 in the scene to be measured 1 is imaged on the detector 3 after passing through the imaging lens 2.

[0020] See Figure 2 This is a flowchart of the signal processing and distance information solving of the passive ranging method provided in this embodiment; in order to obtain signals Y1 and Y2 of the same target with axial distance deviation, the following is employed: Figure 1 The optical imaging system shown acquires the image. The target in the scene under test is imaged onto the detector after passing through the imaging lens. The detector then acquires and records two frames of images with an axial distance deviation of Δz. That is, if the image size recorded by the detector is m×m pixels, and these images are arranged into a column vector, the corresponding signals Y1 and Y2 can be denoted as follows: and Where: M = m × m.

[0021] (2) Construction of the ranging matrix library like Figure 2 As shown, in order to obtain the measurement matrix library A, combined with Figure 1 The optical imaging system parameters shown are obtained by numerical calculation at different detection distances, as shown in equation (1): Where: x0, y0; x, y; x i ,y i These represent the coordinates of the predicted target plane, lens plane, and detector plane, respectively; z0 is the distance from the lens plane to the detector plane; z i ,i=1,2,…L represents the distance from the target plane to the lens plane; P(x,y) is the effective aperture of the lens; λ is the detection wavelength; Let F be the wave number; F{P(ξ,η)} represents the Fourier transform of P(ξ,η).

[0022] Based on the point spread function at different detection distances, a measurement matrix library A is constructed for different detection distances. Generally, in traditional optical imaging systems, the intensity distribution of the speckle field formed by a point source at a specific location on the target plane on the detection plane is a column of the measurement matrix. Here, the obtained h... i It can be regarded as a certain distance z i One column of the measurement matrix at the location. Assuming the number of pixels of the detector is m×m, the number of pixels at the predicted target plane is n×n, and the number of predicted tomographic distances is L, then the measurement matrix library A can be expressed as equation (2): A = [A1A2…A] L ] M×(N×L) (2) in: i = 1, 2, ..., L; N = n × n. A i Represents a certain distance z iThe corresponding measurement matrix. Generally, under the condition of paraxial approximation, when two facets on the target plane are close to each other, their corresponding light intensity distributions satisfy spatial translation invariance, that is, the light intensity distribution corresponding to one facet can be obtained by translating the light intensity distribution corresponding to another facet. Therefore, only the PSF corresponding to the center point of the target plane needs to be obtained, and they are arranged into the central column of the measurement matrix. The remaining positions can be filled by translating this column to achieve complete measurement matrix calibration. According to formula (1), setting x0 = 0, y0 = 0, we can obtain A i The values ​​in the middle column, combined with the spatial translation invariance of the optical system, yield matrix A. i By analogy with the other element values, the measurement matrix library of the virtual three-dimensional world corresponding to the scene to be tested can be obtained.

[0023] (3) Solving for distance information Step 1: Image Reconstruction Based on Compressed Sensing Distance Tomography Based on the CS model and the measurement matrix library A and two frames of signals Y1 and Y2, two sets of image sequences at different distances are reconstructed, as shown in equations (3) and (4) respectively: in: X 1i X 2i These represent the predicted distance z when the detection signals are Y1 and Y2, respectively. i The reconstructed image corresponding to the location; Ψ(x) represents the regularization term for sparse constraints on image x; λ is the corresponding regularization coefficient.

[0024] Step 2: Extraction of edge information from tomographic images Based on the reconstructed image sequences X1 and X2, the edge information of each reconstructed image is obtained according to the following formulas (5) and (6): Where u and v represent the pixel positions of the reconstructed image.

[0025] Step 3: Calculation of edge image evaluation function based on gradient difference For optical imaging, the edge information of the image is sharper when in focus. As the defocusing degree worsens, the edge image will gradually become blurred. The defocusing state of the optical image can be characterized by IQEF based on gradient difference, thus providing a basis for obtaining the distance information of the target. IQEF based on gradient difference can be expressed as Equation (7): Wherein: F j (z i ) indicates that based on the detected signal image of the j-th frame, at a predicted distance of z i The IQEF value of the reconstructed image is obtained. According to formula (7), F1(z) based on the Y1 and Y2 signals can be calculated. i ) and F2(z i )value.

[0026] Step 4: Obtaining target distance information See appendix Figure 3 This is a flowchart of the target distance information acquisition steps in the passive ranging method provided in this embodiment. For two frames of signals Y1 and Y2 of the same target (using a strawberry as an example in the figure) with axial distance deviation, Step 3 calculates and obtains the corresponding F1(z) and F2(z) values. Combining the characteristics of IQEF based on gradient difference, first-order and second-order derivatives are performed on F1(z) and F2(z) respectively:

[0027] Two sets of extreme points corresponding to negative second derivatives of signals Y1 and Y2 are obtained, with their respective position information being ±z1 and ±z2. Combined with the axial deviation direction Δz corresponding to signals Y1 and Y2, the distance information of the target can be obtained. Specifically, the determination method is as follows:

[0028] As can be seen from equation (9), in this embodiment, by obtaining the axial deviation direction Δz and the corresponding falling edge position information change direction (z1-z2) for the same target to be tested, if both of the change values ​​are positive or negative, then the target distance is located at the negative defocus position; conversely, if the change values ​​of the two are one positive and one negative, then the target distance is located at the positive defocus position, thus obtaining the true distance information z of the target to be tested in the scene to be tested.

[0029] This invention obtains the true distance information z of the target in the test scene at the position of the first frame by acquiring two frames of signals with axial distance deviation.

Claims

1. A passive ranging method based on two-frame imaging and gradient difference, characterized in that... Includes the following steps: (1) Acquisition of detection signals The target (101) in the scene to be tested (1) is imaged on the detector (3) after passing through the imaging lens (2), and an optical imaging system is constructed: the detector sequentially collects and records two frames of image signals Y1 and Y2 with an axial distance deviation of Δz for the target to be tested; (2) Construction of the ranging matrix library Based on the optical imaging system constructed in step (1), combined with the virtual three-dimensional world corresponding to the scene to be tested, the point spread function (PSF) at different detection distances of the target to be tested is calculated, and a measurement matrix library A is constructed. (3) Solving for distance information Step 1: Image Reconstruction Based on Compressed Sensing Distance Tomography Using a compressed sensing CS model, based on the constructed measurement matrix library A and two image signals Y1 and Y2, two sets of image information X at different distance positions are reconstructed through calculation. 1i and X 2i i = 1, 2, ..., L; Step 2: Extraction of edge information from tomographic images The image information X obtained by computational reconstruction 1i and X 2i Edge extraction is performed on i = 1, 2, ..., L to obtain two sets of edge images at different distances. and i = 1, 2, ..., L; Step 3: Calculation of edge image evaluation function based on gradient difference The image quality evaluation function IQEF based on gradient difference is used to compute two sets of edge images at different distances in parallel. and The value F1(z) corresponding to i = 1, 2, ..., L i ) and F2(z i ); Step 4: Obtaining target distance information The obtained F1(z) and F2(z) values ​​are differentiated to obtain the position information ±z1 and ±z2 corresponding to the maximum points of the second derivative with negative values. Based on the axial deviation direction Δz of the corresponding target and the change direction (z1-z2) of the two sets of position information, the true distance information z of the target in the test scene is calculated.

2. The passive ranging method based on two-frame imaging and gradient difference according to claim 1, characterized in that: In step (2), the point spread function (PSF) corresponding to the center point of the plane of the target to be measured is arranged into the central column of the measurement matrix. The central column is translated to obtain the remaining columns, thus completing the calibration of the measurement matrix. The operation is repeated in sequence to obtain the measurement matrix library A of the virtual three-dimensional world corresponding to the scene to be measured.

3. The passive ranging method based on two-frame imaging and gradient difference according to claim 1, characterized in that: The image quality evaluation function IQEF method based on gradient difference is used to search for the distance information of the target by evaluating the defocus state of the corresponding image.

4. The passive ranging method based on two-frame imaging and gradient difference according to claim 1, characterized in that: To obtain the target distance information, for the same target under test, the axial deviation direction Δz and the corresponding falling edge position information change direction (z1-z2) are used. If both changes are positive or negative, the target distance is located at the negative defocus position. If one changes positive and the other negative, the target distance is located at the positive defocus position. Thus, the true distance information z of the target under test in the test scene can be obtained.