A fast clustering method for hyperspectral remote sensing images based on multi-scale graph fusion

Through multi-scale graph fusion technology, including super-pixel segmentation and multi-scale local spatial information fusion, the problem of inefficiency of hyperspectral image clustering methods is solved, efficient clustering processing and accuracy improvement are achieved, and it is suitable for large-scale HSI data sets .

CN117853769BActive Publication Date: 2024-10-18XI AN JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410023827.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-08
Publication Date
2024-10-18
Estimated Expiration
2044-01-08

AI Technical Summary

Technical Problem

Existing hyperspectral image clustering methods have high computational complexity and are difficult to handle large-scale data sets, resulting in low efficiency.

Method used

A fast clustering method for hyperspectral remote sensing images based on multi-scale graph fusion is adopted to reduce the time complexity of graph convolution subspace clustering through superpixel segmentation, superpixel-level graph convolution subspace clustering and multi-scale local spatial information fusion. degree and improve clustering accuracy.

Benefits of technology

While ensuring clustering accuracy, it greatly improves the efficiency of the clustering algorithm, can efficiently process large-scale HSI data sets, reduces hardware requirements, and can complete clustering tasks using the CPU, significantly improving clustering accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117853769B_ABST
    Figure CN117853769B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for fast clustering of hyperspectral remote sensing images based on multi-scale graph fusion, which belongs to the technical field of hyperspectral remote sensing image processing. The method mainly comprises the following steps: 1. Super-pixel segmentation of hyperspectral images; 2. Super-pixel-level graph convolution subspace clustering to obtain a self-representation coefficient matrix; 3. Multi-scale local spatial information fusion of the self-representation coefficient matrix; 4. Spectral clustering of the self-representation coefficient matrix to obtain the final clustering result. The method of the present invention can shorten the clustering time while ensuring the clustering accuracy under the condition of limited computing resources, and effectively improve the clustering performance of the convolution subspace clustering method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of remote sensing hyperspectral clustering, and in particular to a hyperspectral remote sensing image fast clustering method based on multi-scale graph fusion. Background Art

[0002] Hyperspectral imagery (HSI) is a powerful remote sensing image technology that provides rich spectral information and spatial structure and is widely used in many fields, such as vegetation surveys, resource exploration, environmental monitoring, and target identification. HSI data usually contains dozens of spectral bands, and its narrow diagnostic spectral bands (usually a few nm intervals) can effectively perform fine-grained classification of different materials and objects. Currently, HSI clustering is a research area that has attracted much attention. Solving the HSI clustering problem will help to better understand and utilize hyperspectral data and promote the further application and development of remote sensing technology in various application fields.

[0003] Although the graph convolution subspace clustering method has achieved excellent accuracy in the field of hyperspectral clustering, it has high computational complexity and cannot handle large-scale data sets. Therefore, further improving the efficiency of the estimation algorithm is still one of the issues that researchers are very interested in. Summary of the invention

[0004] In order to overcome the problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a fast clustering method for hyperspectral remote sensing images based on multi-scale graph fusion, which can greatly improve the efficiency of the clustering algorithm while ensuring the clustering accuracy.

[0005] In order to achieve the above object, the present invention adopts the following technical solution:

[0006] A fast clustering method for hyperspectral remote sensing images based on multi-scale graph fusion includes the following steps:

[0007] Step 1: Superpixel segmentation: The ERS superpixel segmentation method is used to segment the hyperspectral image and divide the hyperspectral image into several superpixel points; each superpixel point contains several pixels, and each superpixel point is regarded as a region with similar characteristics;

[0008] Step 2: Superpixel-level graph convolution subspace clustering: After the superpixel points obtained in step 1, the hyperspectral image is averaged according to the superpixel point area to obtain a superpixel map, and the superpixel-level graph convolution subspace clustering algorithm is used to obtain the self-representation coefficient matrix Z of the superpixel map;

[0009] Step 3: Multi-scale local spatial information fusion: Add multi-scale local spatial information to the self-representation coefficient matrix Z obtained in step 2 and fuse them to obtain the final self-representation coefficient matrix Z * ;

[0010] Step 4: The final self-representation coefficient matrix Z obtained in step 3 * Spectral clustering is performed and the clustering results are mapped to the original hyperspectral image to obtain pixel-level clustering results, that is, the category to which each pixel belongs.

[0011] Preferably, in step 1, PCA principal component analysis dimensionality reduction processing is performed on the selected hyperspectral image to reduce the band dimension of the hyperspectral image to 4 dimensions; after obtaining the reduced-dimensional image, ERS superpixel segmentation is performed to assign each pixel point to a corresponding superpixel point.

[0012] Preferably, in step 2, the specific method of superpixel-level graph convolution subspace clustering is as follows:

[0013] First, average each superpixel point of the several superpixels obtained in step 1 to obtain a superpixel map S = [s 1 ,s 2 ,s 3 , ..., s m ], where m is the number of superpixels, s i Represents the i-th superpixel;

[0014] Combining the idea of ​​graph convolution subspace clustering, the superpixel graph is represented by the following formula:

[0015]

[0016] in, A is the adjacency matrix of superpixels, I m is the identity matrix, for The degree matrix of

[0017] make Then optimize the following objective function:

[0018]

[0019] where λ is the balance coefficient, ||·|| p and ||·|| q Represents the adapted matrix norm, p, q = 0, 1, 2, F; where 0, 1, 2 represent the 0 norm, 1 norm and 2 norm, and F represents the Frobenius norm. By adjusting Z to optimize the objective function, the specific value of the self-representation coefficient matrix Z is finally obtained. The specific method is as follows:

[0020]

[0021] The closed-form solution of the self-representation coefficient matrix Z can be directly obtained through the above formula.

[0022] Preferably, in step 3, the specific method of multi-scale local spatial information fusion is as follows:

[0023] First, we get the multi-scale neighbors of each superpixel point, the superpixel point s i The neighbor set of the superpixel point represents the set of other superpixel points adjacent to the superpixel point, defined as N(s i );

[0024] Secondly, through the Gaussian kernel function G(x, y) = exp(-||xy|| 2 / 2σ 2 ) Calculate the clustering between superpixels to represent the similarity between superpixels;

[0025] Then, by constructing the multi-scale local space self-representation coefficient matrix Z L , the formula is as follows:

[0026]

[0027] Among them, s i and j represents any superpixel point, N k (s i ) represents i The k-level neighbor set of σ is a hyperparameter used to control the decay rate of similarity between superpixels. It is set to 1 according to experimental experience. Representatives i and j The distance between them is also regarded as the value of the matrix in the i-th row and j-th column. Z is obtained by the above formula L ; Finally, the multi-scale local space self-representation coefficient matrix Z L Fuse into Z to get the final self-representation coefficient matrix Z * :

[0028] Z * =αZ+(1-α)Z L

[0029] Where α∈[0, 1] is a balance parameter for supplementing local spatial information.

[0030] Preferably, the multi-scale neighborhood is defined as follows:

[0031] Definition of Dn(s a ,s b ) is the superpixel point s a Move to superpixel point s b The passage does not include s a The minimum number of superpixels itself, if Dn(s a ,s a)=0, representing from s a to itself through 0 superpixels, and if s a and b is a direct neighbor, then Dn(s a ,s b )=1, by calculating the minimum Manhattan distance between two superpixels to determine whether they are direct neighbors, the definition of multi-scale neighbors is obtained:

[0032] s b ∈N k (s a )if Dn(s a ,s b )≤k, k=1, 2, ..., m

[0033] Where k is a positive integer. According to the above formula, for a superpixel point s a and b , if Dn(s a ,s b ) is not greater than k, then s b Belong to a The k-level multi-scale neighbor set of .

[0034] Preferably, the minimum Manhattan distance calculation method is as follows:

[0035]

[0036] in represents superpixel s i The pth pixel in Representation calculation and The Manhattan distance of each two superpixels is obtained by the above formula. If its value is 1, it means that they are direct neighbors, that is, first-level neighbors.

[0037] s j ∈N 1 (s i )if Dist(s i ,s j )=1

[0038] As shown in the above formula, if the superpixel point s i and j Satisfying the above formula, it means s i and j They are first-degree neighbors.

[0039] The beneficial effects of the present invention are as follows:

[0040] The present invention has low hardware requirements. Hyperspectral images can be obtained using a hyperspectral camera, and the clustering algorithm can be efficiently completed using a CPU. Superpixels are introduced into graph convolution subspace clustering, which effectively reduces the time complexity of graph convolution subspace clustering and makes it applicable to large-scale HSI data sets. A superpixel-level multi-scale local spatial information self-representation coefficient matrix is ​​designed to make up for the local spatial information lost in graph convolution subspace clustering, thereby greatly improving the clustering accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a flowchart of the method of the present invention and a visual display diagram of the process results.

[0042] Figure 2 ERS superpixel segmentation visualization.

[0043] Figure 3 This is a visualization diagram of the self-representation coefficient matrix of the superpixel-level graph convolution subspace of the method of the present invention on the Indian dataset.

[0044] Figure 4 This is a visualization of the final self-representation coefficient matrix of the method of the present invention that fuses multi-scale local spatial information in the Indian dataset.

[0045] Figure 5 This is a visualization diagram of the final clustering of the method of the present invention on the Indian dataset.

[0046] Figure 6 The visualization results of the method of the present invention and other methods on the Salinas dataset. (a is FCM, b is FSCAG, c is SSCAG, d is SGCNR, e is SGLSC, f is LMCCE, g is the present method, and h is the true value) DETAILED DESCRIPTION

[0047] The present invention will be further described below in conjunction with the accompanying drawings.

[0048] The flowchart of the specific implementation of the present invention is as follows Figure 1 As shown, the steps are as follows:

[0049] Step 1: ERS superpixel segmentation;

[0050] Step 2: Superpixel-level graph convolution subspace clustering;

[0051] Step 3: Multi-scale local spatial information fusion;

[0052] Step 4: Spectral clustering.

[0053] The specific implementation steps of step 1 are:

[0054] First, the principal component analysis (PCA) dimensionality reduction process is performed on the selected hyperspectral image to reduce the band dimension of the hyperspectral image to 4 dimensions, and obtain the feature map after dimensionality reduction.

[0055] Then, the Entropy Rate Superpixel (ERS) superpixel segmentation method is used to segment the feature map, dividing the hyperspectral image into several superpixels; each superpixel contains several pixels, and each superpixel is regarded as a region with similar features. After processing, a superpixel segmentation visualization is obtained, as shown in the following figure. Figure 2 shown.

[0056] The specific implementation steps of step 2 are:

[0057] First, average each superpixel point among the superpixel points obtained in step 1, and set the i-th superpixel point s i Contains pixel n i indivual:

[0058]

[0059] The super pixel map S = [s 1 ,s 2 ,s 3 ,…,s m ], where m is the number of superpixels, s i Represents the i-th superpixel.

[0060] Combining the idea of ​​graph convolution subspace clustering, the superpixel graph can be expressed as follows:

[0061]

[0062] in, A is the adjacency matrix of superpixels, I m is the identity matrix, for The degree matrix of Then optimize the following objective function:

[0063]

[0064] In the above formula, λ is the balance coefficient, ||·|| p and ||·|| q Represents the adapted matrix norm, p, q = 0, 1, 2, F, where 0, 1, 2 represent the 0 norm, 1 norm and 2 norm, and F represents the Frobenius norm. Drawing on the theory of graph convolutional subspace clustering (GCSC), p and q are both set to the Frobenius norm, and the above formula can be modified to:

[0065]

[0066] The loss function of the above formula can be transformed into:

[0067]

[0068] Will Taking the derivative with respect to Z we get:

[0069]

[0070] make The closed-form solution of matrix Z can be obtained:

[0071]

[0072] The visualization result of Z is as follows Figure 3 As shown, the brighter area represents that the corresponding two pixels have a strong correlation, and the darker area represents that the correlation is weak.

[0073] The specific implementation steps of step 3 are:

[0074] After obtaining the self-representation coefficient matrix Z of the superpixel image in step 2, multi-scale local spatial information is added to Z. The specific method is:

[0075] First, find the multi-scale neighbors of each superpixel point. i The multi-scale neighbor set represents the set of other superpixels adjacent to the superpixel point, defined as N k (s i ). Define Dn(s a ,s b ) is the superpixel point s a Move to superpixel point s b The passage does not include s a The minimum number of superpixels. a ,s a )=0, representing from s a to itself through 0 superpixels, and if s a and b is a direct neighbor, then Dn(s a ,s b )=1. From this, we can get the formula for multi-scale neighbors:

[0076] s b ∈N k (s a )if Dn(s a ,s b )≤k, k=1, 2, ..., m

[0077] Where k is a positive integer. From the above formula, for a superpixel point s a and b , if Dn(s a ,s b ) is not greater than k, then s b Belong to a The k-level multi-scale neighbor set of .

[0078] In order to find the multi-scale neighbors of a superpixel, you need to first get its direct neighbors. The direct neighbors require the minimum Manhattan distance between two superpixels. The calculation formula is as follows:

[0079]

[0080] in represents superpixel s i The pth prime point in Representation calculation and The Manhattan distance of each two superpixels can be obtained by the above formula. If its value is 1, it means that they are direct neighbors.

[0081] After obtaining the direct neighbors, the second-level neighbor set can be obtained by taking the union of the direct neighbor set of the superpixel point and its direct neighbor and removing the superpixel point itself. The third-level neighbor set, the fourth-level neighbor set, and the k-level neighbor set can be obtained by analogy.

[0082] Then, through the Gaussian kernel function G(x, y) = exp(-||xy|| 2 / 2σ 2 ) calculates the distance between superpixels to represent the similarity between superpixels. The multi-scale local space self-representation coefficient matrix Z can be constructed through the Gaussian kernel function. L , the formula is as follows:

[0083]

[0084] where s i and j represents any superpixel point, N k (s i ) represents i The k-level neighbor set of σ is a hyperparameter used to control the decay rate of similarity between superpixels. It is set to 1 according to experimental experience. Representatives i and j The distance between them can also be regarded as the matrix Z L The value of the i-th row and j-th column can be obtained by the above formula. L Finally, the multi-scale local space self-representation coefficient matrix ZL Fuse into Z to get the final self-representation coefficient matrix Z * :

[0085] Z * =αZ+(1-α)Z L

[0086] Where α∈[0, 1] is a balance parameter for supplementing local spatial information.

[0087] Get Z * The visualization results are as follows Figure 4 As shown, it can be observed that relative to Z, Z * Many bright spots are added near the diagonal of the matrix, which is a reflection of the local spatial information of the hyperspectral image.

[0088] The specific implementation steps of step 4 are:

[0089] The final self-expression coefficient matrix Z obtained in step 3 * Spectral clustering is performed and the clustering results are mapped to the original hyperspectral image to obtain pixel-level clustering results. The Hungarian algorithm is then used to map cluster labels to true labels and obtain relevant evaluation indicators. The experimental results of the Indian pine dataset are shown in the figure. Figure 5 shown.

[0090] In addition, Figure 6 As shown in FIG. 1 , this is a partial result diagram of clustering of the method of the present invention and other methods for processing large-scale remote sensing hyperspectral images on the hyperspectral image of Salinas Valley. From the result diagram, it can be seen that the difference between the method of the present invention and the true value is not large, and the clustering effect is good. The main comparison methods of the method of the present invention include (the year of publication of the method is in brackets):

[0091] 1) FCM: A C-means clustering algorithm based on fuzzy theory is used to cluster hyperspectral images.

[0092] 2) SSC: A sparse subspace clustering algorithm that improves the robustness of hyperspectral image clustering.

[0093] 3) FSCAG: Anchor graph is used to reduce the computational complexity of hyperspectral image clustering and improve clustering efficiency.

[0094] 4) SSCAG (2022): Further improve the accuracy of hyperspectral clustering algorithm by constructing a spatial joint spectral neighbor graph.

[0095] 5) SGCNR (2017): Applying anchor graphs and negative relaxation to the task of large-scale hyperspectral image clustering.

[0096] 6) EKGCSC(2020): Clustering of hyperspectral images using similarity graphs constructed using graph convolutional networks and nonlinear kernel techniques.

[0097] 7) SGLSC (2022): Constructs superpixel-level self-representative global and local graphs to improve clustering efficiency.

[0098] 8) LMCCE(2023): Applying low-rank matrices and connection center evolution to large-scale hyperspectral image clustering tasks.

[0099] Key indicators include:

[0100] There are three quantitative evaluation indicators: overall accuracy (OA), Kappa coefficient (Kappa), and normalized mutual information (NMI). These quantitative indices range from 0 to 1, and the closer to 1, the better the effect. In addition, there is the running time of the clustering algorithm, in seconds.

[0101] The experimental results on the Indian pine dataset are shown in the following table. The method of the present invention achieves the best performance in multiple clustering indicators and time.

[0102]

Claims

1. A fast clustering method for hyperspectral remote sensing images based on multi-scale graph fusion, characterized in that: The steps include: Step 1: Superpixel segmentation: The ERS superpixel segmentation method is used to segment the hyperspectral image and divide the hyperspectral image into several superpixel points; each superpixel point contains several pixels, and each superpixel point is regarded as a region with similar characteristics; Step 2: Superpixel-level graph convolution subspace clustering: After the superpixel points obtained in step 1, the hyperspectral image is averaged according to the superpixel point area to obtain a superpixel map, and the superpixel-level graph convolution subspace clustering algorithm is used to obtain the self-representation coefficient matrix Z of the superpixel map; Step 3: Multi-scale local spatial information fusion: Supplement the multi-scale local spatial information to the self-representation coefficient matrix Z obtained in step 2 and fuse them to obtain the final self-representation coefficient matrix Z*; Step 4: Perform spectral clustering on the final self-representation coefficient matrix Z* obtained in step 3, and map the clustering result to the original hyperspectral image to obtain the clustering result at the pixel level, that is, to obtain the category to which each pixel belongs; In step 3, the specific method of multi-scale local spatial information fusion is as follows: First, we get the multi-scale neighbors of each superpixel point, the superpixel point s i The neighbor set of the superpixel point represents the set of other superpixel points adjacent to the superpixel point, defined as N(s i ); Secondly, through the Gaussian kernel function G(x, y) = exp(-||xy|| 2 / 2σ 2 ) Calculate the clustering between superpixels to represent the similarity between superpixels; Then, by constructing the multi-scale local space self-representation coefficient matrix Z L , the formula is as follows: Among them, s i and j represents any superpixel point, N k (s i ) represents i The k-level neighbor set of σ is a hyperparameter used to control the decay rate of similarity between superpixels. It is set to 1 according to experimental experience. Representatives i and j The distance between them is also regarded as the value of the matrix in the i-th row and j-th column. Z is obtained by the above formula L ; Finally, the multi-scale local space self-representation coefficient matrix Z L Fuse into Z to get the final self-representation coefficient matrix Z * : WITH * =αZ+(1-α)Z L Where α∈[0, 1] is a balance parameter for supplementing local spatial information.

2. The method for rapid clustering of hyperspectral remote sensing images based on multi-scale graph fusion according to claim 1, characterized in that: In step 1, the selected hyperspectral image is subjected to PCA principal component analysis dimensionality reduction processing to reduce the band dimension of the hyperspectral image to 4 dimensions; after obtaining the reduced-dimensional image, ERS superpixel segmentation is performed to assign each pixel point to the corresponding superpixel point.

3. The method for rapid clustering of hyperspectral remote sensing images based on multi-scale graph fusion according to claim 1, characterized in that: The multi-scale neighborhood is defined as follows: Definition of Dn(s a ,s b ) is the superpixel point s a Move to superpixel s b The passage does not include s a The minimum number of superpixels itself, if Dn(s a ,s a )=0, representing from s a to itself through 0 superpixels, and if s a and b is a direct neighbor, then Dn(s a ,s b )=1, by calculating the minimum Manhattan distance between two superpixels to determine whether they are direct neighbors, the definition of multi-scale neighbors is obtained: s b ∈N k (s a )if Dn(s a ,s b )≤k,k=1,2,...,m Where k is a positive integer. According to the above formula, for a superpixel point s a and b , if Dn(s a ,s b ) is not greater than k, then s b Belongs to a The k-level multi-scale neighbor set of .

4. The method for rapid clustering of hyperspectral remote sensing images based on multi-scale graph fusion according to claim 3, characterized in that: The minimum Manhattan distance calculation method is as follows: in represents superpixel s i The pth pixel in Representation calculation and The Manhattan distance of each two superpixels is obtained by the above formula. If its value is 1, it means that they are direct neighbors, that is, first-level neighbors. s j ∈N1(s i ) if Dist(s i ,s j )=1 As shown in the above formula, if the superpixel point s i and j Satisfying the above formula, it means s i and j They are first-degree neighbors.