CN111174730B - Rapid phase unwrapping method based on phase encoding - Google Patents

Rapid phase unwrapping method based on phase encoding Download PDF

Info

Publication number
CN111174730B
CN111174730B CN202010013707.1A CN202010013707A CN111174730B CN 111174730 B CN111174730 B CN 111174730B CN 202010013707 A CN202010013707 A CN 202010013707A CN 111174730 B CN111174730 B CN 111174730B
Authority
CN
China
Prior art keywords
phase
fringe
obtaining
fringe patterns
patterns
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.)
Active
Application number
CN202010013707.1A
Other languages
Chinese (zh)
Other versions
CN111174730A (en
Inventor
伏燕军
张鹏飞
韩勇华
桂建楠
江光裕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang Hangkong University
Original Assignee
Nanchang Hangkong University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanchang Hangkong University filed Critical Nanchang Hangkong University
Priority to CN202010013707.1A priority Critical patent/CN111174730B/en
Publication of CN111174730A publication Critical patent/CN111174730A/en
Application granted granted Critical
Publication of CN111174730B publication Critical patent/CN111174730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • G01B11/25Measuring 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/254Projection 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 invention discloses a fast phase unwrapping method based on phase encoding, which consists of three key parts, namely a phase shifting method basic principle, a phase encoding method basic principle and a phase unwrapping principle. The method comprises the following specific steps: firstly, generating two sine stripes, two phase coding stripe images and a blank image by using a computer; secondly, generating two additional sine stripe graphs and two phase coding stripe graphs by using a blank graph; solving a wrapping phase by using the four sinusoidal fringe patterns, solving a fringe order by using the four phase coding fringe patterns, and further obtaining an absolute phase of the object; and finally, obtaining the real three-dimensional information of the object by using a phase-height conversion formula. The method can realize the three-dimensional reconstruction of the object by only five images, improves the measurement speed, and has potential application prospect and practical value in the field of rapid measurement.

Description

Rapid phase unwrapping method based on phase encoding
Technical Field
The invention relates to an optical three-dimensional measurement method, belongs to the technical field of photoelectric detection, and particularly relates to a rapid phase unwrapping method based on phase encoding.
Background
With the rapid development of modern industry and information technology, the requirements for the speed and precision of three-dimensional measurement of objects are higher and higher. Among a plurality of methods for acquiring three-dimensional information of an object, an optical three-dimensional measurement technology widely relates to various subjects such as optical imaging, computer technology, photoelectron information, image processing and the like, has the characteristic of integrating the advantages of other measurement methods, and gradually becomes a trend in the field of three-dimensional topography measurement. The optical three-dimensional measurement technology actually reconstructs a surface shape of a three-dimensional object by using a two-dimensional projection image, namely, information is acquired from the two-dimensional projection image, and then the geometric dimension of the object in a three-dimensional space is obtained by processing digital information. Among them, the three-dimensional measurement method based on the grating fringe projection is one of popular measurement methods in the optical three-dimensional measurement method, and has irreplaceable superiority for obtaining three-dimensional surface information, and in recent years, remarkable progress has been made in practical and commercial applications.
Through the current research situation and development trend analysis research at home and abroad, the traditional three-dimensional measurement technology is developed more mature, but is mostly static measurement. In recent years, high-speed, real-time and high-precision three-dimensional measurement is widely applied to the aspects of industrial on-line detection, virtual reality, medical diagnosis, object deformation analysis and the like, and along with the improvement of the performances of acquisition equipment, projection equipment and a high-speed processor, a high-speed, real-time and high-resolution three-dimensional measurement method is gradually becoming an important direction for the development of an optical three-dimensional measurement technology. Therefore, how to solve the absolute phase of the object to be measured by using less projection fringe frame number becomes a breakthrough. In the traditional measuring method, more than or equal to six fringe images are usually needed to realize the measurement of the absolute phase, so that the time consumption is long, and the measuring speed is directly influenced.
Compared with the traditional phase coding method, the rapid phase unwrapping method based on the phase coding has higher measurement precision and speed, and has potential application prospect and practical value in the field of rapid measurement.
Disclosure of Invention
The invention aims to provide a quick phase unwrapping method based on phase encoding, which only needs to project two frames of sinusoidal phase shift fringe patterns, two frames of phase encoding fringe patterns and one frame of blank patterns, has short time consumption, can effectively improve the measuring speed, and has potential application prospect and practical value in the field of quick measurement.
In order to achieve the purpose, the invention adopts the following technical scheme: a fast phase unwrapping method based on phase encoding, the method comprising the steps of:
generating two sinusoidal stripe graphs, two phase coding stripe graphs and a blank graph by using a computer, and shooting five graphs projected to an object to be measured by using a camera;
generating two additional sine stripe graphs and two phase coding stripe graphs by using the blank graph;
obtaining the wrapping phase of the object by using the four sinusoidal fringe patterns, obtaining the fringe order of the object by using the four phase coding fringe patterns, and further obtaining the absolute phase of the object to be measured through calculation;
and step four, obtaining real three-dimensional information of the object to be measured by using a phase-height conversion formula through the obtained absolute phase.
Preferably, the two sinusoidal fringe graphs generated by the computer in the first step are represented by I1(x,y)、I2(x, y), two phase encoded fringe patterns generated are shown as I3(x,y)、I4(x, y) and phase shifts of 0 and pi/2, respectively, and a blank graph represented by I5(x, y), the optical expressions of the five figures are respectively:
Figure BDA0002358073250000021
Figure BDA0002358073250000022
Figure BDA0002358073250000023
Figure BDA0002358073250000024
I5(x,y)=2A(x,y) (5)
where A (x, y) is background light intensity, B (x, y) is modulation intensity, T is fringe period number, I5(x, y) is twice the dc component of the blank.
Preferably, the specific implementation method of the second step is as follows: two additional sinusoidal fringe patterns I generated by equation (6)6(x,y)、I7(x, y) and two phase encoded fringe patterns I8(x,y)、I9(x, y) whose optical expressions are:
Ii(x,y)=I5(x,y)-Ij(x,y);j=1,2,3,4 (6)
Figure BDA0002358073250000031
Figure BDA0002358073250000032
Figure BDA0002358073250000033
Figure BDA0002358073250000034
preferably, the acquisition method of the wrapped phase, the fringe order and the absolute phase in the third step is as follows:
two sine fringe patterns I shot by a camera are solved by using a formula (11)1(x,y)、I2(x, y) and two additionally generated sinusoidal fringe patterns I6(x,y)、I7Wrapped phase contained in (x, y):
Figure BDA0002358073250000035
code phase
Figure BDA0002358073250000036
Expressed by equation (12):
Figure BDA0002358073250000037
where x is the pixel point of the projector in the horizontal direction, p is the fringe spacing or the number of pixels per fringe period, floor [ x ] is the rounding function, and mod (x, y) is the remainder function.
Embedding the code phase into the sinusoidal fringe pattern to obtain a phase code fringe pattern, and obtaining the step phase by using the formula (13):
Figure BDA0002358073250000038
from the step phase, the fringe order k (x, y) is determined using equation (14):
Figure BDA0002358073250000041
where fix x is a function rounded to 0.
After the fringe order is obtained, the final absolute phase is obtained using equation (15):
Figure BDA0002358073250000042
preferably, the specific implementation method of the step four is as follows: and performing phase-height conversion through the obtained absolute phase, and obtaining the real height information of the object to be measured by using a formula (16):
Figure BDA0002358073250000043
wherein f is0The method is characterized in that the method is a method for measuring the sine stripe frequency on a reference plane, delta phi is the absolute phase difference of corresponding points of the surface of an object to be measured and the reference plane, d is the distance between a projector and a camera, and L is the distance between the projector and the camera and the reference plane.
The invention has the advantages that:
(1) compared with the traditional phase encoding method: the traditional phase coding method can reconstruct the three-dimensional appearance of an object by using at least six images, the method can achieve the effect of 8 images in the traditional method by only five images, and the measuring speed is higher than that of the traditional method;
(2) the code word is determined by using the phase instead of the strength, so that the code word is insensitive to the surface contrast, the ambient light and the camera noise and has stronger robustness;
(3) because the projection stripe number is small, the measurement speed is high, and the method has potential application prospect and practical value in the rapid and real-time three-dimensional measurement of the dynamic object.
Drawings
FIG. 1 is a schematic view of a measurement system for three-dimensional measurements according to an embodiment of the present invention;
FIG. 2 is a graph of two sinusoidal fringe patterns, two phase-encoded fringe patterns and a blank pattern generated in the embodiment of the present invention, in which (a) is a sinusoidal fringe pattern I1(x, y), (b) are sine stripe patterns I2(x, y), (c) are blank I5(x, y), (d) are phase-encoded fringe patterns I6(x, y), (e) are phase-encoded fringe patterns I7(x,y);
FIG. 3 is a diagram of a row of wrapping phases and fringe orders of an object under test according to an embodiment of the present invention;
fig. 4 is an absolute phase diagram of an object to be measured according to an embodiment of the present invention.
Detailed Description
It is easily understood that various embodiments of the present invention can be conceived by those skilled in the art according to the technical solution of the present invention without changing the essential spirit of the present invention. Therefore, the following detailed description and the accompanying drawings are merely illustrative of the technical aspects of the present invention, and should not be construed as all of the present invention or as limitations or limitations on the technical aspects of the present invention. The present invention will be described in further detail with reference to the following description of the drawings, which are not intended to limit the present invention, and all similar structures and similar variations using the present invention shall fall within the scope of the present invention.
An optical three-dimensional measurement system based on a phase encoding fast phase unwrapping method is shown in fig. 1 and comprises a DLP projector 1, a CCD camera 2, a computer 3, a measurement support 4, a reference plane 5 and an object to be measured 6. The DLP projector 1 and the CCD camera 2 are placed on a measuring bracket 4; the DLP projector 1 and the CCD camera 2 are respectively connected with the computer 3 through data lines; the object 6 to be measured is placed on the reference plane 5; the computer 3 comprises an image acquisition card, projection software and measurement software. The DLP projector 1 focuses and projects stripes with characteristic information onto the surface of an object to be measured 6, the CCD camera 2 collects the stripe information, the characteristic information is extracted after the processing of the computer 3, and three-dimensional reconstruction is carried out according to a specific algorithm.
The invention relates to a fast phase unwrapping method based on phase encoding, which comprises the following steps:
the method comprises the following steps: two sinusoidal fringe patterns I generated by computer 31(x,y)、I2(x, y), two phase encoded fringe patterns I3(x,y)、I4The (x, y) phase shifts are respectively 0 and pi/2, and a blank diagram I5(x, y), the optical expressions of the five figures are respectively:
Figure BDA0002358073250000051
Figure BDA0002358073250000052
Figure BDA0002358073250000061
Figure BDA0002358073250000062
I5(x,y)=2A(x,y) (5)
where A (x, y) is background light intensity, B (x, y) is modulation intensity, T is fringe period number, I5(x, y) is twice the dc component of the blank.
Step two: two additional sinusoidal fringe patterns I generated by equation (6)6(x,y)、I7(x, y) and two phase encoded fringe patterns I8(x,y)、I9The (x, y) optical expressions are:
Ii(x,y)=I5(x,y)-Ij(x,y);j=1,2,3,4 (6)
Figure BDA0002358073250000063
Figure BDA0002358073250000064
Figure BDA0002358073250000065
Figure BDA0002358073250000066
step three: the acquisition method of wrapped phase, fringe order and absolute phase is as follows:
the wrapping phases contained in the two sinusoidal fringe patterns shot by the CCD camera 2 and the two additionally generated sinusoidal fringe patterns are solved by using the formula (11):
Figure BDA0002358073250000067
code phase
Figure BDA0002358073250000068
Expressed by equation (12):
Figure BDA0002358073250000069
wherein x is a pixel point in the horizontal direction of the DLP projector 1, p is a fringe spacing or a pixel number of each fringe period, floor [ x ] is a rounding function, and mod (x, y) is a remainder function.
Embedding the code phase into the sinusoidal fringe pattern to obtain a phase code fringe pattern, and obtaining the step phase by using the formula (13):
Figure BDA0002358073250000071
from the step phase, the fringe order k (x, y) is determined using equation (14):
Figure BDA0002358073250000072
where fix x is a function rounded to 0.
After the fringe order is obtained, the final absolute phase is obtained by equation (15).
Figure BDA0002358073250000073
Step four: three-dimensional reconstruction, phase-height conversion: obtaining the real height information of the object 6 to be measured by using the formula (16):
Figure BDA0002358073250000074
wherein f is0Is the frequency of the sine stripe on the reference plane 5, and delta phi is the absolute phase difference of the surface of the object to be measured 6 and the corresponding point of the reference plane 5. d is the distance between the DLP projector 1 and the CCD camera 2, and L is the distance between the DLP projector 1 and the CCD camera 2 to the reference plane 5.
Without being limited thereto, any changes or substitutions that are not thought of through the inventive work should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope defined by the claims.

Claims (2)

1. A fast phase unwrapping method based on phase encoding is characterized by comprising the following steps:
step one, two sine stripe graphs generated by a computer are shown as I1(x,y)、I2(x, y), two phase encoded fringe patterns generated are shown as I3(x,y)、I4(x, y) and phase shifts of 0 and pi/2, respectively, and a blank graph represented by I5(x, y), the optical expressions of the five figures are respectively:
Figure FDA0003012037930000011
Figure FDA0003012037930000012
Figure FDA0003012037930000013
Figure FDA0003012037930000014
I5(x,y)=2A(x,y) (5)
where A (x, y) is background light intensity, B (x, y) is modulation intensity, T is fringe period number, I5(x, y) is twice the DC component of the blank,
step two, generating two additional sine stripe images I by using a formula (6)6(x,y)、I7(x, y) and two phase encoded fringe patterns I8(x,y)、I9(x, y) whose optical expressions are:
Ii(x,y)=I5(x,y)-Ij(x,y);j=1,2,3,4 (6)
Figure FDA0003012037930000015
Figure FDA0003012037930000016
Figure FDA0003012037930000017
Figure FDA0003012037930000018
step three, obtaining the wrapping phase of the object to be detected by using four sinusoidal fringe patterns, obtaining the fringe level of the object to be detected by using four phase coding fringe patterns, and further obtaining the absolute phase of the object to be detected by calculating, wherein the method comprises the following steps:
Figure FDA0003012037930000019
expressing the wrapping phase, and solving two sinusoidal fringe patterns I shot by a camera by using a formula (11)1(x,y)、I2(x, y) and two additionally generated sinusoidal fringe patterns I6(x,y)、I7Wrapped phase contained in (x, y):
Figure FDA0003012037930000021
Figure FDA0003012037930000022
expressing the code phase, expressed by equation (12):
Figure FDA0003012037930000023
wherein x is a pixel point in the horizontal direction of the projector, p is a fringe spacing or the number of pixels of each fringe period, floor [ x ] is an integer function, and mod (x, y) is a remainder function;
embedding the code phase into the sine fringe pattern to obtain a phase code fringe pattern, and then obtaining the step phase by using a formula (13):
Figure FDA0003012037930000024
from the step phase, the fringe order k (x, y) is determined using equation (14):
Figure FDA0003012037930000025
where fix [ x ] is a function rounded to 0;
after the fringe order is obtained, the final absolute phase phi (x, y) is obtained by using the formula (15),
Figure FDA0003012037930000026
2. the fast phase unwrapping method based on phase encoding as claimed in claim 1, wherein the phase-height conversion is performed by using the obtained absolute phase, and the true height information of the object to be measured is obtained by using equation (16):
Figure FDA0003012037930000027
wherein f is0The method is characterized in that the method is a method for measuring the sine stripe frequency on a reference plane, delta phi is the absolute phase difference of corresponding points of the surface of an object to be measured and the reference plane, d is the distance between a projector and a camera, and L is the distance between the projector and the camera and the reference plane.
CN202010013707.1A 2020-01-07 2020-01-07 Rapid phase unwrapping method based on phase encoding Active CN111174730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010013707.1A CN111174730B (en) 2020-01-07 2020-01-07 Rapid phase unwrapping method based on phase encoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010013707.1A CN111174730B (en) 2020-01-07 2020-01-07 Rapid phase unwrapping method based on phase encoding

Publications (2)

Publication Number Publication Date
CN111174730A CN111174730A (en) 2020-05-19
CN111174730B true CN111174730B (en) 2021-07-16

Family

ID=70647581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010013707.1A Active CN111174730B (en) 2020-01-07 2020-01-07 Rapid phase unwrapping method based on phase encoding

Country Status (1)

Country Link
CN (1) CN111174730B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112146596B (en) * 2020-08-31 2022-01-28 南昌航空大学 Optimal quantization phase coding three-dimensional measurement method
CN112880589B (en) * 2021-01-18 2022-04-01 南昌航空大学 Optical three-dimensional measurement method based on double-frequency phase coding
CN113048914B (en) * 2021-04-19 2022-04-19 中国科学技术大学 Phase unwrapping method and device
CN114812438B (en) * 2022-04-07 2023-03-14 四川大学 Time multiplexing structured light coding and decoding method
CN115830154B (en) * 2023-02-22 2023-05-02 南京信息工程大学 Unwrapping method based on double-angle phase encoding

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0076866B1 (en) * 1981-10-09 1985-05-02 Ibm Deutschland Gmbh Interpolating light section process
CN101666631B (en) * 2009-09-07 2010-12-29 东南大学 Three-dimensional measuring method based on positive and inverse code color encoding stripes
CN101825443B (en) * 2010-03-09 2012-08-22 深圳大学 Three-dimensional imaging method and system
CN101881605B (en) * 2010-06-02 2011-11-30 南京航空航天大学 Optical three-dimensional measuring method based on phase coding technology
US20110298891A1 (en) * 2010-06-04 2011-12-08 Iowa State University Research Foundation, Inc. Composite phase-shifting algorithm for 3-d shape compression
CN101975558B (en) * 2010-09-03 2012-04-11 东南大学 Rapid three-dimensional measurement method based on color grating projection
CN102155924B (en) * 2010-12-17 2012-07-04 南京航空航天大学 Four-step phase shifting method based on absolute phase recovery
CN102914258A (en) * 2012-09-29 2013-02-06 哈尔滨工程大学 Synchronous phase shifting interference microscopy detection device and detection method based on orthogonal double-grating
CN103398675B (en) * 2013-08-10 2016-06-15 南昌航空大学 A kind of complicated big three-dimensional measurement of objects method based on fringe period correction
US20160094830A1 (en) * 2014-09-26 2016-03-31 Brown University System and Methods for Shape Measurement Using Dual Frequency Fringe Patterns
CN105091750A (en) * 2015-07-30 2015-11-25 河北工业大学 Projector calibration method based on double four-step phase shift
CN105300317B (en) * 2015-10-28 2018-03-23 南昌航空大学 Based on sinusoidal and triangular wave fringe projection method for three-dimensional measurement
CN107044833B (en) * 2017-03-24 2019-03-05 南京理工大学 A kind of ultrafast 3 D measuring method and its system based on improved Fourier transform outline technology
CN107339954B (en) * 2017-05-23 2019-09-13 南昌航空大学 Add the method for three-dimensional measurement of phase code striped based on period asynchronous sine streak
CN108362226B (en) * 2018-03-02 2020-05-01 西北工业大学 Double four-step phase shift method for improving phase measurement precision of image overexposure area
CN108534714B (en) * 2018-03-09 2019-09-24 南昌航空大学 Based on sinusoidal and binary system fringe projection quick three-dimensional measurement method
CN109540039B (en) * 2018-12-28 2019-12-03 四川大学 A kind of three dimension profile measurement method based on the complementary Gray code of circulation
CN110440714B (en) * 2019-09-05 2021-01-08 南昌航空大学 Phase unwrapping method based on multi-frequency and binary stripes

Also Published As

Publication number Publication date
CN111174730A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN111174730B (en) Rapid phase unwrapping method based on phase encoding
CN102322823B (en) Phase grade self-coding-based optical three-dimensional measurement method
CN107036556B (en) Structured light three-dimensional measurement method based on segmented quantization phase coding
CN110174079B (en) Three-dimensional reconstruction method based on four-step phase-shift coding type surface structured light
CN112880589B (en) Optical three-dimensional measurement method based on double-frequency phase coding
CN107339954B (en) Add the method for three-dimensional measurement of phase code striped based on period asynchronous sine streak
CN112146596B (en) Optimal quantization phase coding three-dimensional measurement method
An et al. Temporal phase unwrapping based on unequal phase-shifting code
CN111207694B (en) Three-dimensional measurement method combining double-step phase shift method with phase coding
CN110849290B (en) Three-dimensional measurement method for segmented quantization coding intensity based on morphological operation
CN111207692B (en) Improved segmented step phase coding three-dimensional measurement method
CN113587852A (en) Color fringe projection three-dimensional measurement method based on improved three-step phase shift
An et al. The absolute phase retrieval based on the rotation of phase-shifting sequence
CN112945089A (en) Structured light coding method based on stripe width modulation
CN114152203B (en) Bearing inner and outer diameter dimension measuring method based on phase coding structured light
CN111815697A (en) Dynamic three-dimensional measurement method for thermal deformation
Wu et al. A general phase ambiguity suppression algorithm combining geometric constraints and temporal phase unwrapping
CN110428459A (en) A method of the Phase- un- wrapping based on numerical order coding
CN110440714B (en) Phase unwrapping method based on multi-frequency and binary stripes
CN111023995B (en) Three-dimensional measurement method based on random two-frame phase shift fringe pattern
CN113503832B (en) Absolute phase recovery method based on object transverse dimension assistance
CN113310431B (en) Four-frame rapid three-dimensional measurement method based on phase coding
CN112945088A (en) Structured light coding method based on wrapping phase height
CN113450460A (en) Phase-expansion-free three-dimensional face reconstruction method and system based on face shape space distribution
Ding et al. Recovering the absolute phase maps of three selected spatial-frequency fringes with multi-color channels

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
GR01 Patent grant
GR01 Patent grant