An automatic method for extracting moiré fringe information
By using an automated method for outlier detection and classification, the first-order spectrum of moiré fringes is automatically identified, solving the problems of computational complexity and time consumption caused by manual intervention in existing technologies. This enables efficient extraction of moiré fringe information and phase unwrapping, supporting rapid data processing in moiré tomography.
Patent Information
- Application Number
- CN202311519514.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-15
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-11-15
AI Technical Summary
Existing methods for extracting moiré fringe information rely on manual intervention, which leads to complex and time-consuming calculations, subjective errors, and affects subsequent flow field parameter reconstruction.
An automated method based on outlier detection and classification is adopted. The first-order spectrum of moiré fringes is automatically identified through Fourier transform and outlier detection algorithm. The spectrum range is adaptively determined and phase unwrapping is performed to achieve rapid extraction without human intervention.
It achieves efficient and automatic extraction of moiré fringe information, saving time and costs, providing a reliable data processing foundation for moiré tomography, and supporting neural network applications.
Smart Images

Figure CN117574293B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to an automatic method for extracting moiré fringe information, belonging to the field of optical measurement technology. Background Technology
[0002] Moiré tomography offers advantages such as real-time processing, stability, and non-contact operation, making it uniquely effective in measuring complex high-temperature flow fields and possessing significant application value in many related fields. When using moiré tomography to diagnose complex high-temperature flow fields, the effective extraction of moiré fringe information plays a crucial role in subsequent phase unpacking and even the reconstruction of key parameters of the measured flow field. However, the effective information of the moiré fringes is contained in the first-order spectrum; therefore, accurate and rapid extraction of the first-order spectrum of the moiré fringes can improve the computational efficiency of the entire technique.
[0003] In the process of extracting the phase of moiré fringes using existing Fourier analysis methods, the first-order spectrum needs to be manually selected after the fringe image undergoes Fourier transform. This process is time-consuming, and the subjective error caused by manual intervention can have a significant impact on subsequent processes. Summary of the Invention
[0004] Objective: To overcome the shortcomings of existing technologies, such as complex calculation processes and slow speed, this invention provides an automatic method for extracting moiré fringe information. This method, based on outlier detection and classification, automatically identifies and extracts the first-level spectrum and obtains the wrapping phase. It not only saves time costs when processing large amounts of data in moiré tomography, but also provides a reliable foundation for the application of neural networks in moiré tomography.
[0005] Technical solution: To solve the above technical problems, the technical solution adopted by the present invention is as follows:
[0006] In a first aspect, the present invention provides a method for automatically extracting moiré fringe information, comprising:
[0007] Acquire target moiré fringes; wherein the target moiré fringes are characterized as moiré fringes that record information about the flow field to be measured;
[0008] The frequency domain information matrix is obtained by performing a Fourier transform on the column directions of the target moiré fringes;
[0009] The absolute values of each row of the frequency domain information matrix are averaged to obtain an average matrix, and the average matrix is standardized to obtain a standard matrix.
[0010] The standard matrix is used to identify the three outliers with the highest degree of outlier using an outlier detection algorithm. The rows containing the center positions of the zero-order spectrum and the first-order spectrum are determined based on the row coordinates of these three outliers.
[0011] The row spacing between the center positions of the zero-level spectrum and the first-level spectrum is obtained from the row where the center positions of the zero-level spectrum and the first-level spectrum are located. The range of the first-level spectrum is adaptively determined and the first-level spectrum is obtained.
[0012] The first-level spectrum is shifted to the center of the spectrum information matrix to obtain an information matrix containing only the first-level spectrum.
[0013] The information matrix containing only the first-level spectrum is subjected to an inverse Fourier transform, and the real and imaginary parts are subjected to an arctangent operation to obtain the wrapped phase.
[0014] In some embodiments, obtaining the target moiré fringe includes:
[0015] Obtain the original moiré fringes of the flow field under test obtained by the moiré tomography experimental setup;
[0016] The original moiré stripes were processed into grayscale;
[0017] The target moiré fringes are obtained by cutting the grayscale-processed moiré fringes.
[0018] In some embodiments, the target moiré fringe is represented as a matrix A with a pixel matrix of M×N, where M represents the number of rows of matrix A and N represents the number of columns of matrix A.
[0019] In some embodiments, performing a Fourier transform on the target moiré fringes along the column directions to obtain a frequency domain information matrix includes:
[0020] Perform a one-dimensional Fourier transform on the target moiré fringes to obtain a matrix B with a frequency domain information matrix of M×N, where M represents the number of rows of pixels in matrix B and N represents the number of columns of pixels in matrix B.
[0021]
[0022] Where A(i,j) and B(i,j) are the values in the i-th row and j-th column of matrix A and matrix B, respectively. This represents a one-dimensional Fourier transform.
[0023] In some embodiments, the absolute values of each row of the frequency domain information matrix are averaged to obtain an average matrix, and the average matrix is standardized to obtain a standard matrix, including:
[0024] Based on the row and column sizes of the spectrum information matrix B, the average matrix C is obtained by taking the absolute value of each row of data and then calculating the average.
[0025]
[0026] Where B(i,j) are the values of the i-th row and j-th column of the frequency domain information matrix B, M represents the number of rows of matrix B, and N represents the number of columns of matrix B.
[0027] The average matrix C is standardized using the z-score standardization method to obtain the standard matrix D;
[0028]
[0029]
[0030]
[0031] Where C(i,j) is the value of each data point in the mean matrix C, the standard deviation of the mean matrix C is σ1, and the mean is μ1;
[0032] The obtained standard matrix D follows a standard normal distribution with mean μ'=0 and standard deviation σ'=1.
[0033] In some embodiments, the standard matrix is processed by an outlier detection algorithm to determine the three outliers with the highest degree of outlierness, and the rows containing the center positions of the zero-order spectrum and the first-order spectrum are determined based on the row coordinates of these three outliers, including:
[0034] The standard matrix D follows a standard normal distribution. Outlier detection is performed on the standard matrix D. The three outliers with the highest degree of outlier are automatically determined by the 3σ law of the normal distribution. Based on the row coordinates of these three outliers, the row containing the center positions of the zero-order spectrum and the first-order spectrum is determined.
[0035] Let D be the three outliers with the highest degree of outlier. k (m k ,n k ),(1≤m k ≤M, n k If k = 1, k = 1, 2, 3, then the outlier satisfies the following condition:
[0036] D k (m k ,n k )≤(μ'-3σ') or (μ'+3σ')≤D k (m k ,n k ).
[0037] Where, m k n k These represent outlier D. k (m k ,n kThe row and column of the standard matrix D are M, where M represents the number of pixels in each row of the standard matrix D, and μ' and σ' represent the mean and standard deviation of the standard normal distribution that the standard matrix D follows, respectively.
[0038] Then m that satisfies the above conditions k The row index contains the center positions of the zero-level and first-level spectra.
[0039] In some embodiments, the row spacing of the center positions of the zero-level spectrum and the first-level spectrum is obtained based on the row containing the center positions of the zero-level spectrum and the first-level spectrum, and the range of the first-level spectrum is adaptively determined to obtain the first-level spectrum, including:
[0040] Based on the row m where the center positions of the zero-order spectrum and the first-order spectrum are located. k k = 1, 2, 3. Given that the distance from the center position row of two first-level spectra to the center position row of the zero-level evaluation is equal, let the row indices of the two first-level spectra center positions be p1 and p2 respectively.
[0041] p1=min{m k},
[0042] p2=max{m k},
[0043] The line spacing Δm between the center positions of the zero-order and first-order spectra is expressed by the line spacing between the center positions of the two first-order spectra:
[0044] Δm=(p2-p1) / 2,
[0045] The range of the first-order spectrum is r1:
[0046] r1 = Δm - 2.
[0047] Take one of the rows p1 and p2 where the center of the first-level spectrum is located. The position of the first-level spectrum is represented in the spectrum information matrix B as: B(p1-r1:p1+r1,j) or B(p2-r1:p2+r1,j).
[0048] In some embodiments, the first-level spectrum is shifted to the center of the spectrum information matrix to obtain an information matrix containing only the first-level spectrum, including:
[0049] Based on the position of the first-level spectrum in the spectrum information matrix, the first-level spectrum is shifted to the center of the spectrum information matrix, and the values of the remaining positions in the spectrum information matrix are set to zero, resulting in an information matrix E containing only the first-level spectrum, with a size of M×N.
[0050] Or B(p2-r1:p2+r1,j)
[0051] E(i,j)=0,( and )
[0052] Where M represents the number of pixels in a row of matrix E.
[0053] In some embodiments, the information matrix containing only the first-level spectrum is subjected to an inverse Fourier transform, and the real and imaginary parts are subjected to an arctangent operation to obtain the wrapped phase, including:
[0054] The data matrix F is obtained by performing an inverse Fourier transform on the matrix E, which contains only first-level spectral information. This represents the one-dimensional inverse Fourier transform.
[0055]
[0056] Then, perform an arctangent operation on the real and imaginary parts of the data in the data matrix F to obtain the wrapping phase matrix G;
[0057]
[0058] Where arctan represents the arctangent operation, and Im[F] and Re[F] represent the imaginary and real parts of the data in the data matrix F.
[0059] In a second aspect, the present invention provides an automatic moiré stripe information extraction device, including a processor and a storage medium;
[0060] The storage medium is used to store instructions;
[0061] The processor is configured to operate according to the instructions to execute the method according to the first aspect.
[0062] Thirdly, the present invention provides an apparatus comprising,
[0063] Memory;
[0064] processor;
[0065] as well as
[0066] Computer programs;
[0067] The computer program is stored in the memory and configured to be executed by the processor to implement the method described in the first aspect above.
[0068] Fourthly, the present invention provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0069] Beneficial Effects: The automatic extraction method for moiré fringe information provided by this invention requires no manual intervention in the extraction process of the first-order spectrum. The process is highly efficient and can directly obtain the wrapped phase from the input of the moiré fringes, saving time and solving the problem of obtaining the wrapped phase dataset in the application of neural networks in moiré tomography. It has the following advantages:
[0070] 1. The present invention can obtain the wrapped phase of moiré fringes without human intervention.
[0071] 2. The outlier detection and classification concept of this invention requires less data processing and is highly efficient in the extraction of the first-level spectrum. Attached Figure Description
[0072] Figure 1 This is a schematic diagram of the experimental apparatus according to an embodiment of the present invention;
[0073] Figure 2 This is a schematic diagram of moiré fringes obtained by an experimental apparatus according to an embodiment of the present invention;
[0074] Figure 3 This is a schematic diagram of a grayscale image of moiré fringes obtained after cutting according to an embodiment of the present invention, which records the flow field information to be measured.
[0075] Figure 4 This is a schematic diagram showing the center positions of the first-order and zero-order spectra according to an embodiment of the present invention;
[0076] Figure 5 This is a schematic diagram of an information matrix containing only a first-level spectrum according to an embodiment of the present invention.
[0077] Figure 6 This is a schematic diagram of the phase wrapping of moiré fringes according to an embodiment of the present invention.
[0078] Figure 1 In the middle: 1-Laser source; 2, 3-Beam expander and collimator system; 4-Flow field to be measured; 5, 6-Ronchi grating; 7, 9-Imaging lens; 8-Filter; 10-Receiver screen. Detailed Implementation
[0079] The present invention will be further described below with reference to the accompanying drawings and embodiments. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention, and should not be used to limit the scope of protection of the present invention.
[0080] In the description of this invention, "several" means one or more, "multiple" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0081] In the description of this invention, the terms "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0082] Example 1
[0083] Firstly, this embodiment provides a method for automatically extracting moiré fringe information, including:
[0084] Acquire target moiré fringes; wherein the target moiré fringes are characterized as moiré fringes that record information about the flow field to be measured;
[0085] The frequency domain information matrix is obtained by performing a Fourier transform on the column directions of the target moiré fringes;
[0086] The absolute values of each row of the frequency domain information matrix are averaged to obtain an average matrix, and the average matrix is standardized to obtain a standard matrix.
[0087] The standard matrix is used to identify the three outliers with the highest degree of outlier using an outlier detection algorithm. The rows containing the center positions of the zero-order spectrum and the first-order spectrum are determined based on the row coordinates of these three outliers.
[0088] The row spacing between the center positions of the zero-level spectrum and the first-level spectrum is obtained from the row where the center positions of the zero-level spectrum and the first-level spectrum are located. The range of the first-level spectrum is adaptively determined and the first-level spectrum is obtained.
[0089] The first-level spectrum is shifted to the center of the spectrum information matrix to obtain an information matrix containing only the first-level spectrum.
[0090] The information matrix containing only the first-level spectrum is subjected to inverse Fourier transform, and the real and imaginary parts are subjected to arctangent operation to obtain the wrapped phase.
[0091] In some embodiments, the propane-air combustion flame field is selected as the flow field to be tested for experiments to demonstrate the feasibility of this information extraction method.
[0092] use Figure 1 The experimental setup used in this embodiment yields the corresponding moiré fringes. The principle of the experimental setup used in this embodiment is as follows: Figure 1 As shown. G1 and G2 are a pair of Ronchi gratings with a grating constant of d and a grating spacing of Δ. To obtain better fringe contrast, Δ should satisfy the Talbot distance, i.e., Δ = jd. 2 / λ, the grating lines of the two gratings form angles of +α / 2 and -α / 2 with the y-axis, respectively. The path from the back of grating G2 to the receiving screen 10 is a typical 4-f system.
[0093] Then, the moiré fringes are imported into the computer via CCD, and the corresponding wrapping phase is obtained by automatically extracting the first-order spectrum.
[0094] This embodiment discloses a method for rapidly and automatically extracting moiré fringe information. The invention will be further described in detail below through specific implementation schemes:
[0095] S1: Moiré fringes of the flow field to be measured are obtained using a moiré tomography experimental apparatus, and the moiré fringes are preprocessed to obtain moiré fringes that record the information of the flow field to be measured.
[0096] S11: By adopting, as Figure 1 The moiré fringes of the flow field to be measured, as shown in the experimental setup for moiré tomography, are obtained by a laser source generating a laser beam that is expanded and collimated to form a parallel beam. The parallel beam passes through the flow field to be measured to carry the flow field information. After passing through a Ronchi grating, it forms interference fringes of different orders. After passing through an imaging lens and a filter aperture, the first-order moiré fringes are obtained and displayed on the receiving screen. Finally, the moiré fringes are input into the computer by a CDD.
[0097] S12: First, obtain the following... Figure 2 The moiré fringes shown were processed to grayscale and then cut to obtain images of a certain size that recorded the flow field information to be measured, such as... Figure 3 The grayscale moiré stripes shown.
[0098] S2: The frequency domain information matrix is obtained by performing a Fourier transform on the column direction of the moiré fringes that record the flow field information to be measured.
[0099] The resulting grayscale image of moiré fringes, obtained after cutting, records the flow field information to be measured, as shown below. Figure 3As shown, let A be a matrix. Performing a one-dimensional Fourier transform on matrix A yields matrix B with a frequency domain information matrix of M×N, where M represents the number of pixels in the rows of matrix B and N represents the number of pixels in the columns of matrix B. The formula for calculating matrix B is as follows:
[0100]
[0101] Where A(i,j) and B(i,j) are the values in the i-th row and j-th column of matrix A and matrix B, respectively. This represents a one-dimensional Fourier transform.
[0102] S3: Take the absolute value of each row of the obtained spectrum information matrix to obtain an average matrix, and standardize the average matrix to obtain a standard matrix;
[0103] S31: Based on the row and column sizes of the spectrum information matrix B, calculate the average value after taking the absolute value of each row of data to obtain the average matrix C:
[0104]
[0105] S32: Where the value of each data point in the mean matrix C is C(i,j), and the standard deviation of the mean matrix C is σ1, and the mean is μ1, then we have:
[0106]
[0107]
[0108] S33: To improve data comparability, the z-score normalization method is used to standardize the data, thereby enabling outlier detection algorithms to identify outliers and pinpoint the center locations of the zero-order and first-order spectra. The z-score normalization method is used to standardize the mean matrix C, resulting in the standard matrix D.
[0109]
[0110] The matrix D obtained by the z-score standardization method follows a standard normal distribution with mean μ'=0 and standard deviation σ'=1.
[0111] S4: The standard matrix is processed by an outlier detection algorithm to identify the three outliers with the highest degree of outlier, and the row containing the center positions of the zero-order spectrum and the first-order spectrum is determined based on the row coordinates of these three outliers.
[0112] Based on the characteristic that the obtained standard matrix D follows a standard normal distribution, outlier detection is performed on the standard matrix D. The three values with the highest outlier degree are automatically determined by the 3σ law of the normal distribution, and then the row coordinates of the three outliers are determined. This is used to determine the row where the center positions of the zero-order spectrum and the first-order spectrum are located. Let the three outliers with the highest outlier degree be D. k (m k ,n k ),(1≤m k ≤M, n k If k = 1, k = 1, 2, 3, then the outlier satisfies the following condition:
[0113] D k (m k ,n k )≤(μ'-3σ') or (μ'+3σ')≤D k (m k ,n k ).
[0114] Then m that satisfies the above conditions k This refers to the row index where the center positions of the zero-level and first-level spectra are located.
[0115] S5: Based on the row where the center positions of the zero-level spectrum and the first-level spectrum are located, obtain the row spacing of the center positions of the zero-level spectrum and the first-level spectrum, adaptively determine the range of the first-level spectrum, and obtain the first-level spectrum;
[0116] Based on the row m where the center positions of the zero-order spectrum and the first-order spectrum are located. k (k=1,2,3), given that the distances from the center positions of the two first-level spectra to the center position of the zero-level evaluation are equal, let the row indices of the two first-level spectra center positions be p1 and p2, respectively. The calculation formula is as follows:
[0117] p1=min{m k},
[0118] p2=max{m k},
[0119] The line spacing Δm between the center positions of the zero-order spectrum and the first-order spectrum can be represented by the line spacing between the center positions of the two first-order spectra:
[0120] Δm=(p2-p1) / 2,
[0121] Therefore, the range of the first-order spectrum is r1:
[0122] r1 = Δm - 2.
[0123] Taking either p1 or p2, where the center of the first-level spectrum is located, and using p1 as an example, the location of the first-level spectrum can be represented in the spectrum information matrix B as follows:
[0124] B(p1-r1:p1+r1,j).
[0125] S6: Shift the obtained first-level spectrum to the center of the spectrum information matrix to obtain an information matrix containing only the first-level spectrum;
[0126] Based on the position of the obtained first-level spectrum in the spectrum information matrix, the first-level spectrum is shifted to the center of the spectrum information matrix, and the values of the remaining positions in the spectrum information matrix are set to zero, resulting in the following: Figure 5 The matrix E shown contains only first-level spectral information and is of size M×N. The relationship is as follows:
[0127] Or B(p2-r1:p2+r1,j)
[0128] E(i,j)=0,( and )
[0129] By performing an inverse Fourier transform on the matrix E containing only first-level spectral information, a data matrix F is obtained. Then, an arctangent operation is performed on the real and imaginary parts of the data in matrix F to obtain the wrapped phase matrix G. The wrapped phase is as follows: Figure 6 As shown, the calculation formula is as follows:
[0130]
[0131]
[0132] Example 2
[0133] Secondly, based on Embodiment 1, this embodiment provides an automatic moiré fringe information extraction device, including a processor and a storage medium;
[0134] The storage medium is used to store instructions;
[0135] The processor is configured to operate according to the instructions to execute the method according to Embodiment 1.
[0136] Example 3
[0137] Thirdly, based on Embodiment 1, this embodiment provides a device, including,
[0138] Memory;
[0139] processor;
[0140] as well as
[0141] Computer programs;
[0142] The computer program is stored in the memory and configured to be executed by the processor to implement the method described in Embodiment 1.
[0143] Example 4
[0144] Fourthly, based on Embodiment 1, this embodiment provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, it implements the method described in Embodiment 1.
[0145] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0146] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0147] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0148] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0149] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for automatically extracting moiré fringe information, characterized in that, The method includes: Acquire target moiré fringes; wherein the target moiré fringes are characterized as moiré fringes recording information of the flow field to be measured; perform a column-direction Fourier transform on the target moiré fringes to obtain a frequency domain information matrix; take the absolute value average of each row of the frequency domain information matrix to obtain a column average matrix, and standardize the average matrix to obtain a standard matrix; use an outlier detection algorithm to determine the three outliers with the largest outlier degree on the standard matrix, and determine the row where the center positions of the zero-order spectrum and the first-order spectrum are located based on the row coordinates of the three outliers; obtain the row spacing of the center positions of the zero-order spectrum and the first-order spectrum based on the row where the center positions of the zero-order spectrum and the first-order spectrum are located, adaptively determine the range of the first-order spectrum and obtain the first-order spectrum; shift the first-order spectrum to the center position of the frequency domain information matrix to obtain an information matrix containing only the first-order spectrum; perform an inverse Fourier transform on the information matrix containing only the first-order spectrum, and perform an arctangent operation on the real and imaginary parts to obtain the wrapping phase; Specifically, the row spacing between the center positions of the zero-level and first-level spectra is obtained based on the row containing the center positions of the zero-level and first-level spectra. The range of the first-level spectrum is adaptively determined, and the first-level spectrum is obtained, including: Based on the row where the center positions of the obtained zero-order spectrum and first-order spectrum are located Given that the distance from the center position row of two first-order spectra to the center position row of a zero-order spectrum is equal, let the row indices of the center positions of the two first-order spectra be respectively... ; ; ; The line spacing at the center position of the zero-order spectrum and the first-order spectrum The row spacing between the center positions of the two first-order spectrums is used to represent: The range of the first-level spectrum is : ; Take the row where the center of the first-level spectrum is located. One of them, the location of the first-level spectrum in the frequency domain information matrix The Chinese character is represented as: or ; Specifically, shifting the first-level spectrum to the center of the frequency domain information matrix yields an information matrix containing only the first-level spectrum, including: Based on the position of the first-level spectrum in the frequency domain information matrix, the first-level spectrum is shifted to the center of the frequency domain information matrix, and the values of the remaining positions in the frequency domain information matrix are set to zero, resulting in an information matrix containing only the first-level spectrum. Size is ; ; in Representation matrix The number of pixels per row.
2. The method according to claim 1, characterized in that, To obtain the target moiré fringes, the following steps are required: Obtain the original moiré fringes of the flow field under test obtained by the moiré tomography experimental setup; The original moiré stripes were processed into grayscale; The target moiré fringes are obtained by cutting the grayscale-processed moiré fringes.
3. The method according to claim 1 or 2, characterized in that, The target moiré fringes are represented by a pixel matrix. matrix , Representation matrix The number of pixels per row, Representation matrix The number of pixels in each column.
4. The method according to claim 3, characterized in that, The frequency domain information matrix is obtained by performing a Fourier transform on the column directions of the target moiré fringes, including: Performing a one-dimensional Fourier transform on the target moiré fringes yields the frequency domain information matrix. matrix , Representation matrix The number of pixels per row, Representation matrix The number of pixels in each column; ; in, , Each is a matrix ,matrix No. Line number The values in the column, This represents a one-dimensional Fourier transform.
5. The method according to claim 1, characterized in that, The absolute values of each row of the frequency domain information matrix are averaged to obtain an average matrix, and the average matrix is then standardized to obtain a standard matrix, including: Based on the frequency domain information matrix Given the row and column sizes, the average matrix is obtained by taking the absolute value of each row of data and then averaging the results. : ; in, Frequency domain information matrix No. Line number The values in the column, Representation matrix The number of pixels per row, Representation matrix The number of pixels in each column; The average matrix was normalized using the z-score method. Standardization is performed to obtain a standard matrix. ; ; ; ; in, Average matrix The numerical value of each data point, the average matrix The standard deviation of the data is The mean is ; The obtained standard matrix Follow the mean The standard deviation is It follows a standard normal distribution.
6. The method according to claim 1, characterized in that, The standard matrix is processed using an outlier detection algorithm to identify the three most significant outliers. Based on the row coordinates of these three outliers, the rows containing the center positions of the zero-order and first-order spectra are determined, including: The standard matrix Following a standard normal distribution, for the standard matrix Outlier detection is performed using a normal distribution. The law automatically identifies the three outliers with the highest degree of outlier, and determines the row containing the center positions of the zero-order spectrum and the first-order spectrum based on the row coordinates of these three outliers; Let the three outlier values be: Then the outlier satisfies the following condition: ; in, , They represent outliers respectively. The row and column of the value. Representing the standard matrix The number of pixels per row, Representing the standard matrix The mean and standard deviation of a standard normal distribution; Then those that meet the above conditions The row index contains the center positions of the zero-level and first-level spectra.
7. The method according to claim 1, characterized in that, The information matrix containing only the first-level spectrum is subjected to an inverse Fourier transform, and the real and imaginary parts are subjected to arctangent operations to obtain the wrapped phase, including: Information matrix containing only the first-level spectrum The data matrix is obtained by performing an inverse Fourier transform. , This represents the one-dimensional inverse Fourier transform; ; Then examine the data matrix The real and imaginary parts of the data are subjected to arctangent operation to obtain the wrapping phase matrix. ; ; in, This indicates the arctangent operation. , Representing a data matrix The imaginary and real parts of the data.
8. A storage medium, characterized in that, It stores a computer program thereon, which, when executed by a processor, implements the method described in any one of claims 1 to 7.
