CN103267496A - Improved window Fourier three-dimensional measuring method based on wavelet transform - Google Patents
Improved window Fourier three-dimensional measuring method based on wavelet transform Download PDFInfo
- Publication number
- CN103267496A CN103267496A CN2013101891193A CN201310189119A CN103267496A CN 103267496 A CN103267496 A CN 103267496A CN 2013101891193 A CN2013101891193 A CN 2013101891193A CN 201310189119 A CN201310189119 A CN 201310189119A CN 103267496 A CN103267496 A CN 103267496A
- Authority
- CN
- China
- Prior art keywords
- formula
- phase
- expression
- stripe
- scale factor
- 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.)
- Granted
Links
Images
Abstract
The invention discloses an improved window Fourier three-dimensional measuring method based on wavelet transform. The method mainly aims at solving precise phase distribution of stripe images and obtaining three-dimensional shape information of an object through the phase distribution. The method includes the steps that black-and-white sine modulation stripe images are projected on the object to be measured and collected by a CCD, the wavelet transform is carried out on the collected and deformed stripe images line by line, a wavelet transform ridge is extracted and calculated, errors caused by a phase second derivative during ridge extraction are divided, and finally a precise window size matrix is obtained. The precise window matrix is substituted into window Fourier transform, and corresponding relative phase information of the deformed stripe images is obtained after steps such as filtering. A stripe image quality diagram is established, phases are then expanded by means of the deluge algorithm, and absolute phase distribution of the stripe images is obtained. According to the phase height conversion formula, the three-dimensional information of the object to be measured can be obtained according to the absolute phase distribution.
Description
Technical field
The invention belongs to the technical field of three-dimensional information reconstruct, based on the modulated grating projection, combined with wavelet transformed and window fourier transform method are with the three-dimensional measurement of fringe projection technology of profiling for object.
Background technology
Based on the three-dimensional measurement of optical projection, be widely used in product detection and machining control, medical field, historical relic's protection field, aerospace field, culture field etc.In numerous three-dimensional measurement technology, characteristics become prevailing three-dimensional measurement technology to the optical three-dimensional measurement technology so that its non-cpntact measurement, real-time be better etc.
The optical three-dimensional measurement technology is based on contemporary optics, melts optoelectronics, Computer Image Processing, and graphics, science such as signal processing are the modern surveying technology of one.The entity that it detects optical imagery and store as information obtains the three-dimensional measurement information needed from image.With respect to other three-dimensional information measuring method, high-speed, high-precision characteristics that optical measuring technique has since the sixties in last century, have obtained studying widely and using.Three-dimensional measurement technology based on the encode grating projection is the most representative, is most widely used.
Three-dimensional measurement based on optical grating projection projects to raster pattern the measured object surface exactly, obtains the raster image of distortion by video camera, and is determined the elevation information on testee relative reference plane by phase place and the relation of height.When optical grating projection was to the body surface, periodically the phase place of grating just was subjected to the modulation of body surface height profile, formed deformed grating, had the three-dimensional information of object in the deformed grating.The PHASE DISTRIBUTION of accurately obtaining the deformed grating image plays key effect in whole three-dimensional measurement process.
Usually three mensurations based on optical grating projection are divided into multiframe processing phase-shift method and single frames processing conversion mensuration.Fourier transform profilometry (FTP) is a kind of active single frames mensuration, and the earliest by propositions such as Takeda, numerous scholars have done deep research to this.The new application of fourier transform method in the three-dimensional measurement field that Open from This Side.But because Fourier transform (FT) is global change, do not have the ability of partial analysis, so local mistake can't be analyzed solution separately.Based on this, the window Fourier transform (WFT) with partial analysis advantage is introduced into the three-dimensional measurement field.The local signal analysis makes signal processing results more accurate, and wherein key is exactly the window selection in early stage.Window is more big, and frequency resolution is more good and spatial resolution is more poor; Window is more little, and frequency resolution is more poor and spatial resolution is more good.Therefore the selection of window has significant impact for the precision of three-dimensional measurement.According to the Heisenberg uncertainty principle, we can not provide the window size of an entirely accurate, but can constantly optimize.Therefore how choosing self-adapting window becomes a difficult point, so small echo ridge method etc. are introduced into three-dimensional measurement, has provided detailed analysis for the selection of window size, and precision and the speed of window Fourier mensuration is had raising.But since window Fourier to handle high-resolution image slower, therefore have under the situation of requirement in real-time, be necessary to reduce the computing time of window size as far as possible.
Because the phase value that fourier transform method obtains obtains absolute phase values between 0-2 π so need carry out phase unwrapping.But because the window Fourier transform is asked for its window size in the general ridge method of object height saltus step and precipitous zone and is had very mistake, error can appear in the process that causes phase place to be found the solution, this error can influence the next phase unwrapping precision of pending point when phase unwrapping, so produce continuous mistake, i.e. backguy phenomenon in the time of can causing phase unwrapping.The scanning line method speed of directly launching phase place is very fast, but robustness a little less than, very easily produce the backguy phenomenon.Dual-frequency method contains the sinusoidal grating of two kinds of frequency components by projection, through Fourier transform filtering, obtain two kinds of phase values under the frequency, with the phase value that obtains under the phase value correction high frequency that obtains under the low frequency, thus the improper value at the discontinuous place of phase place that obtains under the correction high frequency.But because dual-frequency method also is to find the solution initial phase with Fourier transform, so also exist two kinds of spectral aliasing problem between the frequency component.
Summary of the invention
Goal of the invention: at wavelet transformation when asking for window Fourier window size speed slowly and height saltus step and precipitous zone ask for the big problem of window size error, the objective of the invention is to not influence window size asks under the prerequisite of accuracy, solve hop region and ask for the inaccurate problem of phase place, a kind of improvement window Fourier three-dimensional measurement method based on wavelet transformation is provided.
Technical scheme: a kind of improvement window Fourier three-dimensional measurement method based on wavelet transformation comprises the steps:
Step 1) to the testee surface, uses the CCD camera that the testee surface is taken the black and white strip image projection, obtain a panel height degree and be c, width and be r deforming stripe image g (x, y):
G (x, y)=A (x, y)+B (x, y) cos [2 π f
0X+ φ (x, y)] (1) formula
Wherein, (x y) is the background light distribution to A, and (x y) is the body surface reflectivity, f to B
0Be the sine streak frequency, (x y) is relative phase distribution plan to be asked to φ, (x, y) two-dimensional coordinate of expression deforming stripe image;
Step 2), to described deforming stripe figure g (x y) does wavelet transformation line by line, obtains the approximate scale factor of deforming stripe image every bit, and detailed process is as follows:
Step 2.1), y is considered as constant y
1, adopt one-dimensional wavelet transform to described deforming stripe image g (x, y y)
1Row is handled, and processing procedure is:
(2) formula
Wherein, y
1The row number of representing certain delegation; A is scale factor, and span is 10 to 90, gets a value every 0.2; B is shift factor, and span is 1 to the width r of striped, gets a value every 1, and unit is pixel; Obtain through one-dimensional wavelet transform
Be the two-dimentional complex matrix of one 400 capable r row, claim y
1The row wavelet transform matrix, a
1It is matrix
The line label of middle element; Wherein,
M
* A, b(x) be M
A, b(x) conjugate function; Wavelet function M (x) according to formula (3) obtains M
* A, b(x) expression formula is suc as formula (4):
Wherein, f
bBe the bandwidth of wavelet function, f
cBe the centre frequency of wavelet function, i is complex unit, and x is independent variable;
Step 2.2), ask for stripe pattern g (x, approximate scale factor distribution plan f y)
A1(x, y
1):
Calculate two-dimentional complex matrix
The modular matrix of correspondence
The search modular matrix
The element of x column mean maximum, and with modular matrix
The line label assignment of x column mean greatest member give a
Max, the approximate scale factor distribution plan f of stripe pattern then
A1(x, y
1) at coordinate (x, y
1) locate numerical value a
RxBe a
Rx=10+0.2 * a
Max
Travel through all coordinate points of stripe pattern, try to achieve the approximate scale factor distribution plan f of stripe pattern
A1(x, y);
Step 3) is to through described step 2.1) deforming stripe figure behind the wavelet transformation removes wavelet transformation ridge error, obtains the accurate scale factor of deforming stripe image every bit, and detailed process is as follows:
Step 3.1), remove the ridge error of each coordinate points of deforming stripe image, processing procedure is:
W (x, y
1)=W
0+ W
1+ W
2+ ε
0(5) formula
W (x, y wherein
1) be the wavelet transformation reduced form of any coordinate points among the deforming stripe figure, wherein ε
0Expression is led the error of bringing by the phase place second order of every bit among the deforming stripe figure, and its expression formula is:
Wherein, t is the intermediate computations variable,
Expression phase place second order is led, and pairing approximation scale factor differentiate is line by line obtained
Obtain
Obtain the ε of corresponding scale factor a at last
0, obtain ε
0Be that the one dimension plural number array of 400 row is at coordinate (x, y
1) coordinate points on error array ε
0(x, y
1); W
0, W
1, W
2Be respectively the simplification expression formula in the wavelet transformation computation process, form is as follows:
Wherein,
For phase place,
Expression phase place derivative, W (x, y
1) in pointwise deduct error ε
0(x, y
1), obtain the value W of accurate wavelet transformation ridge
ε(x, y
1)=W
0+ W
1+ W
2, obtain the accurate wavelet transformation ridge matrix W of each row
400 * r, matrix W
400 * rIt is the complex matrix of 400 row r row;
Step 3.2), ask for the exact scale factor distribution plan f of stripe pattern
A2(x, y):
Obtain W
400 * rThe modular matrix C of correspondence
400 * r(a
1, b), search modular matrix C
400 * r(a
1, the b) element of x column mean maximum, and with modular matrix C
400 * r(a
1, the line label assignment of x column mean greatest member b) is given a
Amax, the approximate scale factor distribution plan f of stripe pattern then
A2(x, y
1) at coordinate (x, y
1) locate numerical value a
AcrFor: a
Acr=10+0.2 * a
Amax
Travel through all coordinate points of stripe pattern, try to achieve the exact scale factor distribution plan f of stripe pattern
A2(x, y);
Step 4) is done the window Fourier transform line by line to deforming stripe figure, obtains deforming stripe figure relative phase distribution plan, and detailed process is as follows:
Step 4.1), y is considered as constant, adopt the one dimension window fourier transform to deforming stripe image g (x, every row y) is handled, one dimension window fourier transform process is:
Its frequency-domain expression is:
Wherein, g (x) is delegation's stripe pattern; (ξ represents the frequency-domain calculations factor to WF for b, ξ) expression one dimension window fourier transform, and δ represents the window size factor of one dimension window Fourier, and the δ value is one dimension position of window (x-b, y) Dui Ying exact scale factor distribution plan f
A2(x, the y) value of the point on the relevant position, W
δ(x-b) expression window function, expression formula is:
Wherein, n represents order, and value is 0,1,2 successively ..., infinite; P
n(f
s-nf
0, y) corresponding n rank frequency spectrum after the expression any point Fourier transform; f
sThe variable of expression frequency domain;
Step 4.2), to the spectral filtering after the Fourier transform and extract phase information, detailed process is as follows:
To P
n(f
s-nf
0, y) carry out filtering and extract first order spectrum P
1(f
s-f
0, y), again to P
1(f
s-f
0, y) carry out inverse Fourier transform, obtain containing B (x, y) the exp[i φ (x of phase information, y)], calculate B (x, y) exp[i φ (x, y)] angle value can obtain containing object height information deforming stripe figure relative phase value φ (x, y), the phase value that obtains is between 0-2 π;
Travel through all coordinate points of stripe pattern, obtain the relative phase distribution plan φ of deforming stripe figure
A(x, y);
Step 5) is set up stripe pattern quality figure, adopts the flood algorithm to launch relative phase distribution plan φ
A(x y), obtains actual phase figure
Detailed process is as follows:
Step 5.1), utilize the phase gradient in the relative phase distribution plan to set up quality figure, quality figure can calculate according to following formula:
W wherein
Rap{ } is the parcel function, on dutyly it deducted or add during greater than 2 π or less than-2 π 2 π;
Step 5.2), central authorities find the highest coordinate points of mass value at the relative phase distribution plan, select this as the starting point of phase unwrapping, this point are put into the stack of a sky;
Step 5.3), judge whether stack is empty; If then the phase unwrapping process finishes, and obtains launching phase result
And enter step 6); If not, eject the point of stack top, launch not have in neighbours' point of this some the coordinate points of processing, and these untreated points are stacked;
Step 5.4), will have a few ordering in the stack according to the mass value among the quality figure, the point that quality is the highest is placed on stack top, forwards step 5.3 to) continue to handle;
Step 6) reads final expansion phase result
According to classical optical grating projection from launching phase result
(x, conversion formula y) are finally tried to achieve the three-dimensional information of measuring object to object height h; Wherein conversion formula h (x y) is:
Wherein, l, d are the geometric parameters of measuring system, l be projector to the distance of measurement plane, d is that the CCD camera is to the distance of projector;
The expression phase changing capacity,
Be the expansion phase result,
Be initial phase result, ω
0Angular frequency for projection grating.
Beneficial effect: compared with prior art, the present invention has the following advantages: at first, the present invention is than the three-dimensional measurement method based on wavelet transformation comparatively commonly used, and the algorithm that utilizes wavelet transformation improves the speed of asking for window size to the singularity of frequency sensitive and reduces the violent regional window of saltus step and ask for error.Lead the ridge of wavelet transformation is asked for error frequently by asking for and remove the phase place second order, can solve in the violent zone of saltus step and separate phase error problem bigger than normal, can overcome object and have the solution phase error that big saltus step and relatively gentle slope bring, obtain accurate more phase place, and improve window Fourier's noise immunity, reached measuring accuracy and stronger robustness preferably; Than Fourier's mensuration, the problem of can't local phase calculating of having avoided that global change brings makes that the phase information of calculating is more accurate; Than phase-shift method, the present invention only needs projection one secondary black and white modulation stripe image, can realize kinetic measurement; Than based on this Er Weituoke conversion improvement window Fourier three-dimensional measurement method because the multiresolution characteristic of wavelet transformation can be handled signal decomposition, can improve the accuracy rate of phase place.Secondly, the present invention obtains comparatively accurate phase information in relative phase is asked for, and makes and uses common overall flood solution pack just can obtain actual phase information accurately.At last, the present invention shows stronger robustness in processing procedure, and the ability of good actual application is arranged.To sum up, the present invention can obtain the three-dimensional elevation information of testee exactly, has robustness preferably.
Description of drawings
Fig. 1 is process flow diagram of the present invention;
Fig. 2 adopts the flood algorithm to launch the detailed process process flow diagram of phase place in the step 5;
What Fig. 3 was that CCD collects is the deforming stripe image of testee with the motorcycle backplate;
Fig. 4 is the curve map of the value delivery value behind certain some wavelet transformation among the deforming stripe figure, and horizontal ordinate represents the inverse of scale factor, and ordinate represents the mould value behind the wavelet transformation;
Fig. 5 is the mould value curve map that the value behind certain some wavelet transformation is removed the ridge error among the deforming stripe figure, and horizontal ordinate represents the inverse of scale factor, and ordinate represents the mould value of going behind the wavelet transformation after the error;
Fig. 6 is the accurate window size distribution plan that obtains;
Fig. 7 is the PHASE DISTRIBUTION figure that extracts behind the window fourier transform;
Fig. 8 utilizes the pack of flood solution to launch the absolute phase distribution plan that relative phase obtains;
Fig. 9 is the true altitude point cloud chart that obtains by PHASE DISTRIBUTION figure.
Embodiment
Below in conjunction with accompanying drawing the present invention is done further explanation.
Separate the coarse problem of phase place at the three-dimensional measurement method based on wavelet transformation in the violent zone of height saltus step, the present invention adopts Wavelet Transform to ask for the window size factor, and utilize its susceptibility to frequency factor to remove little wave crest and ask for error, improve the violent regional window size of saltus step and ask for the problem of precision, separate phase accuracy thereby improve these zones.On this basis, utilize wavelet transformation can use the characteristic of Fast Fourier Transform (FFT), shared time when improving the calculation window size, make whole process speed accelerate greatly.The present invention has not only solved the violent regional phase place of saltus step and has asked for the problem of precision, and has improved treatment effeciency.After obtaining accurate absolute phase and distributing, to the height conversion formula, finally obtain measuring the three-dimensional information of object according to the phase place of classical optical grating projection.
Under windows operating system, use VC++6.0 as programming tool, the black and white deforming stripe image that CCD collects is handled.This example adopts the plastics backplate as testee, finally obtains the more accurate whole audience absolute phase that contains the backplate three-dimensional information and distributes.
Be illustrated in figure 1 as the process flow diagram of the inventive method, the specific implementation step is as follows:
Step 1) to the testee surface, uses the CCD camera that the testee surface is taken the black and white strip image projection, obtain a panel height degree and be c, width and be r deforming stripe image g (x, y), c is that 1020, r is 1020 in the present embodiment:
G (x, y)=A (x, y)+B (x, y) cos [2 π f
0X+ φ (x, y)] (1) formula
Wherein, (x y) is the background light distribution to A, and (x y) is the body surface reflectivity, f to B
0Be the sine streak frequency, f in the present embodiment
0Be that (x y) is relative phase distribution plan to be asked to 0.05, φ, (x, y) two-dimensional coordinate of expression deforming stripe image; Fig. 3 is the deforming stripe image of backplate.
Step 2), to deforming stripe figure g (x y) does wavelet transformation line by line, obtains the approximate scale factor of deforming stripe image every bit, and detailed process is as follows:
Step 2.1), y is considered as constant y
1, adopt one-dimensional wavelet transform to deforming stripe image g (x, y y)
1Row is handled, and processing procedure is:
Wherein, y
1The row number of representing certain delegation; A is scale factor, and span is 10 to 90, gets a value every 0.2; B is shift factor, and span is 1 to the width r of striped, gets a value every 1, and unit is pixel; Obtain through one-dimensional wavelet transform
Be the two-dimentional complex matrix of one 400 capable r row, claim y
1The row wavelet transform matrix, a
1It is matrix
The line label of middle element; Wherein,
M
* A, b(x) be M
A, b(x) conjugate function; Wavelet function M (x) according to formula (3) obtains M
* A, b(x) expression formula is suc as formula (4):
Wherein, f
bBe the bandwidth of wavelet function, value is 0.8, f in the present embodiment
cBe the centre frequency of wavelet function, value is that 1, i is complex unit in the present embodiment, and x is independent variable.
Step 2.2), ask for stripe pattern g (x, approximate scale factor distribution plan f y)
A1(x, y
1):
The a single point experiment effect is searched for modular matrix as shown in Figure 4
The element of x column mean maximum, and with modular matrix
The line label assignment of x column mean greatest member give a
Max, the approximate scale factor distribution plan f of stripe pattern then
A1(x, y
1) at coordinate (x, y
1) locate numerical value a
RxBe a
Rx=10+0.2 * a
MaxTravel through all coordinate points of stripe pattern, try to achieve the approximate scale factor distribution plan f of stripe pattern
A1(x, y) as shown in Figure 4.
Step 3) is to through step 2.1) deforming stripe figure behind the wavelet transformation removes wavelet transformation ridge error, obtains the accurate scale factor of deforming stripe image every bit, and detailed process is as follows:
Step 3.1), remove through step 3.1) the ridge error of each coordinate points of deforming stripe image behind the wavelet transformation, because small echo ridge method is only chosen
Value before, and be easy to occur the violent zone of phase hit in actual use,
Also no longer be to go to zero and the amount that can eliminate, exist usually
Change big zone
To tend towards stability, at this moment
To ridge to ask for precision influence very low, so can suppose in the violent zone of saltus step
Be 0.Therefore we can be shown phase meter:
Even in processing procedure, occur violent hop region like this, owing to considered
The error of bringing will significantly reduce the error of calculation, so the simplification process is in the wavelet transform process process:
W (x, y
1)=W
0+ W
1+ W
2+ ε
0(7) formula
W
0, W
1, W
2Be respectively the simplification expression formula in the wavelet transformation computation process, form is as follows:
W (x, y wherein
1) be the wavelet transformation reduced form of any pixel among the deforming stripe figure, wherein ε
0Expression is owing to the phase place second order of every bit among the deforming stripe figure is led the error of bringing, and its expression formula is:
Wherein t is the intermediate computations variable,
Expression phase place second order is led,
Expression phase place single order is led, and wherein comprises variable a, as seen
When big,
To depart from ridge frequently.Because wavelet transformation is constantly to use different scale factor a to ask for ridge frequently (wherein scale factor a changes to 90 with 0.2 amplitude from 10) to every bit, so wavelet transformation W (x, y
1)=W
0+ W
1+ W
2+ ε
0In each point by frequently removing ε
0, ask for W again
ε(x, y
1)=W
0+ W
1+ W
2Ridge, just can obtain comparatively accurate
ε
0In have only
A unknown quantity utilizes following method to be similar to and asks for
Differentiate gets to f
Pairing approximation scale factor differentiate is line by line obtained
Obtain
Obtain the ε of corresponding scale factor a at last
0, obtain ε
0Be that the one dimension plural number array of 400 row is at coordinate (x, y
1) error array ε
0(x, y
1).W (x, y
1) in pointwise deduct error ε
0(x, y
1), obtain the value W of accurate wavelet transformation ridge
ε(x, y
1)=W
0+ W
1+ W
2, obtain the accurate wavelet transformation ridge matrix W of each row
400 * r, matrix W
400 * rIt is the complex matrix of 400 row r row.
Step 3.2), ask for the exact scale factor distribution plan f of stripe pattern
A2(x, y):
Obtain W
400 * rThe modular matrix C of correspondence
400 * r(a
1, b), search modular matrix C
400* r (a
1, the b) element of x column mean maximum, and with modular matrix C
400 * r(a
1, the line label assignment of x column mean greatest member b) is given a
Amax, the approximate scale factor distribution plan f of stripe pattern then
A2(x, y
1) at coordinate (x, y
1) locate numerical value a
AcrFor: a
Acr=10+0.2 * a
Amax
Travel through all coordinate points of stripe pattern, try to achieve the exact scale factor distribution plan f of stripe pattern
A2(x, y) as shown in Figure 6.
Step 4) is done the window Fourier transform line by line to deforming stripe figure, obtains deforming stripe figure relative phase distribution plan, and detailed process is as follows:
Step 4.1), y is considered as constant, adopt the one dimension window fourier transform to deforming stripe image g (x, every row y) is handled, one dimension window fourier transform process is:
Its frequency-domain expression is:
Wherein, g (x) is delegation's stripe pattern; (ξ represents the frequency-domain calculations factor to WF for b, ξ) expression one dimension window fourier transform, and δ represents the window size factor of one dimension window Fourier, and the δ value is one dimension position of window (x-b, y) Dui Ying exact scale factor distribution plan f
A2(x, the y) value of the point on the relevant position, W
δ(x-b) expression window function, expression formula is:
Wherein, n represents order, and value is 0,1,2 successively ..., infinite; P
n(f
s-nf
0, y) corresponding n rank frequency spectrum after the expression any point Fourier transform; f
sThe variable of expression frequency domain;
Step 4.2), to the spectral filtering after the Fourier transform and extract phase information, detailed process is as follows:
To P
n(f
s-nf
0, y) carry out filtering and extract first order spectrum P
1(f
s-f
0, y), again to P
1(f
s-f
0, y) carry out inverse Fourier transform, obtain containing B (x, y) the exp[i φ (x of phase information, y)], calculate B (x, y) exp[i φ (x, y)] angle value can obtain containing object height information deforming stripe figure relative phase value φ (x, y), the phase value that obtains is between 0-2 π;
Travel through all coordinate points of stripe pattern, obtain the relative phase distribution plan φ of deforming stripe figure
A(x, y), the wrapped phase lab diagram as shown in Figure 7.
Step 5) is set up stripe pattern quality figure, adopts the flood algorithm to launch relative phase distribution plan φ
A(x y), obtains actual phase figure
Detailed process is as follows:
Step 5.1), utilize the phase gradient among the relative phase figure to set up quality figure, the reliability that phase gradient also can indicate this place's phase place to find the solution, phase gradient is more big, illustrate that this zone may exist object height discontinuous or find the solution problems such as mistake, reliability is lower, and phase gradient is more little, illustrate that this zone should belong to mild zone, reliability is higher; Quality figure can calculate according to following formula:
W wherein
Rap{ } is the parcel function, on dutyly it deducted or add during greater than 2 π or less than-2 π 2 π.
Step 5.2), central authorities find the highest coordinate points of mass value at the relative phase distribution plan, select this as the starting point of phase unwrapping, this point are put into the stack of a sky;
Step 5.3), judge whether stack is empty; If then the phase unwrapping process finishes, and obtains launching phase result
And enter step 6); If not, eject the point of stack top, launch not have in neighbours' point of this some the coordinate points of processing, and these untreated points are stacked.
Step 5.4), will have a few ordering in the stack according to the mass value among the quality figure, the point that quality is the highest is placed on stack top, forwards step 5.3 to) continue to handle, final phase unwrapping lab diagram is as shown in Figure 8.
Step 6) reads final expansion phase result
According to classical optical grating projection from launching phase result
(x, conversion formula y) are finally tried to achieve the three-dimensional information of measuring object to object height h; Wherein conversion formula h (x y) is:
Wherein, l, d are the geometric parameters of measuring system, l be projector to the distance of measurement plane, l is 164 centimetres in the present embodiment, d be the CCD camera to the distance of projector, d is 58 centimetres in the present embodiment;
The expression phase changing capacity,
Be the expansion phase result,
Be initial phase result, ω
0Angular frequency for projection grating.Fig. 9 is for measuring object dimensional information.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (1)
1. the improvement window Fourier three-dimensional measurement method based on wavelet transformation is characterized in that, comprises the steps:
Step 1) to the testee surface, uses the CCD camera that the testee surface is taken the black and white strip image projection, obtain a panel height degree and be c, width and be r deforming stripe image g (x, y):
G (x, y)=A (x, y)+B (x, y) cos[2 π f
0X+ φ (x, y)] (1) formula
Wherein, (x y) is the background light distribution to A, and (x y) is the body surface reflectivity, f to B
0Be the sine streak frequency, (x y) is relative phase distribution plan to be asked to φ, (x, y) two-dimensional coordinate of expression deforming stripe image;
Step 2), to described deforming stripe figure g (x y) does wavelet transformation line by line, obtains the approximate scale factor of deforming stripe image every bit, and detailed process is as follows:
Step 2.1), y is considered as constant y
1, adopt one-dimensional wavelet transform to described deforming stripe image g (x, y y)
1Row is handled, and processing procedure is:
Wherein, y
1The row number of representing certain delegation; A is scale factor, and span is 10 to 90, gets a value every 0.2; B is shift factor, and span is 1 to the width r of striped, gets a value every 1, and unit is pixel; Obtain through one-dimensional wavelet transform
Be the two-dimentional complex matrix of one 400 capable r row, claim y
1The row wavelet transform matrix, a
1It is matrix
The line label of middle element; Wherein,
M
* A, b(x) be M
A, b(x) conjugate function; Wavelet function M (x) according to formula (3) obtains M
* A, b(x) expression formula is suc as formula (4):
Wherein, f
bBe the bandwidth of wavelet function, f
cBe the centre frequency of wavelet function, i is complex unit, and x is independent variable;
Step 2.2), ask for stripe pattern g (x, approximate scale factor distribution plan f y)
A1(x, y
1):
Calculate two-dimentional complex matrix
The modular matrix of correspondence
The search modular matrix
The element of x column mean maximum, and with modular matrix
The line label assignment of x column mean greatest member give a
Max, the approximate scale factor distribution plan f of stripe pattern then
A1(x, y
1) at coordinate (x, y
1) locate numerical value a
RxBe a
Rx=10+0.2 * a
Max
Travel through all coordinate points of stripe pattern, try to achieve the approximate scale factor distribution plan f of stripe pattern
A1(x, y);
Step 3) is to through described step 2.1) deforming stripe figure behind the wavelet transformation removes wavelet transformation ridge error, obtains the accurate scale factor of deforming stripe image every bit, and detailed process is as follows:
Step 3.1), remove the ridge error of each coordinate points of deforming stripe image, processing procedure is:
W (x, y
1)=W
0+ W
1+ W
2+ ε
0(5) formula
W (x, y wherein
1) be the wavelet transformation reduced form of any coordinate points among the deforming stripe figure, wherein ε
0Expression is led the error of bringing by the phase place second order of every bit among the deforming stripe figure, and its expression formula is:
(6) formula
Wherein, t is the intermediate computations variable,
Expression phase place second order is led, and pairing approximation scale factor differentiate is line by line obtained
Obtain
Obtain the ε of corresponding scale factor a at last
0, obtain ε
0Be that the one dimension plural number array of 400 row is at coordinate (x, y
1) coordinate points on error array ε
0(x, y
1); W
0, W
1, W
2Be respectively the simplification expression formula in the wavelet transformation computation process, form is as follows:
Wherein,
For phase place,
Expression phase place derivative, W (x, y
1) in pointwise deduct error ε
0(x, y
1), obtain the value W of accurate wavelet transformation ridge
ε(x, y
1)=W
0+ W
1+ W
2, obtain the accurate wavelet transformation ridge matrix W of each row
400 * r, matrix W
400 * rIt is the complex matrix of 400 row r row;
Step 3.2), ask for the exact scale factor distribution plan f of stripe pattern
A2(x, y):
Obtain W
400 * rThe modular matrix C of correspondence
400 * r(a
1, b), search modular matrix C
400 * r(a
1, the b) element of x column mean maximum, and with modular matrix C
400 * r(a
1, the line label assignment of x column mean greatest member b) is given a
Amax, the approximate scale factor distribution plan f of stripe pattern then
A2(x, y
1) at coordinate (x, y
1) locate numerical value a
AcrFor: a
Acr=10+0.2 * a
Amax
Travel through all coordinate points of stripe pattern, try to achieve the exact scale factor distribution plan f of stripe pattern
A2(x, y);
Step 4) is done the window Fourier transform line by line to deforming stripe figure, obtains deforming stripe figure relative phase distribution plan, and detailed process is as follows:
Step 4.1), y is considered as constant, adopt the one dimension window fourier transform to deforming stripe image g (x, every row y) is handled, one dimension window fourier transform process is:
Its frequency-domain expression is:
Wherein, g (x) is delegation's stripe pattern; (ξ represents the frequency-domain calculations factor to WF for b, ξ) expression one dimension window fourier transform, and δ represents the window size factor of one dimension window Fourier, and the δ value is one dimension position of window (x-b, y) Dui Ying exact scale factor distribution plan f
A2(x, the y) value of the point on the relevant position, W
δ(x-b) expression window function, expression formula is:
Wherein, n represents order, and value is 0,1,2 successively ..., infinite; P
n(f
s-nf
0, y) corresponding n rank frequency spectrum after the expression any point Fourier transform; f
sThe variable of expression frequency domain;
Step 4.2), to the spectral filtering after the Fourier transform and extract phase information, detailed process is as follows:
To P
n(f
s-nf
0, y) carry out filtering and extract first order spectrum P
1(f
s-f
0, y), again to P
1(f
s-f
0, y) carry out inverse Fourier transform, obtain containing B (x, y) the exp[i φ (x of phase information, y)], calculate B (x, y) exp[i φ (x, y)] angle value can obtain containing object height information deforming stripe figure relative phase value φ (x, y), the phase value that obtains is between 0-2 π;
Travel through all coordinate points of stripe pattern, obtain the relative phase distribution plan φ of deforming stripe figure
A(x, y);
Step 5) is set up stripe pattern quality figure, adopts the flood algorithm to launch relative phase distribution plan φ
A(x y), obtains actual phase figure
Detailed process is as follows:
Step 5.1), utilize the phase gradient in the relative phase distribution plan to set up quality figure, quality figure can calculate according to following formula:
W wherein
Rap{ } is the parcel function, on dutyly it deducted or add during greater than 2 π or less than-2 π 2 π;
Step 5.2), central authorities find the highest coordinate points of mass value at the relative phase distribution plan, select this as the starting point of phase unwrapping, this point are put into the stack of a sky;
Step 5.3), judge whether stack is empty; If then the phase unwrapping process finishes, and obtains launching phase result
And enter step 6); If not, eject the point of stack top, launch not have in neighbours' point of this some the coordinate points of processing, and these untreated points are stacked;
Step 5.4), will have a few ordering in the stack according to the mass value among the quality figure, the point that quality is the highest is placed on stack top, forwards step 5.3 to) continue to handle;
Step 6) reads final expansion phase result
According to classical optical grating projection from launching phase result
(x, conversion formula y) are finally tried to achieve the three-dimensional information of measuring object to object height h; Wherein conversion formula h (x y) is:
Wherein, l, d are the geometric parameters of measuring system, l be projector to the distance of measurement plane, d is that the CCD camera is to the distance of projector;
The expression phase changing capacity,
Be the expansion phase result,
Be initial phase result, ω
0Angular frequency for projection grating.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310189119.3A CN103267496B (en) | 2013-05-20 | 2013-05-20 | A kind of improvement window Fourier three-dimensional measurement method based on wavelet transformation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310189119.3A CN103267496B (en) | 2013-05-20 | 2013-05-20 | A kind of improvement window Fourier three-dimensional measurement method based on wavelet transformation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103267496A true CN103267496A (en) | 2013-08-28 |
CN103267496B CN103267496B (en) | 2016-01-27 |
Family
ID=49011137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310189119.3A Active CN103267496B (en) | 2013-05-20 | 2013-05-20 | A kind of improvement window Fourier three-dimensional measurement method based on wavelet transformation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103267496B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104156716A (en) * | 2014-08-15 | 2014-11-19 | 山东大学 | Phase extraction-based no-color difference three-dimensional character image processing method |
CN105066905A (en) * | 2015-07-20 | 2015-11-18 | 中国科学院上海光学精密机械研究所 | Wavelet transform profilometry noise suppression method |
CN105783785A (en) * | 2016-04-11 | 2016-07-20 | 重庆理工大学 | Wavelet-ridge phase extraction method |
CN106901697A (en) * | 2017-03-03 | 2017-06-30 | 哈尔滨理工大学 | A kind of method for testing three-dimensional Fourier transform chest and abdomen surface measurement means |
CN107014313A (en) * | 2017-05-16 | 2017-08-04 | 深圳大学 | The method and system of weighted least-squares phase unwrapping based on S-transformation ridge value |
CN107977994A (en) * | 2016-10-21 | 2018-05-01 | 上海交通大学 | Method for measuring plan-position of the measured object on reference substance |
CN109443250A (en) * | 2018-12-07 | 2019-03-08 | 成都信息工程大学 | A kind of structural light three-dimensional face shape vertical measurement method based on S-transformation |
CN111521112A (en) * | 2020-04-23 | 2020-08-11 | 西安工业大学 | Fourier and window Fourier transform combined phase reconstruction algorithm |
CN111651954A (en) * | 2020-06-10 | 2020-09-11 | 嘉兴市像景智能装备有限公司 | Method for three-dimensional reconstruction of SMT electronic component based on deep learning |
CN114111636A (en) * | 2021-11-19 | 2022-03-01 | 四川大学 | Three-dimensional surface shape measuring method based on double-angle rotation wavelet transformation |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887171A (en) * | 2010-07-09 | 2010-11-17 | 哈尔滨工业大学 | Evaluation method of influence of optical element surface waviness on laser damage threshold and method for obtaining element optimal processing parameters therefrom |
CN102032877A (en) * | 2010-11-30 | 2011-04-27 | 东南大学 | Three-dimensional measuring method based on wavelet transformation |
CN102620685A (en) * | 2012-03-23 | 2012-08-01 | 东南大学 | Improved window Fourier three-dimensional measurement method based on Stockwell transform |
JP2012202771A (en) * | 2011-03-24 | 2012-10-22 | Fujitsu Ltd | Three-dimensional surface shape calculation method of measuring target and three-dimensional surface shape measuring apparatus |
-
2013
- 2013-05-20 CN CN201310189119.3A patent/CN103267496B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887171A (en) * | 2010-07-09 | 2010-11-17 | 哈尔滨工业大学 | Evaluation method of influence of optical element surface waviness on laser damage threshold and method for obtaining element optimal processing parameters therefrom |
CN102032877A (en) * | 2010-11-30 | 2011-04-27 | 东南大学 | Three-dimensional measuring method based on wavelet transformation |
JP2012202771A (en) * | 2011-03-24 | 2012-10-22 | Fujitsu Ltd | Three-dimensional surface shape calculation method of measuring target and three-dimensional surface shape measuring apparatus |
CN102620685A (en) * | 2012-03-23 | 2012-08-01 | 东南大学 | Improved window Fourier three-dimensional measurement method based on Stockwell transform |
Non-Patent Citations (2)
Title |
---|
翁嘉文等: "小波变换在载频条纹相位分析法中的应用研究", 《光学学报》, vol. 25, no. 4, 30 April 2005 (2005-04-30), pages 454 - 459 * |
郑素珍等: "三维面形测量中小波变换和傅里叶变换的对比研究", 《激光杂志》, vol. 27, no. 1, 31 January 2006 (2006-01-31), pages 48 - 50 * |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104156716A (en) * | 2014-08-15 | 2014-11-19 | 山东大学 | Phase extraction-based no-color difference three-dimensional character image processing method |
CN104156716B (en) * | 2014-08-15 | 2017-10-17 | 山东大学 | A kind of three-dimensional character image processing method of the no color differnece based on phase extraction |
CN105066905A (en) * | 2015-07-20 | 2015-11-18 | 中国科学院上海光学精密机械研究所 | Wavelet transform profilometry noise suppression method |
CN105066905B (en) * | 2015-07-20 | 2018-01-12 | 中国科学院上海光学精密机械研究所 | Wavelet transform profilometry noise restraint method |
CN105783785A (en) * | 2016-04-11 | 2016-07-20 | 重庆理工大学 | Wavelet-ridge phase extraction method |
CN105783785B (en) * | 2016-04-11 | 2018-05-15 | 重庆理工大学 | A kind of Wavelet Ridge phase extraction method |
CN107977994B (en) * | 2016-10-21 | 2023-02-28 | 上海交通大学 | Method for measuring the planar position of a measured object on a reference object |
CN107977994A (en) * | 2016-10-21 | 2018-05-01 | 上海交通大学 | Method for measuring plan-position of the measured object on reference substance |
CN106901697A (en) * | 2017-03-03 | 2017-06-30 | 哈尔滨理工大学 | A kind of method for testing three-dimensional Fourier transform chest and abdomen surface measurement means |
CN107014313A (en) * | 2017-05-16 | 2017-08-04 | 深圳大学 | The method and system of weighted least-squares phase unwrapping based on S-transformation ridge value |
CN107014313B (en) * | 2017-05-16 | 2020-02-07 | 深圳大学 | Method and system for weighted least square phase unwrapping based on S-transform ridge value |
CN109443250B (en) * | 2018-12-07 | 2021-03-16 | 成都信息工程大学 | Structured light three-dimensional surface shape vertical measurement method based on S transformation |
CN109443250A (en) * | 2018-12-07 | 2019-03-08 | 成都信息工程大学 | A kind of structural light three-dimensional face shape vertical measurement method based on S-transformation |
CN111521112A (en) * | 2020-04-23 | 2020-08-11 | 西安工业大学 | Fourier and window Fourier transform combined phase reconstruction algorithm |
CN111651954A (en) * | 2020-06-10 | 2020-09-11 | 嘉兴市像景智能装备有限公司 | Method for three-dimensional reconstruction of SMT electronic component based on deep learning |
CN111651954B (en) * | 2020-06-10 | 2023-08-18 | 嘉兴市像景智能装备有限公司 | Method for reconstructing SMT electronic component in three dimensions based on deep learning |
CN114111636A (en) * | 2021-11-19 | 2022-03-01 | 四川大学 | Three-dimensional surface shape measuring method based on double-angle rotation wavelet transformation |
CN114111636B (en) * | 2021-11-19 | 2022-10-14 | 四川大学 | Three-dimensional surface shape measuring method based on double-angle rotation wavelet transformation |
Also Published As
Publication number | Publication date |
---|---|
CN103267496B (en) | 2016-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102620685B (en) | Improved window Fourier three-dimensional measurement method based on Stockwell transform | |
CN103267496A (en) | Improved window Fourier three-dimensional measuring method based on wavelet transform | |
CN101422787B (en) | Strip-steel flatness measuring method based on single-step phase-shift method | |
CN102628676B (en) | Adaptive window Fourier phase extraction method in optical three-dimensional measurement | |
CN106526590B (en) | A kind of fusion multi-source SAR image industrial and mining area three-dimensional earth's surface deformation monitorings and calculation method | |
CN113624122B (en) | Bridge deformation monitoring method fusing GNSS data and InSAR technology | |
CN103017653B (en) | Registration and measurement method of spherical panoramic image and three-dimensional laser scanning point cloud | |
CN101986098A (en) | Tricolor raster projection-based Fourier transform three-dimensional measuring method | |
CN102032877B (en) | Three-dimensional measuring method based on wavelet transformation | |
CN104061879B (en) | A kind of structural light three-dimensional face shape vertical survey method continuously scanned | |
CN107389029A (en) | A kind of surface subsidence integrated monitor method based on the fusion of multi-source monitoring technology | |
CN101893710A (en) | Non-uniform distributed multi-baseline synthetic aperture radar three-dimensional imaging method | |
CN105043298A (en) | Quick three-dimensional shape measurement method without phase unwrapping based on Fourier transform | |
CN109945802B (en) | Structured light three-dimensional measurement method | |
CN103983343B (en) | A kind of satellite platform based on multispectral image tremble detection method and system | |
CN104482877A (en) | Motion compensation method and system in three-dimensional imaging of dynamic object | |
Zhu et al. | Tomo-GENESIS: DLR's tomographic SAR processing system | |
CN109631798A (en) | A kind of 3 d shape vertical measurement method based on π phase shifting method | |
CN107014313B (en) | Method and system for weighted least square phase unwrapping based on S-transform ridge value | |
CN107918127A (en) | A kind of road slope deformation detecting system and method based on vehicle-mounted InSAR | |
CN110686652B (en) | Depth measurement method based on combination of depth learning and structured light | |
CN103713287A (en) | Elevation reestablishing method and device based on coprime of multiple base lines | |
CN105043301A (en) | Grating strip phase solving method used for three-dimensional measurement | |
CN109239710B (en) | Method and device for acquiring radar elevation information and computer-readable storage medium | |
CN110375675A (en) | Binocular optical grating projection measurement method based on space phase expansion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder | ||
CP02 | Change in the address of a patent holder |
Address after: 210093 Nanjing University Science Park, 22 Hankou Road, Gulou District, Nanjing City, Jiangsu Province Patentee after: Southeast University Address before: 211103 No. 5 Runfa Road, Jiangning District, Nanjing City, Jiangsu Province Patentee before: Southeast University |