Wave parameter visual inversion method for bridge site based on analog data migration learning

By simulating data transfer learning and using 3D convolutional neural networks, combined with gradient and texture feature extraction and noise reduction techniques, the problem of dependence on on-site labeled data in existing visual wave monitoring methods has been solved, achieving cost-effective and efficient wave parameter monitoring.

CN123181328APending Publication Date: 2026-11-27SOUTHWEST JIAOTONG UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611300261.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing visual wave monitoring methods are difficult to fully utilize the spatiotemporal dynamic information of video and rely on a large amount of high-cost on-site annotation data, making it difficult to promote and apply them quickly and at low cost in different engineering scenarios.

Method used

A method based on simulated data transfer learning is adopted. A three-dimensional convolutional neural network is pre-trained by constructing a simulated wave video dataset. Combined with gradient and texture dual-channel feature extraction and intrinsic orthogonal decomposition for noise reduction, non-contact monitoring of wave parameters is achieved.

Benefits of technology

It reduces equipment deployment and maintenance costs, improves the accuracy and robustness of wave parameter inversion, adapts to complex sea conditions, and achieves economical and efficient wave monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181328A_ABST
    Figure CN123181328A_ABST
Patent Text Reader

Abstract

The application discloses a bridge site wave parameter visual inversion method based on analog data migration learning, relates to the technical field of ocean engineering and computer vision, and comprises the following steps: constructing a two-dimensional directional wave spectrum according to the sea state of a target sea area, generating an analog wave video dataset through discretization, linear superposition and three-dimensional rendering, inputting a three-dimensional convolutional neural network after extracting gradient and texture double-channel features into the three-dimensional convolutional neural network for pre-training; collecting a small amount of field measurement videos, performing noise reduction through intrinsic orthogonal decomposition, and constructing a three-dimensional convolutional neural network pre-trained through the analog wave video dataset in the same feature representation construction mode; after model training is completed, inputting a real-time monitoring video after noise reduction and feature extraction into the model, and synchronously outputting representative statistical wave height and spectral peak period prediction values represented by a double regression head. Through the two-stage strategy of analog data pre-training and a small amount of measurement fine-tuning, the application realizes low-cost non-contact intelligent inversion of wave parameters, and improves inversion accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of marine engineering and computer vision technology, and in particular to a visual inversion method for wave parameters in bridge site areas based on simulated data transfer learning. Background Technology

[0002] In marine engineering, real-time acquisition of wave parameters such as representative statistical wave height and spectral peak period is crucial for the life-cycle safety of major facilities such as cross-sea bridges, offshore wind power, and oil and gas platforms. As a significant environmental load, accurate monitoring of wave parameters directly relates to the calculation of structural ultimate impact force and dynamic response assessment. However, current mainstream wave monitoring methods mainly rely on contact-based equipment, such as acoustic Doppler current profilers, wave buoys, and fixed monitoring stations. Their core working principle is to directly measure water surface fluctuations or changes in water flow velocity through sensors, thereby calculating quantitative parameters such as representative statistical wave height and spectral peak period. Although such methods have high accuracy, equipment deployment and retrieval depend on specialized vessels, daily maintenance costs are high, and they are easily damaged or lost under extreme sea conditions, making it difficult to balance economic efficiency with the needs of large-scale deployment.

[0003] In recent years, non-contact wave monitoring methods based on cameras on shore-based, bridge, or offshore platforms have gradually attracted attention. These methods acquire sea surface images or videos, and then use image processing, feature extraction, or convolutional neural networks to establish a mapping relationship between visual features and wave parameters, thereby estimating parameters such as wave height and period. Compared to contact-based equipment, visual monitoring methods offer advantages such as lower equipment cost, flexible deployment, wider monitoring range, and no need to deploy sensors in the water, thus possessing significant potential for engineering applications.

[0004] However, the aforementioned existing technologies still have the following shortcomings: On the one hand, some methods mainly rely on single-frame images, inter-frame difference images, or two-dimensional convolutional networks for feature extraction, making it difficult to fully utilize the spatiotemporal dynamic information contained in wave propagation, wave crest evolution, and surface texture changes in continuous videos. Therefore, their ability to invert parameters that depend on time-series evolution features, such as representative statistical wave height and spectral peak period, is limited. On the other hand, the training process of deep learning models usually relies on large-scale, high-quality, and strictly synchronized field-measured labeled data with real wave parameters. However, obtaining such data in actual marine engineering is costly and subject to objective environmental constraints, making it difficult for existing methods to be quickly and cost-effectively promoted and applied in different engineering scenarios. Summary of the Invention

[0005] To overcome the problems of existing visual wave monitoring methods being unable to fully utilize video spatiotemporal dynamic information and relying on a large amount of on-site labeled data, this invention provides a visual inversion method for wave parameters in bridge site areas based on simulated data transfer learning.

[0006] The technical solution adopted in this invention is a visual inversion method for wave parameters in bridge site areas based on simulated data transfer learning, comprising the following steps: S1, determining representative statistical wave height, spectral peak period, and main wave direction ranges based on historical sea conditions of the target sea area, and randomly sampling to generate wave conditions; constructing a two-dimensional directional wave spectrum based on a wave spectrum model; discretizing the frequency and direction of the two-dimensional directional wave spectrum; and generating a sea surface height sequence based on the linear superposition of discrete wave components; and generating a simulated wave video dataset through three-dimensional rendering; S2, simultaneously extracting gradient features and local texture features from the simulated wave video sequence and splicing them into a dual-channel feature sequence; S3, constructing a multi-task three-dimensional convolutional neural network and reconstructing the initial convolutional layer to adapt to... The system employs a dual-channel input with two independent regression heads set in parallel at the end. After loading general video pre-training weights, it is pre-trained on a simulated dataset. In S4, measured sea surface videos are acquired, and the measured labeled values ​​of representative statistical wave height and spectral peak period are obtained simultaneously. The videos are resampled, segmented, and converted into grayscale images. In S5, intrinsic orthogonal decomposition is performed on the measured segments for noise reduction. After reconstructing the dominant mode, dual-channel features consistent with the simulated data are extracted and input into a 3D convolutional neural network pre-trained on the simulated wave video dataset, which is then fine-tuned using transfer learning. In S6, the real-time acquired monitoring video is input into the trained model after noise reduction and feature extraction. The dual regression heads simultaneously output the predicted values ​​of representative statistical wave height and spectral peak period.

[0007] Furthermore, the construction of a two-dimensional directional wave spectrum based on the wave spectrum model in S1 includes: based on the one-dimensional JONSWAP spectrum. And combined with the directional diffusion function Generate two-dimensional directional wave spectrum ,in Angular frequency, For scale parameters, It is the acceleration due to gravity. The spectral peak angular frequency, For the spectral peak period, Peak enhancement factor For the peak width parameter, For the direction angle of propagation, Main wave direction, For direction-focused parameters, The normalization coefficient is... Let be the directional diffusion function.

[0008] Furthermore, the discrete superposition of the sea surface height sequence in S1 is achieved using a linear superposition formula. To achieve, among which, for Time-space coordinates Sea level elevation at that location For the first The frequency, the first The amplitude of each directional wave component For the corresponding wave number, For the first angular frequency of a frequency, For the first The propagation direction angle of each directional wave component. The initial phase is random.

[0009] Furthermore, the intrinsic orthogonal decomposition denoising in S5 includes: expanding the grayscale video clips into a two-dimensional spatiotemporal data matrix. ,in The number of pixels per frame. For the number of frames, calculate the mean vector along the time dimension. ,Right now and the mean vector is extracted from the two-dimensional spatiotemporal data matrix. Subtracting from each column yields the centered matrix. ,Right now ,in For length is A single-column vector; singular value decomposition of the centered matrix. ,in It is a left singular matrix. It is a singular value diagonal matrix. It is a right singular matrix. Given the number of non-zero singular values, calculate the cumulative energy contribution rate. ,in For the first A singular value, choose one that makes Minimum to reach the preset energy threshold Using the dominant mode number as the value, k singular values ​​and their corresponding left and right singular vectors are extracted and reconstructed in low rank to obtain the reconstruction matrix. The reconstructed matrix is ​​then rearranged according to the frame order and spatial dimensions of the original grayscale video segments to obtain the denoised video frame sequence, wherein... The front after truncation Transpose of a left singular matrix, a singular value diagonal matrix, and a right singular matrix.

[0010] Furthermore, the three-dimensional convolutional neural network in S3 adopts the X3D-M architecture as its backbone network, and the input feature video sequence contains sixteen frames, each with a spatial size of [missing information]. The network has two channels and uses a pixel-level, two-channel design. The weights of the three channels in the pre-trained X3D-M Stem layer are averaged and copied to a two-channel configuration to fit the input. The network comprises four feature extraction stages, and the feature map spatial resolution is downsampled to [resolution value missing]. The time dimension is compressed to four frames, the number of channels is expanded to 192, the original classification layer is removed after global average pooling, and two independent regression heads are connected in parallel. Each regression head contains a fully connected layer with 400 neurons, which are used to output representative statistical wave height and spectral peak period, respectively.

[0011] Furthermore, the pre-training in S3 and the fine-tuning in S5 employ the Huber loss function for parameter optimization. For any sample, the prediction error is denoted as... The Huber loss function is defined as follows: For a single wave parameter task, the loss function is expressed as: When the model simultaneously outputs representative statistical wave height and spectral peak period, the total loss function is expressed as: ,in, For the first Predicted wave parameters for each sample. These are the corresponding measured and labeled values. The number of training samples. For threshold parameters, As representative statistical wave height regression task weights, As the weight for the spectral peak periodic regression task, For representative statistical wave height regression loss, This represents the periodic regression loss of the spectral peak.

[0012] Furthermore, S4 includes: acquiring a video sequence of the sea surface in the target sea area using a monocular camera and simultaneously obtaining the measured labeled values ​​of representative statistical wave height and spectral peak period using a wave meter; resampling the acquired video to a frame interval of 0.6 seconds to meet the model's time resolution requirements; dividing the resampled video into non-overlapping video segments containing 16 frames, corresponding to a time window of approximately 9.6 seconds; and uniformly converting the RGB video frames into grayscale images to reduce color difference interference caused by illumination color shift and water turbidity.

[0013] Further, S5 includes: performing the same edge detection operator as the simulated data on the denoised measured video sequence, extracting gradient features and constructing a first channel feature map; calculating the standard deviation of pixel intensity within a local window of each frame image on the same time frame as the gradient features to obtain a texture feature map characterizing local sea surface roughness, and using it as a second channel feature map; keeping the gradient feature map and texture feature map strictly synchronized and aligned on the time axis to form a dual-channel feature video sequence; inputting the processed measured samples into a three-dimensional convolutional neural network pre-trained on a simulated wave video dataset, and fine-tuning the network parameters using a preset fine-tuning learning rate, wherein the preset fine-tuning learning rate is lower than the learning rate in the simulated data pre-training stage.

[0014] Furthermore, S6 includes: deploying a monocular camera at the required monitoring location on a cross-sea bridge or offshore platform to acquire continuous sea surface video in real time; sequentially performing time window slicing, grayscale conversion, and noise reduction and reconstruction based on intrinsic orthogonal decomposition on the acquired video; extracting gradient and texture dual-channel features from the denoised video sequence and splicing them into a standard input format; inputting the processed feature video sequence into the trained model to perform forward inference, and having the dual regression head simultaneously output representative statistical wave height prediction values ​​and spectral peak period prediction values ​​for the current sea state.

[0015] Furthermore, in S2, gradient features are extracted using the Sobel edge detection operator to extract the gradient field of each frame of the image. In S2, texture features are extracted by calculating the standard deviation of pixel intensity within a local window of the image. The size of the local window is 5×5 pixels. The gradient feature map and texture feature map are aligned and stitched together in the channel dimension to form a dual-channel feature video sequence, which is used as the standard input of the three-dimensional convolutional neural network.

[0016] Beneficial Effects: This invention proposes a visual inversion method for wave parameters in bridge site areas based on simulated data transfer learning. By constructing a large-scale simulated wave video dataset containing gradient and texture dual-channel features for pre-training a 3D convolutional neural network, the model can pre-learn the general spatiotemporal kinematic laws such as contour evolution and sea surface roughness changes during wave propagation. Only a small amount of on-site measured video and synchronous measured labeled values ​​are needed to fine-tune the 3D convolutional neural network pre-trained on the simulated wave video dataset, allowing it to quickly adapt to the real lighting and marine environment of the target sea area, thereby reducing the dependence of traditional deep learning methods on large-scale on-site labeled data. Simultaneously, this method abandons the simple differential processing method of compressing temporal information to image channels in existing technologies, instead employing a 3D convolutional neural network to continuously... The model directly extracts spatiotemporal joint features from the video sequence, effectively preserving the continuous evolution information of waves along the time axis. Furthermore, by leveraging a multi-task learning structure and setting up two independent regression heads in parallel on a shared backbone network, the accuracy of synchronous quantitative inversion of representative statistical wave height and spectral peak period is improved. In addition, to address high-frequency interference such as water surface reflection and sensor noise in the measured videos, an intrinsic orthogonal decomposition denoising mechanism is introduced to reconstruct the video sequence in a low-rank manner. This effectively removes noise components while preserving the dominant spatiotemporal modes of waves, further enhancing the model's robustness under complex actual sea conditions. Finally, the entire process of non-contact monitoring can be completed using only a monocular camera, reducing equipment deployment and maintenance costs. This provides a relatively economical, efficient, and easily deployable new technical means for wave monitoring in marine engineering. Attached Figure Description

[0017] Figure 1 This is an overall flowchart of an embodiment of the present invention; Figure 2This is a single-frame three-dimensional dynamic sea surface image from a simulated wave video dataset synthesized through numerical simulation and fast Fourier transform, as described in an embodiment of the present invention. Figure 3 These are gradient feature maps and texture feature maps from embodiments of the present invention; Figure 4 This is a schematic diagram of a three-dimensional convolutional neural network structure according to an embodiment of the present invention; Figure 5 This is a schematic diagram of the on-site installation and monitoring area of ​​a monocular camera according to an embodiment of the present invention; Figure 6 This is a comparison image of the grayscale sea surface image and the sea surface image after POD denoising, according to an embodiment of the present invention. Figure 7 This is a schematic diagram illustrating the working principle of the on-site online wave parameter inversion system according to an embodiment of the present invention. Detailed Implementation

[0018] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0019] A visual inversion method for wave parameters in bridge site areas based on simulated data transfer learning includes the following steps: Based on the historical sea conditions of the target sea area, the representative statistical wave height, spectral peak period and main wave direction range are determined and the wave conditions are generated by random sampling. A two-dimensional directional wave spectrum is constructed based on the wave spectrum model, and the sea surface height sequence is generated by frequency and direction discretization and linear superposition. The simulated wave video dataset is generated by three-dimensional rendering. Gradient features and local texture features are extracted synchronously from the simulated wave video sequence and then concatenated into a dual-channel feature sequence; A multi-task 3D convolutional neural network is constructed. The initial convolutional layer is reconstructed to adapt to dual-channel input. Two independent regression heads are set in parallel at the end. After loading general video pre-training weights, it is pre-trained on a simulated dataset. Collect measured sea surface videos and simultaneously obtain the measured labeled values ​​of representative statistical wave height and spectral peak period. Resample the video, divide it into segments, and convert it into grayscale images. The measured segments were decomposed and denoised using intrinsic orthogonal decomposition. After reconstructing the dominant mode, dual-channel features consistent with the simulated data were extracted and input into a three-dimensional convolutional neural network pre-trained on a simulated wave video dataset. Transfer learning was then used for fine-tuning. The real-time collected monitoring video is denoised and feature extracted and then input into the trained model. The dual regression head synchronously outputs representative statistical wave height prediction values ​​and spectral peak period prediction values.

[0020] This embodiment uses a real-world wave monitoring application at a cross-sea bridge location as an example. The sea area where the bridge is located is a typical strong tidal bay with rapid, fluctuating currents and a once-in-a-century extreme current velocity of 3.3 m / s. Simultaneously, this sea area is constantly influenced by the East Asian monsoon system and is a common impact zone along the path of typhoons in the Northwest Pacific, resulting in complex and variable wind and wave conditions. Design wave heights can range from 3.36 meters to 7.80 meters under different return periods. The combined effect of strong tidal currents and complex waves in this sea area, along with the influence of wave-current coupling and the superposition of wind, waves, and swells on the sea surface's visual characteristics, allows for the verification of the adaptability, robustness, and wave parameter inversion accuracy of the method of this invention in complex sea conditions in actual engineering projects. The data used in this embodiment comes from actual cross-sea bridge engineering monitoring scenarios, and the monitoring results can provide wave parameter references for construction window judgment, structural safety monitoring, and sea condition assessment.

