Three-dimensional point cloud reconstruction method, system and device based on Fourier transform and medium

Through Fourier transform and peak fitting algorithms, efficient reconstruction of three-dimensional point clouds in structured light measurement is achieved, which solves the problem of low measurement efficiency in the existing technology and significantly shortens the data collection time.

CN118623796AInactive Publication Date: 2024-09-10CHENGDU AIRCRAFT INDUSTRY GROUP

Patent Information

Application Number
CN202410636033.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing structured light measurement method has low measurement efficiency, mainly due to the large amount of data collection and processing, which limits its application breadth and speed.

Method used

A three-dimensional point cloud reconstruction method based on Fourier transform is used to project the structured light field onto the surface of the object to be measured, perform two-dimensional Fourier transform and inverse transform, filter out the light intensity fundamental frequency information of stripe contrast, and combine it with peak simulation The combination algorithm realizes the reconstruction of the three-dimensional point cloud on the surface of the object to be measured.

Benefits of technology

Only one image is needed to achieve 3D point cloud reconstruction, which significantly improves measurement efficiency, shortens data collection time by at least three times, and improves the efficiency of structured light illumination measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118623796A
    Figure CN118623796A
Patent Text Reader

Abstract

The invention relates to the technical field of structured light measurement, in particular to a three-dimensional point cloud reconstruction method, system and device based on Fourier transform and a medium. The method comprises the following steps: projecting a structured light field to the surface of an object to be measured to obtain planar light intensity, performing two-dimensional Fourier transform to obtain frequency spectrum information, calling a rectangular window to filter out light intensity fundamental frequency information with stripe contrast from the frequency spectrum information, performing two-dimensional inverse Fourier transform, and obtaining stripe planar contrast distribution; and finally, according to the stripe plane contrast distribution, a peak value fitting algorithm is called to obtain a target position for height mapping, reconstruction of the three-dimensional point cloud on the surface of the to-be-measured object is realized only through one image, and the measurement efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of three-dimensional measurement technology, and in particular to a three-dimensional point cloud reconstruction method based on Fourier transform. Background Art

[0002] High-precision devices are widely used in aerospace, precision machining, metamaterials, quantum communications and other fields. The related high-precision technologies derived from high-precision devices are representatives of cutting-edge technologies in modern industry, and their related levels have become important indicators for measuring the development of national science and technology and industry. Among them, high-precision measurement technology is a prerequisite and quality assurance for the processing of high-precision devices. The measurement of surface morphology plays a vital role in ensuring the characteristics and functions of devices, and has become a research hotspot for scholars at home and abroad.

[0003] At present, the existing high-precision three-dimensional measurement methods mainly include two categories: non-optical methods belonging to contact measurement and optical methods of non-contact measurement. Among them, non-optical methods mainly based on contact measurement mainly include scanning electron microscopes, scanning tunneling microscopes, atomic force microscopes, and step profilers. This type of method has extremely high longitudinal resolution and can reach the sub-nanometer level. However, according to its measurement principle, it either uses a high-energy electron beam to scan the sample, and stimulates the physical information of interest through the interaction between the beam and the surface of the object to achieve the measurement purpose, or uses the deformation caused by the atomic interaction force between the end of the device and the surface of the object for measurement, or uses a mechanical probe to slide along the surface of the object to achieve three-dimensional detection. This type of method has low measurement efficiency, and all require various media to interact with the surface of the object to achieve measurement, which can easily cause damage to the surface of the object or changes in the physical and chemical properties of the surface of the object, so it is limited in many detection scenarios. Compared with non-optical methods based on contact measurement, non-contact optical measurement methods have the advantages of non-destructive, high efficiency, and wide application, and have an irreplaceable position in the field of micro-nano detection.

[0004] Among them, the structured light illumination measurement method has attracted wide attention due to its large field of view, high precision, and high adaptability. The structured light illumination measurement method mainly relies on a high-precision contrast demodulation algorithm to solve the fringe contrast to achieve three-dimensional shape measurement. The current mainstream demodulation algorithm is mainly based on the multi-step phase shift method, which requires the projection and collection of multiple imaging pictures. The large amount of data collection and processing is a key issue that limits the efficiency of structured light illumination measurement. Summary of the invention

[0005] Aiming at the problem of low measurement efficiency of existing structured light measurement methods, the present invention proposes a method, system, device and medium for reconstructing three-dimensional point clouds based on Fourier transform. The method first projects a structured light field onto the surface of an object to be measured to obtain a plane light intensity, then performs a two-dimensional Fourier transform to obtain spectrum information, then calls a rectangular window to filter out the light intensity fundamental frequency information with fringe contrast from the spectrum information, then performs a two-dimensional inverse Fourier transform and takes the modulus to obtain the fringe plane contrast distribution; finally, according to the fringe plane contrast distribution, a peak fitting algorithm is called to obtain a target position for height mapping, and the three-dimensional point cloud of the surface of the object to be measured is reconstructed through only one image, thereby improving the measurement efficiency.

