A method, device and equipment for monitoring beach flushing zone and seepage surface based on video images

Through multi-view video collection and deep learning models, combined with a simplified coordinate conversion model, high-frequency real-time monitoring of beach washout zones and seepage surfaces is achieved, solving the problems of insufficient monitoring efficiency and accuracy in the existing technology, and providing efficient, High-precision beach dynamic landform feature segmentation and monitoring effects.

CN117911249BActive Publication Date: 2024-10-18FUJIAN WEIZHUO TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410185309.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-19
Publication Date
2024-10-18
Estimated Expiration
2044-02-19

AI Technical Summary

Technical Problem

Existing beach washout zone and seepage surface monitoring technologies are difficult to achieve high-frequency, real-time and high-precision monitoring of spatio-temporal variation processes. Traditional video image processing algorithms have insufficient efficiency and accuracy, and lack an effective coordinate conversion model.

Method used

A multi-view video acquisition device was used to segment the beach washout zone and seepage surface video images through time-averaging processing and deep learning models, and a simplified video image coordinate conversion model was proposed, combined with dilated convolution subnetworks and spatial pyramid pooling subnetworks. The network and feature fusion layer realize efficient and high-precision feature segmentation and coordinate conversion.

Benefits of technology

It realizes high-frequency real-time monitoring of beach washout zones and seepage surfaces, improves the efficiency and accuracy of geographical coordinate conversion, can better display the dynamic landform characteristics of beaches, and meets high-precision monitoring needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117911249B_ABST
    Figure CN117911249B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for monitoring beach scour belts and seepage surfaces based on video images. The method comprises: setting up multiple video acquisition devices on the beach, acquiring video images of beach scour belts and seepage surfaces from multiple perspectives, and time-averaging the video images; inputting the time-averaged video images into a trained deep learning model, and outputting the results of the segmentation of beach scour belts and seepage surfaces; performing coordinate transformation on the results of the video image segmentation through the following "coordinate transformation" model, and fusing multiple perspectives. Based on the traditional "coordinate transformation" model, the present invention reduces the variables that need to be considered through reasonable approximation, and proposes a new simplified video monitoring "coordinate transformation" model. While ensuring the accuracy of coordinate transformation, the efficiency of geographic coordinate transformation is improved, thereby better displaying the distribution characteristics of beach scour belts and seepage surfaces; based on the big data of video image time series, the deep learning model is trained to achieve efficient and high-precision feature segmentation of beach scour belts and seepage surfaces.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of beach flushing zone and seepage surface monitoring, and in particular to a beach flushing zone and seepage surface monitoring method, device and equipment based on video images. Background Art

[0002] Beach flushing zones and seepage surfaces show diversity, high-frequency variability, and complexity in different environments and scenarios, which puts forward high requirements on the accuracy, real-time, continuity, and spatiotemporal resolution of monitoring methods. Traditional beach monitoring methods are mainly based on manual field measurement, satellite remote sensing monitoring, and drone monitoring. Manual field measurement has high monitoring accuracy but is time-consuming, labor-intensive, and costly. It is extremely difficult to operate under extreme weather conditions (such as storm surges), and it is difficult to ensure the spatiotemporal continuity and real-time nature of the sampled data. Satellite remote sensing has the widest monitoring space range, but is limited by factors such as satellite revisit cycles and sensor performance. Its sampling spatiotemporal resolution is low and cannot meet the needs of high-frequency monitoring of flushing and seepage movement. Drone monitoring has high spatial resolution, but its airspace use application is often limited, requiring on-site operation by personnel, and has high technical requirements for operators. It can be said that the existing beach monitoring technology cannot yet achieve high-frequency monitoring of the spatiotemporal variation process of beach flushing zones and seepage surfaces.

[0003] In recent years, technologies such as digital video monitoring, network storage and digital image processing have developed rapidly. Based on the rich optical signals carried by video images, the information of coastal elements can be mined to monitor and quantify various nearshore dynamic geomorphological processes. Further integrated into a shore-based video monitoring system that integrates image acquisition, data storage, transmission and data processing, it has the advantages of real-time, continuous, safe and reliable, and suitable for complex weather environments while covering a larger time and space scale. However, for video images, traditional digital image processing algorithms such as visual interpretation, threshold segmentation, and edge detection have obvious shortcomings such as low efficiency, accuracy, and robustness, and it is difficult to meet the needs of efficient and high-precision beach dynamic geomorphological feature area segmentation. On the other hand, video images are limited by the camera installation height and observation angle, and the resulting video images are often oblique images rather than orthophotos like satellite remote sensing images. Therefore, it is necessary to use the "coordinate transformation" model to transform geographic coordinates. The existing "coordinate transformation" model is relatively complex and considers many parameters, resulting in a relatively complex operation of geographic coordinate transformation and difficulty in ensuring accuracy. In summary, there is currently a lack of "coordinate transformation" models and recognition algorithms for the fine monitoring of beach flushing zones and seepage surface characteristics in video images. Summary of the invention

[0004] In view of this, the purpose of the present invention is to propose a method, device and equipment for monitoring beach scour zones and seepage surfaces based on video images, which can solve at least one technical problem mentioned in the background technology.

[0005] According to one aspect of the present invention, a method for monitoring beach scour zones and seepage surfaces based on video images is provided, comprising:

[0006] Set up multiple video acquisition devices on the beach to collect video images of the beach flushing zone and seepage surface from multiple perspectives, and perform time-averaging on the video images;

[0007] Input the time-averaged video images into a trained deep learning model, and output the results of the beach flushing zone and seepage surface video image segmentation;

[0008] "Coordinate transformation" is the process of transforming the oblique video image taken by the camera from the image coordinate system to the plane geographic coordinate system. It is the basis for quantitative extraction of the flow zone and seepage surface of the video image. The video image is transformed into coordinates through the following "coordinate transformation" model:

[0009]

[0010]

[0011]

[0012]

[0013] In the formula, is a point in the plane coordinate system, and the image distortion coordinates that match it are (c, r); (u, v) represents the undistorted coordinates to be solved, and d 2 =u 2 +v 2 ; represents the distortion coefficient; s represents the size of the pixel; (o c ,o r ) are the coordinates of the image principal point; is the position of the camera in the plane world coordinate system; is the rotation matrix defined by the Euler angles (φ, σ, τ);

[0014] The time-averaged video images are input into a trained deep learning model, and the results of the video image segmentation of the beach flushing zone and seepage surface are output.

[0015] In the above technical solution, based on the traditional "coordinate transformation" model, the variables that need to be considered are reduced through reasonable approximation, and a new simplified video image "coordinate transformation" model is proposed. While ensuring the accuracy of coordinate transformation, the efficiency of geographic coordinate transformation is improved, thereby better showing the distribution characteristics of beach flushing belts and seepage surfaces; based on video image time series big data, a deep learning model is trained to achieve efficient and high-precision segmentation of beach flushing belts and seepage surfaces.

[0016] In some embodiments, the multi-angle capture of beach flushing zone and seepage surface video images specifically includes:

[0017] At an altitude of more than 20m, video images of the beach flushing zone and seepage surface are collected from multiple perspectives.

[0018] In the above technical solution, in order to ensure that the video camera has sufficient observation field, multiple video acquisition devices are set up on the beach at an altitude of more than 20m to collect video images of the beach flushing zone and seepage surface from multiple perspectives.

[0019] In some embodiments, video images of beach flushing zone and seepage surface are collected from multiple perspectives, specifically:

[0020] At each viewing angle, the time-averaged image acquisition interval is set according to the changing cycle of the tides, waves and other characteristics in the study area;

[0021] According to the time-averaged image acquisition interval, a number of frames of images are acquired at a preset frequency and a preset time, and the average value of the images acquired within the preset time period is calculated to obtain a time-averaged video image.

[0022] In the above technical solution, each camera is set to continuously capture video images at a preset frequency. At each capture interval, several frames of images are captured within a preset time, and the average value is calculated to obtain a time-averaged video image. At each viewing angle, the time-averaged image acquisition interval is set according to the characteristic change cycle of tides, waves, etc. in the study area (a beach with rapid changes can be set to half an hour; a beach with relatively slow changes can be set to one hour), thereby forming a continuous beach video image data set. (Note: The video image acquisition frequency and time interval can be remotely controlled and adjusted in real time according to actual conditions, ensuring the high-frequency real-time monitoring of beach dynamic geomorphology). The average value refers to the average value of the pixel value of each pixel point within the time period. Since the rush is a high-frequency, continuous dynamic process, it is difficult to effectively observe it by traditional manual or instrumental measurement methods; satellite images or drone images can usually only obtain the instantaneous rush process at the time of shooting, and it is difficult to present the full picture of the rush zone at a specific time. The present invention uses averaged time-averaged video images to further express the rush movement process.

[0023] In some embodiments, the time-averaged video images are input into a trained deep learning model, and the results of the beach flushing zone and seepage surface video image segmentation are output, specifically:

[0024] Determine a first semantic feature of the time-averaged video image; determine a second semantic feature of the time-averaged video image based on the first semantic feature of the time-averaged video image; fuse the first semantic feature and the second semantic feature to obtain a third semantic feature; and obtain an image segmentation result based on the third semantic feature.

[0025] In the above technical solution, the trained deep learning model is used to semantically segment video images of different time and space scales, and then the coordinates are transformed through the new "coordinate transformation" model to generate orthophotos, thereby depicting the distribution range of beach flushing zones and seepage surfaces of different time and space scales.

[0026] According to another aspect of the present invention, a method for training a neural network is provided, wherein the neural network comprises: a dilated convolution subnetwork, a spatial pyramid pooling subnetwork, a feature fusion layer, and a prediction subnetwork;

[0027] At each viewing angle, the time-averaged image acquisition interval is set according to the changing cycle of the tides, waves and other characteristics in the study area;

[0028] According to the time-averaged image acquisition interval, a number of frames of images are acquired at a preset frequency and a preset time, and the average value is calculated to obtain a time-averaged video image;

[0029] Repeat the above steps to construct the time-averaged image dataset and perform regional annotation;

[0030] The labeled dataset is used as the input of a deep learning network.

[0031] Input each time-averaged video image in the time-averaged image dataset into the dilated convolutional subnetwork to determine the first semantic feature of the time-averaged video image;

[0032] For each time-averaged video image in the time-averaged image data set, inputting the first semantic feature of the time-averaged video image into the spatial pyramid pooling subnetwork to determine the second semantic feature of the time-averaged video image;

[0033] Inputting the first semantic feature and the second semantic feature into a feature fusion layer for fusion to obtain a third semantic feature;

[0034] The third semantic feature is input into the prediction sub-network to obtain the segmentation result of each time-averaged video image in the time-averaged image dataset;

[0035] Based on the segmentation results and the region annotations, a loss value is calculated; and according to the loss value, the neural network is trained.

[0036] In the above technical solution, a deep learning model was trained based on the big data of video image time series, and efficient and high-precision segmentation of beach flushing belt and seepage surface features was achieved. It should be pointed out that the amount of data obtained by traditional data collection methods is small, and it cannot intuitively show the characteristics of beach flushing belt and seepage surface, so it is not suitable to use deep learning technology for semantic segmentation. This shows that video image monitoring technology and deep learning technology have good adaptability in beach dynamic geomorphology monitoring.

[0037] In some embodiments, the region labeling specifically:

[0038] Background: In the time-averaged video images, the area below the seaward direction of the current is uniformly marked as background.

[0039] Flooding belt: The white highlighted and highly connected strips in the time-averaged video images are marked as flooding belts;

[0040] Seepage surface: The dark brown position in the time-averaged video image is marked as the seepage surface;

[0041] Dry beach: The yellow position in the time-averaged video image is marked as a dry beach.

[0042] In the above technical solution, the background is located below the scour belt to the sea, including seawater, buildings, islands and reefs, sky and other components. They do not significantly interfere with the identification of the scour belt and the seepage surface, so they are uniformly marked as the background. Scour is the process in which the turbulent water layer formed by breaking waves rises and then falls along the beach surface, and the area of ​​its action is called the scour belt. Since scour is a high-frequency and continuous dynamic process, it is difficult to effectively observe it by traditional manual or instrumental measurement methods; satellite images or drone images can usually only obtain the instantaneous scour process at the time of shooting, and it is difficult to present the full picture of the scour belt at a specific time. The present invention uses the averaged time-averaged video image, so that the scour movement process is further expressed, and the scour belt is highlighted in the time-averaged video image as a white, bright, and highly connected strip. The seepage surface refers to the infiltration area where groundwater seeps into the beach surface, which usually appears dark brown in the time-averaged video image. The dry beach is a large beach located above the seepage surface on the shore. It generally appears yellow in the video image, and its brightness changes with the lighting conditions.

[0043] According to another aspect of the present invention, a beach flushing zone and seepage surface monitoring model based on video images is provided, comprising:

[0044] The atrous convolutional subnetwork is configured to determine a first semantic feature of the time-averaged video image based on each of the multiple time-averaged video images input;

[0045] The spatial pyramid pooling sub-network is configured to determine, for each of the multiple time-averaged video images, a second semantic feature of the time-averaged video image based on the first semantic feature of the time-averaged video image;

[0046] a feature fusion layer, configured to fuse the first semantic feature and the second semantic feature to obtain a third semantic feature;

[0047] The prediction subnetwork is configured to obtain an image segmentation result based on the third semantic feature.

[0048] In the above technical solution, a deep learning model is constructed to perform semantic segmentation tasks on image datasets. The model uses a spatial pyramid pooling module with dilated convolutions, which helps to better capture semantic information of different scales in beach images; the feature fusion layer is used to fuse high-level semantic features and precise location information, thereby reducing the hole effect in the segmentation results and improving the accuracy of the boundaries, which is beneficial for finely identifying the threshold of the beach dynamic geomorphic feature area.

[0049] According to another aspect of the present invention, there is provided a device for monitoring beach flushing zone and seepage surface based on video images, comprising:

[0050] Acquisition module: used to set up multiple video acquisition devices on the beach, collect video images of the beach flushing zone and seepage surface from multiple perspectives, and perform time-averaging processing on the video images;

[0051] The prediction module is used to input the time-averaged video images into a trained deep learning model and output the results of the beach flushing zone and seepage surface video image segmentation.

[0052] Coordinate transformation module: used to transform the results of video image segmentation and fuse multi-view video images through the following coordinate model:

[0053]

[0054]

[0055]

[0056]

[0057] In the formula, is a point in the plane coordinate system, and the image distortion coordinates that match it are (c, r); (u, v) represents the undistorted coordinates to be solved, and d 2 =u 2 +v 2 ; represents the distortion coefficient; s represents the size of the pixel; (oc ,o r ) are the coordinates of the image principal point; is the position of the camera in the plane world coordinate system; is a rotation matrix defined by the Euler angles (φ, σ, τ).

[0058] The prediction module is used to input the time-averaged video images into a trained deep learning model and output the results of the beach flushing zone and seepage surface video image segmentation.

[0059] In the above technical solution, based on the traditional "coordinate transformation" model, the variables that need to be considered are reduced through reasonable approximation, and a new simplified video image "coordinate transformation" model is proposed. While ensuring the accuracy of coordinate transformation, the efficiency of geographic coordinate transformation is improved, thereby better showing the distribution characteristics of beach flushing belts and seepage surfaces; based on video image time series big data, a deep learning model is trained to achieve efficient and high-precision segmentation of beach flushing belts and seepage surfaces.

[0060] According to another aspect of the present invention, there is provided a beach flushing zone and seepage surface monitoring device based on video images, comprising:

[0061] at least one processor, and

[0062] a memory communicatively coupled to the at least one processor, wherein:

[0063] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.

[0064] In the above technical solution, in order to better run and process the method, the above method is stored in a memory, and the stored method is executed by a processor. It should be noted that the principle and effect of each step have been described above and will not be described in detail here.

[0065] According to another aspect of the present invention, a computer-readable storage medium is provided, storing a computer program, wherein the computer program implements the method described above when executed by a processor.

[0066] In the above technical solution, in order to better run and use the method, the above method is stored in a computer-readable storage medium, and the above method is implemented by a processor. It should be noted that the principle and effect of each step have been described above and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0068] Figure 1 It is a flow chart of an embodiment of a method for monitoring beach flushing zone and seepage surface based on video images of the present invention;

[0069] Figure 2 This is an example diagram of a beach video image data set according to an embodiment of a beach flushing zone and seepage surface monitoring method based on video images of the present invention;

[0070] Figure 3 This is an example diagram of labeling beach video images according to an embodiment of a method for monitoring beach scour zones and seepage surfaces based on video images of the present invention, where different colors correspond to different dynamic geomorphic feature labels;

[0071] Figure 4 It is a flow chart of an embodiment of a neural network training method of the present invention;

[0072] Figure 5 It is a deep learning model suitable for beach video image segmentation according to an embodiment of the beach flushing zone and seepage surface monitoring model based on video images of the present invention;

[0073] Figure 6 It is a schematic diagram of the overall process of an embodiment of a method for monitoring beach flushing zone and seepage surface based on video images. DETAILED DESCRIPTION

[0074] The present invention will be further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only used to illustrate the present invention, but are not intended to limit the scope of the present invention. Similarly, the following examples are only partial embodiments of the present invention rather than all embodiments, and all other embodiments obtained by those of ordinary skill in the art without creative work are within the scope of protection of the present invention.

[0075] The present invention provides a method, device and equipment for monitoring beach scour zones and seepage surfaces based on video images, which can solve at least one technical problem mentioned in the background technology.

[0076] Embodiment 1

[0077] See also Figure 1 , Figure 6 , Figure 1It is a flow chart of an embodiment of a method for monitoring beach flushing zone and seepage surface based on video images of the present invention. Figure 6 It is a schematic diagram of the overall process. It should be noted that if there is substantially the same result, the method of the present invention is not limited to Figure 1 The process sequence shown is limited. Figure 1 As shown, the method comprises the following steps:

[0078] S101: multiple video acquisition devices are set up on the beach to collect video images of the beach flushing zone and seepage surface from multiple perspectives, and the video images are time-averaged;

[0079] S102: Input the time-averaged video image into a trained deep learning model, and output the segmentation results of the beach flushing zone and the seepage surface video image;

[0080] S103: coordinate transformation is performed on the video image segmentation result through the following coordinate model, and multiple perspectives are fused:

[0081]

[0082]

[0083]

[0084]

[0085] In the formula, is a point in the plane coordinate system, and the image distortion coordinates that match it are (c, r); (u, v) represents the undistorted coordinates to be solved, and d 2 =u 2 +v 2 ; represents the distortion coefficient; s represents the size of the pixel; (o c ,o r ) are the coordinates of the image principal point; is the position of the camera in the plane world coordinate system; is a rotation matrix defined by Euler angles (φ, σ, τ); in this embodiment, the fusion of multiple perspectives can refer to the prior art, which will not be described in detail in this embodiment.

[0086] In this embodiment, based on the traditional "coordinate transformation" model, the variables that need to be considered are reduced through reasonable approximation, and a new simplified video image "coordinate transformation" model is proposed. While ensuring the accuracy of coordinate transformation, the efficiency of geographic coordinate transformation is improved, thereby better showing the distribution characteristics of beach flushing belts and seepage surfaces; based on video image time series big data, a deep learning model is trained to achieve efficient and high-precision segmentation of beach flushing belts and seepage surfaces.

[0087] In this embodiment, the video images of the beach flushing zone and seepage surface are collected from multiple perspectives, specifically including:

[0088] At an altitude of more than 20m, video images of the beach flushing zone and seepage surface are collected from multiple perspectives.

[0089] In the above technical solution, in order to ensure that the video camera has sufficient observation field, multiple video acquisition devices are set up on the beach at an altitude of more than 20m. Multi-angle video images of the beach flushing zone and seepage surface are collected to cover the above two locations as much as possible.

[0090] In this embodiment, video images of the beach flushing zone and seepage surface are collected from multiple perspectives, specifically:

[0091] At each viewing angle, the time-averaged image acquisition interval is set according to the changing cycle of the tides, waves and other characteristics in the study area;

[0092] According to the time-averaged image acquisition interval, a number of frames of images are acquired at a preset frequency and a preset time, and the average value of the images acquired within the preset time period is calculated to obtain a time-averaged video image.

[0093] In this embodiment, each camera is set to continuously capture video images at a preset frequency. At each capture interval, several frames of images are captured within a preset time, and the average value is calculated to obtain a time-averaged video image. At each viewing angle, the time-averaged image capture interval is set according to the characteristic change cycle of tides, waves, etc. in the study area (a beach with rapid changes can be set to half an hour; a beach with relatively slow changes can be set to one hour), thereby forming a continuous beach video image data set. (Note: The video image acquisition frequency and time interval can be remotely controlled and adjusted in real time according to actual conditions, ensuring the high-frequency real-time monitoring of beach dynamic geomorphology). The average value refers to the average value of the pixel value of each pixel point within the time period. Since the rush is a high-frequency, continuous dynamic process, it is difficult to effectively observe it by traditional manual or instrumental measurement methods; satellite images or drone images can usually only obtain the instantaneous rush process at the time of shooting, and it is difficult to present the full picture of the rush zone at a specific time. The present invention uses averaged time-averaged video images to further express the rush movement process.

[0094] In this embodiment, the time-averaged video images are input into a trained deep learning model, and the results of the beach flushing zone and seepage surface video image segmentation are output, specifically:

[0095] Determine a first semantic feature of the time-averaged video image; determine a second semantic feature of the time-averaged video image based on the first semantic feature of the time-averaged video image; fuse the first semantic feature and the second semantic feature to obtain a third semantic feature; and obtain an image segmentation result based on the third semantic feature.

[0096] In this embodiment, the trained deep learning model is used to semantically segment video images of different time and space scales, and then coordinate transformation is performed through the new "coordinate transformation" model to generate orthophotos. This depicts the distribution range of beach flushing zones and seepage surfaces of different time and space scales. Furthermore, segmentation is performed first and then transformation. First, segmentation is performed to obtain a semantic segmentation result map, and then only the segmentation result map is transformed. The segmentation result map has a small amount of data relative to the original video image. This can improve monitoring efficiency.

[0097] In order to further explain the principle of this embodiment, the scheme will be explained from the principle part below.

[0098] In response to the problems mentioned in the background technology, this paper proposes a beach flushing zone and seepage surface monitoring method based on deep learning of video images, aiming to solve the bottleneck problem faced by the current beach dynamic geomorphology monitoring research, and provide data and technical support for promoting the refined research of coastal zones.

[0099] Currently, there is a lack of effective monitoring methods and segmentation algorithms for beach flushing zones and seepage surfaces. To address this problem, a beach flushing zone and seepage surface monitoring method based on deep learning of video images is proposed, with the following innovations:

[0100] (1) Based on the traditional "coordinate transformation" model, the variables that need to be considered are reduced through reasonable approximation, and a new simplified video image "coordinate transformation" model is proposed. While ensuring the accuracy of coordinate transformation, the efficiency of geographic coordinate transformation is improved, thereby better showing the distribution characteristics of beach flushing zones and seepage surfaces;

[0101] (2) Based on the big data of video image time series, a deep learning model was trained to achieve efficient and high-precision segmentation of beach flushing zone and seepage surface features;

[0102] (3) Based on (1) and (2), the trained deep learning model is used to perform semantic segmentation on video images of different time and space scales, and then coordinate transformation is performed through a new "coordinate transformation" model to generate orthophotos. This depicts the distribution range of beach flushing zones and seepage surfaces at different time and space scales.

[0103] S201, beach video monitoring system construction, survey and select the research beach, set up and fix the camera at the location above 20m above sea level;

[0104] S202 "Coordinate Transformation" model parameter calibration, the traditional "Coordinate Transformation" model is as follows:

[0105]

[0106]

[0107]

[0108]

[0109]

[0110] In the formula, is a point in the plane coordinate system, and the image distortion coordinates that match it are (c, r); (u, v) represents the undistorted coordinates to be solved, and d 2 =u 2 +v 2 ; represents the radial distortion coefficient; represents the tangential distortion coefficient; s c 、s r Indicates the size of the pixel; (o c ,o r ) is the coordinate of the image principal point; (k c ,k r ) is the known pixel coordinate center; x c =(x c ,y c ,z c ) is the position of the camera in the plane world coordinate system; is a rotation matrix defined by the Euler angles (φ, σ, τ).

[0111] As mentioned above, there are 14 unknown variables that need to be calibrated: s c 、s r , o c , o r 、x c ,y c 、z c , φ, σ, τ, making the model quite complex. The cumbersome calibration work also increases the source of system errors. Based on the above model, the present invention proposes a new "coordinate transformation" model: in response to the needs of high-frequency monitoring and correction of beach flushing zones and seepage surfaces, the present invention simplifies the above model through reasonable approximation. After extensive experiments and a large number of tests, it was found that the main distortion of video image beach monitoring is mainly the radial distortion coefficient. The tangential distortion can be ignored.

[0112] In general, pixels can be considered as squares (s c =s r =s); the coordinates of the principal point are usually located at the center of the image, with a small offset (o c =k c ;o r =k r ). On this basis, a simplified "coordinate transformation" model is proposed:

[0113]

[0114]

[0115]

[0116]

[0117] In the formula, is a point in the plane coordinate system, and the image distortion coordinates that match it are (c, r); (u, v) represents the undistorted coordinates to be solved, and d 2 =u 2 +v 2 ; represents the distortion coefficient; s represents the size of the pixel; (o c ,o r ) are the coordinates of the image principal point; is the position of the camera in the plane world coordinate system; is a rotation matrix defined by the Euler angles (φ, σ, τ).

[0118] The new model contains a total of 8 unknown variables that need to be calibrated: x c ,y c 、z c , φ, σ, τ, s. The calibration workload is greatly reduced. After extensive tests, the coordinate transformation accuracy of the new model is basically equivalent to that of the original model. In addition, since the new model considers fewer variables, it is easier to control the system error in actual operation, so that the accuracy of coordinate transformation can be better guaranteed. The monitoring objects of the present invention are high-frequency changing flushing zones and seepage surfaces. The cameras used are usually set up outdoors and are inevitably offset by external forces (wind, temperature, etc.), causing the "coordinate transformation" model variables to change. In order to ensure the accuracy of monitoring, it is necessary to calibrate the "conversion model" variables regularly (generally every six months). The new model is easier to establish and calibrate and adjust. Therefore, the model is more suitable for geographical transformation and monitoring research on video image beach flushing zones and seepage surfaces.

[0119] S203, time series beach video image acquisition and preprocessing, set each camera to continuously acquire video images at a frequency of 2Hz, acquire 1200 frames of images every 10 minutes, and calculate the average value to obtain a time-averaged video image. Set the time-averaged image acquisition interval according to the change cycle of the characteristics of tides, waves, etc. in the study area (the beach with rapid changes can be set to half an hour; the beach with relatively slow changes can be set to one hour), thereby forming a continuous beach video image data set. (Note: The video image acquisition frequency and time interval can be remotely controlled and adjusted in real time according to actual conditions, ensuring the high-frequency real-time monitoring of beach dynamic geomorphology).

[0120] S204, beach image dataset preparation, sorting out the time-averaged video image dataset, considering comprehensive factors such as tide level, wave conditions, different camera shooting angles, lighting conditions, human activities, etc., and selecting more than 500 time-averaged images to form a dataset, trying to cover various natural or man-made environments that the beach area may face. Subsequently, all image data were labeled in the Image Labeler toolbox of MATLAB ( Figure 2 ), according to the actual scene characteristics of the beach, they are annotated with different labels (Table 1). Each image generates a corresponding annotated image, which together constitutes an annotation set.

[0121] S205, deep learning model construction to perform semantic segmentation tasks on image datasets ( Figure 3 ). It is characterized by the use of a spatial pyramid pooling module with dilated convolutions, which helps to better capture semantic information of different scales in beach images; the encoder-decoder mode is introduced in the model, and the main body of the encoder module is a deep convolutional neural network with dilated convolutions; the decoder module is used to fuse high-level semantic features and precise location information, thereby reducing the hole effect in the segmentation results and improving the accuracy of the boundaries, which is beneficial for finely identifying the threshold of the beach dynamic geomorphic feature area. The deep convolutional neural network in the above encoder. Based on a comprehensive consideration of the semantic segmentation effect of beach images and hardware conditions, ResNet-18 is used, which has a relatively shallow number of layers and is more suitable for hardware environments with limited computing resources while ensuring segmentation accuracy.

[0122] Table 1 Labeling of beach dynamic geomorphic features, names of dynamic geomorphic feature areas and identification marks in video images

