Phase-shift structured light three-dimensional imaging method and system
By using the main control chip and single-frame multi-exposure camera technology in the phase-shifted structured light three-dimensional imaging system, high-precision three-dimensional data in moving scenes is extracted, which solves the problems of equipment cost and application limitations in the existing technology, and realizes the control of production Real-time high-precision measurement of production lines.
Patent Information
- Application Number
- CN202410437458.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-12
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-04-12
AI Technical Summary
Existing phase-shift structured light three-dimensional imaging systems are difficult to achieve high-precision three-dimensional data collection in moving scenes. They are limited by equipment costs and application limitations, and cannot be suitable for real-time measurement of products on production lines.
The main control chip is used to control the stripe projection light source to project multiple stripe projection patterns within a single frame. The single-frame multi-exposure camera collects the reflection pattern and stores it in the charge storage capacitor. The phase information is extracted through sine and cosine function transformation, combining parallax and pixels. Coordinates generate a three-dimensional point cloud, improving the system's resistance to motion blur and improving accuracy.
It effectively shortens the acquisition time interval of the 3D imaging system, improves the adaptability to moving scenes and 3D measurement accuracy, reduces system costs, and generates point clouds that are denser and suitable for fine measurements.
Smart Images

Figure CN118293799B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of structured light image data processing, and in particular to a phase-shift structured light three-dimensional imaging method. Background Art
[0002] Phase-shift structured light 3D imaging system has an irreplaceable position in the needs of high-precision 3D measurement and defect detection. However, due to the 3D imaging principle of phase-shift structured light method, which uses multiple stripe patterns to synthesize phase images, the time required to collect single-frame 3D data is relatively long, and it is difficult to apply to moving scenes due to motion blur. However, in actual production lines, products are often in motion and cannot be stopped for still photography.
[0003] Some currently disclosed technologies attempt to improve phase-shift structured light 3D imaging in terms of equipment and methods. One of them is to use a commercial projector to project binary defocused stripes and a 5000fps high-speed camera to shoot a moving robot. However, the 5000fps high-speed camera used in this method is very expensive and is not suitable for large-scale applications in commercial or industrial inspections. There are also methods that use the indirect time-of-flight method for 3D imaging. However, since the indirect time-of-flight camera relies on high-frequency local sinusoidal signals and the flight time of light to calculate the distance, its accuracy is far inferior to that of phase-shift structured light in close-range measurement applications.
[0004] At present, the phase-shift structured light 3D imaging system in motion scenes still has equipment cost issues or application limitations. Therefore, it is of great significance to study the technical solution that can obtain high-precision 3D data in motion scenes. Summary of the invention
[0005] The invention provides a phase-shift structured light three-dimensional imaging method.
[0006] The technical solution of the present invention is as follows:
[0007] A phase-shift structured light three-dimensional imaging method comprises the following steps:
[0008] S1. Projecting a fringe projection pattern: the main control chip 1 controls the fringe projection light source 2 to generate a plurality of fringe projection patterns 4 in a preset order within a single frame time, wherein the fringe projection pattern 4 is a standard fringe projection pattern, and the fringe projection pattern 4 is projected onto the object to be measured in a preset order;
[0009] S2, single frame acquisition: the single frame multi-exposure camera 3 acquires multiple stripe reflection patterns containing object depth and shape information reflected by the measured object within a single frame time, and stores the multiple stripe reflection patterns in different charge storage capacitors 7 respectively;
[0010] S3, obtaining a three-dimensional point cloud of the object under test: obtaining the charge accumulation value of each charge storage capacitor 7 in the single-frame multi-exposure camera 3, parsing to obtain multiple fringe reflection patterns containing brightness information, extracting phase information based on sine function and cosine function transformation, obtaining a phase map, calibrating the obtained phase map, obtaining a standard phase map that satisfies the epipolar constraint with the standard fringe projection pattern 4, for each pixel in the phase map, finding the pixel with the closest phase value corresponding to the same row in the standard phase map, the difference between the horizontal coordinates of the two pixels is the parallax, based on the calibrated position relationship, parallax, and pixel coordinates between the fringe projection light source 2 and the single-frame multi-exposure camera 3, obtaining a three-dimensional point cloud of the object under test, and performing three-dimensional imaging;
[0011] The single-frame multi-exposure camera 3 includes a pixel array, each pixel of the pixel array includes a photodiode 5 and a plurality of charge accumulation circuits electrically connected thereto, each charge accumulation circuit includes a charge storage capacitor 7;
[0012] After the main control chip 1 sends out the acquisition pulse signal, the single-frame multi-exposure camera 3 collects each stripe reflection pattern within a single frame time and stores it in a charge storage capacitor 7. Multiple stripe reflection patterns collected within a single frame time are stored in multiple charge storage capacitors 7 respectively.
[0013] Specifically, each group of charge accumulation circuits includes a charge storage capacitor 7, an exposure enable transistor 6, a reset transistor 8, a source follower 9, and a bit line selection transistor 10;
[0014] After the main control chip 1 sends out a collection pulse signal, a group of exposure enable transistors 6 is switched to the on state, and after completing the collection of a stripe reflection pattern, it is stored in the corresponding charge storage capacitor 7. This exposure enable transistor 6 is turned off, and the exposure enable transistors 6 of the remaining groups are switched on and off in sequence, so that each stripe reflection pattern is converted by each photodiode 5 and stored in the corresponding charge storage capacitor 7 through the exposure enable transistor 6;
[0015] The bit line selection transistors 10 are turned on sequentially, and the charge stored in each charge storage capacitor 7 is read through the source follower 9 .
[0016] Furthermore, each fringe projection pattern 4 has a different phase and amplitude, and the brightness of each fringe projection pattern 4 is calculated by the following formula:
[0017] ,
[0018] in, I is the brightness of the fringe projection pattern 4, A is the contrast of the fringe projection pattern 4, B is the average brightness of the fringe projection pattern 4, is the period of the fringe projection pattern 4, is the initial phase shift of the fringe projection pattern 4, N is the total number of fringe projection patterns 4.
[0019] Specifically, the number of the fringe projection patterns 4 is consistent with the number of groups of the charge accumulation circuits.
[0020] Furthermore, the fringe projection light source 2 uses a four-step phase shift pattern for projection, the number of fringe projection patterns 4 is correspondingly 4, and the number of groups of charge accumulation circuits is 4.
[0021] Specifically, the interval of collecting the pulse signal in S1 is greater than or equal to the projection duration of a single fringe projection pattern 4 .
[0022] Specifically, the calibrated position relationship between the fringe projection light source 2 and the single-frame multi-exposure camera 3 in S3 includes: relative position, direction and distortion parameter information between the fringe projection light source 2 and the single-frame multi-exposure camera 3 .
[0023] Furthermore, in S3, based on the calibrated position relationship, parallax, and pixel coordinates between the fringe projection light source 2 and the single-frame multi-exposure camera 3, a three-dimensional point cloud of the object to be measured is obtained, specifically:
[0024] ,
[0025] ,
[0026] in, X , Y , Z are the coordinates of the 3D point cloud, W is the proportionality coefficient, x is the horizontal coordinate of the pixel, y is the vertical coordinate of the pixel; Q is the perspective projection matrix, d It's parallax. c x is the optical center abscissa of the standard phase diagram, is the abscissa of the optical center of the fringe projection pattern 4, c y is the optical center ordinate of the standard phase diagram, f is the focal length of the calibrated multi-exposure camera 3, T x is the baseline length between the fringe projection light source 2 and the multi-exposure camera 3.
[0027] The present invention also provides a phase-shift structured light three-dimensional imaging system, comprising: a main control chip 1, a stripe projection light source 2 and a single-frame multi-exposure camera 3 electrically connected to the main control chip 1,
[0028] Main control chip 1: used to control the fringe projection light source 2 to generate multiple fringe projection patterns 4 in a preset order within a single frame time, wherein the fringe projection pattern 4 is a standard fringe projection pattern, and the fringe projection pattern 4 is projected onto the object to be measured in a preset order;
[0029] Used to control the single-frame multi-exposure camera 3 to collect multiple stripe reflection patterns containing object depth and shape information reflected by the measured object within a single frame time, and store the multiple stripe reflection patterns in different charge storage capacitors 7 respectively;
[0030] Used to obtain the charge accumulation value of each charge storage capacitor 7 in the single-frame multi-exposure camera 3, analyze and obtain multiple fringe reflection patterns containing brightness information, extract phase information based on sine function and cosine function transformation, obtain a phase map, calibrate the obtained phase map, obtain a standard phase map that satisfies the epipolar constraint with the standard fringe projection pattern 4, for each pixel in the phase map, find the pixel with the closest phase value corresponding to the same row in the standard phase map, the difference between the horizontal coordinates of the two pixels is the parallax, based on the calibrated position relationship, parallax, and pixel coordinates between the fringe projection light source 2 and the single-frame multi-exposure camera 3, obtain a three-dimensional point cloud of the object to be measured, and perform three-dimensional imaging;
[0031] The single-frame multi-exposure camera 3 includes a pixel array, each pixel of the pixel array includes a photodiode 5 and a plurality of charge accumulation circuits electrically connected thereto, each charge accumulation circuit includes a charge storage capacitor 7;
[0032] After the main control chip 1 sends out a collection pulse signal, the single-frame multi-exposure camera 3 collects each fringe reflection pattern within a single frame time and stores it in a charge storage capacitor 7. Multiple fringe reflection patterns collected within a single frame time are stored in multiple charge storage capacitors 7 respectively.
[0033] The fringe projection light source 2 is used to generate a plurality of fringe projection patterns 4 in a preset order within a single frame time under the control of the main control chip 1. The fringe projection pattern 4 is a standard fringe projection pattern. The fringe projection pattern 4 is projected onto the object to be measured in a preset order.
[0034] The single-frame multi-exposure camera 3 is used to collect multiple stripe reflection patterns containing the depth and shape information of the object reflected by the measured object within a single frame time, and store the multiple stripe reflection patterns in different charge storage capacitors 7 respectively.
[0035] Specifically, the single-frame multi-exposure camera 3 includes a pixel array, each pixel of the pixel array includes a photodiode 5 and a plurality of charge accumulation circuits electrically connected thereto, each charge accumulation circuit includes a charge storage capacitor 7, an exposure enable transistor 6, a reset transistor 8, a source follower 9, and a bit line selection transistor 10.
[0036] The beneficial effects of the present invention are:
[0037] 1. By increasing the number of charge accumulation circuits in the pixel, the single-frame multi-exposure camera can expose the reflected light of multiple fringe projection patterns separately within a single frame time, generate independent charge accumulation, and then read out sequentially after a frame ends. This technical solution can effectively shorten the acquisition time interval between each fringe phase shift pattern, improve the resistance of the three-dimensional imaging system to motion blur, and is more conducive to three-dimensional measurement in motion scenes;
[0038] 2. The projection end is changed from an ordinary surface light source to a spatial pattern projection light source, so that the system supports spatial phase shift encoding, thereby obtaining higher 3D imaging accuracy. Compared with the speckle structured light system with good motion blur resistance, the invention generates a denser point cloud, which is more conducive to precise 3D measurement;
[0039] 3. The proposed phase-shift structured light three-dimensional imaging system uses spatial phase-shift encoding rather than temporal phase-shift encoding, so no additional local sinusoidal clock circuit and sinusoidal-related transistor are required. The pixel structure is simpler, which makes it easy to increase the photosensitive area ratio and reduce costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In the attached picture:
[0041] Figure 1 This is a flow chart of a phase-shift structured light three-dimensional imaging method in an embodiment;
[0042] Figure 2 Schematic diagram of a phase-shift structured light three-dimensional imaging system in an embodiment;
[0043] Figure 3 Schematic diagram of the pixel structure in a single-frame multi-exposure camera in an embodiment;
[0044] Figure 4 is an exposure timing diagram of a single pixel in an embodiment;
[0045] The components represented by the reference numerals in the figure are:
[0046] 1. Main control chip; 2. Fringe projection light source; 3. Single-frame multi-exposure camera; 4. Fringe projection pattern; 5. Photodiode; 6. Exposure enable transistor; 7. Charge storage capacitor; 8. Reset transistor; 9. Source follower; 10. Bit line selection transistor. DETAILED DESCRIPTION
[0047] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings.
[0048] This embodiment provides a phase-shift structured light three-dimensional imaging method. Figure 1, including the following steps:
[0049] Step 1: Projecting a fringe projection pattern: The main control chip 1 controls the fringe projection light source 2 to generate multiple fringe projection patterns 4 in a preset order within a single frame time. The fringe projection pattern 4 is a standard fringe projection pattern, and the fringe projection pattern 4 is projected onto the object to be measured in a preset order.
[0050] Specifically, in the technical solution provided by the present invention, each fringe projection pattern 4 has a different phase and amplitude, and the brightness of each fringe projection pattern 4 is calculated by the following formula:
[0051] ,
[0052] in, I is the brightness of the fringe projection pattern 4, A is the contrast of the fringe projection pattern 4, B is the average brightness of the fringe projection pattern 4, is the period of the fringe projection pattern 4, is the initial phase shift of the fringe projection pattern 4, N is the total number of fringe projection patterns 4.
[0053] The number of fringe projection patterns 4 is consistent with the number of groups of the charge accumulation circuit. The fringe projection light source 2 uses a four-step phase shift pattern for projection. The number of fringe projection patterns 4 is 4, and the number of groups of the charge accumulation circuit is also 4. In the single-frame acquisition process, the interval of the acquisition pulse signal is greater than or equal to the projection time of a single fringe projection pattern 4. For example, the total exposure time of a single-frame acquisition of the single-frame multi-exposure camera 3 is 4000us, then the interval of the four acquisition pulse signals on the frame synchronization signal line is 1000us, and the projection time of a single fringe projection pattern 4 is less than or equal to 1000us. If the synchronization during switching depends on the preset switching time parameters stored in the fringe projection light source 2 and the single-frame multi-exposure camera 3, the frame synchronization signal line between the main control chip 1 and the fringe projection light source 2 can be omitted, and the frame synchronization signal line between the main control chip 1 and the single-frame multi-exposure camera 3 can be omitted. According to the parameters in the above example, if the total exposure time of a single frame acquisition is 4000us, for the fringe projection pattern 4, the preset switching time parameters of the single frame multi-exposure camera 3 and the fringe projection light source 2 are set to 1000us.
[0054] Step 2: Single frame acquisition: The single frame multi-exposure camera 3 acquires multiple stripe reflection patterns containing object depth and shape information reflected from the measured object within a single frame time, and stores the multiple stripe reflection patterns in different charge storage capacitors 7 respectively.
[0055] Step 3: Obtain a three-dimensional point cloud of the object under test: obtain the charge accumulation value of each charge storage capacitor 7 in the single-frame multi-exposure camera 3, analyze and obtain multiple fringe reflection patterns containing brightness information, extract phase information based on sine function and cosine function transformation, obtain a phase map, calibrate the obtained phase map, obtain a standard phase map that satisfies the epipolar constraint with the standard fringe projection pattern 4, for each pixel in the phase map, find the pixel with the closest phase value corresponding to the same row in the standard phase map, the difference between the horizontal coordinates of the two pixels is the parallax, based on the calibrated position relationship, parallax, and pixel coordinates between the fringe projection light source 2 and the single-frame multi-exposure camera 3, obtain a three-dimensional point cloud of the object under test, and perform three-dimensional imaging;
[0056] The single-frame multi-exposure camera 3 includes a pixel array, see Figure 3 , each pixel of the pixel array includes a photodiode 5 and a plurality of charge accumulation circuits electrically connected thereto, each charge accumulation circuit includes a charge storage capacitor 7;
[0057] After the main control chip 1 sends out the acquisition pulse signal, the single-frame multi-exposure camera 3 collects each stripe reflection pattern within a single frame time and stores it in a charge storage capacitor 7. Multiple stripe reflection patterns collected within a single frame time are stored in multiple charge storage capacitors 7 respectively.
[0058] Specifically, each group of charge accumulation circuits includes a charge storage capacitor 7 , an exposure enable transistor 6 , a reset transistor 8 , a source follower 9 , and a bit line selection transistor 10 .
[0059] Before the main control chip 1 sends out the acquisition pulse signal, each group of reset transistors 8 is turned on, and the charge storage capacitor 7 is in a default charge state;
[0060] After the main control chip 1 sends out an acquisition pulse signal, the single frame acquisition starts, and a group of exposure enable transistors 6 are switched to the on state. After completing the acquisition of a stripe reflection pattern, it is stored in the corresponding charge storage capacitor 7. This exposure enable transistor 6 is turned off, and the exposure enable transistors 6 of the remaining groups are switched on and off in sequence, so that each stripe reflection pattern is converted by each photodiode 5 and stored in the corresponding charge storage capacitor 7 through the exposure enable transistor 6, completing the accumulation of multiple groups of charges;
[0061] The bit line selection transistors 10 are turned on sequentially, and the charge stored in each charge storage capacitor 7 is read via the source follower 9;
[0062] After the charge accumulation values are sequentially read out, the bit line selection transistors 10 are sequentially turned off, each group of reset transistors is turned on, and the charge storage capacitor 7 is reset to a default charge state, preparing for the next single-frame multiple exposure.
[0063] In the present invention, the calibrated position relationship between the fringe projection light source 2 and the single-frame multi-exposure camera 3 includes: relative position, direction and distortion parameter information between the fringe projection light source 2 and the single-frame multi-exposure camera 3 .
[0064] Based on the sine function and cosine function transformation, the phase information corresponding to each pixel is extracted from the original image to obtain the phase map of each pixel, which is specifically:
[0065] ,
[0066] Where Φ is the phase map of each pixel, I 1. I 2. I 3. I 4 are the brightness of the four reflection fringe projection patterns 4.
[0067] Based on the calibrated position relationship, parallax, and pixel coordinates between the fringe projection light source 2 and the single-frame multi-exposure camera 3, the three-dimensional point cloud of the object under test is obtained, specifically:
[0068] ,
[0069] ,
[0070] in, X , Y , Z are the coordinates of the 3D point cloud, W is the proportionality coefficient, x is the horizontal coordinate of the pixel, y is the vertical coordinate of the pixel; Q is the perspective projection matrix, d It's parallax. c x is the optical center abscissa of the standard phase diagram, is the abscissa of the optical center of the fringe projection pattern 4, c y is the optical center ordinate of the standard phase diagram, f is the focal length of the calibrated multi-exposure camera 3, T x is the baseline length between the fringe projection light source 2 and the multi-exposure camera 3.
[0071] The present invention also provides a phase-shift structured light three-dimensional imaging system, such as Figure 2 As shown, it includes: a main control chip 1, a stripe projection light source 2 and a single-frame multi-exposure camera 3 electrically connected to the main control chip 1,
[0072] Main control chip 1: used to control the fringe projection light source 2 to generate multiple fringe projection patterns 4 in a preset order within a single frame time, wherein the fringe projection pattern 4 is a standard fringe projection pattern, and the fringe projection pattern 4 is projected onto the object to be measured in a preset order;
[0073] Used to control the single-frame multi-exposure camera 3 to collect multiple stripe reflection patterns containing object depth and shape information reflected by the measured object within a single frame time, and store the multiple stripe reflection patterns in different charge storage capacitors 7 respectively;
[0074] Used to obtain the charge accumulation value of each charge storage capacitor 7 in the single-frame multi-exposure camera 3, analyze and obtain multiple fringe reflection patterns containing brightness information, extract phase information based on sine function and cosine function transformation, obtain a phase map, calibrate the obtained phase map, obtain a standard phase map that satisfies the epipolar constraint with the standard fringe projection pattern 4, for each pixel in the phase map, find the pixel with the closest phase value corresponding to the same row in the standard phase map, the difference between the horizontal coordinates of the two pixels is the parallax, based on the calibrated position relationship, parallax, and pixel coordinates between the fringe projection light source 2 and the single-frame multi-exposure camera 3, obtain a three-dimensional point cloud of the object to be measured, and perform three-dimensional imaging;
[0075] The single-frame multi-exposure camera 3 includes a pixel array, each pixel of the pixel array includes a photodiode 5 and a plurality of charge accumulation circuits electrically connected thereto, each charge accumulation circuit includes a charge storage capacitor 7;
[0076] After the main control chip 1 sends out a collection pulse signal, the single-frame multi-exposure camera 3 collects each fringe reflection pattern within a single frame time and stores it in a charge storage capacitor 7. Multiple fringe reflection patterns collected within a single frame time are stored in multiple charge storage capacitors 7 respectively.
[0077] The stripe projection light source 2 is used to generate a plurality of stripe projection patterns 4 in a preset order within a single frame time under the control of the main control chip 1. The stripe projection pattern 4 is a standard stripe projection pattern. The stripe projection pattern 4 is projected onto the object to be measured in a preset order.
[0078] The single-frame multi-exposure camera 3 is used to collect multiple stripe reflection patterns containing the depth and shape information of the object reflected by the measured object within a single frame time, and store the multiple stripe reflection patterns in different charge storage capacitors 7 respectively.
[0079] Among them, the single-frame multi-exposure camera 3 includes a pixel array, each pixel of the pixel array includes a photodiode 5 and a plurality of charge accumulation circuits electrically connected thereto, each charge accumulation circuit includes a charge storage capacitor 7, an exposure enable transistor 6, a reset transistor 8, a source follower 9, and a bit line selection transistor 10.
[0080] See also Figure 4 , G1, G2, G3 and G4 are the switching waveforms of the four exposure enable transistors 6 in one pixel, L is the switching waveform of the stripe projection light source 2, and the horizontal coordinates 0, 1, 2, 3, 4, 5 represent the increasing moments. At the moment 0 to 1, G1, G2, G3, G4 and L are all in the disconnected state, and the pixel has not yet started to be exposed. At the moment 1 to 2, G1 is turned on, G2, G3 and G4 remain closed, L is turned on and projects the first stripe projection pattern 4, and at this time the first group of charge accumulation circuits of the pixel exposes the first stripe reflection pattern. At the moment 2 to 3, G2 is turned on, G1, G3 and G4 remain closed, L is turned on and projects the second stripe projection pattern 4, and at this time the second group of charge accumulation circuits of the pixel exposes the second stripe reflection pattern. At the moment 3 to 4, G3 is turned on, G1, G2 and G4 remain closed, L is turned on and projects the third stripe projection pattern 4, and at this time the No. 3 charge accumulation circuit of the pixel exposes the third stripe reflection pattern. From 4 to 5, G4 is turned on, G1, G2 and G3 remain off, L is turned on and projects the fourth fringe projection pattern 4, and the charge accumulation circuit No. 4 of the pixel exposes the fourth fringe reflection pattern. After the exposure of the four fringe reflection patterns is completed, G1, G2, G3, G4 and L return to the state of 0 to 1 and all remain off to perform charge readout and reset operations in preparation for the next exposure.
Claims
1. A phase-shift structured light three-dimensional imaging method, characterized in that: The following steps are involved: S1. Projecting a fringe projection pattern: the main control chip (1) controls the fringe projection light source (2) to generate a plurality of fringe projection patterns (4) in a preset order within a single frame time, wherein the fringe projection pattern (4) is a standard fringe projection pattern, and the fringe projection pattern (4) is projected onto the object to be measured in a preset order; S2, single frame acquisition: the single frame multi-exposure camera (3) acquires multiple stripe reflection patterns containing object depth and shape information reflected from the measured object within a single frame time, and stores the multiple stripe reflection patterns in different charge storage capacitors (7); S3, obtaining a three-dimensional point cloud of the object under test: obtaining the charge accumulation value of each charge storage capacitor (7) in the single-frame multi-exposure camera (3), parsing to obtain multiple stripe reflection patterns containing brightness information, extracting phase information based on sine function and cosine function transformation, obtaining a phase map, calibrating the obtained phase map, obtaining a standard phase map that satisfies the epipolar constraint with the standard stripe projection pattern (4), for each pixel in the phase map, finding the pixel with the closest phase value in the same row corresponding to the standard phase map, the difference between the horizontal coordinates of the two pixels is the parallax, based on the calibrated position relationship, parallax, and pixel coordinates between the stripe projection light source (2) and the single-frame multi-exposure camera (3), obtaining a three-dimensional point cloud of the object under test, and performing three-dimensional imaging; Based on the calibrated position relationship, parallax, and pixel coordinates between the fringe projection light source (2) and the single-frame multi-exposure camera (3), a three-dimensional point cloud of the object to be measured is obtained, specifically: , , in, X , Y , Z are the coordinates of the 3D point cloud, W is the proportionality coefficient, x is the horizontal coordinate of the pixel, y is the vertical coordinate of the pixel; Q is the perspective projection matrix, d It's parallax. c x is the optical center abscissa of the standard phase diagram, is the abscissa of the optical center of the fringe projection pattern (4), c y is the optical center ordinate of the standard phase diagram, f is the focal length of the calibrated multi-exposure camera (3), T x is the baseline length between the fringe projection light source (2) and the multi-exposure camera (3); The single-frame multi-exposure camera (3) comprises a pixel array, each pixel of the pixel array comprises a photodiode (5) and a plurality of charge accumulation circuits electrically connected thereto, each charge accumulation circuit comprising a charge storage capacitor (7), an exposure enable transistor (6), a reset transistor (8), a source follower (9), and a bit line selection transistor (10); After the main control chip (1) sends out a collection pulse signal, the single-frame multi-exposure camera (3) collects each stripe reflection pattern within a single frame time and stores it in a charge storage capacitor (7). Multiple stripe reflection patterns collected within a single frame time are respectively stored in multiple charge storage capacitors (7), specifically: After the main control chip (1) sends out a collection pulse signal, a group of exposure enable transistors (6) is switched to a conducting state, and after completing the collection of a stripe reflection pattern, it is stored in a corresponding charge storage capacitor (7). This exposure enable transistor (6) is turned off, and the exposure enable transistors (6) of the remaining groups are switched on and off in sequence, so that each stripe reflection pattern is converted by each photodiode (5) and stored in a corresponding charge storage capacitor (7) through the exposure enable transistor (6); The bit line selection transistors (10) are turned on sequentially, and the charge stored in each charge storage capacitor (7) is read through the source follower (9).
2. The phase-shift structured light three-dimensional imaging method according to claim 1, characterized in that: Each fringe projection pattern (4) has a different phase and amplitude, and the brightness of each fringe projection pattern (4) is calculated by the following formula: , in, I is the brightness of the fringe projection pattern (4), A is the contrast of the fringe projection pattern (4), B is the average brightness of the fringe projection pattern (4), is the period of the fringe projection pattern (4), is the initial phase shift of the fringe projection pattern (4), N is the total number of fringe projection patterns (4).
3. The phase-shift structured light three-dimensional imaging method according to claim 1, characterized in that: The number of the fringe projection patterns (4) is consistent with the number of groups of the charge accumulation circuits.
4. The phase-shift structured light three-dimensional imaging method according to claim 1, characterized in that: The fringe projection light source (2) uses a four-step phase shift pattern for projection, the number of fringe projection patterns (4) is correspondingly 4, and the number of groups of charge accumulation circuits is 4.
5. The phase-shift structured light three-dimensional imaging method according to claim 1, characterized in that: The interval of collecting the pulse signal in S1 is greater than or equal to the projection duration of a single fringe projection pattern (4).
6. The phase-shift structured light three-dimensional imaging method according to claim 1, characterized in that: The calibrated position relationship between the stripe projection light source (2) and the single-frame multi-exposure camera (3) in S3 comprises: relative position, direction and distortion parameter information between the stripe projection light source (2) and the single-frame multi-exposure camera (3).
7. A phase-shift structured light 3D imaging system according to the phase-shift structured light 3D imaging method according to claim 1, characterized in that: It comprises a main control chip (1), a stripe projection light source (2) and a single-frame multi-exposure camera (3) which are electrically connected to the main control chip (1). A main control chip (1): used to control the fringe projection light source (2) to generate a plurality of fringe projection patterns (4) in a preset order within a single frame time, wherein the fringe projection patterns (4) are standard fringe projection patterns, and the fringe projection patterns (4) are projected onto the object to be measured in a preset order; Used to control a single-frame multi-exposure camera (3) to collect multiple stripe reflection patterns containing object depth and shape information reflected from a measured object within a single frame time, and store the multiple stripe reflection patterns in different charge storage capacitors (7); Used to obtain the charge accumulation value of each charge storage capacitor (7) in the single-frame multi-exposure camera (3), analyze and obtain multiple stripe reflection patterns containing brightness information, extract phase information based on sine function and cosine function transformation, obtain a phase map, calibrate the obtained phase map, obtain a standard phase map that satisfies the epipolar constraint with the standard stripe projection pattern (4), find the pixel with the closest phase value in the same row corresponding to each pixel in the phase map in the standard phase map, the difference between the horizontal coordinates of the two pixels is the parallax, and obtain a three-dimensional point cloud of the object to be measured based on the calibrated position relationship, parallax, and pixel coordinates between the stripe projection light source (2) and the single-frame multi-exposure camera (3) to perform three-dimensional imaging; The single-frame multi-exposure camera (3) comprises a pixel array, each pixel of the pixel array comprises a photodiode (5) and a plurality of groups of charge accumulation circuits electrically connected thereto, each group of charge accumulation circuits comprising a charge storage capacitor (7); After the main control chip (1) sends out a collection pulse signal, the single-frame multi-exposure camera (3) collects each stripe reflection pattern within a single frame time and stores it in a charge storage capacitor (7). Multiple stripe reflection patterns collected within a single frame time are respectively stored in multiple charge storage capacitors (7); A fringe projection light source (2): used to generate a plurality of fringe projection patterns (4) in a preset order within a single frame time under the control of a main control chip (1), wherein the fringe projection patterns (4) are standard fringe projection patterns, and the fringe projection patterns (4) are projected onto the object to be measured in a preset order; Single-frame multi-exposure camera (3): used to collect multiple stripe reflection patterns containing object depth and shape information reflected from the object under test within a single frame time, and store the multiple stripe reflection patterns in different charge storage capacitors (7).
8. The phase-shift structured light three-dimensional imaging system according to claim 7, characterized in that: The single-frame multi-exposure camera (3) comprises a pixel array, each pixel of the pixel array comprises a photodiode (5) and a plurality of groups of charge accumulation circuits electrically connected thereto, each group of charge accumulation circuits comprising a charge storage capacitor (7), an exposure enable transistor (6), a reset transistor (8), a source follower (9), and a bit line selection transistor (10).
