A hyperspectral remote sensing image classification method combining MKFDA and SVM

By using multi-category core linear discriminant analysis (MKFDA) in hyperspectral remote sensing images for feature dimensionality reduction, combined with support vector machine (SVM), the problems of low feature dimensionality reduction efficiency and insufficient classification accuracy in the prior art are solved. A highly efficient hyperspectral remote sensing image classification is achieved.

CN111738328BActive Publication Date: 2024-11-05YANGO UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010564839.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-19
Publication Date
2024-11-05
Estimated Expiration
2040-06-19

AI Technical Summary

Technical Problem

The existing hyperspectral remote sensing image classification technology has shortcomings in feature dimensionality reduction and classification accuracy, especially PCA cannot extract information higher than the second order, KPCA feature dimensionality reduction efficiency is low, KLDA is only suitable for binary classification, and there is information redundancy and Noise problems affect classification efficiency and accuracy.

Method used

Multi-category kernel linear discriminant analysis (MKFDA) is used to reduce the feature dimensions of hyperspectral remote sensing images, and combined with support vector machine (SVM), the SVM model parameters are optimized through genetic algorithms to improve the classification effect.

Benefits of technology

It effectively improves the classification accuracy and speed of hyperspectral remote sensing images, and can obtain high classification accuracy in fewer feature dimensions, which is better than the traditional PCA, LDA and KPCA methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111738328B_ABST
    Figure CN111738328B_ABST
Patent Text Reader

Abstract

The present invention relates to a hyperspectral remote sensing image classification method combining MKFDA and SVM, and proposes a hyperspectral remote sensing image classification algorithm combining MKFDA and SVM to improve the classification speed and classification accuracy of hyperspectral remote sensing images. We first use MKFDA to perform feature dimension reduction on spectral bands, and then use SVM to classify hyperspectral remote sensing images. The experimental results based on the Pavia University hyperspectral remote sensing data set show that the proposed hyperspectral remote sensing image classification method combining MKFDA and SVM achieves good classification results. It can achieve a classification accuracy of 92.13% with only 8 feature dimensions. Compared with directly using the original data for classification, it reduces 95 feature dimensions and improves the classification accuracy by 0.31%.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of remote sensing image processing, in particular to a hyperspectral remote sensing image classification method combining MKFDA and SVM. Background Art

[0002] Existing technical solutions simply compress the image data volume by performing multi-scale segmentation, saliency map extraction, feature extraction, etc. Hyperspectral remote sensing images provide rich spectral information, but there is a large amount of information redundancy or even noise between spectral bands, which is not conducive to classification efficiency and classification accuracy. Therefore, it is of great significance to perform feature dimensionality reduction on hyperspectral remote sensing images. Classic feature dimensionality reduction techniques include principal component analysis (PCA), linear discriminant analysis (LDA), kernel principal component analysis (KPCA), kernel linear discriminant analysis (KLDA), etc. PCA is applied to hyperspectral remote sensing image classification to improve classification efficiency. However, PCA cannot extract data information higher than the second order, which limits the effect of this method, and the dimensions extracted by PCA are not necessarily conducive to classification; KPCA is used to extract features from hyperspectral remote sensing images, and better classification accuracy is obtained than PCA, but KPCA has low feature dimension reduction efficiency and slow classification speed; KLDA can not only extract high-order information of the data, but also ensure that the extracted dimensions have good separability, but KLDA is only applicable to binary classification and can only extract features of one dimension; Support Vector Machine (SVM) theory is perfect, and it has good effects on problems such as small data, linear inseparability, local optimality, "over-learning" and "under-learning", which brings new development opportunities for hyperspectral remote sensing image classification. Du Peijun et al. used SVM to obtain higher accuracy in the study of hyperspectral remote sensing image classification. Therefore, this scheme proposes to use multi-class kernel linear discriminant analysis (MKFDA) to reduce the dimension of hyperspectral remote sensing images, and combine it with SVM to classify hyperspectral remote sensing images, so as to obtain better classification effect. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a hyperspectral remote sensing image classification method combining MKFDA and SVM, using multi-category kernel linear discriminant analysis to perform feature dimensionality reduction on hyperspectral remote sensing images, and combining it with SVM to classify hyperspectral remote sensing images to obtain better classification effect.

