Water depth prediction method for coastal water area
By applying a multi-scale generative adversarial network model in coastal waters, combined with initial machine learning and multi-scale strategies, a water depth prediction method suitable for different water quality areas is constructed, which solves the difficulty of accurate measurement in coastal shallow water areas and the performance limitations of traditional methods in turbid water environments. impact issues, achieving higher water depth prediction accuracy and detail.
Patent Information
- Application Number
- CN202410487395.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-23
- Publication Date
- 2024-09-27
AI Technical Summary
Traditional water depth measurement methods have high costs, limited measurement range and weather conditions in shallow coastal waters, and their performance is affected in turbid water environments, making it difficult to achieve accurate water depth predictions.
The multi-scale generative adversarial network (MSGAN) model is used, combined with the initial machine learning model and multi-scale strategy, to construct a water depth prediction method through optical measurement data, and uses the self-attention module and non-linear activation model to extract features of different spatial scales to construct a suitable Adjacency matrix of clear water and turbid water regions for water depth prediction.
It significantly improves the accuracy of water depth prediction and model extraction capabilities, provides strong flexibility to changes in water optical properties, and provides more detailed water depth maps especially in deep water areas, which is better than traditional models such as Stumpf, Log Linear and random forest models.
Smart Images

Figure CN118706090A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of water depth prediction, and in particular to a water depth prediction method for coastal waters. Background Art
[0002] Bathymetric inversion plays a key role in marine science and engineering, supporting the understanding of the marine environment, the planning of engineering projects, and the guarantee of navigation safety. Accurately obtaining shallow water depths, especially those along the coastline, is helpful for the monitoring, management, and ecological protection of coral reefs.
[0003] Traditional methods of water depth acquisition, such as single-beam and multi-beam echo sounders, have high accuracy. However, these methods are not suitable for shallow water depth measurement due to high cost, limited measurement range and weather conditions that restrict data collection. Airborne LiDAR provides an effective solution for measurement tasks in nearshore coastal areas, but its performance is affected in turbid water environments due to the influence of water quality. Summary of the invention
[0004] In view of the above-mentioned prior art, the present invention provides a method for predicting water depth in coastal waters, mainly to solve the technical problems existing in the above-mentioned background technology.
[0005] To achieve the above object, the technical solution of the embodiment of the present invention is implemented as follows: a water depth prediction method for coastal waters, the depth measurement method comprising the following steps:
[0006] Obtain the optical measurement point data of coastal waters, and pre-process the optical measurement point data of coastal waters to obtain the original water depth optical characteristics of the measurement point;
[0007] Constructing an initial machine learning model, inputting the original water depth optical features into the initial machine learning model, and obtaining an initial estimation result of the water depth at the measuring point;
[0008] Based on the initial estimation results of the water depths of the multiple measurement points, a MSGAN model is built, and an adjacency matrix is constructed to encode the relationship between the water depth measurement points;
[0009] Train the MSGAN model and perform water depth prediction based on the trained MSGAN model.
[0010] Optionally, the initial machine learning model includes a random forest learning model, a Log-Linear model, and a Stumpf model.
[0011] Optionally, the MSGAN model is constructed by adopting a multi-scale strategy and a residual strategy based on the GraphSAGE model, wherein the MSGAN model includes a linear module, a feature attention module and a nonlinear activation model. The MSGAN model converts the spectral information of the original graph data into various scales through dimensional expansion, further extracts output information from different scales through the linear module, and activates nonlinear features through the nonlinear activation model. With the support of the attention module, multiple feature scales can explore adaptive features of different dimensions.
[0012] Optionally, the adjacency matrix includes a first adjacency matrix applied to a clear water area and a second adjacency matrix applied to a muddy water area.
[0013] Optionally, a first adjacency matrix is constructed based on an adjacent value correlation method, and the constructed first adjacency matrix is expressed as:
[0014]
[0015] Among them, i and j are constants, representing the serial numbers of different measurement points, d(v i ,v j ) represents the depth estimation difference between the i-th measurement point and the j-th measurement point, and t is the comparison threshold.
[0016] Optionally, the comparison threshold is calculated as follows:
[0017]
[0018] Among them, y i represents the measured value of the water depth at the i-th measuring point, RF(v i ) represents the estimated value of the water depth at the ith measuring point, n represents the total number of measuring points, and ε is a real-time adjustment parameter.
[0019] Optionally, a second adjacency matrix is constructed based on a one-way random correlation method, and the constructed second adjacency matrix is expressed as:
[0020]
[0021]
[0022] Among them, E up represents the one-way correlation matrix of the upstream connection, E down represents the one-way correlation matrix of downward connection, tup represents the upward threshold, t down represents the downlink threshold, and RF(vj) represents the estimated value of the water depth at the jth measuring point.
[0023] Optionally, the uplink threshold and the downlink threshold are calculated as follows:
[0024]
[0025]
[0026] Among them, ε up is the uplink adjustment parameter, ε down It is the downlink adjustment parameter.
[0027] The mean absolute error, mean relative error and root mean square error between the predicted depth value and the actual depth data are calculated, and the depth prediction accuracy is evaluated based on the mean absolute error, mean relative error and root mean square error.
[0028] The beneficial effects of the present invention are as follows: the present application provides a method for predicting water depth in coastal waters, which uses the constructed MSGAN model to derive a new feature representation of raw water depth and effectively extract information at different spatial scales. The model further combines a self-attention module, a nonlinear module, and a superposition strategy to optimize feature conversion methods at different scales and ultimately achieve depth estimation. Secondly, the MSGAN model effectively enhances the extraction capability of the model, thereby significantly improving the accuracy of water depth prediction.
[0029] The MSGAN model also showed strong resilience to changes in water optical properties. Compared with traditional models such as Stumpf, Log Linear and RF (Random Forest), the MSGAN model provided more detailed water depth maps for deep water areas. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 Schematic diagram of the flow chart of the method for predicting water depth in coastal waters in an embodiment of the present application;
[0031] Figure 2 Schematic diagram of the MSGAN model provided in the embodiment of the present application; Description of the accompanying figures:
[0032] Figure 3 Schematic diagram of the results of mean absolute error (MAE), mean relative error (MRE) and root mean square error (RMSE) between the regressed depth value and the actual depth data of a port in an embodiment of the present application;
[0033] Figure 4 Schematic diagram of the mean absolute error (MAE), mean relative error (MRE) and root mean square error (RMSE) between the regression depth value and the actual depth data of a beach in the embodiment of the present application
[0034] Figure 5Schematic diagram of the mean absolute error (MAE), mean relative error (MRE) and root mean square error (RMSE) between the regressed depth value and the actual depth data of an island in the embodiment of the present application
[0035] Figure 6 This is a schematic diagram of the water depth inversion result of a certain port area in the embodiment of the present application;
[0036] Figure 7 This is a schematic diagram of the water depth inversion result of a certain beach area in an embodiment of the present application;
[0037] Figure 8 This is a schematic diagram of the water depth inversion results for a certain island area in an embodiment of the present application. DETAILED DESCRIPTION
[0038] The technical solution of the present invention is further elaborated in detail below in conjunction with the drawings and specific embodiments of the specification. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention. In the following description, the expression "some embodiments" is related to a subset of all possible embodiments, but it should be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0039] In the following description, a large number of specific details are provided to provide a more thorough understanding of the present invention. However, it is apparent to those skilled in the art that the present invention can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present invention, some technical features well known in the art are not described.
[0040] It should be understood that the present invention can be implemented in different forms and should not be interpreted as being limited to the embodiments proposed herein. On the contrary, providing these embodiments will make the disclosure thorough and complete, and the scope of the present invention will be fully conveyed to those skilled in the art. And the purpose of the terms used herein is only to describe specific embodiments and is not intended to be a limitation of the present invention. When used herein, the singular forms of "one", "one" and "said / the" are also intended to include plural forms, unless the context clearly indicates another way. It should also be understood that the terms "compose" and / or "include" when used in this specification determine the presence of the features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.
[0041] It should also be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "inside", "outside", "left", "right" and similar expressions used herein are for illustrative purposes only and are not intended to be the only implementation method.
[0042] In order to fully understand the present invention, a detailed structure will be proposed in the following description to illustrate the technical solution proposed by the present invention. The optional embodiments of the present invention are described in detail as follows, but in addition to these detailed descriptions, the present invention may also have other implementations.
[0043] Please refer to the attached Figure 1 The present application provides a method for predicting water depth in coastal waters, the depth measurement method comprising the following steps:
[0044] S1. Obtain the optical measurement point data of coastal waters, and pre-process the optical measurement point data of coastal waters, such as atmospheric correction, to obtain the original water depth optical characteristics of the measurement point;
[0045] S2, constructing an initial machine learning model, inputting the original water depth optical features into the initial machine learning model, and obtaining an initial estimation result of the water depth at the measuring point;
[0046] S3, based on the initial estimation results of the water depths of the multiple measurement points, building a MSGAN model, and constructing an adjacency matrix to encode the relationship between the water depth measurement points;
[0047] S4. Train the MSGAN model and perform water depth prediction based on the trained MSGAN model.
[0048] In one embodiment, the initial machine learning model includes a random forest learning model, a Log-Linear model, and a Stumpf model.
[0049] The Stumpf model is a model based on logarithmic transformation rate. This method is different from using spectral values directly. It avoids potential negative values by applying logarithms to spectral values. Logarithmic transformation effectively alleviates the problem of low spectral values in deep water areas and eliminates the occurrence of negative values. In addition, the model utilizes the ratio relationship between different bands, thereby fully considering the optical properties of the water body. The mathematical expression of the model is as follows:
[0050]
[0051] R(λ i ) parameters are expressed as and, R(λj ) is obtained by applying the least squares method on a large number of data sets. The constant n is usually set to a fixed value of 1000. These parameters encapsulate the optical properties of a specific water body, thereby improving the accuracy of depth inversion. Here, R(λ i ) and R(λ j ) symbolize blue and green light bands respectively.
[0052] The Log-Linear model is a linear algorithm that assumes that the reflectivity (expressed as) R(λ i ) and water depth (expressed as z). In the context of multispectral satellite imagery, multiple bands (or wavelengths) are used to more effectively constrain the relationship between water depth and color. The multi-channel depth detection method uses multispectral information to accurately describe the complex relationship between water depth and multispectral features. Notably, this method assigns different regression coefficients to each wavelength, which helps to effectively distinguish optical responses at different wavelengths. This strategy helps to mitigate the effects of wavelength coupling and enables more accurate estimation of water depth. The mathematical expression of the model is shown below:
[0053]
[0054] Here, b and c usually represent the linear weights obtained by traditional linear machine learning algorithms. i ) represents the reflectivity value of deep water area in a specific band, and R ∞ (λ i ) represents the reflectance value of the collected band.
[0055] The random forest learning model is a supervised learning model that uses a bootstrap method to generate a large number of weak decision trees. In the prediction stage, RF uses a weak classifier voting mechanism to merge and analyze the predictions of each decision tree model, with the goal of improving the overall prediction accuracy. Random forests have relatively low dependence on data and can produce satisfactory fitting results even with small samples. In the field of water depth inversion, the performance of this model often exceeds Stumpf, linear regression, and other machine learning methods.
[0056] For example, a random forest learning model is selected as the initial learning model, and the equation for roughly estimating the water depth is defined as RF(x). The collected optical features of the water depth are represented as a set The optical signatures of the water depth are input into RF(x), and when transformed by RF(x), they produce a reasonably accurate estimate of the depth at the measurement point.
[0057] See also Figure 2In one embodiment, the MSGAN model is constructed by adopting a multi-scale strategy and a residual strategy based on the GraphSAGE model. The MSGAN model includes a linear module, a feature attention module and a nonlinear activation model. The MSGAN model converts the spectral information of the original graph data into various scales through dimensional expansion, further extracts output information from different scales through the linear module, and activates nonlinear features through the nonlinear activation model. With the support of the attention module, multiple feature scales can explore adaptive features of different dimensions.
[0058] The GraphSAGE model uses an aggregation function to merge the information of the measured point with the information of its neighboring nodes, thereby modifying the representation of the node. For example, when the average operator is used, the architecture can be described as follows:
[0059]
[0060] It represents the node representation in the graph convolution step, and the function Mean performs the vector and its adjacent vectors GraphSAGE uses aggregation methods to explore novel and deep feature representations among multi-edge-related features, aiming to optimize the prediction results.
[0061] In the field of water depth inversion, the quantity and quality of the collected depth samples are key factors in determining the fitting performance of deep learning models. Constructing the correlation between adjacent water depth features can provide a novel spatial dimension perspective for the original data. This helps to alleviate the uncertainty between spectral features and effectively improve the training and prediction performance of graph neural networks in water depth inversion tasks. However, isolated graph structures cannot directly produce satisfactory regression results. Therefore, this application introduces a multi-scale strategy and a residual strategy in combination with the GraphSAGE model to accommodate data with the same feature dimension. Exemplarily, during the working process of the MSGAN model, the feature information of each node is aggregated, and the spectral information of the original graph data G is converted to various scales, such as 24, 25…2n, through dimensional expansion. The linear module further extracts output information from different scales and activates nonlinear features through the ReLU function. It is worth noting that MSGAN provides adjustable optimization parameters and structures for data of different qualities. Different graph data inputs correspond to different optimal dimensions. With the support of the attention module, multiple feature scales can explore adaptive features of different dimensions. .
[0062] In one embodiment, when constructing the MSGAN model, an adjacency matrix is also constructed. The matrix is used as an input of the MSGAN network, and the adjacency matrix includes a first adjacency matrix applied to the clear water area and a second adjacency matrix applied to the muddy water area.
[0063] Furthermore, the adjacent value correlation (AVC) method aims to establish the correlation between adjacent water depth values and optimize the regression threshold of adjacent intervals to mitigate the impact of information misjudgment caused by fluctuation characteristics. Generally, AVC depends on accurate depth estimates and is suitable for research in clear water areas. Large errors can lead to unstable correlation matrices, thus affecting regression results. The depth estimation difference between nodes is represented as d(v i ,v j )=RF(v i )-RF(v j ), so the first adjacency matrix is constructed based on the adjacent value correlation method, and the constructed first adjacency matrix is expressed as:
[0064]
[0065] Among them, i and j are constants, representing the serial numbers of different measurement points, d(v i ,v j ) represents the depth estimation difference between the i-th measurement point and the j-th measurement point, and t is the comparison threshold.
[0066] In the matrix E, the value 1 indicates that there is a correlation between nodes. The threshold t is usually determined by the mean square error of the initial machine learning model, such as the RF rough training model, to obtain the best results. Therefore, the calculation method of the comparison threshold is:
[0067]
[0068] Among them, y i represents the measured value of the water depth at the i-th measuring point, RF(v i ) represents the estimated value of the water depth at the ith measuring point, n represents the total number of measuring points, and ε is a real-time adjustment parameter.
[0069] Furthermore, the one-way random correlation (URC) method is specifically designed to manage unbalanced data sets. Its main goal is to generate a random one-way correlation matrix, from high to low and vice versa, to reveal beneficial representation patterns. Unlike the average value comparison (AVC), the URC method is less stringent on the fitting quality of the data and is ideal for investigations in turbid water areas. One-way correlation can offset the lack of larger or smaller samples in the data set. Experimental results show that the construction of random correlation is superior to the fully connected method. This advantage also depends on the data quality. The information obtained from random correlation shows a higher ability to mitigate the damage caused by abnormal data, resulting in excellent regression performance. Therefore, the second adjacency matrix is constructed based on the one-way random correlation method, and the constructed second adjacency matrix is expressed as:
[0070]
[0071]
[0072] Among them, E up represents the one-way correlation matrix of the upstream connection, E down represents the one-way correlation matrix of downward connection, t up represents the upward threshold, t down represents the downlink threshold, RF(v j ) represents the estimated value of the water depth at the jth measuring point.
[0073] Furthermore, the calculation method of the uplink threshold and the downlink threshold is:
[0074]
[0075]
[0076] Among them, ε up is the uplink adjustment parameter, ε down It is the downlink adjustment parameter.
[0077] In one embodiment, the mean absolute error, the mean relative error and the root mean square error between the predicted depth value and the actual depth data are calculated, and the depth prediction accuracy is evaluated based on the mean absolute error, the mean relative error and the root mean square error.
[0078] The mean absolute error (MAE) is calculated as:
[0079]
[0080] The mean relative error (MRE) is calculated as:
[0081]
[0082] The root mean square error (RMSE) is calculated as:
[0083]
[0084] The coefficient of determination (R2) is calculated as:
[0085]
[0086] y i ' indicates the predicted value, y i represents the actual value, and n represents the number of samples.
[0087] The mean absolute error (MAE) is used to measure the average absolute difference between the predicted value and the actual value, which directly indicates the size of the error. The smaller the MAE value, the better the prediction performance.
[0088] The mean relative error (MRE) takes into account the proportional relationship between the actual value and the predicted value. It is used to measure the average relative deviation between the predicted value and the actual value, indicating the relative error. Smaller MRE values indicate better prediction performance.
[0089] The root mean square error (RMSE) takes into account both the variance and magnitude of the error, emphasizing the impact of larger prediction errors on the overall performance compared to MAE and MRE. Smaller RMSE values indicate better model fit. The coefficient of determination (R2) represents the linear correlation between the predicted and actual values, reflecting the percentage of variation in the dependent variable that can be explained by the predicted values. It is one of the main metrics for evaluating the quality of a linear regression model. A higher R2 value indicates a better ability of the predicted values to explain the actual values, and a higher model fitness.
[0090] In order to verify the effect of this application, this application collected 5000 depth samples from a port, 2000 depth samples from a beach and 2500 depth samples from an island area. At the same time, spectral data were collected from satellites during the same period. 1000 points were randomly selected from the experimental points as the validation set data, and the remaining samples were used as the training set data. The random forest (RF) model was configured with 100 weak classifiers, and the root mean square error (RMSE) method was used to split the random tree nodes without setting the maximum depth (adaptive calculation). Both the Stumpf and Log-Linea methods use linear regression models to calculate the best fit parameters. The rough depth estimation model of MSGAN uses RF and mean square error (MSE) optimizers to optimize the regression error. A dynamic learning rate adjustment strategy is used to help obtain the best regression results. The initial learning rate is set to 0.001 and the iteration round is set to 3000. The batch size of a single training batch is set to 1000 to ensure that the batch size of the prediction task remains consistent. In terms of data preprocessing, due to the presence of deeper artificial channels in the measurement data of a certain port and the lack of depth measurement results in areas far from the land, directly using the original data will lead to abnormal deviations in the prediction weights. Therefore, a stratified sampling method is used to balance the data distribution.
[0091] Considering the turbid water quality of a port, MSGAN uses the one-way random correlation (URC) method to construct an upward one-way correlation matrix, denoted as tup=-4. The experiments conducted on a beach and an island area used raw depth measurement data. For clear water quality, MSGAN uses the average value comparison (AVC) method to construct the adjacency matrix. In the beach experiment, the threshold (t) was set to 0.5, while in the island area experiment, t was set to 4.
[0092] In order to ensure the stability of various algorithms, this study repeated the experiment for each model 5 times and selected the best result. For each sample, the mean absolute error (MAE), mean relative error (MRE) and root mean square error (RMSE) between the regressed depth value and the actual depth data were calculated. A comprehensive analysis was conducted and the results are shown in Figure 2. Figure 3 , Figure 4 and Figure 5 shown.
[0093] In the density scatter plot of a port, MSGAN shows obvious advantages because the turbid water interferes with the regression direction of the traditional machine learning model. Stumpf and Log linear models (see Figure 3 (a), (b)) show that the linear correlation decreases in the depth range of 2-5m and in depths above 9m. They tend to overestimate shallow water depths (2-5m) and underestimate depths above 9m. The random forest (RF) model benefits from the collective decision of multiple weak classifiers and maintains a good linear correlation in the estimated depth values within the training range. However, it still shows severe underestimation for depths above 9m. MSGAN further optimizes the RF-based coarse extraction, thereby reducing the fluctuation error in 4-9m depth prediction, especially in depth predictions above 9m.
[0094] The water quality at a certain beach experimental point exceeded that of a certain port, and all algorithm models showed strong linear correlation. The Stumpf model showed stable prediction results in the range of 0-11m, although it fluctuated greatly and tended to overestimate the depth above 11m. The log-linear model overestimated the depth below 6 meters and underestimated the depth above 6 meters. Both the random forest (RF) and MSGAN models showed superior convergence results, especially in shallow waters below 3m, where the depth estimation results were more stable, with a mean absolute error (MAE) below 0.4, a mean relative error (MRE) below 40%, and a root mean square error (RMSE) below 0.5. The distinguishing factor is that MSGAN solves the problem of RF's underestimation in predictions around 11m, which is more clearly reflected in the depth estimation graph (see Figure 4 ).
[0095] The water quality of a certain island is relatively superior and clear. The results produced by the Stumpf model are consistent with the trend of water depth changes, but show a tendency to overestimate the depth for flooded areas less than 5 meters. The log-linear model shows severe underestimation in deep water areas (greater than 30m) affected by the sample distribution, because the model tends to fit smaller errors in the interval with a wider sample distribution. The random forest (RF) model is also affected by the sample distribution and maintains a good linear correlation. The RF scatter plot shows greater dispersion in deep water areas beyond 15 meters. MSGAN achieved similar results to RF, but alleviated the prediction fluctuations in deep water areas beyond 15 meters. Similar to the experiment on a certain beach, MSGAN showed excellent performance in deep water areas.
[0096] The experimental results show that MSGAN outperforms other models in water depth inversion in various study areas. Sample size and water quality significantly affect the performance of the water depth inversion model. Generally, a larger number of samples collected per unit depth and a wider distribution of sampling points help improve the model's fitting performance. In addition, the model's performance is generally better in areas with clear water than in areas with turbid water. The optimization strategy implemented by MSGAN produced positive results in different experimental areas.
[0097] Figure 6 , Figure 7 and Figure 8 The depth inversion results of a port, a beach and an island study area are shown respectively.
[0098] In the depth range of 0-15 m in a port, the four algorithms show similar trends, although some local variations are worth noting. In the depth range of 0-6 m, the estimates of the Stumpf model and the Log linear model are generally larger (upper left part of the study area), while the Random Forest (RF) and MSGAN models provide more accurate predictions. In the depth range of 6-8 m, the four algorithms show similar trends in water depth inversion. In the depth range above 8 m, all four models underestimate the water depth of the central artificial channel in the study area, which is also reflected in the scatter plot (see Figure 6 ). However, near the harbor of the study area, the Stumpf and Log linear models incorrectly predicted shallow water depths, while RF and MSGAN provided predictions that were closer to reality. It is worth noting that in coastal areas, the RF and MSGAN models were affected by the complex seafloor geology, resulting in deeper predictions for the 0-1 m diving zone. MSGAN alleviated this problem to some extent, but the errors still persisted. The Stumpf and Log linear models showed more stable performance in coastal areas.
[0099] The depth measurement range of a beach test area is 0-15 meters. In the depth range of 0-5 meters, the four algorithms show similar water depth estimation results. The Random Forest (RF) and MSGAN models make shallower depth measurements in coastal areas, which is consistent with the trend in the scatter plot. The Stumpf model shows some instability in some areas, producing significant noise, which may be affected by wave activity. In the range of 6-10 meters, the Stumpf and Log linear models produce more unstable depth noise, while the RF and MSGAN algorithms produce maps with minimal noise, resulting in smoother depth measurements. In the deep water range of more than 10 meters, the Stumpf model estimates deeper depths in some areas. The log linear model can estimate deep water areas, but the growth rate is slow and deviates from the actual situation. RF is constrained by the detection results of the training data and loses the ability to continue depth measurements in deep water areas. MSGAN solves the underestimation problem observed in RF in deep water areas, thereby improving depth measurement results.
[0100] The depth measurement range of an island is 0-50 meters, and there are significant distributions of coral reefs in coastal areas. In the depth range of 0-10 meters, the log-linear, random forest (RF), and MSGAN models show similar depth measurement results, while the Stumpf model misjudges the coral reef growth area. In the range of 10-30 meters, the Stumpf, RF, and MSGAN models show accurate depth distribution, while the log-linear model encounters a slow growth problem, resulting in an underestimation of the depth of the deep water area. In deep water areas exceeding 30 meters, RF loses the ability to measure depth, especially in areas exceeding 40 meters, where it overfits and fails to reverse the deep water area. The log-linear model still faces the problem of slow depth growth. The Stumpf and MSGAN models perform better in flipping the deep water area. However, Stumpf's predictions show too much noise, resulting in unstable results, as shown in the scatter plot. The depth map of MSGAN is smoother and more consistent with the trend of water depth changes.
[0101] Multi-scale generative adversarial networks (MSGAN) have been used to generate topographic maps of different locations, including a port, a beach, and an island. The generated maps have a high similarity to the actual geographical conditions, thus demonstrating the superior accuracy of MSGAN in water depth inversion compared to other existing models. Comparative analysis with measured data shows that the topographic maps generated by MSGAN effectively reflect the actual changes in water depth.
[0102] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for predicting water depth in coastal waters, characterized in that: The bathymetric method comprises the following steps: Obtain the optical measurement point data of coastal waters, and pre-process the optical measurement point data of coastal waters to obtain the original water depth optical characteristics of the measurement point; Constructing an initial machine learning model, inputting the original water depth optical features into the initial machine learning model, and obtaining an initial estimation result of the water depth at the measuring point; Based on the initial estimation results of the water depths of the multiple measurement points, a MSGAN model is built, and an adjacency matrix is constructed to encode the relationship between the water depth measurement points; Train the MSGAN model and perform water depth prediction based on the trained MSGAN model.
2. A method for predicting water depth in coastal waters according to claim 1, characterized in that: The initial machine learning models include random forest learning models, Log-Linear models, and Stumpf models.
3. A method for predicting water depth in coastal waters according to claim 2, characterized in that: The MSGAN model is constructed based on the GraphSAGE model by adopting a multi-scale strategy and a residual strategy. The MSGAN model includes a linear module, a feature attention module and a nonlinear activation model. The MSGAN model converts the spectral information of the original graph data into various scales through dimensional expansion, further extracts output information from different scales through the linear module, and activates nonlinear features through the nonlinear activation model. With the support of the attention module, multiple feature scales can explore adaptive features of different dimensions.
4. A method for predicting water depth in coastal waters according to claim 3, characterized in that: The adjacency matrix includes a first adjacency matrix applied to a clear water area and a second adjacency matrix applied to a muddy water area.
5. A method for predicting water depth in coastal waters according to claim 4, characterized in that: The first adjacency matrix is constructed based on the adjacent value correlation method. The first adjacency matrix constructed is expressed as: Among them, i and j are constants, representing the serial numbers of different measurement points, d(v i ,v j ) represents the depth estimation difference between the i-th measurement point and the j-th measurement point, and t is the comparison threshold.
6. A method for predicting water depth in coastal waters according to claim 5, characterized in that: The comparison threshold is calculated as follows: Among them, y i represents the measured value of the water depth at the i-th measuring point, RF(v i ) represents the estimated value of the water depth at the ith measuring point, n represents the total number of measuring points, and ε is a real-time adjustment parameter.
7. A method for predicting water depth in coastal waters according to claim 6, characterized in that: The second adjacency matrix is constructed based on the one-way random correlation method. The second adjacency matrix constructed is expressed as: Among them, E up represents the one-way correlation matrix of the upstream connection, E down represents the one-way correlation matrix of downward connection, tup represents the upward threshold, t down represents the downlink threshold, and RF(vj) represents the estimated value of the water depth at the jth measuring point.
8. A method for predicting water depth in coastal waters according to claim 7, characterized in that: The calculation method of the uplink threshold and the downlink threshold is: Among them, ε up is the uplink adjustment parameter, ε down It is the downlink adjustment parameter.
9. A method for predicting water depth in coastal waters according to claim 1, characterized in that: The mean absolute error, mean relative error and root mean square error between the predicted depth value and the actual depth data are calculated, and the depth prediction accuracy is evaluated based on the mean absolute error, mean relative error and root mean square error.
Citation Information
Cited By
Water gauge image decimal water depth estimation method and device based on piecewise linear modeling
CN120726132A
A Method and Apparatus for Estimating Decimal Water Depth from Water Gauge Images Based on Piecewise Linear Modeling
CN120726132B
