A device and method for obtaining depth information of object surface
By using coherent light and image processing technology in optical three-dimensional profile measurement technology, three-dimensional point cloud data of the depth of the object surface is obtained, which solves the problems of high cost, slow speed and difficulty in demodulation in the existing technology, and achieves high-precision, Low-cost 3D face and gesture recognition.
Patent Information
- Application Number
- CN202110382987.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-09
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-04-09
Smart Images

Figure CN115200510B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of three-dimensional recognition technology, and more specifically, to a device and method for acquiring depth information of an object surface. Background Art
[0002] With the rapid development of computer, information processing and optoelectronic technology, 3D profile measurement technology has been widely used. Especially in the fields of industrial manufacturing, product inspection, medical imaging, film and television special effects, facial recognition and cultural relics protection, 3D scanning technology has broad application prospects and research significance. With the continuous development and improvement of photoelectric sensing technology, image detection and recognition technology and information processing technology, optical 3D profile measurement technology has been widely used. Optical 3D profile measurement technology is widely regarded as the most promising 3D profile measurement technology because of its advantages of not touching the measured object, high measurement accuracy and high real-time responsiveness.
[0003] Existing optical 3D profile measurement technologies are mainly divided into several categories, such as laser scanning, time-of-flight and grating projection.
[0004] The laser scanning method is to control the rotation of the laser or the rotation of the object to be measured, and use a line laser to scan the entire object to be measured. The stripe direction image on the surface of the object to be measured will change with the height of the object. The camera obtains the corresponding image, and then through the camera calibration and restoration technology, the three-dimensional surface data of the object can be obtained. Although the laser scanning method has the advantages of simple post-image processing and high measurement accuracy. However, the laser scanning system is expensive, and mechanical errors will be introduced during the movement of the laser or the object. Calibration operations are also required during the entire object scanning process, resulting in a slow measurement speed.
[0005] The time-of-flight method is that the laser emits two laser pulses, one of which is directly received by the photoelectric sensor through reflection at the emission position, at which time the timer starts timing, and the other laser pulse is reflected by the surface of the object being measured and enters the photoelectric sensor, at which time the timer is turned off. The time counted by the timer and the speed of light under the medium can be used to determine the distance between the height of the contour of the object being measured and the laser emitter. The disadvantage of the time-of-flight method is that it requires electronic equipment with high response frequency and high resolution, and the cost of the measurement system is relatively high. In addition, this method is based on point scanning, and the measurement speed is slow.
[0006] The difficulty of the 3D profile measurement system based on the grating projection method of optical triangulation lies in solving the demodulation phase function and solving the system stability. In addition, since the fringe spacing generated by the grating projection method is relatively large and does not include the surface profile details of the measured object, the demodulation result cannot accurately reflect the height of the object when there is a sudden change on the surface of the object. Summary of the invention
[0007] In view of the above problems, the purpose of the present invention is to provide a device and method for obtaining depth information of the surface of an object. Compared with traditional laser scanning and time-of-flight methods, the device and method have lower costs while ensuring measurement accuracy, and can be widely used in fields such as three-dimensional facial recognition and gesture recognition.
[0008] According to one aspect of an embodiment of the present invention, there is provided a device for acquiring depth information of an object surface, comprising a light source emitting system, an image sensor and an image processing system, wherein the light source emitting system is respectively used to project coherent light onto the surface of the object to be measured and the image sensor in a first mode, and to project coherent light onto the surface of the object to be measured in a second mode, wherein the image sensor is used to collect an interference image of the surface of the object to be measured in the first mode, and to collect an interference-free image of the surface of the object to be measured in the second mode, wherein the image processing system obtains a first fringe image based on the difference between the interference image and the interference-free image, and obtains a second fringe image based on the first fringe image by calculation, wherein the fringe widths of the second fringe image and the first fringe image are inconsistent, so that the image processing system obtains three-dimensional point cloud data representing the depth information of the surface of the object to be measured based on the second fringe image.
[0009] Optionally, the image processing system includes: an image extraction module, used to obtain the first fringe image based on the interference image and the non-interference image; a fringe calculation module, used to calculate the second fringe image based on the first fringe image; and a depth information calculation module, used to obtain the three-dimensional point cloud data based on the second fringe image.
[0010] Optionally, the stripe width of the second stripe image is greater than the stripe width of the first stripe image.
[0011] Optionally, the image extraction module obtains the first fringe image by filtering out the non-interference image from the interference image.
[0012] Optionally, the fringe calculation module is used to obtain light intensity information of the interference fringes in the first fringe image, and multiply the light intensity information with a preset sine wave that changes along the phase change direction of the interference fringes to obtain new interference fringes, thereby obtaining the second fringe image.
[0013] Optionally, the depth information calculation module establishes a proportional relationship between the second fringe image and the world coordinate system according to a method of calibrating two points to obtain the distance, and obtains the three-dimensional point cloud data through a spatial restoration operation of the fringe image.
[0014] Optionally, the depth information calculation module calculates the three-dimensional point cloud data based on the first fringe image and the second fringe image based on a binocular parallax method.
[0015] Optionally, the light source emission system includes: a light source for emitting the coherent light; and an optical module for receiving and transforming the coherent light, projecting the transformed light onto the surface of the object to be measured and the image sensor in the first mode, and projecting the transformed light onto the surface of the object to be measured in the second mode.
[0016] Optionally, the optical module includes: a beam expander and a beam diverger placed perpendicular to the incident direction of the coherent light; and a parallel plate placed at a certain angle to the incident direction of the coherent light, wherein the parallel plate operates in a semi-transmissive and semi-reflective mode in the first mode, and operates in a total reflection mode in the second mode.
[0017] Optionally, the parallel plate includes an electro-optical absorption film and an electrode, and the selective passage of the coherent light is achieved by controlling the on and off of the voltage applied to the parallel plate.
[0018] Optionally, the light source includes: a semiconductor laser for emitting coherent laser light; and a modulator for performing high-frequency modulation on the coherent laser light and emitting the modulated coherent laser light to the optical module.
[0019] Optionally, the image processing system also includes: a light source control module, which is used to turn off the light source in a third mode so that the image sensor can collect a two-dimensional image of the surface of the object under test under a natural light environment; and a three-dimensional reconstruction module, which is used to associate the three-dimensional point cloud data with the two-dimensional image to obtain a three-dimensional model of the object under test.
[0020] Optionally, the three-dimensional reconstruction module is used to construct a surface contour of the object under test based on the three-dimensional point cloud data, and use the two-dimensional image to perform mapping on the surface contour to obtain a three-dimensional model of the object under test.
[0021] According to another aspect of an embodiment of the present invention, a method for obtaining depth information of an object surface is provided, comprising: projecting coherent light onto the surface of the object to be measured and an image sensor, and obtaining an interference image on the image sensor; projecting coherent light onto the surface of the object to be measured, and obtaining a non-interference image on the image sensor; obtaining a first fringe image based on the difference between the interference image and the non-interference image; calculating a second fringe image based on the first fringe image, the second fringe image having a fringe width inconsistent with that of the first fringe image; and obtaining three-dimensional point cloud data representing the depth information of the surface of the object to be measured based on the second fringe image.
[0022] Optionally, obtaining the first fringe image according to the difference between the interference image and the non-interference image includes: obtaining the first fringe image by filtering out the non-interference image from the interference image.
[0023] Optionally, the stripe width of the second stripe image is greater than the stripe width of the first stripe image.
[0024] Optionally, calculating the second fringe image based on the first fringe image includes: acquiring light intensity information of the interference fringes in the first fringe image, and multiplying the light intensity information with a preset sinusoidal wave that changes along the phase change direction of the interference fringes to obtain new interference fringes, thereby obtaining the second fringe image.
[0025] Optionally, obtaining three-dimensional point cloud data representing the surface depth information of the object to be measured based on the second fringe image includes: establishing a proportional relationship between the second fringe image and the world coordinate system according to a method of calibrating two points to calculate the distance, and obtaining the three-dimensional point cloud data through a spatial restoration operation of the fringe image.
[0026] Optionally, obtaining the three-dimensional point cloud data representing the depth information of the surface of the measured object based on the second fringe image includes: obtaining the three-dimensional point cloud data by calculation based on the first fringe image and the second fringe image based on a binocular parallax method.
[0027] Optionally, the method also includes: constructing a surface contour of the object to be measured based on the three-dimensional point cloud data; collecting a two-dimensional image of the surface of the object to be measured under a natural light environment; and using the two-dimensional image to map the surface contour to obtain a three-dimensional model of the object to be measured.
[0028] The device and method for obtaining the surface depth information of an object of the present invention uses coherent light to illuminate the object to be measured to obtain a first fringe image, and then obtains a second fringe image with a larger fringe width through simulation calculation based on the first fringe image, and obtains three-dimensional point cloud data representing the surface depth information of the object to be measured based on the second fringe image. Compared with the traditional binocular camera measurement method, it not only has the characteristics of a large measurement range and high measurement accuracy, but also only requires one image sensor, which greatly reduces the system cost and practicality.
[0029] In addition, the device for obtaining the depth information of the object surface of the present invention does not require array lasers and sensors, and does not require high-speed performance of the processing circuit. Compared with traditional laser scanning and time-of-flight methods, it has lower costs while ensuring measurement accuracy, and can be widely used in fields such as three-dimensional facial recognition and gesture recognition.
[0030] Furthermore, the device for obtaining the surface depth information of an object of the present invention can reduce the influence of the unevenness of the laser beam and strip the laser speckle in the interference image by stripping the non-interference image without interference fringe information from the interference image with interference fringe information, and then obtain the first fringe image, thereby helping to improve the accuracy and reliability of the system measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0032] Figure 1 A schematic diagram showing the structure of a device for acquiring depth information of an object surface according to a first embodiment of the present invention;
[0033] Figure 2 Show Figure 1 A structural schematic diagram of an image processing system of a device for obtaining depth information of an object surface;
[0034] Figure 3 A schematic flow chart of a method for acquiring depth information of an object surface according to a second embodiment of the present invention is shown. DETAILED DESCRIPTION
[0035] Various embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, the same elements are represented by the same or similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0036] Figure 1 FIG. 2 is a schematic diagram showing a structure of a device for acquiring depth information of an object surface according to a first embodiment of the present invention. Figure 1 As shown, the device 100 for acquiring depth information of the surface of an object includes a light source 110 , an optical module 120 , an image sensor 130 and an image processing system 140 .
[0037] The light source 110 and the optical module 120 constitute a light source emission system for emitting coherent light of the present device. Furthermore, the light source 110 is selected from a semiconductor laser, which is used to emit coherent laser light, and has the advantages of small size and long life. The optical module 120 receives the coherent light emitted by the light source 110 and converts it, and projects the converted light beam to the surface of the object to be measured 101 and the image sensor 130. The image sensor 130 is, for example, a CCD camera or a CMOS camera, which is used for real-time shooting to obtain an image of the surface of the object to be measured 101. The image processing system 140 is used to process the image obtained by the image sensor to obtain three-dimensional point cloud data representing the depth information of the surface of the object to be measured 101.
[0038] In another embodiment, the light source emission system further includes a modulator, which is used to perform high-frequency modulation on the coherent laser emitted by the semiconductor laser and emit the modulated coherent laser to the optical module 120 .
[0039] The principle of the device 100 of the present invention for obtaining the surface depth information of the object to be measured 101 is that after the coherent light emitted by the light source 110 is split, part of the coherent light beam is incident on the surface of the object to be measured 101, and the other part of the coherent light is incident on the image sensor 130 as the reference light. The first reflected light reflected by the surface of the object to be measured 101 and the reference light form an interference image with interference fringe information at the image sensor 130 which is deformed due to the height change of the surface of the object to be measured, and then a first fringe image is obtained based on the interference image, and three-dimensional point cloud data representing the surface depth information of the object to be measured 101 is obtained based on the first fringe image.
[0040] Among them, the step of obtaining the first fringe image according to the interference image is to reduce the influence of the light beam unevenness and remove the laser speckle in the interference image. Further, the step of obtaining the first fringe image according to the interference image includes: after obtaining the interference image, all the coherent light emitted by the light source 110 is incident on the surface of the object to be measured 101, and then the image sensor 130 obtains the second reflected light reflected by the surface of the object to be measured 101, and shoots the non-interference image without interference fringe information, and then filters out the non-interference image in the interference image to extract the interference fringes, so as to obtain the first fringe image after filtering out the interference of ambient light.
[0041] In one embodiment, the transformation process of the coherent light by the optical module 120 can be controlled so that the transformed light is projected onto the surface of the object 101 and the image sensor 130 in the first mode, and the transformed light is projected onto the surface of the object 101 in the second mode.
[0042] Further, the optical module 120 may include a beam expander 121, a beam diverger 122, a parallel plate 123, a parallel plate 124, and a beam diverger 125. The beam expander 121 and the beam diverger 122 are placed perpendicular to the incident direction of the coherent light, and are used to change the beam diameter and divergence angle of the coherent laser. The parallel plate 123 is placed at a first angle to the incident direction of the coherent light, and the parallel plate 124 is placed at a second angle to the incident direction of the coherent light. The parallel plate 123 is used to receive and transform the light beam converted by the beam diverger 122, and is in a semi-transmissive and semi-reflective mode in the first mode, projecting part of the light beam converted by the beam diverger 122 onto the surface of the object to be measured 101, and projecting another part of the light beam onto the parallel plate 124, and then projecting it onto the image sensor 130 after being reflected by the parallel plate 124. The parallel plate 123 is also used to be in a total reflection mode in the second mode, and projecting all the light beams converted by the beam diverger 122 onto the surface of the object to be measured 101. For example, the parallel plate 123 includes an electroluminescent absorption film and an electrode, and selective passage of coherent light is achieved by controlling the on and off of a voltage applied to the parallel plate 123 .
[0043] Furthermore, the principle of the image processing system 140 of the present invention obtaining three-dimensional point cloud data representing the surface depth information of the object to be measured 101 based on the first stripe image is: based on the first stripe image, a second stripe image with a stripe width greater than the stripe width of the first stripe image is calculated, and then the three-dimensional point cloud data is obtained based on the second stripe image.
[0044] The coherent light irradiated to the image plane at different incident angles forms a coherent plane wave with equal phase propagation direction on the image plane. This coherent plane wave is added to the direction vector of the object-image plane wave to form the phase change direction of the interference fringes. Therefore, after the laser light passes through the ups and downs of the surface of the object to be measured, the light intensity information of the interference fringes in the fringe image obtained by the image sensor 130 is a sine wave with a fixed period. Since the optical path of the object image within a specific opening angle range and the irradiation light within a specific opening angle are fixed, the change of the interference fringes is mainly caused by the change of the fringe position caused by the change of the surface depth of the object to be measured. Assuming that Di represents the depth change of the object image at a certain position, P represents the light intensity information of the smaller one of the coherent tube and the coherent part in the imaging beam that can be effectively detected, N represents other light intensity information outside the coherent part (such as the light intensity information in the non-focused stray direction and the imaging light intensity information of the incoherent part), X represents the linear distance in the phase change direction of the interference fringes measured from a certain starting point, α, ω, λ and c represent the incident angle, frequency, wavelength and speed of light of the coherent light respectively, then the light intensity information I of the interference fringes can be obtained as:
[0045]
[0046] The fringe distance on X is expressed as the relationship between the wavelength d of the interference fringe and the depth change Di of the object image:
[0047] Di=λ=d×sinα
[0048] Since the coherent light projected onto the surface of the object to be measured in this embodiment is a plurality of parallel curved arrays with equal spacing, and the fringes are relatively fine, the amount of calculation required to directly obtain the depth information of the object to be measured on the first fringe image is very huge. Therefore, by simulating the incident angle of the coherent light, interference fringes with a larger fringe width are generated. First, the light intensity information I of the interference fringes in the first fringe image is obtained, and then the light intensity information is modulated with a sine function. For example, the obtained light intensity information I is multiplied with a preset sine wave that changes along the phase change direction of the interference fringes to obtain new interference fringes, thereby obtaining a second fringe image with a fringe width greater than the fringe width of the first fringe image. Assuming that the wavelength of the sine wave multiplied with the light intensity information I along the X change direction is (d+δ), the fringe width of the new interference fringes is increased to (1+d / δ) times the wavelength of the sine wave, and then the depth information of the object to be measured is obtained by identifying these amplified fringes.
[0049] Furthermore, the image processing system 140 of this embodiment establishes a proportional relationship between the second fringe image and the world coordinate system according to a method of calibrating two points to obtain a distance, and obtains the three-dimensional point cloud data through a spatial restoration operation of the fringe image.
[0050] In another embodiment, when effective depth information cannot be extracted from the second fringe image, the three-dimensional point cloud data can also be calculated based on the first fringe image and the second fringe image based on the binocular parallax method. Similarly, assuming that the wavelength of the sine wave multiplied by the light intensity information I along the X change direction is (d+δ), the incident angle of the new interference fringe changes by (δ / d) radians compared with the incident angle of the first fringe image, so the binocular parallax method can be used to calculate the change in image height caused by the depth of the object at different viewing angles, and then obtain the three-dimensional point cloud data with the depth information of the surface of the object to be measured.
[0051] Binocular vision measurement is a method based on the theory of similar triangle measurement. It uses a binocular camera to collect two images of the same target object, searches for matching pixels in the left and right images, calculates the difference in matching pixel coordinates, and obtains the third-dimensional distance. It calculates the position difference of matching pixels in the two images and sets this difference within the grayscale range of the image to form an image of the position difference of matching pixels in the two images, which is called a disparity image. After obtaining the disparity image, the three-dimensional coordinates of each pixel in the disparity image are calculated according to the principle of similar triangles of the binocular camera to obtain the three-dimensional point cloud of the target object.
[0052] Furthermore, the image processing system 140 is also used to construct a three-dimensional model of the object 101 to be measured based on the three-dimensional point cloud data. For example, the image processing system 140 turns off the light source 110 in the third mode, and then obtains the three-dimensional model of the object 101 to be measured based on the two-dimensional image and three-dimensional point cloud data acquired by the image sensor 130 in the natural light environment. For example, the image processing system 140 constructs the appearance contour of the object 101 to be measured based on the three-dimensional point cloud data, and then uses the two-dimensional image to map the surface contour to obtain the three-dimensional model of the object to be measured.
[0053] It should be understood that the method of the present invention for realizing three-dimensional reconstruction of the object to be measured based on three-dimensional point cloud data is not limited to the above-mentioned embodiments, and other methods in the art for realizing three-dimensional reconstruction of the object to be measured based on three-dimensional point cloud data are also applicable to the present invention.
[0054] Figure 2 Show Figure 1 A structural schematic diagram of an image processing system of a device for obtaining depth information of an object surface.
[0055] like Figure 2 As shown, the image processing system 140 includes an image extraction module 141, a fringe calculation module 142, a depth information calculation module 143, a light source control module 144 and a three-dimensional reconstruction module.
[0056] The image extraction module 141 is used to obtain a first fringe image according to the interference image P1 obtained by the image sensor 130 in the first mode and the non-interference image P2 obtained by the image sensor 130 in the second mode.
[0057] The fringe calculation module 142 is used to calculate and obtain a second fringe image having a fringe width greater than that of the first fringe image based on the first fringe image. Specifically, the fringe calculation module 142 generates interference fringes with a greater fringe width by simulating the incident angle of coherent light, firstly obtains light intensity information I of the interference fringes in the first fringe image, and then modulates the light intensity information with a sine function, for example, multiplying the obtained light intensity information I with a preset sine wave that changes along the phase change direction of the interference fringes to obtain new interference fringes, thereby obtaining a second fringe image having a fringe width greater than that of the first fringe image.
[0058] The depth information calculation module 143 is used to obtain the three-dimensional point cloud data according to the second fringe image. In one embodiment, the depth information calculation module 143 establishes a proportional relationship between the second fringe image and the world coordinate system according to a method of calibrating two points to find the distance, and obtains the three-dimensional point cloud data through a spatial restoration operation of the fringe image. In another embodiment, the depth information calculation module 143 calculates the three-dimensional point cloud data based on the first fringe image and the second fringe image based on a binocular parallax method.
[0059] The light source control module 144 is used to turn off the light source 110 in the third working state. The three-dimensional reconstruction module 145 is used to obtain a three-dimensional model of the object under test based on the two-dimensional image P3 obtained by the image sensor under natural light environment and the three-dimensional point cloud data. Among them, the two-dimensional image P3 records the third reflected light of the ambient light on the surface of the object under test 101. Further, the three-dimensional reconstruction module 145 constructs the surface contour of the object under test based on the three-dimensional point cloud data, and uses the two-dimensional image P3 to map the surface contour to obtain the three-dimensional model of the object under test.
[0060] Figure 3 FIG. 2 is a flow chart showing a method for obtaining depth information of an object surface according to a second embodiment of the present invention. Figure 3 As shown, the method for obtaining object surface depth information in this embodiment includes steps S310-S350.
[0061] In step S310, the coherent light is projected onto the surface of the object to be measured and the image sensor, and an interference image is obtained on the image sensor. Specifically, after the coherent light emitted by the light source is split, part of the coherent light beam is incident on the surface of the object to be measured, and the other part of the coherent light is incident on the image sensor 130 as a reference light. The first reflected light reflected by the surface of the object to be measured and the reference light form an interference image with interference fringe information at the image sensor, which is deformed due to the height change of the surface of the object to be measured.
[0062] In step S320, the coherent light is projected onto the surface of the object to be measured, and a non-interference image is obtained on the image sensor. Specifically, after the interference image is obtained, all the coherent light emitted by the light source is incident on the surface of the object to be measured, and then the image sensor obtains the second reflected light reflected by the surface of the object to be measured, and captures the non-interference image without interference fringe information.
[0063] In step S330, a first fringe image is obtained according to the interference image and the non-interference image. Specifically, the non-interference image is filtered out from the interference image to extract the interference fringes to obtain the first fringe image, thereby reducing the influence of beam unevenness and removing laser speckles from the interference image.
[0064] In step S340, a second fringe image is calculated based on the first fringe image. Specifically, interference fringes with a larger fringe width can be generated by simulating the incident angle of coherent light, firstly obtaining light intensity information of the interference fringes in the first fringe image, and then modulating the light intensity information with a sine function, for example, multiplying the obtained light intensity information with a preset sine wave that changes along the phase change direction of the interference fringes to obtain new interference fringes, thereby obtaining a second fringe image with a fringe width greater than the fringe width of the first fringe image.
[0065] In step S350, three-dimensional point cloud data is obtained based on the second fringe image, and a three-dimensional model of the object to be measured is constructed based on the three-dimensional point cloud data. Specifically, the proportional relationship between the second fringe image and the world coordinate system can be established according to the method of calibrating two points to find the distance, and the three-dimensional point cloud data can be obtained by performing a spatial restoration operation on the fringe image; or the three-dimensional point cloud data can be calculated based on the binocular parallax method according to the first fringe image and the second fringe image. Then, the surface contour of the object to be measured is constructed based on the three-dimensional point cloud data, and the surface contour is mapped using a two-dimensional image that records the third reflected light of the ambient light on the surface of the object to be measured, so as to obtain the three-dimensional model of the object to be measured.
[0066] It should be understood that the method of step S350 for realizing three-dimensional reconstruction of the object under test based on three-dimensional point cloud data is not limited to the above-mentioned embodiment, and other methods in the art for realizing three-dimensional reconstruction of the object under test based on three-dimensional point cloud data are also applicable to the present invention.
[0067] In summary, the device and method for obtaining the surface depth information of an object of the present invention uses coherent light to illuminate the object to be measured to obtain a first fringe image, and then obtains a second fringe image with a larger fringe width through simulation calculation based on the first fringe image, and obtains three-dimensional point cloud data representing the surface depth information of the object to be measured based on the second fringe image. Compared with the traditional binocular camera measurement method, it not only has the characteristics of a large measurement range and high measurement accuracy, but also only requires one image sensor, which greatly reduces the system cost and practicality.
[0068] In addition, the device for obtaining the depth information of the object surface of the present invention does not require array lasers and sensors, and does not require high-speed performance of the processing circuit. Compared with traditional laser scanning and time-of-flight methods, it has lower costs while ensuring measurement accuracy, and can be widely used in fields such as three-dimensional facial recognition and gesture recognition.
[0069] Furthermore, the device for obtaining the surface depth information of an object of the present invention can reduce the influence of the unevenness of the laser beam and strip the laser speckle in the interference image by stripping the non-interference image without interference fringe information from the interference image with interference fringe information, and then obtain the first fringe image, thereby helping to improve the accuracy and reliability of the system measurement.
[0070] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0071] According to the embodiments of the present invention, as described above, these embodiments do not describe all the details in detail, nor do they limit the invention to specific embodiments. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and the modified use based on the present invention. The scope of protection of the present invention shall be based on the scope defined by the claims of the present invention.
Claims
1. A device for obtaining depth information of an object surface, comprising a light source emission system, an image sensor and an image processing system, The light source emission system is used to project coherent light onto the surface of the object to be measured and the image sensor in a first mode, and to project coherent light onto the surface of the object to be measured in a second mode, respectively. The image sensor is used to collect an interference image of the surface of the object under test in the first mode, and to collect an interference-free image of the surface of the object under test in the second mode. The image processing system obtains a first fringe image based on the difference between the interference image and the non-interference image, obtains light intensity information of the interference fringes in the first fringe image, multiplies the light intensity information with a preset sine wave that changes along the phase change direction of the interference fringes to obtain new interference fringes, thereby obtaining a second fringe image. The fringe width of the second fringe image is inconsistent with that of the first fringe image, so that the image processing system can establish a proportional relationship between the second fringe image and the world coordinate system according to a method of calibrating two points to calculate the distance, and obtains three-dimensional point cloud data representing the surface depth information of the object under test through a spatial restoration operation of the fringe image.
2. The device according to claim 1, in, The image processing system comprises: An image extraction module, used for obtaining the first fringe image based on the interference image and the non-interference image; a fringe calculation module, configured to obtain light intensity information of interference fringes in the first fringe image, and multiply the light intensity information by a preset sine wave that changes along a phase change direction of the interference fringes to obtain new interference fringes, thereby obtaining the second fringe image; and The depth information calculation module is used to establish the proportional relationship between the second fringe image and the world coordinate system according to the method of calibrating two points to obtain the distance, and obtain the three-dimensional point cloud data through the spatial restoration operation of the fringe image.
3. The device according to claim 2, in, The stripe width of the second stripe image is greater than the stripe width of the first stripe image. 4 . The device according to claim 2 , wherein the image extraction module obtains the first fringe image by filtering out the non-interference image from the interference image.
5. The device according to claim 2, wherein the depth information calculation module calculates the three-dimensional point cloud data based on the binocular parallax method according to the first fringe image and the second fringe image.
6. The device according to claim 1, wherein the light source emission system include: A light source, configured to emit the coherent light; as well as The optical module is used to receive the coherent light and transform it, project the transformed light onto the surface of the object to be measured and the image sensor in the first mode, and project the transformed light onto the surface of the object to be measured in the second mode.
7. The device according to claim 6, wherein the optical module include: A beam expander and a beam diffuser placed perpendicular to the incident direction of the coherent light; as well as A parallel plate placed at a certain angle to the incident direction of the coherent light, The parallel plate operates in a semi-transmissive and semi-reflective mode in the first mode, and operates in a total reflection mode in the second mode.
8. The device according to claim 7, wherein the parallel plate comprises an electro-optical absorption film and an electrode, and the selective passage of the coherent light is achieved by controlling the on and off of the voltage applied to the parallel plate.
9. The device according to claim 6, wherein the light source include: Semiconductor lasers for emitting coherent laser light; as well as The modulator is used to perform high frequency modulation on the coherent laser and emit the modulated coherent laser to the optical module.
10. The device according to claim 1, wherein the image processing system further comprises: include: A light source control module, the light source control module is used to turn off the light source in a third mode, so that the image sensor can collect a two-dimensional image of the surface of the object under test in a natural light environment; as well as The three-dimensional reconstruction module is used to associate the three-dimensional point cloud data with the two-dimensional image to obtain a three-dimensional model of the object under test.
11. According to the device of claim 10, the three-dimensional reconstruction module is used to construct the surface contour of the object under test based on the three-dimensional point cloud data, and use the two-dimensional image to map the surface contour to obtain a three-dimensional model of the object under test.
12. A method for obtaining depth information of an object surface, include: Projecting coherent light onto the surface of the object to be measured and the image sensor, and obtaining an interference image on the image sensor; Projecting coherent light onto the surface of the object to be measured to obtain an interference-free image on the image sensor; Obtaining a first fringe image according to a difference between the interference image and the non-interference image; Acquire light intensity information of the interference fringes in the first fringe image, and multiply the light intensity information with a preset sine wave that changes along the phase change direction of the interference fringes to obtain new interference fringes, thereby obtaining a second fringe image, wherein the fringe width of the second fringe image is inconsistent with that of the first fringe image; as well as The proportional relationship between the second fringe image and the world coordinate system is established according to the method of calibrating two points to obtain the distance, and the three-dimensional point cloud data representing the depth information of the surface of the measured object is obtained through the spatial restoration operation of the fringe image.
13. The method according to claim 12, wherein the first fringe image is obtained according to the difference between the interference image and the non-interference image. include: The first fringe image is obtained by filtering out the non-interference image from the interference image.
14. The method according to claim 12, in, The stripe width of the second stripe image is greater than the stripe width of the first stripe image.
15. The method according to claim 12, further comprising: include: The three-dimensional point cloud data is calculated based on the first fringe image and the second fringe image based on a binocular parallax method.
16. The method according to claim 12, further comprising: include: Constructing the surface profile of the measured object based on the three-dimensional point cloud data; Collecting a two-dimensional image of the surface of the object under test in a natural light environment; as well as The two-dimensional image is used to perform mapping processing on the surface contour to obtain a three-dimensional model of the object to be measured.
Citation Information
Patent Citations
Grating-based scanner with phase and pitch adjustment
CN103649678A
Mirror-like surface 3D shape measuring method based on Kinect and fringe reflection
CN106871815A