[0004] The present invention is implemented by the following scheme: a hyperspectral remote sensing image classification method combining MKFDA and SVM, comprising the following steps:

[0005] Step S1: Perform MKFDA feature dimensionality reduction on the acquired hyperspectral training set and standardize the data;

[0006] Step S2: using the training data processed in step S1, using a genetic algorithm to optimize the parameters of the SVM model, sending it to the SVM classification model for training, and finally generating an SVM classification model;

[0007] Step S3: The image set to be classified is subjected to the same MKFDA feature dimensionality reduction as in step S1. The obtained data is standardized and sent to the SVM model generated in step S2 for prediction. The predicted results are classified, evaluated and marked.

[0008] Furthermore, the specific contents of performing MKFDA feature dimensionality reduction on the hyperspectral training set in step S1 are as follows:

[0009] Assume that the nonlinear mapping φ:R d →R D (D>d), is the i-th sample belonging to the j-th type of ground object in the d-dimensional space j=1,2; i=1...,l j , l j is the number of samples of the jth class of objects, then the inter-class scatter matrix of the hyperspectral remote sensing dataset in D-dimensional space is Within-class scatter matrix And the optimization objective function is as follows:

[0010]

[0011]

[0012] The optimization objective function of MKFDA is written as:

[0013]

[0014] Where W∈R D×r , is the mean vector of the j-th type of features in the D-dimensional space; at the same time,

[0015]

[0016]

[0017] in

[0018]

[0019] α is the matrix N -1 The eigenvector of M;

[0020]

[0021]

[0022] M is the hyperspectral dataset, M * ∈R l×1 , M * The i-th element M i * Represents the average inner product of the i-th sample and all samples in the hyperspectral remote sensing dataset in the D-dimensional space; kernel function matrix The element in the i-th row and j-th column represents the i-th sample x of the hyperspectral remote sensing dataset. i With the jth sample x j Inner product in D-dimensional space; x p represents the pth sample, then formula (3) is written as:

[0023]

[0024] The solution is A=(α1,...,α k ,...,α r ), α k is the matrix N -1 The eigenvector corresponding to the kth largest eigenvalue of M; if the hyperspectral remote sensing dataset X∈R d×l Reducing to r dimension, we have X = A T KX∈R r×l is the result of dimensionality reduction;

[0025] The key to implementing the MKFDA feature dimensionality reduction algorithm is to calculate the kernel matrix K; l is the total number of samples, where M j The i-th element of i * and The meaning of is as follows:

[0026]

[0027]

[0028] In the training phase, the steps to reduce the hyperspectral training set to r dimensions (r = 1, ..., c-1) are as follows:

[0029] Step 1: Calculate the kernel matrix K of the hyperspectral training set;

[0030] Step 2: According to M j 、M * The connection with the kernel matrix K gives M j 、M * The value of

[0031] Step 3: Calculate N and M according to equations (10) and (11);

[0032] Step 4: Let N = N + εI; where I is the unit matrix, ε is the update coefficient, and ε is a small positive number;

[0033] Step 5: Calculate N -1 ;

[0034] Step 6: Solve for the matrix N -1 The eigenvalues ​​and eigenvectors of M;

[0035] Step 7: Take the matrix N -1 The eigenvectors corresponding to the largest r eigenvalues ​​of M form a transformation matrix A=(α1,...,α r );

[0036] Step 8: Unitize the feature vectors in the D-dimensional feature space, let

[0037] Step 9: Reduced dimensionality of the hyperspectral training set X' = A T K;

[0038] In the test phase, if there are m hyperspectral test data with d spectral bands, the matrix Y = (y1,...,y m ), then it is reduced to the r-dimensional test sample set Y'=A T K t , where K t =[k(x i ,y i )] l×m ,i=1,...,l;j=1,...,m。

[0039] Furthermore, the specific process of data standardization in step S1 is as follows:

[0040] Assume that the hyperspectral training set has d bands, and scale the value of each band to min~max. The maximum and minimum values ​​of the i-th band are max and i 、min i, if the i-th eigenvalue of a training sample is x i, , then the standardized value is:

[0041]

[0042] In the testing phase, the same standardization method needs to be used for the test data. If the i-th eigenvalue of a test sample is y i , then the standardized value is

[0043]

[0044] Furthermore, the specific steps of using genetic algorithm to optimize SVM model parameters are as follows:

[0045] Step SA: Select radial basis kernel function k(x,y)=e -γ||x-y||2 ,γ>0, the parameters to be optimized for SVM include the penalty coefficient C and the radial basis kernel parameter γ, and a population containing m individuals is randomly initialized; each individual is a standardized hyperspectral remote sensing training set; wherein each individual is a combination of the penalty coefficient C and the radial basis kernel parameter γ;

[0046] Step SB: Encode the population; use binary encoding to optimize C and γ in the range of 0 to 3, and the encoding accuracy is 0.1. Then the encoding length of each parameter is log2((3-0) / 0.1+1)≈5. For a set of parameters with C=0.1 and γ=0.3, the encoding is 0000100011;

[0047] Step SC: Calculate the fitness of the individual, and evaluate the classification accuracy of the SVM model corresponding to a certain set of parameters for the hyperspectral remote sensing training set according to the k-fold cross-validation method, which is used as the fitness of the individual of the parameter combination.

[0048] For example, the k-fold cross-validation method can be used to evaluate the classification accuracy of the SVM model corresponding to a certain set of parameters for the hyperspectral remote sensing training set, which can be used as the fitness of the individual parameter combination.

[0049] Step SD: According to the fitness of the individuals, m individuals are selected to form a new generation of population; the roulette wheel method is used, and its basic strategy is that the greater the fitness of the individual, the greater the possibility of being selected; first construct a probability function p(i) = f(i) / (f(1) + ... + f(m)), i = 1, ..., m, where p(i) and f(i) are the probability and fitness of the i-th individual being selected, respectively, and then p(i) is surrounded by a roulette wheel with an area of ​​1. When the roulette wheel is turned, the individual corresponding to the area where the pointer stops is selected; after m turns, m individuals are selected to form a new generation of population;

[0050] Step SE: cross-exchange individuals with a preset probability of 0.5;

[0051] For example, for individuals 0000100011 and 0001100001, decide with a probability of 0.5 whether to crossover them. If so, a certain position is randomly selected as the crossover point. If the 6th position is selected, the new individuals generated after the crossover are 0001100011 and 0000100001.

[0052] Step SF: genetic variation of individuals with a preset probability of 0.05;

[0053] For example, for individual 0000100011, the probability is 0.05 to decide whether to perform genetic mutation on it. If yes, a certain bit is randomly selected as the mutation point. If the sixth bit is selected, the sixth bit is inverted, and the new individual generated after genetic mutation is 0000110011.

[0054] Step SG: If the current population generation number reaches the set value, the iterative evolution is stopped, the individuals are decoded, and the individual with the best fitness is selected as the optimal solution, that is, the corresponding parameter with the highest classification accuracy of the hyperspectral remote sensing training set, otherwise return to step SC.

[0055] Compared with the prior art, the present invention has the following beneficial effects:

[0056] The present invention applies MKFDA to feature dimensionality reduction of hyperspectral remote sensing images, effectively improving the classification accuracy and classification speed of hyperspectral remote sensing images. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 This is a training process and a testing process for hyperspectral remote sensing image classification based on MKFDA and SVM in an embodiment of the present invention.

[0058] Figure 2 The Pavia University hyperspectral remote sensing image and its labeled image in the embodiment of the present invention; wherein, Figure 2 (a) is the original satellite image. Figure 2 (b) is the actual marking image. Figure 2 (c) is the MKFDA classification labeling diagram. DETAILED DESCRIPTION

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

[0060] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0061] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0062] This embodiment provides a hyperspectral remote sensing image classification method combining MKFDA and SVM, including the following steps:

[0063] Step S1: Perform MKFDA feature dimensionality reduction on the acquired hyperspectral training set and standardize the data;

[0064] Step S2: using the training data processed in step S1, using a genetic algorithm to optimize the parameters of the SVM model, sending it to the SVM classification model for training, and finally generating an SVM classification model;

[0065] Step S3: The image set to be classified is subjected to the same MKFDA feature dimensionality reduction as in step S1. The obtained data is standardized and sent to the SVM model generated in step S2 for prediction. The predicted results are classified, evaluated and marked.

[0066] In this embodiment, the specific contents of performing MKFDA feature dimensionality reduction on the hyperspectral training set in step S1 are as follows:

[0067] Assume that the nonlinear mapping φ:R d →R D (D>d), is the i-th sample belonging to the j-th type of ground object in the d-dimensional space j=1,2; i=1...,l j , l j is the number of samples of the jth class of objects, then the inter-class scatter matrix of the hyperspectral remote sensing dataset in D-dimensional space is Within-class scatter matrix And the optimization objective function is as follows:

[0068]

[0069]

[0070] The optimization objective function of MKFDA is written as:

[0071]

[0072] W∈R D×r is the transformation matrix, is the mean vector of the j-th type of features in the D-dimensional space; at the same time,

[0073]

[0074]

[0075] in

[0076]

[0077] α is the matrix N -1 The eigenvector of M;

[0078]

[0079]

[0080] M is the hyperspectral dataset, M * ∈R l×1 , M * The i-th element M i * Represents the average inner product of the i-th sample and all samples in the hyperspectral remote sensing dataset in the D-dimensional space; kernel function matrix The element in the i-th row and j-th column represents the i-th sample x of the hyperspectral remote sensing dataset. i With the jth sample x j Inner product in D-dimensional space; x p represents the pth sample, then formula (3) is written as:

[0081]

[0082] The solution is A=(α1,...,α k ,...,α r ), α k is the matrix N -1 The eigenvector corresponding to the kth largest eigenvalue of M; if the hyperspectral remote sensing dataset X∈R d×l Reducing to r dimension, we have X = A T KX∈R r×l is the result of dimensionality reduction;

[0083] The key to implementing the MKFDA feature dimensionality reduction algorithm is to calculate the kernel matrix K; l is the total number of samples, where M j The i-th element of i * and The meaning of is as follows:

[0084]

[0085]

[0086] In the training phase, the steps to reduce the hyperspectral training set to r dimensions (r = 1, ..., c-1) are as follows:

[0087] Step 1: Calculate the kernel matrix K of the hyperspectral training set;

[0088] Step 2: According to M j 、M * The connection with the kernel matrix K gives M j 、M * The value of

[0089] Step 3: Calculate N and M according to equations (10) and (11);

[0090] Step 4: Let N = N + εI; where I is the unit matrix, ε is the update coefficient, and ε is a small positive number;

[0091] Step 5: Calculate N -1 ;

[0092] Step 6: Solve for the matrix N -1 The eigenvalues ​​and eigenvectors of M;

[0093] Step 7: Take the matrix N -1 The eigenvectors corresponding to the largest r eigenvalues ​​of M form a transformation matrix A=(α1,...,α r );

[0094] Step 8: Unitize the feature vectors in the D-dimensional feature space, let

[0095] Step 9: Reduced dimensionality of the hyperspectral training set X' = A T K;

[0096] In the test phase, if there are m hyperspectral test data with d spectral bands, the matrix Y = (y1,...,y m ), then it is reduced to the r-dimensional test sample set Y'=A T K t , where K t =[k(x i ,y i )] l×m ,i=1,...,l;j=1,...,m。

[0097] In this embodiment, the specific process of data standardization in step S1 is:

[0098] Figure 1Data standardization in the context of hyperspectral remote sensing refers to scaling the values ​​of each band of a hyperspectral remote sensing image to a specified range. Since the value ranges of each band of a hyperspectral remote sensing image vary greatly, it is easy for the band with a larger value range to dominate the band with a smaller value range, causing a distance-based classification method such as SVM to produce discrimination errors due to different spectral feature ranges. In addition, larger spectral feature values ​​are prone to numerical problems such as calculation overflow. Therefore, it is crucial to standardize the hyperspectral remote sensing data before using SVM.

[0099] Assume that the hyperspectral training set has d bands, and scale the value of each band to min~max. The maximum and minimum values ​​of the i-th band are max and i 、min i , if the i-th eigenvalue of a training sample is x i , then the standardized value is:

[0100] In the testing phase, the same standardization method needs to be used for the test data. If the i-th eigenvalue of a test sample is y i , then the standardized value is

[0101]

