Non-uniform grid construction method and device suitable for island surrounding modeling and medium

Through machine learning models and aerial survey data processing, gradient contours and water depth contours around islands and reefs are generated, which solves the problem of difficulty in generating grids around islands and reefs in the existing technology, and improves three-dimensional modeling accuracy and simulation stability. .

CN118608718APending Publication Date: 2024-09-06GUANGDONG OCEAN UNIVERSITY +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410283693.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-13
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing ocean numerical model mesh generation algorithms cannot effectively generate meshes when generating models around islands and reefs, resulting in the need for a large amount of manual adjustments and terrain smoothing to solve mesh generation problems in areas outside the boundaries.

Method used

A machine learning model is used to extract the island and reef coastlines in satellite images, and the gradient contours and water depth contours are calculated based on the aerial survey water depth and elevation data, and cross-processed to generate a three-dimensional hydrodynamic model. Through the contour tracking algorithm and wave front method to generate a horizontal unstructured triangular mesh.

Benefits of technology

It improves the accuracy of three-dimensional modeling of islands and reefs, solves the difficulties in grid generation in ocean modeling around complex islands and reefs, and achieves more stable baroclinic simulation and detailed flow zone simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608718A
    Figure CN118608718A
Patent Text Reader

Abstract

The invention discloses a non-uniform grid construction method and device suitable for island surrounding modeling and a medium, and relates to the technical field of three-dimensional modeling, and the method comprises the steps: inputting a satellite image of a target island into an island shoreline segmentation model, and obtaining a shoreline of the target island; calculating the terrain gradient of the periphery of the target island according to aerial survey water depth elevation data of the periphery of the target island, drawing the gradient by adopting an isoline tracking algorithm, and performing specific segmentation of gradient meandering by adopting a proportion normalization segmentation method to obtain a gradient isoline; generating a water depth contour line according to aerial survey water depth elevation data around the target island; generating an unstructured grid near the shoreline according to the shoreline of the target island; generating a vertical non-uniform grid according to the water depth contour line and the gradient contour line; and establishing a three-dimensional hydrodynamic model of the target island according to the unstructured grids and the vertical non-uniform grids near the shoreline. According to the invention, the modeling precision is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of three-dimensional modeling, and in particular to a method, device and medium for constructing a non-uniform grid suitable for modeling the periphery of islands and reefs. Background Art

[0002] In the process of generating the final model grid, the current ocean numerical model grid generation algorithm mainly determines the final grid shape by the node density of the model boundary (such as the shape of the land, island and ocean boundary), so that the grid of other model areas is only controlled by the gradient along a single direction and the specified grid quality, which is suitable for nearshore and deep ocean areas. However, for the ocean modeling around complex islands and reefs, it has been found in practice that the above three methods cannot generate effective model grids, and a large amount of subsequent manual adjustments and terrain smoothing are required to solve the grid generation problem in the area outside the boundary. Summary of the invention

[0003] The purpose of the present invention is to provide a non-uniform grid construction method, equipment and medium suitable for modeling around islands and reefs, thereby improving the modeling accuracy.

[0004] To achieve the above object, the present invention provides the following solutions:

[0005] A non-uniform grid construction method suitable for modeling around islands and reefs, comprising:

[0006] Inputting the satellite image of the target island and reef into the island and reef coastline segmentation model to obtain the initial coastline; the island and reef coastline segmentation model is obtained by training the machine learning model using the training set;

[0007] Processing the resolution of the initial shoreline to obtain a final shoreline with a resolution greater than or equal to a first set value;

[0008] Calculate the terrain gradient within a set range around the target islands and reefs based on the aerial survey water depth and elevation data around the target islands and reefs;

[0009] Interpolating the terrain gradient into an initial structured grid to obtain a first structured grid; the initial structured grid is obtained by gridding the water area in the final shoreline;

[0010] Processing the resolution of the first structured grid to obtain a second structured grid having a resolution less than or equal to a second set value;

[0011] According to the two structured grids, a contour line tracking algorithm is used to draw the gradient to obtain gradient contour lines;

[0012] Generate water depth contour lines based on the aerial survey water depth and elevation data within the set range around the target islands and reefs;

