Band selection method for hyperspectral images based on overcomplete deep low-rank subspace clustering

By using the deep learning network of convolutional autoencoders and overcomplete encoders in hyperspectral image band selection, combined with low-rank constraints, the problems of neglecting nonlinear relationships and insufficient robustness in the existing technology are solved, and improved The classification performance and the selection effect of band subsets are improved.

CN114220007BActive Publication Date: 2024-09-17DALIAN MARITIME UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111494021.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-08
Publication Date
2024-09-17
Estimated Expiration
2041-12-08

AI Technical Summary

Technical Problem

Existing hyperspectral image band selection methods lack consideration of nonlinear spectral spatial relationships, resulting in poor classification performance, and the robustness and performance of subspace clustering need to be further improved.

Method used

A deep learning network based on convolutional autoencoders is used, combined with a complete encoder and a self-expression layer, adding low-rank constraints, constructing an affinity matrix through the self-expression coefficient matrix, and performing spectral clustering to select a subset of bands.

Benefits of technology

The performance and classification results of subspace clustering are improved. By learning nonlinear spectral spatial relationships, more detailed spatial features are extracted, a more robust affinity matrix is ​​obtained, and the accurate selection of information band subsets is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114220007B
    Figure CN114220007B
Patent Text Reader

Abstract

The present invention discloses a hyperspectral image band selection method based on overcomplete deep low-rank subspace clustering, which includes initializing the network model parameters, inputting the hyperspectral cube and the selected number of bands; dividing the training samples, training the network, calculating the loss function, and updating the network parameters through back propagation; saving the network parameters, calculating the similarity graph, using spectral clustering to obtain the clustering results, selecting the band closest to the cluster center as the optimal band subset; and classifying and evaluating the classification results through a support vector machine (SVM). A deep convolutional autoencoder network with overcomplete representation and incomplete representation is used for feature fusion to extract more meaningful and richer spectral spatial information, and a more robust affinity matrix is ​​obtained with a low-rank representation to perform subspace clustering, thereby improving the performance of subspace clustering and ensuring accurate selection of information band subsets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of unsupervised band selection for hyperspectral images, and in particular relates to a hyperspectral image band selection method based on overcomplete deep low-rank subspace clustering. Background Art

[0002] Hyperspectral images have a wide range of continuous narrow bands, high spatial resolution, and rich spectral and spatial information. They have been widely used in various fields such as target detection, agriculture, and military. However, hyperspectral images have many bands and strong correlation between adjacent bands, resulting in a large amount of redundant information. In addition, the high dimensionality of hyperspectral data not only increases the temporal and spatial complexity, but also leads to the Hughes phenomenon or dimensionality disaster, resulting in the deterioration of classification performance. Therefore, it is necessary to perform dimensionality reduction on hyperspectral images. Band selection is a common method for dimensionality reduction of hyperspectral images.

[0003] Many works are based on subspace clustering methods for band selection, and robust affinity matrices are constructed in various ways to improve the performance of subspace clustering. For example, the improved sparse subspace clustering method, the Laplace regularized low-rank subspace clustering method, etc. Among them, the improved sparse subspace clustering method constructs a sparse affinity matrix by using the L1-norm and adding the L2-norm. The Laplace regularized low-rank subspace clustering method uses the nuclear norm to constrain the affinity matrix to be low-rank, and introduces Laplace regularization to promote the piecewise smoothness of each row of the affinity matrix. However, these subspace clustering band selection methods represent hyperspectral data as a linear combination of self-expressive dictionaries in the same subspace, resulting in a lack of consideration of the inherent nonlinear relationship between spectral bands. In addition, these methods regard each spectral band as an independent feature to evaluate its importance, without fully considering the global spectral interrelationships of the hyperspectral bands, so that the hyperspectral sample relationship cannot be fully utilized and is difficult to combine with subsequent processing (such as classification). The prior art discloses a method combining deep learning with subspace clustering - unsupervised hyperspectral image band selection based on deep subspace clustering. Compared with the traditional subspace clustering method, the deep subspace clustering method can learn nonlinear spectral spatial relationships and extract spatial information, but it uses a general incomplete representation of the "encoder-decoder" model, which incompletely represents the input data and extracts limited spatial features. In addition, the robustness of the affinity matrix and the performance of subspace clustering need to be further improved. Summary of the invention

[0004] In view of the problems existing in the prior art, the present invention discloses a hyperspectral image band selection method based on overcomplete deep low-rank subspace clustering, which specifically includes the following steps:

[0005] According to the characteristics of hyperspectral images, a deep learning network model based on convolutional autoencoder is constructed, wherein the model includes a universal encoder, an overcomplete encoder, a self-expression layer, subspace clustering and a decoder;

[0006] Add low-rank constraints to the self-expression layer and initialize the deep learning network model;

[0007] The hyperspectral band image and the selected number of band subsets are input into the deep learning network model, the loss function of the deep learning network model is calculated, and the model parameters are updated by back propagation until the maximum number of training times is reached and the training is stopped, thereby obtaining a self-expression coefficient matrix;

[0008] An affinity matrix is ​​constructed according to the self-expression coefficient matrix, and a spectral clustering method is used to obtain clustering results. According to the clustering results, the average band in each category of the hyperspectral image is obtained;

[0009] The average band is used as the cluster center, and the distance from each band to the cluster center is calculated, wherein the band closest to the cluster center is the selected band subset.

[0010] The universal encoder is an incomplete representation structure, and a maximum pooling layer is arranged after its convolution layer; the overcomplete encoder is an overcomplete representation structure, and an upsampling layer is arranged after its convolution layer.

[0011] The loss function of the deep learning network model is used to solve the self-expression coefficient matrix and affinity matrix as follows:

[0012] set up For the original 3D hyperspectral cube of N×M pixels and b band, the goal of band selection is to select a subset of bands

[0013]

[0014] The encoder is represented as a function z = E(x; θ e ), where x is the input, θ e is a parameter, z is a potential representation, and the decoder is defined as The potential representation z is used as the input of the decoder, and the mean square error is used as the loss function of the convolutional autoencoder:

[0015]

[0016] The self-expression layer is embedded into the convolutional autoencoder, assuming that the hyperspectral b-band images are located in the union S of k subspaces, that is, S = S1∪S2...∪S k , which means that in the whole space S, there are k subspaces with dimension And satisfy d1+d2+…+d k =b, then the hypothesis expression is:

[0017] Minimize ||C|| p subject to Z = ZC, diag(C) = 0

[0018] where represents the output of the encoder or the latent matrix, represents the self - expression coefficient matrix, and diag(C) = 0 constrains the diagonal elements of C to be 0;

[0019] Adding the L2 - norm to the hypothesis expression, the optimization problem is rewritten as:

[0020]

[0021] where λ is the balancing coefficient used to balance the two terms;

[0022] The loss function of the deep - learning network model is:

[0023]

[0024] where X is the tensor form of the input band image, represents the reconstructed band image, α is the coefficient of the self - expression coefficient term, and the self - expression coefficient matrix C is obtained through model training;

[0025] Construct the affinity matrix from the self - expression coefficient matrix as:

[0026] A = |C|+|C| T

[0027] where A is the similarity graph.

[0028] When adding a low - rank constraint to the self - expression layer, the optimization problem is modified to:

[0029]

[0030] rank(C) ≤ m

[0031] where m (m << b) is a hyperparameter that restricts the maximum possible rank of the self - expression coefficient matrix C,

[0032] Use a fully - connected linear layer and its transpose to replace the self - expression layer C, and the self - expression layer is regarded as a symmetric matrix of the form, and the optimization problem is rewritten as:

[0033]

[0034] Change the network model loss function to the network model loss function under low - rank constraint as:

[0035]

[0036] Change the affinity matrix to an affinity matrix under low-rank constraint:

[0037]

[0038] Due to the adoption of the above technical solution, the present invention provides a hyperspectral image band selection method based on overcomplete deep low-rank subspace clustering. This method takes into account that deep subspace clustering adopts a general incomplete representation encoder model, and the spatial features learned from the input hyperspectral band image are limited, so the information band subset can be effectively selected. Therefore, the performance of subspace clustering is improved to a certain extent. By introducing overcomplete representation, an encoder composed of overcomplete representation and incomplete representation is adopted, and low-rank constraints are added at the same time, which improves subspace clustering and ensures accurate selection of information band subsets. Experiments were conducted using three sets of benchmark hyperspectral data sets. The experimental results show that the band subsets selected by this method can obtain better classification results. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 It is an overall flow chart of the band selection method of the present invention;

[0041] Figure 2 It is a network structure model of a hyperspectral image band selection method based on deep low-rank subspace clustering provided by the present invention;

[0042] FIG3 is a schematic diagram of the principles of overcomplete representation and incomplete representation in the present invention;