[0006] The specific implementation contents of the present invention are as follows:

[0007] A three-dimensional point cloud reconstruction method based on Fourier transform, firstly, a structured light field is projected onto the surface of an object to be measured to obtain a plane light intensity, secondly, the plane light intensity is subjected to a two-dimensional Fourier transform to obtain spectrum information, then a rectangular window is called to filter out the light intensity fundamental frequency information with fringe contrast from the spectrum information, and then the light intensity fundamental frequency information is subjected to a two-dimensional Fourier inverse transform and modulo to obtain the fringe plane contrast distribution; finally, a peak fitting algorithm is called according to the fringe plane contrast distribution to obtain a target position, and the target position is height-mapped to achieve reconstruction of a three-dimensional point cloud on the surface of the object to be measured.

[0008] In order to better implement the present invention, further, the three-dimensional point cloud reconstruction method based on Fourier transform specifically includes the following steps:

[0009] Step S1: Projecting the structured light field at a set angle and focusing it onto the surface of the object to be measured, and obtaining the plane light intensity distribution according to the mapping relationship between the modulation information of the sinusoidal grating fringes on the surface of the object to be measured and the height information of the object to be measured;

[0010] Step S2: according to the plane light intensity distribution, calling two-dimensional Fourier transform to obtain light intensity spectrum information; the light intensity spectrum information includes light intensity zero frequency information and light intensity fundamental frequency information;

[0011] Step S3: calling a rectangular window to filter the light intensity spectrum information to obtain light intensity fundamental frequency information;

[0012] Step S4: Perform two-dimensional Fourier inverse transform on the light intensity fundamental frequency information and take the modulus to obtain the fringe plane contrast distribution, and extract the contrast value of the pixel point at each scanning position longitudinally to obtain the fringe longitudinal contrast curve;

[0013] Step S5: According to the longitudinal contrast curve of the stripes, the peak location algorithm is called to extract the target position, and the target position is highly mapped to achieve reconstruction of the three-dimensional point cloud of the surface of the object to be measured.

[0014] In order to better implement the present invention, further, the step S1 specifically includes the following steps:

[0015] Step S11: projecting a white light source onto a digital micromirror array (DMD) at a set angle to obtain a structured light field;

[0016] Step S12: Converging the structured light field through a first Tube lens to obtain parallel light, and focusing the parallel light onto the surface of the object to be measured through a beam splitter and a microscope;

[0017] Step S13: encoding the height variation information of the surface of the object to be measured into the modulation information of the sinusoidal grating fringe to obtain the sinusoidal grating fringe light field containing the height variation information;

[0018] Step S14: obtaining a modulated light intensity distribution according to the sinusoidal grating fringe light field containing height variation information;

[0019] Step S15: According to the modulated light intensity distribution, the image is collected through the microscope lens, the beam splitter, the second Tube lens and the CCD detector to obtain and store the image.

[0020] In order to better implement the present invention, further, the specific operation of step S14 is: according to the acquired background light intensity value I0, fringe contrast, projected fringe normalized frequency, and fringe initial phase, the modulated light intensity distribution I(x, y) is obtained.

[0021] In order to better implement the present invention, further, the step S2 specifically includes the following steps:

[0022] Step S21: performing a two-dimensional Fourier transform on the entire plane of the imaging image according to the modulated plane light intensity distribution I(x, y) and the set frequency variable (u, v) to obtain light intensity spectrum information F(u, v);

[0023] Step S22: According to the light intensity spectrum information F(u, v), the light intensity spectrum zero frequency information F0(u, v), the negative light intensity spectrum baseband information F-1(u, v), and the positive light intensity spectrum baseband information F+1(u, v) are obtained by transformation.

[0024] In order to better implement the present invention, further, the specific operation of step S3 is: first, the rectangular window size is set with the fundamental frequency peak as the center and the first-level peak width as the radius, and then the set rectangular window is called to filter the light intensity spectrum information F(u, v) to obtain the positive light intensity spectrum fundamental frequency information F+1(u, v).

[0025] In order to better implement the present invention, further, the step S4 specifically includes the following steps:

[0026] Step S41: performing a two-dimensional Fourier inverse transform on the positive light intensity spectrum fundamental frequency information F+1(u, v) to obtain a fringe plane contrast distribution;

[0027] Step S42: extracting the contrast value of the pixel point (x, y) with the same name at each scanning position vertically, and constructing a contrast function according to the maximum contrast value, the normalized frequency of the projection fringe, and the set scale factor;

[0028] Step S43: Obtaining a stripe longitudinal contrast curve according to the contrast function and the acquired longitudinal position k.

[0029] In order to better implement the present invention, further, step S5 specifically includes the following steps:

[0030] Step S51: calling the peak location algorithm to model the stripe longitudinal contrast curve to obtain a Gaussian function fitting model of the curve;

[0031] Step S52: converting the curve Gaussian function fitting model into the curve quadratic function fitting model;

[0032] Step S53: calling the least square method to determine the final curve model;

[0033] Step S54: extracting the target position according to the final curve model, performing height mapping on the target position, and reconstructing the three-dimensional point cloud of the object to be measured.

[0034] In order to better implement the present invention, further, the angle set in step S1 is to make the white light source and the plane of the digital micromirror array DMD form an angle of 25°.

[0035] In order to better implement the present invention, further, the distance from the digital micromirror array DMD to the first Tube lens is equal to the distance from the CCD detector target surface to the second Tube lens.

[0036] Based on the above-mentioned three-dimensional point cloud reconstruction method based on Fourier transform, in order to better realize the present invention, further, a three-dimensional point cloud reconstruction system based on Fourier transform is proposed, including a structured light field generation unit, a spectrum information acquisition unit, a filtering unit, a contrast unit, and a reconstruction unit;

[0037] The structured light field generating unit is used to project the structured light field onto the surface of the object to be measured to obtain a planar light intensity;

[0038] The spectrum information acquisition unit is used to perform a two-dimensional Fourier transform on the plane light intensity to obtain spectrum information;

[0039] The filtering unit is used to call the rectangular window to filter out the light intensity fundamental frequency information with fringe contrast from the light intensity spectrum information;

[0040] The contrast unit is used to perform a two-dimensional Fourier inverse transform on the light intensity fundamental frequency information and take the modulus to obtain a fringe plane contrast distribution curve;

[0041] The reconstruction unit is used to call the peak fitting algorithm to obtain the target position and perform height mapping to achieve reconstruction of the three-dimensional point cloud of the surface of the object to be measured.

[0042] Based on the above-mentioned three-dimensional point cloud reconstruction method based on Fourier transform, in order to better realize the present invention, further, an electronic device is proposed, including a processor and a memory; a computer program is stored on the memory; when the computer program is executed on the processor, the above-mentioned three-dimensional point cloud reconstruction method based on Fourier transform is implemented.

[0043] Based on the above-mentioned three-dimensional point cloud reconstruction method based on Fourier transform, in order to better realize the present invention, further, a computer-readable storage medium is proposed, on which computer instructions are stored; when the computer instructions are executed on the above-mentioned electronic device, the above-mentioned three-dimensional point cloud reconstruction method based on Fourier transform is implemented.

[0044] The present invention has the following beneficial effects:

[0045] (1) The present invention obtains the light intensity spectrum through Fourier transform, and only needs one image to solve the fringe contrast, thereby improving the efficiency of the structured light illumination measurement method.

[0046] (2) The contrast demodulation algorithm of the present invention is mainly based on a multi-step phase shift algorithm, which requires at least three images to be collected for demodulation. The present invention only needs to collect one image for demodulation, and the data acquisition time is shortened by at least three times. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A schematic flowchart of the process of the three-dimensional point cloud reconstruction method based on Fourier transform provided by the present invention.

[0048] Figure 2 This is a schematic diagram of the planar light intensity distribution provided by the present invention.

[0049] Figure 3 This is a schematic diagram of contrast distribution provided by the present invention.

[0050] Figure 4 This is a schematic diagram of a contrast curve provided by the present invention.

[0051] Figure 5 This is a schematic diagram of peak location provided by the present invention.

[0052] Figure 6 This is a schematic diagram of the three-dimensional point cloud reconstruction structure provided by the present invention.

[0053] Figure 7 This is a schematic diagram of the structure of the structured light illumination measurement system provided by the present invention.

[0054] Among them, 1. digital micromirror array DMD, 2. first tube lens, 3. object to be measured, 4. microscope lens, 5. spectroscope, 6. second tube lens, 7. CCD detector, 8. white light source, 9. piezoelectric ceramic high-precision displacement stage. DETAILED DESCRIPTION

[0055] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be understood that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, and therefore should not be regarded as limiting the scope of protection. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical personnel in this field without making creative work are within the scope of protection of the present invention.

[0056] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "disposed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0057] Embodiment 1:

[0058] This embodiment proposes a 3D point cloud reconstruction method based on Fourier transform, such as Figure 1 As shown, first, the structured light field is projected onto the surface of the object to be measured to obtain the plane light intensity, and then the plane light intensity is subjected to a two-dimensional Fourier transform to obtain the spectrum information, and then a rectangular window is called to filter out the light intensity fundamental frequency information with fringe contrast from the spectrum information, and then the light intensity fundamental frequency information is subjected to a two-dimensional Fourier inverse transform and modulo to obtain the fringe plane contrast distribution; finally, the peak fitting algorithm is called according to the fringe plane contrast distribution to obtain the target position, and the target position is height mapped to realize the reconstruction of the surface three-dimensional point cloud of the object to be measured 3. The three-dimensional point cloud reconstruction method based on Fourier transform specifically includes the following steps:

[0059] Step S1: Project the structured light field at a set angle and focus it onto the surface of the object to be measured, and obtain the planar light intensity distribution according to the mapping relationship between the modulation information of the sinusoidal grating fringes on the surface of the object to be measured and the height information of the object to be measured 3.

[0060] Furthermore, the angle set in step S1 is such that the white light source 8 and the plane of the digital micromirror array DMD1 form an angle of 25°.

[0061] Furthermore, the step S1 specifically includes the following steps:

[0062] Step S11: projecting the white light source 8 onto the digital micromirror array DMD1 at a set angle to obtain a structured light field;

[0063] Step S12: Converging the structured light field through the first Tube lens 2 to obtain parallel light, and focusing the parallel light onto the surface of the object to be measured 3 through the beam splitter 5 and the microscope;

[0064] Step S13: encoding the surface height variation information of the object to be measured 3 into the sinusoidal grating fringe modulation information to obtain a sinusoidal grating fringe light field containing the height variation information;

[0065] Step S14: obtaining a modulated light intensity distribution according to the sinusoidal grating fringe light field containing height variation information;

[0066] The specific operation of step S14 is: according to the acquired background light intensity value I0, fringe contrast, normalized frequency of projected fringe, and initial phase of fringe, the modulated light intensity distribution I(x, y) is obtained.

[0067] Step S15: According to the modulated light intensity distribution, the microscope lens 4, the beam splitter 5, the second Tube lens 6 and the CCD detector 7 are used to collect images, obtain images and store them.

[0068] Furthermore, the distance from the digital micromirror array DMD1 to the first Tube lens 2 is equal to the distance from the target surface of the CCD detector 7 to the second Tube lens 6 .

[0069] Step S2: according to the planar light intensity distribution, two-dimensional Fourier transform is called to obtain light intensity spectrum information; the light intensity spectrum information includes light intensity zero frequency information and light intensity fundamental frequency information.

[0070] Furthermore, the step S2 specifically includes the following steps:

[0071] Step S21: performing a two-dimensional Fourier transform on the entire plane of the imaging image according to the modulated plane light intensity distribution I(x, y) and the set frequency variable (u, v) to obtain light intensity spectrum information F(u, v);

[0072] Step S22: According to the light intensity spectrum information F(u, v), the light intensity spectrum zero frequency information F0(u, v), the negative light intensity spectrum baseband information F-1(u, v), and the positive light intensity spectrum baseband information F+1(u, v) are obtained by transformation.

[0073] Step S3: calling a rectangular window to filter the light intensity spectrum information to obtain light intensity fundamental frequency information.

[0074] Furthermore, the specific operation of step S3 is: firstly, the rectangular window size is set with the fundamental frequency peak as the center and the primary peak width as the radius, and then the set rectangular window is called to filter the light intensity spectrum information F(u, v) to obtain the positive light intensity spectrum fundamental frequency information F+1(u, v).

[0075] Step S4: Perform a two-dimensional Fourier inverse transform on the light intensity fundamental frequency information and take the modulus to obtain the fringe plane contrast distribution, and extract the contrast value of the pixel point at each scanning position longitudinally to obtain the fringe longitudinal contrast curve.

[0076] Furthermore, the step S4 specifically includes the following steps:

[0077] Step S41: performing a two-dimensional Fourier inverse transform on the positive light intensity spectrum fundamental frequency information F+1(u, v) to obtain a fringe plane contrast distribution;

[0078] Step S42: extracting the contrast value of the pixel point (x, y) with the same name at each scanning position vertically, and constructing a contrast function according to the maximum contrast value, the normalized frequency of the projection fringe, and the set scale factor;

[0079] Step S43: Obtaining a stripe longitudinal contrast curve according to the contrast function and the acquired longitudinal position k.

[0080] Step S5: According to the longitudinal contrast curve of the stripes, the peak location algorithm is called to extract the target position, and the target position is highly mapped to achieve reconstruction of the surface three-dimensional point cloud of the object 3 to be measured.

[0081] Furthermore, step S5 specifically includes the following steps:

[0082] Step S51: calling the peak location algorithm to model the stripe longitudinal contrast curve to obtain a Gaussian function fitting model of the curve;

[0083] Step S52: converting the curve Gaussian function fitting model into the curve quadratic function fitting model;

[0084] Step S53: calling the least square method to determine the final curve model;

[0085] Step S54: extracting the target position according to the final curve model, performing height mapping on the target position, and reconstructing the three-dimensional point cloud of the surface of the object 3 to be measured.

[0086] Working principle: In this embodiment, the method first projects the structured light field onto the surface of the object 3 to be measured to obtain the plane light intensity, then performs a two-dimensional Fourier transform to obtain the spectrum information, then calls a rectangular window to filter out the light intensity fundamental frequency information with fringe contrast from the spectrum information, and then performs a two-dimensional Fourier inverse transform and takes the modulus to obtain the fringe plane contrast distribution; finally, according to the fringe plane contrast distribution, the peak fitting algorithm is called to obtain the target position for height mapping, thereby realizing the reconstruction of the three-dimensional point cloud of the surface of the object 3 to be measured, and improving the measurement efficiency.

[0087] Embodiment 2:

[0088] This embodiment is based on the above embodiment 1. Figure 1 , Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 , Figure 7 As shown, the reconstruction process is described in detail with a specific embodiment.

[0089] Step S1: First, the digital micromirror array DMD1 is controlled to generate a sinusoidal grating fringe pattern. A white light source 8 is used to illuminate the digital micromirror array DMD1 at a specific angle, that is, the light is at an angle of 25° to the DMD plane, so as to generate the structured light field required for measurement. The light field is converged into parallel light through the first Tube lens 2 and then focused on the surface of the object 3 to be measured through the beam splitter 5 and the microscope lens 4. Due to the change in the surface height of the object 3 to be measured, the sinusoidal grating fringes projected on the surface of the object 3 to be measured are modulated, and its height information is encoded in the fringe modulation information. The sinusoidal grating fringe light field carrying the object height information passes through the microscope lens 4, the beam splitter 5 and the second Tube lens 6 again, and is finally collected by the CCD detector 7 and stored in the computer at the same time. It is worth noting that in the measurement system, it is necessary to ensure that the distance from the digital micromirror array DMD1 to the first Tube lens 2 is equal to the distance from the target surface of the CCD detector 7 to the second Tube lens 6, so that the sinusoidal grating fringes and the surface structure of the object are synchronously clear and blurred in the imaging. Under this premise, the mapping relationship between the fringe modulation information and the object height information can be established. The object to be measured 3 is arranged on a piezoelectric ceramic high-precision displacement stage 9 .

[0090] During the measurement process, when the piezoelectric ceramic high-precision translation stage moves to a certain longitudinal scanning position, the light field distribution of the sinusoidal grating stripes projected onto the surface of the object after being modulated by the surface of the object can be expressed as:

[0091]

[0092] Among them, I(x,y) is the light intensity distribution, (x,y) is the image pixel coordinates, I0 is the background light intensity value, C(x,y) is the fringe contrast, f0 is the normalized frequency of the projected fringe, is the initial phase of the fringe. Figure 1 The figure shows the XY plane light intensity distribution diagram of the collected image, which serves as the initial signal for subsequent Fourier transform.

[0093] Step S2: After obtaining the plane light intensity distribution, Fourier transform is performed on the entire plane. The plane Fourier transform is a two-dimensional transform. The two-dimensional Fourier transform formula is as follows:

[0094]

[0095] Among them, F(u,v) is the transformation result, (u,v) is the frequency variable, and I(x,y) is the light intensity distribution obtained by equation (1). By rearranging equation (2), we can get:

[0096] F(u,v)=F -1 (u,v)+F0(u,v)+F +1 (u,v) (3)

[0097] Among them, F0(u,v) represents the zero-frequency information of the light intensity spectrum, that is, the spectrum information of I0 in formula (1), F -1 (u,v) and F +1 (u, v) represents the fundamental frequency information of the light intensity spectrum, that is, the spectrum information of C(x, y) in formula (1). According to the Fourier transform property, F -1 (u,v) and F +1 (u,v) is symmetrical, and the original information of the signals represented by the two is consistent, and both contain fringe contrast information, such as Figure 3 As shown in the figure, it is a schematic diagram of the light intensity spectrum and filtering. After Fourier transforming the entire plane light intensity, the base frequency and zero frequency information are obtained.

[0098] Step S3: Call the rectangular window to filter out the baseband information F +1 (u,v) is reserved. When filtering, the rectangular window size should be reasonably selected, that is, the rectangular window size is set with the fundamental frequency peak as the center and the first-level peak width as the radius to avoid spectrum overlap and spectrum leakage. Figure 3 shown.

[0099] Step S4: For the filtered baseband information F +1 (u,v) is subjected to inverse Fourier transform and modulo to obtain the fringe plane contrast distribution. The two-dimensional inverse Fourier transform formula is as follows:

[0100]

[0101] Further vertically extract the contrast value of the pixel point (x, y) with the same name at each scanning position, and the contrast curve is as follows Figure 4 The figure shows that the light intensity envelope curve is obtained by filtering out the fundamental frequency information containing the fringe contrast information through a rectangular window and performing an inverse Fourier transform.

[0102] The contrast function can be expressed as:

[0103]

[0104] Among them, C represents the vertical contrast distribution of the pixel point, k represents the vertical position, and C max represents the maximum contrast, f0 is the normalized frequency of the projected fringe, σ H The representative point spread function is proportional to the defocus amount and is a fixed proportional factor of the optical measurement system.

[0105] Step S5: After obtaining the stripe longitudinal contrast curve, a peak location algorithm is further used to obtain the accurate focus position of the pixel point. Figure 5 The figure shows a schematic diagram of peak positioning. In order to obtain the target position, the peak of the light intensity envelope curve needs to be positioned to achieve height mapping.

[0106] This embodiment is suitable for Gaussian curve fitting algorithm to achieve the target position k max Extraction, followed by height mapping to achieve surface 3D point cloud reconstruction of the object to be measured 3. In particular, in this embodiment, in order to reduce the amount of calculation, the Gaussian fitting is converted into a quadratic fitting process, and simulations show that the quadratic fitting can improve the fitting efficiency by 80% while reducing the accuracy by 20%.

[0107] like Figure 6 The figure shows the simulation results of the 3D point cloud reconstruction method. The Gaussian function fitting method uses the Gaussian function mathematical model to model the modulation curve. The Gaussian function mathematical equation can be expressed as:

[0108]

[0109] Among them, Y max represents the maximum value of the function, and its physical meaning is the peak height of the Gaussian function, u represents the horizontal axis position of the peak height, and δ is the variance of the Gaussian function, which represents the half-width of the Gaussian function. In this method, in order to reduce the amount of data processing and thus improve the measurement efficiency, the above formula is logarithmically processed to convert the Gaussian function fitting into a quadratic function fitting, which can be expressed as:

[0110]

[0111] Among them, Y'=lnY, Substituting actual data into equation (5) and using the least square method, the exact form of the Gaussian function can be determined. In the actual calculation of this embodiment, the contrast value C(k) obtained by equation (5) is substituted for Y to perform calculations in equations (6) and (7).

[0112] Working principle: In this embodiment, only one sinusoidal grating fringe pattern needs to be projected at each scanning position, and the CCD detector 7 is used for imaging. The imaging picture is globally Fourier transformed to obtain the light intensity spectrum, which contains two parts of information: zero frequency and base frequency, in which the modulation information is encoded in the base frequency information. Subsequently, the base frequency information containing the modulation information is filtered out by a rectangular window filter and modulo is taken to obtain the XY plane distribution of the modulation in the picture. The longitudinal modulation response curve of each pixel point is further extracted and combined with the peak search algorithm to perform height mapping, thereby realizing the reconstruction of the three-dimensional point cloud of the area to be measured, which has the advantages of large field of view and high efficiency.

[0113] The non-contact optical measurement method is used, which has the characteristics of non-destructiveness, large field of view and high adaptability compared to the contact measurement method. The current contrast demodulation algorithm of this embodiment is mainly based on the multi-step phase shift algorithm, which requires at least 3 images to be collected for demodulation. The present method only needs to collect one image for demodulation, and the data acquisition time is shortened by at least 3 times.

[0114] The other parts of this embodiment are the same as those of the above-mentioned embodiment 1, and thus will not be described in detail.

[0115] Embodiment 3:

[0116] Based on any one of the above-mentioned embodiments 1 to 2, this embodiment proposes a three-dimensional point cloud reconstruction system based on Fourier transform, including a structured light field generation unit, a spectrum information acquisition unit, a filtering unit, a contrast unit, and a reconstruction unit;

[0117] The structured light field generating unit is used to project the structured light field onto the surface of the object to be measured 3 to obtain a planar light intensity;

[0118] The spectrum information acquisition unit is used to perform a two-dimensional Fourier transform on the plane light intensity to obtain spectrum information;

[0119] The filtering unit is used to call the rectangular window to filter out the light intensity fundamental frequency information with fringe contrast from the light intensity spectrum information;

[0120] The contrast unit is used to perform a two-dimensional Fourier inverse transform on the light intensity fundamental frequency information and take the modulus to obtain a fringe plane contrast distribution curve;

[0121] The reconstruction unit is used to call the peak fitting algorithm to obtain the target position and perform height mapping to achieve reconstruction of the surface three-dimensional point cloud of the object 3 to be measured.

[0122] This embodiment also proposes an electronic device, including a processor and a memory; a computer program is stored in the memory; when the computer program is executed on the processor, the above-mentioned three-dimensional point cloud reconstruction method based on Fourier transform is implemented.

[0123] This embodiment further proposes a computer-readable storage medium, on which computer instructions are stored; when the computer instructions are executed on the above-mentioned electronic device, the above-mentioned three-dimensional point cloud reconstruction method based on Fourier transform is implemented.

[0124] The other parts of this embodiment are the same as any one of the above-mentioned embodiments 1-2, so they will not be repeated here.

[0125] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the protection scope of the present invention.

Claims

1. A three-dimensional point cloud reconstruction method based on Fourier transform, characterized in that: First, a structured light field is projected onto the surface of the object to be measured (3) to obtain a plane light intensity. Secondly, the plane light intensity is subjected to a two-dimensional Fourier transform to obtain light intensity spectrum information. Then, a rectangular window is called to filter out light intensity fundamental frequency information with fringe contrast from the light intensity spectrum information. Then, the light intensity fundamental frequency information is subjected to a two-dimensional Fourier inverse transform and modulo, to obtain a fringe plane contrast distribution. Finally, a peak fitting algorithm is called according to the fringe plane contrast distribution to obtain a target position, and the target position is height-mapped to achieve reconstruction of a three-dimensional point cloud of the surface of the object to be measured (3).

2. The method for reconstructing three-dimensional point cloud based on Fourier transform according to claim 1, characterized in that: The three-dimensional point cloud reconstruction method based on Fourier transform specifically comprises the following steps: Step S1: projecting and focusing the structured light field onto the surface of the object to be measured (3) at a set angle, and obtaining a planar light intensity distribution according to a mapping relationship between modulation information of the sinusoidal grating fringes on the surface of the object to be measured (3) and height information of the object to be measured (3); Step S2: according to the plane light intensity distribution, calling two-dimensional Fourier transform to obtain light intensity spectrum information; the light intensity spectrum information includes light intensity zero frequency information and light intensity fundamental frequency information; Step S3: calling a rectangular window to filter the light intensity spectrum information to obtain light intensity fundamental frequency information; Step S4: Perform two-dimensional Fourier inverse transform on the light intensity fundamental frequency information and take the modulus to obtain the fringe plane contrast distribution, and extract the contrast value of the pixel point at each scanning position longitudinally to obtain the fringe longitudinal contrast curve; Step S5: Based on the longitudinal contrast curve of the stripes, the peak location algorithm is called to extract the target position, and the target position is height-mapped to achieve reconstruction of the surface three-dimensional point cloud of the object to be measured (3).

3. The method for reconstructing three-dimensional point cloud based on Fourier transform according to claim 2, characterized in that: The step S1 specifically includes the following steps: Step S11: projecting a white light source (8) onto a digital micromirror array DMD (1) at a set angle to obtain a structured light field; Step S12: Converging the structured light field through the first Tube lens (2) to obtain parallel light, and focusing the parallel light onto the surface of the object to be measured (3) through a beam splitter (5) and a microscope; Step S13: encoding the surface height variation information of the object to be measured (3) into the sinusoidal grating fringe modulation information to obtain a sinusoidal grating fringe light field containing the height variation information; Step S14: obtaining a modulated light intensity distribution according to the sinusoidal grating fringe light field containing height variation information; Step S15: Based on the modulated light intensity distribution, images are collected through the microscope lens (4), the beam splitter (5), the second Tube lens (6) and the CCD detector (7) to obtain and store the image.

4. The method for reconstructing three-dimensional point cloud based on Fourier transform according to claim 3, characterized in that: The specific operation of step S14 is: according to the acquired background light intensity value I0, fringe contrast, normalized frequency of projected fringe, and initial phase of fringe, the modulated light intensity distribution I(x, y) is obtained.

