A method and system for monitoring saltwater tide upstream in estuary areas based on air-ground-ground combination

By using the method of combining air, space and ground in the estuary area, the ensemble tree model is trained to monitor water surface salinity, which solves the problem of insufficient precision of existing remote sensing algorithms at small scales and achieves efficient monitoring of salt tide upstream in the estuary area.

CN117664874BActive Publication Date: 2024-09-17SUN YAT SEN UNIV +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311575820.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-23
Publication Date
2024-09-17
Estimated Expiration
2043-11-23

Smart Images

  • Figure CN117664874B
    Figure CN117664874B
Patent Text Reader

Abstract

The present invention relates to the technical field of saltwater tide upstream monitoring, and discloses a saltwater tide upstream monitoring method and system in an estuary area based on the combination of air, land and sky. The method simultaneously collects in-situ salinity data in the estuary area and uses a drone hyperspectral image system to obtain the corresponding water surface reflectivity to train an integrated tree model, so that the trained integrated tree model can be used in hyperspectral images collected by drone lenses, and can also be used for satellite data with the same or similar bands as the data collected by the drone, so as to observe the salinity distribution in a larger spatial range. The present invention develops a water surface salinity remote sensing inversion model using spectral reflectivity data collected on-site by drones for the water surface salinity in the estuary area, and applies it to satellite data, so as to realize large-scale saltwater tide upstream monitoring by "combining air, land and sky".
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of saltwater tide upstream monitoring, and in particular to a saltwater tide upstream monitoring method and system in an estuary area based on the combination of air, land and ground. Background Art

[0002] At present, the main means of monitoring the upstream of saltwater tides is to build hydrological stations at the estuary and collect salinity data for analysis. Although the data obtained by this method is relatively accurate, this method requires a lot of manpower and material resources and a considerable amount of time. The earliest study on observing water surface salinity using remote sensing methods can be traced back to Khorram's research. He combined Landsat multispectral data with in-situ salinity data to draw a salinity distribution map of the San Francisco Bay Delta. Previous studies have shown that there is a linear relationship between the concentration of colored dissolved organic matter (CDOM) and the salinity of water. Binding and Bowers also indirectly measured water salinity by inverting CDOM concentration and used CDOM as an intermediate substance for water salinity. In addition, some researchers directly estimated water surface salinity through remote sensing ocean color signals based on empirical statistical models. Some recent studies have also applied machine learning methods to observe water surface salinity. For example, Zhang used deep neural networks (DNN) to observe water surface salinity, which provided a reliable reference for salinity inversion in coastal areas around the world. Rajabi-Kiasari developed a model for SMAP to observe water surface salinity using four machine learning methods.

[0003] The above studies have demonstrated the feasibility of observing water surface salinity through remote sensing methods, and achieved high-precision inversion of water surface salinity by combining different satellite data and modeling methods. However, these studies mainly focus on sea surface salinity in coastal areas, and there are relatively few studies on the application of remote sensing in measuring water surface salinity in estuaries. In fact, saltwater intrusion into estuaries and coastal waterways has the greatest impact on human production and life in coastal cities and wetland ecological environment. When saltwater tides occur, water intake departments cannot take water in the upper reaches of the river. Sea level rise and the intensification of saltwater tides may change the function and structure of freshwater wetland ecosystems in estuaries. Therefore, it is of great significance to monitor the spatial changes in water surface salinity in estuaries.

[0004] However, most of the previous studies on remote sensing of water surface salinity were based on satellite data, and the existing remote sensing algorithms have limited accuracy at small scales. Therefore, these methods are not suitable for monitoring saltwater upstream in coastal waterways, because upstream freshwater and coastal saltwater in coastal waterways dynamically mix with tidal stages, and water surface salinity changes frequently in time and has large spatial heterogeneity. Therefore, a solution is urgently needed to solve the above problems. Summary of the invention

[0005] The invention provides a method and system for monitoring saltwater tide upstream in estuary areas based on the combination of air, ground and space, which solves the problem that the existing remote sensing algorithm has limited accuracy on a small scale and is not suitable for monitoring saltwater tide upstream in coastal waterways.

[0006] In order to solve the above technical problems, the first aspect of the present invention provides a method for monitoring saltwater tide upstream in estuary areas based on the combination of air, ground and space, comprising:

[0007] Selecting a number of sampling points in the estuary area, obtaining a hyperspectral image of the estuary area and water surface salinity data of each sampling point; wherein the hyperspectral image includes spectral reflectance data of the water surface in the estuary area;

[0008] Extracting an average value of spectral reflectance data of a preset pixel area from the corresponding position of the GPS location information of each sampling point in the hyperspectral image; the average value includes a correlation relationship between the water surface salinity data and the spectral reflectance data in the corresponding GPS position;

[0009] Matching the wavelength of the hyperspectral image with the wavelength of the satellite, and using the average value in the successfully matched hyperspectral image as a training data set to train the ensemble tree model, to obtain a trained ensemble tree model;

[0010] The satellite data collected by the satellite in the area to be monitored is input into the trained integrated tree model to obtain the water surface salinity data corresponding to the area to be monitored; the satellite data includes the spectral reflectance data of the water surface in the area to be monitored.

[0011] Further, after obtaining the hyperspectral image of the estuary area, the method includes:

[0012] Correction processing is performed on the hyperspectral image.

[0013] Further, extracting the average value of the spectral reflectance data of a preset pixel area from the corresponding position of the GPS position information of each sampling point in the hyperspectral image includes:

[0014] Importing the GPS location information of each sampling point into the hyperspectral image to obtain a matching position of each sampling point in the hyperspectral image;

[0015] The average value of the spectral reflectance data within a 3×3 pixel area is extracted from the matching position in the hyperspectral image.

[0016] Furthermore, matching the wavelength of the hyperspectral image with the wavelength of the satellite includes:

[0017] If the difference between the wavelength of the hyperspectral image and the wavelength corresponding to the satellite mid-band is not greater than a preset value, the two match.

[0018] Furthermore, the average value in the successfully matched hyperspectral image is used as a training data set to train the ensemble tree model to obtain a trained ensemble tree model, including:

[0019] Taking the average value in the successfully matched hyperspectral image as a training data set;

[0020] Preprocessing the training data set and dividing it into a training set and a test set according to a preset ratio;

[0021] The integrated tree model is trained and tested by the training set and the test set respectively, and the test results are output;

[0022] The performance of the integrated tree model is evaluated according to the test results until the test results meet the requirements, thereby obtaining a trained integrated tree model.

[0023] Further, taking the average value in the successfully matched hyperspectral image as a training data set includes:

[0024] Combining the average values ​​in the hyperspectral images corresponding to different bands in the satellite to obtain a plurality of combined values;

[0025] The plurality of combined values ​​are used as a training data set.

[0026] Further, the performance of the ensemble tree model is evaluated according to the test results, including:

[0027] Evaluating the test accuracy of the test results by means of root mean square error and coefficient of determination;

[0028] Calculate the root mean square error and determine whether the value of the determination coefficient is within a preset interval; if not, adjust the parameters of the integrated tree model, and re-train and test; if within the preset interval, the test result meets the requirements.

[0029] The second aspect of the present invention provides a saltwater tide upstream monitoring system in estuary areas based on the combination of air, ground and space, comprising:

[0030] A data acquisition module, used to select a number of sampling points in the estuary area, obtain a hyperspectral image of the estuary area and water surface salinity data of each sampling point; wherein the hyperspectral image includes spectral reflectance data of the water surface in the estuary area;

[0031] A data extraction module, for extracting an average value of spectral reflectance data of a preset pixel area from a corresponding position of the GPS location information of each sampling point in the hyperspectral image; the average value includes a correlation relationship between the water surface salinity data and the spectral reflectance data in the corresponding GPS location;

[0032] A model training module is used to match the wavelength of the hyperspectral image with the wavelength of the satellite, and use the average value in the successfully matched hyperspectral image as a training data set to train the ensemble tree model to obtain a trained ensemble tree model;

[0033] The model inversion module is used to input the satellite data collected by the satellite in the area to be monitored into the trained integrated tree model to obtain the water surface salinity data corresponding to the area to be monitored; the satellite data includes the spectral reflectance data of the water surface in the area to be monitored.

[0034] The third aspect of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the method for monitoring the upstream saltwater tide in estuary areas based on the combination of air, land and ground as described in any one of the above-mentioned first aspects is implemented.

[0035] The fourth aspect of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method for monitoring saltwater upstream in estuary areas based on the combination of air, land and ground as described in any one of the above-mentioned first aspects.

[0036] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0037] The present invention provides high-resolution image data through unmanned aerial vehicles, which can more accurately detect saltwater intrusion and more detailed monitoring data; the data collected by the unmanned aerial vehicle hyperspectral lens is used to train the machine learning model, so that the trained model - salinity remote sensing inversion model can be used in hyperspectral images collected by unmanned aerial vehicle lenses, and can also be used in satellite data with the same or similar bands as the data collected by the unmanned aerial vehicle. It combines the ability of unmanned aerial vehicle remote sensing to obtain high-resolution data and the large spatial range coverage of satellite remote sensing observations, and "combines air, land and space" to achieve large-scale saltwater tide traceability monitoring for estuary areas. And the salinity remote sensing inversion model established by the present invention shows high performance in the observation of river channel salinity distribution, and provides a method for accurately observing the actual distribution of estuary salinity, making it an efficient and practical technology for regional scale monitoring of saltwater tide traceability. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 It is a flow chart of a saltwater tide upstream monitoring method in an estuary area based on the combination of air, ground and space provided by a certain embodiment of the present invention;

[0040] Figure 2 is a flowchart of step S2 provided by an embodiment of the present invention;

[0041] Figure 3 is a flow chart of model training in step S3 provided in one embodiment of the present invention;

[0042] Figure 4 is a flowchart of step S31 provided by an embodiment of the present invention;

[0043] Figure 5 is a flowchart of step S34 provided by an embodiment of the present invention;

[0044] Figure 6 is a model performance graph for different numbers of input features provided by an embodiment of the present invention; Figure 7 is a feature importance diagram of each model provided by an embodiment of the present invention;

[0045] Figure 8 is a grid search score graph of each model provided by an embodiment of the present invention;

[0046] Fig. 9 It is a 10-fold cross validation score graph after parameter selection for each model provided by a certain embodiment of the present invention;

[0047] Fig.10 is a comparison chart of the true value and the predicted value of each model provided by a certain embodiment of the present invention;

[0048] Fig.11 A water surface salinity distribution map drawn by applying an XGBoost model provided by an embodiment of the present invention to drone data;

[0049] Fig.12 A water surface salinity distribution map drawn by applying an XGBoost model provided by an embodiment of the present invention to Sentinel-2 satellite data;

[0050] Fig.13 is a comparison diagram of various machine learning models provided by an embodiment of the present invention applied to Sentinel-2 data (top) and drone data (bottom);

[0051] Fig.14 This is a device diagram of a saltwater tide upstream monitoring system in an estuary area based on a combination of air, ground and space provided by a certain embodiment of the present invention;

[0052] Fig.15 It is a structural diagram of an electronic device provided by a certain embodiment of the present invention. DETAILED DESCRIPTION

[0053] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings and embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] It should be understood that the step numbers used in this document are only for convenience of description and are not intended to limit the order in which the steps are executed.

[0055] It should be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0056] The terms “include” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0057] The term "and / or" means and includes any and all possible combinations of one or more of the associated listed items.

[0058] In one embodiment, if Figure 1 As shown, the first aspect of the present invention provides a method for monitoring saltwater tide upstream in estuary areas based on a combination of air, ground and space, comprising:

[0059] S1. Selecting a number of sampling points in an estuary area to obtain a hyperspectral image of the estuary area and water surface salinity data of each sampling point; wherein the hyperspectral image includes spectral reflectance data of the water surface in the estuary area;

[0060] Specifically, the present invention monitors the upstream saltwater tide in the estuary area through the combination of air, ground and land; wherein, air refers to the drone collecting the hyperspectral images of the estuary area and the spectral reflectance data of the water surface in the estuary area contained therein in the air; sky refers to the trained model being applicable to satellites in the sky, such as the Sentinel-2 satellite, and inverting the satellite data collected by it to achieve large-scale monitoring; ground refers to the on-site collection of water surface salinity data in the estuary area, establishing a connection with the spectral reflectance data at the corresponding position of its sampling point, and training the integrated tree model. In general, the drone, in conjunction with its own or separately equipped spectral reflectance system, can monitor images within the range and collect spectral reflectance data.

[0061] In one embodiment, after the hyperspectral image of the estuary area is acquired, the method further includes: performing correction processing on the hyperspectral image.

[0062] Specifically, when the UAV collects image data, water vapor in the atmosphere and sensor-related system errors may affect the quality of the hyperspectral data; therefore, before training the model, the hyperspectral data must be corrected. The correction procedure includes lens correction, reflectivity correction, and atmospheric correction to reduce the errors caused by environmental interference during the acquisition of the hyperspectral data.

[0063] S2, extracting the average value of the spectral reflectance data of the preset pixel area from the corresponding position of the GPS position information of each sampling point in the hyperspectral image; the average value includes the correlation relationship between the water surface salinity data and the spectral reflectance data in the corresponding GPS position;

[0064] In one embodiment, step S2 is as follows Figure 2 As shown, including:

[0065] S21, importing the GPS location information of each sampling point into the hyperspectral image to obtain the matching position of each sampling point in the hyperspectral image;

[0066] S22, extracting an average value of spectral reflectance data within a 3×3 pixel area from the matching position in the hyperspectral image.

[0067] Specifically, when collecting water surface salinity data on site, the GPS information of the measurement location of the sampling point should be recorded, and then the information should be imported into the geo-referenced UAV hyperspectral image, and the average value of the spectral reflectance data of the 3×3 pixel area should be extracted from the corresponding GPS location. The 3×3 pixel area needs to be calculated in combination with the flight altitude and lens parameters, which is not limited here. And the average value here not only refers to the average value of the spectral reflectance data in the 3×3 pixel area, but also includes the association relationship between the water surface salinity data and the spectral reflectance data in the hyperspectral image; the water surface salinity data collected in step S1 is equivalent to the water surface salinity data label annotated for the corresponding hyperspectral image; the average value is equivalent to establishing the association relationship between the water surface salinity data and the spectral reflectance data at a certain location, and the association relationship can be used for model training. Among them, using the average reflectance data of 3×3 pixels instead of a single pixel to match the on-site salinity measurement data can reduce the uncertainty caused by data noise and errors caused by water surface fluctuations in the hyperspectral image.

[0068] S3. Match the wavelength of the hyperspectral image with the wavelength of the satellite, and use the average value in the successfully matched hyperspectral image as a training data set to train the ensemble tree model to obtain a trained ensemble tree model; wherein the ensemble tree model includes but is not limited to decision trees, random forests, XGBoost and AdaBoost.

[0069] In one embodiment, matching the wavelength of the hyperspectral image with the wavelength of the satellite includes:

[0070] If the difference between the wavelength of the hyperspectral image and the wavelength corresponding to the satellite mid-band is not greater than a preset value, the two match.

[0071] Among them, the satellite is preferably Sentinel-2, and because the satellite data collected by the Sentinel-2 satellite has the characteristics of high resolution and multi-spectral imaging, and its band is fixed, the wavelength corresponding to the satellite band is also limited; and the wavelength of the spectral image collected by the drone is far more than that of the satellite, then, this application resamples all non-10-meter resolution bands in the Sentinel-2 satellite to 10-meter resolution, matches the wavelength of the drone hyperspectral image, and establishes a correspondence between the satellite band, the satellite wavelength, and the wavelength of the drone hyperspectral image data; so that the machine learning model trained with data collected by the drone-mounted hyperspectral lens - the salinity remote sensing inversion model, can be applied to both drones and Sentinel-2 satellites with the same or similar bands as drones, so as to achieve salinity distribution observations in a larger spatial range through the Sentinel-2 satellite. Among them, the preset value is preferably 1.5, and the Sentinel-2 band and the corresponding drone hyperspectral data band are as shown in the following table:

[0072]

[0073]

[0074] In one embodiment, the model training process in step S3 is as follows: Figure 3 As shown, including:

[0075] S31, taking the average value in the successfully matched hyperspectral image as a training data set; wherein, the matching process of the wavelength of the hyperspectral image and the wavelength of the satellite is essentially also a screening process, that is, screening images whose wavelengths are compatible with the satellite wavelength from a number of hyperspectral images; and the successfully matched hyperspectral image is also an image with a determined wavelength (compatible with the satellite wavelength), and taking the average value in the successfully matched hyperspectral image as a training data set, so that the trained model can also be applied to satellite data.

[0076] In one embodiment, step S31 is as follows: Figure 4 As shown, including:

[0077] S311, combining the average values ​​in the hyperspectral images corresponding to different bands in the satellite to obtain a plurality of combined values;

[0078] S312: Use the plurality of combined values ​​as training data sets.

[0079] Specifically, in order to better train the model, the present invention combines the bands of the satellite, and also combines the average values ​​in the hyperspectral images of the wavelengths corresponding to the bands in the same way, and uses the obtained combined values ​​in different forms as input data to train the model, that is, the combined value is the average value in the hyperspectral images corresponding to certain bands obtained by the same combination method as the band, and using different combined values ​​can produce better results than using the original average alone; wherein the combination form includes but is not limited to addition, subtraction, multiplication, division, etc.; wherein the combination form of the bands is as follows:

[0080]

[0081] S32, preprocessing the training data set and dividing it into a training set and a test set according to a preset ratio; wherein the preprocessing process at least includes removing outliers and filling missing values; the preset ratio is preferably 2:1.

[0082] S33. Train and test the ensemble tree model using the training set and the test set respectively, and output the test results; specifically, first train the ensemble tree model using the training set, and then test the ensemble tree model using the test set, and the output test results are used to determine the model test accuracy.

[0083] S34, performing performance evaluation on the ensemble tree model according to the test results, until the test results meet the requirements, thereby obtaining a trained ensemble tree model;

[0084] In one embodiment, step S34 is as follows: Figure 5 As shown, including:

[0085] S341, evaluating the test accuracy of the test result by means of a root mean square error and a coefficient of determination;

[0086] S342. Calculate the root mean square error and determine whether the value of the determination coefficient is within a preset range; if not, adjust the parameters of the integrated tree model, and retrain and test; if within the preset range, the test result meets the requirements.

[0087] It is understandable that the calculated root mean square error (RMSE) has no set value, and the value is different for each training. The smaller the RMSE value, the more accurate the model prediction, the higher the test accuracy, and the smaller the model error. The value of the coefficient of determination is between 0 and 1, and the closer it is to 1, the better the model fits the data set; therefore, according to experience, the larger the value of the coefficient of determination, the better the model fits. For example, a value of the coefficient of determination above 0.95 means that the model has achieved a good fit result.

[0088] S4. Input the satellite data collected by the satellite in the area to be monitored into the trained integrated tree model to obtain the water surface salinity data corresponding to the area to be monitored; the satellite data includes the spectral reflectance data of the water surface in the area to be monitored.

[0089] In one embodiment, the present invention takes the Modaomen waterway, an estuary area located in Doumen District, Zhuhai City (22°05′~22°40′N, 113°20′~113°50′E) as an example, and selects five sampling points from which the YSI EXO2 portable water quality parameter instrument performs in-situ water surface salinity measurement. The measurement results are as follows:

[0090]

[0091]

[0092] Among them, the three sampling points A, B, and C are closer to Haikou than D and E, so their water surface salinity data are higher. The present invention uses the water surface salinity data collected at each sampling point for model training and verification.

[0093] The hyperspectral images of the estuary area were collected by a DJI Matrice 600Pro six-rotor drone. In order to obtain effective river water surface reflectance data and ensure data synchronization, data collection was carried out under clear weather and light wind conditions from 10:00 am to 3:00 pm. Water surface salinity data and drone hyperspectral images were collected simultaneously within a time window of ±1 hour at each sampling point; and the flight altitude was set to 500m relative to the ground, equivalent to a ground resolution of 22cm / pixel. Correction was performed after hyperspectral data collection. Reflectance correction included shooting a calibrated standard white plate before data collection, while atmospheric correction was performed by shooting a calibrated diffuse gray cloth.

[0094] In modeling, the machine learning models selected in this application include decision tree, random forest, XGBoost and AdaBoost, and the determination coefficient (R 2 ) and root mean square error (RMSE) to evaluate the performance of each model. All 19,350 combinations of band reflectance were used as training features of the model, input into four machine learning models, and trained with default parameters to obtain preliminary results. The model performance graphs with different input feature numbers are shown in Figure 2. Figure 6 As shown, according to the OG axis, XGBoost produces the best results, R 2 The random forest is 0.79, and the RMSE is 1.51psu; followed by the random forest, R 2 is 0.77, and the RMSE is 1.55psu; the R 2 is 0.73, and the RMSE is 1.68psu; the R 2 The psu is 0.60 and the RMSE is 2.06psu. In general, the training effect of the model is good. Therefore, the feature importance of each model is sorted from high to low, and the top 10 features are extracted. The feature importance of each model is shown in the figure below. Figure 7 As shown, in XGBoost, the highest importance score is b1 / b3+b4, while for AdaBoost, the highest score is b1+b2. In decision tree and random forest, the highest scoring band combination is b4 / b1+b5. The top 3 or top 2 feature importances of each model show a clear difference from the scores of the features ranked after them. The feature importance rankings of the four models are different, and only b4 / b1+b5 appears in the top 10 feature importances of each model. XGBoost performs best using the top three band combinations (R 2 =0.92, RMSE = 0.90psu); AdaBoost has the best training effect using the first 10 band combinations (R 2=0.89, RMSE = 1.08psu), while the random forest training effect was the best using the first 5 frequency bands combination (R 2 =0.84, RMSE = 1.30psu); the decision tree produced the best result using the top nine band combinations (R 2 =0.77, RMSE =1.57psu).

[0095] Since the models in this application are all based on the decision tree algorithm, the n_estimators and max_depth parameters are crucial to the model performance; the grid search score diagrams of each model are as follows Figure 8 As shown in the figure, the 10-fold cross validation score diagram after parameter selection for each model is as follows Fig. 9 As shown, in XGBoost, when n_estimators is 70 and max_depth is 8, R 2 The score reached the highest, and the median score of cross-validation was R 2 =0.91, RMSE = 0.82psu. In AdaBoost, the R 2 The score reaches the highest when n_estimators is 70, and the median score of cross-validation is R 2 = 0.94, RMSE = 0.71psu. In contrast, the R 2 The score reaches the highest when n_estimators is 60 and max_depth is 16, and the median score of cross-validation is R 2 =0.90 and RMSE = 0.96psu. For the decision tree, when max_depth is 4, R 2 The score reaches a peak, the median score of the cross-validation R 2 =0.89, RMSE = 0.89psu. In cross validation, the best model is AdaBoost, followed by XGBoost and random forest, while decision tree performs the worst. This shows that the parameter adjustment made by grid search makes the R of each model 2 And RMSE is slightly optimized and stabilized at a relatively good score. The model used in this application has good robustness.

[0096] After selecting the best input features and model parameters for each model, the performance of the four machine learning models was evaluated using the validation set. The comparison between the true value and the predicted value of each model is shown in the figure below. Fig.10 As shown, XGBoost achieved an R of 0.93 in the validation. 2 score and 0.88psu RMSE, outperforming the three models. Although AdaBoost lags behind XGBoost in performance, it still achieves R 2=0.89 and RMSE =1.08psu. In addition, decision trees and random forests only obtained R 2 =0.78, RMSE = 1.53psu and R 2 =0.84, RMSE = 1.30psu. The collected in situ salinity data are mainly concentrated in the range of 0.5-4.0psu, and relatively few samples are obtained for salinity levels exceeding 8psu. Therefore, the training and validation data are mainly concentrated in the low salinity range, while only a small amount of data is in the high salinity range. We found that the machine learning model has a good effect in the low salinity range (4.0psu<), and the prediction results in the high salinity range (>4.0psu) have relatively large errors. XGBoost shows better performance in the prediction of both low and high salinity, and can predict salinity more accurately than other models. Relatively speaking, the other three models show obvious prediction bias in different salinity ranges. Previous studies have shown that XGBoost can perform well in the inversion of water quality parameters, and can control the complexity of the model during the model construction process to prevent overfitting. In general, the four machine learning models all show good fit and are suitable for identifying the phenomenon of saltwater tide upwelling in the study area.

[0097] The trained model is applied on the drone. The XGBoost model is applied to the water surface salinity distribution map drawn by drone data. Fig.11 As shown in the figure, in order to compare the inversion effects of different sampling areas, a consistent color bar is used on the eight water surface salinity inversion distribution maps. The inversion results show that in most sampling areas, the water surface salinity values ​​displayed by the inversion distribution map are mostly lower than 4psu, which is consistent with the field measurement results. However, in areas such as near the bottom of the bridge and the shore, especially in Fig.11 a below and Fig.11 In the area above b, higher salinity values ​​(>6psu) are observed. This phenomenon is due to the fact that sediments or rocks at the bottom of the river affect the water surface reflectivity in this area, causing the model to erroneously invert high salinity and generate inversion errors.

[0098] The trained model was applied on Sentinel-2. The XGBoost model was applied to the water surface salinity distribution map drawn by Sentinel-2 satellite data. Fig.12 Compared with the salinity distribution map drawn using drone data ( Fig.11 ) similar spatial distribution characteristics. By changing the color of the map, the distribution of water surface salinity can be observed, thereby determining whether saltwater tides occur in the area.

[0099] Comparison of machine learning models applied to Sentinel-2 data (top) and drone data (bottom) Fig.13As shown; in comparison, the inversion error of Sentinel-2 satellite data is slightly lower than that of UAV data. The data collected by UAV has a higher resolution, which means there are more data noise and abnormal pixels, resulting in a slightly increased error when calculating the average value; XGBoost, AdaBoost and Random Forest perform better in inverting water surface salinity, while the decision tree has a relatively large inversion error.

[0100] In the embodiment of the present application, based on the problem that the existing remote sensing algorithms have limited accuracy at a small scale and are not suitable for monitoring the upstream saltwater tides in coastal waterways, a saltwater tide upstream monitoring method in estuary areas based on the combination of air, space and land is designed, which realizes the selection of several sampling points in the estuary area, obtaining a hyperspectral image of the estuary area and water surface salinity data of each sampling point; wherein the hyperspectral image includes spectral reflectance data of the water body surface in the estuary area; extracting the average value of the spectral reflectance data of a preset pixel area from the corresponding position of the GPS position information of each sampling point in the hyperspectral image; the average value is the water surface salinity data and spectral reflectance data in the corresponding GPS position; matching the band of the hyperspectral image with the band of the satellite, and combining several successfully matched hyperspectral images with the spectral reflectance data of the satellite. The average value in the spectral image is used as a training data set to train the integrated tree model to obtain a trained integrated tree model; the satellite data collected by the satellite in the area to be monitored is input into the trained integrated tree model to obtain the water surface salinity data corresponding to the area to be monitored; the satellite data includes the technical solution of the spectral reflectance data of the water body surface in the area to be monitored; the present invention trains the machine learning model through the data collected by the hyperspectral lens on the unmanned aerial vehicle, so that the trained model-the salinity remote sensing inversion model, can be applied to both the unmanned aerial vehicle and the satellite with the same or similar band as the unmanned aerial vehicle, combining the ability of the unmanned aerial vehicle remote sensing to obtain high-resolution data and the large spatial range coverage of satellite remote sensing observation, and realizing the large-scale salt tide upstream monitoring for the estuary area by "combining air, land and ground".

[0101] It should be noted that although the steps in the above flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders.

[0102] In another embodiment, if Fig.14 As shown, the second aspect of the present invention provides a saltwater tide upstream monitoring system in estuary areas based on the combination of air, ground and space, comprising:

[0103] The data acquisition module 10 is used to select a number of sampling points in the estuary area to obtain a hyperspectral image of the estuary area and water surface salinity data of each sampling point; wherein the hyperspectral image includes spectral reflectance data of the water surface in the estuary area;

[0104] A data extraction module 20 is used to extract an average value of spectral reflectance data of a preset pixel area from the corresponding position of the GPS position information of each sampling point in the hyperspectral image; the average value includes a correlation relationship between the water surface salinity data and the spectral reflectance data in the corresponding GPS position;

[0105] The model training module 30 is used to match the wavelength of the hyperspectral image with the wavelength of the satellite, and use the average value in the successfully matched hyperspectral image as a training data set to train the ensemble tree model to obtain a trained ensemble tree model;

[0106] The model inversion module 40 is used to input the satellite data collected by the satellite in the area to be monitored into the trained integrated tree model to obtain the water surface salinity data corresponding to the area to be monitored; the satellite data includes the spectral reflectance data of the water surface in the area to be monitored.

[0107] It should be noted that the various modules in the above-mentioned saltwater tide upstream monitoring system for estuary areas based on the combination of air, land and ground can be fully or partially implemented by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules. For the specific definition of a saltwater tide upstream monitoring system for estuary areas based on the combination of air, land and ground, please refer to the definition of a saltwater tide upstream monitoring method for estuary areas based on the combination of air, land and ground in the above text. The two have the same functions and effects, which will not be repeated here.

[0108] A third aspect of the present invention provides an electronic device, the electronic device comprising:

[0109] processor, memory, and bus;

[0110] The bus is used to connect the processor and the memory;

[0111] The memory is used to store operation instructions;

[0112] The processor is used to call the operation instruction, and the executable instruction enables the processor to perform operations corresponding to the method for monitoring saltwater tide upstream in estuary areas based on the combination of air, land and ground as shown in the first aspect of the present application.

[0113] In an alternative embodiment, an electronic device is provided, such as Fig.15 As shown, Fig.15 The electronic device 5000 shown includes: a processor 5001 and a memory 5003. The processor 5001 and the memory 5003 are connected, such as through a bus 5002. Optionally, the electronic device 5000 may also include a transceiver 5004. It should be noted that in actual applications, the transceiver 5004 is not limited to one, and the structure of the electronic device 5000 does not constitute a limitation on the embodiments of the present application.

[0114] Processor 5001 may be a CPU, a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 5001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0115] The bus 5002 may include a path to transmit information between the above components. The bus 5002 may be a PCI bus or an EISA bus, etc. The bus 5002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.15 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0116] The memory 5003 may be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, or an EEPROM, a CD-ROM or other optical disk storage, an optical disk storage (including a compressed optical disk, a laser disk, an optical disk, a digital versatile disk, a Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0117] The memory 5003 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 5001. The processor 5001 is used to execute the application code stored in the memory 5003 to implement the content shown in any of the above method embodiments.

[0118] Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.

[0119] The fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the method for monitoring saltwater tide upstream in estuary areas based on the combination of air, land and ground as shown in the first aspect of the present application is implemented.

[0120] Another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.

[0121] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented.

[0122] In summary, the present invention relates to the technical field of saltwater tide upstream monitoring, and discloses a saltwater tide upstream monitoring method and system in an estuary area based on the combination of air, land and ground. The method simultaneously collects in-situ salinity data in the estuary area and uses a drone hyperspectral image system to obtain the corresponding water surface reflectivity to train an integrated tree model, so that the trained integrated tree model can be applied to the drone's hyperspectral image and to satellite data with the same or similar bands as the drone to observe the salinity distribution in a larger spatial range. The present invention develops a water surface salinity remote sensing inversion model using data collected on-site by drones for the salinity of the water surface in the estuary area, and applies it to satellite data, so as to achieve large-scale saltwater tide upstream monitoring by "combining air, land and ground".

[0123] Each embodiment in this specification is described in a progressive manner, and the same or similar parts of each embodiment can be directly referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. It should be noted that the technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0124] The above-mentioned embodiments only express several preferred implementation modes of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in the technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention, and these improvements and substitutions should also be regarded as the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be based on the protection scope of the claims.

Claims

1. A method for monitoring saltwater tide upstream in estuary areas based on the combination of air, ground and space, characterized in that: include: Selecting a number of sampling points in the estuary area, obtaining a hyperspectral image of the estuary area and water surface salinity data of each sampling point; wherein the hyperspectral image includes spectral reflectance data of the water surface in the estuary area; Extracting an average value of spectral reflectance data of a preset pixel area from the corresponding position of the GPS location information of each sampling point in the hyperspectral image; the average value includes a correlation relationship between the water surface salinity data and the spectral reflectance data in the corresponding GPS position; Matching the wavelength of the hyperspectral image with the wavelength of the satellite, and using the average value in the successfully matched hyperspectral image as a training data set to train the ensemble tree model, to obtain a trained ensemble tree model; Inputting the satellite data collected by the satellite in the area to be monitored into the trained integrated tree model to obtain the water surface salinity data corresponding to the area to be monitored; the satellite data includes the spectral reflectance data of the water surface in the area to be monitored; The step of matching the wavelength of the hyperspectral image with the wavelength of the satellite comprises: If the difference between the wavelength of the hyperspectral image and the wavelength corresponding to the satellite mid-band is not greater than a preset value, the two match.

2. The method for monitoring saltwater tide upstream in estuary areas based on the combination of air, ground and space according to claim 1, characterized in that: After obtaining the hyperspectral image of the estuary area, the method includes: Correction processing is performed on the hyperspectral image.

3. The method for monitoring saltwater tide upstream in estuary areas based on the combination of air, ground and space according to claim 1, characterized in that: The extracting the average value of the spectral reflectance data of a preset pixel area from the corresponding position of the GPS position information of each sampling point in the hyperspectral image comprises: Importing the GPS location information of each sampling point into the hyperspectral image to obtain a matching position of each sampling point in the hyperspectral image; The average value of the spectral reflectance data within a 3×3 pixel area is extracted from the matching position in the hyperspectral image.

4. The method for monitoring saltwater tide upstream in estuary areas based on the combination of air, ground and space according to claim 1, characterized in that: The method of using the average value in the successfully matched hyperspectral image as a training data set to train the ensemble tree model to obtain a trained ensemble tree model includes: Taking the average value in the successfully matched hyperspectral image as a training data set; Preprocessing the training data set and dividing it into a training set and a test set according to a preset ratio; The integrated tree model is trained and tested by the training set and the test set respectively, and the test results are output; The performance of the integrated tree model is evaluated according to the test results until the test results meet the requirements, thereby obtaining a trained integrated tree model.

5. The method for monitoring saltwater tide upstream in estuary areas based on the combination of air, ground and space according to claim 4 is characterized in that: The step of using the average value in the successfully matched hyperspectral image as a training data set comprises: Combining the average values ​​in the hyperspectral images corresponding to different bands in the satellite to obtain a plurality of combined values; The plurality of combined values ​​are used as a training data set.

6. The method for monitoring saltwater tide upstream in estuary areas based on the combination of air, ground and space according to claim 4, characterized in that: The performing performance evaluation on the ensemble tree model according to the test results comprises: Evaluating the test accuracy of the test results by means of root mean square error and coefficient of determination; Calculate the root mean square error and determine whether the value of the determination coefficient is within a preset interval; if not, adjust the parameters of the integrated tree model, and re-train and test; if within the preset interval, the test result meets the requirements.

7. A saltwater tide upstream monitoring system in estuary areas based on the combination of air, ground and space, characterized in that: include: A data acquisition module, used to select a number of sampling points in the estuary area, obtain a hyperspectral image of the estuary area and water surface salinity data of each sampling point; wherein the hyperspectral image includes spectral reflectance data of the water surface in the estuary area; A data extraction module, for extracting an average value of spectral reflectance data of a preset pixel area from a corresponding position of the GPS location information of each sampling point in the hyperspectral image; the average value includes a correlation relationship between the water surface salinity data and the spectral reflectance data in the corresponding GPS location; A model training module is used to match the wavelength of the hyperspectral image with the wavelength of the satellite, and use the average value in the successfully matched hyperspectral image as a training data set to train the ensemble tree model to obtain a trained ensemble tree model; A model inversion module, used for inputting the satellite data collected by the satellite in the area to be monitored into the trained integrated tree model to obtain the water surface salinity data corresponding to the area to be monitored; the satellite data includes the spectral reflectance data of the water surface in the area to be monitored; The step of matching the wavelength of the hyperspectral image with the wavelength of the satellite comprises: If the difference between the wavelength of the hyperspectral image and the wavelength corresponding to the satellite mid-band is not greater than a preset value, the two match.

8. An electronic device, characterized in that: It comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the method for monitoring saltwater upstream in estuary areas based on the combination of air, land and ground as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method for monitoring saltwater tide upstream in estuary areas based on the combination of air, space and land as described in any one of claims 1 to 6.

Citation Information

Cited By

  • A system and method for real-time inversion of salt tide salinity based on unmanned aerial vehicle hyperspectral

    CN123135715A