[0102] In this embodiment, the SVM parameter model considers using a genetic algorithm, which searches for the optimal solution by imitating the natural evolution process, and its global search and parallelism are important reasons for being able to quickly and effectively obtain the global optimal solution.

[0103] The specific steps of using genetic algorithm to optimize SVM model parameters are as follows:

[0104] Step SA: Select radial basis kernel function k(x,y)=e -γ||x-y||2 ,γ>0, the parameters to be optimized for SVM include the penalty coefficient C and the radial basis kernel parameter γ, and a population containing m individuals is randomly initialized; each individual is a standardized hyperspectral remote sensing training set; wherein each individual is a combination of the penalty coefficient C and the radial basis kernel parameter γ;

[0105] Step SB: Encode the population; use binary encoding to optimize C and γ in the range of 0 to 3, and the encoding accuracy is 0.1. Then the encoding length of each parameter is log2((3-0) / 0.1+1)≈5. For a set of parameters with C=0.1 and γ=0.3, the encoding is 0000100011;

[0106] Step SC: Calculate the fitness of the individual, and evaluate the classification accuracy of the SVM model corresponding to a certain set of parameters for the hyperspectral remote sensing training set according to the k-fold cross-validation method, which is used as the fitness of the individual of the parameter combination;

[0107] For example, the k-fold cross-validation method can be used to evaluate the classification accuracy of the SVM model corresponding to a certain set of parameters for the hyperspectral remote sensing training set, which can be used as the fitness of the individual parameter combination.

[0108] Step SD: According to the fitness of the individuals, m individuals are selected to form a new generation of population; the roulette wheel method is used, and its basic strategy is that the greater the fitness of the individual, the greater the possibility of being selected; first construct a probability function p(i) = f(i) / (f(1) + ... + f(m)), i = 1, ..., m, where p(i) and f(i) are the probability and fitness of the i-th individual being selected, respectively, and then p(i) is surrounded by a roulette wheel with an area of ​​1. When the roulette wheel is turned, the individual corresponding to the area where the pointer stops is selected; after m turns, m individuals are selected to form a new generation of population;

[0109] Step SE: cross-exchange individuals with a preset probability of 0.5;

[0110] For example, for individuals 0000100011 and 0001100001, decide with a probability of 0.5 whether to crossover them. If so, a certain position is randomly selected as the crossover point. If the 6th position is selected, the new individuals generated after the crossover are 0001100011 and 0000100001.

[0111] Step SF: genetic variation of individuals with a preset probability;

[0112] For example, for individual 0000100011, the probability is 0.05 to decide whether to perform genetic mutation on it. If yes, a certain bit is randomly selected as the mutation point. If the sixth bit is selected, the sixth bit is inverted, and the new individual generated after genetic mutation is 0000110011.

[0113] Step SG: If the current population generation number reaches the set value, the iterative evolution is stopped, the individuals are decoded, and the individual with the best fitness is selected as the optimal solution, that is, the corresponding parameter with the highest classification accuracy of the hyperspectral remote sensing training set, otherwise return to step SC.

[0114] To ensure that better parameters can be found, an "elite strategy" can be added to the above process, that is, the corresponding parameters with the highest classification accuracy of the hyperspectral remote sensing training set generated in each iteration are directly "sent" to the next round of iteration without cross-exchange, genetic mutation, roulette wheel selection and other operations.

[0115] Preferably, this embodiment proposes a hyperspectral remote sensing image classification algorithm that combines MKFDA with SVM to improve the classification speed and classification accuracy of hyperspectral remote sensing images. First, MKFDA is used to perform feature dimension reduction on the spectral bands to reduce the message redundancy and even noise between a large number of spectral bands; then SVM is used to classify the hyperspectral remote sensing images. The experimental results based on the Pavia University hyperspectral remote sensing dataset show that the proposed hyperspectral remote sensing image classification method combining MKFDA and SVM has achieved good classification results. It can achieve a classification accuracy of 92.13% with only 8 feature dimensions. Compared with directly using the original data for classification, it reduces 95 feature dimensions and improves the classification accuracy by 0.31%.