[0021] To address the aforementioned complex sea conditions, this embodiment provides a visual inversion method for wave parameters in the bridge site area based on simulated data transfer learning, such as... Figure 1 As shown, the specific implementation process is as follows: Step 1: Construction and pre-training of simulated wave video dataset; The purpose of this step is to address the problem of the difficulty in obtaining large-scale on-site measured and labeled data. First, a large-scale simulated wave video dataset is constructed using numerical simulation methods, and the model is pre-trained based on this dataset. This allows the model to learn the general spatiotemporal evolution laws of waves in advance, thus laying the foundation for subsequent fine-tuning with a small amount of measured data.

[0022] In this embodiment, representative statistical wave heights are determined based on historical sea state statistics for the target sea area. Spectral peak period and main wave direction The parameter value range is defined, and random sampling is performed within the parameter value range to generate multiple wave condition samples. Among them, the spectral peak period is... Representative statistical wave height and spectral peak period can be used as a basis. The empirical relationship between them determines the theoretical center value, and random perturbations are introduced near the theoretical center value to increase the diversity of simulated wave conditions; the main wave direction The value range is determined based on the historical dominant wave direction statistics of the target sea area.

[0023] In this invention, the wave spectrum model is used to characterize the distribution of wave energy with frequency or frequency-direction in a target sea area. It can be determined based on the sea state characteristics, historical observation data, or engineering design data of the target sea area. The wave spectrum model can be a JONSWAP spectrum, a Pierson-Moskowitz spectrum, a TMA spectrum, a wave spectrum model fitted based on measured wave spectrum data of the target sea area, or a wave spectrum model output by a numerical wave model. In this embodiment, the wave spectrum model preferably uses a one-dimensional JONSWAP wave spectrum, combined with a cosine-type directional diffusion function to generate a two-dimensional directional wave spectrum; furthermore, the amplitude of each component is determined based on the energy of the discrete frequency-directional wave components, and a sea surface elevation function is generated under the principle of linear superposition. In this embodiment, the Fast Fourier Transform method is used. Within the spatial domain (grid) ),like Figure 2 As shown, a 60-second dynamic sea surface process was simulated with a time step of 0.6 seconds. This was rendered as a video and segmented into 16-frame segments, ultimately generating 3000 independent simulated sea state videos, which were further segmented into 18000 sixteen-frame training samples.

[0024] To ensure consistency in input format between the simulated video data and subsequent measured video data, and to enhance the model's ability to learn wave dynamics features, this embodiment further performs dual-channel feature extraction on the simulated video sequence. The extraction results are as follows: Figure 3 As shown, firstly, an edge detection operator (such as the Sobel operator) is used to extract the gradient field of each frame of the image, constructing a first-channel feature map to highlight the edges, contours, and local morphological changes during wave propagation. Secondly, the standard deviation of pixel intensity within a local window (e.g., 5×5 pixels) of the image is calculated to extract texture features, constructing a second-channel feature map to characterize local sea surface roughness and small-scale surface structure changes. Finally, the gradient feature map and texture feature map are kept strictly synchronized on the time axis and aligned and stitched together in the channel dimension to form a dual-channel feature video sequence of "gradient + texture," which serves as the standard input for subsequent 3D convolutional neural networks. Experiments show that the dual-channel combination of "gradient + texture" achieves better prediction accuracy compared to a single grayscale image.

[0025] like Figure 4As shown, this embodiment uses the X3D-M architecture as the backbone network of a three-dimensional convolutional neural network. The input feature video sequence contains 16 frames, each with a spatial size of 224×224 and 2 channels. The three-channel weights of the Stem layer of the pre-trained X3D-M are averaged and copied to a two-channel configuration to adapt to the input of the aforementioned two-channel feature video sequence. The network contains four feature extraction stages, with the feature map spatial resolution ultimately downsampled to 14×14, the temporal dimension compressed to 4 frames, and the number of channels expanded to 192. After global average pooling (GAP), the original classification layer is removed, and two independent regression heads are connected in parallel. Each regression head contains a fully connected layer with 400 neurons, used to synchronously output representative statistical peak heights and spectral peak periods.

[0026] After completing the network structure construction, the neural network is pre-trained using the constructed simulated wave dataset. First, pre-trained weights from a general video dataset, such as Kinetics-400 pre-trained weights, are loaded. Then, the constructed and processed large-scale simulated wave dual-channel feature video dataset is input into the network for thorough training, enabling the model to initially grasp the general spatiotemporal motion laws of waves.

