CN116989699B - A high dynamic range fringe projection 3D measurement method based on fringe restoration - Google Patents
A high dynamic range fringe projection 3D measurement method based on fringe restorationInfo
- Publication number
- CN116989699B CN116989699B CN202310957009.0A CN202310957009A CN116989699B CN 116989699 B CN116989699 B CN 116989699B CN 202310957009 A CN202310957009 A CN 202310957009A CN 116989699 B CN116989699 B CN 116989699B
- Authority
- CN
- China
- Prior art keywords
- reliable
- area
- fringe
- csi
- bsi
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/20—Image enhancement or restoration using local operators
- G06T5/30—Erosion or dilatation, e.g. thinning
-
- 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
-
- 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é
-
- 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/2545—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 with one projection direction and several detection directions, e.g. stereo
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Data Mining & Analysis (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Operations Research (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Algebra (AREA)
- Image Analysis (AREA)
Abstract
The invention provides a high dynamic range stripe projection three-dimensional measurement method based on stripe restoration, which comprises the following steps of projecting a multi-step gray level sine stripe graph to a high reflection surface, dividing a shot image into a reliable region, a shallow saturation region and a deep saturation region, calculating A, B curved surfaces of the reliable region by using an Euler formula method, finding unsaturated lower intersection points between adjacent stripes to expand F lower curved surfaces, supplementing shallow and deep saturation regions of the three surfaces by using a CSI-BSI interpolation method, calculating accurate A of each position according to the relation between the shallow and deep saturation regions, and restoring the saturated stripes to further calculate phases. The high dynamic range stripe projection three-dimensional measurement method based on stripe repair, provided by the invention, can be used for effectively repairing saturated stripes, improving the dynamic range of a system, increasing the information utilization rate of each image by using the stripe repair method, reducing the number of patterns to be projected for high dynamic range measurement, and effectively improving the measurement speed.
Description
Technical Field
The invention relates to the field of structured light three-dimensional measurement, in particular to a high dynamic range stripe projection three-dimensional measurement method based on stripe repair.
Background
With the development of science and technology, three-dimensional information of objects is more and more paid attention to, and stripe projection three-dimensional measurement technology is widely applied to multiple fields of industrial modeling, cultural relic protection, biomedicine, intelligent driving and the like.
With the wider and wider application of structured light three-dimensional measurement, the characteristics of the measured object are more complex, the object to be measured is not limited to a white or light object, and sometimes the object with larger change of the reflectivity of the object surface is required to be measured.
Because the dynamic range of the camera is limited, the shot fringe pattern can be saturated, and if the direct calculation phase is deviated from the ideal phase after the fringe is saturated, the three-dimensional measurement is inaccurate.
Therefore, it is necessary to provide a high dynamic range fringe projection three-dimensional measurement method based on fringe restoration to solve the above technical problems.
Disclosure of Invention
The invention provides a high dynamic range stripe projection three-dimensional measurement method based on stripe restoration, which solves the problem that the existing camera has limited dynamic range, a shot stripe image is saturated, and if a direct calculated phase is deviated from an ideal phase after the stripe is saturated, the three-dimensional measurement is inaccurate.
In order to solve the technical problems, the high dynamic range stripe projection three-dimensional measurement method based on stripe repair provided by the invention comprises the following steps:
s1, projecting a multi-step gray sine fringe pattern to a high-reflection surface, and collecting multi-step phase shift deformation saturated fringes by a CCD;
s2, dividing a shot image into a reliable region, a shallow saturation region and a deep saturation region, calculating the reliable region by using a multi-step phase shift saturation fringe pattern, and calculating A, B parameters of the reliable region by using an Euler formula method;
S3, because the shallow saturation region and the deep saturation region cannot be solved perfectly, expanding and corroding all reliable regions, obtaining a CSI and BSI region of A, B to approximately correspond to the shallow saturation region and the deep saturation region of A, B, and interpolating and complementing A, B of the CSI and BSI regions by using a CSI and BSI interpolation method;
S4, finding unsaturated lower intersection points between adjacent stripes, wherein the curved surfaces where the points are located are F lower, using the lower intersection points as reliable points of F lower, using the relation between A, B and F lower, expanding the reliable points of F lower by A, B of the reliable point positions, finally expanding and corroding the expanded reliable areas of F lower to obtain CSI and BSI areas of F lower so as to approximately correspond to shallow saturation areas and deep saturation areas of F lower, and interpolating and complementing F lower of the CSI and BSI areas by using a CSI and BSI interpolation method;
s5, calculating an accurate A of each position by utilizing A, B and F lower obtained by interpolation according to the relation between the three curved surfaces A, B and F lower;
s6, repairing the saturated stripes by using the relationship among the stripes, namely repairing the saturated stripes by using the repaired A and the unsaturated stripes, and complementing the rest parts by using CSI interpolation after the saturated parts at the tops of the stripes are repaired;
s7, calculating phases by using a multi-step phase shift method after all stripes are repaired;
and S8, solving the orders by using a complementary Gray code method and expanding the wrapping phase.
Preferably, the step S1 includes the following specific steps:
S1, projecting a gray sine fringe pattern on a high-reflection surface, acquiring deformed saturated fringe by a CCD, projecting N fringe patterns with constant phase difference delta, and shooting images with phase difference delta, namely,
Wherein, the N is the number of phase shift steps, which is an integer greater than or equal to 3, n=1, 2.
Preferably, the step S2 includes the following specific steps:
S21, dividing each point in the image into a reliable region, a shallow saturation region and a deep saturation region according to the saturation condition of the N phase shift maps. If three or more of the N phase shift maps are taken at a certain point, the value of which is less than 255, the point is a reliable region, and the rest is an unreliable region. Assuming a a as the actual a parameter in the unreliable region, then the point is the shallow saturation region when a a <255 and the point is the deep saturation region when a a is ≡255.
S22, directly solving the A parameters of the reliable region, wherein the A parameters of the shallow saturation region and the deep saturation region cannot be directly solved, and the A parameter solving formula of the reliable region is as follows:
According to Euler equation e ix=cosx+isinx,In (x, y) can be written as:
The stripe with stripe subscript n 1,n2,...,nk is not saturated and these equations for the unsaturated stripes at the simultaneous (x, y) position:
Then the a, B parameter solving formula is:
Preferably, the step S3 includes the following specific steps:
s31, after the A, B reliable areas are solved, the reliable areas are expanded, and the expansion distance is more than half of the fringe period, so that the expansion areas are obtained;
then corroding the expansion area, wherein the corrosion distance is larger than the expansion distance, so as to obtain a CSI area;
Finally, reversing the CSI region to obtain a BSI region, wherein the CSI region and the BSI region are obtained to approximately correspond to the shallow saturation region and the deep saturation region because the shallow saturation region and the deep saturation region cannot be solved perfectly;
S32, interpolation complement is carried out on the A value of the whole CSI region by taking the A values of all the reliable points in the CSI region as the basis;
interpolation complement is carried out on the B value of the whole CSI region by taking the B values of all the reliable points in the CSI region as the basis;
The interpolation method uses a cubic spline interpolation method cubic spline interpolation, which is simply called as a CSI interpolation method;
s33, interpolation is carried out on the A value of the whole BSI area by taking the A values of all the reliable points in the BSI area as the basis;
Interpolation complement is carried out on the B values of the whole BSI area by taking the B values of all the reliable points in the BSI area as the basis;
The interpolation method uses a bi-tone and spline interpolation method biharmonic spline interpolation, abbreviated as BSI interpolation method.
Preferably, the step S4 includes the following specific steps:
The method for searching the reliable points of S41 and F lower is as follows, the reliable points are the lower intersection points where adjacent stripes are not saturated and the lower reliable points calculated by the reliable areas of A and B, and for the adjacent stripes I n (x, y) and I n+1 (x, y), the equation of the intersection point positions is as follows:
Solving the above equation, the phase of the intersection point position is:
the stripe intensity values at the intersection point positions are:
k is an integer, and in order to determine whether these intersections are lower intersections, the intersection intensity magnitudes of the symmetric fringes of I n (x, y) and I n+1 (x, y) at that location are used to assist in the determination;
The symmetric stripes of I n (x, y) and I n+1 (x, y) are denoted as I MOD(N/2+n) and I MOD(N/2+n+1), where 'MOD' borrows the concept of a remainder function, denoted as:
N represents the total number of phase shift steps and the intensity of the symmetric stripe intersections is expressed as:
Determination of The condition that the point is the lower intersection point P lower int is:
all lower intersections of all F lower are the union of all adjacent stripe intersections:
in addition, the reliable point position a, B can further expand the reliable point of F lower by the following formula:
S42, after solving the F lower reliable area, expanding the reliable area, wherein the expansion distance is more than half of the fringe period, and obtaining an expanded area;
then corroding the expansion area, wherein the corrosion distance is larger than the expansion distance, so as to obtain a CSI area;
Finally, reversing the CSI region to obtain a BSI region;
Because the shallow saturation region and the deep saturation region cannot be solved perfectly, the CSI and BSI regions are obtained to approximately correspond to the shallow saturation region and the deep saturation region;
S43, interpolating and complementing the F lower value of the whole CSI region by taking the F lower values of all reliable points in the CSI region as the basis;
The interpolation method uses a cubic spline interpolation method cubic spline interpolation, which is simply called as a CSI interpolation method;
and S44, interpolating and complementing the F lower value of the whole BSI area by using the F lower values of all the reliable points in the BSI area as the basis, wherein the interpolation method uses a bi-tone and spline interpolation method biharmonic spline interpolation, which is called as BSI interpolation method for short.
Preferably, the step S5 includes the following specific steps:
S51, in the interpolated curved surfaces A, B and F lower, the intensity of A, B is higher, the interpolation basic points are few, the interpolation basic points are large and even, the interpolation basic points of F lower are small, the ideal curved surface errors are small, the interpolated curved surface A, B, F lower is written as A ', B', F lo′wer, the ideal curved surface is A, B, F lower, and the gradient can be reserved when the interpolation function interpolates two groups of different intensity points with the same trend, so the ratio of A ', B' is very close to the ratio of A and B:
so the curve A 'and B' with small error with the ideal curve A and B can be solved:
Preferably, the step S6 includes the following specific steps:
When a certain image is saturated in the S61 and N-step phase shift, the restoration formula of the stripe restoration value I n r of the saturated region is as follows:
When N is even number:
When N is an odd number:
s62, after the saturated phase shift image is repaired by using the repairing formula, if saturated positions exist, interpolation is carried out on the positions by using a CSI interpolation method on the basis of the global unsaturated stripe value and the repaired stripe value.
Preferably, the step S7 includes the following specific steps:
s71, the wrapping phase can be obtained through repairing N fringe patterns:
the phase obtained by the above equation is a wrapping phase, which can be unwrapped by an absolute phase method using an unwrapped phase to obtain the height information.
Preferably, the step S8 includes the following specific steps:
s81, projecting a plurality of Gray code fringe patterns on the surface of a high-reflectivity object, acquiring Gray code fringe patterns by using a CCD, calculating the orders by using the first several patterns, and correcting the orders by using the last pattern to obtain the orders K of the fringes;
S82, unfolding the wrapping phase by using the level K, wherein an unfolding formula is as follows:
The resulting phi (x, y) is the unwrapped phase.
Compared with the related art, the high dynamic range stripe projection three-dimensional measurement method based on stripe repair has the following beneficial effects:
The invention provides a high dynamic range stripe projection three-dimensional measurement method based on stripe repair, which can effectively repair saturated stripes, improve the dynamic range of a system, increase the information utilization rate of each image by using the stripe repair method, reduce the number of patterns to be projected for high dynamic range measurement and effectively improve the measurement speed.
Drawings
FIG. 1 is a schematic diagram of a high dynamic range fringe projection three-dimensional measurement method based on fringe restoration according to a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of the calculation of intersection points under adjacent stripes;
fig. 3 is a graph comparing calculated phases before and after stripe repair.
Detailed Description
The invention will be further described with reference to the drawings and embodiments.
First embodiment
Referring to fig. 1, fig. 2 and fig. 3 in combination, fig. 1 is a schematic structural diagram of a preferred embodiment of a high dynamic range stripe projection three-dimensional measurement method based on stripe repair according to the present invention, fig. 2 is a schematic diagram of intersection point calculation under adjacent stripes, and fig. 3 is a comparative diagram of calculated phases before and after stripe repair. A high dynamic range stripe projection three-dimensional measurement method based on stripe repair comprises the following steps:
s1, projecting a multi-step gray sine fringe pattern to a high-reflection surface, and collecting multi-step phase shift deformation saturated fringes by a CCD;
s2, dividing a shot image into a reliable region, a shallow saturation region and a deep saturation region, calculating the reliable region by using a multi-step phase shift saturation fringe pattern, and calculating A, B parameters of the reliable region by using an Euler formula method;
S3, because the shallow saturation region and the deep saturation region cannot be solved perfectly, expanding and corroding all reliable regions, obtaining a CSI and BSI region of A, B to approximately correspond to the shallow saturation region and the deep saturation region of A, B, and interpolating and complementing A, B of the CSI and BSI regions by using a CSI and BSI interpolation method;
S4, finding unsaturated lower intersection points between adjacent stripes, wherein the curved surfaces where the points are located are F lower, using the lower intersection points as reliable points of F lower, using the relation between A, B and F lower, expanding the reliable points of F lower by A, B of the reliable point positions, finally expanding and corroding the expanded reliable areas of F lower to obtain CSI and BSI areas of F lower so as to approximately correspond to shallow saturation areas and deep saturation areas of F lower, and interpolating and complementing F lower of the CSI and BSI areas by using a CSI and BSI interpolation method;
s5, calculating an accurate A of each position by utilizing A, B and F lower obtained by interpolation according to the relation between the three curved surfaces A, B and F lower;
s6, repairing the saturated stripes by using the relationship among the stripes, namely repairing the saturated stripes by using the repaired A and the unsaturated stripes, and complementing the rest parts by using CSI interpolation after the saturated parts at the tops of the stripes are repaired;
s7, calculating phases by using a multi-step phase shift method after all stripes are repaired;
and S8, solving the orders by using a complementary Gray code method and expanding the wrapping phase.
Please refer to fig. 1:
Step a, projecting a gray sine fringe pattern to a high-reflection surface, and acquiring deformed saturated fringes by a CCD;
Step b, solving parameters A, B of the reliable area and the reliable area;
c, calculating the CSI and BSI areas of A, B by expansion corrosion, and interpolating and complementing A, B of the CSI and BSI areas by using a CSI-BSI interpolation method;
step d, finding a reliable point of the F lower, calculating the CSI and BSI areas of the F lower by expansion corrosion, and interpolating and complementing the F lower of the CSI and BSI areas by using a CSI-BSI interpolation method;
Step e, calculating an accurate A of each position by utilizing A, B and F lower obtained by interpolation;
F, repairing the saturated stripes with the repaired A and the unsaturated stripes, and complementing the rest part by using CSI interpolation;
step g, calculating a wrapping phase by a multi-step phase shift method;
And h, expanding the wrapping phase by a complementary Gray code method.
Second embodiment
The specific steps of the step a are as follows:
and a step a1, encoding N sine stripe patterns as a projection image group.
The phase shift stripe encoding formula is:
Where N is the number of phase steps, n=1, 2,..n is the phase shift number, f 0 is the set fringe frequency, and a, b are typically set to 127.5.
The S1 comprises the following specific steps:
S1, projecting a gray sine fringe pattern on a high-reflection surface, acquiring deformed saturated fringe by a CCD, projecting N fringe patterns with constant phase difference delta, and shooting images with phase difference delta, namely,
Wherein, the N is the number of phase shift steps, which is an integer greater than or equal to 3, n=1, 2.
Third embodiment
The step S2 comprises the following specific steps:
S21, dividing each point in the image into a reliable region, a shallow saturation region and a deep saturation region according to the saturation condition of the N phase shift maps. If three or more of the N phase shift maps are taken at a certain point, the value of which is less than 255, the point is a reliable region, and the rest is an unreliable region. Assuming a a as the actual a parameter in the unreliable region, then the point is the shallow saturation region when a a <255 and the point is the deep saturation region when a a is ≡255.
S22, directly solving the A parameters of the reliable region, wherein the A parameters of the shallow saturation region and the deep saturation region cannot be directly solved, and the A parameter solving formula of the reliable region is as follows:
According to Euler equation e ix=cosx+isinx,In (x, y) can be written as:
The stripe with stripe subscript n 1,n2,...,nk is not saturated and these equations for the unsaturated stripes at the simultaneous (x, y) position:
Then the a, B parameter solving formula is:
fourth embodiment
The step S3 comprises the following specific steps:
s31, after the A, B reliable areas are solved, the reliable areas are expanded, and the expansion distance is more than half of the fringe period, so that the expansion areas are obtained;
then corroding the expansion area, wherein the corrosion distance is larger than the expansion distance, so as to obtain a CSI area;
Finally, reversing the CSI region to obtain a BSI region, wherein the CSI region and the BSI region are obtained to approximately correspond to the shallow saturation region and the deep saturation region because the shallow saturation region and the deep saturation region cannot be solved perfectly;
S32, interpolation complement is carried out on the A value of the whole CSI region by taking the A values of all the reliable points in the CSI region as the basis;
interpolation complement is carried out on the B value of the whole CSI region by taking the B values of all the reliable points in the CSI region as the basis;
The interpolation method uses a cubic spline interpolation method cubic spline interpolation, which is simply called as a CSI interpolation method;
s33, interpolation is carried out on the A value of the whole BSI area by taking the A values of all the reliable points in the BSI area as the basis;
Interpolation complement is carried out on the B values of the whole BSI area by taking the B values of all the reliable points in the BSI area as the basis;
The interpolation method uses a bi-tone and spline interpolation method biharmonic spline interpolation, abbreviated as BSI interpolation method.
The step S4 comprises the following specific steps:
The method for searching the reliable points of S41 and F lower is as follows, the reliable points are the lower intersection points where adjacent stripes are not saturated and the lower reliable points calculated by the reliable areas of A and B, and for the adjacent stripes I n (x, y) and I n+1 (x, y), the equation of the intersection point positions is as follows:
Solving the above equation, the phase of the intersection point position is:
the stripe intensity values at the intersection point positions are:
k is an integer, and in order to determine whether these intersections are lower intersections, the intersection intensity magnitudes of the symmetric fringes of I n (x, y) and I n+1 (x, y) at that location are used to assist in the determination;
The symmetric stripes of I n (x, y) and I n+1 (x, y) are denoted as I MOD(N/2+n) and I MOD(N/2+n+1), where 'MOD' borrows the concept of a remainder function, denoted as:
N represents the total number of phase shift steps and the intensity of the symmetric stripe intersections is expressed as:
Determination of The condition that the point is the lower intersection point P lower int is:
all lower intersections of all F lower are the union of all adjacent stripe intersections:
in addition, the reliable point position a, B can further expand the reliable point of F lower by the following formula:
S42, after solving the F lower reliable area, expanding the reliable area, wherein the expansion distance is more than half of the fringe period, and obtaining an expanded area;
then corroding the expansion area, wherein the corrosion distance is larger than the expansion distance, so as to obtain a CSI area;
Finally, reversing the CSI region to obtain a BSI region;
Because the shallow saturation region and the deep saturation region cannot be solved perfectly, the CSI and BSI regions are obtained to approximately correspond to the shallow saturation region and the deep saturation region;
S43, interpolating and complementing the F lower value of the whole CSI region by taking the F lower values of all reliable points in the CSI region as the basis;
The interpolation method uses a cubic spline interpolation method cubic spline interpolation, which is simply called as a CSI interpolation method;
and S44, interpolating and complementing the F lower value of the whole BSI area by using the F lower values of all the reliable points in the BSI area as the basis, wherein the interpolation method uses a bi-tone and spline interpolation method biharmonic spline interpolation, which is called as BSI interpolation method for short.
The step S5 comprises the following specific steps:
S51, in the interpolated curved surfaces A, B and F lower, the intensity of A, B is higher, the interpolation basic points are few, the interpolation basic points are large and even, the interpolation basic points of F lower are small, the ideal curved surface errors are small, the interpolated curved surface A, B, F lower is written as A ', B', F lo′wer, the ideal curved surface is A, B, F lower, and the gradient can be reserved when the interpolation function interpolates two groups of different intensity points with the same trend, so the ratio of A ', B' is very close to the ratio of A and B:
so the curve A 'and B' with small error with the ideal curve A and B can be solved:
The step S6 comprises the following specific steps:
When a certain image is saturated in the S61 and N-step phase shift, the restoration formula of the stripe restoration value I n r of the saturated region is as follows:
When N is even number:
When N is an odd number:
s62, after the saturated phase shift image is repaired by using the repairing formula, if saturated positions exist, interpolation is carried out on the positions by using a CSI interpolation method on the basis of the global unsaturated stripe value and the repaired stripe value.
The step S7 comprises the following specific steps:
s71, the wrapping phase can be obtained through repairing N fringe patterns:
the phase obtained by the above equation is a wrapping phase, which can be unwrapped by an absolute phase method using an unwrapped phase to obtain the height information.
The step S8 comprises the following specific steps:
s81, projecting a plurality of Gray code fringe patterns on the surface of a high-reflectivity object, acquiring Gray code fringe patterns by using a CCD, calculating the orders by using the first several patterns, and correcting the orders by using the last pattern to obtain the orders K of the fringes;
S82, unfolding the wrapping phase by using the level K, wherein an unfolding formula is as follows:
The resulting phi (x, y) is the unwrapped phase.
Fifth embodiment
The specific steps of the step d are as follows:
In step d1, find the lower intersection point where the adjacent stripe is not saturated, taking the four-step phase shift as an example, as shown in fig. 2, and fig. 2a shows the positions of all the upper intersection points and the lower intersection points in the four-step phase shift.
FIG. 2b illustrates the process of determining the upper and lower intersection points, using I 1 and I 2 as examples, which are used to retrieve values on symmetrically-located stripes, with the intersection points represented by solid pointsRepresenting reference points by open dotsWill intersectAnd reference pointAnd a comparison is made between them to determine whether they are up or down. When (when)The value of the crossing point is higher than the reference point, expressed as an upper crossing point, conversely, whenWhen the intersection point is lower than the reference point, it is expressed as a lower intersection point. It is emphasized, however, that when the saturation level is high,May not exist, in which case, ifIf not present, the intersection pointStill, should be considered as the lower intersection, the upper and lower intersection of I 1 and I 2, respectively, are found using the methods described above.
Fig. 3 is a phase contrast diagram calculated before and after stripe repair, and it can be seen that after stripe saturation repair, the calculated phase error is obviously reduced, the precision is improved, and no extra stripe projection and equipment assistance are needed, so that the measurement speed is high, and the equipment is simple.
The high dynamic range stripe projection three-dimensional measurement method based on stripe repair has the following beneficial effects:
The method can effectively repair saturated stripes, improves the dynamic range of a system, increases the information utilization rate of each image by using the stripe repair method, reduces the number of patterns to be projected for high dynamic range measurement, and effectively improves the measurement speed.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes or direct or indirect application in other related technical fields are included in the scope of the present invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310957009.0A CN116989699B (en) | 2023-08-01 | 2023-08-01 | A high dynamic range fringe projection 3D measurement method based on fringe restoration |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310957009.0A CN116989699B (en) | 2023-08-01 | 2023-08-01 | A high dynamic range fringe projection 3D measurement method based on fringe restoration |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116989699A CN116989699A (en) | 2023-11-03 |
| CN116989699B true CN116989699B (en) | 2025-10-03 |
Family
ID=88527833
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310957009.0A Active CN116989699B (en) | 2023-08-01 | 2023-08-01 | A high dynamic range fringe projection 3D measurement method based on fringe restoration |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116989699B (en) |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105651203B (en) * | 2016-03-16 | 2018-09-04 | 广东工业大学 | A kind of high dynamic range 3 D measuring method of adaptive striped brightness |
| CN106091981B (en) * | 2016-05-27 | 2018-09-04 | 西安交通大学 | Region projection method for measuring optical three-dimensional contour for high dynamic range object |
| US10852421B1 (en) * | 2019-01-24 | 2020-12-01 | Descartes Labs, Inc. | Sparse phase unwrapping |
| CN111402149B (en) * | 2020-03-06 | 2022-07-08 | 四川大学 | Fringe pattern restoration method based on convolutional neural network denoising regularization |
| CN115993100B (en) * | 2023-02-23 | 2025-09-12 | 四川大学 | A high dynamic 3D measurement method based on fringe restoration |
-
2023
- 2023-08-01 CN CN202310957009.0A patent/CN116989699B/en active Active
Non-Patent Citations (1)
| Title |
|---|
| "A Method for Suppressing Saturation-Induced Errors in Fringe Projection Profilometry by Fringe Restoration Assisted via Euler Formula-Based Method and Intersection Points";Hao Wei 等;《IEEE Transactions on Instrumentation and Measurement》;20240911;第73卷;5031816(1-16) * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116989699A (en) | 2023-11-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109242897B (en) | Binary pattern defocused projection method of structured light measurement system | |
| CA2610144C (en) | Terrain modeling based on curved surface area | |
| CN109945802B (en) | Structured light three-dimensional measurement method | |
| Song et al. | Super-resolution phase retrieval network for single-pattern structured light 3D imaging | |
| JP6598673B2 (en) | Data processing apparatus and method | |
| CN110310365B (en) | Three-dimensional reconstruction method and device | |
| CN115993100A (en) | A Highly Dynamic 3D Measurement Method Based on Streak Repair | |
| CN103453852A (en) | Rapid phase unwrapping method in three-dimensional scanning system | |
| TWI588666B (en) | Method for calculating the metrics of an ic manufacturing process | |
| CN113686263B (en) | A three-dimensional measurement method of rigid moving objects based on phase-shift fringe projection | |
| Lu et al. | High-efficiency dynamic three-dimensional shape measurement based on misaligned Gray-code light | |
| CN111307066A (en) | A Phase Unwrapping Method for Interval Processing | |
| CN106840038B (en) | A Combination Method of Dual Frequency Phase Shift and Gray Code | |
| CN116989699B (en) | A high dynamic range fringe projection 3D measurement method based on fringe restoration | |
| WO2022242713A1 (en) | Image alignment method and device | |
| CN107421467B (en) | Structural light three-dimensional measurement method and system | |
| Fu et al. | A novel phase-shifting segmented phase coding method for absolute phase retrieval | |
| CN113048914A (en) | Phase unwrapping method and device | |
| CN116228830B (en) | Three-dimensional reconstruction method and device for triangular mesh coding structured light | |
| CN116734762A (en) | Three-dimensional measurement method based on ternary complementary Gray code phase unwrapping | |
| CN115908705A (en) | A three-dimensional imaging method and device based on special coding | |
| CN116645466A (en) | A three-dimensional reconstruction method, electronic equipment, and storage medium | |
| CN113375600B (en) | Three-dimensional measurement method and device and electronic equipment | |
| CN119313826B (en) | Three-dimensional reconstruction method, device, equipment and storage medium | |
| CN113393481B (en) | Rapid phase unwrapping method, apparatus, device and medium based on edge detection |
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 |