A material component analysis method and system
By decomposing and expanding the two-dimensional matrix data by preset algorithm, and then decomposing the three-dimensional matrix data, the problem of innocence in the existing technology is solved, and the accuracy of material component analysis and physical significance are combined .
Patent Information
- Application Number
- CN202010803037.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-11
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2040-08-11
AI Technical Summary
In the prior art, the data decomposition results are not unique, and it is difficult to obtain physically meaningful decomposition results, resulting in inaccurate analysis of material components.
By decomposing the two-dimensional matrix data by preset algorithm, the decomposition coefficient is obtained, and expanded it into three-dimensional matrix data, and then the data is decomposed to obtain the components of the target object.
The uniqueness and physical significance of the three-dimensional data decomposition results are realized, and the accuracy and reliability of material component analysis are improved.
Smart Images

Figure CN111967154B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a material component analysis method and system. Background Art
[0002] The development of machine learning has promoted the rise and prosperity of data mining in the fields of chemistry, biology and medicine. The current data acquisition methods can be mainly divided into zero-order, first-order, second-order, etc., which represent the scalar, vector, and two-dimensional matrix of the test results of a single sample. Instruments based on multi-channel and multi-technique combination can even collect higher-dimensional data for a single sample. For the example of collecting scalar data for a single sample, the method of univariate regression or standard curve is usually used, such as the determination of pH value. For the example of collecting vectors for a single sample, the method of multivariate correction is usually used. For the example of collecting two-dimensional or even three-dimensional matrix data for a single sample, a three-dimensional or higher-dimensional correction algorithm is usually used. Among them, the factor decomposition method is a commonly used analysis method to reduce data redundancy and analyze the internal structure of data in multivariate correction and high-dimensional correction. The difference is that most of the factor decompositions for matrix data are difficult to obtain unique, accurate, and physically meaningful decomposition results. Therefore, some constraints such as orthogonality, normalization, non-negativity, and unimodality are often imposed on these factors. The consequence is that the results are not authentic, and the decomposition results are difficult to link with the physical meaning of the system. Common algorithms include principal component analysis, non-negative factor decomposition, partial least squares, canonical correlation analysis, etc. On the contrary, the results of three-dimensional (factor) decomposition algorithms and even high-dimensional decomposition algorithms are unique, accurate, and physically meaningful.
[0003] Therefore, there is an urgent need for a method to convert low-dimensional data into high-dimensional data so that the material components can be analyzed based on the converted high-dimensional data. Summary of the invention
[0004] The embodiments of the present invention provide a material component analysis method and system to solve the defect of non-unique data decomposition results in the prior art and realize material component analysis, including quantitative analysis, qualitative analysis, structural identification, etc.
[0005] An embodiment of the present invention provides a material component analysis method, comprising:
[0006] Detect several samples of the target object to obtain two-dimensional matrix data;
[0007] Decomposing the two-dimensional matrix data along the target dimension by a preset algorithm to obtain decomposition coefficients, wherein the preset algorithm is an algorithm that can generate new data dimensions, and the target dimension is a dimension with continuous changes;
[0008] Expanding the two-dimensional matrix data according to the decomposition coefficients to obtain three-dimensional matrix data;
[0009] The three-dimensional matrix data is decomposed to obtain components of the target object.
[0010] According to a material component analysis method according to an embodiment of the present invention, the two-dimensional matrix data is obtained by testing several samples of the target object in the following manner:
[0011] Utilizing an array detector, variable detection is performed on each sample to obtain the two-dimensional matrix data.
[0012] According to a material component analysis method according to an embodiment of the present invention, the two-dimensional matrix data is obtained by testing several samples of the target object in the following manner:
[0013] A high-dimensional data detection method is used to perform single-channel detection on each sample to obtain the two-dimensional matrix data.
[0014] According to a material component analysis method according to an embodiment of the present invention, the two-dimensional matrix data is obtained by testing several samples of the target object in the following manner:
[0015] For any sample, the two-dimensional data matrix is obtained by combining external perturbations or array detectors.
[0016] According to a material component analysis method according to an embodiment of the present invention, decomposing the two-dimensional matrix data along the target dimension by a preset algorithm to obtain a decomposition coefficient specifically includes:
[0017] The detection data where the target dimension is located is decomposed by the preset algorithm to obtain the decomposition coefficient, wherein the two-dimensional matrix data is represented as m×n, m represents the number of samples, n represents the detection data, the dimension where the detection data is located is the target dimension, the decomposition coefficient is n×s, the detection data is 1×n, and s represents the decomposition coefficient dimension.
[0018] According to a material component analysis method according to an embodiment of the present invention, the two-dimensional matrix data is expanded according to the decomposition coefficient to obtain three-dimensional matrix data, which specifically includes:
[0019] The decomposition coefficients are expanded along the target dimension of the two-dimensional matrix data to obtain the three-dimensional matrix data, where the three-dimensional matrix data is represented as m×n×s.
[0020] According to the material component analysis method of one embodiment of the present invention, the preset algorithm is wavelet transform or window Fourier transform.
[0021] The embodiment of the present invention further provides a material component analysis system, comprising:
[0022] A detection module is used to detect several samples of the target object and obtain two-dimensional matrix data;
[0023] A decomposition module, used to decompose the two-dimensional matrix data along the target dimension by a preset algorithm to obtain a decomposition coefficient, wherein the preset algorithm is an algorithm that can generate a new data dimension, and the target dimension is a dimension with continuous transformation;
[0024] An expansion module, used for expanding the two-dimensional matrix data according to the decomposition coefficient to obtain three-dimensional matrix data;
[0025] The analysis module is used to perform data decomposition on the three-dimensional matrix data to obtain components of the target object.
[0026] An embodiment of the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned material component analysis methods are implemented.
[0027] An embodiment of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-mentioned material component analysis methods.
[0028] The embodiment of the present invention provides a material component analysis method and system, which obtains original two-dimensional matrix data through sample detection, expands the original two-dimensional matrix data through a preset algorithm to obtain three-dimensional matrix data, and decomposes the three-dimensional matrix data to obtain a unique decomposition result, thereby determining the composition of the target object. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1 A flow chart of a material component analysis method provided by an embodiment of the present invention;
[0031] Figure 2 A flowchart of a material component analysis method provided by another embodiment of the present invention;
[0032] Figure 3A schematic diagram of three basic Gaussian peaks provided by an embodiment of the present invention;
[0033] Figure 4 A mixed signal diagram generated by directly superimposing three basic Gaussian peaks provided in an embodiment of the present invention;
[0034] Figure 5 is a schematic diagram of a mixed signal of 10 samples simulated in an embodiment of the present invention;
[0035] Figure 6 is a schematic diagram of a data decomposition result of one of the simulated samples in an embodiment of the present invention;
[0036] Figure 7 It is a frequency contour diagram of three factors after decomposition in an embodiment of the present invention;
[0037] Figure 8 Spectral profile diagram of three factors after decomposition in an embodiment of the present invention;
[0038] Fig. 9 : is the concentration profile of the three factors after decomposition in the embodiment of the present invention;
[0039] Fig.10 A schematic diagram of the structure of a material component analysis system provided by an embodiment of the present invention;
[0040] Fig.11 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] The result of a single sample test is a vector, and its detection method can generate two-dimensional matrix data (testing multiple samples), such as infrared spectroscopy, near-infrared spectroscopy, sound detection, etc. Even detection methods that can generate high-dimensional data can generate two-dimensional detection data through single-channel detection or slicing operations of high-dimensional data. However, the factor analysis method of two-dimensional data is difficult to produce a unique, physically meaningful solution, resulting in large errors in the analysis results of material components.
[0043] The embodiment of the present invention converts two-dimensional data into three-dimensional data, so that the decomposition result of the two-dimensional data is also unique and has physical meaning, that is, it has the "second-order advantage" that only three-dimensional data decomposition can have.
[0044] Figure 1 A flow chart of a material component analysis method provided by an embodiment of the present invention, such as Figure 1 As shown, the method includes:
[0045] S1, testing several samples of the target object to obtain two-dimensional matrix data;
[0046] First, multiple samples of the target object are obtained, and each sample is tested or one of the samples is tested to obtain test data, that is, two-dimensional matrix data. The test can be carried out by selecting a corresponding test method according to actual needs, such as infrared spectrum detection, near infrared spectrum detection, ultraviolet spectrum detection, etc.
[0047] S2, decomposing the two-dimensional matrix data along the target dimension by using a preset algorithm to obtain a decomposition coefficient, wherein the preset algorithm is an algorithm that can generate a new data dimension, and the target dimension is a dimension with continuous transformation;
[0048] Since there must be a dimension in the two-dimensional matrix data that represents the sample, the sample cannot be continuous, that is, the sample is discrete, and the other dimension represents the detection variable. The detection data can be continuously transformed. Therefore, in general, the dimension where the detection data is located is the target dimension.
[0049] Along the target dimension means splitting the two-dimensional matrix data on the target dimension to obtain multiple one-dimensional data, decomposing each one-dimensional data through a preset algorithm to obtain a decomposition coefficient, and the dimension of the decomposition coefficient in some aspect is the same as the dimension of the one-dimensional data.
[0050] S3, expanding the two-dimensional matrix data according to the decomposition coefficient to obtain three-dimensional matrix data;
[0051] Then, according to the decomposition coefficient, the original two-dimensional matrix is expanded to obtain three-dimensional matrix data.
[0052] S4, performing data decomposition on the three-dimensional matrix data to obtain components of the target object.
[0053] The expanded three-dimensional matrix data is obtained and decomposed. The components of the target object can be inferred based on the decomposition results. Compared with the factor decomposition based on two-dimensional matrix data, the decomposition algorithm based on three-dimensional matrix data can produce a unique solution with actual physical meaning, so that the components of the material can be accurately analyzed. This characteristic is called "second-order advantage" or "high-order advantage".
[0054] In summary, an embodiment of the present invention provides a material component analysis method, which obtains original two-dimensional matrix data through sample detection, expands the original two-dimensional matrix data through a preset algorithm to obtain three-dimensional matrix data, and decomposes the three-dimensional matrix data to obtain the components of the target object.
[0055] The following three methods are included but are not limited to obtaining two-dimensional matrix data:
[0056] In the first mode, based on the above embodiment, preferably, the detection of several samples of the target object to obtain two-dimensional matrix data is specifically obtained by the following method:
[0057] Utilizing an array detector, variable detection is performed on each sample to obtain the two-dimensional matrix data.
[0058] Specifically, in order to obtain the initial two-dimensional matrix data, detection can be performed by the following method: variable detection is performed on each sample through an array detector, and the detected data is the two-dimensional matrix data. The array detector can be an infrared spectrum detector, a near-infrared spectrum detector, an ultraviolet spectrum detector, a visible spectrum detector or other array detectors. These array detectors detect a numerical value. By detecting each sample on each channel, two-dimensional matrix data can be obtained.
[0059] In the second mode, based on the above embodiment, preferably, the detection of several samples of the target object to obtain two-dimensional matrix data is specifically obtained by the following method:
[0060] A high-dimensional data detection method is used to perform single-channel detection on each sample to obtain the two-dimensional matrix data.
[0061] Specifically, the method for obtaining two-dimensional matrix data can also be: through a high-dimensional data detection method. The so-called high-dimensional data detection method is to detect a sample and obtain multiple values. Since a single-channel detection is performed, that is, only one detection channel is retained and other detection channels are closed when the high-dimensional data detection method is performed, then the data obtained by the detection is also two-dimensional matrix data.
[0062] High-dimensional data detection methods include single-channel detection of multiple samples using a high-performance liquid chromatography-array detector, excitation emission fluorescence using a single excitation or emission spectrum detection, and other methods to generate two-dimensional matrix data.
[0063] In a third embodiment, based on the above embodiment, preferably, the detection of several samples of the target object to obtain two-dimensional matrix data is performed in the following manner:
[0064] For any sample, the two-dimensional data matrix is obtained by combining external perturbations or array detectors.
[0065] Specifically, for a single sample, by combining external disturbance and array detector, such as changing temperature, humidity, pH value, detecting infrared spectrum, near-infrared spectrum, ultraviolet spectrum, visible spectrum under different sample forms, etc., and using array detector to detect a single sample, two-dimensional matrix data can also be obtained.
[0066] The above three methods are all common methods for obtaining two-dimensional matrix data.
[0067] Based on the above embodiment, preferably, decomposing the two-dimensional matrix data along the target dimension by a preset algorithm to obtain the decomposition coefficients specifically includes:
[0068] If the two-dimensional matrix data is expressed as m×n, m represents the number of samples, n represents the detection data, and the dimension where n is located is the target dimension;
[0069] The detection data of the target dimension is decomposed by the preset algorithm to obtain a decomposition coefficient n×s, where the detection data is 1×n, and s represents the decomposition coefficient.
[0070] Specifically, assuming that m samples are tested through n channels, a two-dimensional matrix data of size m×n is obtained. Since the dimension where the samples are located cannot be continuous, while the dimension where the test data is located is continuous, the dimension where n is located is the target dimension.
[0071] The detection data of the target dimension is decomposed by a preset algorithm, namely:
[0072] According to the target dimension, the two-dimensional matrix data is split on the target dimension, and the two-dimensional matrix data is split into a number of detection data, and then the detection data is decomposed by a preset algorithm to obtain a decomposition coefficient.
[0073] Specifically, in the embodiment of the present invention, splitting the two-dimensional matrix data into a number of detection data means: splitting the two-dimensional matrix data into m one-dimensional vectors, the length of the one-dimensional vector is n, and decomposing each one-dimensional vector through a preset algorithm to obtain a decomposition coefficient n×s.
[0074] Based on the above embodiment, preferably, the step of expanding the two-dimensional matrix data according to the decomposition coefficient to obtain the three-dimensional matrix data specifically includes:
[0075] The decomposition coefficients are expanded along the target dimension of the two-dimensional matrix data to obtain the three-dimensional matrix data, where the three-dimensional matrix data is represented as m×n×s.
[0076] Specifically, according to the obtained decomposition coefficients, the two-dimensional matrix data is expanded in the target dimension, and the obtained three-dimensional matrix data can be expressed as m×n×s.
[0077] Based on the above embodiments, preferably, the preset algorithm is wavelet transform or Fourier transform.
[0078] Specifically, the preset algorithm can be a wavelet transform and a Fourier transform algorithm. Here, the wavelet transform is used as an example for explanation. The coefficients generated by the wavelet transform are sorted, and the original two-dimensional matrix data is expanded into pseudo three-dimensional data (i.e., three-dimensional matrix data). For the wavelet transform, the data is increased to a dimension of frequency scale. The pseudo three-dimensional data generated can be decomposed to obtain a unique, physically meaningful solution, i.e., "second-order advantage".
[0079] Figure 2 A flowchart of a material component analysis method provided by another embodiment of the present invention is as follows: Figure 2 As shown, firstly, the samples of m target objects are tested on n channels to generate m×n two-dimensional matrix data, and then the test data 1×n of each sample is processed by continuous wavelet transform to obtain n×s wavelet coefficient matrix, where s represents the scale range of wavelet decomposition, and the iteration is repeated until the test data of each sample is decomposed. After the decomposition is completed, m×n×s three-dimensional matrix data is generated, and the generated coefficient matrix is decomposed using a three-dimensional algorithm to analyze the components of the target object.
[0080] In order to verify the effectiveness of the above method of converting two-dimensional matrix data into three-dimensional matrix data, the method is simulated by MATLAB software in the embodiment of the present invention.
[0081] First, a set of simulated data consisting of 10 samples and 200 variable groups is generated using the Gaussian function, that is, the size of the two-dimensional matrix data is 10 × 20. The horizontal coordinate X of each sample is composed of 200 points ranging from 1 to 200 and interval 1, and the vertical coordinate Y represents the value of the detection data, which is the result of iterating three basic Gaussian peaks at different proportions.
[0082] Figure 3 A schematic diagram of three basic Gaussian peaks provided in an embodiment of the present invention, such as Figure 3 As shown, the positions of the three basic Gaussian peaks are 50, 100, and 150, and the peak widths of the three basic Gaussian peaks are 1, 3, and 50, respectively.
[0083] Figure 4 The mixed signal diagram generated by directly superimposing three basic Gaussian peaks provided in the embodiment of the present invention is as follows: Figure 4 As shown, the mixed signal is a two-dimensional matrix data, and continuous wavelet transform is performed on the mixed signal to obtain wavelet coefficients.
[0084] Figure 5 is a schematic diagram of a mixed signal of 10 samples simulated in an embodiment of the present invention, such as Figure 5 As shown in the figure, 10 rows and 3 columns of values are randomly generated according to the principle of uniform distribution between 0 and 1, representing the concentration information corresponding to the three Gaussian peaks in the 10 samples. The concentration information is multiplied by the three basic Gaussian peaks to obtain the mixed signal of the 10 simulated samples. Then, the wavelet transform is used to decompose the data of the 10 simulated samples to generate three-dimensional matrix data. Figure 6 Schematic diagram of data decomposition results for one of the simulated samples in an embodiment of the present invention.
[0085] The resulting three-dimensional data matrix is decomposed using alternating trilinear decomposition to obtain three factors. Figure 7 is a frequency contour diagram of the three factors after decomposition in an embodiment of the present invention, Figure 8 is a spectrum profile diagram of the three factors after decomposition in an embodiment of the present invention, Fig. 9 is the concentration profile of the three factors after decomposition in the embodiment of the present invention. Figures 6 to 9 It can be seen that a total of 3 factors are decomposed, which is consistent with the information simulated by the three Gaussian peaks used in the mixed signal. Figure 7 From the frequency contour, we can see that the three component frequencies are clearly distinguished, which indicates the different peak widths of the three Gaussian peaks in the simulated data. This shows that the data dimension added in the present invention does contain information that can further distinguish the factors, and is accurately represented in the decomposition. Figure 8 From the analytical spectral profiles in , we can see that the center positions of the three profiles are roughly at 50, 100, and 150, which is consistent with the center position of the Gaussian peak in the mixed signal. Fig. 9 The relative concentrations of the three components in the 10 samples were analyzed, which can be used for subsequent qualitative and quantitative analysis. The pseudo-three-dimensional data decomposition in this example provides additional frequency resolution, laying the foundation for more accurate qualitative and quantitative analysis.
[0086] Fig.10 A schematic diagram of a material component analysis system provided by an embodiment of the present invention is shown in FIG. Fig.10As shown, the system includes: a detection module 1001, a decomposition module 1002, an expansion module 1003 and a decomposition module 1004, wherein:
[0087] The detection module 1001 is used to detect several samples of the target object and obtain two-dimensional matrix data;
[0088] The decomposition module 1002 is used to decompose the two-dimensional matrix data along the target dimension by using a preset algorithm to obtain a decomposition coefficient, wherein the preset algorithm is an algorithm that can generate a new data dimension, and the target dimension is a dimension with continuous transformation;
[0089] The expansion module 1003 is used to expand the two-dimensional matrix data according to the decomposition coefficient to obtain three-dimensional matrix data;
[0090] The analysis module 1004 is used to perform data decomposition on the three-dimensional matrix data to obtain components of the target object.
[0091] This embodiment is a system embodiment corresponding to the above method. For details, please refer to the above method embodiment. This system embodiment will not be described in detail here.
[0092] Fig.11 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention is shown in FIG. Fig.11 As shown, the electronic device may include: a processor 1110, a communication interface 1120, a memory 1130 and a communication bus 1140, wherein the processor 1110, the communication interface 1120 and the memory 1130 communicate with each other through the communication bus 1140. The processor 1110 may call the logic instructions in the memory 1130 to execute a material component analysis method, which includes:
[0093] Detect several samples of the target object to obtain two-dimensional matrix data;
[0094] Decomposing the two-dimensional matrix data along the target dimension by a preset algorithm to obtain decomposition coefficients, wherein the preset algorithm is an algorithm that can generate a new data dimension, and the target dimension is a dimension with continuous transformation;
[0095] Expanding the two-dimensional matrix data according to the decomposition coefficients to obtain three-dimensional matrix data;
[0096] The three-dimensional matrix data is decomposed to obtain components of the target object.
[0097] In addition, the logic instructions in the above-mentioned memory 1130 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0098] On the other hand, an embodiment of the present invention further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, and when the program instructions are executed by a computer, the computer can execute a material component analysis method provided by each of the above method embodiments, the method comprising:
[0099] Detect several samples of the target object to obtain two-dimensional matrix data;
[0100] Decomposing the two-dimensional matrix data along the target dimension by a preset algorithm to obtain decomposition coefficients, wherein the preset algorithm is an algorithm that can generate a new data dimension, and the target dimension is a dimension with continuous transformation;
[0101] Expanding the two-dimensional matrix data according to the decomposition coefficients to obtain three-dimensional matrix data;
[0102] The three-dimensional matrix data is decomposed to obtain components of the target object.
[0103] In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, a material component analysis method provided in the above embodiments is implemented, and the method includes:
[0104] Detect several samples of the target object to obtain two-dimensional matrix data;
[0105] Decomposing the two-dimensional matrix data along the target dimension by a preset algorithm to obtain decomposition coefficients, wherein the preset algorithm is an algorithm that can generate a new data dimension, and the target dimension is a dimension with continuous transformation;
[0106] Expanding the two-dimensional matrix data according to the decomposition coefficients to obtain three-dimensional matrix data;
[0107] The three-dimensional matrix data is decomposed to obtain components of the target object.
[0108] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0109] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for analyzing material components, characterized in that: include: Perform multi-channel detection on a plurality of samples of the target object to obtain two-dimensional matrix data, wherein one dimension of the two-dimensional matrix data represents the sample and the other dimension represents the detection channel; Decomposing the two-dimensional matrix data along the target dimension by a preset algorithm to obtain decomposition coefficients, wherein the preset algorithm is an algorithm that can generate a new data dimension, and the target dimension is a dimension with continuous transformation; Expanding the two-dimensional matrix data according to the decomposition coefficients to obtain three-dimensional matrix data; Decomposing the three-dimensional matrix data to obtain components of the target object; The step of decomposing the two-dimensional matrix data along the target dimension by using a preset algorithm to obtain decomposition coefficients specifically includes: Splitting the two-dimensional matrix data on the target dimension to obtain a plurality of one-dimensional data; Each one-dimensional data is decomposed using the preset algorithm to obtain a decomposition coefficient.
2. The material component analysis method according to claim 1, characterized in that: The detection of several samples of the target object to obtain two-dimensional matrix data is specifically obtained in the following manner: Utilizing an array detector, variable detection is performed on each sample to obtain the two-dimensional matrix data.
3. The material component analysis method according to claim 1, characterized in that: The detection of several samples of the target object to obtain two-dimensional matrix data is specifically obtained in the following manner: A high-dimensional data detection method is used to perform single-channel detection on each sample to obtain the two-dimensional matrix data.
4. The material component analysis method according to claim 1, characterized in that: The detection of several samples of the target object to obtain two-dimensional matrix data is specifically obtained in the following manner: For any sample, the two-dimensional data matrix is obtained by combining external perturbations or array detectors.
5. The material component analysis method according to claim 1, characterized in that: Decomposing the two-dimensional matrix data along the target dimension by a preset algorithm to obtain decomposition coefficients specifically includes: The detection data where the target dimension is located is decomposed by the preset algorithm to obtain the decomposition coefficient, wherein the two-dimensional matrix data is represented as m×n, m represents the number of samples, n represents the detection data, the dimension where the detection data is located is the target dimension, the decomposition coefficient is n×s, the detection data is 1×n, and s represents the decomposition coefficient dimension.
6. The material component analysis method according to claim 5, characterized in that: The step of expanding the two-dimensional matrix data according to the decomposition coefficients to obtain three-dimensional matrix data specifically includes: The decomposition coefficients are expanded along the target dimension of the two-dimensional matrix data to obtain the three-dimensional matrix data, where the three-dimensional matrix data is represented as m×n×s.
7. The material component analysis method according to claim 1, characterized in that: The preset algorithm is wavelet transform or window Fourier transform.
8. A material component analysis system, characterized in that: The method for analyzing material components as claimed in claim 1 comprises: A detection module is used to detect several samples of the target object and obtain two-dimensional matrix data; A decomposition module, used to decompose the two-dimensional matrix data along the target dimension by a preset algorithm to obtain a decomposition coefficient, wherein the preset algorithm is an algorithm that can generate a new data dimension, and the target dimension is a dimension with continuous transformation; An expansion module, used for expanding the two-dimensional matrix data according to the decomposition coefficient to obtain three-dimensional matrix data; The analysis module is used to perform data decomposition on the three-dimensional matrix data to obtain components of the target object.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the material component analysis method according to any one of claims 1 to 7 are implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the material component analysis method according to any one of claims 1 to 7 are implemented.