[0027] During training, this embodiment uses the AdamW optimizer to update parameters and the Huber loss function to enhance the model's robustness to outliers. Simultaneously, it employs an Automatic Mixed Precision (AMP) training mode, using FP16 half-precision in computationally intensive modules such as 3D convolution, while retaining FP32 single precision during normalization and loss calculation, thus balancing training stability and computational efficiency.

[0028] Step 2: Fine-tuning and optimizing the model based on measured data; The purpose of this step is to use a small amount of real-world labeled data to enable the model, which has been pre-trained on simulated data, to quickly adapt to the complex lighting, water surface reflection, sensor noise, and local environmental differences in the actual engineering marine environment, thereby achieving the migration from simulated marine scenes to real marine scenes.

[0029] like Figure 5 As shown, a monocular network camera with a resolution of 1920×1080 pixels and a focal length of 6mm is installed on a cross-sea bridge or offshore platform. The installation height is approximately 5.5m above the water surface, with a downward angle of 30° and a field of view of 60°. Sea surface video is continuously acquired at a frame rate of 25fps. Simultaneously, a representative statistical wave height and spectral peak period are obtained using an SBY2-1 ultrasonic wave meter.

[0030] To meet network input requirements, the video was resampled to a 0.6-second interval between frames and segmented into non-overlapping video segments containing 16 frames, corresponding to a time window of approximately 9.6 seconds. The 9.6-second window completely covers the period of the largest observed spectral peak in the sea area (approximately 7.0 seconds). Subsequently, the RGB video frames were uniformly converted to grayscale images to reduce color difference interference caused by illumination color shift and water turbidity (e.g., ...). Figure 6 (as shown in (a)).

[0031] Considering that videos collected in actual marine environments are easily affected by high-frequency interference such as water surface reflection, wave flicker, and sensor noise, this embodiment uses intrinsic orthogonal decomposition (POD) to perform spatiotemporal noise reduction on the measured grayscale video segments.

[0032] In this embodiment, it is preferable to retain the top few dominant modes, which account for 30% of the total energy, for low-rank reconstruction (the denoised image is as follows). Figure 6 (b) shows that, in this embodiment, the model prediction error is minimized when 30% of the energy is retained. If the retention ratio is too high (e.g., above 70%), high-frequency noise such as random reflections on the water surface and sensor noise contained in higher-order modes will be introduced, leading to a decrease in the signal-to-noise ratio and causing model overfitting.

[0033] For the measured video sequence after POD denoising, the same dual-channel feature extraction strategy as the simulated video in step 1 is adopted to ensure the consistency of the input format between the source domain and the target domain in transfer learning.

[0034] In the transfer learning fine-tuning stage, the model weights obtained from pre-training on the simulated wave video dataset in step 1 are used as initial weights, and targeted fine-tuning is performed using a small number of pre-processed, denoised, and dual-channel feature extraction field-tested video samples. Preferably, some parameters of the lower-level convolutional layers are frozen, and only the parameters of the higher-level feature layers and the dual-regression output head are updated; or a preset fine-tuning learning rate is used to jointly fine-tune the entire network, and the preset fine-tuning learning rate is lower than the learning rate in the simulated data pre-training stage. During the fine-tuning process, the measured labeled values ​​of representative statistical wave height and spectral peak period are used as supervision information, and the Huber loss function or mean squared error loss function is used to constrain the deviation between the predicted value and the true value.

[0035] Through the two-stage transfer learning mechanism of "pre-training with simulated data + fine-tuning with a small amount of measured data", the model can reduce its dependence on large-scale field-labeled data and improve the accuracy of predicting representative statistical wave height and spectral peak period under real sea conditions.

[0036] Step 3: Online inversion of on-site wave parameters; This step involves deploying the pre-trained and fine-tuned model into a real-world engineering scenario, using a monocular camera to collect real-time sea surface video, and achieving online, non-contact inversion of representative statistical wave heights and spectral peak periods.

[0037] like Figure 7 As shown, during deployment, the sea surface video slices captured in real time by the monocular camera deployed on-site are sequentially subjected to POD noise reduction and reconstruction, as well as gradient and texture dual-channel feature extraction. Subsequently, the processed dual-channel feature video sequence is input into the 3D-CNN model trained in steps 1 and 2 for forward inference. The dual regression head at the network's end outputs the representative statistical wave height prediction value and spectral peak period prediction value of the current sea state in real time and synchronously. The test results of this embodiment on the test set are as follows: the mean absolute error (MAE) of the representative statistical wave height is 0.025m, with a coefficient of determination (R²) of 0.960; the mean absolute error (MAE) of the spectral peak period is 0.110s, with a coefficient of determination (R²) of 0.969. This indicates that the method can meet the accuracy requirements of non-contact wave parameter monitoring in the scenario described in this embodiment, providing a relatively efficient and reliable new technical means for disaster prevention and mitigation, construction forecasting, and structural health monitoring in marine engineering.

