Disclosure of Invention
In view of at least one of the above technical problems, it is an object of the present invention to provide a method, system, device and storage medium for measuring the phase of a speckle pattern.
In one aspect, an embodiment of the present invention includes a method for measuring a phase of a speckle interferogram, including the following steps:
obtaining a set of speckle interferograms [ I ]1,I2,...,IM]And a set of phase steps [ delta ]1,δ2,...,δM];
Determine such that formula
A parameter of establishment phi;
the parameter phi is the phase measured on the speckle interferogram.
On the other hand, the embodiment of the invention also comprises a phase measurement method of the speckle interferogram, which comprises the following steps:
obtaining a set of speckle interferograms [ I ]1,I2,...,IM]And a set of phase steps [ delta ]1,δ2,...,δM];
According to the formula
Determining a parameter a
m;
According to the formula
Determination of the parameter b
m;
Determine such that formula
A parameter of establishment phi;
the parameter phi is the phase measured on the speckle interferogram.
Further, the speckle interferogram is a two-dimensional image.
Further, the speckle interference map is represented as Im(x,y)=I0(x,y)[1+K(x,y)cosφ(x,y)+δm+nm(x,y)](ii) a Wherein, I0(x, y) represents the average intensity of the speckle interferogram, K (x, y) represents the fringe contrast of the speckle interferogram, phi (x, y) represents the phase step included in the speckle interferogram, nm(x, y) represents phase noise contained in the speckle interferogram.
In another aspect, an embodiment of the present invention further includes a phase measurement system for speckle interferograms, including:
a data acquisition module for acquiring a set of speckle interferograms [ I ]1,I2,...,IM]And a set of phase steps [ delta ]1,δ2,...,δM];
A calculation module for determining a formula
A parameter of establishment phi;
and the output module is used for outputting the parameter phi as the phase obtained by measuring the speckle interference pattern.
In another aspect, an embodiment of the present invention further includes a phase measurement system for speckle interferograms, including:
a data acquisition module for acquiring a set of speckle interferograms [ I ]1,I2,...,IM]And a set of phase steps [ delta ]1,δ2,…,δM];
A calculation module for calculating according to a formula
Determining a parameter a
mAccording to the formula
Determination of the parameter b
mAnd determining a formula
A parameter of establishment phi;
and the output module is used for outputting the parameter phi as the phase obtained by measuring the speckle interference pattern.
In another aspect, the embodiments of the present invention further include a phase measurement apparatus for speckle interferograms, including a memory for storing at least one program and a processor for loading the at least one program to perform a phase measurement method for the speckle interferograms.
In another aspect, the present invention also includes a storage medium having stored therein processor-executable instructions, which when executed by a processor, are configured to perform the method of the embodiments.
The invention has the beneficial effects that: when the phase measurement method of the speckle interferogram in the embodiment is executed, the used phase step can be arbitrarily given, and the precondition of 'knowing by the real phase step' is not relied on, so that the measurement error caused by the fact that the real phase step cannot be used in the prior art is avoided; in the case of any step length, the obtained measurement result has the smallest error among all possible results, and the influence of phase noise can be better reduced, so that a more accurate measurement result can be obtained.
Detailed Description
When using phase shift interferometry, the measured object is shot to obtain M speckle interference patterns [ I1,I2,...,IM]In this embodiment, the speckle interferograms are two-dimensional images, and can be represented by two-dimensional pixel coordinates (x, y), and are denoted as Im(x, y); in this embodiment, a set of arbitrarily given phase steps [ δ ] is used1,δ2,...,δM]These speckle interferograms are denoted as deltamIn this case, the subscript parameter M may be equal to 1,2,3, …, M.
The speckle interferogram can be expressed as the following equation (1) without considering noise:
Im(x,y)=I0(x,y)[1+K(x,y)cos(φ(x,y)+δm)]; (1)
in the formula (1), I0(x, y) is the speckle interferogram Im(x, y) and K (x, y) is the speckle interferogram ImContrast of the fringes in (x, y). Phi (x, y) is acquired, and the significance of phi is speckle interferenceThe phase information of the plot is taken as the final measurement obtained by applying phase-shifting interferometry. The final measurement result can be written as ImThe quotient of the linear combination of (a), i.e. the following formula (2):
to obtain phi (x, y), the coefficient a needs to be knownmAnd bm。
In consideration of additive noise and phase noise, the speckle interferogram can be expressed as the following formula (3):
wherein n is
m(x, y) is the phase noise,
is additive noise. Since additive noise can be better cancelled by the prior art, in this embodiment, cancellation of phase noise is considered, that is, for what can be expressed as I
m(x,y)=I
0(x,y)[1+K(x,y)cos(φ(x,y)+δ
m+n
m(x,y))]The speckle interferogram of (1).
In this example, the coefficient a in the formula (2) is expressedmAnd bmViewed as a complex number cmThe real and imaginary parts of, i.e. a complex number c is constructedm=am+ibmThen, formula (2) can be rewritten as the following formula (4):
where arg denotes a parametric function.
The following formula (5) can be obtained by the formula (1):
in this embodiment, the technical problem to be solved is: in a set of phase steps deltamNot known, i.e. phase step δmIn any given case, the value of φ is determined and output as a final result. This technical problem corresponds to the mathematical expression: given a set of values δmThe formula (4) has a solution. At this time, cmThe following conditions (6) to (8) need to be satisfied:
in the formula (8), α is an arbitrary positive real number. Then correspondingly by cm=am+ibmThe formulae (6) to (8) may be rewritten as the following formulae (9) to (14):
as can be seen from equation (4), when performing measurement using M step phase shift, 2M real coefficients must be set (to determine a)mAnd bm) Six equations (9) - (14) are verified, so that there are actually 2M-6 free coefficients. For example, in a three-step phase shift (i.e., M-3), since 2M-6-0 means that no free parameters are available to choose from, δ is the set of phase steps for a given set of phasesmThere is a unique phase extraction method. For M>For each set of values δmDue to 2M-6>0, there is at least one free coefficient, and the resulting determined phase information phi is not unique. This suggests that an optimum value may be selected from a plurality of phi, which corresponds to the phase error caused by the phase noise being the smallest. To determine the method by which this optimum is selected, further analysis is performed below.
For the sake of simplicity, the representation of the coordinates (x, y) is omitted below, for example Im(x, y) will be represented as Im。
Speckle interferogram I when random phase noise is consideredmRepresented by the following formula (15):
Im=I0[1+Kcos(φ+δm+nm)]; (15)
wherein n ismIs phase noise. If the phase φ in equation (15) is determined from equation (2), the following equation (16) can be obtained:
determining the phase phi in equation (15) according to equation (6) is equivalent to determining the phase phi in equation (15) according to equation (2); if the phase φ in equation (15) is determined from equation (6), the following equation (17) can be obtained:
since the phase noise is small, i.e. n
m<<1, the formula (17) can be simplified. After simplification, at n
mIs the first order noise of
Thus, the following formula (18) is obtained:
considering equations (7) and (8) for equation (18), there is the following equation (19):
by definition
And
to obtain the following formula (20):
S'=S+N++N-; (20)
as is clear from the above definition, the actual phase is given by Φ ═ arg (S), while the phase obtained from the acquired speckle interferogram is given by Φ ' ═ arg (S '), the difference between Φ and Φ ' being caused by phase noise. The following formula (21) is also readily obtained:
fig. 1 is a phasor representation of equation (20) on the complex plane, and the circles in fig. 1 represent points where S' is more likely to be found. By calculating the radius of the circle, the maximum deviation of the calculated phase from its actual value can be obtained.
The circle radius in FIG. 1 is estimated as the square root of the expected value, and the maximum deviation of the extracted phase φ' from the actual phase φ is expressed as
As is clear from FIG. 1
Therefore, if σ
φVery small, the following formula (22) is obtained:
can use triangle inequality<|N++N-|2>≤<|N+|2>+<|N-|2>To sigmaφ(ii) treated to give the following formula (23):
by definition
To obtain the following formulae (24) and (25):
similarly, for<|N-|2>The following formula (26):
substituting formulae (21), (25) and (26) for formula (23) gives the following formula (27):
as can be seen from equation (27), the phase error σ caused by the phase noiseφThere is an upper bound, and the expression heuristic for this upper bound yields the following for parameter amAnd bmThe following formula (28):
equation (28) gives an objective function f (a)1,…,aM,b1,…,bMAnd) minimization is performed according to equations (9) - (14), for example by using lagrange multipliers and defining equation (29) below:
the constraint of equation (29) is the following equation (30):
gk(a1,…,aM,b1,…,bM,)=0; (30)
wherein k is 1, 2.
Applying Lagrange multiplier method to equations (28) and (29), solving equations (31) and (32):
wherein M is 1, 2.
The following formula (33) is obtained from formula (28) and formula (31):
the following formula (34) is obtained from formula (28) and formula (32):
wherein M is 1, 2.
Substituting equation (33) and equation (34) for equation (30) yields a 6 × 6 linear system as shown in equation (35) below to calculate the lagrangian multiplier:
wherein:
the solution to equation set (35) is given by equation (37):
wherein:
thus, given a set of δ
mAnd
s can be calculated from the formula (36)
1-S
6Then, λ 1-6 is calculated from equation (37). Then, by substituting these values into equations (33) and (34), the optimal parameter set a can be calculated
mAnd b
mThis parameter minimizes the phase extraction error. On all interferograms
In the same case, the obtained algorithm is the same algorithm, and the propagation of additive random noise can be reduced to the maximum extent. In this case, substituting (36) for (37) yields the following formula (39):
if formula (39) is substituted into formula (33) and formula (34), respectively, and the two substitution results differ by a global constant, then formulae (40) and (41) are obtained:
the combined type (2) of the formula (40) and the formula (41) is obtained:
formula (42) has the general meaning: allowing passage at arbitrary step size delta
mM speckle interferograms I obtained by phase shifting
mThe method can minimize phase extraction error caused by phase noise when the variance of speckle interference pattern
When the same, the algorithm obtained is the same, thereby minimizing the random phase noise n
mIs transmitted.
In this embodiment, when determining the final measurement result using equation (42), the following steps may be performed:
S1A. obtaining a group of speckle interferograms (I)1,I2,...,IM]And a set of phase steps [ delta ]1,δ2,...,δM];
S2A. determining a formula
A parameter of establishment phi;
and S3A, the parameter phi is the phase obtained by measuring the speckle interference pattern.
The correctness of steps S1A-S3A has been discussed above in connection with the description of equations (1) - (42). Therefore, steps S1A-S3A are executed, and firstly, the phase step used by the method can be arbitrarily given, and the precondition of "knowing by the true phase step" is no longer relied on, so that the measurement error caused by the fact that the true phase step cannot be used in the prior art is avoided; in the case of any step size, the steps S1A-S3A are performed to reduce the phase noise better, so as to obtain more accurate measurement results.
To reduce the amount of calculation, a may be first calculated from equations (40) and (41)mAnd bmAnd then substituted into formula (2). At this time, the following steps may be performed:
S1B, acquiring a group of speckle interferograms (I)1,I2,...,IM]And a set of phase steps [ delta ]1,δ2,...,δM];
S2B, according to a formula
Determining a parameter a
m;
S3B, according to a formula
Determination of the parameter b
m;
S4B, determining a formula
A parameter of establishment phi;
and S5B, wherein the parameter phi is the phase obtained by measuring the speckle interference pattern.
From the above description of equations (1) - (42), it can be seen that the execution of steps S1B-S5B is equivalent to the execution of steps S1A-S3A, and the same advantageous effects can be obtained.
In this embodiment, a phase measurement system of the speckle interferogram may also be implemented.
A phase measurement system for performing the speckle interferogram of steps S1A-S3A, comprising:
a data acquisition module for acquiring a set of speckle interferograms [ I ]1,I2,...,IM]And a set of phase steps [ delta ]1,δ2,...,δM];
A calculation module for determining a formula
A parameter of establishment phi;
and the output module is used for outputting the parameter phi as the phase obtained by measuring the speckle interference pattern.
A phase measurement system for performing the speckle interferogram of steps S1B-S5B, comprising:
a data acquisition module for acquiring a set of speckle interferograms [ I ]1,I2,...,IM]And a set of phase steps [ delta ]1,δ2,...,δM];
A calculation module for calculating according to a formula
Determining a parameter a
mAccording to the formula
Determination of the parameter b
mAnd determining a formula
A parameter of establishment phi;
and the output module is used for outputting the parameter phi as the phase obtained by measuring the speckle interference pattern.
The data acquisition module, the calculation module and the output module can be hardware modules, software modules or a combination of the hardware modules and the software modules with corresponding functions, and the modules can be combined together to implement a corresponding speckle interferogram phase measurement method, so that the same beneficial effects are achieved.
By writing instructions for controlling the computer device to perform steps S1A-S3A and/or S1B-S5B and then storing the instructions in the storage medium, the instructions stored in the storage medium can be read and executed by the computer device, so that the computer device can be the phase measurement system of the speckle interferogram described in embodiment 1.
It should be noted that, unless otherwise specified, when a feature is referred to as being "fixed" or "connected" to another feature, it may be directly fixed or connected to the other feature or indirectly fixed or connected to the other feature. Furthermore, the descriptions of upper, lower, left, right, etc. used in the present disclosure are only relative to the mutual positional relationship of the constituent parts of the present disclosure in the drawings. As used in this disclosure, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. In addition, unless defined otherwise, all technical and scientific terms used in this example have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the description of the embodiments herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this embodiment, the term "and/or" includes any combination of one or more of the associated listed items.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element of the same type from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present disclosure. The use of any and all examples, or exemplary language ("e.g.," such as "or the like") provided with this embodiment is intended merely to better illuminate embodiments of the invention and does not pose a limitation on the scope of the invention unless otherwise claimed.
It should be recognized that embodiments of the present invention can be realized and implemented by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer readable memory. The methods may be implemented in a computer program using standard programming techniques, including a non-transitory computer-readable storage medium configured with the computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner, according to the methods and figures described in the detailed description. Each program may be implemented in a high level procedural or object oriented programming language to communicate with a computer system. However, the program(s) can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language. Furthermore, the program can be run on a programmed application specific integrated circuit for this purpose.
Further, operations of processes described in this embodiment can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes described in this embodiment (or variations and/or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions, and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) collectively executed on one or more processors, by hardware, or combinations thereof. The computer program includes a plurality of instructions executable by one or more processors.
Further, the method may be implemented in any type of computing platform operatively connected to a suitable interface, including but not limited to a personal computer, mini computer, mainframe, workstation, networked or distributed computing environment, separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, and the like. Aspects of the invention may be embodied in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optically read and/or write storage medium, RAM, ROM, or the like, such that it may be read by a programmable computer, which when read by the storage medium or device, is operative to configure and operate the computer to perform the procedures described herein. Further, the machine-readable code, or portions thereof, may be transmitted over a wired or wireless network. The invention described in this embodiment includes these and other different types of non-transitory computer-readable storage media when such media include instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor. The invention also includes the computer itself when programmed according to the methods and techniques described herein.
A computer program can be applied to input data to perform the functions described in the present embodiment to convert the input data to generate output data that is stored to a non-volatile memory. The output information may also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including particular visual depictions of physical and tangible objects produced on a display.
The above description is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiment, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention as long as the technical effects of the present invention are achieved by the same means. The invention is capable of other modifications and variations in its technical solution and/or its implementation, within the scope of protection of the invention.