Multimodal remote sensing data classification method based on graph convolutional network
Through the joint network framework of graph convolution network and 2DCNN/miniGCN, the invariant attribute features of hyperspectral and LiDAR images are extracted, solving the problem of feature extraction limitations and errors in hyperspectral image classification, and achieving high-precision multi-source images. Classification.
Patent Information
- Application Number
- CN202210187175.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-02-28
AI Technical Summary
Existing technologies are difficult to effectively extract spectral and spatial features of multi-source images in hyperspectral image classification, resulting in insufficient classification accuracy. Especially in complex scenes, feature extraction has limitations and errors, and multi-source image classification applications have not been fully utilized.
A multi-modal remote sensing data classification method based on graph convolution network is adopted to extract invariant attribute features by acquiring multi-source data fusion of hyperspectral and LiDAR images, and combines the joint network framework of 2DCNN and miniGCN for feature fusion, using multiplicative Fusion strategy and fully connected layer softmax function for classification.
It improves the feature richness of multi-source images and the diversity feature extraction capability of the convolutional layer, enhances the integrity of node feature information and classification accuracy, and significantly improves the classification performance of hyperspectral images.
Smart Images

Figure CN114581773B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of image processing, and further relates to a multimodal remote sensing data classification method, which can be used for hyperspectral image classification. Background Art
[0002] With the continuous development of image classification technology, remote sensing image classification plays an increasingly important role. Urban planning, land detection, vegetation classification, etc. all rely on the material classification results of specific areas. Hyperspectral images HSI contain rich spectral information, which can be used to observe and classify ground object information, but HSI cannot distinguish between material categories composed of the same material. This shows that in some specific scenes, single-source images are not conducive to classification, and remote sensing multi-source image classification is gradually applied to material classification. LiDAR images contain spatial structural information of the scene. The elevation information provided is combined with the spectral information provided by HSI to improve the accuracy of material classification results. The application of multi-source images is conducive to a more comprehensive observation of materials.
[0003] In the process of applying multi-source images to material classification, the fusion of multi-source data is particularly important. The fusion technology of HSI and LiDAR is constantly innovating and successfully applied to different classification tasks. Feature-level fusion can combine the features of HSI and LiDAR images, and finally generate category labels through the classifier. Wenzhi Liao et al. proposed to extract morphological features MPs from HSI and LiDAR images, and use a weighted fusion graph-based method to perform feature fusion, and finally obtain better classification results through the SVM classifier. However, since HSI contains rich spectral information, in specific hyperspectral regions, the complex spatial structure characteristics make it difficult to extract structured elements (SEs) from hyperspectral images. MPs, thereby increasing the application limitations of MPs.
[0004] In order to apply morphological features more flexibly in the classification of hyperspectral images, MDMura et al. have made a generalized extension of MPs and proposed to generate morphological attribute profiles APs by applying attribute filters. Various region-based attributes such as geometric structure shape and size can be easily captured by APs. APs can extract geometric features in layers, which is conducive to detailed analysis of remote sensing images. However, APs do not take into account local semantic changes. In a specific scene, two similar patches that should have the same features or two patches whose central pixels represent the same material cannot well merge spatial structural information, resulting in substantial differences in the final extracted features. In order to reduce the errors caused by IAPs being too sensitive to local semantic changes, Danfeng Hong proposed to extract invariant attributes IAs that are robust to semantic changes in hyperspectral scenes by enhancing the invariance of attribute filters AFs, thereby generating invariant attribute profiles IAPs consisting of two parts: spatial invariant features SIF and frequency invariant features FIF.
[0005] Although the above feature extraction algorithms have effectively improved the classification performance of remote sensing images, they still lack strong data fitting capabilities and have limitations in material feature recognition. With the vigorous development of deep learning technology, various deep neural networks have gradually been applied to remote sensing image classification tasks. Convolutional neural network CNN can simulate the short-range spatial relationship in HSI and effectively extract the spatial and spectral features of HSI, thereby performing more accurate classification. The long-range spatial relationship of HSI can be simulated by graph convolutional network GCN, which is an emerging network structure that effectively processes graph structure data by modeling the relationship between samples. Due to the high computational cost of GCN, in order to apply it to large-scale data processing, Danfeng Hong et al. proposed the network structure of miniGCN, which effectively classifies small sampling graphs in the form of small batches. At the same time, a joint network framework based on CNN and mini GCN was proposed to extract the spatial and spectral features of HSI and classify after feature fusion. However, this method is only for a single HSI classification task and does not involve the classification application of multi-source images, so it is difficult to achieve high-precision classification results. Summary of the invention
[0006] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and propose a multimodal remote sensing data classification method based on graph convolutional network to extract the spectral and spatial features of multi-source images and perform effective feature fusion to achieve high-precision classification of multi-source images.
[0007] To achieve the purpose of the invention, the technical solution adopted by the present invention is: obtaining a hyperspectral image data set; fusing the original HSI and LiDAR images with multi-source data through the GS fusion method to obtain a multi-source image fusion map; extracting the IAPs of the HSI and LiDAR images respectively; fusing the multi-source data through a feature fusion method based on a weighted fusion map; through a joint network framework based on 2DCNN and miniGCN, the preprocessed multi-source image fusion map and the feature fusion results are respectively input into the two branches of 2DCNN and miniGCN for further feature extraction; feature fusion is performed on the final extracted features through a multiplicative fusion strategy; classification is performed through a classification network composed of a fully connected layer FCN and a softmax function; and the classification results are evaluated by calculating the overall accuracy OA, the average accuracy AA, and the Kappa coefficient k. The specific implementation includes the following:
[0008] (1) The Houston 2012 hyperspectral dataset was obtained from the public dataset. It contains multi-source images of 144-band hyperspectral images HSI and single-band LiDAR images. The pixel value size is 349*1905, and the image contains 15 material categories in total.
[0009] (2) The high spatial resolution LiDAR image and the low spatial resolution hyperspectral image HSI are fused by the GS fusion method to obtain a hyperspectral GS fusion image;
[0010] (3) Extract the invariant attribute features f of HSI images and LiDAR images from the spatial domain and frequency domain respectively IAPs :
[0011] 3a) Spatial domain feature extraction: Through isotropic filtering, the robust convolution feature RCF is extracted from the HSI image, and superpixel segmentation is performed to obtain the spatial invariant feature SIF, and then the spatial invariant feature SIF is stacked to obtain all the spatial invariant features The same method is used to extract all spatially invariant features from LiDAR images.
[0012] 3b) Frequency domain feature extraction: First, the Fourier transform is applied to each pixel of the HSI and LiDAR images through pixel-level feature extraction, and the pixel Fourier features of the HSI image and LiDAR image are extracted respectively. Then, the pixel Fourier features are aggregated into region-based feature descriptors through multi-scale convolution kernels to obtain frequency-invariant features from the HSI and LiDAR images respectively. and
[0013] 3c) According to 3a) and 3b), the invariant attribute features finally obtained from HSI are The invariant attribute features obtained from LiDAR images are:
[0014] (4) The invariant attribute features extracted from HSI and LiDAR images are and A generalized weighted graph-based approach is used to fuse multi-source data features to obtain an invariant attribute feature fusion graph;
[0015] (5) The hyperspectral GS fusion image and the invariant attribute feature fusion map are respectively input into the existing miniature graph convolutional network miniGCN and two-dimensional convolutional neural network 2DCNN branch to further extract features:
[0016] 5a) Obtaining a training sample matrix, a test sample matrix, a training label matrix, a test label matrix and an adjacency matrix representing the relationship between sample points applicable to the hyperspectral GS fusion image; obtaining a training sample matrix, a test sample matrix, a training label matrix and a test label matrix applicable to the invariant attribute feature fusion graph;
[0017] 5b) Input the training sample matrix, label matrix and adjacency matrix corresponding to the hyperspectral GS fusion image into the mini-graph convolutional network miniGCN branch to extract the spectral features contained in the hyperspectral GS fusion image; input the training sample matrix and label matrix corresponding to the invariant attribute feature fusion graph into the two-dimensional convolutional neural network 2DCNN branch to extract the spatial features contained in the invariant attribute feature fusion graph;
[0018] (6) The multiplicative fusion strategy is used to fuse the spatial and spectral features from the two branches of 2DCNN and miniGCN, and the feature fusion result H after multiplicative fusion is obtained. M ;
[0019] (7) Select a classification network consisting of a fully connected layer FCN and a softmax function, and transform the feature fusion result H after multiplicative fusion M Input into the classification network to obtain the final target classification result.
[0020] Compared with the prior art, the present invention has the following advantages:
[0021] 1. Extract rich and diverse features from multi-source images
[0022] In the prior art, most of the features are extracted from a single modality image, resulting in incomplete object feature information. Even if the morphological profiles MPs are extracted from multi-source images and fused for classification tasks, the attribute features of specific areas cannot be flexibly extracted in complex hyperspectral scenes. The present invention obtains the spectral, spatial, and elevation information of the image by GS data fusion of multimodal images, thereby enriching the diversity of features. At the same time, the present invention uses the feature descriptor IAP to extract the object invariant attribute features IAPs from both spatial and frequency aspects based on the fused data, thereby avoiding the result that the features extracted from the same material produce substantial differences due to local semantic changes in complex spatial structures.
[0023] 2. Improve the ability of the convolutional layer to extract diverse features
[0024] In the existing technology, most of them adopt the method of inputting HSI into the 2DCNN framework alone to construct high-level image features in layers, but the feature information finally obtained is relatively simple and lacks the ability to extract diverse features. As for the model input of 2DCNN, this invention, for the first time, takes the fusion result of HSI and the invariant attribute feature IAPs of LiDAR data image as the original input, and inputs it into the network model after preprocessing, thereby improving the ability of the convolution layer to extract diverse features.
[0025] 3. Enriching node features based on graph-structured image data
[0026] In the prior art, for hyperspectral images based on graph structures, graph convolutional networks extract the features of each node in the graph structure data as one of the model inputs, but the feature information extracted therefrom only contains the spectral and spatial information of the hyperspectral image. The miniGCN network framework proposed in the present invention is used to process multi-source images based on graph structures, and the fused image of HSI and LiDAR data is used as the original input of the miniGCN framework, so that the node feature information is more diversified, and the structural information between nodes is more complete, thereby improving the classification accuracy of multi-source images. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 is a flow chart of an implementation of the present invention;
[0028] Figure 2 It is the image obtained by GS fusion of HSI and LiDAR data images in the present invention;
[0029] Figure 3 This is a comparison chart of the classification results of the present invention and five existing hyperspectral image classification methods. DETAILED DESCRIPTION
[0030] The embodiments and effects of the present invention will be described in further detail with reference to the accompanying drawings.
[0031] See also Figure 1 , the steps of this example are as follows:
[0032] Step 1: Obtain a hyperspectral dataset.
[0033] This example obtains the Houston2012 hyperspectral dataset from existing public datasets. The hyperspectral dataset comes from scene maps of the University of Houston and its neighboring urban areas. It contains 144-band hyperspectral images HSI and single-band LiDAR images. The pixel value size is 349*1905, and it contains 15 material categories in total.
[0034] Step 2: Perform GS fusion on multi-source image data.
[0035] The GS spectral sharpening method is a fusion method that applies the Gram-Schmidt algorithm to remote sensing images. In this example, the high spatial resolution LiDAR image and the low spatial resolution HSI are fused by the GS fusion method, thereby improving the spatial resolution of the HSI, as shown in the figure, where:
[0036] Figure 2 (a) and Figure 2 (b) are the hyperspectral image HSI and LiDAR image before fusion,
[0037] Figure 2 (c) is the fused image.
[0038] Depend on Figure 2 (c) It can be seen that the fused image has a higher contrast than the single hyperspectral image HSI and LiDAR image, which is conducive to better distinguishing material categories;
[0039] (2.1) Calculate the overlapping area of the LiDAR image and the hyperspectral image HSI, and crop it to obtain the cropped LiDAR image and hyperspectral image HSI;
[0040] (2.2) Simulate and generate a low-resolution LiDAR image as the first component of the Schmidt orthogonal GS transform: simulate the low-resolution hyperspectral image HSI according to the spectral response function with the set weight to obtain the simulated LiDAR image grayscale value, or blur the LiDAR image to reduce it to the same size as the hyperspectral image HSI;
[0041] (2.3) Taking the band simulating the gray value of the LiDAR image as the first band and all the bands of the hyperspectral image HSI as the subsequent bands, perform Schmidt orthogonal GS transformation;
[0042] (2.4) Modify the LiDAR image band according to the mean and variance of the first component of the Schmidt orthogonal GS transform;
[0043] (2.5) The modified LiDAR image band is taken as the first component, and the Schmidt orthogonal inverse transform is performed. After removing the first band in the output band, the final GS fusion image is obtained.
[0044] Step 3: extract the invariant attribute features IAPs of the hyperspectral image HSI and LiDAR image respectively.
[0045] Since attribute filters AFs are insensitive to local semantic changes, the invariant attribute features IAPs of remote sensing hyperspectral images HSI and LiDAR images can be extracted by applying AFs. First, spatial invariant features SIFs are extracted by applying isotropic filters and superpixel segmentation technology; then, discrete APs are converted into continuous contours by simulating the movement or rotation of image blocks in the Fourier polar coordinate system, thereby obtaining frequency invariant features FIFs. The specific implementation is as follows:
[0046] (3.1) Spatial domain feature extraction:
[0047] Through isotropic filtering, the robust convolution feature RCF is extracted from the remote sensing image and expressed in the form of a feature set as follows:
[0048] f RCF =[f1,…f k ,…f D ],
[0049] in, represents the robust convolutional features extracted from the kth band of the multi-source image, I k represents the kth band of the multi-source image, K conv Represents the convolution kernel, through I k With convolution kernel K conv Perform convolution operations to isotropically aggregate local spatial information;
[0050] In order to enhance the invariance of features, the linear iterative clustering SLIC method can be used to perform superpixel segmentation on the robust convolution feature RCF, and the spatial invariant feature SIF of the i-th pixel can be expressed as:
[0051]
[0052] Among them, N q represents the number of pixels of the qth superpixel; represents the pixel set consisting of the qth superpixel and containing the i-th target pixel, Represents the jth robust convolution feature RCF;
[0053] Finally, the spatially invariant features f extracted from the multi-source images are SIFs Can be simply stacked as:
[0054]
[0055] in, represents the spatial invariant feature of the i-th pixel, i∈[1,N], N=W×H represents the number of pixels in the multi-source image scene.
[0056] (3.2) Frequency domain feature extraction:
[0057] The first is pixel-level feature extraction, which is done by dividing the image into small gradient or edge direction histograms of each pixel and combining them to form a feature descriptor. To further improve performance, a region-based representation can be performed to normalize the contrast of these local histograms within the image interval. Traditional discrete histograms cannot model the rotation behavior of local images well. This example uses continuous Fourier transform to effectively simulate the rotation behavior of any angle, that is, for remote sensing multi-source images, the rotation-invariant features of the image are extracted according to the following steps:
[0058] (3.2.1) Apply Fourier transform to each pixel of the multi-source image, and obtain the corresponding amplitude features for different Fourier orders
[0059]
[0060] Among them, ||D(x,y)|| represents the amplitude information of a given pixel, and m represents the Fourier order;
[0061] (3.2.2) In the polar coordinate system, according to the self-steering property of the Fourier basis, two Fourier bases with the same rotation behavior are convolved, and the expression is:
[0062]
[0063] Among them, m1 and m2 represent two different Fourier orders, g° represents the degree of rotation, represents the coordinate transformation, F m1 (x,y) and F m2 (x, y) represents the Fourier form of the feature extracted at position (x, y) in the polar coordinate system when the Fourier order is m1 and m2 respectively. When m1+m2=0, the phase information of the feature can be completely eliminated, and the absolute rotation invariant feature output is obtained.
[0064]
[0065] (3.2.3) Output the obtained absolute rotation invariant features Any two adjacent nodes in the convolution region
[0066] The convolution kernel radius is coupled to obtain the relative rotation invariant feature
[0067]
[0068] Among them, r 1 and r 2 Respectively represent two different convolution kernel radii;
[0069] (3.2.4) According to the above These three different features are used to obtain the pixel Fourier feature f' at a specific position (x, y) in the multi-source image. PWFF (x,y):
[0070]
[0071] (3.2.5) According to the pixel Fourier feature f' PWFF (x, y) to obtain the pixel Fourier features f of all positions on the remote sensing multi-source image with a pixel value size of W×H PWFF (x,y) is:
[0072]
[0073] (3.2.6) The pixel Fourier feature f is transformed into PWFF (x, y) is aggregated into a region-based feature descriptor, and the resulting frequency-invariant feature f FIFs for:
[0074]
[0075] in, Represents the region descriptor after the pixel Fourier feature is operated with the jth convolution kernel, j∈[1,J], J represents the total number of convolution kernels;
[0076] (3.2.7) The spatial invariant feature f extracted by the above method SIFs and frequency invariant feature f FIFs , get the invariant attribute feature f IAPs for:
[0077] f IAPs =[f SIFs ,f FIFs ];
[0078] In this example, the invariant attribute feature extraction of hyperspectral image HSI and LiDAR image is realized by using the above method. In order to distinguish such images, and They are respectively used as symbols to represent the invariant attribute features of hyperspectral images HSI and LiDAR images.
[0079] Step 4: Multi-source data fusion is performed through feature fusion based on weighted graph.
[0080] Since the hyperspectral image HSI contains rich spectral and spatial information, and the LiDAR image contains the elevation information of the object, the feature fusion of this image makes it possible to combine the invariant attribute features of the hyperspectral image HSI and invariant attribute features in LiDAR images The fusion is implemented as follows:
[0081] (4.1) Standardization and Dimensions;
[0082] (4.2) Obtain a transformation matrix W that combines feature dimensionality reduction and feature fusion:
[0083] (4.2.1) Define the fusion graph structure as G = (X,Q GGF ),in:
[0084] X=[X spe ,X spa ,X ele ], X spe , X spa Respectively from Spectral and spatial information of X ele Indicates from Elevation information;
[0085] Q GGF Represents two connected data points x i and x j The edge between is defined as: Among them, x i ∈N i , x j ∈N i , N i Indicates that by calculating the current data point x i After calculating the Euclidean distance between the data points connected to it, the set of K data points with the smallest distance is obtained after sorting. If When Q GGF =0;
[0086] (4.2.2) By Q GGFGet its diagonal matrix D GGF , calculate the fusion Laplace matrix L GGF :
[0087] L GGF =D GGF -Q GGF
[0088] (4.2.3) Based on the obtained feature information X, the fusion Laplace matrix L GGF , diagonal matrix D GGF , different eigenvalues λ and their corresponding eigenvectors q are obtained through the following generalized eigenvalue formula:
[0089] XL GGF X 丅 q=λXD GGF X T q
[0090] Where, X T represents the transpose of X, λ represents the eigenvalue, λ∈[λ1,λ2,…λ i ,…λ r ] and λ1≤λ2≤…λ i …≤λ r , r represents the number of eigenvalues;
[0091] According to each eigenvalue corresponding to a eigenvector, we have q∈[q1,q2,…,q i ,…q r ], and the transformation matrix W is obtained from all eigenvectors:
[0092] W=(q1,q2,…,q i ,…q r )
[0093] Among them, q i represents the eigenvector corresponding to the i-th eigenvalue;
[0094] (4.2.3) According to the transformation matrix W and the feature information X, the fusion result of the invariant attribute features of the hyperspectral image HSI and the invariant attribute features in the LiDAR image is calculated to obtain the invariant attribute feature fusion map Z:
[0095] Z=W T X
[0096] Among them, W T represents the transpose of W.
[0097] Step 5, obtain a training sample matrix, a test sample matrix, a training label matrix, a test label matrix and an adjacency matrix representing the relationship between sample points suitable for the hyperspectral GS fusion image.
[0098] (5.1) Obtain the initial training sample matrix and the initial test sample matrix containing only background points and target points from the Houston2012 hyperspectral dataset;
[0099] (5.2) extracting the values of the target points of the initial training sample matrix and the initial test sample matrix to form a training label matrix and a test label matrix suitable for the hyperspectral GS fusion image;
[0100] (5.3) Determine the position of the target point in the initial training sample matrix and the initial test sample matrix, and extract the training sample data points and test sample data points at the same position on the hyperspectral GS fusion image to form a training sample and test sample matrix suitable for the hyperspectral GS fusion image;
[0101] (5.4) The radial basis function is used to calculate the adjacency matrix A representing the relationship between sample points in the hyperspectral GS fusion image. i,j :
[0102]
[0103] Among them, x i and x j represents the feature information at two adjacent pixels i and j on the hyperspectral GS fusion image, and σ represents the parameter controlling the width of the radial basis function.
[0104] Step 6, obtain the training sample matrix, test sample matrix, training label matrix, and test label matrix applicable to the invariant attribute feature fusion graph Z.
[0105] (6.1) Obtain the initial training sample matrix and the initial test sample matrix containing only background points and target points from the Houston2012 hyperspectral dataset;
[0106] (6.2) extracting the values of the target points of the initial training sample matrix and the initial test sample matrix to form a training label matrix and a test label matrix suitable for the invariant attribute feature fusion graph;
[0107] (6.3) Determine the position of the target point in the initial training sample matrix and the initial test sample matrix, and extract the training sample data points and test sample data points at the same position on the invariant attribute feature fusion map to form a training sample and test sample matrix suitable for the invariant attribute feature fusion map.
[0108] Step 7: extract the spectral features contained in the hyperspectral GS fusion image.
[0109] The graph structure data contained in the hyperspectral GS fusion image is used as input data and input into the miniature graph convolutional network miniGCN in matrix form. The input data is trained in the network in a minibatch manner, and features are extracted and output during the training process, which is expressed as:
[0110]
[0111] in, I is the identity matrix, A is the adjacency matrix, W l is the weight of the lth layer of the graph convolutional network, express The diagonal matrix of H, σ represents the nonlinear activation function Relu, l represents the l-th layer feature output of the graph convolutional network during feature extraction. When l = 0, H l is the original feature input, H l+1 It represents the feature output of the l+1th layer of the graph convolutional network, which is the spectral feature of the final output.
[0112] Step 8: extract the spatial features contained in the invariant attribute feature fusion map.
[0113] (8.1) The feature information contained in the invariant attribute feature fusion map is input into the two-dimensional convolutional network 2DCNN in the form of a matrix. The region where the feature information of the invariant attribute feature fusion map is located is convolved with a learnable convolution kernel. The output obtained by the convolution result through the activation function forms the neurons of the convolution layer, i.e., the feature map of the convolution layer.
[0114] (8.2) The feature map generated after the convolution operation is divided into non-overlapping regions, and the features of each region are compressed through pooling operation, and its more significant spatial features are extracted;
[0115] (8.3) Repeat (8.1) and (8.2) four times in total, and output multiple sets of features. Then perform full connection operations on them and combine the multiple sets of features into one set of features in turn, which is the spatial features finally output by the two-dimensional convolutional network 2DCNN.
[0116] Step 9: Multiply the spatial and spectral features to obtain the target classification result.
[0117] (9.1) The multiplicative fusion strategy is used to fuse the spatial and spectral features from the two branches of 2DCNN and miniGCN to obtain the feature fusion result H to be classified. M :
[0118] H M =H 2DCNNs ⊙H miniGCNs
[0119] Among them, H 2DCNNs represents the spatial features extracted from the two-dimensional convolutional network 2DCNN, H miniGCNs represents the spectral features extracted from the mini-graph convolutional network miniGCN, ⊙ represents the multiplicative fusion operator;
[0120] (9.2) The feature fusion result H of the classification is treated through the fully connected layer FCN M Perform weighted summation to obtain H M The fraction corresponding to each substance category included (w k ·H M +b k ), where w k represents the weight of the k-th material feature, k∈[1,15], b k represents the bias term;
[0121] (9.3) The obtained score (w k ·H M +b k ) is mapped into probability through softmax function: y k =softmax(w k ·H M +b k ), y k That is the classification result of the kth substance category.
[0122] The effect of the present invention can be further illustrated by the following simulation experiments and index analysis:
[0123] 1. Simulation conditions:
[0124] The dataset used in the experiment is the Houston2012 dataset, which contains 15 categories of scenes in the University of Houston and its neighboring urban areas. Figure 2 As shown in (a), it contains 144 bands and the image size is 349*1905. The LiDAR data image used for the experiment is as follows: Figure 2 As shown in (b), it contains a single band and the image size is 349*1905.
[0125] 2. Simulation content:
[0126] Under the above conditions, the multi-source images were classified on the Houston2012 dataset using the present invention and the five existing hyperspectral image classification methods. The classification results are shown in Figure 2. Figure 3 As shown, where:
[0127] Figure 3(a) is the classification result diagram produced by the existing OTVCA classification method;
[0128] Figure 3 (b) is the classification result diagram produced by the existing MSTV+RF classification method;
[0129] Figure 3 (c) is the classification result graph produced by the existing Endnet method;
[0130] Figure 3 (d) Classification result diagram produced by the existing GGF method;
[0131] Figure 3 (e) is the classification result diagram produced by the existing Cross fusion FC method;
[0132] Figure 3 (f) is a diagram of the classification results of the present invention.
[0133] from Figure 3 It can be seen that the classification diagram of the present invention is smoother, clearer and more realistic, and its classification effect is significantly improved compared with the comparison method.
[0134] 3. Comparison of classification accuracy
[0135] The classification performance can be evaluated by calculating the three indicators of overall accuracy OA, average accuracy AA and Kappa coefficient. The larger the values of the three indicators, the higher the classification accuracy and the better the classification performance.
[0136] Overall accuracy OA, which represents the ratio of the number of correctly classified test samples to the total number of test samples;
[0137] The average accuracy AA represents the ratio of the number of correctly classified test samples to the total number of test samples in a certain category;
[0138] The Kappa coefficient is expressed as:
[0139]
[0140] Where N represents the total number of sample points, x ii Represents the diagonal value of the confusion matrix obtained after classification, x' i and x″ i It represents the total number of samples in a certain category and the total number of classified samples in this category.
[0141] The performance of the present invention and the five existing hyperspectral image classification methods for the Houston 2012 data set classification results is compared by evaluation indicators, and the results are shown in the following table:
[0142] Table 1 Comparison results of evaluation indicators
[0143] method OA AA K OTVCA 85.80 87.66 0.8458 MSTV+RF 84.54 85.63 0.8320 Endnet 87.82 89.34 0.8684 GGF 90.79 90.95 0.9001 Cross fusion FC 87.08 89.09 0.8598 The present invention 92.11 93.03 0.9144
[0144] As can be seen from Table 1, compared with other existing classification methods, the classification performance shown by the present invention is better, and its index values in terms of overall classification accuracy OA, average classification accuracy AA, and Kappa coefficient are all better than those of the other five algorithms, which further proves the excellent performance of the present invention in remote sensing multi-source image classification.
Claims
1. A multimodal remote sensing data classification method based on graph convolutional network, characterized in that: The steps include: (1) The Houston 2012 hyperspectral dataset was obtained from the public dataset. It contains multi-source images of 144-band hyperspectral images HSI and single-band LiDAR images. The pixel value size is 349*1905, and the image contains 15 material categories in total. (2) The high spatial resolution LiDAR image and the low spatial resolution hyperspectral image HSI are fused by the GS fusion method to obtain a hyperspectral GS fusion image; (3) Extract the invariant attribute features f of HSI images and LiDAR images from the spatial domain and frequency domain respectively IAPs : 3a) Spatial domain feature extraction: Through isotropic filtering, the robust convolution feature RCF is extracted from the HSI image, and superpixel segmentation is performed to obtain the spatial invariant feature SIF, and then the spatial invariant feature SIF is stacked to obtain all the spatial invariant features The same method is used to extract all spatially invariant features from LiDAR images. 3b) Frequency domain feature extraction: First, the Fourier transform is applied to each pixel of the HSI and LiDAR images through pixel-level feature extraction, and the pixel Fourier features of the HSI image and LiDAR image are extracted respectively. Then, the pixel Fourier features are aggregated into region-based feature descriptors through multi-scale convolution kernels to obtain frequency-invariant features from the HSI and LiDAR images respectively. and 3c) According to 3a) and 3b), the invariant attribute features finally obtained from HSI are The invariant attribute features obtained from LiDAR images are: (4) The invariant attribute features extracted from HSI and LiDAR images are and A generalized weighted graph-based approach is used to fuse multi-source data features to obtain an invariant attribute feature fusion graph; (5) The hyperspectral GS fusion image and the invariant attribute feature fusion map are respectively input into the existing miniature graph convolutional network miniGCN and two-dimensional convolutional neural network 2DCNN branch to further extract features: 5a) obtaining a training sample matrix, a test sample matrix, a training label matrix, a test label matrix and an adjacency matrix representing the relationship between sample points applicable to the hyperspectral GS fusion image; Obtain a training sample matrix, a test sample matrix, a training label matrix, and a test label matrix applicable to the invariant attribute feature fusion graph; 5b) Input the training sample matrix, label matrix and adjacency matrix corresponding to the hyperspectral GS fusion image into the mini-graph convolutional network miniGCN branch to extract the spectral features contained in the hyperspectral GS fusion image; input the training sample matrix and label matrix corresponding to the invariant attribute feature fusion graph into the two-dimensional convolutional neural network 2DCNN branch to extract the spatial features contained in the invariant attribute feature fusion graph; (6) The multiplicative fusion strategy is used to fuse the spatial and spectral features from the two branches of 2DCNN and miniGCN, and the feature fusion result H after multiplicative fusion is obtained. M ; (7) Select a classification network consisting of a fully connected layer FCN and a softmax function, and transform the feature fusion result H after multiplicative fusion M Input into the classification network to obtain the final target classification result.
2. The method according to claim 1, characterized in that Step (2) uses the Schmidt orthogonal GS fusion method to fuse the high spatial resolution LiDAR image and the low spatial resolution hyperspectral image HSI, which is implemented as follows: (2a) Calculate the overlapping area of the LiDAR image and the hyperspectral image HSI, and crop it to obtain the cropped LiDAR image and hyperspectral image HSI; (2b) Simulating and generating a low-resolution LiDAR image as the first component of the Schmidt orthogonal GS transform: simulating the low-resolution hyperspectral image HSI according to the spectral response function with the set weight to obtain the simulated LiDAR image grayscale value, or blurring the LiDAR image to reduce it to the same size as the hyperspectral image HSI; (2c) Taking the band simulating the gray value of the LiDAR image as the first band and all the bands of the hyperspectral image HSI as the subsequent bands, a Schmidt orthogonal GS transformation is performed; (2d) modifying the LiDAR image band according to the mean and variance of the first component of the Schmidt orthogonal GS transform; (2e) The modified LiDAR image band is taken as the first component, and the Schmidt orthogonal inverse transform is performed. After removing the first band in the output band, the final GS fusion image is obtained.
3. The method according to claim 1, characterized in that In step (3a), the invariant attribute features of the HSI image and the LiDAR image are extracted from the spatial domain, which is implemented as follows: (3a1) Through isotropic filtering, the robust convolution feature RCF is extracted from the multi-source image and represented in the form of a feature set as: f RCF =[f1,…f k ,…f D ] in, I represents multi-source images, I k represents the kth band of the multi-source image, K conv represents the convolution kernel; (3a2) The multi-source image with a pixel value size of W×H and a band number of D is combined with the convolution kernel K conv Convolution operation is performed to isotropically aggregate local spatial information, and then the linear iterative clustering SLIC method is used to perform superpixel segmentation to obtain the spatial invariant features f of each pixel contained in the multi-source image. SIFs : in, represents the spatial invariant feature of the i-th pixel, i∈[1,N], N=W×H represents the number of pixels in the multi-source image scene, Among them, N q represents the number of pixels of the qth superpixel; represents the pixel set consisting of the qth superpixel and containing the i-th target pixel, Represents the j-th robust convolutional feature RCF.
4. The method according to claim 1, characterized in that: In step (3b), the invariant attribute features of the hyperspectral image HSI and LiDAR image are extracted from the frequency domain, which is implemented as follows: (3b1) Extract the rotation invariant features of multi-source images at position (x, y): First, the Fourier transform is applied to each pixel of the hyperspectral image HSI and LiDAR image, and the corresponding amplitude features are obtained for different Fourier orders. Among them, ||D(x,y)|| represents the amplitude information of a given pixel, m represents the Fourier order, m∈N, and N represents a natural number; Secondly, according to the self-direction of the Fourier basis, two Fourier bases with the same rotation behavior are multiplied or convolved in the polar coordinate system, and the phase information is completely eliminated to obtain the absolute rotation invariance feature output Where m1 and m2 represent two different Fourier orders, and m1+m2=0. m1 (x,y) and F m2 (x, y) represents the Fourier form of the feature extracted at position (x, y) in the polar coordinate system when the Fourier order is m1 and m2 respectively; Finally, the absolute rotation invariant feature obtained is output By coupling any two adjacent convolution kernel radii in the convolution area, we can obtain the relative rotation invariant feature. Among them, r 1 and r 2 They represent two different convolution kernel radii, m1 and m2 represent two different Fourier orders, and m1≠m2; (3b2) obtained from (3b1) These three different features can be used to obtain the pixel Fourier feature f′ at the multi-source image position (x, y) PWFF (x,y): Finally, the pixel Fourier features f of all positions on the remote sensing multi-source image with a pixel value size of W×H are obtained. PWFF : (3b3) The pixel Fourier features f at all positions on the multi-source image are transformed through multi-scale convolution kernels. PWFF Aggregated into region-based feature descriptors, the frequency-invariant features f obtained from multi-source images are finally FIFs : in, Represents the region descriptor after the pixel Fourier feature is operated with the jth convolution kernel, j∈[1,J], and J represents the total number of convolution kernels.
5. The method according to claim 1, characterized in that In step (4), a generalized weighted graph-based approach is used to extract the invariant attribute features from HSI and LiDAR images respectively. and Multi-source data feature fusion is implemented as follows: (4a) Standardization and Dimensions; (4b) Get a transformation matrix W: First, the fusion graph structure can be defined as G = (X, Q GGF ),in: X=[X spe ,X spa ,X ele ], X spe , X spa Respectively from Spectral and spatial information of X ele Indicates from Elevation information; Q GGF Represents two connected data points x i and x j The edge between is defined as: Among them, x i ∈N i , x j ∈N i , N i Indicates that by calculating the current data point x i After calculating the Euclidean distance between the data points connected to it, the set of K data points with the smallest distance is obtained after sorting. When GGF =0; Secondly, by Q GGF Get its diagonal matrix D GGF , and by L GGF =D GGF -Q GGF Get the fused Laplace matrix L GGF , and get the transformation matrix W: W=(q1,q2,…,q i ,…q r ) Among them, q i represents the eigenvector corresponding to the i-th eigenvalue, which is given by the generalized eigenvalue formula We get, where λ represents the eigenvalue, λ∈[λ1,λ2,…λ i ,…λ r ] and λ1≤λ2≤…λ i …≤λ r , r represents the number of eigenvalues, represents the transpose of X; (4c) According to the formula Get the unchanged attribute characteristics and The feature fusion result Z.
6. The method according to claim 1, characterized in that Step 5a) obtains a training sample matrix, a test sample matrix, a training label matrix, a test label matrix and an adjacency matrix representing the relationship between sample points applicable to the hyperspectral GS fusion image, and is implemented as follows: 5a1) Obtain an initial training sample matrix and an initial test sample matrix containing only background points and target points from the Houston2012 hyperspectral dataset; 5a2) extracting the values of the target points of the initial training sample matrix and the initial test sample matrix to form a training label matrix and a test label matrix suitable for the hyperspectral GS fusion image; 5a3) determining the position of the target point in the initial training sample matrix and the initial test sample matrix, and extracting the training sample data points and the test sample data points at the same position on the hyperspectral GS fusion image to form a training sample and a test sample matrix suitable for the hyperspectral GS fusion image; 5a4) Use radial basis function to calculate the adjacency matrix A representing the relationship between sample points in the hyperspectral GS fusion image i,j : Among them, x i and x j represents the feature information at two adjacent pixels i and j on the hyperspectral GS fusion image, and σ represents the parameter controlling the width of the radial basis function.
7. The method according to claim 1, characterized in that In step 5a), the training sample matrix, test sample matrix, training label matrix, and test label matrix applicable to the invariant attribute feature fusion graph are obtained as follows: 5a5) Obtain an initial training sample matrix and an initial test sample matrix containing only background points and target points from the Houston2012 hyperspectral dataset; 5a6) extracting the values of the target points of the initial training sample matrix and the initial test sample matrix to form a training label matrix and a test label matrix suitable for the invariant attribute feature fusion graph; 5a7) Determine the position of the target point in the initial training sample matrix and the initial test sample matrix, and extract the training sample data points and test sample data points at the same position on the invariant attribute feature fusion map to form a training sample and test sample matrix suitable for the invariant attribute feature fusion map.
8. The method according to claim 1, characterized in that Step 5b) extracts the spectral features contained in the hyperspectral GS fusion image and the spatial features contained in the invariant attribute feature fusion image, which is implemented as follows: 5b1) The graph structure data contained in the hyperspectral GS fusion image is used as the original feature input, and the network is trained in a minibatch manner. The data is feature extracted and output during the training process, which is expressed as: in, I is the identity matrix, A is the adjacency matrix W l is the weight of the lth layer of the graph convolutional network, express The diagonal matrix of H, σ represents the nonlinear activation function Relu, l represents the l-th layer feature output of the graph convolutional network during feature extraction. When l = 0, H l is the original feature input, H l+1 Represents the feature output of the l+1th layer of the graph convolutional network, which is the spectral feature of the final output; 5b2) performing a convolution operation on the feature region of the invariant attribute feature fusion map of the input two-dimensional convolutional network 2DCNN and a learnable convolution kernel, and the output of the convolution result obtained by the activation function forms the neurons of the convolution layer, that is, the feature map of the convolution layer; 5b3) Divide the feature map generated after the convolution operation into non-overlapping regions, perform feature compression on each region through pooling operation, and extract more significant spatial features; 5b4) Repeat 5b2) and 5b3) four times in total, and output multiple sets of features, which are then fully connected and combined into one set of features, which is the spatial features finally output by the two-dimensional convolutional network 2DCNN.
9. The method according to claim 1, characterized in that: In step (6), the multiplicative fusion strategy is used to fuse the spatial and spectral features from the two branches of 2DCNN and miniGCN to obtain the feature fusion result H to be classified. M : H M =H 2DCNNs ⊙H miniGCNs Among them, H 2DCNNs represents the spatial features extracted from the two-dimensional convolutional network 2DCNN, H miniGCNs represents the spectral features extracted from the mini-graph convolutional network miniGCN, and ⊙ represents the multiplicative fusion operator.
10. The method according to claim 1, characterized in that In step (7), the feature fusion result H to be classified M Input into the classification network to obtain the final target classification result, which is to first pass the fully connected layer FCN to fusion the feature result H M Perform weighted summation to obtain H M The fraction corresponding to each substance category included (w k ·H M +b k ), the score is then mapped into probability through the softmax function: y k =softmax(w k ·H M +b k ), y k This is the classification result of the kth substance category, where w k represents the weight of the k-th material feature, k∈[1,15], b k Represents the bias term.
