CN110132173A - High-precision three-dimensional structured light reconstruction method based on area modulation phase shift template - Google Patents
High-precision three-dimensional structured light reconstruction method based on area modulation phase shift template Download PDFInfo
- Publication number
- CN110132173A CN110132173A CN201910347144.7A CN201910347144A CN110132173A CN 110132173 A CN110132173 A CN 110132173A CN 201910347144 A CN201910347144 A CN 201910347144A CN 110132173 A CN110132173 A CN 110132173A
- Authority
- CN
- China
- Prior art keywords
- phase
- image
- frequency
- precision
- intensity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000010363 phase shift Effects 0.000 title claims abstract description 19
- 238000012937 correction Methods 0.000 claims description 9
- 238000010276 construction Methods 0.000 claims description 2
- 238000002474 experimental method Methods 0.000 abstract description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
- G01B11/25—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
- G01B11/254—Projection of a pattern, viewing through a pattern, e.g. moiré
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The present invention provides a kind of high-precision three-dimensional structured light reconstruction methods based on area modulation phase shift template, and the present invention is based on defocus triangle two-value template, improved three steps phase shift algorithm, multifrequency heterodyne and two step matching methods.The advantages of using these methods, high accuracy three-dimensional shape measure may be implemented.Experiment shows that this method is more accurate than pervious method, effective.
Description
Technical field
The present invention relates to a kind of high-precision three-dimensional structured light reconstruction methods based on area modulation phase shift template.
Background technique
It is quickly grown in the past few years using the optical non-contact three-dimensional measurement of DLP grenade instrumentation.With other three-dimensionals
Form measuring method is compared, and multifrequency heterodyne phase shift method is one of most widely used technology, has measurement accuracy height, measuring speed
The advantages that fast.However, being difficult to generate ideal sine streak pattern with business projector due to the influence of non-linear gamma.Needle
To the error of non-sine grating, several backoff algorithms are proposed, such as Gamma correction method and error loop up table.All these methods
Sinusoidal template (FSP) is referred to as focused, advances with plate to obtain related coefficient or phase error, this was not only time-consuming but also inaccurate
Really.Recently, a kind of method that defocus binary pattern (DBP) generates sinusoidal grating is proposed, this method is to the non-linear of projector
Gamma is insensitive.However, high-order harmonic wave, such as third harmonic have inherent shadow to sine curve in the case where striped is intensive
It rings.
Summary of the invention
The purpose of the present invention is to provide a kind of high-precision three-dimensional structured light reconstruction sides based on area modulation phase shift template
Method.
To solve the above problems, the present invention provides a kind of high-precision three-dimensional structure light weight based on area modulation phase shift template
Construction method, comprising:
Introducing defocuses triangle binary pattern, and sine streak image is obtained without Gamma correction;
Based on the sine streak image, wrapped up using the improved three step Phase-shifting algorithms comprising mean intensity image
Phase and target mask;
Expansion phase is obtained using multifrequency method;
Corresponding match point is obtained using two step matching process.
Further, in the above-mentioned methods, it introduces and defocuses triangle binary pattern, obtained without Gamma correction
Obtain sine streak, comprising:
It will be applied to triangle binary pattern having a size of 7 pixels, the 2-d gaussian filters device that standard deviation is 1.2 pixels,
Sine streak is obtained without Gamma correction.
Further, in the above-mentioned methods, it is based on the sine streak image, using improved comprising mean intensity image
Three step Phase-shifting algorithms obtain wrapped phase and target mask, comprising:
In order to obtain target mask, mean intensity image is introduced, the intensity of stripe pattern is rewritten are as follows:
I1=I'(x, y)+I " (x, y) sin (φ (x, y))
I2=I'(x, y)+I " (x, y) cos (φ (x, y)) (4)
I3=I'(x, y)
Wherein, I'(x, y) indicate environment light intensity, I " (x, y) indicate modulate intensity, φ (x, y) is wrapped phase;
According to formula (4), φ (x, y) is indicated are as follows:
The range of phase value is [- π, π], and discontinuous, intensity I is eliminated by phase-unwrapping algorithm3For obtaining label three
The object mask for tieing up structure realm, is split the image of intensity, obtains bianry image, as target mask.
Further, in the above-mentioned methods, expansion phase is obtained using multifrequency method, comprising:
The phase that frequency of use is 70 and 64 obtains the phase that frequency is 6;
The phase for the available frequency 5 of phase that frequency of use is 64 and 59;The phase that frequency of use is 6 and 5 can obtain
The continuous phase for being 1 to frequency;
Using the phase of frequency 1, the expansion phase of frequency 64 is obtained.
Further, in the above-mentioned methods, corresponding match point is obtained using two step matching process, comprising:
For the left-hand point in the left image observed, corresponding match point i.e. right-hand point in right image is calculated;
Based on the right-hand point, corresponding three-dimensional point is calculated by calibrating parameters.
Compared with prior art, the present invention is based on defocus triangle two-value template, improved three steps phase shift algorithm, multifrequency heterodyne
With two step matching methods.The advantages of using these methods, high accuracy three-dimensional shape measure may be implemented.Experiment shows this method
It is more accurate than pervious method, effective.
Detailed description of the invention
Fig. 1 is the triangular wave figure of the Pyatyi intensity of one embodiment of the invention;
The flow chart of high-precision three-dimensional structured light reconstruction method based on area modulation phase shift template;
Fig. 2 is the spectrogram of the triangular wave of one embodiment of the invention;
Fig. 3 a is the region triangle two-value Prototype drawing of one embodiment of the invention;
Fig. 3 b is the 2-d gaussian filters device defocusing mode figure of one embodiment of the invention;
Fig. 3 c is the horizontal sectional view of the simulation model of one embodiment of the invention;
Fig. 3 d is the phase error figure compared with FSP method of one embodiment of the invention;
Fig. 4 a is the capture image after the projection of one embodiment of the invention;
Fig. 4 b is the bianry image after the segmentation of one embodiment of the invention;
Fig. 5 is the three frequency heterodyne principle figures of one embodiment of the invention
Fig. 6 is the stereo calibration figure of one embodiment of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
The present invention provides a kind of high-precision three-dimensional structured light reconstruction method based on area modulation phase shift template, comprising:
Step S1, introducing defocus triangle binary pattern, and the sine of high quality is obtained without Gamma correction
Stripe pattern;
Here, defocusing triangle binary striped can produce sine streak.If it is assumed that the image size of projector is M*N (M
It is width and height respectively with N), the mathematical description of triangular wave is:
In above-mentioned equation, T is periodic quantity.Fig. 1 shows triangular wave and sine wave in a cycle, solid line in Fig. 1
Indicate that waveform, dotted line indicate approximate sinusoidal waveform.
It can be found that triangular wave is more like sine wave.Fig. 2 gives the frequency spectrum of triangular wave.It can be seen that from spectrogram
Higher hamonic wave is far from fundamental frequency.If using Gaussian filter on this frequency spectrum, fundamental frequency will be retained, and higher hamonic wave will be pressed down
System.Therefore, sine streak can be obtained by defocusing triangle two-value figure.
Shown in area modulation triangle two-value template such as Fig. 3 (a) used in the present invention.It will be having a size of 7 pixels, standard deviation
It is applied to triangle binary pattern for the 2-d gaussian filters device of 1.2 pixels, shown in defocusing mode such as Fig. 3 (b).One cross section
Intensity and phase error such as Fig. 3 (c), shown in 3 (d).
The result shows that the phase error ratio FSP method of this method is much smaller.It is different from conventional method, it is proposed by the present invention
Method is area modulation.The mode in vertical direction there are five strength grade (0,0.25,0.5,0.75 and 1), therefore with only
There are two the traditional binary modes of strength grade (0 and 1) to compare, and the quality of sine streak can be improved in it.
Step S2 is based on the sine streak image, using the improved three step Phase-shifting algorithms comprising mean intensity image
Obtain wrapped phase and target mask;
Here, many different phase shift algorithms have been developed that, one it is well known that so-called three steps phase shift.
Third width image is replaced with mean intensity image by the present invention.Three traditional step phase shifted images can be described as:
I1=I'(x, y)+I " (x, y) cos (- 2 π/3 φ (x, y))
I2=I'(x, y)+I " (x, y) cos (φ (x, y)) (2)
I3=I'(x, y)+I " (x, y) cos (+2 π/3 φ (x, y))
Wherein, I'(x, y) indicate environment light intensity, I " (x, y) indicate modulate intensity, φ (x, y) is wrapped phase.
According to formula (2), φ (x, y) be may be expressed as:
In order to obtain target mask, mean intensity image is introduced.The intensity of stripe pattern can rewrite are as follows:
I1=I'(x, y)+I " (x, y) sin (φ (x, y))
I2=I'(x, y)+I " (x, y) cos (φ (x, y)) (4)
I3=I'(x, y)
According to formula (4), φ (x, y) be may be expressed as:
The range of phase value is [- π, π], needs to eliminate by phase-unwrapping algorithm discontinuous.Intensity I3It can for obtaining
To mark the object mask of three-dimensional structure realm.The image of intensity is split, bianry image is obtained, as target mask.
Process is as shown in Figure 4.
A diode matrix (0 and 1) is established according to bianry image.If the element value of matrix is 1, need to calculate phase
The point answered, vice versa.
Step S3 obtains expansion phase using multifrequency method;
Here, utilizing the available edge order of heterodyne principle.In the present invention, three frequency heterodynes have been used.Selection closure
Frequency 70,64 and 59.Firstly, the phase that frequency of use is 70 and 64 obtains the phase that frequency is 6.Equally, frequency of use 64
With the phase of the 59 available frequency 5 of phase.Then the continuous phase that the available frequency of phase that frequency of use is 6 and 5 is 1
Position.Finally, obtaining the continuous phase bitmap of upper frequency using the phase of frequency 1.Process is as shown in Figure 5.
Using the phase of frequency 1, the expansion phase of frequency 64 is obtained.
Step S4 obtains corresponding match point using two step matching process.
Here, easily obtaining match point using three-dimensional correction before matching process.Later, by left image (Left
Image), the row of right image (Right image) is parallel with pole outside line, and process is as shown in Figure 6.
Three-dimensional coordinate in order to obtain needs to obtain corresponding picture point from two absolute phase figures.Firstly, passing through thick
With obtaining the range of match point.Second, the exact position of match point is obtained by position interpolation.
For the left-hand point in the left image observed, corresponding can be calculated in right image with equation (6) and (7)
It is right-hand point with point.
It is then based on the right-hand point, calculates corresponding three-dimensional point by calibrating parameters.
In conclusion the present invention is based on defocus triangle two-value template, improved three steps phase shift algorithm, multifrequency heterodyne and two steps
Matching method.The advantages of using these methods, high accuracy three-dimensional shape measure may be implemented.Experiment shows this method than former
Method it is more accurate, effectively.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from spirit of the invention to invention
And range.If in this way, these modifications and changes of the present invention belong to the claims in the present invention and its equivalent technologies range it
Interior, then the invention is also intended to include including these modification and variations.
Claims (5)
1. a kind of high-precision three-dimensional structured light reconstruction method based on area modulation phase shift template characterized by comprising
Introducing defocuses triangle binary pattern, and sine streak image is obtained without Gamma correction;
Based on the sine streak image, wrapped phase is obtained using the improved three step Phase-shifting algorithms comprising mean intensity image
And target mask;
Expansion phase is obtained using multifrequency method;
Corresponding match point is obtained using two step matching process.
2. as described in claim 1 based on the high-precision three-dimensional structured light reconstruction method of area modulation phase shift template, feature
It is, introducing defocuses triangle binary pattern, obtains sine streak without Gamma correction, comprising:
It will be applied to triangle binary pattern having a size of 7 pixels, the 2-d gaussian filters device that standard deviation is 1.2 pixels, not
It carries out obtaining sine streak in the case where Gamma correction.
3. as described in claim 1 based on the high-precision three-dimensional structured light reconstruction method of area modulation phase shift template, feature
It is, is based on the sine streak image, obtains package phase using the improved three step Phase-shifting algorithms comprising mean intensity image
Position and target mask, comprising:
In order to obtain target mask, mean intensity image is introduced, the intensity of stripe pattern is rewritten are as follows:
Wherein, I'(x, y) indicate environment light intensity, I " (x, y) indicate modulate intensity, φ (x, y) is wrapped phase;
According to formula (4), φ (x, y) is indicated are as follows:
The range of phase value is [- π, π], and discontinuous, intensity I is eliminated by phase-unwrapping algorithm3Three-dimensional construction is marked for obtaining
The object mask in region is split the image of intensity, obtains bianry image, as target mask.
4. as described in claim 1 based on the high-precision three-dimensional structured light reconstruction method of area modulation phase shift template, feature
It is, expansion phase is obtained using multifrequency method, comprising:
The phase that frequency of use is 70 and 64 obtains the phase that frequency is 6;
The phase for the available frequency 5 of phase that frequency of use is 64 and 59;The available frequency of phase that frequency of use is 6 and 5
The continuous phase that rate is 1;
Using the phase of frequency 1, the expansion phase of frequency 64 is obtained.
5. as described in claim 1 based on the high-precision three-dimensional structured light reconstruction method of area modulation phase shift template, feature
It is, obtains corresponding match point using two step matching process, comprising:
For the left-hand point in the left image observed, corresponding match point i.e. right-hand point in right image is calculated;
Based on the right-hand point, corresponding three-dimensional point is calculated by calibrating parameters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910347144.7A CN110132173A (en) | 2019-04-28 | 2019-04-28 | High-precision three-dimensional structured light reconstruction method based on area modulation phase shift template |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910347144.7A CN110132173A (en) | 2019-04-28 | 2019-04-28 | High-precision three-dimensional structured light reconstruction method based on area modulation phase shift template |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110132173A true CN110132173A (en) | 2019-08-16 |
Family
ID=67575272
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910347144.7A Pending CN110132173A (en) | 2019-04-28 | 2019-04-28 | High-precision three-dimensional structured light reconstruction method based on area modulation phase shift template |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110132173A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116935181A (en) * | 2023-09-19 | 2023-10-24 | 中国空气动力研究与发展中心低速空气动力研究所 | Three-dimensional measurement method for full binary speckle embedded pulse width modulation mode |
CN117274352A (en) * | 2023-11-17 | 2023-12-22 | 四川川大智胜软件股份有限公司 | Three-dimensional reconstruction system, phase calculation method and three-dimensional reconstruction method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101466998A (en) * | 2005-11-09 | 2009-06-24 | 几何信息学股份有限公司 | Method and apparatus for absolute-coordinate three-dimensional surface imaging |
CN102184542A (en) * | 2011-05-05 | 2011-09-14 | 华侨大学 | Stereo matching method for stereo binocular vision measurement |
CN102721376A (en) * | 2012-06-20 | 2012-10-10 | 北京航空航天大学 | Calibrating method of large-field three-dimensional visual sensor |
CN102798344A (en) * | 2012-08-28 | 2012-11-28 | 西北工业大学 | Generation method of sinusoidal grating based on regional defocusing |
CN104330052A (en) * | 2014-11-21 | 2015-02-04 | 天津工业大学 | Heterodyne three-frequency unequal range phase displacement solution phase method |
-
2019
- 2019-04-28 CN CN201910347144.7A patent/CN110132173A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101466998A (en) * | 2005-11-09 | 2009-06-24 | 几何信息学股份有限公司 | Method and apparatus for absolute-coordinate three-dimensional surface imaging |
CN102184542A (en) * | 2011-05-05 | 2011-09-14 | 华侨大学 | Stereo matching method for stereo binocular vision measurement |
CN102721376A (en) * | 2012-06-20 | 2012-10-10 | 北京航空航天大学 | Calibrating method of large-field three-dimensional visual sensor |
CN102798344A (en) * | 2012-08-28 | 2012-11-28 | 西北工业大学 | Generation method of sinusoidal grating based on regional defocusing |
CN104330052A (en) * | 2014-11-21 | 2015-02-04 | 天津工业大学 | Heterodyne three-frequency unequal range phase displacement solution phase method |
Non-Patent Citations (1)
Title |
---|
叶海加 等: "《双目CCD 结构光三维测量系统中的立体匹配》", 《光学精密工程》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116935181A (en) * | 2023-09-19 | 2023-10-24 | 中国空气动力研究与发展中心低速空气动力研究所 | Three-dimensional measurement method for full binary speckle embedded pulse width modulation mode |
CN116935181B (en) * | 2023-09-19 | 2023-11-28 | 中国空气动力研究与发展中心低速空气动力研究所 | Three-dimensional measurement method for full binary speckle embedded pulse width modulation mode |
CN117274352A (en) * | 2023-11-17 | 2023-12-22 | 四川川大智胜软件股份有限公司 | Three-dimensional reconstruction system, phase calculation method and three-dimensional reconstruction method |
CN117274352B (en) * | 2023-11-17 | 2024-02-06 | 四川川大智胜软件股份有限公司 | Three-dimensional reconstruction system, phase calculation method and three-dimensional reconstruction method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zuo et al. | Optimized pulse width modulation pattern strategy for three-dimensional profilometry with projector defocusing | |
CN107607060B (en) | A kind of phase error compensation method applied in the measurement of grating tripleplane | |
CN103383249B (en) | Gray scale striped projected light strong nonlinearity bearing calibration and method for correcting phase based on the method | |
Lu et al. | Modulation measuring profilometry with cross grating projection and single shot for dynamic 3D shape measurement | |
CN103759673B (en) | De-packaging method time phase based on double frequency three GTG sinusoidal grating fringe projection | |
CN104897083A (en) | Three-dimensional rapid measurement method for raster projection based on defocusing phase-unwrapping of projector | |
CN104697469B (en) | The high dynamic method for three-dimensional measurement of saturation is judged using harmonic amplitude | |
CN106461380A (en) | Method and system of projector lens distortion correction based on adaptive fringes | |
CN101236066B (en) | Projection grating self-correction method | |
CN109141291A (en) | A kind of fast phase unwrapping algorithm | |
CN109523627B (en) | A 3D Reconstruction Method Based on Taylor Exponential Expression Surface Structured Light | |
CN110375673B (en) | Large-depth-of-field binary out-of-focus three-dimensional measurement method based on multi-focus projection system | |
Zhang et al. | Full-field phase error analysis and compensation for nonsinusoidal waveforms in phase shifting profilometry with projector defocusing | |
CN102506760A (en) | Phase compensating method in object surface outline measurement | |
CN103942830A (en) | Method for achieving scene three-dimensional reconstruction by directly using phase with non-linear error | |
CN105157614A (en) | Binary phase shifting pattern based three-dimensional measurement method | |
CN117252913B (en) | Equidistant binary stripe coding projection method and system | |
CN102914276B (en) | Method for constructing sinusoidal grating during three-dimensional optical measurement on basis of three-grayscale spatial pulse width modulation | |
CN103994732A (en) | Three-dimensional measurement method based on fringe projection | |
CN108362226A (en) | Improve double four-stepped switching policies of image overexposure region phase measurement accuracy | |
Hu et al. | Real-time microscopic 3D shape measurement based on optimized pulse-width-modulation binary fringe projection | |
CN110132173A (en) | High-precision three-dimensional structured light reconstruction method based on area modulation phase shift template | |
Wan et al. | Single-shot real-time three dimensional measurement based on hue-height mapping | |
CN113639644A (en) | A simple gamma calculation method for domain mapping for fringe projection profilometry | |
Liu et al. | 3D shape from phase errors by using binary fringe with multi-step phase-shift technique |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190816 |