Next Article in Journal
Effects of Freeze-Thaw and Wet-Dry Cycles on Tension Stiffening Behavior of Reinforced RAC Elements
Next Article in Special Issue
Assessment of the Rice Panicle Initiation by Using NDVI-Based Vegetation Indexes
Previous Article in Journal
NH3 and N2O Real World Emissions Measurement from a CNG Heavy Duty Vehicle Using On-Board Measurement Systems
Previous Article in Special Issue
Modeling and Spatiotemporal Mapping of Water Quality through Remote Sensing Techniques: A Case Study of the Hassan Addakhil Dam
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Comparative Analysis of Machine Learning Algorithms in Automatic Identification and Extraction of Water Boundaries

1
School of Geo-Science and Technology, Zhengzhou University, Zhengzhou 450001, China
2
School of Water Conservancy Engineering, Zhengzhou University, Zhengzhou 450001, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(21), 10062; https://doi.org/10.3390/app112110062
Submission received: 31 August 2021 / Revised: 23 October 2021 / Accepted: 25 October 2021 / Published: 27 October 2021
(This article belongs to the Special Issue Sustainable Agriculture and Advances of Remote Sensing)

Abstract

:
Monitoring open water bodies accurately is important for assessing the role of ecosystem services in the context of human survival and climate change. There are many methods available for water body extraction based on remote sensing images, such as the normalized difference water index (NDWI), modified NDWI (MNDWI), and machine learning algorithms. Based on Landsat-8 remote sensing images, this study focuses on the effects of six machine learning algorithms and three threshold methods used to extract water bodies, evaluates the transfer performance of models applied to remote sensing images in different periods, and compares the differences among these models. The results are as follows. (1) Various algorithms require different numbers of samples to reach their optimal consequence. The logistic regression algorithm requires a minimum of 110 samples. As the number of samples increases, the order of the optimal model is support vector machine, neural network, random forest, decision tree, and XGBoost. (2) The accuracy evaluation performance of each machine learning on the test set cannot represent the local area performance. (3) When these models are directly applied to remote sensing images in different periods, the AUC indicators of each machine learning algorithm for three regions all show a significant decline, with a decrease range of 0.33–66.52%, and the differences among the different algorithm performances in the three areas are obvious. Generally, the decision tree algorithm has good transfer performance among the machine learning algorithms with area under curve (AUC) indexes of 0.790, 0.518, and 0.697 in the three areas, respectively, and the average value is 0.668. The Otsu threshold algorithm is the optimal among threshold methods, with AUC indexes of 0.970, 0.617, and 0.908 in the three regions respectively and an average AUC of 0.832.

1. Introduction

Water is the source of life: the earth’s surface open water body accounts for about 74% of the total earth area, it is an important resource for all life survival, and it is also the most important component of living organisms [1,2]. In China, the distribution of water resources is quite uneven, and the pollution situation is serious. So, how to identify water bodies efficiently and accurately has become a severe issue [3,4].
With the rapid development of aviation and aerospace technology, remote sensing technology has provided advanced support for many fields, including resource survey, environmental monitoring, mapping, and geography [5,6].
The development of remote sensing technology makes it possible to extract water information quickly and accurately, which is substantially different from conventional field survey methods employed in the past [7,8,9,10].
Monitoring open water bodies accurately is an important and basic application in remote sensing. Various water body mapping approaches have been developed to extract water bodies from multispectral images [11,12,13]. Using remote sensing images to monitor a water body is mainly based on spectral bands and each image’s spatial feature, so the identification methods can be categorized into three types from different perspectives.
(1) Water body index method: This method is based on the spectral curves of water bodies, and thresholds are utilized to effectively distinguish water bodies from the background [14]. Different water indexes have already been proposed in the past few decades. Specifically, in 1996, McFeeters [15] introduced the normalized difference water index (NDWI) model to extract water bodies. However, this model is unable to distinguish between dark shadow and water bodies. To overcome the shortcomings of NDWI, in 2006, Xu [16] proposed the modification of normalized difference water index (MNDWI) to enhance open water features in remotely sensed imagery, and this model has better results for urban water bodies extraction. The water body index method has the characteristics of high precision and low computational cost, which has been widely used in practical applications. In the last few decades, the MNDWI of Xu is one of the most widely used water indices for various fields, including surface water mapping, land use/cover change analyses, and ecological research [17,18,19,20].
(2) Machine learning methods: These methods feature pixel-based pattern recognition analysis, mainly including supervised and unsupervised classification techniques. The supervised methods mainly include neural network [21,22,23,24,25], support vector machine (SVM) [26,27,28], logistic regression [29,30], and random forest [31,32,33], and the unsupervised classification methods mainly include K-means clustering [34] and ISODATA clustering [35,36] methods. The machine learning algorithm has been widely used in remote sensing water extraction due to its high accuracy.
(3) Object-based image analysis methods (OBIA): Due to the limitations of pixel-based classification methods, such as the salt and pepper phenomenon in classification results, object-based classification techniques have been increasingly applied in remote sensing classification in recent years [37,38]. Many successful cases of water body extraction using OBIA methods have been reported [39,40,41,42,43]. Given that urban functional zones (UFZs) are composed of diverse geographic objects, Du et al. [44] presented a novel object-based UFZ mapping method using very-high-resolution (VHR) remote sensing images. Based on object-oriented analysis technology and multi-source data, Guo et al. [45] proposed a multi-level classification scheme based on goals and rules to study the changes of glacier environments.
In addition, some studies also have used synthetic aperture radar (SAR) data to monitor the surface dynamics, because these data are insensitive to clouds [14,46,47]; the area of surface water can be extracted from SAR data based on textural analysis [48], change detection [49], automatic segmentation [50], and classification [51].
At present, machine learning algorithms to extract water bodies mainly include neural networks, support vector machines, and random forest algorithms. The studies carried out in the past have identified the best performing classification algorithm by comparing different classification algorithms. However, none of them provides a comprehensive comparative analysis of some popular classification algorithms [37,52].
There are few studies on the evaluation of the transfer performance of each machine learning algorithm applied to remote sensing images in different periods. Based on Landsat-8 images, this study uses machine learning algorithms such as decision tree, logistic regression, random forest, and neural network to extract water bodies. First of all, the effect of each machine learning algorithm on the test set is discussed. After that, each machine learning algorithm is applied to three different local areas, and its effect on each local area is evaluated. At last, each machine learning algorithm is applied to remote sensing images in different periods to evaluate the model transfer performance of each machine learning algorithm, and three threshold methods are compared. The results could shed light on the future work of water body extraction based on remote sensing.

2. Data and Pre-Processing

2.1. Data

