A method and system for automatic extraction of soil and water conservation measures patches based on deep learning
Through the method based on deep learning, the deep learning network model and voting decision block are used to realize the automatic extraction of soil and water conservation measure patches, which solves the problems of time-consuming, laborious and subjective influence in the existing technology, improves the extraction efficiency and Accuracy, providing technical support for soil and water conservation monitoring.
Patent Information
- Application Number
- CN202110061506.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-18
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-01-18
AI Technical Summary
The existing soil and water conservation measure pattern extraction methods rely on manual interpretation, which is time-consuming and labor-intensive and is greatly affected by human subjective factors. The degree of automation is not high, and it is difficult to achieve efficient and accurate pattern identification.
Using methods based on deep learning, remote sensing image data are preprocessed through software such as ENVI, Arcgis and python, and deep learning network models such as U-net, M-U-Net, DeepLab V3+, PSPNet and Seg-net are trained, and implemented in combination with voting decision blocks Automatic extraction of soil and water conservation measures patches.
It achieves intelligent, precise and automated extraction of soil and water conservation measure maps, reduces manual intervention, improves extraction efficiency and accuracy, and promotes technical support for soil and water conservation monitoring and evaluation work.
Smart Images

Figure CN112668552B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of soil and water conservation information technology, and in particular to an automatic extraction system for soil and water conservation measure patches based on deep learning. Background Art
[0002] Soil and water conservation is the work of preventing and controlling soil erosion, protecting, improving and rationally utilizing water and soil resources, and establishing a good ecological environment. It is the lifeline of mountain development, the foundation of land consolidation and river management, the basis of national economic and social development, and a basic national policy that we must adhere to for a long time. It is inevitable to carry out soil and water conservation measures, and accurate identification and extraction of soil and water conservation measures is an important technical means to evaluate the effectiveness of soil and water conservation projects. At present, the extraction of soil and water conservation measures is mainly carried out through three methods: visual interpretation technology, pixel-based extraction technology, and object-oriented extraction technology. Although the visual interpretation method is simple, easy to operate, and highly flexible, it requires the interpreter to have rich experience and professional knowledge, and it is time-consuming and laborious; while the pixel-based extraction technology and the object-oriented extraction technology have achieved good recognition and extraction effects, they are greatly affected by human subjective factors and have a low degree of automation. Summary of the invention
[0003] To solve the above problems, the present invention provides a method and system for automatic extraction of soil and water conservation measures patches based on deep learning, so as to meet the technical requirements of the characteristics of soil and water conservation measures patches on high-resolution remote sensing images and their rapid extraction.
[0004] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0005] A method for automatically extracting soil and water conservation measures patches based on deep learning, characterized in that the specific method steps are as follows:
[0006] (1) Remote sensing image data preprocessing: Use professional software such as ENVI, ArcGIS, and Python to complete the process. Use ENVI software to perform radiation calibration, atmospheric correction, image fusion, and other tasks on the downloaded remote sensing images (this step can be omitted if it is a drone remote sensing image); Use ArcGIS software: First use ArcCatalog to create a shp file, then use ArcMap to outline points, lines, and surfaces, and finally vectorize and rasterize to complete the image outline. The shp file must be consistent with the projection coordinates and geographic coordinates of the original image; Use Python software to randomly crop the original image and the image file into several small images of 256*256 size at the same time, thus forming an original data set. Then perform geometric transformations such as rotation and translation on the data set to obtain a data enhancement data set, thus completing the data preprocessing work;
[0007] (2) Deep learning network model training: The dataset generated by remote sensing image data preprocessing in step (1) is divided into a training set and a validation set. The dataset is input into the U-net model (U-shaped convolutional neural network model), the deep separable encoding-decoding model improved based on U-net (MU-Net model), the DeepLab V3+ model, the PSPNet model, and the Seg-net model for training using the gdal remote sensing image reading block. Five training model parameters and weight results with different expressiveness can be obtained.
[0008] (3) Extraction of spots from remote sensing image data: Set up a test block and a voting decision block containing the training model parameters and weight results obtained from the deep learning network model training in step (2). Input the image of the soil and water conservation measures spots to be extracted into the test block, and obtain multiple soil and water conservation measures spot extraction maps with different accuracies. Then input the multiple result maps into the voting decision block. After voting for each pixel, a spot extraction map with higher accuracy can be output. If the input image to be extracted has geographic coordinates and projection coordinates, then a soil and water conservation measures spot distribution map with projection coordinates and geographic coordinates will be obtained.
[0009] (4) Extracting soil and water conservation measures: Using the automatic extraction software developed based on the pyQt graphical interface, the results of the deep learning network model training step, the output results of the voting decision block, and the code generated by the extraction operation are packaged into an independently executable exe file using python software, thereby quickly realizing the automatic extraction of soil and water conservation measures.
[0010] The present invention also provides the following technical solutions.
[0011] A deep learning-based automatic extraction system for soil and water conservation measures, characterized by: comprising a remote sensing image data preprocessing module, a deep learning network model training module, a remote sensing image data spot extraction module and a software module for extracting soil and water conservation measures spots. The remote sensing image data preprocessing module is equipped with professional software such as ENVI, ArcGIS, Python and a process-based operation guide, including preprocessing function submodules such as radiation calibration, atmospheric correction, image fusion, spot delineation, image cropping, data enhancement, and data set production. The deep learning network model training module is equipped with a gdal remote sensing image reading block and several deep learning network models. The data sets produced by the remote sensing image data preprocessing module are respectively input into each deep learning network model for training to obtain training model parameters and weight results with different expressiveness. The remote sensing image data spot extraction module includes a test block and a voting decision block for the training model parameters and weight results processed by the deep learning network model training module; after the image of the soil and water conservation measures spot to be extracted is input, the test block outputs a plurality of soil and water conservation measures spot extraction maps with different precisions; the voting decision block inputs a plurality of soil and water conservation measures spot extraction maps with different precisions output from the test block, and after voting on each soil and water conservation measures spot extraction map with different precisions, the voting decision block outputs a spot extraction map with higher precision; if the input image to be extracted has geographic coordinates and projection coordinates, then a soil and water conservation measures spot distribution map with projection coordinates and geographic coordinates will be obtained. The software module for extracting soil and water conservation measures spots is developed based on the pyQt image interface, and the results processed by the deep learning network model training module, the output results of the voting decision block, and the code generated by the extraction operation are packaged into an independently executable exe file using python software; the software module can be independently executed and can quickly complete the automatic extraction of soil and water conservation measures spots with high precision.
[0012] Preferably, the remote sensing image data preprocessing module and the professional software versions are ENVI5.3, ArcGIS10.5, and python3.8 respectively.
[0013] Preferably, the deep learning network model includes at least a U-net model (U-shaped convolutional neural network model), a deep separable encoding-decoding model (MU-Net model) improved based on U-net, a DeepLab V3+ model, a PSPNet model and a Seg-net model.
[0014] Preferably, the software module for extracting soil and water conservation measures maps can directly click the "Extract" button to extract soil and water conservation measures maps with one click.
[0015] The beneficial effects of the present invention are as follows: compared with the prior art, the automatic extraction system of soil and water conservation measures based on deep learning of the present invention introduces the latest deep learning and related technologies, conducts in-depth analysis and automatic learning of the semantic information and spatial features of remote sensing images, and forms a complete processing flow, which can make the model realize the intelligence, precision and automation from the original input to the output of the extraction results to the greatest extent. While solving the problems of the original method being time-consuming and labor-intensive, being affected by human subjectivity, and having low automation, it can also intelligently extract high-precision soil and water conservation measures spots, promote the development of soil and water conservation measures spot extraction technology towards intelligence and precision, and provide technical support for soil and water conservation monitoring and evaluation work. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0017] Figure 1 It is a schematic diagram of the overall structure of the present invention.
[0018] Figure 2 It is a software module interface diagram for extracting soil and water conservation measures maps in the present invention.
[0019] In the figure: 1. Remote sensing image data preprocessing module, 2. Deep learning network model training module, 3. Remote sensing image data spot extraction module, 4. Software module for extracting soil and water conservation measures spots. DETAILED DESCRIPTION
[0020] The following will describe the implementation methods of the present invention in detail with reference to the accompanying drawings and embodiments, so that the implementation process of how the present invention applies technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly.
[0021] A method for automatically extracting soil and water conservation measures patches based on deep learning, the specific steps of the method are as follows:
[0022] (1) Remote sensing image data preprocessing: Use professional software such as ENVI, ArcGIS, and Python to complete the process. Use ENVI software to perform radiation calibration, atmospheric correction, image fusion, and other tasks on the downloaded remote sensing images (this step can be omitted if it is a drone remote sensing image); Use ArcGIS software: First use ArcCatalog to create a shp file, then use ArcMap to outline points, lines, and surfaces, and finally vectorize and rasterize to complete the image outline. The shp file must be consistent with the projection coordinates and geographic coordinates of the original image; Use Python software to randomly crop the original image and the image file into several small images of 256*256 size at the same time, thus forming an original data set. Then perform geometric transformations such as rotation and translation on the data set to obtain a data enhancement data set, thus completing the data preprocessing work;
[0023] (2) Deep learning network model training: Run under the environment configuration of Tensorflow2.0+Gpu+Keras+Annconda. First, the data set generated by the remote sensing image data preprocessing in step (1) is divided into a training set and a validation set. Then, the gdal remote sensing image reading block is used to input them into the U-net model (U-shaped convolutional neural network model), the deep separable encoding-decoding model improved based on U-net (MU-Net model), the DeepLab V3+ model, the PSPNet model, and the Seg-net model for training. Five training model parameters and weight results with different expressiveness can be obtained.
[0024] (3) Extraction of spots from remote sensing image data: Set up a test block and a voting decision block containing the training model parameters and weight results obtained from the deep learning network model training in step (2). Input the image of the soil and water conservation measures spots to be extracted into the test block, and obtain multiple soil and water conservation measures spot extraction maps with different accuracies. Then input the multiple result maps into the voting decision block. After voting for each pixel, a spot extraction map with higher accuracy can be output. If the input image to be extracted has geographic coordinates and projection coordinates, then a soil and water conservation measures spot distribution map with projection coordinates and geographic coordinates will be obtained.
[0025] (4) Extracting soil and water conservation measures: Using the automatic extraction software developed based on the pyQt graphical interface, the results of the deep learning network model training step, the output results of the voting decision block, and the code generated by the extraction operation are packaged into an independently executable exe file using python software, thereby quickly realizing the automatic extraction of soil and water conservation measures.
[0026] like Figure 1As shown, a deep learning-based automatic extraction system for soil and water conservation measures spots includes a remote sensing image data preprocessing module 1, a deep learning network model training module 2, a remote sensing image data spot extraction module 3, and a software module 4 for extracting soil and water conservation measures spots, and the working order is progressive.
[0027] The remote sensing image data preprocessing module 1 is equipped with professional software such as ENVI, ArcGIS, Python, and process-based operation guides. The versions of the professional software are ENVI5.3, ArcGIS10.5, and Python3.8, respectively, including preprocessing function submodules such as radiation calibration, atmospheric correction, image fusion, spot delineation, image cropping, data enhancement, and data set production. The deep learning network model training module 2 is equipped with a gdal remote sensing image reading block, 5 deep learning network models, including a U-net model (U-shaped convolutional neural network model), a deep separable encoding-decoding model (MU-Net model) improved based on U-net, a DeepLab V3+ model, a PSPNet model, and a Seg-net model. The data sets produced by the remote sensing image data preprocessing module are respectively input into each deep learning network model for training to obtain training model parameters and weight results with different expressiveness. The remote sensing image data spot extraction module 3 includes a test block and a voting decision block for the training model parameters and weight results processed by the deep learning network model training module; after the image of the soil and water conservation measures spot to be extracted is input, the test block outputs a plurality of soil and water conservation measures spot extraction maps of different precisions; the voting decision block inputs a plurality of soil and water conservation measures spot extraction maps of different precisions output from the test block, and after voting on each soil and water conservation measures spot extraction map of different precisions, the voting decision block outputs a spot extraction map with higher precision; if the input image to be extracted has geographic coordinates and projection coordinates, then a soil and water conservation measures spot distribution map of projection coordinates and geographic coordinates will be obtained. The software module 4 for extracting soil and water conservation measures spots is developed based on the pyQt image interface, and the results processed by the deep learning network model training module, the output results of the voting decision block, and the code generated by the extraction operation are packaged into an independently executable exe file using python software; the software module can be independently executed and can quickly complete the automatic extraction of soil and water conservation measures spots with high precision.
[0028] like Figure 2The software module interface diagram of the present invention is shown, which is an important embodiment of an independently executable software module that can automatically extract soil and water conservation measures. The main color of the module is taken from the color of the land use planning map, which is light yellow representing cultivated land, dark green representing forest land, and blue representing water area. The main structure of the module is divided into a one-click extraction frame and a step-by-step extraction frame. The one-click extraction frame can extract spots in batches. After clicking the "original image path" to load the image data, directly click the "extract" button to realize batch one-click extraction of soil and water conservation measures spots. Click the "refresh" button to extract a new batch of spots again. The step-by-step extraction frame is designed to view the extraction effects of different models and the optimized effect map. Therefore, only one remote sensing image can be loaded at a time. You can choose the model for prediction. You must select 3 or 5 models each time. Click the "extract 2" button and wait for the prediction to complete. You can get 3 or 5 result maps with different precisions. Then click the "decision optimization" button. According to the voting rules, some obviously misclassified pixels can be eliminated with the strategy of minority obeys majority. You will get a result map with optimized precision. Finally, click the "display result" button to get a comparison chart of the extraction results of the model you selected and the optimized results. Similarly, click the "refresh 2" button to extract the spots of the new image again. Once an independently executable software module that can automatically extract soil and water conservation measures maps is formed, the previous module does not need to be executed again, and a one-time operation can be useful for life.
[0029] The above description is only for the best embodiment of the present invention, but it should not be understood as limiting the claims. The present invention is not limited to the above embodiments, and its specific structure is allowed to be changed. All changes made within the scope of protection of the independent claims of the present invention are within the scope of protection of the present invention.
Claims
1. A method for automatic extraction of soil and water conservation measures patches based on deep learning, characterized in that: The specific steps are as follows: (1) Remote sensing image data preprocessing: Use ENVI, ArcGIS, and Python professional software to complete the process. Use ENVI software to perform radiation calibration, atmospheric correction, and image fusion tasks on the downloaded remote sensing images. Use ArcGIS software: First use ArcCatalog to create a shp file, then use ArcMap to outline points, lines, and surfaces, and finally vectorize and rasterize to complete the image outline. The shp file must be consistent with the projection coordinates and geographic coordinates of the original image. Use Python software to randomly crop the original image and the image file into several small images of 256*256 size at the same time, thus forming an original data set. Then perform geometric transformations such as rotation and translation on the data set to obtain a data enhancement data set, thus completing the data preprocessing work. (2) Deep learning network model training: The dataset generated by remote sensing image data preprocessing in step (1) is divided into a training set and a validation set. The dataset is input into the U-net model, the deep separable encoding-decoding model improved based on U-net, the DeepLab V3+ model, the PSPNet model, and the Seg-net model for training using the gdal remote sensing image reading block. Five training model parameters and weight results with different expressiveness can be obtained. (3) Extraction of spots from remote sensing image data: Set a test block and a voting decision block containing the training model parameters and weight results obtained by the deep learning network model training in step (2). Input the image of the soil and water conservation measures spots to be extracted into the test block, and obtain multiple soil and water conservation measures spot extraction maps with different precisions. Then input the multiple result maps into the voting decision block. After voting for each pixel, a spot extraction map with higher precision can be output. If the input image to be extracted has geographic coordinates and projection coordinates, then a soil and water conservation measures spot distribution map with projection coordinates and geographic coordinates will be obtained. (4) Extracting soil and water conservation measures: Using the automatic extraction software developed based on the pyQt graphical interface, the results of the deep learning network model training step, the output results of the voting decision block, and the code generated by the extraction operation are packaged into an independently executable exe file using python software, thereby quickly realizing the automatic extraction of soil and water conservation measures.
2. A deep learning-based automatic extraction system for soil and water conservation measures, characterized by: It includes a remote sensing image data preprocessing module, a deep learning network model training module, a remote sensing image data patch extraction module, and a software module for extracting soil and water conservation measures patches; The remote sensing image data preprocessing module is equipped with ENVI, ArcGIS, Python professional software and process-based operation guides, including preprocessing function submodules such as radiation calibration, atmospheric correction, image fusion, spot delineation, image clipping, data enhancement, and data set production; The deep learning network model training module is equipped with a gdal remote sensing image reading block and several deep learning network models. The data set produced by the remote sensing image data preprocessing module is input into each deep learning network model for training to obtain training model parameters and weight results with different expressiveness. The remote sensing image data spot extraction module includes a test block and a voting decision block for the training model parameters and weight results processed by the deep learning network model training module; after the image of the soil and water conservation measures spot to be extracted is input, the test block outputs a plurality of soil and water conservation measures spot extraction maps with different precisions; the voting decision block inputs a plurality of soil and water conservation measures spot extraction maps with different precisions output from the test block, and after voting on each soil and water conservation measures spot extraction map with different precisions, the voting decision block outputs a spot extraction map with higher precision; if the input image to be extracted carries geographic coordinates and projection coordinates, then a soil and water conservation measures spot distribution map with projection coordinates and geographic coordinates will be obtained; The software module for extracting soil and water conservation measures is developed based on the pyQt graphical interface, and the results of the deep learning network model training module, the output results of the voting decision block, and the code generated by the extraction operation are packaged into an independently executable exe file using python software; This software module can be executed independently and can quickly complete the automatic extraction of high-precision soil and water conservation measures maps.
3. The automatic extraction system of soil and water conservation measures based on deep learning according to claim 2 is characterized by: The versions of the professional software are ENVI5.3, ArcGIS10.5, and python3.8 respectively.
4. The automatic extraction system of soil and water conservation measures based on deep learning according to claim 2 is characterized by: The deep learning network model includes at least a U-net model, a deep separable encoding-decoding model improved based on U-net, a DeepLab V3+ model, a PSPNet model and a Seg-net model.
5. According to claim 2, the automatic extraction system of soil and water conservation measures based on deep learning is characterized by: The software module for extracting soil and water conservation measures maps can directly click the "Extract" button to extract soil and water conservation measures maps with one click.
Citation Information
Patent Citations
Remote sensing image building extraction method and system based on depth learning, storage medium and electronic device
CN109446992A
Remote sensing image semantic segmentation method combining deep learning and random forest
CN111476170A