[0038] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various equivalent changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A visual inversion method for wave parameters in bridge site areas based on simulated data transfer learning, characterized in that, Includes the following steps: S1. Based on the historical sea conditions of the target sea area, determine the representative statistical wave height, spectral peak period and main wave direction range and randomly sample to generate wave conditions. Construct a two-dimensional directional wave spectrum based on the wave spectrum model. Discretize the frequency and direction of the two-dimensional directional wave spectrum and generate a sea surface height sequence based on the linear superposition of discrete wave components. Generate a simulated wave video dataset through three-dimensional rendering. S2, synchronously extract gradient features and local texture features from the simulated wave video sequence and splice them into a dual-channel feature sequence; S3: Construct a multi-task 3D convolutional neural network, reconstruct the initial convolutional layer to adapt to dual-channel input, set two independent regression heads in parallel at the end, and pre-train on a simulated dataset after loading general video pre-training weights. S4: Collect measured sea surface video and simultaneously obtain the measured labeled values ​​of representative statistical wave height and spectral peak period, resample the video into segments and convert them into grayscale images; S5. The measured segment is decomposed and denoised by intrinsic orthogonal decomposition. After the dominant mode is reconstructed, dual-channel features consistent with the simulated data are extracted and input into the three-dimensional convolutional neural network pre-trained by the simulated wave video dataset and fine-tuned by transfer learning. S6 inputs the real-time collected monitoring video into the trained model after noise reduction and feature extraction, and the dual regression head synchronously outputs representative statistical wave height prediction values ​​and spectral peak period prediction values.

2. The method for visual inversion of wave parameters in bridge site areas based on simulated data transfer learning according to claim 1, characterized in that, The construction of a two-dimensional directional wave spectrum based on the wave spectrum model in S1 includes: based on the one-dimensional JONSWAP spectrum. And combined with the directional diffusion function Generate two-dimensional directional wave spectrum ,in Angular frequency, For scale parameters, It is the acceleration due to gravity. For the spectral peak period, The spectral peak angular frequency, Peak enhancement factor For the peak width parameter, For the direction angle of propagation, Main wave direction, For direction-focused parameters, The normalization coefficient is... Let be the directional diffusion function.

3. The method for visual inversion of wave parameters in bridge site areas based on simulated data transfer learning according to claim 1, characterized in that, The generation of the sea surface height sequence in S1 includes: discretizing the frequency and direction of the two-dimensional directional wave spectrum to obtain multiple discrete wave components, and then using a linear superposition formula... Generate the sea surface height sequence, wherein, for Time-space coordinates Sea level elevation at that location For the first The frequency, the first The amplitude of each directional wave component For the corresponding wave number, For the first angular frequency of a frequency, For the first The propagation direction angle of each directional wave component. The initial phase is random.

4. The method for visual inversion of wave parameters in bridge site areas based on simulated data transfer learning according to claim 1, characterized in that, The intrinsic orthogonal decomposition denoising in S5 includes: expanding grayscale video segments into a two-dimensional spatiotemporal data matrix. ,in The number of pixels per frame. Calculate the time-dimension mean vector for the number of frames. ,Right now The mean vector is then extracted from the two-dimensional spatiotemporal data matrix. Subtracting from each column yields the centered matrix. ,Right now ,in For length is A single-column vector; singular value decomposition of the centered matrix. ,in It is a left singular matrix. It is a singular value diagonal matrix. It is a right singular matrix. Given the number of non-zero singular values, calculate the cumulative energy contribution rate. ,in For the first A singular value, choose one that makes Minimum to reach the preset energy threshold Using the dominant mode number as the value, k singular values ​​and their corresponding left and right singular vectors are extracted and reconstructed in low rank to obtain the reconstruction matrix. The reconstructed matrix is ​​then rearranged according to the frame order and spatial dimensions of the original grayscale video segments to obtain the denoised video frame sequence, wherein... The front after truncation Transpose of a left singular matrix, a singular value diagonal matrix, and a right singular matrix.