[0116] In order to verify the effectiveness of MKFDA feature dimensionality reduction, the Pavia University hyperspectral remote sensing dataset used in this experiment was taken by the ROSIS sensor in 2003, with a spatial resolution of 1.3 meters, an image size of 610×340, and contains 103 bands and 9 types of ground objects. The experiment is based on the MATLAB platform and the LIBSVM software package. Figure 1 The classification process is shown in the figure. The kernel function uses the radial basis kernel, the penalty coefficient C of SVM and the radial basis kernel parameter γ are searched by genetic algorithm, the radial basis kernel parameter of KPCA and MKFDA is set to 0.01, the number of iterations of the genetic algorithm is 10, the population size is 80, the crossover rate is 0.8, the genetic variation rate is 0.05, the optimization range is 0-128, and the cross validation fold is 3. 200 samples are selected from each type of land object to form a training set, and the remaining samples are used as test sets. The data is standardized to between 0 and 1.

[0117] Figure 2 The original satellite image of Pavia University, the actual labeled image, and the classified labeled image after dimensionality reduction using MKFDA features are shown. By comparing the MKFDA classified labeled image with the actual labeled image, it can be seen that the classification effect of hyperspectral remote sensing images based on MKFDA and SVM is good. Except for the two types of objects, Gravel and Bitumen, which are easy to confuse, the other seven types of objects can be well distinguished. Table 1 shows the classification performance indicators of the proposed scheme under different feature dimensions. Compared with PCA and LDA, MKFDA can obtain slightly higher classification accuracy with fewer feature dimensions, and much higher classification accuracy with equivalent feature dimensions; compared with KPCA, MKFDA can obtain equivalent classification accuracy with much fewer feature dimensions. Therefore, whether it is to improve the classification speed or classification accuracy of hyperspectral remote sensing images, MKFDA has certain advantages over general dimensionality reduction techniques.

[0118] Table 1. MKFDA+SVM feature dimension reduction classification results

[0119]

[0120] Preferably, this embodiment proposes to use multi-category kernel linear discriminant analysis MKFDA in combination with SVM technology to improve the classification effect. First, MKFDA is applied to feature dimensionality reduction of hyperspectral remote sensing images to effectively improve the classification accuracy and classification speed of hyperspectral remote sensing images. At the same time, a genetic algorithm is designed to further optimize the parameters of the SVM classification model after dimensionality reduction.

[0121] Preferably, in terms of technical principles, this embodiment more reasonably utilizes the characteristics and principles of the two technologies. Compared with the traditional classification algorithms based on PCA, LDA, and KPCA, the combined MKFDA and SVM classification algorithm proposed in this embodiment can obtain better classification effects with fewer feature dimensions.

[0122] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.

Claims

1. A hyperspectral remote sensing image classification method combining MKFDA and SVM, characterized by: The following steps are involved: Step S1: Perform MKFDA feature dimensionality reduction on the acquired hyperspectral training set and standardize the data; Step S2: using the training data processed in step S1, using a genetic algorithm to optimize the parameters of the SVM model, sending it to the SVM classification model for training, and finally generating an SVM classification model; Step S3: The image set to be classified is subjected to the same MKFDA feature dimensionality reduction as in step S1, the obtained data is standardized, and then sent to the SVM model generated in step S2 for prediction, and the predicted results are classified, evaluated and marked; The specific contents of performing MKFDA feature dimensionality reduction on the hyperspectral training set in step S1 are as follows: Assume that the nonlinear mapping φ:R d →R D (D>d), is the i-th sample belonging to the j-th type of ground object in the d-dimensional space j=1,2; i=1...,l j , l j is the number of samples of the jth class of objects, then the inter-class scatter matrix of the hyperspectral remote sensing dataset in D-dimensional space is Within-class scatter matrix The formula is as follows: The optimization objective function of MKFDA is written as: Where W∈R D×r is the transformation matrix, is the mean vector of the j-th type of features in the D-dimensional space; at the same time, in α is the matrix N -1 The eigenvector of M; M is the hyperspectral dataset, M * ∈R l×1 , M * The i-th element M i * Represents the average inner product of the i-th sample and all samples in the hyperspectral remote sensing dataset in the D-dimensional space; kernel function matrix The element in the i-th row and j-th column represents the i-th sample x of the hyperspectral remote sensing dataset. i With the jth sample x j Inner product in D-dimensional space; x p represents the pth sample, then formula (3) is written as: The solution is A=(α1,...,α k ,...,α r ), α k is the matrix N -1 The eigenvector corresponding to the kth largest eigenvalue of M; if the hyperspectral remote sensing dataset X∈R d×l Reducing to r dimension, we have X = A T KX∈R r×l is the result of dimensionality reduction; The key to implementing the MKFDA feature dimensionality reduction algorithm is to calculate the kernel matrix K; l is the total number of samples, where M j The i-th element of i * and The meaning of is as follows: In the training phase, the steps to reduce the hyperspectral training set to r dimensions (r = 1, ..., c-1) are as follows: Step 1: Calculate the kernel matrix K of the hyperspectral training set; Step 2: According to M j 、M * The connection with the kernel matrix K gives M j 、M * The value of Step 3: Calculate N and M according to equations (10) and (11); Step 4: Let N = N + εI; where I is the identity matrix and ε is the update coefficient; Step 5: Calculate N -1 ; Step 6: Solve for the matrix N -1 The eigenvalues ​​and eigenvectors of M; Step 7: Take the matrix N -1 The eigenvectors corresponding to the largest r eigenvalues ​​of M form a transformation matrix A=(α1,...,α r ); Step 8: Unitize the feature vectors in the D-dimensional feature space, let Step 9: Reduced dimensionality of the hyperspectral training set X' = A T K; In the test phase, if there are m hyperspectral test data with d spectral bands, the matrix Y = (y1,...,y m ), then it is reduced to the r-dimensional test sample set Y'=A T K t , where K t =[k(x i ,y i )] l×m ,i=1,...,l;j=1,...,m; The specific process of data standardization in step S1 is: Assume that the hyperspectral training set has d bands, and scale the value of each band to min~max. The maximum and minimum values ​​of the i-th band are max and i 、min i , if the i-th eigenvalue of a training sample is x i , then the standardized value is: In the testing phase, the same standardization method needs to be used for the test data. If the i-th eigenvalue of a test sample is y i , then the standardized value is The specific steps of using genetic algorithm to optimize SVM model parameters are as follows: Step SA: Select radial basis kernel function The parameters to be optimized for SVM include the penalty coefficient C and the radial basis kernel parameter γ. A population containing m individuals is randomly initialized; each individual is a standardized hyperspectral remote sensing training set; wherein each individual is a combination of the penalty coefficient C and the radial basis kernel parameter γ; Step SB: Encode the population; use binary encoding to optimize C and γ in the range of 0 to 3, and the encoding accuracy is 0.

1. Then the encoding length of each parameter is log2((3-0) / 0.1+1)≈5. For a set of parameters with C=0.1 and γ=0.3, the encoding is 0000100011; Step SC: Calculate the fitness of the individual, and evaluate the classification accuracy of the SVM model corresponding to a certain set of parameters for the hyperspectral remote sensing training set according to the k-fold cross-validation method, and use this as the fitness of the individual of the parameter combination; Step SD: According to the fitness of the individual, select m individuals to form a new generation of population; adopt the gambling wheel method, whose basic strategy is that the greater the fitness of the individual, the greater the possibility of being selected; first construct a probability function p(i)=f(i) / (f(1)+...+f(m)), i=1,...,m, p(i), f(i) are the probability and fitness of the i-th individual being selected, respectively, then enclose p(i) into a roulette wheel with an area of ​​1, turn the roulette wheel, and the individual corresponding to the area where the pointer stops is selected; after m turns, m individuals are selected to form a new generation of population; Step SE: cross-exchange individuals with a preset probability of 0.5; Step SF: genetic variation of individuals with a preset probability of 0.05; Step SG: If the current population generation number reaches the set value, the iterative evolution is stopped, the individuals are decoded, and the individual with the best fitness is selected as the optimal solution, that is, the corresponding parameter with the highest classification accuracy of the hyperspectral remote sensing training set, otherwise return to step SC.

Citation Information

Patent Citations

  • Hyperspectral image classification method based on area similarity low rank expression dimension reduction

    CN103425995A

  • High spectral remote sensing image classification method and system based on three-dimensional Gabor feature selection

    CN105740799A

  • Characteristic extraction and classification method of high-spectrum remote sensing image

    CN107194373A