[0043] Figure 4a-4c It is the Indian Pine data set and classification result diagram in the embodiment of the present invention;

[0044] Figure 5a-5c : is a Pavia data set and classification result diagram in an embodiment of the present invention;

[0045] Figure 6a-6c It is a diagram of the Salinas data set and classification results in an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the technical solutions and advantages of the present invention more clear, the technical solutions in the embodiments of the present invention are clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention:

[0047] like Figure 1 A hyperspectral image band selection method based on overcomplete deep low-rank subspace clustering is shown, comprising the following steps:

[0048] S1: According to the characteristics of hyperspectral images, a deep learning model based on convolutional autoencoder is constructed, wherein the model includes a universal encoder, an overcomplete encoder, a self-expressive layer, subspace clustering, and a decoder;

[0049] S2: Add low-rank constraints to the self-expression layer and initialize the network model parameters, input the hyperspectral band image and the selected band subset number into the deep learning network model, calculate the network model loss function, update the model parameters through back propagation until the maximum number of training times is reached and stop training, thereby obtaining the self-expression coefficient matrix;

[0050] S3: construct an affinity matrix based on the self-expression coefficient matrix, and use spectral clustering to obtain clustering results;

[0051] S4: According to the clustering result, the average band in each category of the hyperspectral image is obtained, the average band is used as the cluster center, and the distance from each band to the cluster center is calculated. The band closest to the cluster center is the selected band subset.

[0052] Further, the general encoder and the overcomplete encoder are introduced as follows:

[0053] The universal encoder is an incomplete representation structure, and a maximum pooling layer is arranged after its convolution layer; the overcomplete encoder is an overcomplete representation structure, and an upsampling layer is arranged after its convolution layer.

[0054] Further: The process of solving the self-expression coefficient matrix and affinity matrix through the network model loss function is as follows:

[0055] S1-1: Set is the original 3D hyperspectral cube of N×M pixels and b band. The goal of band selection is to select a subset of bands

[0056]

[0057] S1-2: The encoder is represented by a function z=E(x; θ e ), where x is the input, θ e are parameters and z is the potential representation. Similarly, the decoder can be defined as The potential representation z is used as the input of the decoder. Finally, the mean square error is used as the loss function of the convolutional autoencoder:

[0058]

[0059] S1-3: Embed the self-expression model into the convolutional autoencoder, assuming that the hyperspectral b-band images are located in the union S of k subspaces, that is, S = S1∪S2...∪S k , which means that in the whole space S, there are k subspaces with dimension And satisfy d1+d2+…+d k =b. From a mathematical analysis, the assumed expression can be expressed as:

[0060] Min||C|| p st Z=ZC,diag(C)=0

[0061] in represents the output or latent matrix of the encoder, represents the self-expression coefficient matrix, diag(C)=0 constrains the diagonal elements of C to be 0 to avoid trivial solutions.

[0062] S1-4: In order to obtain the self-expression coefficient matrix C while avoiding the "too sparse" coefficient solution caused by the extremely high correlation of the hyperspectral bands, and to enable it to be trained by the convolutional autoencoder, the L2-norm is added to the model. The optimization problem in S1-3 can be rewritten as:

[0063]

[0064] Where λ is the balance coefficient, which is used to balance the two terms.

[0065] S1-5: The network model loss function is:

[0066]

[0067] Where X is the tensor form of the input band image, represents the reconstructed band image, α is the coefficient of the self-expression coefficient term. The self-expression coefficient matrix C is obtained through model training.

[0068] S1-6: The affinity matrix is ​​constructed from the self-expression coefficient matrix:

[0069] A=|C|+|C| T

[0070] Where A is the similarity graph.

[0071] Further: Determine the addition of low-rank constraints in the self-expression layer as follows:

[0072] S2-1: To address the computational cost of calculating gradients in backpropagation and learn low-rank representations, a low-rank constraint is introduced into the latent space of the deep autoencoder, modifying the optimization problem described in S1-4 to:

[0073]

[0074] rank(C) ≤ m

[0075] where m (m << b) is a hyperparameter that restricts the maximum possible rank of the self-expression coefficient matrix C.

[0076] S2-2: Replace the self-expression layer C with a fully connected linear layer and its transpose. The self-expression layer can be regarded as a symmetric matrix of the form. The formula in S2-1 can be changed to:

[0077]

[0078] S2-3: Modify the loss function in S1-5 to the loss function under low-rank constraint as:

[0079]

[0080] S2-4: Modify the affinity matrix in S1-6 to the affinity matrix under low-rank constraint:

[0081]

[0082] Next, through real hyperspectral data, the actual application effect analysis and evaluation of a hyperspectral image band selection method based on overcomplete deep low-rank subspace clustering provided by the present invention are carried out.

[0083] A. Data source: Derived from three publicly available hyperspectral datasets - Indian Pine data, Salinas data, and Pavia data.

[0084] (1) Indian Pine dataset

[0085] The Indian Pine dataset was collected in 1992 by the Airborne Visible Infrared Imaging Spectrometer (AVIRIS) sensor of the Jet Propulsion Laboratory of the National Aeronautics and Space Administration in the Indian Pine test site in northwestern Indiana, USA. The image consists of 224 spectral bands and 145 × 145 pixels, with a wavelength range between 400 and 2500 nm and a spatial resolution of 20 m. The false color map and the true ground object information image of this dataset are respectively as Figure 4a 、 Figure 4bAs shown, there are 16 marker classes of vegetation. Before band selection, 24 spectral bands covering the water absorption region are removed, namely 104-108, 150-163 and 220, and a total of 200 bands are used in the end.

[0086] (2) Pavia dataset

[0087] The Pavia dataset was captured in 2002 by the Reflection Optical System Imaging Spectrometer System (ROSIS) on an aircraft operated by the German Aerospace Center at the University of Pavia in northern Italy. The image consists of 103 spectral bands and 610×340 pixels, with a wavelength range of 430-860nm and a spatial resolution of 1.3m. The pseudo-color image and real object information image of this dataset are shown in Figure 5a , Figure 5b As shown, it contains 9 urban land cover categories.

[0088] (3) Salinas Dataset

[0089] The Salinas dataset is a scene of five lanes in Salinas, California, USA, collected by the AVIRIS sensor in 1998. The image consists of 224 spectral bands and 512×217 pixels, with a band range of 360-2500nm and a spatial resolution of 3.7m. The pseudo-color image and real ground feature information image of this dataset are shown in Figure 6a , Figure 6b As shown, it contains 16 marker classes representing different fruits and vegetables. Before band selection, 20 spectral bands of water absorption are removed, namely 108–112, 154–167 and 224, and a total of 204 bands are used in the end.

[0090] B. Building the network structure. For the encoder, the spatial features of the potential representation of overcomplete representation and incomplete representation are integrated. The schematic diagram of the principle of overcomplete representation and incomplete representation is shown in Figure 3. Table 1 shows the specific network structure. The network structure model diagram is shown in Figure 2 shown.

[0091] Table 1

[0092]

[0093] C. The network parameters are set to α=1.0, λ=1e-3, and the number of network training is set to 50. In order to quantitatively evaluate the classification performance of the selected band subset, support vector machine (SVM) is used to implement hyperspectral image classification, where SVM selects Gaussian radial basis kernel function, randomly selects 10% of the samples from each class as training sets to train the network, and the remaining samples are used as test sets to evaluate the final performance of the network. In order to reduce the instability caused by random selection, the final result is obtained by averaging 10 separate runs.

[0094] D. Three indicators are used to measure classification performance: Overall Accuracy (OA), Average accuracy (AA) and consistency test Kappa coefficient.

[0095] OA: Add up the amount of data that was correctly identified and divide by the total amount of data.

[0096] AA: This measure is calculated by averaging the accuracies across all classes.

[0097] Kappa coefficient: This coefficient evaluates the agreement between the predictions and the labels and is calculated by considering all the elements in the confusion matrix.

[0098] E. Analysis and evaluation of classification results

[0099] The classification results of a hyperspectral band selection method based on overcomplete deep low-rank subspace clustering (hereinafter referred to as “overcomplete deep low-rank subspace clustering”) provided by the present invention on three sets of public hyperspectral data sets are shown in Tables 2-4, and the corresponding classification result diagrams are shown in the attached figure. Figure 4c , 5c and 6c.

[0100] This experiment introduces unsupervised hyperspectral image band selection based on deep subspace clustering (hereinafter referred to as “deep subspace clustering”) as a reference.

[0101] Table 2 Classification results of Indian Pine dataset

[0102]

[0103]

[0104] Table 3 Classification results of Pavia dataset

[0105]

[0106] Table 4 Classification results of the Salinas dataset

[0107]

[0108]

[0109] According to the classification results, the following conclusions can be drawn:

[0110] (1) The classification results on three real hyperspectral data show that the band subsets selected by the present invention have achieved good classification accuracy, and the Kappa coefficient is also high, proving that the present invention can select band subsets suitable for classification.