5. The method for visual inversion of wave parameters in bridge site areas based on simulated data transfer learning according to claim 1, characterized in that, The three-dimensional convolutional neural network in S3 uses the X3D-M architecture as its backbone network. The input feature video sequence contains sixteen frames, and the spatial size of each frame is [missing information]. The network has two channels and uses a pixel-level, two-channel design. The weights of the three channels in the pre-trained X3D-M Stem layer are averaged and copied to a two-channel configuration to fit the input. The network comprises four feature extraction stages, and the feature map spatial resolution is downsampled to [resolution value missing]. The time dimension is compressed to four frames, the number of channels is expanded to 192, the original classification layer is removed after global average pooling, and two independent regression heads are connected in parallel. Each regression head contains a fully connected layer with 400 neurons, which are used to output representative statistical wave height and spectral peak period, respectively.

6. The method for visual inversion of wave parameters in bridge site areas based on simulated data transfer learning according to claim 1, characterized in that, The pre-training in S3 and the fine-tuning in S5 use the Huber loss function for parameter optimization. For any sample, the prediction error is denoted as... The Huber loss function is defined as follows: For a single wave parameter task, the loss function is expressed as: When the model simultaneously outputs representative statistical wave height and spectral peak period, the total loss function is expressed as: ,in, For the first Predicted wave parameters for each sample. These are the corresponding measured and labeled values. The number of training samples. For threshold parameters, As representative statistical wave height regression task weights, As the weight for the spectral peak periodic regression task, For representative statistical wave height regression loss, This represents the periodic regression loss of the spectral peak.

7. The method for visual inversion of wave parameters in bridge site areas based on simulated data transfer learning according to claim 1, characterized in that, S4 includes: The target sea area's sea surface video sequence was acquired using a monocular camera, and the representative statistical wave height and spectral peak period were simultaneously obtained using a wave meter. The acquired video was resampled to a frame interval of 0.6 seconds to meet the model's temporal resolution requirements; The resampled video was divided into non-overlapping video segments containing sixteen frames, corresponding to a time window of approximately nine and a half seconds. RGB video frames are uniformly converted into grayscale images to reduce color difference interference caused by light color shift and water turbidity.

8. The method for visual inversion of wave parameters in bridge site areas based on simulated data transfer learning according to claim 1, characterized in that, S5 includes: The same edge detection operator as the simulated data was applied to the denoised test video sequence to extract gradient features and construct the first channel feature map. For the denoised test video sequence, at the same time frame as the gradient feature, the standard deviation of pixel intensity within the local window of each frame image is calculated to obtain a texture feature map characterizing the local sea surface roughness, and this is used as the second channel feature map. Gradient feature maps and texture feature maps are kept strictly synchronized and aligned on the time axis and spliced ​​together to form a dual-channel feature video sequence; The processed measured samples are input into a three-dimensional convolutional neural network pre-trained on a simulated wave video dataset. The network parameters are fine-tuned using a preset fine-tuning learning rate, which is lower than the learning rate used in the simulated data pre-training stage.

9. The method for visual inversion of wave parameters in bridge site areas based on simulated data transfer learning according to claim 1, characterized in that, S6 includes: Deploy monocular cameras at the required monitoring locations on cross-sea bridges or offshore platforms to acquire continuous sea surface video in real time; The acquired video is sequentially sliced ​​into time windows, converted to grayscale, and reconstructed with noise reduction based on intrinsic orthogonal decomposition. Extract gradient and texture dual-channel features from the denoised video sequence and concatenate them into a standard input format; The processed feature video sequence is input into the trained model to perform forward inference, and the dual regression head synchronously outputs the representative statistical wave height prediction value and spectral peak period prediction value of the current sea state.

10. The method for visual inversion of wave parameters in bridge site areas based on simulated data transfer learning according to claim 1, characterized in that, The gradient feature extraction in S2 uses the Sobel edge detection operator to extract the gradient field of each frame of the image. The texture feature extraction in S2 includes calculating the standard deviation of pixel intensity within a local window of the image. The size of the local window is 5×5 pixels. The gradient feature map and the texture feature map are aligned and stitched together in the channel dimension to form a dual-channel feature video sequence, which is used as the standard input of the three-dimensional convolutional neural network.