Method and system for aligning and integrating champions of multi-source spectral library
Patent Information
- Application Number
- CN202411513592.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2044-10-28
AI Technical Summary
Existing technologies make it difficult to effectively integrate spectral libraries from different sources, resulting in insufficient accuracy and consistency in spectral information processing and application.
By selecting a reference spectral library and a spectral library to be aligned, and employing a benchmark selection strategy based on spectral clusters of the same name, a background extraction strategy based on waveform shaping, and a benchmark alignment strategy based on background components, multiple spectral libraries are aligned and integrated to form a stable integrated spectral library.
It achieves stable and effective integration of multi-source spectral libraries, improving the accuracy and consistency of spectral information processing, especially enhancing the accuracy of processing in spectral super-resolution and spectral fitting applications.
Smart Images

Figure CN119417701B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of image processing, and in particular to a champion alignment and integration method and system for multi-source spectral libraries. BACKGROUND
[0002] At present, for different application requirements, the prior art has constructed many spectral libraries oriented to different application fields, and these spectral libraries have been widely applied to different fields such as spectral unmixing, spectral super-resolution, spectral fitting, spectral analysis, and optical remote sensing image classification.
[0003] Compared with a single spectral library, different sources of spectral libraries contain more categories and diversified spectral information, and the integration of spectral information in different sources of spectral libraries helps to further improve the accuracy of spectral library information processing and the universality of application. However, the differences in acquisition conditions and acquisition equipment involved in different sources of spectral libraries will lead to differences in spectral information, which will affect the spectral library information processing and application.
[0004] Therefore, how to comprehensively utilize the spectral information provided by the spectral libraries of different institutions, provide a multi-source spectral library integration method and system, and consistently collect and integrate the spectral information of multiple different sources of spectral libraries, has important practical significance and practical application value. SUMMARY
[0005] The present application aims to at least solve one of the technical problems in the related art to some extent.
[0006] To this end, the first purpose of the present application is to propose a champion alignment and integration method and system for multi-source spectral libraries, which can consistently collect and integrate the spectral information of multiple different sources of spectral libraries, and realize stable and effective integration of multi-source spectral libraries.
[0007] To achieve the above-mentioned purpose, the first aspect embodiment of the present application proposes a champion alignment and integration method for multi-source spectral libraries, comprising:
[0008] S1, providing multi-source spectral libraries {Z n}, n=1,…,N, N≥2;
[0009] S2, selecting a reference spectral library Z n and a spectral library to be aligned Z i from the multi-source spectral libraries {Z j}, i≠j, i=1,2,…,N, j=1,2,…,N;
[0010] S3, based on a cluster-based champion selection strategy, respectively selecting a reference spectral library Z i and a spectral library to be aligned Z jSelect the reference spectrum cluster that meets the spectrum consistency between libraries from the spectrum clusters with the same name and the spectral clusters to be aligned
[0011] S4, background extraction strategy based on waveform shaping, respectively, in the reference spectrum cluster and the spectral clusters to be aligned Extract the reference background component that satisfies the intra-cluster spectral consistency and the background component to be aligned
[0012] S5, pacesetter alignment strategy based on background component, and based on reference spectral library Z i Solve the spectral library Z to be aligned j , obtain the benchmark aligned spectral library Z j ′, and integrated spectral library
[0013] S6, will integrate spectral libraries As a reference spectral library, and in the multi-source spectral library {Z n}Select the next spectral library Z to be aligned k , k≠j, k=1,2,…,N; repeat steps S3 to S5 until the multi-source spectral library {Z n}Integrated into a single spectral library
[0014] Optionally, the reference spectral library Z i and the spectral library Z to be aligned j have the same spectral resolution.
[0015] Optionally, step S3 specifically includes:
[0016] S31, obtaining the reference spectrum library Z i and the spectral library Z to be aligned j The cluster number sequence of the spectral clusters with the same name {C ij};
[0017] S32, in the reference spectrum library Z i and the spectral library Z to be aligned j The spectral cluster sequence of the same name {C ij}Select the cth spectral cluster and spectral clusters c=1,2,…,C ij ;
[0018] S33, calculation of spectral clusters and spectral clusters Spectral correlation of Spectral correlation The mean minimum and spectral correlation of The maximum variance and spectral correlation of The ratio of the minimum mean to the maximum variance S c ;
[0019] S34, in the reference spectrum library Z i and the spectral library Z to be aligned j The spectral cluster sequence C of the same name ij Select the e-th spectral cluster and spectral clusters c≠e,e=1,2,…,C ij , and repeat step S33 until the maximum ratio S is obtained. p The corresponding p-th spectral cluster and spectral clusters
[0020] Optionally, the reference spectral library Z i and the spectral library Z to be aligned j The spectral cluster sequence C of the same name ij The c-th spectral cluster and spectral clusters Spectral correlation of The Pearson correlation coefficient and the average spectrum in the corresponding spectral cluster are sequentially solved and obtained, and satisfy:
[0021]
[0022] in, spectral cluster The average spectrum within the cluster; spectral cluster The average spectrum within the cluster.
[0023] Optionally, step S4 specifically includes:
[0024] S41, respectively cluster the reference spectrum and the spectral cluster to be aligned The spectral curve is decomposed into signal component, background component and noise component respectively;
[0025] S42, respectively obtain the reference spectrum clusters and the spectral cluster to be aligned The maximum amplitude of the reference spectrum cluster is calculated based on the maximum amplitude. and the spectral cluster to be aligned Perform waveform shaping to obtain the reference spectrum clusters after waveform shaping and the spectral cluster to be aligned The shaping background component of
[0026] S43, respectively performing waveform shaping on the reference spectrum clusters and the spectral cluster to be aligned The shaping background component is solved, and the reference background component is obtained based on the solution value and the background component to be aligned
[0027] Optionally, the reference spectrum cluster in step S42 and the spectral cluster to be aligned The maximum amplitude and the reference spectrum cluster after waveform shaping and the spectral cluster to be aligned Satisfy respectively:
[0028]
[0029] Among them, α is the weight factor; The reference spectrum cluster The maximum amplitude of The spectral cluster to be aligned The maximum amplitude of The reference spectrum cluster The signal component of The spectral cluster to be aligned The signal component of The reference spectrum cluster The noise component; The spectral cluster to be aligned The noise component; The reference spectrum cluster after shaping background weight; The spectral clusters to be aligned after shaping background component.
[0030] Optionally, the background component-based standard alignment strategy is based on the reference spectral library Z i Solve the spectral library Z to be aligned j Before the steps, also include:
[0031] Calculate and obtain the reference background components respectively Average value and the background component to be aligned Average value
[0032] Optionally, in step S5, the benchmark alignment spectral library Z j 'satisfy:
[0033]
[0034] wherein, is the average value of the reference background component is the average value of the background component is the average value of the background component J is an all-one matrix.
[0035] To achieve the above object, the second aspect of the present application proposes a champion alignment integration system of multi-source spectral library, comprising:
[0036] a storage module for storing multi-source spectral library data;
[0037] an acquisition module for selectively extracting the multi-source spectral library data stored in the storage module to obtain a reference spectral library and a spectral library to be aligned;
[0038] a first processing module for calculating and processing the same-named spectral clusters of the reference spectral library and the spectral library to be aligned according to the champion selection strategy of the cluster, to filter and obtain the reference spectral cluster and the spectral cluster to be aligned that meet the spectral consistency in the same-named spectral clusters of the reference spectral library and the spectral library to be aligned;
[0039] a second processing module for obtaining the reference background component and the background component to be aligned that meet the spectral consistency according to the background extraction strategy of waveform shaping in the reference spectral cluster and the spectral cluster to be aligned;
[0040] a third processing module for calculating and processing the reference background component, the background component to be aligned and the spectral library to be aligned according to the champion alignment strategy of the background component, to obtain a champion alignment spectral library aligned with the reference spectral library, and to integrate the reference spectral library and the champion alignment spectral library to obtain an integrated spectral library integrated two by two;
[0041] a control output module for controlling the switching of the data extraction path of the reference spectral library by the acquisition module, so that the third processing module can output the integrated spectral library to the acquisition module, until the multi-source spectral library is integrated into a single integrated spectral library.
[0042] To achieve the above object, the third aspect of the present application proposes a computer readable storage medium for storing non-transitory computer readable instructions, when the non-transitory computer readable instructions are executed by a computer, the computer executes the multi-source spectral library champion alignment integration method described in the above embodiment.
[0043] The multi-source spectral library champion alignment integration method and system provided by the present application at least have the following beneficial effects:
[0044] The present application provides a benchmark alignment and integration method and system for a multi-source spectral library, including providing a multi-source spectral library; first, selecting a reference spectral library and a spectral library to be aligned in the multi-source spectral library; then, sequentially aligning the spectral library to be aligned with the reference spectral library through a benchmark selection strategy based on spectral clusters of the same name, a background extraction strategy based on waveform shaping, and a benchmark alignment strategy based on background components to obtain a benchmark aligned spectral library; then, integrating the benchmark aligned spectral library with the reference spectral library in pairs to obtain a new integrated spectral library; finally, using the integrated spectral library as the reference spectral library, selecting another spectral library to be aligned from the multi-source spectral library, and thus looping through the spectral library until the multi-source spectral library is integrated into a single spectral library. The present application achieves stable and effective integration of multi-source spectral libraries through the benchmark alignment strategy.
[0045] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0047] Figure 1 The figure is a flow chart of a benchmark alignment and integration method for a multi-source spectral library according to an embodiment of the present application.
[0048] Figure 2 Schematic diagram of another process for aligning and integrating benchmarks of a multi-source spectral library according to an embodiment of the present application.
[0049] Figure 3 A reference background component according to an embodiment of the present application is shown Average value The background component to be aligned Average value relationship curve.
[0050] Figure 4 A pairwise integrated spectral library according to an embodiment of the present application is shown Typical spectral curve. DETAILED DESCRIPTION
[0051] The following describes in detail embodiments of the present application, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0052] At present, the integration method of multiple different source spectral libraries is limited, and the common integration method is a spectral library integration method based on a data model or a spectral library integration method of sequentially stacking all spectra in different spectral libraries. However, the spectral library integration method based on the data model can only improve the interoperability of spectral libraries obtained from different institutions, and the spectral library integration method based on simple stacking cannot effectively improve the accuracy of subsequent application and processing, especially the accuracy of spectral super-resolution and spectral fitting. In addition, the above methods do not fully consider the different effects of collection conditions and collection equipment differences on spectral signal components and background components, which makes it difficult to ensure the overall consistency of the statistical characteristics of the integrated spectra in the existing multi-source spectral library integration process, and also leads to the fact that the existing multi-source spectral library integration method cannot obtain satisfactory multi-source spectral library integration effect.
[0053] Based on the above problems, the embodiment of the present application provides a champion alignment integration method and system of multi-source spectral library, by selecting a reference spectral library and a to-be-aligned spectral library in the multi-source spectral library, and aligning the to-be-aligned spectral library and the reference spectral library through a champion selection strategy based on the same name spectral cluster, a background extraction strategy based on waveform shaping and a champion alignment strategy based on the background component, so that the to-be-aligned spectral library after champion alignment can be directly integrated with the reference spectral library to form a new integrated spectral library, and finally taking the integrated spectral library as the reference spectral library and selecting another to-be-aligned spectral library from the multi-source spectral library, thereby circulating and traversing until the multi-source spectral library is integrated into a single spectral library, realizing stable and effective integration of the multi-source spectral library.
[0054] According to a first aspect of the present application, a champion alignment integration method of multi-source spectral library is provided, as shown in Figure 1 and Figure 2 , the method comprises the following steps:
[0055] S1, providing a multi-source spectral library {Z n}, n = 1, …, N, N ≥ 2;
[0056] S2, selecting a reference spectral library Z n and a to-be-aligned spectral library Z i from the multi-source spectral library {Z j}, i ≠ j, i = 1, 2, …, N, j = 1, 2, …, N;
[0057] S3, based on the cluster-based champion selection strategy, selecting reference spectral clusters i and to-be-aligned spectral clusters j that meet the spectral consistency between the libraries in the same name spectral clusters of the reference spectral library Z and the to-be-aligned spectral library Z
[0058] S4, a background extraction strategy based on waveform shaping, extracts reference background components satisfying intra-cluster spectral consistency from reference spectral clusters and to-be-aligned spectral clusters and to-be-aligned background components
[0059] S5, a champion alignment strategy based on background components, and obtains a champion alignment spectral library Z i from the to-be-aligned spectral library Z j , a champion alignment spectral library Z j ′, and an integrated spectral library
[0060] S6, takes the integrated spectral library as a reference spectral library, and selects a next to-be-aligned spectral library Z n from the multi-source spectral library {Z k , k≠j, k=1, 2, …, N; repeats steps S3-S5 until the multi-source spectral library {Z n} is integrated into a single spectral library
[0061] In some embodiments, the multi-source spectral library {Z n} in step S1 can be N different source spectral libraries, N being a natural number greater than or equal to 2, and any one of the spectral libraries in the multi-source spectral library {Z n} should have the same spectral resolution, for example, the i-th spectral library where λ x and M i are the number of wavebands and the number of pixels in each waveband of the i-th spectral library of the input multi-source spectral library, respectively.
[0062] As an example, the multi-source spectral library {Z n} uses 480 typical mineral spectra in the United States Geological Survey (USGS) spectral library and 430 typical mineral spectra in the Jet Propulsion Laboratory (JPL) spectral library, both of which cover the spectral range of 400 nm-2500 nm. At the same time, the spectral resolution of the USGS spectral library Z1 and the JPL spectral library Z2 is made consistent through waveband matching and other preprocessing means.
[0063] In some embodiments, the step S3 specifically includes:
[0064] S31, obtains a reference spectral library Z i and a to-be-aligned spectral library Z j The spectral cluster sequence of the same name {C ij}.
[0065] S32, in reference spectral library Z i and the spectral library Z to be aligned j The spectral cluster sequence of the same name {C ij}Select the cth spectral cluster and spectral clusters c=1,2,…,C ij ;
[0066] S33, calculation of spectral clusters and spectral clusters Spectral correlation of Spectral correlation The mean minimum and spectral correlation of The maximum variance and spectral correlation of The ratio of the minimum mean to the maximum variance S c ;
[0067] S34, in the reference spectrum library Z i and the spectral library Z to be aligned j The spectral cluster sequence C of the same name ij Select the e-th spectral cluster and spectral clusters c≠e,e=1,2,…,C ij , and repeat step S33 until the maximum ratio S is obtained. p The corresponding p-th spectral cluster and spectral clusters
[0068] Specifically, since the spectral consistency between libraries of multi-source spectral libraries is the key to the integration of multi-source spectral libraries, and this spectral consistency exists in the spectral clusters with the same name corresponding to different spectral libraries, it is assumed that the reference spectral library Z i and the spectral library Z to be aligned j The spectral clusters of the same name contain C ij The clusters have the same name as the spectral clusters, and C ij The spectral clusters with the same name together constitute the spectral cluster sequence with the same name in step S31 {C ij}, spectral cluster sequence with the same name {C ij Any cluster (cth cluster) in the reference spectrum library Z i The corresponding spectral cluster In the spectral library Z to be aligned j The corresponding spectral cluster
[0069] Therefore, based on the Pearson correlation coefficient, spectral cluster the average spectrum within the cluster and the spectrum cluster the average spectrum within the cluster the spectrum cluster can be obtained by calculation the spectrum correlation within the cluster and the spectrum cluster the spectrum correlation within the cluster wherein,
[0070]
[0071] Secondly, the ratio S of the mean value minimum and the variance maximum of the spectrum correlation within the cluster is calculated respectively. c .
[0072] Considering that the spectrum cluster with higher intra-cluster spectrum consistency is more stable and representative, the maximum S of the ratio of the two is obtained p The corresponding position p, and the pth cluster is taken as the champion spectrum cluster and The above process can be further described as:
[0073]
[0074] In some embodiments, the step S4 specifically comprises:
[0075] S41, the spectrum curves of the reference spectrum cluster and the spectrum cluster to be aligned are respectively decomposed into signal components, background components and noise components;
[0076] S42, the maximum amplitudes of the reference spectrum cluster and the spectrum cluster to be aligned are obtained respectively, and the reference spectrum cluster and the spectrum cluster to be aligned are respectively waveform shaped based on the maximum amplitudes; the shaped background components of the reference spectrum cluster and the spectrum cluster to be aligned after waveform shaping are obtained respectively;
[0077] S43, the shaped background components of the reference spectrum cluster and the spectrum cluster to be aligned after waveform shaping are solved respectively, and the reference background component and the background component to be aligned
[0078] Specifically, theoretically, the multi-source spectrum library {Zn any spectral library Z i The given spectral curve of any spectral library Z i and the to-be-aligned spectral library Z j respectively satisfy the following relationships, i.e.:
[0079]
[0080] wherein, is the signal component of the reference spectral cluster Z , and is the signal component of the to-be-aligned spectral cluster Z , and is the background component of the reference spectral cluster Z , and is the background component of the to-be-aligned spectral cluster Z , and is the noise component of the reference spectral cluster Z , and is the noise component of the to-be-aligned spectral cluster Z , and
[0081] Secondly, the maximum amplitudes of the reference spectral cluster Z and the to-be-aligned spectral cluster Z satisfy the following relationship, i.e.:
[0082]
[0083] wherein, λ is the wavelength, and α is the weight factor, and α>1.
[0084] Therefore, the waveform shaping of the reference spectral cluster Z and the to-be-aligned spectral cluster Z can be specifically expressed as the following relationship, i.e.:
[0085]
[0086] wherein, are respectively the signal component and the background component of the shaped reference spectral cluster Z ; and is the signal component and the background component of the shaped to-be-aligned spectral cluster Z , and the signal component and the background component of the shaped reference spectral cluster Z and the to-be-aligned spectral cluster Z Both are greater than zero.
[0087] Finally, the variational mode decomposition (VMD) is used to solve the reference spectrum cluster after waveform shaping. Background component The low-frequency mode u i Spectral clusters to be aligned Background component The low-frequency mode u j , and then obtain the reference spectrum cluster before shaping and the spectral clusters to be aligned The background component is:
[0088]
[0089] In some embodiments, the background component-based benchmark alignment strategy described in step S5 is based on the fact that slight differences in chemical composition and physical structure in spectral clusters with the same name generally only affect the signal component of the spectrum rather than the background component. Average value The background component to be aligned Average value Treat the aligned spectral library Z j Solve it and you can get the benchmark aligned spectral library Z j ',Right now:
[0090]
[0091] in, is the reference background component The average value of Background component to be aligned The average value of , J is an all-one matrix.
[0092] Therefore, the benchmark aligned spectral library Z j ′ is the reference spectral library Z that can be directly aligned with the benchmark i Perform pairwise integration to obtain an integrated spectral library Thus, the reference spectrum library Z i and the spectral library Z to be aligned j integration.
[0093] Similarly, the integrated spectral library As a reference spectral library, the multi-source spectral library {Z n A spectral library Z in k As the spectral library to be aligned, k≠j, k=1,2,…,N, that is, the spectral library Z k Integrated spectral library The integration is performed, and the multi-source spectral library {Z n} is finally integrated into a single spectral library The stable and effective integration of the multi-source spectral library is realized.
[0094] As an example, the multi-source spectral library {Z n} can specifically include the pre-processed USGS spectral library Z1 and the JPL spectral library Z2, the size of the USGS spectral library Z1 is 188*480, that is The size of the JPL spectral library Z2 is 188*430, that is
[0095] When the spectral library Z1 is selected as the reference spectral library and the spectral library Z2 is selected as the spectral library to be aligned, the same spectral cluster sequences of the reference spectral library Z1 and the spectral library to be aligned Z2 are “pyrope”, “albite”, “calcite”, “diopside”, “hypersthene” and “montmorillonite” (C ij =6), so that the reference spectral clusters satisfying the spectral consistency can also be screened therefrom and the spectral clusters to be aligned
[0096] Correspondingly, based on the waveform shaping-based background extraction strategy, the reference background component can be calculated and obtained according to the reference spectral cluster and the background component to be aligned can be calculated and obtained according to the spectral cluster to be aligned When the weight factor α is set as α=1.1, the average value of the reference background component and the background component to be aligned is as shown in . Figure 2
[0097] Based on the champion alignment strategy of the background component, the aligned spectral library Z′2 is solved, so that the USGS spectral library Z1 and the JPL spectral library Z2 are integrated with each other, and the two-by-two integrated spectral library is obtained. Some typical spectra in the two-by-two integrated spectral library Figure 3 are shown.
[0098] According to a second aspect of the present application, a champion alignment integration system of a multi-source spectral library is provided, and the system comprises:
[0099] A storage module for storing the input multi-source spectral library data;
[0100] An acquisition module for selectively extracting the multi-source spectral library data stored in the storage module to obtain a reference spectral library and a spectral library to be aligned;
[0101] a first processing module configured to perform calculation processing on the same-named spectral clusters of the reference spectral library and the spectral library to be aligned according to a champion selection strategy of the spectral clusters, so as to screen and obtain the reference spectral cluster and the spectral cluster to be aligned that satisfy spectral consistency from the same-named spectral clusters of the reference spectral library and the spectral library to be aligned;
[0102] a second processing module configured to obtain the reference background component and the background component to be aligned that satisfy spectral consistency from the reference spectral cluster and the spectral cluster to be aligned according to a background extraction strategy of waveform shaping;
[0103] a third processing module configured to perform calculation processing on the reference background component, the background component to be aligned and the spectral library to be aligned according to a champion alignment strategy of the background component, so as to obtain a champion alignment spectral library that is aligned with the reference spectral library, and to obtain an integrated spectral library that is integrated two by two by integrating the reference spectral library and the champion alignment spectral library with each other;
[0104] a control output module configured to control switching of a data extraction path of the reference spectral library by the obtaining module, so that the third processing module can output the integrated spectral library to the obtaining module, until the multi-source spectral library is integrated into a single integrated spectral library.
[0105] According to a third aspect of the present application, a computer readable storage medium for storing non-transitory computer readable instructions is also provided, when the non-transitory computer readable instructions are executed by a computer, the computer is caused to perform the multi-source spectral library champion alignment integration method according to any of the above embodiments.
[0106] In summary, the present application provides a multi-source spectral library champion alignment integration method and system, which includes providing a multi-source spectral library, first selecting a reference spectral library and a spectral library to be aligned in the multi-source spectral library; then, sequentially performing the champion selection strategy based on the same-named spectral clusters, the background extraction strategy based on waveform shaping and the champion alignment strategy based on the background component, so as to align the spectral library to be aligned with the reference spectral library and obtain a champion alignment spectral library; then, integrating the champion alignment spectral library and the reference spectral library two by two to obtain a new integrated spectral library; finally, taking the integrated spectral library as the reference spectral library, selecting another spectral library to be aligned from the multi-source spectral library, and thus performing a cyclic traversal until the multi-source spectral library is integrated into a single spectral library. The present application realizes stable and effective integration of the multi-source spectral library through the champion alignment strategy.
[0107] In the foregoing detailed description, reference is made to descriptive terms such as "one embodiment", "some embodiments", "an example", "a specific example" or "some examples" etc. for describing various embodiments and examples. These descriptive terms are used for convenience of description only and do not necessarily have to be construed to refer to a particular embodiment or example. Thus, the features described in relation to such descriptive terms can be combined with features of other embodiments or examples in a suitable manner without conflicting with one another. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples can be combined and combined with one another, where such combination is not mutually inconsistent, by a person skilled in the art.
[0108] In addition, the terms "first", "second", etc. are used only for the purpose of description and should not be construed as indicating or implying relative importance or a specific number of the technical features indicated. Thus, the features defined with "first", "second" can include at least one of the features, explicitly or implicitly. In the description of the present application, the meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise specifically limited.
Claims
1. A method for champion alignment integration of multi-source spectral libraries, characterized in that, The method comprises the steps of: S1, providing a multi-source spectral library {Z n}, n =1,…,N, N≥2; S2, selecting a reference spectral library from a multi-source spectral library {Z n} in which the reference spectral library and the spectral library to be aligned , i ≠ j , i = 1, 2,..., N, j = 1, 2,..., N; S3, a cluster-based champion selection strategy, selects a reference spectrum cluster and a spectrum cluster to be aligned from the same-named spectrum clusters of the reference spectrum library and the spectrum library to be aligned, respectively that satisfy the inter-library spectrum consistency ; S4, a background extraction strategy based on waveform shaping, extracts reference background components satisfying intra-cluster spectral consistency from reference spectral clusters and to-be-aligned spectral clusters respectively and to-be-aligned background components respectively S5, alignment strategy of the champion based on the background component, and according to the reference spectral library Solving the spectral library to be aligned , obtaining the champion alignment spectral library , and integrating the spectral library [ ] S6, integrate the spectral library as the reference spectral library, and select the next spectral library to be aligned in the multi-source spectral library {Z n} , k ≠ j , k = 1, 2, …, N; repeat steps S3-S5 until the multi-source spectral library {Z n} is integrated into a single spectral library [ ] The step S3 specifically comprises: S31, obtaining the reference spectrum library and the spectral library to be aligned The cluster number sequence of the spectral clusters with the same name {C ij }; S32, in the reference spectral library and the spectral library to be aligned The spectral cluster sequence of the same name {C ij }Select the c Cluster Spectrum Cluster and spectral clusters , c =1,2,…, C ij ; S33, calculating the spectral cluster and the spectral correlation of the spectral cluster the mean minimum of the spectral correlation the variance maximum of the spectral correlation the ratio S of the mean minimum and the variance maximum of the spectral correlation c ; S34, selecting an e-th cluster spectrum cluster C and the same-named spectrum cluster sequence C of the spectrum library to be aligned ij and spectrum cluster , c ≠ e , e =1,2,…, C ij , and repeating step S33 until the maximum ratio S p is obtained by traversing p and spectrum cluster ; The step S4 specifically comprises: S41, respectively decomposing the spectrum curves of the reference spectrum cluster and the spectrum cluster to be aligned into signal components, background components and noise components. S42, respectively acquire maximum amplitudes of the reference spectrum cluster and the spectrum cluster to be aligned , and respectively perform waveform shaping on the reference spectrum cluster and the spectrum cluster to be aligned based on the maximum amplitudes; respectively acquire shaping background components of the reference spectrum cluster and the spectrum cluster to be aligned after waveform shaping; S43, respectively solving the shaped background components of the reference spectral cluster and the spectral cluster to be aligned and obtaining the reference background component and the background component to be aligned based on the solving values.
2. The method of claim 1, wherein, The reference spectral library and the spectral library to be aligned Z j have the same spectral resolution.
3. The method of claim 1, wherein, The reference spectral library and the to-be-aligned spectral library The same-name spectral cluster sequence C of ij The first c cluster spectrum cluster And the spectral correlation of the spectral cluster The Pearson correlation coefficient and the average spectrum in the corresponding spectral cluster are sequentially solved, and satisfy: wherein is the average spectrum within the cluster of spectral clusters is the average spectrum within the cluster of spectral clusters is the average spectrum within the cluster of spectral clusters is the average spectrum within the cluster of spectral clusters 4. The method of claim 1, wherein, The reference spectral cluster in the step S42 and the spectral cluster to be aligned respectively satisfy: The reference spectral cluster after the maximum amplitude and waveform shaping of the reference spectral cluster in the step S42 and the spectral cluster to be aligned respectively satisfy: wherein is the wavelength; a is a weight factor; is the maximum amplitude of the reference spectral cluster ; is the maximum amplitude of the spectral cluster to be aligned ; is the signal component of the reference spectral cluster ; is the signal component of the spectral cluster to be aligned ; is the noise component of the reference spectral cluster ; is the noise component of the spectral cluster to be aligned ; is the background component of the reference spectral cluster after reshaping; is the background component of the spectral cluster to be aligned after reshaping.
5. The method of claim 1, wherein, The said reference spectral library is based on the background component alignment strategy solving the spectral library to be aligned before the steps of Calculate and obtain the reference background components respectively Average value and the background component to be aligned Average value .
6. The method of claim 1, wherein, In the step S5, the marker aligns the spectrum library satisfies: wherein is the average value of the background component for the reference background component is the average value of the background component to be aligned, J is an all-ones matrix.
7. A champion alignment integration system of multi-source spectral library, comprising the champion alignment integration method of multi-source spectral library according to any one of claims 1-6, characterized in that, The method comprises the steps of: A storage module is configured to store the multi-source spectral library data. An acquisition module is configured to selectively extract the multi-source spectral library data stored in the storage module to obtain a reference spectral library and a spectral library to be aligned. A first processing module is configured to calculate and process the same-name spectral clusters of the reference spectral library and the spectral library to be aligned according to a champion selection strategy of the cluster, so as to screen and obtain the reference spectral cluster and the spectral cluster to be aligned that satisfy spectral consistency from the same-name spectral clusters of the reference spectral library and the spectral library to be aligned. A second processing module is configured to obtain reference background components and background components to be aligned that satisfy spectral consistency from the reference spectral cluster and the spectral cluster to be aligned according to a background extraction strategy of waveform shaping. A third processing module is configured to calculate and process the reference background components, the background components to be aligned and the spectral library to be aligned according to a champion alignment strategy of the background components, so as to obtain a champion alignment spectral library that is aligned with the reference spectral library, and to obtain an integrated spectral library that is integrated two by two by integrating the reference spectral library and the champion alignment spectral library. A control output module is configured to control the switching of the data extraction path of the reference spectral library by the acquisition module, so that the third processing module can output the integrated spectral library to the acquisition module, until the multi-source spectral library is integrated into a single integrated spectral library.
8. A computer-readable storage medium for storing non-transitory computer-readable instructions, characterized in that, When the non-transitory computer readable instructions are executed by a computer, the computer is caused to perform the multi-source spectral library champion alignment integration method of any one of claims 1-6.
Citation Information
Patent Citations
Spectral measurement system and measurement method
CN106841118A
Deep learning-based semi-automatic building method for hyperspectral database
CN107704878A