[0111] (2) Compared with deep subspace clustering, overcomplete deep low-rank subspace clustering achieved higher overall category accuracy and better classification results in terms of OA, AA and Kappa coefficients. This proves that the addition of low-rank constraints is conducive to obtaining a more robust affinity matrix, which can effectively improve the performance of subspace clustering and ensure the accurate selection of information band subsets.

[0112] The present invention aims at the problems that the deep subspace clustering uses a general incomplete representation encoder model to extract limited spatial features, and the performance of subspace clustering needs to be further improved. A hyperspectral image band selection method based on overcomplete deep low-rank subspace clustering is provided. By introducing an overcomplete representation to map spatial features to a higher spatial dimension, the learned spatial features are more detailed, while ensuring that subspace clustering can be applied to the nonlinear structure of hyperspectral images. In addition, the spatial features of the latent representation of the overcomplete representation and the incomplete representation are fused before the self-expression layer, which can extract more meaningful and richer spectral spatial information. At the same time, a low-rank constraint is added to the self-expression layer, and a more robust affinity matrix is ​​obtained by using the low-rank representation to perform subspace clustering, improve the performance of subspace clustering and ensure the accurate selection of information band subsets. The classification results on three groups of public hyperspectral data sets show the effectiveness of a hyperspectral band selection method based on overcomplete deep low-rank subspace clustering provided by the present invention.

[0113] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A hyperspectral image band selection method based on overcomplete deep low-rank subspace clustering, characterized in that Including: Construct a deep learning network model based on a convolutional autoencoder according to the characteristics of hyperspectral images, where the model includes a general encoder, an overcomplete encoder, a self-expression layer, subspace clustering, and a decoder; Add a low-rank constraint to the self-expression layer and initialize the deep learning network model; Input the hyperspectral band image and the selected number of waveband subsets into the deep learning network model, calculate the loss function of the deep learning network model, and update the model parameters through backpropagation until the maximum number of training times is reached and training stops, so as to obtain a self-expression coefficient matrix; Construct an affinity matrix according to the self-expression coefficient matrix, obtain a clustering result by spectral clustering, and obtain the average band in each category of the hyperspectral image according to the clustering result; Use the average band as the clustering center, calculate the distance from each band to the clustering center, and the band closest to the clustering center is the selected waveband subset; The method for solving the self-expression coefficient matrix and the affinity matrix using the loss function of the deep learning network model is as follows: set up The original 3D hyperspectral cube is N×M pixels and b band. The goal of band selection is to select a subset of bands. The encoder is represented as a function z = E(x; θ e ), where x is the input, θ e is a parameter, z is a potential representation, and the decoder is defined as The potential representation z is used as the input of the decoder, and the mean square error is used as the loss function of the convolutional autoencoder: The self-expression layer is embedded into the convolutional autoencoder, assuming that the hyperspectral b-band images are located in the union S of k subspaces, that is, S = S1∪S2...∪S k , which means that in the whole space S, there are k subspaces with dimension And satisfy d1+d2+···+d k =b, then the hypothesis expression is: Min||C|| p s.t Z=ZC,diag(C)=0 in represents the output or latent matrix of the encoder, represents the self-expression coefficient matrix, diag(C)=0 constrains the diagonal elements of C to be 0; Add an L2-norm to the hypothesis expression, and rewrite the optimization problem as: where λ is a balance coefficient used to balance the two terms, and the loss function of the deep learning network model is: Where X is the tensor form of the input band image, represents the reconstructed band image, α is the coefficient of the self-expression coefficient term, and the self-expression coefficient matrix C is obtained through model training; Construct the affinity matrix from the self-expression coefficient matrix as: A=|C|+|C| T where A is a similarity graph.

2. The method according to claim 1, characterized in that: The general encoder is an incomplete representation structure, and a max-pooling layer is set after its convolutional layer. The overcomplete encoder is an overcomplete representation structure, and an upsampling layer is set after its convolutional layer.

3. The method according to claim 2, characterized in that: When adding a low-rank constraint to the self-expression layer, modify the optimization problem to: where m (m << b) is a hyperparameter that limits the maximum possible rank of the self-expression coefficient matrix C, Using a fully connected linear layer and its transpose to replace the self-expression layer C, which is regarded as The optimization problem can be rewritten as: Change the network model loss function to the network model loss function under low-rank constraint as: Change the affinity matrix to the affinity matrix under low-rank constraint: