Tensor Collaborative Graph Discriminant Analysis Method for Feature Extraction of Remote Sensing Images
20230186606 · 2023-06-15
Inventors
- Lei PAN (Chengdu, Sichuan, CN)
- Xiang DAI (Chengdu, Sichuan, CN)
- Lican DAI (Chengdu, Sichuan, CN)
- Ying CUI (Chengdu, Sichuan, CN)
- Lu YANG (Chengdu, Sichuan, CN)
- Weiqing CHEN (Chengdu, Sichuan, CN)
- Xiang GAO (Chengdu, Sichuan, CN)
Cpc classification
G06V10/771
PHYSICS
G06V10/774
PHYSICS
G06V10/7715
PHYSICS
G06F18/213
PHYSICS
G06F18/2323
PHYSICS
International classification
G06V10/771
PHYSICS
G06V10/774
PHYSICS
Abstract
Provided is a method for feature extraction of a remote sensing image based on tensor collaborative graph discriminant analysis, including: taking each of pixels as a center for intercepting a three-dimensional tensor data block; dividing experimental data into a training set and a test set in proportion; computing a Euclidean distance between a current training pixel and each class of training data; configuring a L2 norm collaborative representation model with a weight constraint; acquiring a projection matrix of each dimension of each of the three-dimensional tensor data block; and utilizing a low-dimensional projection matrix to obtain a training set and a test set, expanding the training set and the test set into a form of column vectors according to a feature dimension, inputting extracted low-dimensional features into a support vector machine classifier for classification, to determine a class of the test set, and evaluating, by a classification effect, performance of feature extraction.
Claims
1. A method for feature extraction of a remote sensing images based on tensor collaborative graph discriminant analysis, comprising: setting a size of a square sliding window, taking a first pixel of input original hyperspectral data as a starting point, and taking each of pixels as a center for intercepting a three-dimensional tensor data block; dividing experimental data into a training set and a test set in proportion according to three-dimensional tensor data blocks, and expanding each of the three-dimensional tensor data blocks into a column vector according to a spectral dimension; computing a Euclidean distance between a current training pixel and each class of training data, to construct a diagonal weight constraint matrix; configuring a L2 norm collaborative representation model with a weight constraint, to compute a representation coefficient of the current training pixel under each class of training data, to construct a graph weight matrix and a tensor locality preserving projection model; acquiring a projection matrix of each dimension of each of the three-dimensional tensor data blocks according to the tensor locality preserving projection model; and utilizing a low-dimensional projection matrix to obtain a training set and a test set which are represented by three-dimensional low dimensions, expanding the training set and the test set into a form of column vectors according to a feature dimension, inputting extracted low-dimensional features into a support vector machine classifier for classification, to determine a class of the test set, and evaluating, by a classification effect, performance of feature extraction.
2. The method for feature extraction of the remote sensing images based on the tensor collaborative graph discriminant analysis as claimed in claim 1, wherein the original hyperspectral data
3. The method for feature extraction of the remote sensing images based on the tensor collaborative graph discriminant analysis as claimed in claim 1, wherein the size of the square sliding window is configured as w×w, one third-order tensor data block is represented as
4. The method for feature extraction of the remote sensing images based on the tensor collaborative graph discriminant analysis as claimed in claim 3, wherein the test set obtained by division in proportion consists of M samples, and is represented as
5. The method for feature extraction of the remote sensing images based on the tensor collaborative graph discriminant analysis as claimed in claim 1, wherein in construction of the diagonal weight constraint matrix, data blocks in the training set obtained by division in proportion are divided into C data sub-sets according to classes, an l-th data sub-set is
6. The method for feature extraction of the remote sensing images based on the tensor collaborative graph discriminant analysis as claimed in claim 1, wherein in response to the Euclidean distance Γ.sub.ij.sup.l being computed without containing the Euclidean distance between x.sub.i.sup.l and x.sub.i.sup.l, and the (N.sub.l=1) Euclidean distances are taken as diagonal elements of a symmetric matrix, to construct an l-th class of diagonal weight constraint matrix Γ.sup.l′ ∈ R.sup.(N.sup.
7. The method for feature extraction of the remote sensing images based on the tensor collaborative graph discriminant analysis as claimed in claim 1, wherein in a construction process of the L2 norm collaborative representation model with weight constraint, an L2 norm is used for achieving sparsity constraint of a representation coefficient of the training sample x.sub.i.sup.l and reducing complexity of the model, improving representation capability of the representation coefficient by the diagonal weight constraint matrix, an within-class representation method is used, and a training sample x.sub.i.sup.l uses the same l-th class samples for representation learning, and the L2 norm collaborative representation model with weight constraint is constructed as follows:
α.sub.i.sup.l=arg min∥x.sub.i.sup.l−X.sup.l′α.sub.i.sup.l∥.sub.2.sup.2+λ∥Γ.sup.l′α.sub.i.sup.l∥.sub.2.sup.2, wherein arg min represents a minimum value of an objective function, X.sup.l′=[x.sub.1.sup.l, . . . , x.sub.i−1.sup.l, x.sub.i+1.sup.l, . . . , x.sub.N.sub.
8. The method for feature extraction of the remote sensing images based on the tensor collaborative graph discriminant analysis as claimed in claim 1, wherein the L2 norm collaborative representation model is based on a L2 norm, and an optimal solution α.sub.i.sup.l=(X.sup.l′TX.sup.l′+λ.sup.2Γ.sup.l′TΓ.sup.l′).sup.−1X.sup.l′Tx.sub.i.sup.l of the representation coefficient α.sub.i.sup.l is obtained by means of derivation, wherein T represents a transpose of the matrix, and (.Math.).sup.−1 represents an inverse of the matrix.
9. The method for feature extraction of the remote sensing images based on the tensor collaborative graph discriminant analysis as claimed in claim 1, wherein during solving the projection matrix, the tensor locality preserving projection method is used for solving projection of three dimensions in the corresponding tensor data block, which is shown in the following expressions:
10. The method for feature extraction of the remote sensing images based on the tensor collaborative graph discriminant analysis as claimed in claim 1, wherein during computation of the low-dimensional features of the training set and the test set, the low-dimensional features {circumflex over (X)}=
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0017]
[0018]
[0019]
[0020] In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in combination with particular embodiments with reference to the accompanying drawings.
DETAILED DESCRIPTION
[0021] With reference to
[0022] With reference to
[0023] At step 1, in an optional embodiment, the input original hyperspectral data
[0024] The size of the square sliding window is configured as w×w, the third-order tensor data block obtained by cutting may be represented as
[0025] The test set consists of M samples, and is represented as
[0026] With reference to
[0027] At step 3, in construction of the collaborative representation model with a weight constraint, a L2 norm is used to achieve sparsity constraint of a representation coefficient of the training sample x.sub.i.sup.l, and to reduce complexity of the model, and moreover, representation capability of the representation coefficient is improved by the weight constraint matrix. The embodiment of the present disclosure uses the within-class representation method. That us, a training sample x.sub.i.sup.l only uses the same l-th class samples for representation learning, and the collaborative representation model with a weight constraint is constructed as follow formula:
α.sub.i.sup.l=arg min∥x.sub.i.sup.l−X.sup.l′α.sub.i.sup.l∥.sub.2.sup.2+λ∥Γ.sup.l′α.sub.i.sup.l∥.sub.2.sup.2,
[0028] where arg min represents a minimum value of an objective function, X.sup.l′=[x.sub.1.sup.l, . . . , x.sub.i−1.sup.l, x.sub.i+1.sup.l, . . . , x.sub.N.sub.
[0029] At step 4, the collaborative representation model with a weight constraint is solved. The collaborative representation model is based on the L2 norm, and an optimal solution α.sub.i.sup.l=(X.sup.l′TX.sup.l′+λ.sup.2Γ.sup.l′TΓ.sup.l′).sup.−1X.sup.l′Tx.sub.i.sup.l of the representation coefficient α.sub.i.sup.l may be obtained by means of derivation, where T represents a transpose of the matrix, and (.Math.).sup.−1 represents an inverse of the matrix.
[0030] At step 5, in construction of the graph weight matrix, according to the representation coefficient α.sub.i.sup.l=[α.sub.i,1.sup.l, α.sub.i,2.sup.l, . . . , α.sub.i,N.sub.
[0031] finally, the graph weight matrix constructed by the training samples is as follow formula:
[0032] where W.sub.i represents an i-th class of intra-class weight matrix, i=1,2, . . . , C, and C represents the total number of classes in hyperspectral data.
[0033] At step 6, during solving the projection matrix, the embodiment uses the tensor locality preserving projection algorithm to solve projection of three dimensions in the hyperspectral data block, which is shown in the following formulas:
[0034] where min represents a minimum value of an objective function, Σ represents summation operation,
[0035] At step 7, during computation of the low-dimensional features of the training set and the test set, the low-dimensional features {circumflex over (X)}=
[0036] where {circumflex over (X)} and Ŷ represents the low-dimensional features of the training set
[0037] At step 8, the support vector machine classifier is used to compute classes of samples of the test set after feature extraction, the low-dimensional features {circumflex over (X)} of the training set are used to train the support vector machine classifier, and then, the low-dimensional features Ŷ of the test set are classified, so as at least to test performance of a feature extraction method according to accuracy of classification of the classes of the samples of the test set.
[0038] The objective, the technical solution and the beneficial effects of the present disclosure are further described in detail by means of the above mentioned embodiments, and it should be understood that what is mentioned above is only the particular embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure are intended fall within the scope of protection of the present disclosure.