Landsat-8 data from the website (http://glovis.usgs.gov/ (accessed on 20 October 2021)) of the United States Geological Survey are used. Landsat-8, launched as a collaboration between the United States Geologic Survey (USGS) and National Aeronautics and Space Administration (NASA) on 11 February 2013, carries onboard the OLI push broom multispectral radiometer [53]. As shown in Table 1, the Landsat-8 OLI/TIRS imagery has 11 spectral bands in total, including eight spectral bands (i.e., three visible bands, two bands for describing aerosol, water vapor, and cirrus clouds, two short-wave infrared bands (SWIR) and near infrared (NIR)) with spatial resolution of 30 m, one panchromatic spectral band with a spatial resolution of 15 m, and two thermal spectral bands with a spatial resolution of 100 m [54]. Landsat-8 remote sensing images (path 123; raw 039) of the same area acquired on 4 October 2019 and 20 October 2019 are used in our experiment. Specifically, the data on 20 October 2019 are used to establish the model and compare the effect of each algorithm, and the data on 4 October 2019 are used to examine the performance of model transfer. Three different areas with different surface features are selected from remote sensing images. As shown in Figure 1, Area1 has a large area of water with relatively simple surface object types, while Area2 has a small water area and complex surface environment, and its water extraction is affected by numerous vegetation and mountain shadow. Area3 is located in the urban built-up area and has multiple contiguous water bodies; thus, the water extraction is affected by nearby buildings and roads.
To avoid the effects of too many clouds and aerosol, images with fewer clouds are selected here. All original data are processed by converting the original digital number (DN) value into spectral radiance, through Equation (1) [55]. The formula is given as follows:
L λ = M L · Q c a l + A L
where:
L λ = spectral   radiance ( W / m 2 · sr · um ) ;
M L = radiance   multiplicative   scaling   factor   for   the   spectral   band (radiance_mult_band_n from the metadata);
  A L =   radiance   additive   scaling   factor   for   the   spectral   band (radiance_add_band_n from the metadata);
Q c a l = raw   digital   numbers   ( DN ) .

2.2. Pre-Processing

By adopting spectral band combinations 7/5/4, 7/4/3, 6/5/4, and 4/3/2 combined with visual interpretation, a sample dataset is selected from Landsat images for classification; the sample set contains 340 water samples and 454 non-water samples. To avoid the influences of heterogeneous categories in the subsequent classification, the ratio of other ground object samples to the water body samples remains at 1.3:1.
The characteristics of the data, such as a large correlation between multiple spectral bands in the original images and similar information and structures between different spectral bands, generally bring significant amounts of redundancy. For this reason, principal component analysis (PCA) for dimensionality reduction is applied to remove repetitive and redundant information between various spectral bands [56]. The first and second principal components in the PCA with a cumulative variance contribution of 99% are selected as classification characteristics.
Based on the PCA, four generally used texture features, i.e., contrast, autocorrelation, dissimilarity, and entropy are extracted. The distance is set to be 1 pixel (distance of 30 m), 2 pixels (distance of 60 m), and 3 pixel (distance of 90 m), and 3 × 3, 5 × 5, 7 × 7, and 9 × 9 are selected as windows with orientations of 0°, 45°, 90°, and 135°. Optimal combined features are selected as the characteristic spectral bands for water body extraction. When the two parameters—i.e., window size and distance—increase, the edges of the images get fuzzy, and the window size shows more effects than distance. Considering the factors of ground objects correlation and image resolution, we set the distance to 1 pixel and select a 3 × 3 window with four orientations of 0°, 45°, 90°, and 135°.
After the size and window parameters are determined, J-M distance [57,58] and transformed divergence [59] (T-D) in many extracted texture features are used for studying the separability of ground objects; thus, the characteristics ultimately used for classification are determined as well. As shown in Table 2, the separability of the first component (PCA1) and the second component (PCA2) is compared in detail, and the separability of J-M dissimilarity in PCA2 is the optimal. Therefore, in later classifications, a total of six characteristics are selected.

3. Research Methods

First of all, the performance of machine learning algorithms with a different sample number is discussed. During this process, the optimal parameters of the models are determined and the indices, such as precision and AUC, are used to evaluate the performances of algorithms in the test set. Then, according to spectral characteristics, the water indices are constructed, and on this basis, thresholds are selected; thus, water bodies and other ground objects are classified and identified. Moreover, machine learning methods, such as SVM, decision tree, and random forest, are used to extract water bodies. At last, the accuracy of the test results is verified for the same area at different times.

3.1. MNDWI

In 2006, Xu [16] presented a modification of normalized difference water index (MNDWI) (Equation (2)) by replacing the NIR spectral band used in NDWI with the SWIR spectral band to reduce the influence of building information on water bodies. By using the MNDWI water index method, the MNDWI image is binarized by selecting an appropriate threshold to achieve water bodies extraction. The determination of thresholds affected the accuracy of water body extraction, and different thresholds might be made by subjective judgments of different people. To reduce such influences, three methods for determining thresholds are used for comparison and discussion. The three threshold methods used in this article are as follows: (1) the user-defined threshold method, which is determined according to visual effect through multiple experiments; (2) the Otsu threshold method [60,61]; and (3) the adaptive threshold method, which is used to scan the image through a 3*3 window.
The MNDWI is expressed as follows:
MNDWI = GREEN SWIR GREEN + SWIR
where Green is the radiance of the green band, which corresponds to the 3rd Landsat-8 image band; SWIR represents the short-wave infrared band radiance, namely band 6 of the Landsat-8 image.

3.2. Machine Learning Algorithms

In this research, six machine learning algorithms are selected, all of them used the same group of sample set, and the whole samples are divided into a training set and a test set by the ratio of 7:3. Furthermore, in the process of model training, the relevant parameters of the models are further trained by using 10-fold cross-validation with hierarchical sampling of the training set. Finally, some indices, such as accuracy, recall rate [62], and AUC [63], are utilized to assess the results.

3.2.1. SVM

SVM has a simple structure but a strong generalization ability to solve problems with high-dimensionality, small sample numbers [64,65]. In this study, the Gaussian radial basis function is selected as the kernel function. By using the grid search method in combination with 10-fold cross-validation, the optimal parameters are determined as C = 3 and γ = 0.003.

3.2.2. Decision Tree

The decision tree determines the categories of the samples in the dataset by assigning the sample data to a certain leaf node. There are many methods for constructing the decision tree, but all of them are based on the different purity indices selected and sample attributes for classification [66]. The algorithms ID3, C4.5, C5.0, etc. are generally used. A classification and regression tree (CART) algorithm is used in this study, and pre-pruning is utilized to avoid the overfitting problem. The parameters mainly include the limited depth of the decision tree, the minimum sample number of leaf nodes, and the least sample number of separable leaf nodes. By using the grid search method and 10-fold cross-validation, the final parameters are determined as follows: the entropy is selected as the purity index and the maximum depth is 7. The lowest sample number of separable leaf nodes is 8, and the minimum sample number of leaf nodes is 1.

3.2.3. Multi-Hidden-Layer Neural Network

The neural network uses specific learning algorithms to learn from data through many learning algorithms; however, the network is generally trained by iteratively modifying connection weights and deviations until the error between the output generated by the network and the expected output is smaller than some specified threshold [21]. The input characteristics are passed to the next layer of nerve cells through a non-linear activation function and then continue to be passed down after activation of the nerve cells in this layer. That process is repeated and cycled to the output layer. The repeated superposition of these non-linear functions ensures that the neural network has sufficient non-linear fitting ability, while different activation functions can affect the output of different neural networks. By selecting a sigmoid activation function, it is determined that the neural network structure should have four layers based on multiple tests through cross-validation. Except for input and output layers, the numbers of nerve cells in the two hidden layers are eight and six, respectively.

3.2.4. Random Forest

The random forest is an ensemble method specially designed for a decision tree classifier, and the selection of random attributes is further added to its training process. Using similar parameters to those used for the decision tree, the random forest model is easy to implement and shows good effects [32,33]. In this research, parameters are determined by using cross-validation and grid search methods. The main parameters of random forest are as follows, there are 10 weak estimators in the decision tree, and the maximum depth is 4. Moreover, a Gini function is selected as the purity index.

3.2.5. XGBoost

The core of XGBoost is an ensemble algorithm based on the gradient boosting decision tree (GBDT), and it can be used for classification or regression problems. Its modelling process is as follows: a decision tree is built, and one more tree is added upon each iteration to form a strong evaluator integrating many numerical models [67,68]. The accuracy is superior to that of a weak estimator, and its calculation speed and performance are good [69]. The main parameters are set as follows: the maximum depth of each tree is 3, and a weak classification estimator with 300 decision trees is established. The learning rate is set to be 0.01.

3.2.6. Logistic Regression Algorithm

The logistic regression is a type of classification model. It establishes a regression formula for samples and a sigmoid function is used for classification. For more information, please refer to references [70,71].

4. Experiment and Analysis

4.1. Effects of the Sample Number on Learning Algorithms

For each classification algorithm in machine learning, the basic requirement is that the training and test set are reliable and there are enough samples for training. In this way, a good classifier can be trained. It is assumed that the samples selected by visual interpretation are reliable: namely, the various classes of the sample points are assigned to correct labels. Based on this, a small sample is randomly selected from the training set and divided into a training set and a validation set in the proportion of 7:3. By using the accuracy of the validation set of the small sample as an evaluation index, the effects of the sample number on the classification effects of each algorithm are discussed, so as to judge whether the sample number selected is sufficient to achieve the purpose of the training model.
As demonstrated in Figure 2, the accuracies of the classification algorithms in the validation set of the experiment all tend to increase with the sample number, and they show a smaller error relative to the accuracy in the training set. Moreover, the accuracies gradually tend to be equal. This indicates that there is almost no underfitting of the samples, and the parameters of each algorithm are well adjusted. The accuracy of the logistic regression algorithm is improved rapidly, approximating to the accuracy in the training set when the sample number is small, suggesting that there is almost no overfitting. As the sample number increases, the accuracy stabilizes; however, other classification algorithms need larger samples to achieve this stability, and the accuracy fluctuates (albeit within a small range), therefore, the number of training samples selected in the experiment can meet the needs of model training.

4.2. Analysis of Performance Indices of Machine Learning Algorithms

After testing the performance of the models when using each algorithm on sets of different sample numbers, the effect of each model in the same test set is further evaluated, so as to reflect the predictive abilities of the models to some extent and judge the generalization abilities of the algorithms. As shown in Table 3, the value of the accuracy index and recall index of each model in classifying water bodies and other ground objects are high, the accuracy index is in the range of 0.945–1, and the recall index is in the range of 0.911–1. However, the AUC index can better represent the comprehensive performances of the models and the higher the value, the better the performance [63]. There is little difference in the effect of each machine learning algorithm on the test set, and the AUC index ranges from 0.956 to 0.987; by analyzing AUC data, the logistic regression and XGBoost algorithm are found to perform best on the test set, followed by the SVM, the neural network, then the random forest, while the decision tree has (in general) the worst performance. Whether the evaluation of these algorithms in the test set can accurately represent the generalization abilities of the algorithms for classifying water bodies in the remote sensing images needs to be discussed and studied using remote sensing images acquired under different conditions.

4.3. Comparative Analysis of NDWI and Machine Learning Algorithms

The model established by 2019/10/20 training data is used for water extraction in three areas of 2019/10/20. Statistical results of AUC indicators of each algorithm are shown in Figure 3 (For more details, see Table A1, Table A2, Table A3 and Table A4 in the Appendix A). In general, the XGBoost algorithm has the best accuracy, with an average AUC of 0.966, and the AUC indicators in the three regions are 0.985, 0.972, and 0.941 respectively, which is followed by the random forest algorithm with an average AUC of 0.964, and the AUC indicators in the three regions are 0.985, 0.973, and 0.935; the SVM algorithm has the worst accuracy, the average AUC is 0.898 and the AUC indicators in the three regions are 0.982, 0.789, and 0.923, respectively. When each machine learning algorithm is applied to three different local regions, the average range of AUC index is 0.898–0.966 (for more details, see Table A1 in Appendix A), and the descending order of each machine learning algorithm is XGBoost, random forest, decision tree, logistic regression, neural network, and SVM according to the value of the AUC index. However, this is inconsistent with the conclusion of Section 4.2. In Section 4.2, there is little difference in the accuracy of each machine learning algorithm on the test set, and the AUC index ranges from 0.956 to 0.987. The machine learning algorithms are XGBoost, LR, SVM, NN, RF, and DT in descending order according to the value of the AUC index. It further explains that the evaluation on the test set cannot represent the effect of each algorithm applied in a local area. Among the threshold classification methods, the Otsu threshold algorithm is the best, with an average AUC of 0.957, and the AUC indicators in the three regions are 0.985, 0.922, and 0.964, respectively, followed by the custom threshold algorithm, and the worst performance among all algorithms is adaptive threshold algorithm: the average AUC is only 0.764.
The image water extraction results of each algorithm were placed in the supplementary materials, as shown in Figure S1: Classification results of each algorithm in Area1 on October 20; Figure S2: Classification results of each algorithm in Area2 on October 20; Figure S3: Classification results of each algorithm in Area3 on October 20. As can be seen from the results graph, compared with other algorithms, the salt and pepper phenomenon for the adaptive threshold and custom threshold is very serious, there is a large number of non-water body “noise”, other algorithms basically have the same visual interpretation effect, and there is no obvious difference, but the edge part is slightly different due to the influence of adjacent features.

4.4. Reliability Test

To discuss the effects of the aforementioned algorithms in water body extraction from remote sensing images in different periods, a remote sensing image captured on 4 October 2019 in the same region is selected. Based on this, the water bodies are classified using the same algorithms and parameters. The aim is to verify whether the experimental results of each algorithm under different image conditions are reliable and decide whether the models are universal.
The model established by the data of 2019/10/20 is used in the data of 2019/10/04 for water body extraction. The statistical results of the AUC indicators of each algorithm are shown in Figure 4 (for more details, see Table A5, Table A6, Table A7 and Table A8 in Appendix A). As shown in Table 4, the AUC indicators of each machine learning algorithm for three regions all show a significant decline, with a decreased range of 0.33–66.52% As shown in Figure 4, the differences among the different algorithm performances in the three areas are obvious. In the surface complex Area2, the AUC index of the machine learning algorithms is near 0.5, which means it is difficult to extract water bodies accurately. In Area1 with a simple surface environment, although the accuracy of all machine learning algorithms decreases, the errors are still within an acceptable range. In general, the decision tree algorithm has better transfer performance, with an average AUC of 0.668, and the AUC indexes of the three regions are 0.790, 0.518, and 0.697 respectively. The XGBoost algorithm has an average AUC of 0.631, and its AUC index in the three regions is 0.718, 0.512, and 0.665, respectively. The logistic regression algorithm has the worst accuracy, with an average AUC of 0.392, the AUC index in the three regions is 0.329, 0.489, and 0.357, respectively, which is inconsistent with the conclusion in Section 4.2 and Section 4.3. When the model is directly transferred to remote sensing images of different periods for water extraction, the generalization ability of each machine learning algorithm is different. Among the threshold classification methods, the Otsu threshold algorithm is optimal, and its average AUC is 0.832. The AUC indexes in the three regions are 0.970, 0.617, and 0.908, respectively, which exceed the accuracy of the other machine learning algorithms. For the other two threshold algorithm, custom threshold, whose average AUC is 0.700, and the AUC indexes in the three regions are 0.842, 0.549, and 0.708 respectively. The adaptive threshold algorithm has an average AUC of 0.611, and its AUC indicators in the three regions are 0.703, 0.506, and 0.623 respectively. All in all, for different periods of remote sensing images, the threshold method is better than most of the machine learning algorithms, because the sensor imaging is affected by clouds, sun angles, and sensors. Due to the influence of the angle and other factors, the characteristics of remote sensing images will be very different during the adjacent imaging time. Even if there is no major change in the surface features, the pixel value of the remote sensing image could also change significantly. Therefore, the machine learning models trained on the data of 2019/10/20 may not be suitable for different periods.
However, the water extraction effect of the threshold method is related to the remote sensing image data, and the water extraction effects of remote sensing images from different periods do not affect each other.
The water extraction results of each algorithm were placed in the supplementary materials, as shown in Figure S4: Classification results of each algorithm in Area1 on October 4; Figure S5: Classification results of each algorithm in Area2 on October 4; Figure S6: Classification results of each algorithm in Area3 on October 4. It can be seen from the classification result diagrams that most of the machine learning pepper and salt phenomenon is very serious, and there is a large number of non-water “noise”. The visual effects of various algorithms are also significantly different.

5. Discussion

This study mainly selects neural network, support vector machine (SVM), logistic regression, random forest, decision tree, and XGBoost from machine learning algorithms, and it selects the MNDWI water index combined with three threshold methods to extract the water bodies. Michael Schmitt [72] pointed out that for a simple surface environment, only the threshold method can achieve satisfactory results, and when the surface environment is slightly more complicated, a supervised classification method, such as SVM, needs to be introduced. However, for the supervised classification method, how to choose the appropriate number of samples is a problem worthy of research. For example, Deepakrishna Somasundaram et al. [73] selected 3765 water samples and 2685 non-water samples from the four-view Landsat-8 OLI image; Wei Jiang et al. [74] selected more than 10,000 water samples and non-water samples in each study area. The choice of these large numbers of training samples brings additional costs. In order to study the influence of sample size on various algorithms, an experiment was designed in this paper, as outlined in Section 4.1. As shown in Figure 2, there are great differences in the number of samples required for various algorithms to reach their optimal. The logistic regression algorithm requires the lowest number of samples, which is close to 110. The SVM algorithm has the best performance when the number of samples reaches 150. As the number of samples increases, the order of the optimal model is neural network, random forest, decision tree, and XGBoost. The primary task of water body extraction is to select a certain number of samples for the training model. The conclusion of the sample number requirements of each machine learning algorithm in this paper can be used as a reference for other similar applications to reduce the cost of sample selection.
Most studies only use test set samples to evaluate the optimal model and use the selected model for the final classification of images. However, Liu Yang et al. [75] pointed out that in different surface environments, various types of shadows or background noises need to be considered. For example, compared with arid areas, the influence of vegetation on water extraction should be considered in humid areas. In mountainous areas, the extracted water is often mixed with mountain shadow. These types of background information have different influences on different water extraction algorithms [61,76]. For the above reasons, it is worth discussing whether the evaluation effect on the test set can explain the actual generalization performance of the model, that is, whether the evaluation effect on the test set is consistent with the evaluation effect on the local area. For this reason, three local areas with different ground conditions are selected. As shown in Figure 3, in general, the simpler the ground scene, the better the classification accuracy. If the ground scene is complex, the accuracy of various algorithms has a great difference. Generally, three algorithms (decision tree, XGBoost, and Otsu) can perform well in various scenarios. In the case of mountain shadow in the ground background, it is suggested to give priority to the XGBoost algorithm. In the case of roads and buildings in the ground background, besides the XGBoost or decision tree algorithms, a logistic regression algorithm with a relatively simple model can also be tried.
However, when multi-stage extraction research on water bodies is needed, the original model will naturally be directly used to extract water bodies from remote sensing images in other different periods. As shown in Table 4, when various machine learning algorithms are directly used to extract water bodies from remote sensing images in different periods, the AUC indicators of each machine learning algorithm for the three regions all show a significant decline, with a decrease range of 0.33–66.52%. Generally, simple ground scenes have higher accuracy, while complex ground scenes have some effects for different machine learning algorithms. As shown in Table 4, among all the machine learning algorithms, the accuracy of decision tree decreased the least in the three regions on average, and the AUC index decreased 30.43% on average, followed by XGBoost. In the threshold method, although the change of adaptive threshold is small, its accuracy is always very low, while the Otsu algorithm not only has a good accuracy, but also the average decline of the AUC index is small, which is 13.46%. The decision tree algorithm can still achieve better classification results, and the Otsu algorithm also performs well. Experiments show that it is not recommended to directly use the machine learning model to extract water from remote sensing images in different periods. The Otsu classification result can be used as a reference, so that training samples can be selected in other periods quickly and conveniently to extract water bodies using machine learning algorithms.
In summary, for water extraction from remote sensing images, although various algorithms can achieve satisfactory results under certain conditions, none of them can be applied to all remote sensing image and scenes. The factors affecting the classification accuracy of remote sensing images mainly include the complexity of the field landscape, the availability of data, the effectiveness of the processing method, and the experience judgment of the processing personnel [5,76]. Therefore, on the basis of this study, when extracting water from remote sensing images, the water index (MNDWI preferred) can be used first and combined with the Otsu algorithm to classify water bodies. This result is in agreement with the results obtained by Ya’nan Zhou et al. [38], who used the NDWI image to select water samples from the input image. However, if the accuracy does not meet the requirements of the application, on the basis of its classification, researchers can further select the number of samples that meet the requirements of various machine learning algorithms (Figure 2) and select the corresponding machine learning training model. Among the various machine learning algorithms, XGBoost, decision tree, and logistic regression algorithms are preferentially recommended.

6. Conclusions

Based on Landsat-8 images, decision tree, logistic regression, random forest, neural network, support vector machine, and XGBoost algorithms are used to extract water bodies. Firstly, the effect of each machine learning algorithm on the test set is discussed. Secondly, each machine learning algorithm is applied to three different local areas, and the consistency between the accuracy of each machine learning algorithm on the test set and the accuracy of the local area is evaluated. Finally, each machine learning algorithm is applied to remote sensing images in different periods, the model transfer performance of each machine learning algorithm is examined, and three threshold methods are compared. The following conclusions are drawn:
(1) There are great differences in the numbers of samples required for various algorithms to reach their optimal. The logistic regression algorithm requires a minimum number of samples, about 110. The SVM algorithm has the best performance when the number of samples reaches 150. As the number of samples increases, the optimal order of the model is neural network, random forest, decision tree, and XGBoost.
(2) The accuracy evaluation effect of each machine learning on the test set cannot represent the effect on the local area, because the surface complexity is not same in the three local areas. In Area1 with a single surface type, its AUC range is 0.982–0.985; in Area2 with complex surface environment (numerous vegetation and mountain shadow), its AUC range is 0.789–0.973; in Area3 with wide water distribution, its AUC range is 0.923–0.941 in an urban built-up area.
(3) When the models are directly applied to remote sensing images in different periods, the model accuracy is greatly reduced, the AUC indicators of each machine learning algorithm for three regions all show a significant decline, with a decreasing range of 0.33–66.52%. In general, among the machine learning algorithms, the decision tree algorithm has good transfer performance, with an average AUC of 0.668, and the AUC indexes in the three regions are 0.790, 0.518, and 0.697 respectively. Among the threshold methods, the Otsu threshold algorithm is the optimal, with an average AUC of 0.832 and AUC indexes in the three regions are 0.970, 0.617, and 0.908, respectively.
(4) Owing to the complex distribution of ground objects and many influential factors in the remote sensing image classification, it is difficult to collect small and dispersed water bodies in this research. This limits the performances of these models in the environment with many hill shadows and complex ground objects. The accuracy of these models needs to be further improved; more samples should be collected from images over different areas and periods to train the models in the future.

Supplementary Materials

The following are available online at https://www.mdpi.com/article/10.3390/app112110062/s1, Detailed descriptions of Figure S1: Classification results of each algorithm in Area1 on October 20; Figure S2: Classification results of each algorithm in Area2 on October 20; Figure S3: Classification results of each algorithm in Area3 on October 20; Figure S4: Classification results of each algorithm in Area1 on October 4; Figure S5: Classification results of each algorithm in Area2 on October 4; Figure S6: Classification results of each algorithm in Area3 on October 4.

Author Contributions

Supervision, A.L.; Writing—original draft, M.F.; Writing—review and editing, M.F., G.Q., Y.X. and H.W. All authors have read and agreed to the published version of the manuscript.

Funding

The work is supported by the Joint Funds of National Natural Science Foundation of China (Grant no. U1704125).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. Statistics of the AUC index of each algorithm applied in the three regions.
Table A1. Statistics of the AUC index of each algorithm applied in the three regions.
The Method NameArea1Area2Area3Average
Threshold MethodCustom Threshold0.9190.6260.7480.764
Otsu Threshold0.9850.9220.9640.957
Adaptive Threshold0.7090.5070.6250.614
Machine Learning MethodLogistic Regression0.9840.9290.9330.949
SVM0.9820.7890.9230.898
Random Forest0.9850.9730.9350.964
XGBoost0.9850.9720.9410.966
Neural Network0.9840.8500.9350.923
Decision Tree0.9820.9650.9350.961
Table A2. Statistics of various indexes of each algorithm in Area1 on October 20.
Table A2. Statistics of various indexes of each algorithm in Area1 on October 20.
MethodCategoryPrecisionRecallF1-ScoreAUC
Neural Networkwater0.9980.9450.9710.984
other0.9710.9990.985
Random Forestwater0.9970.9500.9730.985
other0.9730.9980.986
SVMwater0.9990.9330.9650.982
other0.9641.0000.982
XGBoostwater0.9960.9520.9740.985
other0.9740.9980.986
Logistic Regressionwater0.9990.9420.9700.984
other0.9691.0000.984
Decision Treewater0.9980.9370.9660.982
other0.9660.9990.982
Adaptive Thresholdwater0.5080.9090.6520.709
other0.9110.5150.658
Custom Thresholdwater0.8380.9990.9120.919
other0.9990.8940.944
Otsu Thresholdwater0.9790.9830.9810.985
other0.9910.9880.990
Table A3. Statistics of various indexes of each algorithm in Area2 on October 20.
Table A3. Statistics of various indexes of each algorithm in Area2 on October 20.
MethodCategoryPrecisionRecallF1-ScoreAUC
Neural Networkwater0.7080.5950..6470.850
other0.9920.9950.993
Random Forestwater0.9620.2410.3850.973
other0.9841.0000.992
SVMwater0.5850.7120.6420.789
other0.9940.9890.992
XGBoostwater0.9610.2210.3600.972
other0.9841.0000.992
Logistic Regressionwater0.8690.4980.6330.929
other0.9900.9980.994
Decision Treewater0.9480.1440.2500.965
other0.9821.0000.991
Adaptive Thresholdwater0.0270.6700.0520.507
other0.9860.4960.660
Custom Thresholdwater0.2560.8250.3910.626
other0.9960.9500.972
Otsu Thresholdwater0.8560.3610.5080.922
other0.9870.9990.993
Table A4. Statistics of various indexes of each algorithm in Area3 on October 20.
Table A4. Statistics of various indexes of each algorithm in Area3 on October 20.
MethodCategoryPrecisionRecallF1-ScoreAUC
Neural Networkwater0.9820.6900.8100.935
other0.8890.9950.939
Random Forestwater0.9990.6280.7710.935
other0.8701.0000.930
SVMwater0.9950.5670.7220.923
other0.8520.9990.919
XGBoostwater0.9980.6710.8020.941
other0.8830.9990.938
Logistic Regressionwater0.9970.6240.7680.933
other0.8690.9990.929
Decision Treewater0.9840.6820.8050.935
other0.8860.9950.938
Adaptive Thresholdwater0.4050.7470.5250.625
other0.8460.5580.673
Custom Thresholdwater0.4971.0000.6640.748
other1.0000.5930.745
Otsu Thresholdwater0.9700.8930.9300.964
other0.9580.9890.973
Table A5. AUC index statistics of each algorithm in three regions on October 4.
Table A5. AUC index statistics of each algorithm in three regions on October 4.
The Method NameArea1Area2Area3Average
Threshold MethodCustom Threshold0.8420.5490.7080.700
Otsu Threshold0.9700.6170.9080.832
Adaptive Threshold0.7030.5060.6230.611
Machine Learning MethodLogistic Regression0.3290.4890.3570.392
SVM0.3310.5350.3650.410
Random Forest0.6880.4890.3490.509
XGBoost0.7180.5120.6650.631
Neural Network0.6880.4850.3540.509
Decision Tree0.7900.5180.6970.668
Table A6. Statistics of various indexes of each algorithm in Area1 on October 4.
Table A6. Statistics of various indexes of each algorithm in Area1 on October 4.
MethodCategoryPrecisionRecallF1-ScoreAUC
Neural Networkwater0.3790.9990.5500.688
other0.9960.0970.177
Random Forestwater0.3771.0000.5470.688
other1.0000.0870.160
SVMwater0.0200.0010.0010.331
other0.6430.9940.781
XGBoostwater0.4351.0000.6070.718
other1.0000.2840.442
Logistic Regressionwater0.0170.0010.0010.329
other0.6420.9900.779
Decision Treewater0.5791.0000.7340.790
other1.0000.5990.749
Adaptive Thresholdwater0.4930.9180.6410.703
other0.9130.4780.628
Custom Thresholdwater0.6850.9980.8120.842
other0.9980.7460.854
Otsu Thresholdwater0.9490.9850.9670.970
other0.9920.9710.981
Table A7. Statistics of various indexes of each algorithm in Area2 on October 4.
Table A7. Statistics of various indexes of each algorithm in Area2 on October 4.
MethodCategoryPrecisionRecallF1-ScoreAUC
Neural Networkwater0.0280.9990.0550.485
other1.0000.2830.441
Random Forestwater0.0221.0000.0420.489
other1.0000.0500.095
SVMwater0.0900.0390.0540.535
other0.9800.9920.986
XGBoostwater0.0241.0000.0480.512
other1.0000.1650.283
Logistic Regressionwater0.0010.0010.0010.489
other0.9780.9370.957
Decision Treewater0.0370.9920.0720.518
other1.0000.4630.633
Adaptive Thresholdwater0.0260.6920.0500.506
other0.9860.4510.619
Custom Thresholdwater0.1000.9250.1810.549
other0.9980.8260.904
Otsu Thresholdwater0.2480.3140.2770.617
other0.9860.9800.983
Table A8. Statistics of various indexes of each algorithm in Area3 on October 4.
Table A8. Statistics of various indexes of each algorithm in Area3 on October 4.
MethodCategoryPrecisionRecallF1-ScoreAUC
Neural Networkwater0.0070.0010.0010.354
other0.7020.9440.805
Random Forestwater0.0010.0020.0010.349
other0.6970.9240.794
SVMwater0.0200.0010.0020.365
other0.7090.9780.822
XGBoostwater0.3291.0000.4960.665
other1.0000.1830.309
Logistic Regressionwater0.0020.0010.0010.357
other0.7120.9940.830
Decision Treewater0.3951.0000.5670.697
other1.0000.3860.557
Adaptive Thresholdwater0.3990.7560.5230.623
other0.8470.5430.662
Custom Thresholdwater0.4190.9970.5900.708
other0.9970.4440.615
Otsu Thresholdwater0.8280.9730.8950.908
other0.9880.9190.952

References

  1. Fletcher, T.D.; Andrieu, H.; Hamel, P. Understanding, management and modelling of urban hydrology and its consequences for receiving waters: A state of the art. Adv. Water Resour. 2013, 51, 261–279. [Google Scholar] [CrossRef]
  2. Papa, F.; Prigent, C.; Rossow, W.B. Monitoring Flood and Discharge Variations in the Large Siberian Rivers From a Multi-Satellite Technique. Surv. Geophys. 2008, 29, 297–317. [Google Scholar] [CrossRef]
  3. Chen, C.; He, X.Y.; Lu, Y.; Chu, Y.L. Application of Landsat Time-Series Data in Island Ecological Environment Monitoring: A Case Study of Zhoushan Islands, China. J. Coast. Res. 2020, 108, 193–199. [Google Scholar] [CrossRef]
  4. Yang, Y.; Yang, Y.; Liu, D.; Nordblom, T.; Wu, B.; Yan, N. Regional Water Balance Based on Remotely Sensed Evapotranspiration and Irrigation: An Assessment of the Haihe Plain, China. Remote Sens. 2014, 6, 2514–2533. [Google Scholar] [CrossRef] [Green Version]
  5. Wang, Y.N.; Huang, F.; Wei, Y.C. Water Body Extraction from LANDSAT ETM plus Image Using MNDWI and K-T Transformation. In Proceedings of the 2013 21st International Conference Geoinformatics, Kaifeng, China, 20–22 June 2013. [Google Scholar]
  6. Yang, X.; Zhao, S.; Qin, X.; Zhao, N.; Liang, L. Mapping of Urban Surface Water Bodies from Sentinel-2 MSI Imagery at 10 m Resolution via NDWI-Based Image Sharpening. Remote Sens. 2017, 9, 596. [Google Scholar] [CrossRef] [Green Version]
  7. Durand, M.; Gleason, C.J.; Garambois, P.A.; Bjerklie, D.; Smith, L.C.; Roux, H.; Rodriguez, E.; Bates, P.D.; Pavelsky, T.M.; Monnier, J.; et al. An intercomparison of remote sensing river discharge estimation algorithms from measurements of river height, width, and slope. Water Resour. Res. 2016, 52, 4527–4549. [Google Scholar] [CrossRef] [Green Version]
  8. Yang, X.; Qin, Q.; Grussenmeyer, P.; Koehl, M. Urban surface water body detection with suppressed built-up noise based on water indices from Sentinel-2 MSI imagery. Remote Sens. Environ. 2018, 219, 259–270. [Google Scholar] [CrossRef]
  9. Cui, X.; Guo, X.; Wang, Y.; Wang, X.; Zhu, W.; Shi, J.; Lin, C.; Gao, X. Application of remote sensing to water environmental processes under a changing climate. J. Hydrol. 2019, 574, 892–902. [Google Scholar] [CrossRef]
  10. Li, D.; Wang, G.; Qin, C.; Wu, B. River Extraction under Bankfull Discharge Conditions Based on Sentinel-2 Imagery and DEM Data. Remote Sens. 2021, 13, 2650. [Google Scholar] [CrossRef]
  11. Du, Y.; Zhang, Y.H.; Ling, F.; Wang, Q.M.; Li, W.B.; Li, X.D. Water Bodies’ Mapping from Sentinel-2 Imagery with Modified Normalized Difference Water Index at 10-m Spatial Resolution Produced by Sharpening the SWIR Band. Remote Sens. 2016, 8, 354. [Google Scholar] [CrossRef] [Green Version]
  12. Donchyts, G.; Baart, F.; Winsemius, H.; Gorelick, N.; Kwadijk, J.; van de Giesen, N. Earth’s surface water change over the past 30 years. Nat. Clim. Chang. 2016, 6, 810–813. [Google Scholar] [CrossRef]
  13. Yang, K.; Yao, F.; Wang, J.; Luo, J.; Shen, Z.; Wang, C.; Song, C. Recent dynamics of alpine lakes on the endorheic Changtang Plateau from multi-mission satellite data. J. Hydrol. 2017, 552, 633–645. [Google Scholar] [CrossRef]
  14. Cao, M.; Mao, K.; Shen, X.; Xu, T.; Yan, Y.; Yuan, Z. Monitoring the Spatial and Temporal Variations in The Water Surface and Floating Algal Bloom Areas in Dongting Lake Using a Long-Term MODIS Image Time Series. Remote Sens. 2020, 12, 3622. [Google Scholar] [CrossRef]
  15. McFeeters, S.K. The use of the Normalized Difference Water Index (NDWI) in the delineation of open water features. Int. J. Remote Sens. 1996, 17, 1425–1432. [Google Scholar] [CrossRef]
  16. Xu, H. Modification of normalised difference water index (NDWI) to enhance open water features in remotely sensed imagery. Int. J. Remote Sens. 2006, 27, 3025–3033. [Google Scholar] [CrossRef]
  17. Feyisa, G.L.; Meilby, H.; Fensholt, R.; Proud, S.R. Automated Water Extraction Index: A new technique for surface water mapping using Landsat imagery. Remote Sens. Environ. 2014, 140, 23–35. [Google Scholar] [CrossRef]
  18. Du, Z.; Li, W.; Zhou, D.; Tian, L.; Ling, F.; Wang, H.; Gui, Y.; Sun, B. Analysis of Landsat-8 OLI imagery for land surface water mapping. Remote Sens. Lett. 2014, 5, 672–681. [Google Scholar] [CrossRef]
  19. Singh, K.V.; Setia, R.; Sahoo, S.; Prasad, A.; Pateriya, B. Evaluation of NDWI and MNDWI for assessment of waterlogging by integrating digital elevation model and groundwater level. Geocarto Int. 2015, 30, 650–661. [Google Scholar] [CrossRef]
  20. Duan, Z.; Bastiaanssen, W.G.M. Estimating water volume variations in lakes and reservoirs from four operational satellite altimetry databases and satellite imagery data. Remote Sens. Environ. 2013, 134, 403–416. [Google Scholar] [CrossRef]
  21. Zhang, L.; Wang, J.S.; An, Z.Y. Classification method of CO2 hyperspectral remote sensing data based on neural network. Comput. Commun. 2020, 156, 124–130. [Google Scholar] [CrossRef]
  22. Li, Y.F.; Liu, C.C.; Zhao, W.P.; Huang, Y.F. Multi-spectral remote sensing images feature coverage classification based on improved convolutional neural network. Math. Biosci. Eng. 2020, 17, 4443–4456. [Google Scholar] [CrossRef]
  23. Cui, W.; Zhou, Q.; Zheng, Z.D. Application of a Hybrid Model Based on a Convolutional Auto-Encoder and Convolutional Neural Network in Object-Oriented Remote Sensing Classification. Algorithms 2018, 11, 9. [Google Scholar] [CrossRef] [Green Version]
  24. Tian, Y.; Jia, R.S.; Xu, S.H.; Hua, R.; Deng, M.D. Super-resolution reconstruction of remote sensing images based on convolutional neural network. J. Appl. Remote Sens. 2019, 13, 13. [Google Scholar] [CrossRef]
  25. Chen, Y.; Fan, R.; Yang, X.; Wang, J.; Latif, A. Extraction of urban water bodies from high-resolution remote-sensing imagery using deep learning. Water 2018, 10, 585. [Google Scholar] [CrossRef] [Green Version]
  26. Qi, H.N.; Huang, M.L. Research on SVM ensemble and its application to remote sensing classification. In Proceedings of the International Conference on Intelligent Systems and Knowledge Engineering (ISKE 2007), Chengdu, China, 15–16 October 2007. [Google Scholar]
  27. Alimjan, G.; Sun, T.L.; Jumahun, H.; Guan, Y.; Zhou, W.T.; Sun, H.G. A Hybrid Classification Approach Based on Support Vector Machine and K-Nearest Neighbor for Remote Sensing Data. Int. J. Pattern Recognit. Artif. Intell. 2017, 31, 1750034. [Google Scholar] [CrossRef]
  28. Razaque, A.; Frej, M.B.; Almi’ani, M.; Alotaibi, M.; Alotaibi, B. Improved Support Vector Machine Enabled Radial Basis Function and Linear Variants for Remote Sensing Image Classification. Sensors 2021, 21, 4431. [Google Scholar] [CrossRef] [PubMed]
  29. Cheng, Q.; Varshney, P.K.; Arora, M.K. Logistic regression for feature selection and soft classification of remote sensing data. IEEE Geosci. Remote Sens. Lett. 2006, 3, 491–494. [Google Scholar] [CrossRef]
  30. Hogland, J.; Billor, N.; Anderson, N. Comparison of standard maximum likelihood classification and polytomous logistic regression used in remote sensing. Eur. J. Remote Sens. 2013, 46, 623–640. [Google Scholar] [CrossRef] [Green Version]
  31. Veerabhadraswamy, N.; Devagiri, G.M.; Khaple, A.K. Fusion of complementary information of SAR and optical data for forest cover mapping using random forest algorithm. Curr. Sci. 2021, 120, 193–199. [Google Scholar] [CrossRef]
  32. Li, L.H.; Jing, W.P.; Wang, H.H. Extracting the Forest Type From Remote Sensing Images by Random Forest. IEEE Sens. J. 2021, 21, 17447–17454. [Google Scholar] [CrossRef]
  33. Shetty, S.; Gupta, P.K.; Belgiu, M.; Srivastav, S.K. Assessing the Effect of Training Sampling Design on the Performance of Machine Learning Classifiers for Land Cover Mapping Using Multi-Temporal Remote Sensing Data and Google Earth Engine. Remote Sens. 2021, 13, 1433. [Google Scholar] [CrossRef]
  34. Liang, G.; Zhao, X.L.; Zhao, J.H.; Zhou, F.N. Feature Selection and Mislabeled Waveform Correction for Water-Land Discrimination Using Airborne Infrared Laser. Remote Sens. 2021, 13, 3628. [Google Scholar] [CrossRef]
  35. Memarsadeghi, N.; Mount, D.M.; Netanyahu, N.S.; Le Moigne, J. A fast implementation of the ISODATA clustering algorithm. Int. J. Comput. Geom. Appl. 2007, 17, 71–103. [Google Scholar] [CrossRef]
  36. Mahboob, M.; Genc, B. Evaluation of ISODATA Clustering Algorithm for Surface Gold Mining Using Satellite Data. In Proceedings of the 2019 International Conference on Electrical, Communication, and Computer Engineering (ICECCE), Swat, Pakistan, 24–25 July 2019. [Google Scholar]
  37. Balha, A.; Mallick, J.; Pandey, S.; Gupta, S.; Singh, C.K. A comparative analysis of different pixel and object-based classification algorithms using multi-source high spatial resolution satellite data for LULC mapping. Earth Sci. Inform. 2021, 1–17. [Google Scholar] [CrossRef]
  38. Zhou, Y.; Luo, J.; Shen, Z.; Hu, X.; Yang, H. Multiscale Water Body Extraction in Urban Environments From Satellite Images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2014, 7, 4301–4312. [Google Scholar] [CrossRef]
  39. Janowski, L.; Wroblewski, R.; Dworniczak, J.; Kolakowski, M.; Rogowska, K.; Wojcik, M.; Gajewski, J. Offshore benthic habitat mapping based on object-based image analysis and geomorphometric approach. A case study from the Slupsk Bank, Southern Baltic Sea. Sci. Total Environ. 2021, 801, 149712. [Google Scholar] [CrossRef] [PubMed]
  40. Granger, J.E.; Mahdianpari, M.; Puestow, T.; Warren, S.; Mohammadimanesh, F.; Salehi, B.; Brisco, B. Object-based random forest wetland mapping in Conne River, Newfoundland, Canada. J. Appl. Remote Sens. 2021, 15, 038506. [Google Scholar] [CrossRef]
  41. Zhao, B.; Gou, P.; Yang, F.; Tang, P.P. Improving object-oriented land use/cover classification from high resolution imagery by spectral similarity-based post-classification. Geocarto Int. 2021, 1–24. [Google Scholar] [CrossRef]
  42. Aahlaad, M.; Mozumder, C.; Tripathi, N.; Pal, I. An Object-Based Image Analysis of WorldView-3 Image for Urban Flood Vulnerability Assessment and Dissemination Through ESRI Story Maps. J. Indian Soc. Remote Sens. 2021, 1–16. [Google Scholar] [CrossRef]
  43. Ma, L.; Zhu, X.X.; Qiu, C.P.; Blaschke, T.; Li, M.C. Advances of Local Climate Zone Mapping and Its Practice Using Object-Based Image Analysis. Atmosphere 2021, 12, 1146. [Google Scholar] [CrossRef]
  44. Du, S.H.; Du, S.H.; Liu, B.; Zhang, X.Y. Mapping large-scale and fine-grained urban functional zones from VHR images using a multi-scale semantic segmentation network and object based approach. Remote Sens. Environ. 2021, 261, 112480. [Google Scholar] [CrossRef]
  45. Guo, S.C.; Du, P.J.; Xia, J.S.; Tang, P.F.; Wang, X.; Meng, Y.P.; Wang, H. Spatiotemporal changes of glacier and seasonal snow fluctuations over the Namcha Barwa-Gyala Peri massif using object-based classification from Landsat time series. ISPRS J. Photogramm. Remote Sens. 2021, 177, 21–37. [Google Scholar] [CrossRef]
  46. Liu, X.; Zhang, Y.; Ling, X.; Huang, X. Automatic and Unsupervised Water Body Extraction Based on Spectral-Spatial Features Using GF-1 Satellite Imagery. IEEE Geosci. Remote Sens. Lett. 2018, 16, 927–931. [Google Scholar] [CrossRef]
  47. Bao, L.; Lv, X.; Yao, J. Water Extraction in SAR Images Using Features Analysis and Dual-Threshold Graph Cut Model. Remote Sens. 2021, 13, 3465. [Google Scholar] [CrossRef]
  48. Di Baldassarre, G.; Schumann, G.; Brandimarte, L.; Bates, P. Timely Low Resolution SAR Imagery To Support Floodplain Modelling: A Case Study Review. Surv. Geophys. 2011, 32, 255–269. [Google Scholar] [CrossRef]
  49. Long, S.; Fatoyinbo, T.E.; Policelli, F. Flood extent mapping for Namibia using change detection and thresholding with SAR. Environ. Res. Lett. 2014, 9, 35002. [Google Scholar] [CrossRef]
  50. Pulvirenti, L.; Chini, M.; Pierdicca, N.; Guerriero, L.; Ferrazzoli, P. Flood monitoring using multi-temporal COSMO-SkyMed data: Image segmentation and signature interpretation. Remote Sens. Environ. 2011, 115, 990–1002. [Google Scholar] [CrossRef]
  51. Zhao, L.; Yang, J.; Li, P.; Zhang, L. Seasonal inundation monitoring and vegetation pattern mapping of the Erguna floodplain by means of a RADARSAT-2 fully polarimetric time series. Remote Sens. Environ. 2014, 152, 426–440. [Google Scholar] [CrossRef]
  52. Srivastava, P.K.; Han, D.; Rico-Ramirez, M.A.; Bray, M.; Islam, T. Selection of classification techniques for land use/land cover change investigation. Adv. Sp. Res. 2012, 50, 1250–1265. [Google Scholar] [CrossRef]
  53. Kuhn, C.; de Matos Valerio, A.; Ward, N.; Loken, L.; Sawakuchi, H.O.; Kampel, M.; Richey, J.; Stadler, P.; Crawford, J.; Striegl, R.; et al. Performance of Landsat-8 and Sentinel-2 surface reflectance products for river remote sensing retrievals of chlorophyll-a and turbidity. Remote Sens. Environ. 2019, 224, 104–118. [Google Scholar] [CrossRef] [Green Version]
  54. García-Llamas, P.; Suárez-Seoane, S.; Fernández-Guisuraga, J.M.; Fernández-García, V.; Fernández-Manso, A.; Quintano, C.; Taboada, A.; Marcos, E.; Calvo, L. Evaluation and comparison of Landsat 8, Sentinel-2 and Deimos-1 remote sensing indices for assessing burn severity in Mediterranean fire-prone ecosystems. Int. J. Appl. Earth Obs. Geoinf. 2019, 80, 137–144. [Google Scholar] [CrossRef]
  55. U.S. Geological Survey. Landsat 8 Data Users Handbook. Nasa 2016, 8, 97. [Google Scholar]
  56. Zhao, G.; Maclean, A.L. A comparison of canonical discriminant analysis and principal component analysis for spectral transformation. Photogramm. Eng. Remote Sens. 2000, 66, 841–847. [Google Scholar]
  57. Mohajane, M.; Essahlaoui, A.; Oudija, F.; Hafyani, M.E.; Hmaidi, A.E.; Ouali, A.E.; Randazzo, G.; Teodoro, A.C. Land Use/Land Cover (LULC) Using Landsat Data Series (MSS, TM, ETM+ and OLI) in Azrou Forest, in the Central Middle Atlas of Morocco. Environ. 2018, 5, 131. [Google Scholar] [CrossRef] [Green Version]
  58. Randazzo, G.; Cascio, M.; Fontana, M.; Gregorio, F.; Lanza, S.; Muzirafuti, A. Mapping of Sicilian Pocket Beaches Land Use/Land Cover with Sentinel-2 Imagery: A Case Study of Messina Province. Land 2021, 10, 678. [Google Scholar] [CrossRef]
  59. Forestier, G.; Inglada, J.; Wemmert, C.; Gancarski, P. Comparison of optical sensors discrimination ability using spectral libraries. Int. J. Remote Sens. 2013, 34, 2327–2349. [Google Scholar] [CrossRef]
  60. Otsu, N. A Threshold Selection Method from Gray-Level Histograms. IEEE Trans. Syst. Man. Cybern. 1979, 9, 62–66. [Google Scholar] [CrossRef] [Green Version]
  61. Ji, L.; Zhang, L.; Wylie, B. Analysis of Dynamic Thresholds for the Normalized Difference Water Index. Photogramm. Eng. Remote Sens. 2009, 75, 1307–1317. [Google Scholar] [CrossRef]
  62. Xie, H.; Zhang, Y.; He, Y.; You, K.; Fan, B.; Yu, D.; Li, M. Automatic and Fast Recognition of On-Road High-Emitting Vehicles Using an Optical Remote Sensing System. Sens. 2019, 19, 3540. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  63. Huo, J.; Gao, Y.; Shi, Y.; Yin, H. Cross-Modal Metric Learning for AUC Optimization. IEEE Trans. Neural Netw. Learn. Syst. 2018, 29, 4844–4856. [Google Scholar] [CrossRef] [Green Version]
  64. Pal, M.; Mather, P.M. Support vector machines for classification in remote sensing. Int. J. Remote Sens. 2005, 26, 1007–1011. [Google Scholar] [CrossRef]
  65. Min, J.H.; Lee, Y.-C. Bankruptcy prediction using support vector machine with optimal choice of kernel function parameters. Expert Syst. Appl. 2005, 28, 603–614. [Google Scholar] [CrossRef]
  66. Zhang, L. Management of offshore oil pollution and logistics transportation based on decision tree. Arab. J. Geosci. 2021, 14, 1655. [Google Scholar] [CrossRef]
  67. Ma, M.H.; Zhao, G.; He, B.S.; Li, Q.; Dong, H.Y.; Wang, S.G.; Wang, Z.L. XGBoost-based method for flash flood risk assessment. J. Hydrol. 2021, 598, 126382. [Google Scholar] [CrossRef]
  68. Buthelezi, M.N.M.; Lottering, R.T.; Hlatshwayo, S.T.; Peerbhay, K. Comparing rotation forests and extreme gradient boosting for monitoring drought damage on KwaZulu-Natal commercial forests. Geocarto Int. 2020, 1–24. [Google Scholar] [CrossRef]
  69. Samat, A.; Li, E.Z.; Wang, W.; Liu, S.C.; Lin, C.; Abuduwaili, J. Meta-XGBoost for Hyperspectral Image Classification Using Extended MSER-Guided Morphological Profiles. Remote Sens. 2020, 12, 1973. [Google Scholar] [CrossRef]
  70. Peng, J.; Lee, K.; Ingersoll, G. An Introduction to Logistic Regression Analysis and Reporting. J. Educ. Res. 2002, 96, 3–14. [Google Scholar] [CrossRef]
  71. Mishra, V.N.; Kumar, V.; Prasad, R.; Punia, M. Geographically Weighted Method Integrated with Logistic Regression for Analyzing Spatially Varying Accuracy Measures of Remote Sensing Image Classification. J. Indian Soc. Remote Sens. 2021, 49, 1189–1199. [Google Scholar] [CrossRef]
  72. Schmitt, M. Potential of Large-Scale Inland Water Body Mapping from Sentinel-1/2 Data on the Example of Bavaria’s Lakes and Rivers. PFG–J. Photogramm. Remote Sens. Geoinf. Sci. 2020, 88, 271–289. [Google Scholar] [CrossRef]
  73. Somasundaram, D.; Zhang, F.; Wang, S.; Ye, H.; Zhang, Z. Learning vector quantization neural network for surface water extraction from Landsat OLI images. J. Appl. Remote Sens. 2020, 14, 032605. [Google Scholar] [CrossRef] [Green Version]
  74. Jiang, W.; He, G.; Long, T.; Ni, Y.; Liu, H.; Peng, Y.; Wang guizhou, W. guizhou Multilayer Perceptron Neural Network for Surface Water Extraction in Landsat 8 OLI Satellite Images. Remote Sens. 2018, 10, 755. [Google Scholar] [CrossRef] [Green Version]
  75. Yang, L.; Tian, S.W.; Yu, L.; Ye, F.Y.; Qian, J.; Qian, Y.R. Deep learning for extracting water body from landsat imagery. Int. J. Innov. Comput. Inf. Control 2015, 11, 1913–1929. [Google Scholar]
  76. Roli, F.; Giacinto, G.; Vernazza, G. Comparison and Combination of Statistical and Neural Network Algorithms for Remote-Sensing Image Classification. In Neurocomputation in Remote Sensing Data Analysis; Kanellopoulos, I., Wilkinson, G.G., Roli, F., Austin, J., Eds.; Springer: Berlin/Heidelberg, Germany, 1997; pp. 117–124. [Google Scholar]
Figure 1. Landsat-8 remote sensing images are displayed in false color in bands 7, 5, and 3. Three local areas are extracted from this image. Area1 has a large area of water distribution with a simple ground environment and is only affected by vegetation; Area2 is affected by mountain shadow and vegetation; Area3 is located in the urban built-up area with scattered water distribution and is affected by roads and buildings.
Figure 1. Landsat-8 remote sensing images are displayed in false color in bands 7, 5, and 3. Three local areas are extracted from this image. Area1 has a large area of water distribution with a simple ground environment and is only affected by vegetation; Area2 is affected by mountain shadow and vegetation; Area3 is located in the urban built-up area with scattered water distribution and is affected by roads and buildings.
Applsci 11 10062 g001
Figure 2. Effects of the sample number on performance of each algorithm.
Figure 2. Effects of the sample number on performance of each algorithm.
Applsci 11 10062 g002
Figure 3. Statistics of the AUC index of each algorithm applied in the three regions.
Figure 3. Statistics of the AUC index of each algorithm applied in the three regions.
Applsci 11 10062 g003
Figure 4. The AUC indexes of the three regions in different periods for each algorithm.
Figure 4. The AUC indexes of the three regions in different periods for each algorithm.
Applsci 11 10062 g004
Table 1. Spectral band spatial resolution and wavelength of the Landsat-8 image.
Table 1. Spectral band spatial resolution and wavelength of the Landsat-8 image.
Landsat-8 OLI and TIRS BandsWavelength (um)Spatial Resolution (m)
Coastal/Aerosol0.435–0.45130
Blue0.452–0.51230
Green0.533–0.59030
Red0.636–0.67330
NIR0.851–0.87930
SWIR-11.566–1.65130
TIR-110.60–11.19100
TIR-211.50–12.51100
SWIR-22.107–2.29430
Pan0.503–0.67615
Cirrus1.363–1.38430
Table 2. Separability of the samples.
Table 2. Separability of the samples.
PCA1PCA2
J-MT-DJ-MT-D
Contrast1.7231.99911.8251.0000
Autocorrelation1.4041.68321.7871.989
Dissimilarity1.5621.92321.841.0000
Entropy1.6341.97461.8161.999
Table 3. Analysis of performance indices of each algorithm.
Table 3. Analysis of performance indices of each algorithm.
AccuracyRecallAUC
SVMWater1.0000.9490.983
Other0.9681.000
Random ForestWater0.9750.9750.979
Other0.9830.983
Decision TreeWater1.0000.9110.956
Other0.9451.000
Neural NetworkWater1.0000.9620.981
Other0.9761.000
Logistic RegressionWater1.0000.9750.987
Other0.9841.000
XGBoostWater1.0000.9750.987
Other0.9841.000
Table 4. AUC index changes statistics of each machine learning algorithm.
Table 4. AUC index changes statistics of each machine learning algorithm.
The Method NameArea1Area2Area3Average
Threshold MethodCustom Threshold−8.41%−12.27%−5.37%−8.68%
Otsu Threshold−1.49%−33.10%−5.78%−13.46%
Adaptive Threshold−0.92%−0.16%−0.33%−0.47%
Machine Learning MethodLogistic Regression−66.52%−47.37%−61.74%−58.54%
SVM−66.25%−32.20%−60.49%−52.98%
Random Forest−30.12%−49.73%−62.68%−47.51%
XGBoost−27.16%−47.32%−29.35%−34.61%
Neural Network−30.13%−42.96%−62.13%−45.07%
Decision Tree−19.60%−46.28%−25.40%−30.43%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, A.; Fan, M.; Qin, G.; Xu, Y.; Wang, H. Comparative Analysis of Machine Learning Algorithms in Automatic Identification and Extraction of Water Boundaries. Appl. Sci. 2021, 11, 10062. https://doi.org/10.3390/app112110062

AMA Style

Li A, Fan M, Qin G, Xu Y, Wang H. Comparative Analysis of Machine Learning Algorithms in Automatic Identification and Extraction of Water Boundaries. Applied Sciences. 2021; 11(21):10062. https://doi.org/10.3390/app112110062

Chicago/Turabian Style

Li, Aimin, Meng Fan, Guangduo Qin, Youcheng Xu, and Hailong Wang. 2021. "Comparative Analysis of Machine Learning Algorithms in Automatic Identification and Extraction of Water Boundaries" Applied Sciences 11, no. 21: 10062. https://doi.org/10.3390/app112110062

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop