A method, system, electronic device and medium for classifying ground cover

By iteratively optimizing the sample data set and correcting labeling errors, the problem of inaccurate boundaries caused by sample data errors in surface remote sensing image classification is solved, and the accuracy of the classification model is improved, especially the recognition effect of narrow road categories.

CN116758356BActive Publication Date: 2024-10-01CHENGDU UNIVERSITY OF TECHNOLOGY +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310839081.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-10
Publication Date
2024-10-01
Estimated Expiration
2043-07-10

AI Technical Summary

Technical Problem

In the existing technology, the classification model of surface remote sensing images has errors in the sample data, resulting in inaccurate classification, especially inaccurate boundaries in narrow road categories, and the deep learning model is not robust enough to a small amount of label noise, making it difficult to ignore labels. The impact of noise.

Method used

By iteratively optimizing the initial sample data set, the Swin Transformer network is used to classify surface remote sensing image data, detect and correct annotation errors, update classification labels, form an optimized sample data set, and train the model to improve classification accuracy.

Benefits of technology

It effectively reduces label noise and improves the accuracy of surface cover classification, especially in the recognition results of narrow road categories, which ensures the accuracy of the classification model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116758356B_ABST
    Figure CN116758356B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, electronic device and medium for land cover classification, and relates to the field of land cover classification. The method comprises: using a land cover classification model to classify acquired land remote sensing image data to be classified, and determining the land object category of the land remote sensing image data to be classified; and the land cover classification model is obtained by training a first SwinTransformer network using an optimized sample data set, and the optimized sample data set is obtained by iteratively optimizing an initial sample data set using a deep learning semantic segmentation method. The present invention trains the model using the optimized sample data set, and improves the accuracy of land cover classification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of land cover classification, and in particular to a land cover classification method, system, electronic equipment and medium. Background Art

[0002] Deep learning is different from traditional machine learning. Deep learning is based on data-driven models and requires a large amount of data to train the network. In the Mianzhu City dataset, the boundaries of many features are not accurate enough because the manual interpretation results are not detailed enough, such as Figure 6 As shown, black represents road labels. This phenomenon of inaccurate boundaries is most obvious in narrow road categories. Data defects are a very common phenomenon, and the large public dataset ImageNet has also been exposed to have certain errors. Due to the strong robustness of deep learning models, deep learning models can learn the characteristic information of categories from a large amount of data and ignore the impact of label noise on classification. Of course, this is only the case when there is a small amount of label noise, and its impact can be ignored, so how to effectively reduce label noise is still a problem that needs to be solved.

[0003] In summary, if there are certain errors in the sample data, the network model trained using the sample data cannot accurately classify the surface remote sensing images to be classified. Summary of the invention

[0004] The purpose of the present invention is to provide a land cover classification method, system, electronic equipment and medium to improve the accuracy of land cover classification.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] A land cover classification method, comprising:

[0007] Obtaining surface remote sensing image data to be classified;

[0008] Using a land cover classification model, the surface remote sensing image data to be classified is classified to determine the land object category of the surface remote sensing image data to be classified; the land cover classification model is obtained by training the first Swin Transformer network using the optimized sample data set; the land object category includes buildings, roads and / or rivers;

[0009] The process of determining the optimized sample data set specifically includes:

[0010] Acquire an initial sample data set; the initial sample data set includes training surface remote sensing image data annotated with initial classification labels; the classification labels include buildings, roads and rivers;

[0011] Using the training surface remote sensing image data marked with the initial classification labels, the second Swin Transformer network is trained to obtain a trained second Swin Transformer network;

[0012] Inputting the training surface remote sensing image data without a classification label into the trained second SwinTransformer network to obtain a first predicted category of the training surface remote sensing image data;

[0013] Determine, according to the first prediction category and the initial classification label, a detection result of the training surface remote sensing image data marked with the initial classification label; the detection result is an unmarked area, a suspected incorrectly marked area, or a correctly marked area;

[0014] According to the sample detection result, updating the classification label of the training surface remote sensing image data marked with the initial classification label;

[0015] Determine whether the maximum number of iterations has been reached;

[0016] If yes, the training surface remote sensing image data with updated classification labels is used as the optimized sample data set;

[0017] If not, return to the step of "training the second Swin Transformer network using the training surface remote sensing image data marked with the initial classification labels to obtain the trained second Swin Transformer network".

[0018] Optionally, the first Swin Transformer network is trained using the optimized sample data set, specifically including:

[0019] Input the training surface remote sensing image data with updated classification labels into the current first SwinTransformer network to obtain the second predicted category of the training surface remote sensing image data;

[0020] Determine a cross entropy loss value of the second predicted category and the updated initial classification label using a cross entropy loss function;

[0021] Determine whether the cross entropy loss value is less than a preset value;

[0022] If not, the parameters of the current first Swin Transformer network are updated according to the cross entropy loss value, and the step of "inputting the training surface remote sensing image data after the updated classification label into the current first Swin Transformer network to obtain the second predicted category of the training surface remote sensing image data" is returned;

[0023] If yes, the current first Swin Transformer network is used as the land cover classification model.

[0024] Optionally, the method for determining the maximum number of iterations specifically includes:

[0025] Using the formula n = log (1-P0) (1-A), determine the maximum number of iterations; where P 0 is the initial recognition accuracy of the second SwinTransformer network; A is the sample accuracy.

[0026] Optionally, it also includes:

[0027] The trained second Swin Transformer network is used to detect the quality of the training surface remote sensing data with marked classification labels to obtain the detection results.

[0028] Optionally, obtaining an initial sample data set includes:

[0029] Acquire surface remote sensing data for training;

[0030] Performing rasterization processing on the training surface remote sensing data to obtain processed training surface remote sensing data;

[0031] Initial classification labels are marked on the processed training surface remote sensing data to obtain training surface remote sensing image data marked with the initial classification labels.

[0032] A land cover classification system comprising:

[0033] A data acquisition module is used to acquire surface remote sensing image data to be classified;

[0034] A classification module, used to classify the surface remote sensing image data to be classified using a surface cover classification model, and determine the ground object category of the surface remote sensing image data to be classified; the surface cover classification model is obtained by training the first Swin Transformer network using the optimized sample data set; the ground object category includes buildings, roads and / or rivers;

[0035] The process of determining the optimized sample data set specifically includes:

[0036] Acquire an initial sample data set; the initial sample data set includes training surface remote sensing image data annotated with initial classification labels; the classification labels include buildings, roads and rivers;

[0037] Using the training surface remote sensing image data marked with the initial classification labels, the second Swin Transformer network is trained to obtain a trained second Swin Transformer network;

[0038] Inputting the training surface remote sensing image data without a classification label into the trained second SwinTransformer network to obtain a first predicted category of the training surface remote sensing image data;

[0039] Determine, according to the first prediction category and the initial classification label, a detection result of the training surface remote sensing image data marked with the initial classification label; the detection result is an unmarked area, a suspected incorrectly marked area, or a correctly marked area;

[0040] According to the sample detection result, updating the classification label of the training surface remote sensing image data marked with the initial classification label;

[0041] Determine whether the maximum number of iterations has been reached;

[0042] If yes, the training surface remote sensing image data with updated classification labels is used as the optimized sample data set;

[0043] If not, return to the step of "training the second Swin Transformer network using the training surface remote sensing image data marked with the initial classification labels to obtain the trained second Swin Transformer network".

[0044] An electronic device comprises: a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the above-mentioned land cover classification method.

[0045] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned land cover classification method is implemented.

[0046] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0047] The surface cover classification method, system, electronic device and medium of the present invention use a surface cover classification model to classify the acquired surface remote sensing image data to be classified, and determine the ground object category of the surface remote sensing image data to be classified; and the surface cover classification model is obtained by training the first Swin Transformer network using an optimized sample data set, and the optimized sample data set is obtained by iteratively optimizing the initial sample data set using a deep learning semantic segmentation method, thereby reducing label noise. The present invention uses the optimized sample data set to train the model, thereby improving the accuracy of surface cover classification. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0049] Figure 1 A flow chart of the land cover classification method provided by the present invention;

[0050] Figure 2 Iterative sample optimization flow chart provided by the present invention;

[0051] Figure 3 A sample quality detection flow chart provided by the present invention;

[0052] Figure 4 This is the sample quality test result diagram;

[0053] Figure 5 This is a comparison chart of recognition results before and after sample optimization;

[0054] Figure 6 This is a schematic diagram showing misclassification of sample label data. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] The purpose of the present invention is to provide a land cover classification method, system, electronic equipment and medium to improve the accuracy of land cover classification.

[0057] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0058] Embodiment 1

[0059] like Figure 1 As shown, the surface cover classification method provided by the present invention includes:

[0060] Step 101: Obtain surface remote sensing image data to be classified.

[0061] Step 102: Classify the surface remote sensing image data to be classified using a surface cover classification model to determine the ground object category of the surface remote sensing image data to be classified; the surface cover classification model is obtained by training the first Swin Transformer network using the optimized sample data set; the ground object category includes buildings, roads and / or rivers.

[0062] Based on the robustness of deep learning to small amounts of label noise, the present invention uses the deep learning semantic segmentation method to perform iterative sample optimization and sample quality detection. The iterative sample optimization strategy process is as follows: Figure 2 As shown in Figure 2, the sample quality inspection process is as follows: Figure 3 shown.

[0063] The process of determining the optimized sample data set specifically includes:

[0064] S1: Acquire an initial sample data set; the initial sample data set includes training surface remote sensing image data marked with initial classification labels; the classification labels include buildings, roads and rivers.

[0065] In practical applications, obtaining the initial sample data set includes:

[0066] Obtain surface remote sensing data for training.

[0067] The training surface remote sensing data is rasterized to obtain processed training surface remote sensing data.

[0068] Initial classification labels are marked on the processed training surface remote sensing data to obtain training surface remote sensing image data marked with the initial classification labels.

[0069] The vector data (surface remote sensing image data for training) marked with category labels (such as buildings, roads, rivers, etc.) are rasterized and cropped to a size of 512×512 as the initial classification labels.

[0070] S2: Using the training surface remote sensing image data with the initial classification labels to train the second Swin Transformer network, a trained second Swin Transformer network is obtained. In practical applications, the original sample (initial sample data set) is input into the deep learning semantic segmentation network (second Swin Transformer network) to obtain a trained network model and accuracy value.

[0071] S3: Input the training surface remote sensing image data without classification labels into the trained second Swin Transformer network to obtain the first predicted category of the training surface remote sensing image data. In practical applications, the image data (the training surface remote sensing image data without classification labels) is input into the trained network model (the trained second Swin Transformer network) to obtain a new classification label (the first predicted category).

[0072] S4: Determine, according to the first prediction category and the initial classification label, a detection result of the training surface remote sensing image data marked with the initial classification label; the detection result is an unlabeled area, a suspected incorrectly labeled area, or a correctly labeled area.

[0073] In practical applications, the new classification labels are superimposed on the initial classification labels to obtain the difference and generate a quality inspection result map (detection result). If iterative sample optimization is to be performed, first correct the suspected wrong label samples according to the sample quality inspection result map to generate new label data, then use the new label data and remote sensing images as new samples and repeat operations (2)-(4).

[0074] S5: According to the sample detection result, the classification label of the training surface remote sensing image data marked with the initial classification label is updated. In practical applications, if iterative sample optimization is to be performed, firstly, the suspected wrong label samples are corrected according to the sample quality detection result map (i.e., the classification label of the training surface remote sensing image data marked with the initial classification label is updated), thereby generating new label data, and then the new label data and remote sensing images are used as new samples.

[0075] S6: Determine whether the maximum number of iterations has been reached.

[0076] As an optional implementation manner, the method for determining the maximum number of iterations specifically includes:

[0077] Using the formula n = log (1-P0) (1-A), determine the maximum number of iterations; where P 0 is the initial recognition accuracy of the second SwinTransformer network; A is the sample accuracy.

[0078] In practical applications, in order to accurately determine the number of iterations required, relevant mathematical analysis is performed. Assuming the sample error rate is E 0 (0~1), first recognition accuracy P 0 (0~1), and the manual interpretation efficiency is effective. According to the principle of probability statistics, it can be deduced that after a round of improvement, the sample error rate is E 1 (0~1), through formulas (1)~(6), the maximum number of iterations n required can be determined under the assumption that the sample accuracy required is A.

[0079] E 1 =E 0 ×(1-P 0 ) (1).

[0080] By analogy, E n , and P n-1 >P n-2 >P n-3 >…>P 3 >P 2 >P 1 .

[0081] E n =E 0 ×(1-P 0 )×(1-P 1 )×...×(1-P n-1 ) (2).

[0082] It can be seen from this that E n <E 0 (1-P 0 ) n (3).

[0083] Since the sample accuracy is A, the corresponding error rate is (1-A), so:

[0084] E n =(1-A)<E 0 ×(1-P 0 ) n (4).

[0085] Right now:

[0086]

[0087] We can get:

[0088]

[0089] S7: If yes, the training surface remote sensing image data with updated classification labels is used as the optimized sample data set.

[0090] S8: If not, return to the step of "training the second Swin Transformer network using the training surface remote sensing image data marked with the initial classification labels to obtain a trained second Swin Transformer network".

[0091] As an optional implementation, the first Swin Transformer network is trained using the optimized sample data set, specifically including:

[0092] The training surface remote sensing image data with updated classification labels is input into the current first SwinTransformer network to obtain the second predicted category of the training surface remote sensing image data.

[0093] A cross entropy loss function is used to determine a cross entropy loss value of the second predicted category and the updated initial classification label.

[0094] Determine whether the cross entropy loss value is less than a preset value.

[0095] If not, update the parameters of the current first Swin Transformer network according to the cross entropy loss value, and return to the step of "inputting the training surface remote sensing image data after updating the classification label into the current first Swin Transformer network to obtain the second predicted category of the training surface remote sensing image data".

[0096] If yes, the current first Swin Transformer network is used as the land cover classification model.

[0097] As an optional embodiment, the land cover classification method of the present invention further includes:

[0098] The trained second Swin Transformer network is used to detect the quality of the training surface remote sensing data with marked classification labels to obtain the detection results.

[0099] in accordance with Figure 3 The quality of the results of the house building annotation in Yicheng City, Hubei Province was tested according to the process in . In this process, the deep learning semantic segmentation used the Swin Transformer network. The test results are as follows Figure 4 As shown, black represents suspected unlabeled areas, gray represents suspected incorrectly labeled areas, and white represents correctly labeled areas.

[0100] As can be seen from the figure, the majority of the quality inspection results are correctly labeled (white), followed by suspected unlabeled areas (black), and finally suspected incorrectly labeled areas (gray). Among them, the suspected incorrectly labeled areas are mainly concentrated at the edges of buildings. The main reasons for this are: 1. The spatial resolution of remote sensing images is insufficient, and the judgment criteria for edge interpretation are different. 2. The deep learning semantic segmentation model recognition is not fine enough, and the boundary area is not well optimized. But overall, it can achieve the purpose of detecting the quality of house labeling.

[0101] In order to prove the effectiveness of the method of the present invention, the UperNet deep learning semantic segmentation network was used in the Mianzhu City dataset. An iterative sample optimization strategy was adopted for the road class. At the same time, in order to prevent the network from overfitting learning of wrong labels, two groups of experiments with large samples and small samples were designed. The results are shown in Table 1. The number of training samples in the large sample experiment is 7000, and the number of training samples in the small sample experiment is 3500.

[0102] Table 1 Comparison of evaluation results before and after sample modification for different training set sizes (%)

[0103]

[0104] According to Table 1, in the small sample experiment, except for the forest land which was in a slight decline, the other indicators were all increasing, and the increase in the road category was as high as 15.9%. The same conclusion can be obtained in the large sample experiment, but for the forest land problem, due to the increase in the number of samples, the forest land category changed from a decline at the beginning to a slight increase. By comparison, although the number of samples has doubled, it can be clearly seen that the road category has only increased by 0.6%. After iterative optimization strategy for the road category, without increasing the number of samples, the road can also be improved by more than 15%. The recognition results of the UperNet network before and after label optimization are visualized. The experimental results are as follows: Figure 5 As shown in the figure (since only the road labels are optimized, only the recognition results of roads are shown). According to the analysis of the results of the two prediction graphs, the UperNet network has significantly improved the recognition results of narrow roads. This is because when iteratively optimizing the sample library, the label samples of narrow roads are optimized, so that the network can correctly learn the labels of the roads, thereby proving the effectiveness of the iterative sample optimization strategy.

[0105] In the remote sensing image surface cover classification dataset, a small number of boundary misclassifications often occur because the interpretation results are not precise enough. In order to obtain a more accurate dataset, the robustness of deep learning is first utilized, and then suspected errors in the labels are checked through deep learning, and finally the suspected error areas are corrected, so as to achieve the purpose of efficiently modifying the wrong labels in the remote sensing image surface cover classification. At the same time, this idea is also applied to the quality inspection of the interpretation results, and ideal results are obtained.

[0106] Embodiment 2

[0107] In order to execute the method corresponding to the above-mentioned embodiment 1 to achieve corresponding functions and technical effects, a land cover classification system is provided below, including:

[0108] The data acquisition module is used to obtain the surface remote sensing image data to be classified.

[0109] A classification module is used to classify the surface remote sensing image data to be classified using a surface cover classification model to determine the ground object category of the surface remote sensing image data to be classified; the surface cover classification model is obtained by training the first Swin Transformer network using an optimized sample data set; the ground object category includes buildings, roads and / or rivers.

[0110] The process of determining the optimized sample data set specifically includes:

[0111] An initial sample data set is obtained; the initial sample data set includes training surface remote sensing image data marked with initial classification labels; the classification labels include buildings, roads and rivers.

[0112] The second Swin Transformer network is trained using the training surface remote sensing image data marked with the initial classification labels to obtain a trained second Swin Transformer network.

[0113] The training surface remote sensing image data without a classification label is input into the trained second SwinTransformer network to obtain a first predicted category of the training surface remote sensing image data.

[0114] According to the first prediction category and the initial classification label, a detection result of the training surface remote sensing image data marked with the initial classification label is determined; the detection result is an unlabeled area, a suspected incorrectly labeled area, or a correctly labeled area.

[0115] According to the sample detection result, the classification label of the training surface remote sensing image data marked with the initial classification label is updated.

[0116] Determine whether the maximum number of iterations has been reached.

[0117] If so, the training surface remote sensing image data with updated classification labels is used as the optimized sample data set.

[0118] If not, return to the step of "training the second Swin Transformer network using the training surface remote sensing image data marked with the initial classification labels to obtain the trained second Swin Transformer network".

[0119] Embodiment 3

[0120] The present invention provides an electronic device, comprising: a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the surface cover classification method of embodiment one.

[0121] Embodiment 4

[0122] The present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the surface cover classification method of embodiment 1 is implemented.

[0123] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0124] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for classifying land cover, characterized in that: include: Obtaining surface remote sensing image data to be classified; Using a land cover classification model, the surface remote sensing image data to be classified is classified to determine the land object category of the surface remote sensing image data to be classified; the land cover classification model is obtained by training the first SwinTransformer network using the optimized sample data set; the land object category includes buildings, roads and / or rivers; The process of determining the optimized sample data set specifically includes: Acquire an initial sample data set; the initial sample data set includes training surface remote sensing image data annotated with initial classification labels; the classification labels include buildings, roads and rivers; Using the training surface remote sensing image data marked with the initial classification labels, the second Swin Transformer network is trained to obtain a trained second Swin Transformer network; Inputting the training surface remote sensing image data without a classification label into the trained second SwinTransformer network to obtain a first predicted category of the training surface remote sensing image data; Determine, according to the first prediction category and the initial classification label, a detection result of the training surface remote sensing image data marked with the initial classification label; the detection result is an unmarked area, a suspected incorrectly marked area, or a correctly marked area; According to the detection result, updating the classification label of the training surface remote sensing image data marked with the initial classification label; Determine whether the maximum number of iterations has been reached; the method for determining the maximum number of iterations specifically includes: The maximum number of iterations is determined using the formula n=log(1-P0)(1-A); where P0 is the initial recognition accuracy of the second Swin Transformer network; A is the sample accuracy; If yes, the training surface remote sensing image data with updated classification labels is used as the optimized sample data set; If not, return to the step of "training the second Swin Transformer network using the training surface remote sensing image data marked with the initial classification labels to obtain the trained second Swin Transformer network".

2. The method for classifying land cover according to claim 1, characterized in that: The first Swin Transformer network is trained using the optimized sample data set, including: Input the training surface remote sensing image data with updated classification labels into the current first Swin Transformer network to obtain a second predicted category of the training surface remote sensing image data; Determine a cross entropy loss value of the second predicted category and the updated initial classification label using a cross entropy loss function; Determine whether the cross entropy loss value is less than a preset value; If not, the parameters of the current first SwinTransformer network are updated according to the cross entropy loss value, and the step of "inputting the training surface remote sensing image data after the updated classification label into the current first Swin Transformer network to obtain the second predicted category of the training surface remote sensing image data" is returned; If yes, the current first SwinTransformer network is used as the land cover classification model.

3. The method for classifying land cover according to claim 1, characterized in that: Also includes: The trained second SwinTransformer network is used to detect the quality of the training surface remote sensing data marked with classification labels to obtain the detection results.

4. The method for classifying land cover according to claim 1, characterized in that: Get the initial sample data set, including: Obtaining surface remote sensing data for training; Performing rasterization processing on the training surface remote sensing data to obtain processed training surface remote sensing data; Initial classification labels are marked on the processed training surface remote sensing data to obtain training surface remote sensing image data marked with the initial classification labels.

5. A land cover classification system, characterized in that: include: A data acquisition module is used to acquire surface remote sensing image data to be classified; A classification module, used to classify the surface remote sensing image data to be classified using a surface cover classification model, and determine the ground object category of the surface remote sensing image data to be classified; the surface cover classification model is obtained by training the first Swin Transformer network using the optimized sample data set; the ground object category includes buildings, roads and / or rivers; The process of determining the optimized sample data set specifically includes: Acquire an initial sample data set; the initial sample data set includes training surface remote sensing image data annotated with initial classification labels; the classification labels include buildings, roads and rivers; Using the training surface remote sensing image data marked with the initial classification labels, the second Swin Transformer network is trained to obtain a trained second Swin Transformer network; Inputting the training surface remote sensing image data without a classification label into the trained second SwinTransformer network to obtain a first predicted category of the training surface remote sensing image data; Determine, according to the first prediction category and the initial classification label, a detection result of the training surface remote sensing image data marked with the initial classification label; the detection result is an unmarked area, a suspected incorrectly marked area, or a correctly marked area; According to the detection result, updating the classification label of the training surface remote sensing image data marked with the initial classification label; Determine whether the maximum number of iterations has been reached; the method for determining the maximum number of iterations specifically includes: The maximum number of iterations is determined using the formula n=log(1-P0)(1-A); where P0 is the initial recognition accuracy of the second Swin Transformer network; A is the sample accuracy; If yes, the training surface remote sensing image data with updated classification labels is used as the optimized sample data set; If not, return to the step of "training the second Swin Transformer network using the training surface remote sensing image data marked with the initial classification labels to obtain the trained second Swin Transformer network".

6. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the surface cover classification method described in any one of claims 1-4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for classifying land cover according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Hyperspectral image classification method based on active learning and semi-supervised learning

    CN105956612A

  • Full convolution network based remote-sensing image land cover classifying method

    CN108537192A

  • An iteration self-adaptive termination method in image classification model training

    CN109919195A

  • Drivable area labeling method and device and electronic equipment

    CN112348122A