A land use classification method based on high-frequency features

By combining the improved segmentation network model with the spatial domain and frequency domain feature coding blocks, the problem of insufficient land use classification accuracy in the existing technology is solved, the efficient fusion of spatial and frequency domain features is achieved, and the classification accuracy is improved.

CN119992321BActive Publication Date: 2025-09-23SURVEYING & MAPPING INST LANDS & RESOURCE DEPT OF GUANGDONG PROVINCE +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510051357.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-09-23
Estimated Expiration
2045-01-13

AI Technical Summary

Technical Problem

Existing land use classification methods have difficulty in distinguishing foreground features from complex background noise, resulting in insufficient classification accuracy. Existing methods also ignore the role of frequency domain information, resulting in loss of spatial information.

Method used

An improved segmentation network model is adopted, combining spatial domain and frequency domain feature coding blocks. The spatial domain feature coding block is used to extract features from the spatial domain, and the frequency domain feature coding block is used to extract deep features from the frequency domain. Feature fusion is achieved through the feature addition module to improve classification accuracy.

Benefits of technology

It effectively avoids the loss of spatial information and improves the accuracy of land use classification, especially showing excellent performance in complex landform types and large-scale data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119992321B_ABST
    Figure CN119992321B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of remote sensing science and technology, and provides a land use classification method based on high-frequency feature guidance, including: acquiring remote sensing image data of the study area; inputting the remote sensing image data into an improved segmentation network model for processing to obtain a land use classification segmentation probability map; obtaining the land use classification result of the study area based on the land use classification segmentation probability map; the feature extraction part of the improved segmentation network model includes a spatial domain feature coding block, a frequency domain feature coding block based on high-frequency feature guidance, and a feature addition module, the spatial domain feature coding block is used to extract spatial features of input data from the spatial domain, the frequency domain feature coding block is used to extract deep features of input data from the frequency domain, and the feature addition module is used to perform addition processing on spatial features and deep features and output feature extraction results. The present application can improve the accuracy of land use classification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of remote sensing science and technology, and in particular relates to a land use classification method based on high-frequency feature guidance. Background Art

[0002] Land is the material foundation for human survival and development, and it is also a vital carrier of natural resources and socioeconomic activities. Land use is the process by which humans meet their needs through specific activities based on the characteristics of the land. Scientifically classifying land use types and clarifying the meaning of each type is not only of profound significance for ecological and environmental protection but also plays a key role in economic development and social progress. As the core manifestation of the transition from natural to artificial ecosystems, land use reflects both changes in the natural conditions of the Earth's surface and the profound impact of human activities on the surface cover. This characteristic makes land use a hot topic in current Earth observation research. Therefore, accurate land use classification has important guiding significance for disaster management, urban planning, environmental protection, and agricultural production.

[0003] With the continuous advancement of Earth observation technology, the temporal and spatial resolutions of remote sensing images have significantly increased. Their rich spectral information and spatial features provide strong data support for accurate land use classification. Building on this technological advancement, land use classification methods have also rapidly developed, primarily including manual visual interpretation, pixel-based methods, object-oriented methods, and deep learning-based methods. Initially, land use classification relied primarily on manual visual interpretation, which relied on the interpreter's expertise and achieved high classification accuracy. However, visual interpretation suffers from poor timeliness and low reusability, making it inadequate for current large-scale, rapid classification needs. Consequently, with the advancement of computer technology, other automated classification methods have emerged and gradually replaced traditional manual interpretation. Pixel-based methods primarily include maximum likelihood classification, support vector machines, and K-means clustering. These methods analyze the features of each pixel in the image to generate classification results. While these methods achieve good classification accuracy, they fail to fully consider the spatial relationships between pixels and struggle to distinguish complex land feature types. Object-oriented classification methods (such as multi-scale segmentation and rule-based classification) segment images into objects, merging adjacent pixels into objects with similar characteristics. Classification is then performed based on properties such as texture and shape. Compared to pixel-based methods, object-oriented methods can better consider spatial relationships and contextual information, thereby improving classification accuracy. However, these methods also have certain limitations. For example, the choice of segmentation scale is subject to subjective factors, and the influence of complex surface morphology on segmentation results can also lead to low segmentation accuracy. This is particularly true in areas with blurred object boundaries, resulting in poor target extraction accuracy.

[0004] With the rapid development of artificial intelligence (AI), deep learning-based methods, primarily including convolutional neural networks, recurrent neural networks, and generative adversarial networks, have become the mainstream approach for accurate land use classification. These methods, utilizing feature extraction modules such as convolutional layers, long short-term memory (LSTM), generators, and discriminators, extract high-level features from the spatial domain of remote sensing imagery. They demonstrate exceptional performance, particularly when processing large-scale data sets and complex landform types. These methods not only fully utilize the spectral, spatial, and textural information of imagery but also capture complex spatial and temporal variations through multi-level learning, significantly improving classification accuracy and adaptability. However, existing methods primarily rely on spatial domain feature extraction, neglecting the role of frequency domain information. This makes it difficult to distinguish foreground features from complex background noise. Some methods employ wavelet transforms to extract frequency domain features in place of spatial domain features, improving model performance and generalization to a certain extent. However, relying solely on frequency domain features can lead to a loss of spatial information, resulting in insufficient land use classification accuracy. Summary of the Invention

[0005] The embodiment of the present application provides a land use classification method based on high-frequency feature guidance, which can solve the problem of insufficient land use classification accuracy.

[0006] The present invention provides a land use classification method based on high-frequency features, including:

[0007] Obtain remote sensing image data of the study area;

[0008] The remote sensing image data is input into the improved segmentation network model for processing to obtain the land use classification segmentation probability map;

[0009] The land use classification results of the study area are obtained based on the land use classification segmentation probability map;

[0010] The feature extraction part of the improved segmentation network model includes a spatial domain feature coding block, a frequency domain feature coding block guided by high-frequency features, and a feature addition module. The spatial domain feature coding block is used to extract spatial features of input data from the spatial domain, and the frequency domain feature coding block is used to extract deep features of input data from the frequency domain. The feature addition module is used to add spatial features and deep features and output feature extraction results. The spatial domain feature coding block and the frequency domain feature coding block are both input ends of the feature extraction part, and the feature addition module is the output end of the feature extraction part.

[0011] Optionally, the spatial domain feature encoding block includes a first convolution block and a second convolution block connected in sequence, and the first convolution block and the second convolution block both include a convolution layer, a batch normalization layer and a Relu activation function layer connected in sequence, the input end of the convolution layer of the first convolution block is the input end of the spatial domain feature encoding block, the output end of the Relu activation function layer of the first convolution block is connected to the input end of the convolution layer of the second convolution block, and the Relu activation function layer of the second convolution block is the output end of the spatial domain feature encoding block.

[0012] Optionally, the frequency domain feature encoding block includes: a first linear layer, a discrete wavelet transform layer, a low-frequency feature enhancement module based on high-frequency features, an inverse wavelet transform layer, a first multiplication module, a layer normalization layer and a Dropout layer, a second linear layer and a Sigmoid activation function layer connected in sequence;

[0013] Among them, the input end of the first linear layer and the input end of the second linear layer are both the input end of the frequency domain feature coding block, the output end of the Sigmoid activation function layer is connected to the input end of the first multiplication module, and the output end of the Dropout layer is the output end of the frequency domain feature coding block.

[0014] Optionally, a discrete wavelet transform layer is used to decompose the spatial feature map output by the first linear layer into low-frequency features, vertical high-frequency features, horizontal high-frequency features, and diagonal high-frequency features.

[0015] Optionally, the low-frequency feature enhancement module based on the high-frequency feature includes a splicing module, a first high-frequency processing module, a second high-frequency processing module, a low-frequency processing module, a second multiplication module, an addition module, and a three-division module;

[0016] The splicing module is used to splice vertical high-frequency features, horizontal high-frequency features, and diagonal high-frequency features to obtain high-frequency features;

[0017] The first high-frequency processing module is used to process high-frequency features and output a high-frequency feature probability map;

[0018] The second high-frequency processing module is used to perform convolution processing on the high-frequency features and output the high-frequency features after convolution processing;

[0019] The low-frequency processing module is used to process low-frequency features and output a low-frequency feature probability map;

[0020] The second multiplication module is used to multiply the low-frequency features, the high-frequency feature probability map, and the low-frequency feature probability map to output the low-frequency enhanced features;

[0021] The addition module is used to perform addition processing on the low-frequency features and the low-frequency enhancement features to obtain the low-frequency enhancement features after addition processing;

[0022] The three-equal division module is used to divide the high-frequency features after convolution processing into three equal parts according to the channel dimension, and output the equally divided vertical high-frequency features, horizontal high-frequency features, and diagonal high-frequency features;

[0023] The output end of the three-division module and the output end of the addition module are both connected to the input end of the inverse wavelet transform layer.

[0024] Optionally, the first high-frequency processing module includes a third convolution block and a Sigmoid activation function layer connected in sequence, the input end of the third convolution block is the input end of the first high-frequency processing module, and the output end of the Sigmoid activation function layer is the output end of the first high-frequency processing module.

[0025] Optionally, the second high-frequency processing module is a fourth convolution block.

[0026] Optionally, the low-frequency processing module includes a fifth convolution block and a Sigmoid activation function layer connected in sequence, the input end of the fifth convolution block is the input end of the low-frequency processing module, and the output end of the Sigmoid activation function layer is the output end of the low-frequency processing module.

[0027] Optionally, the third convolution block, the fourth convolution block, and the fifth convolution block each include a first convolution layer, a ReLU activation function layer, and a second convolution layer connected in sequence;

[0028] The input end of the first convolution layer of the third convolution block is the input end of the third convolution block, and the output end of the second convolution layer of the third convolution block is the output end of the third convolution block;

[0029] The input end of the first convolution layer of the fourth convolution block is the input end of the fourth convolution block, and the output end of the second convolution layer of the fourth convolution block is the output end of the fourth convolution block;

[0030] The input end of the first convolution layer of the fifth convolution block is the input end of the fifth convolution block, and the output end of the second convolution layer of the fifth convolution block is the output end of the fifth convolution block.

[0031] Optionally, obtain the land use classification results of the study area based on the land use classification segmentation probability map, including:

[0032] The Argmax function is used to calculate the land use classification segmentation probability map to obtain the land use classification results of the study area.

[0033] The above solution of the present application has the following beneficial effects:

[0034] In an embodiment of the present application, the remote sensing image data of the study area is processed using an improved segmentation network model, and the land use classification results of the study area are calculated based on the processed land use classification segmentation probability map. In particular, because the improved segmentation network model can introduce frequency domain information while retaining spatial domain features, and by extracting deep features in the frequency domain, it can achieve an efficient fusion of spatial and frequency domain features, thereby effectively avoiding the loss of spatial information and improving the accuracy of land use classification.

[0035] Other beneficial effects of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0037] Figure 1 A flow chart of a land use classification method based on high-frequency feature guidance provided in one embodiment of the present application;

[0038] Figure 2 A schematic diagram of the structure of an improved segmentation network model provided in one embodiment of the present application;

[0039] Figure 3 A schematic diagram of the structure of the feature extraction part provided in one embodiment of the present application;

[0040] Figure 4 A schematic diagram of the structure of a frequency domain feature coding block provided in one embodiment of the present application;

[0041] Figure 5 A schematic diagram of the structure of a low-frequency feature enhancement module based on high-frequency features provided in an embodiment of the present application Figure 1 ;

[0042] Figure 6 A schematic diagram of the structure of a low-frequency feature enhancement module based on high-frequency features provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0043] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.

[0044] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections thereof.

[0045] It will also be understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0046] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0047] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0048] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0049] To address the problem of insufficient land use classification accuracy, an embodiment of the present application provides a land use classification method based on high-frequency feature guidance. This method processes the remote sensing image data of the study area using an improved segmentation network model, and then calculates the land use classification results of the study area based on the processed land use classification segmentation probability map. The improved segmentation network model can introduce frequency domain information while retaining spatial domain features, and by extracting deep features in the frequency domain, it can achieve efficient fusion of spatial and frequency domain features, thereby effectively avoiding the loss of spatial information and improving land use classification accuracy.

[0050] The land use classification method based on high-frequency feature guidance provided by this application is exemplified below with reference to specific embodiments.

[0051] like Figure 1 As shown, the land use classification method based on high-frequency feature guidance provided in the embodiment of the present application includes the following steps:

[0052] Step 11: Obtain remote sensing image data of the study area.

[0053] The above study area is an area that requires land use classification, and the above remote sensing image data can be obtained through satellite collection.

[0054] Step 12: Input the remote sensing image data into the improved segmentation network model for processing to obtain a land use classification segmentation probability map.

[0055] It is understandable that, in order to facilitate data processing, the remote sensing image data can be normalized first, and then the normalized remote sensing image data can be input into the improved segmentation network model for processing to obtain a land use classification segmentation probability map.

[0056] The improved segmentation network model is based on the traditional segmentation network, but with improvements to the feature extraction process. It retains spatial features while also incorporating frequency domain information. By extracting deep features from the frequency domain, it achieves an efficient fusion of spatial and frequency domain features.

[0057] Step 13: Obtain the land use classification result of the study area based on the land use classification segmentation probability map.

[0058] In some embodiments of the present application, the Argmax function can be used to calculate the land use classification segmentation probability map to obtain a land use classification result for the study area. The land use classification result can be that certain areas of the study area (e.g., areas with a pixel value of 1) are gardens, certain areas (e.g., areas with a pixel value of 2) are urban residential areas, and certain areas (e.g., areas with a pixel value of 3) are irrigated land.

[0059] It is worth mentioning that the improved segmentation network model can introduce frequency domain information while retaining spatial domain features, and realize the efficient fusion of spatial and frequency domain features by extracting deep features in the frequency domain, thereby effectively avoiding the loss of spatial information and improving the accuracy of land use classification.

[0060] The improved segmentation network model is exemplarily described below with reference to specific embodiments.

[0061] like Figure 2 As shown in Figure 2, the improved segmentation network model is the same as the traditional segmentation network, including 4 feature extraction parts, 4 downsampling layers, intermediate feature sampling layers, 4 upsampling layers and feature classification layers. The difference is that, as shown in Figure 2, Figure 3 As shown, the feature extraction part of the present application includes a spatial domain feature coding block, a frequency domain feature coding block guided by high-frequency features, and a feature addition module. The spatial domain feature coding block is used to extract the spatial features of the input data from the spatial domain, and the frequency domain feature coding block is used to extract the deep features of the input data from the frequency domain. The feature addition module is used to add the spatial features and the deep features and output the feature extraction results. The spatial domain feature coding block and the frequency domain feature coding block are both input ends of the feature extraction part, and the feature addition module is the output end of the feature extraction part.

[0062] Among them, the spatial domain feature encoding block includes a first convolution block and a second convolution block connected in sequence. The first convolution block and the second convolution block both include a convolution layer, a batch normalization layer and a Relu activation function layer connected in sequence. The input end of the convolution layer of the first convolution block is the input end of the spatial domain feature encoding block, the output end of the Relu activation function layer of the first convolution block is connected to the input end of the convolution layer of the second convolution block, and the Relu activation function layer of the second convolution block is the output end of the spatial domain feature encoding block.

[0063] Specifically, remote sensing image data Input into the first convolution block to obtain the spatial feature map The spatial feature map Input into the second convolution block to obtain the spatial feature map in The dimensions are 1×3×w×h; and The size of is 1×64×w×h. The size of w and h is 512. The convolution kernel size in the above convolution layer is 3, the stride is 1, and the padding is 1.

[0064] like Figure 4 As shown, the frequency domain feature coding block includes: a first linear layer, a discrete wavelet transform layer, a low-frequency feature enhancement module based on high-frequency features, an inverse wavelet transform layer, a first multiplication module (i.e. Figure 4 The circle with × in the middle), the layer normalization layer and the Dropout layer, the second linear layer and the Sigmoid activation function layer connected in sequence (i.e. Figure 4 The inputs of the first and second linear layers are both connected to the frequency domain feature coding block. The output of the Sigmoid activation function layer is connected to the input of the first multiplication module. The output of the Dropout layer is connected to the output of the frequency domain feature coding block. The discrete wavelet transform layer is used to decompose the spatial feature map output by the first linear layer into low-frequency features, vertical high-frequency features, horizontal high-frequency features, and diagonal high-frequency features.

[0065] Specifically, remote sensing image data Input to the first linear layer to obtain the spatial feature map Remote sensing image data Input to the second linear layer to obtain the feature map The feature map Input to the Sigmoid activation function to obtain the feature probability map in and The dimensions are 1×64×w×h.

[0066] The discrete wavelet transform layer uses Haar basis to decompose the spatial features into low-frequency and high-frequency parts. Its size is 1×64×w×h, and it is decomposed in two directions: horizontal and vertical. First, the spatial feature map is decomposed by row Decompose.

[0067] For any location Low frequency part:

[0068]

[0069] High frequency part:

[0070]

[0071] Among them F L (a,b) and F H The dimensions of (a,b) are Then decompose each row again, the low-frequency part:

[0072]

[0073] Vertical high frequency part:

[0074]

[0075] Horizontal high frequency part:

[0076]

[0077] Diagonal high frequency part:

[0078]

[0079] After decomposition is completed, the low-frequency feature F is obtained LL (a, b) and high-frequency features F HL (a,b),F LH (a,b) and F HH (a,b), both of which are

[0080] like Figure 5 As shown, the above-mentioned low-frequency feature enhancement module based on high-frequency features includes a splicing module (i.e. Figure 5 The circle with C in the middle), the first high-frequency processing module, the second high-frequency processing module, the low-frequency processing module, the second multiplication module (ie Figure 5 The circle with × in the middle), the addition module (i.e. Figure 5 Circle with + in the middle), divide the module into three equal parts.

[0081] The splicing module is used to splice the vertical high-frequency features, the horizontal high-frequency features and the diagonal high-frequency features to obtain the high-frequency features; the first high-frequency processing module is used to process the high-frequency features and output the high-frequency feature probability map; the second high-frequency processing module is used to perform convolution processing on the high-frequency features and output the high-frequency features after convolution processing; the low-frequency processing module is used to process the low-frequency features and output the low-frequency feature probability map; the second multiplication module is used to multiply the low-frequency features, the high-frequency feature probability map and the low-frequency feature probability map to output the low-frequency enhanced features; the addition module is used to add the low-frequency features and the low-frequency enhanced features to obtain the low-frequency enhanced features after addition processing; the three-division module is used to divide the high-frequency features after convolution processing into three equal parts according to the channel dimension, and output the equally divided vertical high-frequency features, horizontal high-frequency features and diagonal high-frequency features; the output end of the three-division module and the output end of the addition module are both connected to the input end of the inverse wavelet transform layer.

[0082] Among them, such as Figure 5 and Figure 6 As shown, the first high frequency processing module includes a third convolution block and a Sigmoid activation function layer (i.e. Figure 6 The input end of the third convolution block is the input end of the first high frequency processing module, and the output end of the Sigmoid activation function layer is the output end of the first high frequency processing module. The second high frequency processing module is the fourth convolution block. The low frequency processing module includes the fifth convolution block and the Sigmoid activation function layer (i.e. Figure 6 The input end of the fifth convolution block is the input end of the low-frequency processing module, and the output end of the Sigmoid activation function layer is the output end of the low-frequency processing module.

[0083] The third, fourth, and fifth convolutional blocks mentioned above all include a first convolutional layer, a Relu activation function layer, and a second convolutional layer connected in sequence. The input end of the first convolutional layer of the third convolutional block is the input end of the third convolutional block, and the output end of the second convolutional layer of the third convolutional block is the output end of the third convolutional block; the input end of the first convolutional layer of the fourth convolutional block is the input end of the fourth convolutional block, and the output end of the second convolutional layer of the fourth convolutional block is the output end of the fourth convolutional block; the input end of the first convolutional layer of the fifth convolutional block is the input end of the fifth convolutional block, and the output end of the second convolutional layer of the fifth convolutional block is the output end of the fifth convolutional block. The convolution kernel size in the first convolutional layer is 1, the stride is 1, and the padding is 0. The convolution kernel size in the second convolutional layer is 3, the stride is 1, and the padding is 1.

[0084] Specifically, the high-frequency feature F HL (a,b),F LH (a,b) and F HH (a, b) High-frequency features are obtained by channel splicing Its size is The high-frequency features Input into the third convolution block to obtain high-frequency features The high-frequency features Input Sigmoid activation function to obtain high-frequency feature probability map The high-frequency features Input into the fourth convolution block to obtain high-frequency features in and The size is The size is

[0085] The low-frequency feature F LL (a, b) is input into the fifth convolution block to obtain low-frequency features. The low-frequency features Input Sigmoid activation function to get low-frequency feature probability map Then, the low-frequency features High-frequency feature probability map and low-frequency feature probability maps Element-by-element multiplication to obtain low-frequency enhancement features Next, the low-frequency feature F LL (a,b) and low-frequency enhancement features Add element by element to get low-frequency enhancement features The high-frequency features Divide into three equal parts according to the channel dimension and obtain the high-frequency features F' HL (a,b),F' LH (a,b) and F' HH (a,b). Then the low frequency enhancement features and high-frequency features F' HL (a,b),F' LH (a,b) and F' HH (a,b) is mapped back to the spatial domain through the inverse wavelet transform layer. F' HL (a,b),F' LH (a,b) and F' HH The dimensions of (a,b) are

[0086] The inverse wavelet transform first restores the low-frequency and high-frequency parts of each column, and then restores the low-frequency and high-frequency parts of each row. The column direction is restored to meet the following formula:

[0087]

[0088] Restore the row direction to satisfy the following formula:

[0089]

[0090] The spatial feature map is obtained by the above formula The spatial feature map and feature probability plot Multiply element by element to get the spatial feature map Through the spatial feature map After the layer normalization layer, the spatial feature map is obtained The spatial feature map After the Dropout layer, we get the spatial feature map The spatial feature map and spatial feature maps Add element by element to get the fused feature map extracted in spatial domain and frequency domain in, and The dimensions are 1×64×w×h.

[0091] The parameters used in the above explanation of the feature extraction part are the parameters of the first feature extraction part in the model (the first one from left to right).

[0092] Figure 2The first sampling layer (from left to right) includes a maximum pooling layer with a step size of 2. The fused feature map Input the maximum pooling layer to obtain the spatial feature map Its size becomes

[0093] Figure 2 The convolution kernel size in the convolution layer of the spatial domain feature encoding block in the second feature extraction part is 3, the stride is 1, and the padding is 1. Input into the first convolution block to obtain the spatial feature map The spatial feature map Input into the second convolution block to obtain the spatial feature map and The size is

[0094] against Figure 2 The second frequency domain feature encoding block of the second feature extraction part (the second from left to right) converts the spatial feature map Input to the first linear layer to obtain the spatial feature map The spatial feature map Input to the second linear layer to obtain the feature map The feature map Input to the Sigmoid activation function to obtain the feature probability map in and The dimensions are

[0095] It should be noted that the four feature extraction components in the model have the same structure but slightly different sizes. The two downsampling layers have the same structure but slightly different sizes. The four upsampling layers have the same structure but slightly different sizes. Therefore, we will not elaborate on the functions of the same structures in the model here, but only provide an illustrative description of the sizes.

[0096] Specifically, the second downsampling layer includes a maximum pooling layer with a step size of 2. The fusion feature map Input the maximum pooling layer to obtain the spatial feature map Its size becomes The size of the spatial domain feature encoding code output of the third feature extraction part is The size of the frequency domain feature encoding output of the third feature extraction part is The output of the third downsampling layer is The size of the spatial domain feature encoding code output of the fourth feature extraction part is The size of the frequency domain feature encoding output of the fourth feature extraction part is The output size of the fourth downsampling layer is The intermediate feature sampling layer consists of the first convolution block and the second convolution block. The first convolution block consists of a convolution layer, a batch normalization layer, and a Relu activation function layer in sequence; the second convolution block consists of a convolution layer, a batch normalization layer, and a Relu activation function layer in sequence. Input into the first convolution block to obtain the spatial feature map The spatial feature map Input into the second convolution block to obtain the spatial feature map and The size is The convolution kernel size in the above convolution layer is 3, the stride is 1, and the padding is 1.

[0097] The above is an introduction to the encoder of the model. The following is an introduction to the decoder of the model.

[0098] like Figure 2 As shown in the figure, the decoder consists of 4 upsampling layers and a feature classification layer. Specifically, the decoder is used to perform the following process:

[0099] Step 1: The first upsampling layer (from right to left) consists of a bilinear interpolation layer, a first convolutional block, and a second convolutional block. The first convolutional block consists of a convolutional layer, a batch normalization layer, and a Relu activation function layer; the second convolutional block consists of a convolutional layer, a batch normalization layer, and a Relu activation function layer. Input bilinear interpolation layer to get spatial feature map Its size is The spatial feature map and spatial feature maps (Output of the fourth feature extraction part) is obtained by splicing according to the channel dimension, and the splicing feature map Its size is 1× The spliced ​​feature map Input the first convolution block to get the feature map Its size is The feature map Input the second convolution block to get the feature map Its size is The convolution kernel size in the above convolution layer is 3, the stride is 1, and the padding is 1.

[0100] Step 2: The second upsampling layer is composed of a bilinear interpolation layer, a first convolution block, and a second convolution block. The first convolution block is composed of a convolution layer, a batch normalization layer, and a Relu activation function layer; the second convolution block is composed of a convolution layer, a batch normalization layer, and a Relu activation function layer. Input bilinear interpolation layer to get spatial feature map Its size is The spatial feature map and spatial feature maps (Output of the third feature extraction part) is obtained by splicing according to the channel dimension, and the splicing feature map Its size is The spliced ​​feature map Input the first convolution block to get the feature map Its size is The feature map Input the second convolution block to get the feature map Its size is The convolution kernel size in the above convolution layer is 3, the stride is 1, and the padding is 1.

[0101] Step 3: The third upsampling layer is composed of a bilinear interpolation layer, a first convolution block, and a second convolution block. The first convolution block is composed of a convolution layer, a batch normalization layer, and a Relu activation function layer; the second convolution block is composed of a convolution layer, a batch normalization layer, and a Relu activation function layer. Input bilinear interpolation layer to get spatial feature map Its size is 1×128× The spatial feature map and spatial feature maps (The output of the second feature extraction part) is obtained by splicing according to the channel dimension, and the spliced ​​feature map Its size is The spliced ​​feature map Input the first convolution block to get the feature map Its size is The feature map Input the second convolution block to get the feature map Its size is The convolution kernel size in the above convolution layer is 3, the stride is 1, and the padding is 1.

[0102] Step 4: The fourth upsampling layer is composed of a bilinear interpolation layer, a first convolution block, and a second convolution block. The first convolution block is composed of a convolution layer, a batch normalization layer, and a Relu activation function layer; the second convolution block is composed of a convolution layer, a batch normalization layer, and a Relu activation function layer. Input bilinear interpolation layer to get spatial feature map Its size is 1×64×w×h. and spatial feature maps (The output of the first feature extraction part) is obtained by splicing according to the channel dimension, and the spliced ​​feature map Its size is 1×128×w×h. Input the first convolution block to get the feature map Its size is 1×32×w×h. Input the second convolution block to get the feature map Its size is 1×32×w×h. In the above convolutional layer, the convolution kernel size is 3, the stride is 1, and the padding is 1.

[0103] Step 5: The feature classification layer is composed of a convolution layer and a Softmax activation function, with a convolution kernel and a step size of 1. Input convolution layer to get feature map The feature map Input the Softmax activation function to obtain the land use classification segmentation probability map F P , whose size is 1×NC×w×h, where NC is the number of categories of land use classification.

[0104] It should be noted that before using the improved segmentation network model to process remote sensing image data, the segmentation network model needs to be trained, and the training method can adopt the training method of the traditional segmentation network.

[0105] In the actual training process, the training data is processed as follows:

[0106] Land use category label preprocessing: Land use category label files contain two data formats: vector and raster. For the vector format label file S, S={S1,S2,S3,…,S i ,…,S N}, S i Represents the i-th vector format label file. Use the gdal.RasterizeLayer function in the GDAL third-party library in Python to convert S iAccording to the category attributes and vectors contained in the Class field, the high-resolution remote sensing image SI is corresponded, SI = {SI1, SI2, SI3, ..., SI i ,…,SI N}, converted to single-band raster data SL, SL={SL1,SL2,SL3,…,SL i ,…,SL N For raster format tag file T, T={T1,T2,T3,…,T i ,…,T M}, T i Represents the i-th raster format label file. Using the Numpy third-party library in Python, the color map and raster in the metadata correspond to the high-resolution remote sensing image TI, TI = {TI1, TI2, TI3, ..., TI i ,…,TI M}, converted to single-band raster data TL, TL={TL1, TL2, TL3,…, TL i ,…,TL M}.

[0107] The obtained single-band raster data {SL, TL} and the corresponding high-resolution remote sensing image {SI, TI} are divided into training set and validation set according to the ratio of 7:3. Taking into account the performance of the computer hardware system, the single-band raster data {SL, TL} in the training set are divided into training set and validation set. Train Cropping is performed with a 50% overlap rate and a size of 512 × 512 pixels to obtain X training images, where the xth image is The high-resolution remote sensing images {SI, TI} in the training set Train Cropping is performed with a 50% overlap rate and a size of 512 × 512 pixels to obtain X training labels. The xth image is The single-band raster data {SL,TL} in the validation set Val and the corresponding high-resolution remote sensing image {SI,TI} Val According to the non-overlap rate and 512×512 pixel size, we get Y verification images and verification labels respectively. The yth verification image is yth verification label The above training set and validation set are stored to obtain the land use classification dataset.

[0108] During the training process, the multi-classification cross entropy loss function Loss is used to calculate the land use classification segmentation probability map F P and the xth label L x TThe segmentation network model is trained using the AdamW optimizer, cosine annealing learning rate, and loss function Loss to obtain the optimized segmentation network model. The initial learning rate is set to 0.001, the batch size is set to 8, and the epoch is set to 128. The cosine annealing learning rate T_max is set to 16.

[0109] In order to verify the accuracy of the land use classification method of this application, the land use classification method of this application is used to process the remote sensing image land cover dataset GID. GID is a large-scale, high-resolution remote sensing image land cover dataset constructed based on Gaofen-2 satellite data. The GID dataset is divided into two parts: a large-scale classification set (GID-5) and a fine land cover set (GID-15). The fine land cover set (GID-15) contains 15 categories including rice fields, irrigated land, dry land, gardens, arbor forests, shrub forests, natural grasslands, artificial grasslands, industrial land, urban residences, rural residences, transportation land, rivers, lakes, ponds, etc., with a total of 30,000 image blocks.

[0110] RS3Mamba is used as the baseline model. This application is embedded in the spatial domain feature encoding block of its auxiliary encoder: the Mamba module, and the frequency domain features are introduced while retaining the spatial domain features, and the fusion of spatial and frequency domain features is realized. In the above-mentioned GID-15 dataset, this application achieved an average F1 Score of 84.51% and an average intersection over union (mIoU) of 74.57%. Compared with the baseline model, the F1 Score and IoU of the garden category increased by 3.22% and 3.65%, and the F1 Score and IoU of the pond category increased by 1.84% and 1.99% respectively. Quantitative data show that the method of this application can improve the accuracy of land use classification.

[0111] In summary, the land use classification method of this application has the following advantages:

[0112] (1) Frequency domain coding module: This module is flexible in design and can be seamlessly integrated with the existing spatial domain feature coding module. It can map spatial domain information to the frequency domain for feature extraction, and then map it back to the spatial domain after the extraction is completed, thereby achieving efficient fusion of frequency domain and spatial domain features; (2) Low-frequency feature enhancement module based on high-frequency features: This module converts high-frequency information into a probabilistic form based on the extraction of high-frequency and low-frequency features, thereby promoting the extraction and optimization of low-frequency features and enhancing the ability of low-frequency features to distinguish different types of land objects. This application provides a new theoretical basis and technical means for the accurate classification of land use in complex scenes and large areas, which helps to solve the current problem of insufficient classification accuracy.

[0113] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A land use classification method based on high-frequency feature guidance, characterized in that: include: Obtain remote sensing image data of the study area; Inputting the remote sensing image data into the improved segmentation network model for processing to obtain a land use classification segmentation probability map; Obtaining a land use classification result of the study area based on the land use classification segmentation probability map; The feature extraction part of the improved segmentation network model includes a spatial domain feature coding block, a frequency domain feature coding block based on high-frequency feature guidance, and a feature addition module. The spatial domain feature coding block is used to extract spatial features of input data from the spatial domain, the frequency domain feature coding block is used to extract deep features of input data from the frequency domain, and the feature addition module is used to add the spatial features and the deep features and output the feature extraction result. The spatial domain feature coding block and the frequency domain feature coding block are both input ends of the feature extraction part, and the feature addition module is the output end of the feature extraction part. The frequency domain feature coding block includes: a first linear layer, a discrete wavelet transform layer, a low-frequency feature enhancement module based on high-frequency features, an inverse wavelet transform layer, a first multiplication module, a layer normalization layer and a Dropout layer, a second linear layer and a Sigmoid activation function layer connected in sequence; The input end of the first linear layer and the input end of the second linear layer are both the input end of the frequency domain feature coding block, the output end of the Sigmoid activation function layer is connected to the input end of the first multiplication module, and the output end of the Dropout layer is the output end of the frequency domain feature coding block; The discrete wavelet transform layer is used to decompose the spatial feature map output by the first linear layer into low-frequency features, vertical high-frequency features, horizontal high-frequency features and diagonal high-frequency features; The low-frequency feature enhancement module based on high-frequency features includes a splicing module, a first high-frequency processing module, a second high-frequency processing module, a low-frequency processing module, a second multiplication module, an addition module, and a three-division module; The splicing module is used to splice the vertical high-frequency features, the horizontal high-frequency features and the diagonal high-frequency features to obtain high-frequency features; The first high-frequency processing module is used to process the high-frequency features and output a high-frequency feature probability map; The second high-frequency processing module is used to perform convolution processing on the high-frequency features and output the high-frequency features after convolution processing; The low-frequency processing module is used to process the low-frequency features and output a low-frequency feature probability map; The second multiplication module is used to multiply the low-frequency feature, the high-frequency feature probability map, and the low-frequency feature probability map to output a low-frequency enhanced feature; The adding module is used to perform addition processing on the low-frequency feature and the low-frequency enhancement feature to obtain the low-frequency enhancement feature after addition processing; The three-equal division module is used to divide the high-frequency features after convolution processing into three equal parts according to the channel dimension, and output the equally divided vertical high-frequency features, horizontal high-frequency features and diagonal high-frequency features; The output end of the three-division module and the output end of the addition module are both connected to the input end of the inverse wavelet transform layer.

2. The land use classification method according to claim 1, characterized in that: The spatial domain feature encoding block includes a first convolution block and a second convolution block connected in sequence, and the first convolution block and the second convolution block both include a convolution layer, a batch normalization layer and a Relu activation function layer connected in sequence. The input end of the convolution layer of the first convolution block is the input end of the spatial domain feature encoding block, and the output end of the Relu activation function layer of the first convolution block is connected to the input end of the convolution layer of the second convolution block. The Relu activation function layer of the second convolution block is the output end of the spatial domain feature encoding block.

3. The land use classification method according to claim 1, wherein: The first high-frequency processing module includes a third convolution block and a Sigmoid activation function layer connected in sequence, the input end of the third convolution block is the input end of the first high-frequency processing module, and the output end of the Sigmoid activation function layer is the output end of the first high-frequency processing module.

4. The land use classification method according to claim 3, characterized in that: The second high frequency processing module is a fourth convolution block.

5. The land use classification method according to claim 4, characterized in that: The low-frequency processing module includes a fifth convolution block and a Sigmoid activation function layer connected in sequence, the input end of the fifth convolution block is the input end of the low-frequency processing module, and the output end of the Sigmoid activation function layer is the output end of the low-frequency processing module.

6. The land use classification method according to claim 5, characterized in that: The third convolution block, the fourth convolution block and the fifth convolution block each include a first convolution layer, a ReLU activation function layer and a second convolution layer connected in sequence; The input end of the first convolution layer of the third convolution block is the input end of the third convolution block, and the output end of the second convolution layer of the third convolution block is the output end of the third convolution block; The input end of the first convolution layer of the fourth convolution block is the input end of the fourth convolution block, and the output end of the second convolution layer of the fourth convolution block is the output end of the fourth convolution block; The input end of the first convolution layer of the fifth convolution block is the input end of the fifth convolution block, and the output end of the second convolution layer of the fifth convolution block is the output end of the fifth convolution block.

7. The land use classification method according to claim 1, wherein: The obtaining of the land use classification result of the study area based on the land use classification segmentation probability map includes: The land use classification segmentation probability map is calculated using the Argmax function to obtain the land use classification result of the study area.

Citation Information

Patent Citations

  • Remote sensing image prediction method and system based on multi-scale encoder and decoder structure

    CN117877033A

  • Closed set domain adaptive remote sensing image classification retrieval method fusing space domain and frequency domain

    CN119128195A