Line structured light three-dimensional sensing method and device
Through a new line structured light three-dimensional sensing method, using diffractive optical elements and structured light encoding measurement methods, fast and high-precision three-dimensional measurement is achieved, solving the problems of low precision and slow speed in the existing technology.
Patent Information
- Application Number
- CN201711401791.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-12-21
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2037-12-21
AI Technical Summary
Among the existing three-dimensional measurement technologies, the three-dimensional measurement accuracy is low and the conversion speed is slow, and there is no effective solution yet.
Using a new line structured light three-dimensional sensing method, the beam is split into line spots through diffractive optical elements, and the three-dimensional spatial position of the object is calculated by projecting light beams at different angles and structured light encoding measurement methods, using a light source array device and an image acquisition device. Control to form a fast projection and adjustable precision spot combination.
It improves the accuracy and conversion speed of three-dimensional measurement and solves the problems of low three-dimensional measurement accuracy and slow conversion speed.
Smart Images

Figure CN108036742B
Abstract
Description
Technical Field
[0001] The present application relates to the field of three-dimensional measurement of objects, and more specifically, to a novel line structured light three-dimensional sensing method and device. Background Art
[0002] 3D scanners are widely used in human-computer interaction, industrial inspection, security monitoring, robotics and autonomous driving. When measuring objects in three dimensions, common methods include single-line scanning and stripe structured light measurement. Both methods can achieve high-precision 3D measurement of objects. The principle of stripe structured light measurement is to use a projector or grating device to project a changing black and white stripe pattern onto the surface of the object being measured, take multiple photos continuously, identify the position of the stripes in the photos, and calculate the depth information through optical triangulation. Figure 1 The figure shows a sequence of seven-order binary fringe pattern transformations. Seven-order fringe patterns can produce 128 different patterns, requiring seven consecutive photos to produce a depth map. Single-line scanning, while simple in principle, takes several seconds to complete, making it unsuitable for high-precision 3D measurement. Fringe structured light measurement offers lower accuracy than single-line scanning, but the projectors or gratings used suffer from slow conversion speeds, long scanning times, and high cost.
[0003] Currently, no effective solution has been proposed to address the problems of low three-dimensional measurement accuracy and slow conversion speed in related technologies. Summary of the Invention
[0004] The main purpose of this application is to provide a novel line structured light three-dimensional sensing method and device to solve the problems of low three-dimensional measurement accuracy and slow conversion speed.
[0005] In order to achieve the above objectives, according to one aspect of the present application, a novel line structured light three-dimensional sensing method is provided.
[0006] The novel line structured light three-dimensional sensing method according to the present application includes the following steps:
[0007] Place the object to be measured in front of the projection surface;
[0008] Splitting a plurality of light beams projected at different angles and projecting them onto the projection surface and the object to be measured in the form of line spots, and acquiring projection images on the projection surface and the object to be measured;
[0009] The three-dimensional spatial position of the object to be measured is calculated according to the projection image on the projection surface and the projection image on the object to be measured by using a structured light coding measurement method.
[0010] Furthermore, the method further comprises: splitting a plurality of light beams projected at different angles and projecting them onto the projection surface and the object to be measured in the form of line spots, and acquiring the projection images on the projection surface and the object to be measured, including:
[0011] Splitting a light beam and projecting it onto the projection surface and the object to be measured in the form of a line light spot, and acquiring a projection image of the light beam on the projection surface and the object to be measured;
[0012] After each projection image is acquired, a beam split is added at a projection angle different from the previous beam and projected onto the projection surface and the object to be measured in the form of a line spot, and the projection image on the projection surface and the object to be measured is acquired each time.
[0013] Furthermore, the line light spots formed after the plurality of light beams projected at different angles are split are projected side by side onto the projection surface and the object to be measured.
[0014] Furthermore, at least one light beam is added or reduced among the light beams projected from the plurality of different angles, and an image projected onto the projection surface and the object to be measured after the line spot spacing is changed is obtained.
[0015] Furthermore, the light beam is a visible light beam or an invisible light beam.
[0016] Furthermore, when acquiring the projection images on the projection surface and the measured object, a plurality of image acquisition devices are used to acquire the projection images from a plurality of different angles.
[0017] Furthermore, the width of at least one of the light beams projected from the plurality of different angles is changed, and an image projected onto the projection surface and the object to be measured after the line spot spacing is changed is obtained.
[0018] In order to achieve the above-mentioned objectives, according to another aspect of the present application, a novel line structured light three-dimensional sensing device is provided.
[0019] The novel line structured light three-dimensional sensing device according to the present application includes: a diffractive optical element, a light source array device, an image acquisition device, and a control circuit board for controlling the light source array device and the image acquisition device.
[0020] The light source array device is used to emit a plurality of light beams from different angles, and the control end of the light source array device is connected to the control signal output end of the control circuit board;
[0021] The diffraction optical element is used to split the light beam emitted by the light source array device and control the light spot projected after the light beam is split into a line light spot, and project the line light spot onto a projection surface and an object to be measured placed in front of the projection surface;
[0022] The image acquisition device is used to acquire the projection image of the line light spot on the projection surface and the measured object, and the control end of the image acquisition device is connected to the control signal output end of the control circuit board.
[0023] Furthermore, the light source array device is a plurality of lasers arranged at different projection angles.
[0024] Furthermore, the image acquisition device is a camera.
[0025] In the embodiments of the present application, a diffractive optical element is used to split the light beam and control the shape of the projected light spot, replacing the original solution of three-dimensional measurement of objects using bright and dark stripes of structured light. After the light beam is projected by several light sources at different angles, it is split and projected as line spots onto the projection surface and the object being measured. The line spot images projected side by side on the projection surface and the object being measured are acquired, and the three-dimensional spatial position of the object being measured can be calculated using the structured light coding measurement method. By controlling the projection angle and number of light sources, different combinations of projected light spots can be formed, achieving the purpose of fast projection and self-adjustable accuracy, thereby achieving the technical effect of improving the low three-dimensional measurement accuracy and conversion speed, thereby solving the technical problems of low three-dimensional measurement accuracy and slow conversion speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings that constitute part of this application are used to provide a further understanding of this application and make other features, objects and advantages of this application more apparent. The illustrative embodiment drawings of this application and their descriptions are used to explain this application and do not constitute an improper limitation of this application. In the drawings:
[0027] Figure 1 This is a schematic diagram of a binary fringe image in an existing fringe structured light 3D measurement method;
[0028] Figure 2 This is an operational flow chart of the novel line structured light three-dimensional sensing method of the present application;
[0029] Figure 3 This is a specific operational flow chart of the novel line structured light three-dimensional sensing method of this application;
[0030] Figure 4 This is a schematic diagram of the use of equal spacing and dichotomy to project images in the novel line structured light three-dimensional sensing method of the present application;
[0031] Figure 5 This is a top cross-sectional view of the novel line structured light three-dimensional sensing device of the present application;
[0032] Figure 6 is a front view of the novel line structured light three-dimensional sensing device of the present application; and
[0033] Figure 7 This is a diagram showing the working principle of the novel line structured light three-dimensional sensing device of this application. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0035] It should be noted that the term "comprise" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products or apparatuses.
[0036] In this application, terms such as "upper," "lower," "front," "back," "top," "bottom," "inner," "outer," and "center" indicate positions or locations based on those shown in the accompanying drawings. These terms are primarily intended to better describe the present invention and its embodiments and are not intended to limit the devices, elements, or components indicated to having a specific orientation, or to being constructed or operated in a specific orientation.
[0037] Furthermore, some of the above terms may be used to express other meanings besides indicating a position or location. For example, the term "on" may also be used to indicate a dependency or connection in certain circumstances. Those skilled in the art will understand the specific meanings of these terms in the present invention based on the specific circumstances.
[0038] Furthermore, the terms "installed," "disposed," "equipped with," and "connected" should be interpreted broadly. For example, they can refer to fixed connections, removable connections, or integral structures; mechanical connections or electrical connections; direct connections or indirect connections through an intermediary; or internal communication between two devices, elements, or components. Those skilled in the art will understand the specific meanings of these terms in the present invention based on specific circumstances.
[0039] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0040] like Figure 2 、 Figure 3 、 Figure 7 As shown, the novel line structured light three-dimensional sensing method includes the following steps S1 to S5:
[0041] Step S1: Place the object to be measured in front of the projection surface;
[0042] Step S2: After a beam of light emitted by a laser light source is split by a diffractive optical element, the diffractive optical element controls the split beam to be projected onto the projection surface and the object under test in the form of a line spot, and a camera is used to capture the projected image on the projection surface and the object under test at that moment;
[0043] Step S3: After each projected image is captured by the camera, a laser light source is added to emit a beam at a different projection angle from the previous beam to the diffractive optical element. The diffractive optical element controls and splits each beam, and the resulting line spots are projected side by side onto the projection surface and the object being measured.
[0044] Step S4: Every time a laser light source is added, the projected image on the projection surface and the object to be measured is captured by a camera.
[0045] Add or reduce at least one light beam from a plurality of light beams projected at different angles, thereby obtaining a new image on the projection surface and the object being measured;
[0046] Changing the width of at least one of the beams projected at different angles to obtain a new image on the projection surface and the object being measured;
[0047] Step S5: Calculate the three-dimensional spatial position of the object to be measured by using a structured light coding measurement method based on the projection images captured by the camera.
[0048] In some embodiments of the present application, one camera may be used to capture the projection image on the projection surface and the object to be measured, or multiple cameras may be used to capture the projection image on the projection surface and the object to be measured at different angles. Multi-angle shooting can ensure a more stable and accurate measurement effect.
[0049] In some embodiments of the present application, the light source for projecting the light beam may be a visible light source or an invisible light source.
[0050] like Figure 4 As shown, taking the diffraction optical element's use of equal spacing and bisection for beam splitting as an example, this application is specifically described:
[0051] At t = 1, after a light beam passes through the diffractive optical element, a projection image containing a stripe-shaped light spot is generated on the projection surface and the object being measured;
[0052] At t=2, an additional light beam is added and passes through the diffractive optical element, and the original light beam is projected onto the projection surface and the object to be measured to generate a projection image containing two strip-shaped light spots;
[0053] At t=3, an additional light beam passes through the diffractive optical element and is projected onto the projection surface and the object to be measured to generate a projection image containing four strip-shaped light spots;
[0054] At t=4, an additional light beam is added and passes through the diffractive optical element, and the original light beam is projected onto the projection surface and the object to be measured to generate a projection image containing 8 strip-shaped light spots;
[0055] And so on;
[0056] At t=7, an additional light beam is added and passes through the diffractive optical element, and the original light beam is projected onto the projection surface and the object to be measured to generate a projection image containing 128 strip-shaped light spots.
[0057] The camera continuously captures the projected images from time t=1 to t=7. Based on the number and position changes of the line light spots in the photos, the structured light coding measurement method can be used to determine the correspondence between the light beam at any position at any time and the line light spots in the projected image.
[0058] The structured light coding measurement method is an existing method for measuring the depth of a dynamic scene, wherein the structured light coding measurement method includes the following steps:
[0059] Step C1: Calculate the binary image B of the deformed stripe U;
[0060] Step C2: decoding of black and white stripes;
[0061] Step C3: Calculate the serial numbers of the black and white stripe pairs according to the De Bruijn sequence;
[0062] Step C4: Use the epipolar line segments to find the consecutive numbers of the black and white stripe pairs;
[0063] Step C5: Calculate the coordinates of the matching points using the phase difference;
[0064] Step C6: Calculate the depth value using the line-surface intersection relationship.
[0065] From the above description, it can be seen that the present invention achieves the following technical effects: a diffraction optical element is used to split the light beam and control the shape of the light spot projected by the light beam, replacing the original bright and dark stripe structured light solution for three-dimensional measurement of objects. The light beam projected by several light sources at different angles is split and projected as a line light spot onto the projection surface and the object to be measured. The line light spot images projected side by side on the projection surface and the object to be measured are acquired, and the coding of the projected lines is determined by the structured light coding measurement method, thereby calculating the three-dimensional spatial position of the object to be measured. By controlling the projection angle and number of light sources, different combinations of projected light spots can be formed, achieving the purpose of fast projection and self-adjustable accuracy.
[0066] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0067] According to an embodiment of the present invention, a device for implementing the above-mentioned novel line structured light three-dimensional sensing method is also provided, such as Figure 5 、 Figure 6As shown, the device includes: a housing 1, a diffractive optical element (DOE) 9, a light source array device 4, an image acquisition device 8, and a control circuit board 5. The inner wall of the housing 1 is provided with a projection hole 2 and a shooting hole 3 that extend through the exterior. The diffractive optical element 9, the light source array device 4, the image acquisition device 8, and the control circuit board 5 are disposed within the housing 1, with the diffractive optical element 9 aligned with the projection hole 2, and the light source array device 4 aligned with the diffractive optical element 9. The shooting end of the image acquisition device 8 extends outside the housing 1 through the shooting hole 3. The light source array device 4 is configured to emit multiple light beams from different angles. The diffractive optical element 9 is configured to split the light beams emitted by the light source array device 4 and control the resulting light spots to form line spots. The line spots are then projected onto a projection surface and an object under test placed in front of the projection surface. The image acquisition device 8 is configured to capture images of the line spots projected onto the projection surface and the object under test. The control end of the light source array device 4 is connected to the control signal output end of the control circuit board 5, and the control end of the image acquisition device 8 is connected to the control signal output end of the control circuit board 5. The inner wall of the shell 1 is provided with a power cord interface and a power cord interface that are connected to the outside. The power cord 6 passes through the power cord interface and is connected to the power end of the image acquisition device 8 and the power end of the control circuit board 5. The data transmission line 7 passes through the data cord interface and is connected to the data transmission end of the control circuit board 5.
[0068] In some embodiments of the present invention, the light source array device 4 is a plurality of lasers arranged at different projection angles; and the image acquisition device 8 is a camera.
[0069] Obviously, those skilled in the art will appreciate that the modules or steps of the present invention described above can be implemented using a general-purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computing device, which can then be stored in a storage device and executed by the computing device. Alternatively, they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0070] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.
Claims
1. A line structured light three-dimensional sensing method, It is characterized in that The steps include: Place the object to be measured in front of the projection surface; Splitting a plurality of light beams projected at different angles and projecting them onto the projection surface and the object to be measured in the form of line light spots, and acquiring projection images on the projection surface and the object to be measured; Calculating the three-dimensional spatial position of the object to be measured by a structured light coding measurement method according to the projection image on the projection surface and the projection image on the object to be measured; The plurality of light beams projected at different angles are light beams projected from light sources at different angles, which are split by the diffractive optical element and projected onto the projection surface and the object to be measured in the form of line light spots; The step of acquiring the projection image on the projection surface and the object under test also includes: among a plurality of light sources at different angles, adding or reducing light sources at different projection angles, emitting light beams to the diffractive optical element to form different projection spot combinations, and acquiring the projection image on the projection surface and the object under test.
2. The line structured light three-dimensional sensing method according to claim 1, It is characterized in that After splitting a plurality of light beams projected at different angles, the light beams are projected onto the projection surface and the object to be measured in the form of line spots, and the projection images on the projection surface and the object to be measured are obtained, including: Splitting a light beam and projecting it onto the projection surface and the object to be measured in the form of a line light spot, and acquiring a projection image of the light beam on the projection surface and the object to be measured; After each projection image is acquired, a beam splitting is added at a projection angle different from the previous beam and projected onto the projection surface and the object to be measured in the form of a line spot, and the projection image on the projection surface and the object to be measured is acquired each time.
3. The line structured light three-dimensional sensing method according to claim 1, It is characterized in that The line light spots after the splitting of the plurality of light beams projected at different angles are projected side by side onto the projection surface and the object to be measured.
4. The line structured light three-dimensional sensing method according to claim 3, It is characterized in that At least one light beam is increased or decreased from a plurality of light beams projected at different angles, and an image projected onto the projection surface and the object to be measured after the line spot spacing is changed is acquired.
5. The line structured light three-dimensional sensing method according to claim 1, It is characterized in that The light beam is a visible light beam or a non-visible light beam.
6. The line structured light three-dimensional sensing method according to claim 1, It is characterized in that When acquiring the projection images on the projection surface and the measured object, a plurality of image acquisition devices are used to acquire the projection images from a plurality of different angles respectively.
7. The line structured light three-dimensional sensing method according to claim 3, It is characterized in that The width of at least one of the plurality of light beams projected at different angles is changed, and an image projected onto the projection surface and the object to be measured after the line spot spacing is changed is acquired.
8. A line structured light three-dimensional sensing device, It is characterized in that The invention comprises a diffractive optical element, a light source array device, an image acquisition device and a control circuit board for controlling the light source array device and the image acquisition device. The light source array device is used to emit a plurality of light beams from different angles, and the control end of the light source array device is connected to the control signal output end of the control circuit board; The diffractive optical element is used to split the light beam emitted by the light source array device and control the projected light spot of the light beam after the light beam is split into a line light spot, and project the line light spot onto a projection surface and an object to be measured placed in front of the projection surface; The image acquisition device is used to acquire the projection image of the line light spot on the projection surface and the object to be measured, and the control end of the image acquisition device is connected to the control signal output end of the control circuit board; The light source array device is configured to control the projection angle of the light beam and the number of light sources, and emit a plurality of light beams from different angles to the diffractive optical element to form different projection light spot combinations.
9. The line structured light three-dimensional sensing device according to claim 8, It is characterized in that The light source array device is a laser array.
10. The line structured light three-dimensional sensing device according to claim 8, It is characterized in that The image acquisition device is a camera.