[0123]

[0124] S206, beach image data set training and testing, the beach image data set and annotation set described in S4 are input into the deep learning model described in S5, and are allocated in a ratio of 80% and 20%, respectively, for training and testing. The software environment used for training is MATLAB 2023b, the number of training rounds is more than 15 rounds, and the number of iterations is more than 150 times. Ensure that the training accuracy and verification accuracy are both above 95%. After completing training and testing, a deep learning model suitable for the segmentation of dynamic geomorphic feature areas of beach images is obtained and saved as DAGNetwork.

[0125] S207, characterization of the regional distribution of beach dynamic geomorphic features, based on the DAGNetwork described in S6, semantic segmentation of time series beach images of different time and space scales (such as beach video images of a tidal cycle). Then, the semantically segmented video images are transformed by the new "coordinate transformation" model described in S2 to obtain the orthophoto (plane geographic coordinate system) beach image segmentation results, and then the time and space distribution ranges of beach flushing belts and seepage surfaces of different time and space scales are obtained, thereby realizing real-time and continuous monitoring of beach flushing belts and seepage surfaces.

[0126] Alternative Option 1

[0127] The deep learning semantic segmentation model described in S205 can be replaced according to the actual use scenario and hardware equipment (computing resources) conditions. Through extensive experimental comparison, the present invention chooses to use the Deeplabv3+ model, in which the configured convolutional neural network is ResNet-18. When the beach scene used is more complex, if the hardware conditions permit, it can be replaced with a more complex, higher-layer, and more accurate semantic segmentation model.

[0128] Alternative Option 2

[0129] The video image labeling step described in S204 uses the Image Labeler toolbox of MATLAB. It can be replaced with other types of labeling tools such as labelme according to actual conditions to complete the labeling. The software environment in S6 is MATLAB2023b, which can also be replaced according to actual conditions to complete the model training.

[0130] The present invention has the following advantages:

[0131] (1) In terms of data collection technology: Traditional beach monitoring methods are mainly based on manual field measurement, satellite remote sensing monitoring and drone monitoring. Manual field measurement has high monitoring accuracy but is time-consuming, labor-intensive and costly. It is also extremely difficult to operate under extreme weather conditions (such as storm surges), and it is difficult to ensure the spatiotemporal continuity and real-time nature of the sampled data. Satellite remote sensing has the widest monitoring space range, but is limited by factors such as satellite revisit cycles and sensor performance. Its sampling spatiotemporal resolution is low and cannot meet the needs of high-frequency monitoring of flushing and seepage movements. Drone monitoring has a high spatial resolution, but its airspace use application is often limited, requiring on-site operation by personnel, and the technical requirements for operators are high. It can be said that the existing beach monitoring technology cannot yet achieve high-frequency monitoring of the spatiotemporal variation process of beach flushing zones and seepage surfaces.

[0132] The present invention uses shore-based cameras to collect data in real time, continuously, and at high frequency, solving the bottleneck problem of low temporal and spatial resolution of the above-mentioned beach monitoring technology. And through time-averaged image processing, the characteristics of the beach current zone and seepage surface are further expressed, making their boundaries easy to identify and mark, thereby meeting the needs of deep learning model training and testing.

[0133] (2) On the video image "coordinate transformation" model: "Coordinate transformation" is a necessary step in using video images for geographic environment monitoring. Based on the traditional "coordinate transformation" model, a new simplified video image "coordinate transformation" model is proposed by reducing the variables that need to be considered through reasonable approximation. While ensuring the accuracy of coordinate transformation, the efficiency of geographic coordinate transformation is improved, thereby better showing the distribution characteristics of beach flushing zones and seepage surfaces.

[0134] (3) In the identification method of flushing belt and seepage surface: Based on the big data of video image time series, a deep learning model was trained to achieve efficient and high-precision segmentation of beach flushing belt and seepage surface features. It should be pointed out that the amount of data obtained by traditional data collection methods is small and cannot intuitively show the characteristics of beach flushing belt and seepage surface, so it is not suitable to use deep learning technology for semantic segmentation. This shows that video image monitoring technology and deep learning technology have good adaptability in beach dynamic geomorphology monitoring.

[0135] Embodiment 2

[0136] See also Figure 4 , a training method for a neural network, wherein the neural network comprises: a dilated convolution subnetwork, a spatial pyramid pooling subnetwork, a feature fusion layer, and a prediction subnetwork;

[0137] S301. At each viewing angle, set the time-averaged image acquisition interval according to the characteristic change cycle of tides, waves, etc. in the study area;

[0138] S302, according to the time-averaged image acquisition interval, a plurality of frames of images are acquired at a preset frequency and a preset time, and an average value is calculated to obtain a time-averaged video image;

[0139] S303, repeat the above steps to construct a time-averaged image dataset and perform region annotation;

[0140] S304, using the labeled data set as input of a deep learning network;

[0141] S305, inputting each time-averaged video image in the time-averaged image dataset into the dilated convolutional subnetwork to determine a first semantic feature of the time-averaged video image;

[0142] S306, for each time-averaged video image in the time-averaged image data set, inputting the first semantic feature of the time-averaged video image into the spatial pyramid pooling subnetwork to determine the second semantic feature of the time-averaged video image;

[0143] S307, inputting the first semantic feature and the second semantic feature into a feature fusion layer for fusion to obtain a third semantic feature;

[0144] S308, inputting the third semantic feature into the prediction sub-network to obtain a segmentation result of each time-averaged video image in the time-averaged image dataset;

[0145] S309, calculating a loss value based on the segmentation result and the region annotation; and training the neural network according to the loss value.

[0146] In this embodiment, a deep learning model is trained based on the big data of video image time series, and efficient and high-precision segmentation of beach flushing zone and seepage surface features is achieved. It should be pointed out that the amount of data obtained by traditional data collection methods is small, and the characteristics of beach flushing zone and seepage surface cannot be intuitively displayed, so it is not suitable to use deep learning technology for semantic segmentation. This shows that video image monitoring technology and deep learning technology have good adaptability in beach dynamic geomorphology monitoring.

[0147] In this embodiment, the area marking is specifically:

[0148] Background: In the time-averaged video images, the area below the seaward direction of the current is uniformly marked as background.

[0149] Flooding belt: The white highlighted and highly connected strips in the time-averaged video images are marked as flooding belts;

[0150] Seepage surface: The dark brown position in the time-averaged video image is marked as the seepage surface;

[0151] Dry beach: The yellow position in the time-averaged video image is marked as the seepage surface.

[0152] In this embodiment, the background is located below the scour belt to the sea, and includes seawater, buildings, islands and reefs, the sky and other components. They do not significantly interfere with the identification of the scour belt and the seepage surface, so they are uniformly marked as the background. Scour is the process in which the turbulent water layer formed by the breaking waves rises and then falls along the beach surface, and the area of ​​its action is called the scour belt. Since scour is a high-frequency and continuous dynamic process, it is difficult to effectively observe it by traditional manual or instrumental measurement methods; satellite images or drone images can usually only obtain the instantaneous scour process at the time of shooting, and it is difficult to present the full picture of the scour belt at a specific time. The present invention uses the averaged time-averaged video image, so that the scour movement process is further expressed, and the scour belt is highlighted as a white, bright, and highly connected strip in the time-averaged video image. The seepage surface refers to the infiltration area where groundwater seeps into the beach surface, which usually appears dark brown in the time-averaged video image. The dry beach is a large beach located above the seepage surface on the shore. It generally appears yellow in the video image, and its brightness changes with the lighting conditions.

[0153] Embodiment 3

[0154] See also Figure 5 , a beach flushing zone and seepage surface monitoring model based on video images, including:

[0155] The atrous convolutional subnetwork is configured to determine a first semantic feature of the time-averaged video image based on each of the multiple time-averaged video images input;

[0156] The spatial pyramid pooling sub-network is configured to determine, for each of the multiple time-averaged video images, a second semantic feature of the time-averaged video image based on the first semantic feature of the time-averaged video image;

[0157] a feature fusion layer, configured to fuse the first semantic feature and the second semantic feature to obtain a third semantic feature;

[0158] The prediction subnetwork is configured to obtain an image segmentation result based on the third semantic feature.

[0159] In this embodiment, a deep learning model is constructed to perform semantic segmentation tasks on image datasets. The model uses a spatial pyramid pooling module with dilated convolutions, which helps to better capture semantic information of different scales in beach images; the feature fusion layer is used to fuse high-level semantic features and precise location information, thereby reducing the hole effect in the segmentation results and improving the accuracy of the boundaries, which is beneficial for finely identifying the threshold of the beach dynamic geomorphic feature area.

[0160] Embodiment 4

[0161] A beach flushing zone and seepage surface monitoring device based on video images, comprising: a collection module, a coordinate conversion module, and a prediction module connected in sequence;

[0162] Acquisition module: used to set up multiple video acquisition devices on the beach, collect video images of the beach flushing zone and seepage surface from multiple perspectives, and perform time-averaging processing on the video images;

[0163]

[0164]

[0165]

[0166]

[0167] In the formula, is a point in the plane coordinate system, and the image distortion coordinates that match it are (c, r); (u, v) represents the undistorted coordinates to be solved, and d 2 =u 2 +v 2 ; represents the distortion coefficient; s represents the size of the pixel; (o c ,o r ) are the coordinates of the image principal point; is the position of the camera in the plane world coordinate system; is the rotation matrix defined by the Euler angles (φ, σ, τ);

[0168] The prediction module is used to input the time-averaged video images into a trained deep learning model and output the results of the beach flushing zone and seepage surface video image segmentation.

[0169] In this embodiment, based on the traditional "coordinate transformation" model, the variables that need to be considered are reduced through reasonable approximation, and a new simplified video image "coordinate transformation" model is proposed. While ensuring the accuracy of coordinate transformation, the efficiency of geographic coordinate transformation is improved, thereby better showing the distribution characteristics of beach flushing belts and seepage surfaces; based on video image time series big data, a deep learning model is trained to achieve efficient and high-precision segmentation of beach flushing belts and seepage surfaces.

[0170] Embodiment 5

[0171] A beach flushing zone and seepage surface monitoring device based on video images, comprising:

[0172] at least one processor; and,

[0173] a memory communicatively connected to the at least one processor; wherein,

[0174] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.

[0175] In this embodiment, in order to better run and process the method, the above method is stored in a memory, and the stored method is executed by a processor. It should be noted that the principle and effect of each step have been described above and will not be described in detail here.

[0176] Embodiment 6

[0177] A computer-readable storage medium stores a computer program, which implements the method described above when executed by a processor.

[0178] In this embodiment, in order to better run and use the method, the above method is stored in a computer-readable storage medium, and the above method is implemented using a processor. It should be noted that the principle and effect of each step have been described above and will not be described in detail here.

[0179] The above descriptions are only some embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any equivalent device or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for monitoring beach flushing zone and seepage surface based on video images, characterized in that: include: Set up multiple video acquisition devices on the beach to collect video images of the beach flushing zone and seepage surface from multiple perspectives, and perform time-averaging on the video images; Determine a first semantic feature of the time-averaged video image; determine a second semantic feature of the time-averaged video image based on the first semantic feature of the time-averaged video image; fuse the first semantic feature and the second semantic feature to obtain a third semantic feature; obtain an image segmentation result based on the third semantic feature; The coordinates of the video image segmentation results are transformed through the following coordinate model, and the multi-view video images are fused: In the formula, is a point in the plane coordinate system, and the image distortion coordinates that match it are (c, r); (u, v) represents the undistorted coordinates to be solved, and d 2 =u 2 +v 2 ; represents the distortion coefficient; s represents the size of the pixel; (o c ,o r ) are the coordinates of the image principal point; is the position of the camera in the plane world coordinate system; is a rotation matrix defined by the Euler angles (φ, σ, τ).

2. A method for monitoring beach flushing zone and seepage surface based on video images as claimed in claim 1, characterized in that: Set up multiple video acquisition devices on the beach to collect video images of the beach flushing zone and seepage surface from multiple perspectives, including: Multiple cameras are set up at an altitude of more than 20m to capture video images of the beach flushing zone and seepage surface from multiple angles.

3. A method for monitoring beach flushing zone and seepage surface based on video images as claimed in claim 1 or 2, characterized in that: Set up multiple video acquisition devices on the beach to collect video images of the beach flushing zone and seepage surface from multiple perspectives, and perform time-averaging on the video images. Specifically: At each viewing angle, the time-averaged image acquisition interval is set according to the changing cycle of tide and wave characteristics in the study area; According to the time-averaged image acquisition interval, a number of frames of images are acquired at a preset frequency and a preset time; the average value of the images acquired within the preset time period is calculated to obtain a time-averaged video image.

4. A method for monitoring beach flushing zone and seepage surface based on video images as claimed in claim 1, characterized in that: The time-averaged video images are input into a trained deep learning model, and the results of the beach flushing zone and seepage surface video image segmentation are output. Specifically: Determine a first semantic feature of the time-averaged video image; determine a second semantic feature of the time-averaged video image based on the first semantic feature of the time-averaged video image; fuse the first semantic feature and the second semantic feature to obtain a third semantic feature; and obtain an image segmentation result based on the third semantic feature.

5. A neural network training method, characterized in that: A method for monitoring beach scour zones and seepage surfaces based on video images as described in any one of claims 1 to 4, wherein the neural network comprises: a dilated convolution subnetwork, a spatial pyramid pooling subnetwork, a feature fusion layer, and a prediction subnetwork; At each viewing angle, the time-averaged image acquisition interval is set according to the changing cycle of tide and wave characteristics in the study area; According to the time-averaged image acquisition interval, a number of frames of images are acquired at a preset frequency and a preset time, and the average value is calculated to obtain a time-averaged video image; Repeat the above steps to construct the time-averaged image dataset and perform regional annotation; The labeled dataset is used as the input of a deep learning network. Input each time-averaged video image in the time-averaged image dataset into the dilated convolutional subnetwork to determine the first semantic feature of the time-averaged video image; For each time-averaged video image in the time-averaged image data set, inputting the first semantic feature of the time-averaged video image into the spatial pyramid pooling subnetwork to determine the second semantic feature of the time-averaged video image; Inputting the first semantic feature and the second semantic feature into a feature fusion layer for fusion to obtain a third semantic feature; The third semantic feature is input into the prediction sub-network to obtain the segmentation result of each time-averaged video image in the time-averaged image dataset; Based on the segmentation results and the region annotations, a loss value is calculated; and according to the loss value, the neural network is trained.

6. A neural network training method as claimed in claim 5, characterized in that: The area marking specifically includes: Background: In the time-averaged video images, the current belt below the sea is uniformly marked as background; Flooding belt: The white highlighted and highly connected strips in the time-averaged video images are marked as flooding belts; Seepage surface: The dark brown position in the time-averaged video image is marked as the seepage surface; Dry beach: The yellow position in the time-averaged video image is marked as a dry beach.

7. A neural network, characterized in that include: A method for monitoring beach flushing zones and seepage surfaces based on video images as described in any one of claims 1 to 4; The atrous convolutional subnetwork is configured to determine a first semantic feature of the time-averaged video image based on each of the multiple time-averaged video images input; The spatial pyramid pooling sub-network is configured to determine, for each of the multiple time-averaged video images, a second semantic feature of the time-averaged video image based on the first semantic feature of the time-averaged video image; a feature fusion layer, configured to fuse the first semantic feature and the second semantic feature to obtain a third semantic feature; The prediction subnetwork is configured to obtain an image segmentation result based on the third semantic feature.

8. A device for monitoring beach flushing zone and seepage surface based on video images, characterized in that: include: Acquisition module: used to set up multiple video acquisition devices on the beach, collect video images of the beach flushing zone and seepage surface from multiple perspectives, and perform time-averaging processing on the video images; A prediction module is used to determine a first semantic feature of the time-averaged video image; based on the first semantic feature of the time-averaged video image, determine a second semantic feature of the time-averaged video image; fuse the first semantic feature and the second semantic feature to obtain a third semantic feature; and obtain an image segmentation result based on the third semantic feature; Coordinate transformation module: used to transform the results of video image segmentation and fuse multi-view video images through the following coordinate model: In the formula, is a point in the plane coordinate system, and the image distortion coordinates that match it are (c, r); (u, v) represents the undistorted coordinates to be solved, and d 2 =u 2 +v 2 ; represents the distortion coefficient; s represents the size of the pixel; (o c ,o r ) are the coordinates of the image principal point; is the position of the camera in the plane world coordinate system; is the rotation matrix defined by the Euler angles (φ, σ, τ); The prediction module is used to input the time-averaged video images into a trained deep learning model and output the results of the beach flushing zone and seepage surface video image segmentation.

9. A video-based monitoring device for beach flushing zone and seepage surface, characterized in that: include: at least one processor, and a memory communicatively coupled to the at least one processor, wherein: The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Beach monitoring method based on tide model and photogrammetry technology

    CN112444234A

  • Method and system for obtaining refined water flow velocity field based on video recognition

    CN115471777A

  • Beach landform construction method and system based on video image, and storage medium

    CN116612245A

  • Method and apparatus for identifying concrete crack based on video semantic segmentation technology

    US20210319547A1