[0013] Determine whether the gradient contour line intersects with the water depth contour line. If so, delete the four nodes on the intersecting water depth contour line, and use the two newly generated endpoints on the deleted gradient contour line as the center of the circle, delete the water depth contour line nodes within the first set radius of each circle center, and obtain the updated water depth contour line; calculate the shortest distance between each updated water depth contour line and the gradient contour line, and when the shortest distance is less than the third set value, delete the water depth contour line nodes within the circular range with the water depth contour line node on the shortest distance line as the center of the circle and the second set radius as the radius, and obtain the final water depth contour line;

[0014] Generate a final horizontal unstructured triangular mesh according to the final shoreline, the final water depth contour line and the gradient contour line;

[0015] A three-dimensional hydrodynamic model of the target island or reef is generated based on the final horizontal unstructured triangular mesh.

[0016] Optionally, the machine learning model is a random forest model; the sample data in the training set includes input data and label data, the input data is a sample satellite image, and the label data is the coastline in the sample satellite image.

[0017] Optionally, processing the resolution of the initial coastline to obtain a final coastline with a resolution greater than or equal to a first set value specifically includes:

[0018] If the resolution of the initial coastline is lower than the first set value, the proportional normalization segmentation method is used to segment the initial coastline to obtain a final coastline with a resolution greater than or equal to the first set value; if the resolution of the initial coastline is greater than or equal to the first set value, the initial coastline is used as the final coastline.

[0019] Optionally, processing the resolution of the first structured grid to obtain a second structured grid having a resolution less than or equal to a second set value specifically includes:

[0020] If the resolution of the first structured grid is higher than the second set value, a downsampling method is used to process the resolution of the first structured grid into a second structured grid equal to the second set value; if the resolution of the first structured grid is less than or equal to the second set value, the first structured grid is used as the second structured grid.

[0021] Optionally, generating a final horizontal unstructured triangular mesh according to the final shoreline, the final water depth contour line and the gradient contour line specifically includes:

[0022] According to the final shoreline, a first horizontal unstructured triangular mesh is generated by using a binary tree method;

[0023] Generate a second horizontal unstructured triangular mesh using a wavefront method according to the final water depth contour line and the gradient contour line;

[0024] The first horizontal unstructured triangular mesh and the second horizontal unstructured triangular mesh are merged to obtain the final horizontal unstructured triangular mesh.

[0025] Optionally, the first set value is 10 meters, the second set value is 1000 meters, the third set value is 20000 meters, the first set radius is 10000 meters, and the second set radius is 50000 meters.

[0026] A computer device comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the non-uniform grid construction method suitable for modeling the periphery of islands and reefs.

[0027] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the non-uniform grid construction method suitable for island and reef perimeter modeling.

[0028] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0029] The present invention adopts a machine learning model to extract the coastline of islands and reefs in satellite images, obtains gradient contour lines and water depth contour lines based on aerial survey water depth elevation data around the target islands and reefs, and performs cross processing of the gradient contour lines and water depth contour lines. A three-dimensional hydrodynamic model is generated based on the gradient contour lines and water depth contour lines, thereby improving the three-dimensional modeling accuracy of the islands and reefs. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] 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 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.

[0031] Figure 1 A schematic flow chart of a non-uniform grid construction method for modeling the periphery of islands and reefs provided in Example 1 of the present invention;

[0032] Figure 2 A schematic diagram of the principle of the natural neighbor method provided in Example 1 of the present invention;

[0033] Figure 3 A schematic diagram of relationship codes provided in Example 1 of the present invention;

[0034] Figure 4 A schematic diagram showing the intersection of gradient contour lines and water depth contour lines provided in Example 1 of the present invention;

[0035] Figure 5 A schematic diagram of the shortest distance between the water depth contour line and the gradient contour line provided in Example 1 of the present invention;

[0036] Figure 6 Schematic diagram of generating a grid using three methods provided in Example 1 of the present invention

[0037] Figure 7 This is a diagram of the internal structure of a computer device. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] The purpose of the present invention is to provide a non-uniform grid construction method, equipment and medium suitable for modeling around islands and reefs, thereby improving the modeling accuracy.

[0040] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0041] Example 1

[0042] like Figure 1 As shown, a non-uniform grid construction method suitable for modeling the periphery of islands and reefs in this embodiment includes the following steps.

[0043] Step 101: input the satellite image of the target island or reef into the island or reef coastline segmentation model to obtain an initial coastline; the island or reef coastline segmentation model is obtained by training a machine learning model using a training set.

[0044] Step 102: Process the resolution of the initial coastline to obtain a final coastline with a resolution greater than or equal to a first set value.

[0045] Step 103: Calculate the terrain gradient within a set range around the target island or reef based on the aerial survey water depth and elevation data around the target island or reef.

[0046] Step 104: interpolating the terrain gradient into an initial structured grid to obtain a first structured grid; the initial structured grid is obtained by gridding the water area in the final coastline.

[0047] Step 105: Process the resolution of the first structured grid to obtain a second structured grid with a resolution less than or equal to a second set value.

[0048] Step 106: Based on the two structured grids, a contour line tracking algorithm is used to draw gradients to obtain gradient contour lines.

[0049] Step 107: Generate water depth contour lines based on the aerial survey water depth and elevation data within a set range around the target island or reef.

[0050] Step 108: Determine whether the gradient contour line intersects with the water depth contour line. If so, delete the four nodes on the intersecting water depth contour line, and use the two newly generated endpoints on the deleted gradient contour line as the center of each circle, delete the water depth contour line nodes within the first set radius of each circle center, and obtain updated water depth contour lines; calculate the shortest distance between each updated water depth contour line and the gradient contour line. When the shortest distance is less than the third set value, delete the water depth contour line nodes within the circular range with the water depth contour line node on the shortest distance line as the center and the second set radius as the radius, and obtain the final water depth contour line.

[0051] Step 109: Generate a final horizontal unstructured triangular mesh according to the final coastline, the final water depth contour line and the gradient contour line.

[0052] Step 110: Generate a three-dimensional hydrodynamic model of the target island or reef based on the final horizontal unstructured triangular mesh.

[0053] The machine learning model is a random forest model; the sample data in the training set includes input data and label data, the input data is a sample satellite image, and the label data is the coastline in the sample satellite image.

[0054] The construction of the training set in step 101 specifically includes:

[0055] Landsat-9 (30 meters) and Gaofen-2 (4 meters) high-resolution satellites were used to obtain images of the South China Sea surrounding areas covering islands and reefs, and geometric correction, atmospheric correction, radiation correction and spatial registration were performed. The Pearl River Delta, Red River Delta and Mekong Delta were selected as control points in the South China Sea region, and the corresponding islands and reefs were selected as control points in the island and reef region. Geometric correction was performed based on the control points, and a dual-satellite influence mapping relationship was established. The images of the above two satellites were remapped to the same projection coordinate system in the same plane, and the mapped images in the region were resampled to obtain multi-view satellite images of the two satellites under the same reference image registration.

[0056] The normalized water index NDWI was calculated using the green band p (Green) and the near infrared band p (NIR). The water body and non-water body areas were divided according to the reflectivity curve changing with the wavelength of the band, and the non-water body surface in the original image was cut to obtain the water body boundary cutting line segment. The cutting line segment was convolution filtered to deal with image noise, and the fractal dimension was calculated using the Boxcounting method. The number of grids (Box) of different sizes occupied by the statistical graphics was calculated, and then the ratio of the number of grids and the corresponding grid ratio was calculated. Finally, the slope was obtained by linear regression. The fractal dimension was smoothed for the change of the shoreline, and the fractal dimension was too large and the resolution was less than 10 meters.

[0057] After the above steps, more than 100 images are processed and trained, corrected and evaluated through the artificial intelligence random forest model to obtain the final island and reef coastline data. The island and reef coastline data is the 10-meter resolution coastline data and the coordinate point data is extracted. Set the required resolution size of the model. If the required resolution of the model is lower than the 10-meter coastline resolution (such as 50-meter resolution), the proportional normalization segmentation method is used to perform specific segmentation of the tortuous to reduce the coastline resolution. First, the ratio of each segment (real distance / straight-line distance) is calculated by the set segmentation distance (model resolution size, that is, the straight-line distance between two points) and the original segment length (the actual distance between two points along the coastline). The ratio numbers of all segments form a proportional array. The proportion array unit is converted to positive integers as follows: the part of the proportion array greater than 1 and less than 2 is divided into 0.9 and the remainder, and the segment point is moved along the coastline by 0.9*straight-line distance (for example, in the case of 50 meters, it is the point after moving 45 meters along the winding coastline) to get the middle point between the two points. If it is greater than 2, it is divided by the integer of the proportion array (for example, if the proportion array is 2.6, it is divided by 3 to obtain the proportion number after division). Based on the above method, the final line segment with a line segment length greater than 100 points (if it is less than 100 points, the coastline is deleted) is automatically generated as the island reef and regional large-scale coastline (final coastline).

[0058] In step 103, the terrain gradient f around the complex islands and reefs is calculated by using the aerial survey water depth and elevation data, and the natural neighbor method (such as Figure 2(As shown in the figure), the aerial survey water depth data is interpolated into the initial structured grid. The initial structured grid area is a rectangular grid divided by two longitudes and latitudes from the center of the island under the Mercator projection. For water depth data with a resolution higher than 1 km, the water depth data is re-interpolated into the horizontal resolution data set by the model (such as a grid data set with a horizontal accuracy of 1 km×1 km) through the passthrough layer downsampling method of the deep convolutional neural network. The first data in the lower left corner of the structured grid data is used as the initial point, and the gradient f of the point is calculated. If the gradient is greater than 1, the grid data of 101×101 with the point as the center is selected (if it is near the boundary of the data set, it ends at the boundary). The convolution kernel used for smoothing is set as follows: the sum of the corresponding values ​​of all grids of 101×101 grid points is 1, and increases toward the center point in quadratic powers. Use this convolution kernel to smooth the terrain and recalculate the gradient until the gradient is less than 1.

[0059] Figure 2 In, p n represents a plane under actual measurement, w n Represents p n The space is redivided into the plane of point x. Figure 2 For example, n is an integer from 1 to 6, the interpolation point to be calculated is x, p1-p6 is the plane area surrounding point x, and w1-w6 is the plane area belonging to x after area p is divided.

[0060] The gradient f is drawn using the contour tracing algorithm. First, the squares formed by all four adjacent data points in the above water depth data (distributed in a structured square) are calculated. Then, such squares are further divided into 3×3 small squares to obtain the final square grid and calculate the squares formed by the four adjacent points after refinement. The relationship between the four data points and the contour threshold is determined and a 01 code is generated, such as Figure 3 As shown, press Figure 3 The relationship shown is used to find the topological relationship between the contour lines and the four points, and the topological relationship is used by linear interpolation to find the intersection points of the contour lines and the squares. Finally, the squares are solved in sequence to connect the contour line segments in each square in turn.

[0061] Set the parameter μ to represent the ratio of the horizontal gradient f to the horizontal water depth resolution k (such as 1 km), μ = f / k, and the μ value is between 0 and 1. Calculate the corresponding μ value on the above-calculated contour line, and divide the contour line segment into small segments at intervals of 0.1 (μ = 0-0.1 is one segment, 0.1-0.2 is one segment, and there are a maximum of ten segments in total). Calculate the average value a of all μ on the corresponding segment and calculate the segmentation distance b of the water depth contour line according to the following formula. The above-mentioned proportional normalization segmentation method is also used to perform specific segmentation of the tortuosity.

[0062]

[0063] Among them, step 103 specifically includes: generating isobaths of each isobath depth within the South China Sea through bathymetric elevation data. The isobaths are generated starting from a depth of 500 meters, with one isobath generated every 500 meters until the deepest point (such as 5500 meters in the South China Sea). The distance between nodes on each isobath is the same, and the segmentation distance is 500 meters. The same operation is carried out for division as above.

[0064] Among them, step 104 specifically includes:

[0065] Using the fast rejection method and the vector method to determine whether the gradient isobath coincides with or intersects the bathymetric isobath. First, conduct a fast rejection experiment to determine whether the larger x (abscissa) breakpoint in one line segment is less than the smaller x breakpoint in the other line segment. The judgment logic is as follows:

[0066] If one of the four judgments is true, it means that the two line segments cannot intersect. Otherwise, the second judgment should be carried out. max(C.x, D.x) < min(A.x, B.x) || max(C.y, D.y) < min(A.y, B.y) || max(A.x, B.x) < min(C.x, D.x) || max(A.y, B.y) < min(C.y, C.y). Where x is the abscissa and y is the ordinate.

[0067] If the above 4 judgments are all not true, further determine whether they intersect through the points of the isobath after fast rejection (as Figure 4 shown). If the two line segments intersect, it means that they straddle each other, that is, as Figure 4 the midpoints A and B are on both sides of the line segment CD respectively, and the points C and D are on both sides of the line AB respectively.

[0068] Determine whether point A and point B are on both sides of the line segment DC, that is, the vectors AD and BD are respectively at both ends of the vector CD, that is, their cross products have different signs, that is, At the same time, it is also necessary to prove that point C and point D are at both ends of the line segment AB. If both are satisfied, it means that the line segments intersect.

[0069] If they intersect, automatically delete the four nodes on the intersecting bathymetric isobath (assuming the CD line segment is the point of the bathymetric isobath as above), and draw circles with a radius of 10 km respectively with the two newly generated endpoints on the gradient isobath after deletion as the centers (as points A and B above), and delete all the bathymetric isobath nodes within the circles. On this basis, further calculate the shortest distance between each bathymetric isobath and the gradient isobath. As Figure 5 shown, regard each independent small line segment on the gradient isobath and the bathymetric isobath after归元 segmentation as a linear function P and Q, and calculate the shortest distance between the two line segments.

[0070] When the shortest distance is less than 20 km, draw a circle with the depth contour node on the shortest distance line as the center (assuming it is point Q in the following) and a radius of 50 km, and delete the depth contour nodes within the circle and within the grid range.

[0071] After the above steps, three types of line segments were obtained: coastline, gradient contour line and water depth contour line. The binary tree method was used to generate an unstructured triangular mesh near the continental coastline (the first horizontal unstructured triangular mesh), and then extended inward to the island and reef boundary area selected above, and the wavefront method was used to generate an unstructured mesh near the gradient contour line and water depth contour line (the second horizontal unstructured triangular mesh), and the horizontal unstructured triangular mesh around the complex island and reef was obtained (the final horizontal unstructured triangular mesh).

[0072] Figure 6 (a) is an unstructured triangular mesh generated by the binary tree method, (b) is an unstructured triangular mesh generated by the wavefront method, and (c) is an unstructured triangular mesh generated by the spatial decomposition method.

[0073] Using this final horizontal unstructured triangular grid, a three-dimensional hydrodynamic model around complex islands and reefs is established by considering actual physical processes such as atmospheric forcing and open-boundary injection of runoff. The simulation effect is significantly better than the horizontal and vertical grids generated by traditional methods. On the one hand, it makes the baroclinic simulation more stable, and on the other hand, it can solve the discontinuity problem of simulating sudden terrain changes on complex islands and reefs. Moreover, it can depict the details of the transition zone from laminar flow to eddy flow. It is very suitable for application in islands and reefs in the South China Sea (such as Yongshu Reef and Meiji Reef) with large terrain changes around them, so as to provide high-precision temporal and spatial resolution (such as spatial resolution of 50 meters and temporal resolution of 10 minutes) marine element simulation and forecast guarantee services for this area.

[0074] Example 2

[0075] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the non-uniform grid construction method suitable for island and reef perimeter modeling in Example 1.

[0076] Example 3

[0077] A computer device, which may be a database, may have an internal structure as shown in Figure 7As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store pending transactions. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the non-uniform grid construction method suitable for island and reef perimeter modeling in Example 1 is implemented.

[0078] It should be noted that the object information (including but not limited to object device information, object personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the object or fully authorized by all parties.

[0079] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present invention may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited thereto. The processor involved in each embodiment provided by the present invention may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited thereto.

[0080] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0081] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A non-uniform grid construction method suitable for modeling the periphery of islands and reefs, characterized in that: include: The satellite image of the target islands and reefs is input into the island and reef coastline segmentation model to obtain the initial coastline; The island reef coastline segmentation model is obtained by training the machine learning model using a training set; Processing the resolution of the initial shoreline to obtain a final shoreline with a resolution greater than or equal to a first set value; Calculate the terrain gradient within a set range around the target islands and reefs based on the aerial survey water depth and elevation data around the target islands and reefs; Interpolating the terrain gradient into an initial structured grid to obtain a first structured grid; the initial structured grid is obtained by gridding the water area in the final shoreline; Processing the resolution of the first structured grid to obtain a second structured grid having a resolution less than or equal to a second set value; According to the two structured grids, a contour line tracking algorithm is used to draw the gradient to obtain gradient contour lines; Generate water depth contour lines based on the aerial survey water depth and elevation data within the set range around the target islands and reefs; Determine whether the gradient contour line intersects with the water depth contour line. If so, delete the four nodes on the intersecting water depth contour line, and use the two newly generated endpoints on the deleted gradient contour line as the center of the circle, delete the water depth contour line nodes within the first set radius of each circle center, and obtain the updated water depth contour line; calculate the shortest distance between each updated water depth contour line and the gradient contour line, and when the shortest distance is less than the third set value, delete the water depth contour line nodes within the circular range with the water depth contour line node on the shortest distance line as the center of the circle and the second set radius as the radius, and obtain the final water depth contour line; Generate a final horizontal unstructured triangular mesh according to the final shoreline, the final water depth contour line and the gradient contour line; A three-dimensional hydrodynamic model of the target island or reef is generated based on the final horizontal unstructured triangular mesh.

2. The non-uniform grid construction method suitable for island and reef perimeter modeling according to claim 1, characterized in that: The machine learning model is a random forest model; the sample data in the training set includes input data and label data, the input data is a sample satellite image, and the label data is the coastline in the sample satellite image.

3. The non-uniform grid construction method suitable for island and reef perimeter modeling according to claim 1 is characterized in that: Processing the resolution of the initial coastline to obtain a final coastline with a resolution greater than or equal to a first set value specifically includes: If the resolution of the initial coastline is lower than the first set value, the proportional normalization segmentation method is used to segment the initial coastline to obtain a final coastline with a resolution greater than or equal to the first set value; if the resolution of the initial coastline is greater than or equal to the first set value, the initial coastline is used as the final coastline.

4. The non-uniform grid construction method suitable for island and reef perimeter modeling according to claim 1 is characterized in that: Processing the resolution of the first structured grid to obtain a second structured grid having a resolution less than or equal to a second set value specifically includes: If the resolution of the first structured grid is higher than the second set value, a downsampling method is used to process the resolution of the first structured grid into a second structured grid equal to the second set value; if the resolution of the first structured grid is less than or equal to the second set value, the first structured grid is used as the second structured grid.

5. The non-uniform grid construction method suitable for island and reef perimeter modeling according to claim 1 is characterized in that: Generating a final horizontal unstructured triangular mesh according to the final shoreline, the final water depth contour line and the gradient contour line specifically includes: According to the final shoreline, a first horizontal unstructured triangular mesh is generated by using a binary tree method; Generate a second horizontal unstructured triangular mesh using a wavefront method according to the final water depth contour line and the gradient contour line; The first horizontal unstructured triangular mesh and the second horizontal unstructured triangular mesh are merged to obtain the final horizontal unstructured triangular mesh.

6. The non-uniform grid construction method suitable for island and reef perimeter modeling according to claim 1, characterized in that: The first setting value is 10 meters, the second setting value is 1000 meters, the third setting value is 20000 meters, the first setting radius is 10000 meters, and the second setting radius is 50000 meters.

7. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the non-uniform grid construction method suitable for island and reef perimeter modeling as described in any one of claims 1 to 6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the non-uniform grid construction method suitable for island and reef perimeter modeling as described in any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Coral island reef beach sand boundary advance and retreat distance determination and dike project site selection method

    CN119444787A

  • Island-wading structure multi-scale modeling and disaster response analysis method and system

    CN122133368A

  • Multi-scale modeling and disaster response analysis methods and systems for island and reef-water-related structures

    CN122133368B