5. The method for reconstructing three-dimensional point cloud based on Fourier transform according to claim 4, characterized in that: The step S2 specifically includes the following steps: Step S21: performing a two-dimensional Fourier transform on the entire plane of the imaging image according to the modulated plane light intensity distribution I(x, y) and the set frequency variable (u, v) to obtain light intensity spectrum information F(u, v); Step S22: According to the light intensity spectrum information F(u, v), the light intensity spectrum zero frequency information F0(u, v) and the negative light intensity spectrum base frequency information F -1 (u, v), positive light intensity spectrum fundamental frequency information F +1 (u, v).

6. The method for reconstructing three-dimensional point cloud based on Fourier transform according to claim 5, characterized in that: The specific operation of step S3 is: firstly, the rectangular window size is set with the fundamental frequency peak as the center and the primary peak width as the radius, and then the set rectangular window is called to filter the light intensity spectrum information F(u, v) to obtain the positive light intensity spectrum fundamental frequency information F +1 (u, v).

7. The method for reconstructing three-dimensional point cloud based on Fourier transform according to claim 6, characterized in that: The step S4 specifically comprises the following steps: Step S41: The positive light intensity spectrum fundamental frequency information F +1 (u, v) is subjected to two-dimensional inverse Fourier transform to obtain the fringe plane contrast distribution; Step S42: extracting the contrast value of the pixel point (x, y) with the same name at each scanning position vertically, and constructing a contrast function according to the maximum contrast value, the normalized frequency of the projection fringe, and the set scale factor; Step S43: Obtaining a stripe longitudinal contrast curve according to the contrast function and the acquired longitudinal position k.

8. The method for reconstructing three-dimensional point cloud based on Fourier transform according to claim 7, characterized in that: Step S5 specifically includes the following steps: Step S51: calling the peak location algorithm to model the stripe longitudinal contrast curve to obtain a Gaussian function fitting model of the curve; Step S52: converting the curve Gaussian function fitting model into the curve quadratic function fitting model; Step S53: calling the least square method to determine the final curve model; Step S54: extracting the target position according to the final curve model, and performing height mapping on the target position to achieve reconstruction of the surface three-dimensional point cloud of the object to be measured (3).

9. The method for reconstructing three-dimensional point cloud based on Fourier transform according to claim 2, characterized in that: The angle set in step S1 is such that the white light source (8) and the plane of the digital micromirror array DMD (1) form an angle of 25°.

10. A 3D point cloud reconstruction method based on Fourier transform according to any one of claims 3 to 9, characterized in that: The distance from the digital micromirror array DMD (1) to the first Tube lens (2) is equal to the distance from the target surface of the CCD detector (7) to the second Tube lens (6).

11. A three-dimensional point cloud reconstruction system based on Fourier transform, characterized in that: It includes a structured light field generating unit, a spectrum information acquiring unit, a filtering unit, a contrast unit, and a reconstruction unit; The structured light field generating unit is used to project the structured light field onto the surface of the object to be measured (3) to obtain a planar light intensity; The spectrum information acquisition unit is used to perform a two-dimensional Fourier transform on the plane light intensity to obtain spectrum information; The filtering unit is used to call a rectangular window to filter out the light intensity fundamental frequency information with fringe contrast from the light intensity spectrum information; the contrast unit is used to perform a two-dimensional Fourier inverse transform on the light intensity fundamental frequency information and take the modulus to obtain a fringe plane contrast distribution curve; The reconstruction unit is used to call a peak fitting algorithm to obtain a target position and perform height mapping to achieve reconstruction of a three-dimensional point cloud on the surface of the object to be measured (3).

12. An electronic device, characterized in that: It comprises a processor and a memory; a computer program is stored in the memory; when the computer program is executed on the processor, the three-dimensional point cloud reconstruction method based on Fourier transform as described in any one of claims 1 to 10 is implemented.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions; when the computer instructions are executed on the electronic device as described in claim 12, the three-dimensional point cloud reconstruction method based on Fourier transform as described in any one of claims 1-10 is implemented.

Citation Information

Patent Citations

  • Method for realizing rapid modulation degree profilometry by use of two orthogonal sinusoidal gratings

    CN102519393A

  • Data processing apparatus and method for dynamic Fourier transform profilometry

    CN104990514A

  • Method for searching zero-order fringes of wide spectral interference based on modulation degree

    CN106556340A

  • White light interference three-dimensional reconstruction method applicable to surface topography detection

    CN108759709A

  • High-speed detection method for three-dimensional topography of micro-nano structure based on structured light

    CN109341574A

Cited By

  • Optical critical dimension measurement method and device, storage medium and equipment

    CN118964806A

  • Object size measurement method and related device, security inspection machine and storage medium

    CN120063172A

  • Unmarked three-dimensional coherent light field displacement calculation method

    CN120196845A

  • Smart mobile terminal

    TWI928491B