CN104457615B - Three-dimension digital imaging method based on generalized S-transform - Google Patents
Three-dimension digital imaging method based on generalized S-transform Download PDFInfo
- Publication number
- CN104457615B CN104457615B CN201410648482.1A CN201410648482A CN104457615B CN 104457615 B CN104457615 B CN 104457615B CN 201410648482 A CN201410648482 A CN 201410648482A CN 104457615 B CN104457615 B CN 104457615B
- Authority
- CN
- China
- Prior art keywords
- bar graph
- gray scale
- scale bar
- deformation
- original gradation
- 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
- 238000003384 imaging method Methods 0.000 title claims abstract description 35
- 238000005457 optimization Methods 0.000 claims abstract description 29
- 238000000034 method Methods 0.000 claims abstract description 14
- 238000001914 filtration Methods 0.000 claims abstract description 13
- 239000011159 matrix material Substances 0.000 claims description 66
- 238000001228 spectrum Methods 0.000 claims description 7
- 238000013507 mapping Methods 0.000 claims description 3
- 241000208340 Araliaceae Species 0.000 claims 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims 1
- 235000003140 Panax quinquefolius Nutrition 0.000 claims 1
- 235000008434 ginseng Nutrition 0.000 claims 1
- 230000003287 optical effect Effects 0.000 abstract description 3
- 230000009466 transformation Effects 0.000 description 5
- 210000001747 pupil Anatomy 0.000 description 4
- 238000000844 transformation Methods 0.000 description 4
- 238000005259 measurement Methods 0.000 description 3
- 238000002377 Fourier profilometry Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000003595 spectral effect Effects 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 235000009508 confectionery Nutrition 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012634 optical imaging Methods 0.000 description 1
- 230000010363 phase shift Effects 0.000 description 1
- 238000012372 quality testing Methods 0.000 description 1
- 238000009738 saturating Methods 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 238000012876 topography Methods 0.000 description 1
Abstract
The invention discloses a kind of three-dimension digital imaging method based on generalized S-transform, including:Coding is carried out to structure light and generates sinusoidal gray scale bar graph, the deformation gray scale bar graph that video camera obtains the original gradation bar graph in monoscopic and modulated by object depth information;The generalized S-transform based on energy intensity optimization and encircled energy principle is carried out, and the fundamental component of gray scale bar graph is calculated by filtering method;Inverse Fourier transform is carried out to fundamental component, then Jing takes the wrapped phase that phase angle obtains gray scale bar graph;Phase unwrapping is carried out to wrapped phase and the phase difference of original gradation bar graph and deformation gray scale bar graph is obtained according to the result of phase unwrapping;According to Fourier Transform Profilomery measuring principle and phase difference, the three-dimensional coordinate of the object to be imaged per is calculated.The present invention has the advantages that high precision and wide adaptability, can be widely applied to 3 D digital imaging and optical 3-dimensional rebuilds field.
Description
Technical field
The invention belongs to 3 D digital imaging and optical 3-dimensional rebuild field, generalized S-transform is based on more particularly, to a kind of
Three-dimension digital imaging method.
Background technology
Application Optics is come to carry out 3 D digital imaging be an emerging ambit in recent years, and is further development of essence
True three-dimensional measurement technology, which is widely used in commercial measurement, quality testing, machine vision, intelligence machine control and biomedicine
All many-sides such as diagnosis.At present by object to be imaged projective structure light, solving phase information to carry out three from structure light
The method of dimension word imaging mainly has Moire topography art, phase measuring profilometer and Fourier transform profilometry etc..More takes turns
Wide art has used moire fringe projection, but the method cannot initiative recognition depth picture concavo-convex and phase difference be less than it is corresponding during 2 π
Elevation information.Phase measuring profilometer is then needed to several structure lights of project objects, then by phase shift algorithm calculating depth
, as the phase value of every bit, computationally intensive, time-consuming for degree.Fourier transform profilometry only need to be to project objects once (or twice)
Structure light, then just can extract the phase information modulated by object height, but if being imaged using Fast Fourier Transform (FFT)
Object height changes in distribution rate is big, and the algorithm cannot can accurately extract one-level frequency spectrum because of spectral aliasing, so as to cause phase place to be believed
The extraction error of breath is larger.And the accuracy of the phase information extracted then directly is determined and recovers the accurate of object dimensional pattern
Degree.
The advantage of adding window Fourier transformation and wavelet transformation is combined based on the phase demodulation technique of S-transformation, which is not losing sky
Between information while, the contact in signal spatial domain/between time domain and frequency is set up by the form of time frequency analysis.Therefore work as signal
Non-flat stability when causing the aliasing between useful fundamental frequency and other frequency contents, it is possible to use S-transformation is effectively avoided
Spectral aliasing, and then solve phase information.Although in S-transformation, the shape of window can change with frequency, with good time-frequency
Resolution ratio, but its window size determines by the real-time frequency of signal all the time and can not be changed with the change of frequency change rate, this
Prevent S-transformation in the larger signal of processing frequency rate of change from being accurately positioned fundamental component, its solution phase precision it is not high, it is right
The object adaptability for possessing different depth rate of change is not wide.
The content of the invention
In order to solve above-mentioned technical problem, the purpose of the present invention is:There is provided a kind of high precision and wide adaptability based on wide
The three-dimension digital imaging method of adopted S-transformation.
The technical solution adopted for the present invention to solve the technical problems is:
Based on the three-dimension digital imaging method of generalized S-transform, including:
S1, coding is carried out to structure light generate sinusoidal gray scale bar graph, and by projector equipment by sinusoidal gray scale bar graph
It is projeced in reference planes, the original gradation bar graph g in monoscopic is obtained by video camera1(x, y), then by the object to be imaged
It is positioned in reference planes, the deformation gray scale bar graph g in monoscopic by object depth information modulation is obtained by video camera2(x,
y);
S2, original gradation bar graph g respectively to obtaining1(x, y) and deformation gray scale bar graph g2(x, y) is carried out based on energy
The generalized S-transform of amount strength optimization and encircled energy principle, and original gradation bar graph g is calculated by filtering method1(x,
Y) fundamental component f1(x, y) and deformation gray scale bar graph g2The fundamental component f of (x, y)2(x, y);
S3, fundamental component f respectively to extracting from two width gray scale bar graphs1(x, y) and f2(x, y) carries out Fourier
Inverse transformation, then takes phase angle to the result of inverse Fourier transform respectively, obtains original gradation bar graph g1The parcel phase of (x, y)
PositionWith deformation gray scale bar graph g2The wrapped phase of (x, y)
S4, to wrapped phaseWithPhase unwrapping is carried out respectively obtains continuous phase distributionWithAnd the phase difference comprising object depth modulation information is obtained according to the result of phase unwrappingThe phase differenceComputing formula be:
S5, the camera parameters and Object Depth of according to Fourier Transform Profilomery measuring principle, demarcating monocular imaging system
With the mapping relations of phase place change, and according to the phase difference for obtainingThe three-dimensional coordinate of the object to be imaged per is calculated, from
And realize the 3 D digital imaging of the object to be imaged.
Further, step S2, which includes:
S21, original gradation bar graph g respectively to obtaining1(x, y) and deformation gray scale bar graph g2Each traveling of (x, y)
Row obtains original gradation bar graph g based on energy intensity optimization and the generalized S-transform of encircled energy principle1(x, y) and deformation
Gray scale bar graph g2The optimal S-transformation matrix of (x, y) per a line, the definition of the generalized S-transform is:
Wherein, f is frequency, yk=1,2 ..., ymax,g(x,yk) represent gray scale bar graph row k, w (b-x, σ
(f)) represent be centrally located at x=b and standard deviation for σ (f) Gauss function, σ (f)=1/ | f |p, p is constant;
S22, respectively to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2The optimal S of (x, y) per a line becomes
The filtering that matrix carries out based on local spectrum is changed, original gradation bar graph g is obtained1(x, y) and deformation gray scale bar graph g2(x, y)
Fundamental component per a line, then the every a line fundamental component for obtaining is overlapped in the y-direction, so as to obtain original gradation striped
Figure g1The two-dimentional fundamental component f of (x, y)1(x, y) and deformation gray scale bar graph g2The two-dimentional fundamental component f of (x, y)2(x, y).
Further, step S21, which includes:
S211, the initial value p to parameter p of Gauss function in generalized S-transform0, iteration interval Δ p and iteration final value ptEnter
Row is arranged;
S212, respectively to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2Every a line application of (x, y) is wide
Adopted S-transformation, so as to obtain every a line g of original gradation bar graph1(x,yk) with deformation gray scale bar graph every a line g2(x,yk)
A series of S-transformation matrixes when parameter p takes different valueWithThe S-transformation matrixWithExpression formula be:
S213, to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2A series of S-transformations of (x, y) per a line
MatrixWithMatrix " ridge " is found respectively:If a certain S-transformation matrix Sp(b, f) is at point (b, f) place
Energy intensity is the absolute value of its amplitude | Sp(b, f) |, then for each spatial point bii, bii=1,2 ... ..., bmax, its energy
Will be corresponding to S during amount intensity acquirement maximumpA maximum of points in (b, f) is to (bii, fii), and own in all spatial points
The set of maximum of points pair constitutes S-transformation matrix Sp" ridge " Ω (b of (b, f)ii,fii);
S214, to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2A series of S-transformations of (x, y) per a line
MatrixWith" ridge " carry out the setting of energy intensity threshold value, and according to the energy intensity threshold for arranging
Value carries out energy intensity optimization to S-transformation matrix, so as to obtain original gradation bar graph g1(x, y) and deformation gray scale bar graph g2
A series of S-transformation matrixes of (x, y) each energy intensity optimization of passing throughWith
Each S-transformation square in S215, a series of S-transformation matrixes of energy intensity optimization of passing through each to gray scale bar graph
Battle array Sp(b, f), one by one Frequency point fjjCalculate Frequency point fjjEncircled energy CM (the f of correspondence rowjj, p), the energy is concentrated
Degree CM (fjj, expression formula p) is:
Wherein, q is constant, fjj=1,2 ... ..., fmax;
S216, to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2(x, y) each energy intensity of passing through is excellent
A series of S-transformation matrixes changedWithThis line is pieced together out most using encircled energy principle
Good S-transformation matrixWith
Further, step S214, which is specially:
One unified energy intensity threshold value E is set, a series of S-transformation matrixes of the gray scale bar graph per a line are then judged
In any one S-transformation matrix SpOn " ridge " of (b, f), energy intensity minimum of a value with the ratio of energy intensity maximum on " ridge " is
It is no less than E, if so, then reject this S-transformation matrix Sp(b, f), conversely, then retain, so as to obtain original gradation bar graph g1(x,
Y) with deformation gray scale bar graph g2A series of S-transformation matrixes of (x, y) each energy intensity optimization of passing throughWith
Further, step S216, which is specially:
A series of S-transformation matrix of the Jing energy intensities optimizations to gray scale bar graph per a lineOne by one frequently
Rate point fjjComparison corresponds to the encircled energy CM (f of that a linejj, p), select the S-transformation matrix work of that row of encircled energy maximum
To correspond to the optimal S-transformation matrix that a line pieces together outThe optimal S-transformation matrixMeet:
Further, step S22, which includes:
S221, according to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2The optimal S-transformation of (x, y) per a line
Matrix is accurately positioned to local fundamental component;
S222, according to default filtering window function, respectively to original gradation bar graph g1(x, y) and deformation gray scale bar graph
g2The optimal S-transformation matrix of (x, y) per a line carries out the filtering based on local spectrum, obtains original gradation bar graph g1(x, y) is every
Capable local fundamental componentAnd deformation gray scale bar graph g2(x, y) often capable local fundamental component
S223, the local fundamental component by two width gray scale bar graphs per a line make local fundamental component along space x-axis respectively
Superposition, obtains original gradation bar graph g1(x, y) and deformation gray scale bar graph g2The fundamental component f of (x, y) per a line1(x, yk)
With f2(x, yk);
S224, the fundamental component f by two width gray scale bar graphs per a line1(x, yk) and f2(x, yk) folded along space y-axis respectively
Plus, obtain original gradation bar graph g1The two-dimentional fundamental component f of (x, y)1(x, y) and deformation gray scale bar graph g2The two dimension of (x, y)
Fundamental component f2(x, y).
Further, step S3, which is specially:
Respectively to original gradation bar graph g1The two-dimentional fundamental component f of (x, y)1(x, y) and deformation gray scale bar graph g2(x,
Y) two-dimentional fundamental component f2(x, y) does inverse Fourier transform, obtains fundamental frequency complex signal C of two width gray scale bar graphs1With C2, so
Afterwards respectively to fundamental frequency complex signal C1With C2Phase angle is taken, original gradation bar graph g is obtained1The wrapped phase of (x, y)With
Deformation gray scale bar graph g2The wrapped phase of (x, y)The wrapped phaseAnd wrapped phaseMathematical expression be expressed as:
Wherein, Im [] represents the imaginary part for taking complex signal, and Re [] represents the real part for taking complex signal.
The invention has the beneficial effects as follows:To camera acquisition to gray scale bar graph carry out based on energy intensity optimize and energy
The generalized S-transform of quantity set moderate principle, the window size for overcoming traditional S-transformation can not change with the change of frequency change rate
Defect, accurately realize and separate between useful fundamental component and low high fdrequency component, be effectively improved phase calculation
Accuracy, the object wide adaptability to possessing different depth rate of change;The inventive method only needs the single width bar graph just can be real
Phase is now accurately solved, the speed of 3 D digital imaging is improve and real time dynamic measurement can be realized.
Description of the drawings
The invention will be further described with reference to the accompanying drawings and examples.
Fig. 1 is overall flow figure of the present invention based on the three-dimension digital imaging method of generalized S-transform;
Fig. 2 is the intensity profile figure that the present invention carries out the horizontal x directions of original gradation bar graph during structure light coding;
Fig. 3 is the flow chart of step S2 of the present invention;
Fig. 4 is the flow chart of step S21 of the present invention;
Fig. 5 is the flow chart of step S22 of the present invention;
Fig. 6 is the structural representation of monocular 3-D imaging system of the present invention.
Specific embodiment
With reference to Fig. 1, based on the three-dimension digital imaging method of generalized S-transform, including:
S1, coding is carried out to structure light generating sinusoidal gray scale bar graph, the intensity profile for which being obtained along x horizontal directions is as schemed
Shown in 2, and sinusoidal gray scale bar graph is projeced in reference planes by projector equipment, the original in monoscopic is obtained by video camera
Beginning gray scale bar graph g1(x, y), is then positioned over the object to be imaged in reference planes, obtains thing is received in monoscopic by video camera
The deformation gray scale bar graph g of body depth information modulation2(x, y);
S2, original gradation bar graph g respectively to obtaining1(x, y) and deformation gray scale bar graph g2(x, y) is carried out based on energy
The generalized S-transform of amount strength optimization and encircled energy principle, and original gradation bar graph g is calculated by filtering method1(x,
Y) fundamental component f1(x, y) and deformation gray scale bar graph g2The fundamental component f of (x, y)2(x, y);
S3, fundamental component f respectively to extracting from two width gray scale bar graphs1(x, y) and f2(x, y) carries out Fourier
Inverse transformation, then takes phase angle to the result of inverse Fourier transform respectively, obtains original gradation bar graph g1The parcel phase of (x, y)
PositionWith deformation gray scale bar graph g2The wrapped phase of (x, y)
S4, to wrapped phaseWithPhase unwrapping is carried out respectively obtains continuous phase distributionWithAnd the phase difference comprising object depth modulation information is obtained according to the result of phase unwrappingThe phase differenceComputing formula be:
S5, the camera parameters and Object Depth of according to Fourier Transform Profilomery measuring principle, demarcating monocular imaging system
With the mapping relations of phase place change, and according to the phase difference for obtainingThe three-dimensional coordinate of the object to be imaged per is calculated, from
And realize the 3 D digital imaging of the object to be imaged.
With reference to Fig. 3, it is further used as preferred embodiment, step S2, which includes:
S21, original gradation bar graph g respectively to obtaining1(x, y) and deformation gray scale bar graph g2Each traveling of (x, y)
Row obtains original gradation bar graph g based on energy intensity optimization and the generalized S-transform of encircled energy principle1(x, y) and deformation
Gray scale bar graph g2The optimal S-transformation matrix of (x, y) per a line, the definition of the generalized S-transform is:
Wherein, f is frequency, yk=1,2 ..., ymax,g(x,yk) represent gray scale bar graph row k, w (b-x, σ
(f)) represent be centrally located at x=b and standard deviation for σ (f) Gauss function, σ (f)=1/ | f |p, p is constant;
S22, respectively to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2The optimal S of (x, y) per a line becomes
The filtering that matrix carries out based on local spectrum is changed, original gradation bar graph g is obtained1(x, y) and deformation gray scale bar graph g2(x, y)
Fundamental component per a line, then the every a line fundamental component for obtaining is overlapped in the y-direction, so as to obtain original gradation striped
Figure g1The two-dimentional fundamental component f of (x, y)1(x, y) and deformation gray scale bar graph g2The two-dimentional fundamental component f of (x, y)2(x, y).
With reference to Fig. 4, it is further used as preferred embodiment, step S21, which includes:
S211, the initial value p to parameter p of Gauss function in generalized S-transform0, iteration interval Δ p and iteration final value ptEnter
Row is arranged;
S212, respectively to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2Every a line application of (x, y) is wide
Adopted S-transformation, so as to obtain every a line g of original gradation bar graph1(x,yk) with deformation gray scale bar graph every a line g2(x,yk)
A series of S-transformation matrixes when parameter p takes different valueWithThe S-transformation matrixWithExpression formula be:
S213, to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2A series of S-transformations of (x, y) per a line
MatrixWithMatrix " ridge " is found respectively:If a certain S-transformation matrix Sp(b, f) is at point (b, f) place
Energy intensity is the absolute value of its amplitude | Sp(b, f) |, then for each spatial point bii, bii=1,2 ... ..., bmax, its energy
Will be corresponding to S during amount intensity acquirement maximumpA maximum of points in (b, f) is to (bii, fii), and own in all spatial points
The set of maximum of points pair constitutes S-transformation matrix Sp" ridge " Ω (b of (b, f)ii,fii);
S214, to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2A series of S-transformations of (x, y) per a line
MatrixWith" ridge " carry out the setting of energy intensity threshold value, and according to the energy intensity threshold for arranging
Value carries out energy intensity optimization to S-transformation matrix, so as to obtain original gradation bar graph g1(x, y) and deformation gray scale bar graph g2
A series of S-transformation matrixes of (x, y) each energy intensity optimization of passing throughWith
Each S-transformation square in S215, a series of S-transformation matrixes of energy intensity optimization of passing through each to gray scale bar graph
Battle array Sp(b, f), one by one Frequency point fjjCalculate Frequency point fjjEncircled energy CM (the f of correspondence rowjj, p), the energy is concentrated
Degree CM (fjj, expression formula p) is:
Wherein, q is constant, fjj=1,2 ... ..., fmax;
S216, to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2(x, y) each energy intensity of passing through is excellent
A series of S-transformation matrixes changedWithThis line is pieced together out most using encircled energy principle
Good S-transformation matrixWith
It is further used as preferred embodiment, step S214, which is specially:
One unified energy intensity threshold value E is set, a series of S-transformation matrixes of the gray scale bar graph per a line are then judged
In any one S-transformation matrix SpOn " ridge " of (b, f), energy intensity minimum of a value with the ratio of energy intensity maximum on " ridge " is
It is no less than E, if so, then reject this S-transformation matrix Sp(b, f), conversely, then retain, so as to obtain original gradation bar graph g1(x,
Y) with deformation gray scale bar graph g2A series of S-transformation matrixes of (x, y) each energy intensity optimization of passing throughWith
It is further used as preferred embodiment, step S216, which is specially:
A series of S-transformation matrix of the Jing energy intensities optimizations to gray scale bar graph per a lineOne by one frequently
Rate point fjjComparison corresponds to the encircled energy CM (f of that a linejj, p), select the S-transformation matrix work of that row of encircled energy maximum
To correspond to the optimal S-transformation matrix that a line pieces together outThe optimal S-transformation matrixMeet:
Wherein, PoptThe optimum p value of that a line of encircled energy maximum correspondence is referred to, and a P value then determines a S
Transformation matrix.
With reference to Fig. 5, it is further used as preferred embodiment, step S22, which includes:
S221, according to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2The optimal S-transformation of (x, y) per a line
Matrix is accurately positioned to local fundamental component;
S222, according to default filtering window function, respectively to original gradation bar graph g1(x, y) and deformation gray scale bar graph
g2The optimal S-transformation matrix of (x, y) per a line carries out the filtering based on local spectrum, obtains original gradation bar graph g1(x, y) is every
Capable local fundamental componentAnd deformation gray scale bar graph g2(x, y) often capable local fundamental component
S223, the local fundamental component by two width gray scale bar graphs per a line make local fundamental component along space x-axis respectively
Superposition, obtains original gradation bar graph g1(x, y) and deformation gray scale bar graph g2The fundamental component f of (x, y) per a line1(x, yk)
With f2(x, yk);
S224, the fundamental component f by two width gray scale bar graphs per a line1(x, yk) and f2(x, yk) folded along space y-axis respectively
Plus, obtain original gradation bar graph g1The two-dimentional fundamental component f of (x, y)1(x, y) and deformation gray scale bar graph g2The two dimension of (x, y)
Fundamental component f2(x, y).
It is further used as preferred embodiment, step S3, which is specially:
Respectively to original gradation bar graph g1The two-dimentional fundamental component f of (x, y)1(x, y) and deformation gray scale bar graph g2(x,
Y) two-dimentional fundamental component f2(x, y) does inverse Fourier transform, obtains fundamental frequency complex signal C of two width gray scale bar graphs1With C2, so
Afterwards respectively to fundamental frequency complex signal C1With C2Phase angle is taken, original gradation bar graph g is obtained1The wrapped phase of (x, y)With
Deformation gray scale bar graph g2The wrapped phase of (x, y)The wrapped phaseAnd wrapped phase
Mathematical expression be expressed as:
Wherein, Im [] represents the imaginary part for taking complex signal, and Re [] represents the real part for taking complex signal.
Embodiment one
The three-dimension digital imaging device that the present embodiment pair is matched with the method for the present invention is illustrated.
The three-dimension digital imaging device matched with the method for the present invention, mainly includes digital projection illumination emitters, figure
As sensing receiver and image processor.Wherein, digital projection illumination emitters can be that (LCD throws digital lcd projection arrangement
Shadow instrument), digital micro mirror projection device (DMD projecting apparatus) or silicon chip liquid crystal projection apparatus (LCOS projecting apparatus), computer can be used
Image processing system is conveniently generated gray scale candy strip and writes digital projection device.Image sensing receiver includes that light is studied
As lens and photodetector, optical imaging lens can be focus away from or varifocal imaging len or lens group, binary optical
Learn imaging system, diffraction element imaging system or micro imaging system.And photoelectric detector can be charge-coupled image sensor, liquid
Brilliant device, spatial light modulation device, cmos device or digital camera.Image processor is that digital signal processor is special with programmable
With the combination of integrated circuit, or the combination of general image process card and computer.
With reference to Fig. 6, the emergent pupil I of the projection lens 102 of digital projection transmitter 101, the imaging of image sensing receiver 103 are saturating
In the center O of the entrance pupil P and illuminated field of mirror 104 is generally aligned in the same plane, and the emergent pupil I of projection lens 102 and imaging len 104
Entrance pupil P generally within same level height, so as to form a triangulation system.By image processor 105 computer or
The sinusoidal gray scale bar graph Jing digital projections transmitter 101 that digital signal processor is produced is incident upon 106 He of article carrying platform respectively
The surface of object 107,103 priority of image sensing receiver receive initial sinusoids gray scale bar graph on article carrying platform 106 and
By the deformation gray scale bar graph of 107 depth modulation of object, it is sent to image processor 105 and is processed.Image processor 105 passes through
Phasing matrix is extracted from two width gray scale bar graphs and difference operation is done, and the system obtained with reference to uncalibrated image sensor is joined
Number, obtains the complete 3-dimensional digital picture of object.
Embodiment two
The present embodiment enters to a series of S-transformation matrixes that each enforcement generalized S-transform of gray scale bar graph of the present invention is obtained
The process of row energy intensity optimization is illustrated.
The present invention energy intensity optimization process be:
To original gradation bar graph g1(x, y) and deformation gray scale bar graph g2A series of S-transformation matrixes of (x, y) per a lineWith" ridge " carry out the setting of energy intensity threshold value, it is excellent to carry out energy intensity to S-transformation matrix
Change, it is ensured that when carrying out finding optimal S-transformation matrix based on encircled energy principle, its energy intensity is sufficient for 3-dimensional digital
Imaging.One unified energy intensity threshold value E is set, as certain S-transformation matrix SpThe minimum of energy intensity on " ridge " of (b, f)
When the ratio of the maximum of energy intensity is less than E in value and " ridge ", this S-transformation matrix S is rejectedp(b, f), remaining preferred S become
Change matrix and should meet following condition:
Wherein, (bii, fii)∈Ω(bii,fii), then after energy intensity optimization, original gradation bar graph g1(x, y) with
Deformation gray scale bar graph g2A series of (x, y) each S-transformation matrix for being about to obtain Jing energy intensities optimizationsWith
Experiments verify that, when energy intensity threshold value takes 0.8 or so, effect is more satisfactory.
Embodiment three
The present embodiment is to piecing together out optimal S-transformation matrix of the gray scale bar graph per a line using generalized S-transform in the present invention
When the encircled energy principle that adopted illustrate.
The process pieced together by the encircled energy principle that adopts of the present invention for:
First, each S-transformation square in a series of S-transformation matrixes of energy intensity optimization of passing through each to gray scale bar graph
Battle array Sp(b, f) Frequency point f one by onejjCalculating corresponds to the encircled energy of that a line.Certain S-transformation matrix Sp(b, f) is in a certain frequency
Rate point fjjThe encircled energy for locating that row is defined as:
Wherein, q is a constant.Experiments verify that, when q takes 0.2 or so, effect is more satisfactory.
Then, to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2A series of Jing energy of (x, y) per a line
The S-transformation matrix of amount strength optimizationWithFrequency point f one by onejjComparison corresponds to the energy of that a line
Concentration degree CM (fjj, p), select a certain Frequency point fjjThat row of the maximum S-transformation matrix of place's encircled energy is used as piecing together out
Optimal S-transformation matrix correspondence that a lineEnable the optimal S-transformation matrix pieced together out more smart
Local fundamental component is positioned accurately.
It is more than that the preferable enforcement to the present invention is illustrated, but the invention is not limited to the enforcement
Example, those of ordinary skill in the art on the premise of without prejudice to spirit of the invention can also be made a variety of equivalent variations or be replaced
Change, the deformation or replacement of these equivalents are all contained in the application claim limited range.
Claims (6)
1. the three-dimension digital imaging method based on generalized S-transform, it is characterised in that:Including:
S1, coding is carried out to structure light generate sinusoidal gray scale bar graph, and sinusoidal gray scale bar graph is projected by projector equipment
In reference planes, the original gradation bar graph g in monoscopic is obtained by video camera1Then the object to be imaged is placed by (x, y)
In reference planes, the deformation gray scale bar graph g in monoscopic by object depth information modulation is obtained by video camera2(x, y);
S2, original gradation bar graph g respectively to obtaining1(x, y) and deformation gray scale bar graph g2(x, y) carries out strong based on energy
Degree optimization and the generalized S-transform of encircled energy principle, and original gradation bar graph g is calculated by filtering method1(x's, y)
Fundamental component f1(x, y) and deformation gray scale bar graph g2The fundamental component f of (x, y)2(x, y);
S3, fundamental component f respectively to extracting from two width gray scale bar graphs1(x, y) and f2(x, y) carries out Fourier's inversion
Change, phase angle is taken to the result of inverse Fourier transform respectively then, obtain original gradation bar graph g1The wrapped phase of (x, y)With deformation gray scale bar graph g2The wrapped phase of (x, y)
S4, to wrapped phaseWithPhase unwrapping is carried out respectively obtains continuous phase distributionWithAnd the phase difference comprising object depth modulation information is obtained according to the result of phase unwrappingThe phase differenceComputing formula be:
S5, the camera parameters and Object Depth and phase of according to Fourier Transform Profilomery measuring principle, demarcating monocular imaging system
The mapping relations of position change, and according to the phase difference for obtainingThe three-dimensional coordinate of the object to be imaged per is calculated, so as to reality
The 3 D digital imaging of the existing object to be imaged;
Step S2, which includes:
S21, original gradation bar graph g respectively to obtaining1(x, y) and deformation gray scale bar graph g2Each row of (x, y) carries out base
In energy intensity optimization and the generalized S-transform of encircled energy principle, original gradation bar graph g is obtained1(x, y) and deformation gray scale
Bar graph g2The optimal S-transformation matrix of (x, y) per a line, the definition of the generalized S-transform is:
Wherein, f is frequency, yk=1,2 ..., ymax,g(x,yk) represent gray scale bar graph row k, w (b-x, σ (f)) table
Show be centrally located at x=b and standard deviation for σ (f) Gauss function, σ (f)=1/ | f |p, p is constant;
S22, respectively to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2The optimal S-transformation square of (x, y) per a line
Battle array carries out the filtering based on local spectrum, obtains original gradation bar graph g1(x, y) and deformation gray scale bar graph g2(x, y) is each
Capable fundamental component, then the every a line fundamental component for obtaining is overlapped in the y-direction, so as to obtain original gradation bar graph g1
The two-dimentional fundamental component f of (x, y)1(x, y) and deformation gray scale bar graph g2The two-dimentional fundamental component f of (x, y)2(x, y).
2. the three-dimension digital imaging method based on generalized S-transform according to claim 1, it is characterised in that:The step
S21, which includes:
S211, the initial value p to parameter p of Gauss function in generalized S-transform0, iteration interval Δ p and iteration final value ptSet
Put;
S212, respectively to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2Every a line application broad sense S of (x, y) becomes
Change, so as to obtain every a line g of original gradation bar graph1(x,yk) with deformation gray scale bar graph every a line g2(x,yk) in ginseng
Number p takes a series of S-transformation matrixes during different valueWithThe S-transformation matrixWithExpression formula be:
S213, to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2A series of S-transformation matrixes of (x, y) per a lineWithMatrix " ridge " is found respectively:If a certain S-transformation matrix SpThe energy of (b, f) at point (b, f) place is strong
Spend the absolute value for its amplitude | Sp(b, f) |, then for each spatial point bii, bii=1,2 ... ..., bmax, its energy intensity
Will be corresponding to S during acquirement maximumpA maximum of points in (b, f) is to (bii, fii), and all maximums in all spatial points
Point to set constitute S-transformation matrix Sp" ridge " Ω (b of (b, f)ii,fii);
S214, to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2A series of S-transformation matrixes of (x, y) per a lineWith" ridge " carry out the setting of energy intensity threshold value, and S is become according to the energy intensity threshold value for arranging
Changing matrix carries out energy intensity optimization, so as to obtain original gradation bar graph g1(x, y) and deformation gray scale bar graph g2(x, y) is every
One pass through energy intensity optimization a series of S-transformation matrixesWith
Each S-transformation matrix S in S215, a series of S-transformation matrixes of energy intensity optimization of passing through each to gray scale bar graphp
(b, f), one by one Frequency point fjjCalculate Frequency point fjjEncircled energy CM (the f of correspondence rowjj, p), the encircled energy CM
(fjj, expression formula p) is:
Wherein, q is constant, fjj=1,2 ... ..., fmax;
S216, to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2(x, y) each energy intensity optimization of passing through
A series of S-transformation matrixesWithThe optimal S-transformation of this line is pieced together out using encircled energy principle
MatrixWith
3. the three-dimension digital imaging method based on generalized S-transform according to claim 2, it is characterised in that:The step
S214, which is specially:
One unified energy intensity threshold value E is set, is appointed in then judging a series of S-transformation matrixes of the gray scale bar graph per a line
One S-transformation matrix SpOn " ridge " of (b, f), whether energy intensity minimum of a value is little with the ratio of energy intensity maximum on " ridge "
In E, this S-transformation matrix S is if so, then rejectedp(b, f), conversely, then retain, so as to obtain original gradation bar graph g1(x, y) with
Deformation gray scale bar graph g2A series of S-transformation matrixes of (x, y) each energy intensity optimization of passing throughWith
4. the three-dimension digital imaging method based on generalized S-transform according to claim 2, it is characterised in that:The step
S216, which is specially:
A series of S-transformation matrix of the Jing energy intensities optimizations to gray scale bar graph per a lineFrequency point f one by onejj
Comparison corresponds to the encircled energy CM (f of that a linejj, p), the S-transformation matrix of maximum that row of encircled energy is selected as correspondence
The optimal S-transformation matrix that a line pieces together outThe optimal S-transformation matrixMeet:
Wherein, poptRefer to the optimum p value of that a line of encircled energy maximum correspondence.
5. the three-dimension digital imaging method based on generalized S-transform according to claim 1, it is characterised in that:The step
S22, which includes:
S221, according to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2The optimal S-transformation matrix of (x, y) per a line
Local fundamental component is accurately positioned;
S222, according to default filtering window function, respectively to original gradation bar graph g1(x, y) and deformation gray scale bar graph g2(x,
Y) the optimal S-transformation matrix per a line carries out the filtering based on local spectrum, obtains original gradation bar graph g1(x, y) often goes
Local fundamental componentAnd deformation gray scale bar graph g2(x, y) often capable local fundamental component
S223, the local fundamental component by two width gray scale bar graphs per a line make local fundamental component superposition along space x-axis respectively,
Obtain original gradation bar graph g1(x, y) and deformation gray scale bar graph g2The fundamental component f of (x, y) per a line1(x, yk) and f2(x,
yk);
S224, the fundamental component f by two width gray scale bar graphs per a line1(x, yk) and f2(x, yk) be superimposed along space y-axis respectively, obtain
To original gradation bar graph g1The two-dimentional fundamental component f of (x, y)1(x, y) and deformation gray scale bar graph g2The two-dimentional fundamental frequency of (x, y)
Component f2(x, y).
6. the three-dimension digital imaging method based on generalized S-transform according to claim 5, it is characterised in that:The step
S3, which is specially:
Respectively to original gradation bar graph g1The two-dimentional fundamental component f of (x, y)1(x, y) and deformation gray scale bar graph g2(x's, y)
Two-dimentional fundamental component f2(x, y) does inverse Fourier transform, obtains fundamental frequency complex signal C of two width gray scale bar graphs1With C2, Ran Houfen
It is other to fundamental frequency complex signal C1With C2Phase angle is taken, original gradation bar graph g is obtained1The wrapped phase of (x, y)And deformation
Gray scale bar graph g2The wrapped phase of (x, y)The wrapped phaseAnd wrapped phaseNumber
Formula is expressed as:
Wherein, Im [] represents the imaginary part for taking complex signal, and Re [] represents the real part for taking complex signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410648482.1A CN104457615B (en) | 2014-11-14 | 2014-11-14 | Three-dimension digital imaging method based on generalized S-transform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410648482.1A CN104457615B (en) | 2014-11-14 | 2014-11-14 | Three-dimension digital imaging method based on generalized S-transform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104457615A CN104457615A (en) | 2015-03-25 |
CN104457615B true CN104457615B (en) | 2017-04-05 |
Family
ID=52904053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410648482.1A Active CN104457615B (en) | 2014-11-14 | 2014-11-14 | Three-dimension digital imaging method based on generalized S-transform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104457615B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105066904B (en) * | 2015-07-16 | 2017-08-29 | 太原科技大学 | Streamline product tri-dimensional facial type detection method based on phase gradient threshold value |
CN107014313B (en) * | 2017-05-16 | 2020-02-07 | 深圳大学 | Method and system for weighted least square phase unwrapping based on S-transform ridge value |
CN107356212B (en) * | 2017-06-01 | 2020-01-21 | 深圳大学 | Three-dimensional measurement method and system based on single-amplitude grating projection |
CN108225561B (en) * | 2017-12-05 | 2020-05-22 | 深圳先进技术研究院 | Compressed spectrum imaging system, reconstruction method, device and terminal equipment |
CN109443250B (en) * | 2018-12-07 | 2021-03-16 | 成都信息工程大学 | Structured light three-dimensional surface shape vertical measurement method based on S transformation |
CN109900223B (en) * | 2019-04-18 | 2021-10-08 | 盎锐(上海)信息科技有限公司 | Imaging method and device for projection grating modeling |
CN109900222B (en) * | 2019-04-18 | 2021-07-02 | 盎锐(上海)信息科技有限公司 | Model obtaining method and device based on projection grating modeling |
CN110276792B (en) * | 2019-05-27 | 2023-02-07 | 盎锐(上海)信息科技有限公司 | Model obtaining method and device based on digital filter |
CN110230996B (en) * | 2019-05-30 | 2020-10-27 | 西安理工大学 | Three-dimensional surface shape measuring method based on two-dimensional sparse S-transform rapid frequency domain dephasing |
CN110536067B (en) * | 2019-09-04 | 2021-02-26 | Oppo广东移动通信有限公司 | Image processing method, image processing device, terminal equipment and computer readable storage medium |
CN111075660B (en) * | 2019-12-12 | 2021-02-02 | 中国船舶重工集团海装风电股份有限公司 | Frequency domain analysis method, device and equipment for monitoring variables of wind turbine generator |
CN112254681B (en) * | 2020-10-26 | 2022-06-07 | 昆明理工大学 | Divergent multi-line laser projection measurement simulation system and implementation method thereof |
CN113589280B (en) * | 2021-09-28 | 2022-04-15 | 江苏赛博空间科学技术有限公司 | Frequency domain windowing single-view fast radar imaging optimization analysis method |
CN116336934B (en) * | 2023-05-31 | 2023-08-01 | 北京航空航天大学 | Method and device for improving laser interferometry precision |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004264249A (en) * | 2003-03-04 | 2004-09-24 | Fujitsu Ltd | Image processing method in grid pattern projection method, measuring device and image processing device |
CN101493934A (en) * | 2008-11-27 | 2009-07-29 | 电子科技大学 | Weak target detecting method based on generalized S-transform |
CN102620685A (en) * | 2012-03-23 | 2012-08-01 | 东南大学 | Improved window Fourier three-dimensional measurement method based on Stockwell transform |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7483170B2 (en) * | 2004-05-05 | 2009-01-27 | Canon Kabushiki Kaisha | Generation of color measured data from transform-based color profiles |
-
2014
- 2014-11-14 CN CN201410648482.1A patent/CN104457615B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004264249A (en) * | 2003-03-04 | 2004-09-24 | Fujitsu Ltd | Image processing method in grid pattern projection method, measuring device and image processing device |
CN101493934A (en) * | 2008-11-27 | 2009-07-29 | 电子科技大学 | Weak target detecting method based on generalized S-transform |
CN102620685A (en) * | 2012-03-23 | 2012-08-01 | 东南大学 | Improved window Fourier three-dimensional measurement method based on Stockwell transform |
Non-Patent Citations (6)
Title |
---|
Frequency-based window width optimization for S-transform;Igor Djurovi´c等;《Electronics and Communications》;20080401;第62卷(第4期);第245-250页 * |
Fringe Projection Techniques: Whither we are?;Sai Siva Gorthi、Pramod Rastogi;《Optics and Lasers in Engineering》;20100228;第48卷(第2期);第133-140页 * |
基于FTP的三维轮廓测量方法及实验;江磊;《现代电子技术》;20100630;第33卷(第12期);正文第1段-第1节第5段 * |
基于广义S变换的信号提取与抑噪;陈学华等;《成都理工大学学报(自然科学版)》;20060831;第33卷(第4期);第331-335页 * |
基于广义S变换的时相调制时频聚集性能优化;迟华山等;《北京邮电大学学报》;20120229;第35卷(第1期);第125-128页 * |
广义S变换及其时频滤波;陈学华等;《信号处理》;20080229;第24卷(第1期);正文第2.3节第1、6-7段 * |
Also Published As
Publication number | Publication date |
---|---|
CN104457615A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104457615B (en) | Three-dimension digital imaging method based on generalized S-transform | |
US10152800B2 (en) | Stereoscopic vision three dimensional measurement method and system for calculating laser speckle as texture | |
CN109506589B (en) | Three-dimensional profile measuring method based on structural light field imaging | |
CN110288642B (en) | Three-dimensional object rapid reconstruction method based on camera array | |
Salvi et al. | A state of the art in structured light patterns for surface profilometry | |
CN104197861B (en) | Three-dimension digital imaging method based on structure light gray scale vector | |
US20140078264A1 (en) | Absolute three-dimensional shape measurement using coded fringe patterns without phase unwrapping or projector calibration | |
Feng et al. | Automatic identification and removal of outliers for high-speed fringe projection profilometry | |
CN101373135B (en) | Method and apparatus for measuring three-dimensional curved surface based on instantaneous accidental light irradiation | |
Liu et al. | Real-time 3D surface-shape measurement using background-modulated modified Fourier transform profilometry with geometry-constraint | |
CN108955571B (en) | The method for three-dimensional measurement that double frequency heterodyne is combined with phase-shift coding | |
US10648789B2 (en) | Method for monitoring linear dimensions of three-dimensional objects | |
CN104075659B (en) | A kind of three-dimensional imaging recognition methods based on RGB structure light source | |
CN1330928C (en) | Method and apparatus for measuring profile of object by double wavelength structural light | |
CN107990846B (en) | Active and passive combination depth information acquisition method based on single-frame structured light | |
Song et al. | DOE-based structured-light method for accurate 3D sensing | |
Qiao et al. | A single-shot phase retrieval method for phase measuring deflectometry based on deep learning | |
Feng et al. | Motion-oriented high speed 3-D measurements by binocular fringe projection using binary aperiodic patterns | |
CN111288925A (en) | Three-dimensional reconstruction method and device based on digital focusing structure illumination light field | |
CN112461158B (en) | Three-dimensional measuring method and device for speckle projection phase shift high-frequency stereo vision | |
CN108332684A (en) | A kind of measuring three-dimensional profile method based on Structured Illumination microtechnic | |
Zou et al. | High-accuracy calibration of line-structured light vision sensors using a plane mirror | |
Yan et al. | Beyond the interference problem: hierarchical patterns for multiple-projector structured light system | |
CN103942802A (en) | Method for obtaining depth of structured light dynamic scene on basis of random templates | |
Lyu et al. | Structured light-based underwater 3-D reconstruction techniques: A comparative study |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |