Disclosure of Invention
The invention aims to provide a land use classification and change prediction method based on deep learning, which can accurately realize land use classification and change prediction and provide a basis for developing a series of work such as dynamic change prediction of land use, crop yield prediction, natural disaster prevention and control, reasonable organization of land use and the like.
In order to achieve the purpose, the invention provides the following scheme:
a land use classification and change prediction method based on deep learning comprises the following steps:
step 1: acquiring historical remote sensing image data and corresponding land vector data, and making a land cover type training sample and a corresponding land utilization type training sample;
step 2: constructing a deep learning semantic segmentation network model, training the deep learning semantic segmentation network model through a land cover type training sample, constructing a type conversion network model based on a gating mechanism, and training the type conversion network model through a land utilization type training sample;
and step 3: performing series integration on the trained deep learning semantic segmentation network model and the type conversion network model to generate a land utilization classification model;
and 4, step 4: inputting the remote sensing images of the land to be detected in different periods into a land utilization classification model to obtain a land utilization classification image;
and 5: drawing a classification vector diagram according to the land utilization classification image, calculating land change amplitude, dynamic degree and space change according to the classification vector diagram, analyzing the dynamic change of the land in different periods according to the land change amplitude, the dynamic degree and the space change, and inducing the space-time change characteristics and rules of the land utilization in different periods;
step 6: selecting a driving factor to construct a CA-Markov prediction model, acquiring verification land remote sensing image data, and verifying the precision and the applicability of the CA-Markov prediction model;
and 7: and if the verification is passed, predicting the future land utilization change by using a CA-Markov prediction model according to the characteristics and rules of the land utilization space-time change in different periods.
Optionally, in step 1, obtaining historical remote sensing image data and corresponding land vector data, and making a land cover type training sample and a corresponding land use type training sample, specifically:
collecting historical remote sensing image data, corresponding land utilization vector data and historical land cover vector data, obtaining boundary areas of the vector data through a scanning line algorithm, carrying out vector rasterization processing on the vector data to generate an initial land utilization vector marking base map and an initial historical land cover vector marking base map, carrying out individual marking on representative artificial land objects in the initial land utilization vector marking base map and the initial historical land cover vector marking base map through artificial marking to obtain a land utilization vector marking base map and a historical land cover vector marking base map, carrying out slicing processing on the historical remote sensing image data and the corresponding historical land cover vector marking base map to generate land cover type training samples with standard sizes, and carrying out slicing processing on the historical land cover vector marking base map and the corresponding land utilization vector marking base map, standard land use type training samples are generated.
Optionally, in step 2, constructing a deep learning semantic segmentation network model specifically includes:
and (3) constructing a deep learning semantic segmentation model based on deep learning by using the parallel high-resolution feature extraction network model as a basic network.
Optionally, in step 2, a type conversion network model is constructed based on a gating mechanism, and the type conversion network model is trained through a land use type training sample, specifically:
the method comprises the steps of constructing a geographic space incidence relation feature extraction unit based on a gating mechanism, taking the geographic space incidence relation feature unit as a basic unit, introducing an attention module to establish a type conversion network model, dividing land utilization type training samples into lines, arranging the lines in sequence from top to bottom to form a first group of image sequences, forming a second group of image sequences in sequence from bottom to top, dividing the land utilization type training samples into lines, arranging the lines in sequence from left to right to form a third group of image sequences, forming a fourth group of image sequences in sequence from right to left, and inputting the four groups of image sequences into the type conversion network model for training.
Optionally, in step 4, inputting the remote sensing images of the land to be detected in different periods into the land use classification model to obtain a land use classification image, which specifically comprises:
and acquiring remote sensing images of the land to be detected in different periods, and inputting the remote sensing images into the land utilization classification model to obtain a land utilization classification image.
Optionally, in step 6, a driving factor is selected to construct a CA-Markov prediction model, which specifically comprises:
selecting a plurality of driving factors, generating a distribution probability schematic diagram of a land use type according to the driving factors, obtaining a conversion rule of a cellular automaton CA model according to the distribution probability schematic diagram of the land use type, and constructing a CA-Markov prediction model according to the conversion rules of the Markov model and the CA model.
Optionally, in step 6, obtaining verification land remote sensing image data, and verifying the accuracy and the applicability of the CA-Markov prediction model, specifically:
obtaining a verified land remote sensing image and actual land utilization change data, inputting the verified land remote sensing image into a land utilization classification model to obtain a verified land utilization classification image, drawing a verification classification vector diagram according to the verification land utilization classification image, calculating land variation amplitude, dynamic degree and spatial variation according to the verification classification vector diagram, and analyzes the dynamic change of the land in different periods through the land change amplitude, the dynamic degree and the space change, induces the space-time change characteristics and rules of the land utilization in different periods, and predicting land use change by using a CA-Markov prediction model according to the characteristics and rules of the land use time-space change to obtain verification land use change data, comparing the verification land use change data with the actual land use change data, and judging that the verification is passed if the verification is within a reasonable error range.
Optionally, the driving factors include at least elevation, slope, direction of slope, distance from highway and distance from administrative center.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects: the invention provides a land use classification and change prediction method based on deep learning, which comprises the steps of obtaining historical remote sensing image data and corresponding land vector data, making a land cover type training sample and a corresponding land use type training sample, constructing a deep learning semantic segmentation network model, training the deep learning semantic segmentation network model through the land cover type training sample, constructing a type conversion network model based on a gating mechanism, training the type conversion network model through the land use type training sample, performing series integration on the trained deep learning semantic segmentation network model and the type conversion network model to generate the land use classification model, inputting land remote sensing images to be detected in different periods into the land use classification model to obtain land use classification images, drawing a classification vector diagram according to the land use classification images, calculating land change amplitude, dynamic degree and space change according to the classification vector diagram, analyzing dynamic change of land in different periods through the land change amplitude, the dynamic degree and the space change, inducing land utilization space-time change characteristics and rules in different periods, selecting a driving factor to construct a CA-Markov prediction model, and predicting future land utilization change by using the CA-Markov prediction model according to the land utilization space-time change characteristics and rules in different periods; the classification of land utilization is realized based on deep learning, a deep learning semantic segmentation technology is adopted, classification model training is carried out based on historical remote sensing image data and corresponding historical land cover vector labeling base maps to obtain pixel-level historical land cover vector labeling base maps which are accurately classified, a geographic space incidence relation feature extraction unit is constructed based on a gating mechanism to extract geographic space incidence relations of various land utilization types, the segmentation results of the land cover types can be merged into the same land utilization type, and the conversion from the land cover ground object type classification base maps to the land utilization classification labeling maps is completed; and a driving factor is introduced, a CA-Markov prediction model is constructed based on a Markov model and a CA model, the land utilization change is accurately analyzed and predicted, and the CA-Markov prediction model is verified by verifying land remote sensing image data, so that the precision and the applicability of the CA-Markov prediction model are ensured.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a land use classification and change prediction method based on deep learning, which can accurately realize land use classification and change prediction and provide a basis for developing a series of work such as dynamic change prediction of land use, crop yield prediction, natural disaster prevention and control, reasonable organization of land use and the like.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Fig. 1 is a schematic flow chart of a deep learning-based land use classification and change prediction method according to an embodiment of the present invention, and as shown in fig. 1, the deep learning-based land use classification and change prediction method according to the embodiment of the present invention includes the following steps:
step 1: acquiring historical remote sensing image data and corresponding land vector data, and making a land cover type training sample and a corresponding land utilization type training sample;
step 2: constructing a deep learning semantic segmentation network model, training the deep learning semantic segmentation network model through a land cover type training sample, constructing a type conversion network model based on a gating mechanism, and training the type conversion network model through a land utilization type training sample;
and step 3: performing series integration on the trained deep learning semantic segmentation network model and the type conversion network model to generate a land utilization classification model;
and 4, step 4: inputting the remote sensing images of the land to be detected in different periods into a land utilization classification model to obtain a land utilization classification image;
and 5: drawing a classification vector diagram according to the land utilization classification image, calculating land change amplitude, dynamic degree and space change according to the classification vector diagram, analyzing the dynamic change of the land in different periods according to the land change amplitude, the dynamic degree and the space change, and inducing the space-time change characteristics and rules of the land utilization in different periods;
step 6: selecting a driving factor to construct a CA-Markov prediction model, acquiring verification land remote sensing image data, and verifying the precision and the applicability of the CA-Markov prediction model;
and 7: and if the verification is passed, predicting the future land utilization change by using a CA-Markov prediction model according to the characteristics and rules of the land utilization space-time change in different periods.
In the step 1, obtaining historical remote sensing image data and corresponding land vector data, and making a land cover type training sample and a corresponding land utilization type training sample, specifically:
collecting historical remote sensing image data, corresponding land utilization vector data and historical land cover vector data, obtaining boundary areas of the vector data through a scanning line algorithm, carrying out vector rasterization processing on the vector data to generate an initial land utilization vector annotation base map and an initial historical land cover vector annotation base map, carrying out individual annotation on representative artificial ground objects in the initial land utilization vector annotation base map and the initial historical land cover vector annotation base map through artificial annotation, wherein the representative artificial ground objects are, for example, a playground, a stadium, a square and the like to obtain the land utilization vector annotation base map and the historical land cover vector annotation base map, carrying out slicing processing on the historical remote sensing image data and the corresponding historical land cover vector annotation base map to generate a land cover type training sample with standard size, and slicing the historical land cover vector labeling base map and the corresponding land utilization vector labeling base map to generate a standard land utilization type training sample.
When the training samples are manufactured, the proportion of each land cover type or land utilization type on each sample image is counted, sample screening is carried out according to the counting result, and a training set with balanced categories is constructed.
In step 2, constructing a deep learning semantic segmentation network model, specifically:
based on deep learning, a parallel high-resolution feature extraction network model is used as a basic network to construct a deep learning semantic segmentation model, and when the deep learning semantic segmentation model is trained through a land cover type training sample, reasonable model training parameters are set, so that the deep learning semantic segmentation model can automatically extract classification features, and pixel-level land cover classification is realized.
In step 2, a type conversion network model is constructed based on a gating mechanism, and the type conversion network model is trained through a land use type training sample, specifically comprising the following steps:
constructing a geographic space incidence relation feature extraction unit based on a gate control mechanism, taking a geographic space incidence relation feature unit as a basic unit, introducing an attention module to establish a type conversion network model, wherein the type conversion network model is divided into a coding part, an attention module and a decoding part, the coding part comprises a plurality of geographic space incidence relation feature extraction units, the plurality of geographic space incidence relation feature extraction units form a plurality of feature extraction layers, the extracted features are subjected to feature cross-layer combination by adopting a cross-layer feature combination module among different feature extraction layers, the attention module is connected with the decoding part and the coding part, weights of different land cover ground objects in various land utilization types are learned through the interior of the attention module, the decoding part comprises a plurality of geographic space incidence relation feature extraction units, and the plurality of geographic space incidence relation feature extraction units form a plurality of feature extraction layers, performing characteristic cross-layer combination on the extracted characteristics by adopting a cross-layer characteristic combination module between different characteristic extraction layers, and outputting a final classification result by an output layer through a softmax function;
dividing the land use type training samples according to lines, arranging the training samples from top to bottom to form a first group of image sequences, forming a second group of image sequences according to the sequence from bottom to top, dividing the land use type training samples according to lines, arranging the training samples from left to right to form a third group of image sequences, forming a fourth group of image sequences according to the sequence from right to left, and inputting the four groups of image sequences into a type conversion network model for training.
In step 4, inputting the remote sensing images of the land to be detected in different periods into a land utilization classification model to obtain a land utilization classification image, which specifically comprises the following steps:
and acquiring remote sensing images of the land to be detected in different periods, and inputting the remote sensing images into the land utilization classification model to obtain a land utilization classification image.
The land use type of the land use classification image is generally grassland, cultivated land, forest land, water area, construction land, unused land, and the like.
The characteristics and the rules of the land utilization space-time change are general land utilization overall change, change amplitude, dynamic degree, change space and the like.
In the step 6, a driving factor is selected to construct a CA-Markov prediction model, which specifically comprises the following steps:
selecting a plurality of driving factors, generating a distribution probability schematic diagram of a land use type according to the driving factors, obtaining a conversion rule of a cellular automaton CA model according to the distribution probability schematic diagram of the land use type, and constructing a CA-Markov prediction model according to the conversion rules of the Markov model and the CA model.
In step 6, obtaining and verifying land remote sensing image data, and verifying the precision and the applicability of the CA-Markov prediction model, specifically:
obtaining a verified land remote sensing image and actual land utilization change data, inputting the verified land remote sensing image into a land utilization classification model to obtain a verified land utilization classification image, drawing a verification classification vector diagram according to the verification land utilization classification image, calculating land variation amplitude, dynamic degree and spatial variation according to the verification classification vector diagram, and analyzes the dynamic change of the land in different periods through the land change amplitude, the dynamic degree and the space change, induces the space-time change characteristics and rules of the land utilization in different periods, and predicting land use change by using a CA-Markov prediction model according to the characteristics and rules of the land use time-space change to obtain verification land use change data, comparing the verification land use change data with the actual land use change data, and judging that the verification is passed if the verification is within a reasonable error range.
The driving factors at least comprise elevation, gradient, slope, distance from the highway and distance from the administrative center.
The invention provides a land use classification and change prediction method based on deep learning, which comprises the steps of obtaining historical remote sensing image data and corresponding land vector data, making a land cover type training sample and a corresponding land use type training sample, constructing a deep learning semantic segmentation network model, training the deep learning semantic segmentation network model through the land cover type training sample, constructing a type conversion network model based on a gating mechanism, training the type conversion network model through the land use type training sample, performing series integration on the trained deep learning semantic segmentation network model and the type conversion network model to generate the land use classification model, inputting land remote sensing images to be detected in different periods into the land use classification model to obtain land use classification images, drawing a classification vector diagram according to the land use classification images, calculating land change amplitude, dynamic degree and space change according to the classification vector diagram, analyzing dynamic change of land in different periods through the land change amplitude, the dynamic degree and the space change, inducing land utilization space-time change characteristics and rules in different periods, selecting a driving factor to construct a CA-Markov prediction model, and predicting future land utilization change by using the CA-Markov prediction model according to the land utilization space-time change characteristics and rules in different periods; the classification of land utilization is realized based on deep learning, a deep learning semantic segmentation technology is adopted, classification model training is carried out based on historical remote sensing image data and corresponding historical land cover vector labeling base maps to obtain pixel-level historical land cover vector labeling base maps which are accurately classified, a geographic space incidence relation feature extraction unit is constructed based on a gating mechanism to extract geographic space incidence relations of various land utilization types, the segmentation results of the land cover types can be merged into the same land utilization type, and the conversion from the land cover ground object type classification base maps to the land utilization classification labeling maps is completed; and a driving factor is introduced, a CA-Markov prediction model is constructed based on a Markov model and a CA model, the land utilization change is accurately analyzed and predicted, and the CA-Markov prediction model is verified by verifying land remote sensing image data, so that the precision and the applicability of the CA-Markov prediction model are ensured.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.