Shoreline drawing method and device based on optical remote sensing image

Coastline segmentation and vectorization are performed through the neural network model based on optical remote sensing images, which solves the problems of low efficiency and insufficient accuracy of coastline mapping in the existing technology, and realizes efficient and accurate automated coastline mapping, which is suitable for large areas. and complex scenarios.

CN118762196APending Publication Date: 2024-10-11CHINA COMM SPACE INFORMATION TECH (BEIJING)
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410838615.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing shoreline mapping methods have problems of low efficiency and insufficient accuracy. Especially in automated shoreline mapping in large-scale areas and complex scenes, existing computer vision methods lack universality, resulting in low accuracy.

Method used

An automatic coastline mapping method based on optical remote sensing images is adopted. By acquiring high-resolution satellite images, a pre-trained neural network model is used for coastline segmentation, and the image binarization, vectorization and spatial interpolation are combined to achieve accurate coastline Extract and smooth.

Benefits of technology

It improves the automation and accuracy of coastline mapping, supports the production of navigation electronic maps, and enhances the efficiency and accuracy of large-scale coastline mapping.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762196A_ABST
    Figure CN118762196A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a shoreline drawing method and device based on an optical remote sensing image, and is applied to the technical field of remote sensing image processing. The method comprises the steps of obtaining a to-be-drawn optical remote sensing image; inputting the remote sensing image to be drawn into a pre-trained shoreline segmentation model, and outputting a shoreline segmentation result; carrying out image binarization and vectorization processing on the shoreline segmentation result to obtain a shoreline vector result; and performing spatial interpolation processing on vector points in the shoreline vector result to obtain a smoothed shoreline vector result. In this way, the automation degree and precision of drawing can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of remote sensing image processing, and in particular to a coastline mapping method and device based on optical remote sensing images. Background Art

[0002] As an important element of electronic waterway maps, the accuracy of coastline mapping is directly related to the quality of mapping. Coastline is the boundary between water and land. Due to climate change and the intensification of human activities, such as coastline erosion, coastal reclamation, and sea level rise, the accuracy of coastline mapping has been greatly affected. At present, coastline mapping mostly relies on field measurement or manual digitized aerial photograph image drawing. Although its accuracy can be guaranteed to a certain extent, the mapping efficiency is insufficient, especially for large-scale regional coastline mapping operations.

[0003] There are two most commonly used shoreline mapping methods. The first is to use traditional surveying methods to map the shoreline, such as using RTK field point collection to obtain discrete shoreline points, and then use GIS software for mapping. This method has the advantage of high precision, but its disadvantage of low operating efficiency is also very obvious. Based on drones or high-resolution remote sensing images, shoreline mapping by manual visual interpretation is also a popular method. It uses visual interpretation and GIS software to draw shoreline targets on high-resolution satellite images or aerial photography, and finally forms shoreline mapping results. This method has high precision, but the manual visual interpretation method still has the problem of insufficient efficiency.

[0004] The development of automatic shoreline mapping methods based on computer vision methods has become the current research focus. Relevant researchers have developed automatic methods based on seed points, morphology, object-oriented, and fast region growing, which have improved the efficiency of shoreline mapping to a certain extent, but they have the problem of insufficient universality. In a small scale, the accuracy of such methods is acceptable, but when extended to larger and more complex scenes, such methods are generally low in accuracy and even have the problem of being impractical. Summary of the invention

[0005] The present invention provides a method and device for coastline mapping based on optical remote sensing images.

[0006] According to a first aspect of the present disclosure, a method for coastline mapping based on optical remote sensing images is provided. The method comprises:

[0007] Obtaining the optical remote sensing image to be drawn;

[0008] Inputting the optical remote sensing image to be drawn into a pre-trained shoreline segmentation model, and outputting a shoreline segmentation result;

[0009] Performing image binarization and vectorization processing on the shoreline segmentation result to obtain a shoreline vector result;

[0010] The vector points in the shoreline vector result are subjected to spatial interpolation processing to obtain a smoothed shoreline vector result.

[0011] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein the shoreline segmentation model is trained by the following steps:

[0012] Obtain remote sensing image training data set and corresponding labels as input data set for shoreline segmentation model;

[0013] Taking the input data set as input and the shoreline segmentation result as output, training the pre-built neural network model;

[0014] When the accuracy of the neural network model meets a preset threshold, the training is completed;

[0015] The trained neural network model is used as the shoreline segmentation model.

[0016] According to the above aspects and any possible implementation, there is further provided an implementation, wherein the remote sensing image training data set is obtained by collecting remote sensing images of the target coastline;

[0017] The labels are obtained by annotating the water bodies and / or land in the remote sensing image training data set.

[0018] According to the above aspects and any possible implementation, an implementation is further provided, wherein the neural network model comprises: an encoding layer, a decoding layer and a dilated convolution block;

[0019] The dilated convolution block is a multi-scale dilated convolution, and a plurality of different kernel sizes are set.

[0020] According to the above aspects and any possible implementation, an implementation is further provided, wherein when the remote sensing image to be drawn is input into a pre-trained shoreline segmentation model and a shoreline segmentation result is output, the method includes:

[0021] In the output stage of the shoreline segmentation model, the sigmoid function is used to normalize the image features.

[0022] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein the image binarization and vectorization processing are performed on the shoreline segmentation result to obtain a shoreline vector result, including:

[0023] Binarizing the shoreline segmentation result to obtain a binary image;

[0024] Performing thinning processing on the binary image to obtain a skeleton image; wherein the thinning is to remove the points of the contour edge from the pixel array of the binary image;

[0025] The skeleton graph is converted into a coordinate sequence of a vector graphic to obtain a shoreline vector result.

[0026] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein the vector points in the shoreline vector result are subjected to spatial interpolation processing to obtain a smoothed shoreline vector result, including:

[0027] The vector points in the shoreline vector result are spatially interpolated by using the Bezier curve interpolation method, and global iteration is performed according to the set number of iterations. After the iteration is completed, a smoothed shoreline vector result is obtained.

[0028] According to a second aspect of the present disclosure, a device for coastline mapping based on optical remote sensing images is provided. The device comprises:

[0029] A data acquisition module, used to acquire the optical remote sensing image to be drawn;

[0030] A model processing module, used for inputting the optical remote sensing image to be drawn into a pre-trained shoreline segmentation model and outputting a shoreline segmentation result;

[0031] A vector processing module, used for performing image binarization and vectorization processing on the shoreline segmentation result to obtain a shoreline vector result;

[0032] The interpolation processing module is used to perform spatial interpolation processing on the vector points in the shoreline vector result to obtain a smoothed shoreline vector result.

[0033] According to a third aspect of the present disclosure, an electronic device is provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, the method described above is implemented.

[0034] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method according to the first aspect of the present disclosure is implemented.

[0035] The embodiment of the present disclosure provides a method and device for coastline mapping based on optical remote sensing images. First, for coastline targets, a set of sample data sets are constructed based on high-resolution satellite remote sensing images, including sample data of different seasons, different illuminations, and different resolutions; then an end-to-end coastline extraction model is developed, which can automatically separate land and water bodies; finally, GIS vectorization technology is used to vectorize the extracted coastline raster results, and boundary smoothing is performed to obtain complete coastline results, which supports the final production of navigation electronic maps. In this way, the automation and accuracy of mapping can be improved.

[0036] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, among which:

[0038] Figure 1 A flowchart of a coastline mapping method based on optical remote sensing images according to an embodiment of the present disclosure is shown;

[0039] Figure 2 A schematic diagram of an end-to-end neural network model according to an embodiment of the present disclosure is shown;

[0040] Figure 3 A schematic diagram of a dilated convolution block according to an embodiment of the present disclosure is shown;

[0041] Figure 4 A block diagram of a shoreline mapping device based on optical remote sensing images according to an embodiment of the present disclosure is shown;

[0042] Figure 5 A block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure is shown;

[0043] Figure 6 A schematic diagram of an input high-resolution remote sensing image according to an embodiment of the present disclosure is shown;

[0044] Figure 7 An example diagram of the automatic shoreline mapping results according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0046] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0047] In the present disclosure, based on high-resolution satellite remote sensing images, a set of shoreline target data sets is produced, covering different phases and different scenes, so as to improve the generalization ability of the model; the common image processing methods such as image rotation, image folding, image color transformation, image noise addition, etc. are used to perform sample enhancement processing on the constructed high-resolution shoreline target data set to further improve the robustness of the model; a set of end-to-end deep learning segmentation models are designed, which can automatically output the segmentation results of water bodies and land; the designed end-to-end deep learning segmentation model is trained and model accelerated to realize automatic segmentation of the shoreline on the high-resolution satellite remote sensing images, and then the extracted shoreline raster results are vectorized by GIS software, and the boundary smoothing technology is used to realize automatic boundary smoothing of the shoreline, so as to obtain a shoreline vector result with better visual efficiency to meet the needs of the next step of nautical chart production.

[0048] Figure 1 The flowchart of the method 100 for coastline mapping based on optical remote sensing images according to an embodiment of the present disclosure is shown. The method 100 includes:

[0049] Step 110: Acquire the optical remote sensing image to be drawn.

[0050] In some embodiments, it is necessary to obtain an optical remote sensing image of the coastline to be mapped. Figure 6 Schematic diagram of the input high-resolution remote sensing image shown.

[0051] Step 120: input the optical remote sensing image to be drawn into a pre-trained shoreline segmentation model, and output a shoreline segmentation result.

[0052] In some embodiments, the shoreline segmentation model is an intelligent segmentation model, which can realize automatic output of shoreline segmentation results.

[0053] In some embodiments, the shoreline segmentation model is trained by the following steps: obtaining a remote sensing image training data set and corresponding labels as the input data set of the shoreline segmentation model; training a pre-constructed neural network model with the input data set as input and the shoreline segmentation result as output; completing the training when the accuracy of the neural network model meets a preset threshold; and using the trained neural network model as the shoreline segmentation model. Wherein, the remote sensing image training data set is obtained by collecting remote sensing images of the target shoreline; and the labels are obtained by annotating the water bodies and / or land in the remote sensing image training data set. Figure 2 The schematic diagram of the end-to-end neural network model shown in FIG. includes: an encoding layer, a decoding layer, and a dilated convolutional block. Figure 3 The schematic diagram of the dilated convolution block shown is a multi-scale dilated convolution with multiple different kernel sizes.

[0054] In some embodiments, first, for the shoreline target, a set of sample data sets is constructed based on high-resolution satellite remote sensing images, including sample data of different seasons, different illuminations, and different resolutions. Then, the sample data is annotated using GIS or other annotation software on the basis of human-computer interaction to generate a large number of sample slices of regular sizes. Then, modern hardware devices such as GPU are used for model training, and the model with the highest accuracy is selected as the final inference model. In the output stage of the model, the sigmoid function is used to normalize the output semantic features, and the threshold is generally set to 0.5 to obtain the shoreline segmentation result. Among them, since the neural network model adds a multi-scale hole convolution block, it can better capture the multi-scale context information of high-order semantic features, thereby realizing the recognition of objects of different sizes. The hole convolution core size of the hole convolution block is inconsistent, for example: set to [1,3,5,1]. This combination of parameters is sufficient for object recognition on optical remote sensing images. The design of the hole convolution block allows the network to learn multi-scale semantic features and improve the accuracy of shoreline segmentation at different scales and scenes. At the same time, the size of the hole convolution kernel and the number of convolutions at this scale can also maintain a balance between computational efficiency and accuracy.

[0055] In some embodiments, the remote sensing image obtained in step 110 is input into a pre-trained shoreline segmentation model, and the shoreline segmentation result is output. In the output stage of the shoreline segmentation model, the sigmoid function is used to normalize the image features. In addition, in order to improve the output efficiency of the model, the remote sensing image obtained in step 110 needs to be cut into the same size as the training sample set, and then input into the shoreline segmentation model. It is worth mentioning that the cutting method adopted is a dynamic cutting method, that is, the cut small blocks are not placed in the hard disk, but directly stored in the computer memory to improve the access and processing efficiency of the data.

[0056] Step 130, performing image binarization and vectorization processing on the shoreline segmentation result to obtain a shoreline vector result.

[0057] In some embodiments, step 130 includes: binarizing the shoreline segmentation result to obtain a binary image; refining the binary image to obtain a skeleton graph; wherein the refinement is to remove the points on the contour edge of the pixel array of the binary image; and converting the skeleton graph into a coordinate sequence of a vector graphic to obtain a shoreline vector result.

[0058] In some embodiments, the steps for converting grid data into vector data in GIS are as follows:

[0059] 1. Binarization: Since the scanned image is stored in different gray levels, in order to convert the raster data into vector data, it needs to be compressed into two levels (0 and 1), which is called binarization.

[0060] 2. For the scanned input images, there will always be some white spots, stains, uneven edges of lines due to the unclean originals, so binary image preprocessing is required.

[0061] 3. Thinning (skinning method, skeleton method): Thinning is to gradually remove the points on the edge of the contour of the binary image pixel array, so that it becomes a skeleton figure with a line width of only one pixel. The skeleton of the figure after thinning not only retains most of the features of the original figure, but also facilitates the next step of tracking and processing. The basic process of thinning is: determine the set of pixels to be thinned; remove the pixels that are not skeletons; repeat until only skeleton pixels remain. If the map image after scan is thinned, it should meet the following basic requirements: maintain the continuity of the original line; the line width is only one pixel; the skeleton after thinning should be the center line of the original line; maintain the original features of the figure.

[0062] 4. Tracking: The refined binary image forms a skeleton graph. Tracking is to convert the skeleton into a coordinate sequence of a vector graphic. The basic steps are: (1) Search for the starting point of the line from left to right and from top to bottom, and record the coordinates. (2) Track the point in the eight directions of the point. If there is no point, the tracking of this line ends and go to (1) to track the next line; otherwise, record the coordinates. (3) Move the search point to the new point and go to (2). Note that the tracked points should be marked to prevent repeated tracking.

[0063] 5. Topology: To perform topology, you need to find the endpoints and nodes of the line, as well as isolated points. Isolated point: There is no pixel that is 1 in the 8-neighborhood. Endpoint: There is only one pixel that is 1 in the 8-neighborhood. Node: There are three or more pixels that are 1 in the 8-neighborhood.

[0064] Step 140, performing spatial interpolation processing on the vector points in the shoreline vector result to obtain a smoothed shoreline vector result.

[0065] In some embodiments, step 140 includes: using Bezier curve interpolation to perform spatial interpolation processing on the vector points in the shoreline vector result, and performing global iteration according to a set number of iterations. After the iteration is completed, a smoothed shoreline vector result is obtained, for example, Figure 7 The following figure shows an example of the results of automatic shoreline mapping.

[0066] In some embodiments, generally speaking, the number of iterations can be set to 5. The interpolation algorithm of the Bezier curve includes the following steps: 1. Determine the control points: Given a set of control points, usually the starting point, the end point and several intermediate points. 2. Calculate the points on the Bezier curve: Through recursive calculation, calculate the points on the Bezier curve under a given t value (ranging from 0 to 1). 3. Interpolation calculation: For each pair of adjacent control points, a series of index points on the Bezier curve are obtained by calculating a series of t values ​​(usually an arithmetic progression between 0 and 1). 4. Smooth curve transition: By adjusting the position and number of control points, the curve passes smoothly through the given control points.

[0067] In some embodiments, the above method 100 provides a more accurate and visually better shoreline vector result for drawing the shoreline in the next step of nautical chart production.

[0068] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present disclosure is not limited by the order of the actions described, because according to the present disclosure, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.

[0069] The above is an introduction to the method embodiment. The following is a further explanation of the scheme disclosed in the present invention through an apparatus embodiment.

[0070] Figure 4 FIG. 4 is a block diagram of a shoreline mapping device 400 based on optical remote sensing images according to an embodiment of the present disclosure. Figure 4 As shown, the device 400 includes:

[0071] The data acquisition module 410 is used to acquire the optical remote sensing image to be drawn;

[0072] The model processing module 420 is used to input the optical remote sensing image to be drawn into a pre-trained shoreline segmentation model and output a shoreline segmentation result;

[0073] A vector processing module 430 is used to perform image binarization and vectorization processing on the shoreline segmentation result to obtain a shoreline vector result;

[0074] The interpolation processing module 440 is used to perform spatial interpolation processing on the vector points in the shoreline vector result to obtain a smoothed shoreline vector result.

[0075] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0076] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0077] Figure 5A schematic block diagram of an electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0078] The electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a ROM 502 or a computer program loaded from a storage unit 508 into a RAM 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An I / O interface 505 is also connected to the bus 504.

[0079] Multiple components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0080] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as a shoreline mapping method based on optical remote sensing images. For example, in some embodiments, the shoreline mapping method based on optical remote sensing images may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the shoreline mapping method based on optical remote sensing images described above may be executed. Alternatively, in other embodiments, the computing unit 501 may be configured to execute the shoreline mapping method based on optical remote sensing images in any other appropriate manner (for example, by means of firmware).

[0081] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0082] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0083] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0084] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0085] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0086] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0087] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0088] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A shoreline mapping method based on optical remote sensing images, characterized in that: include: Obtaining the optical remote sensing image to be drawn; Inputting the optical remote sensing image to be drawn into a pre-trained shoreline segmentation model, and outputting a shoreline segmentation result; Performing image binarization and vectorization processing on the shoreline segmentation result to obtain a shoreline vector result; The vector points in the shoreline vector result are subjected to spatial interpolation processing to obtain a smoothed shoreline vector result.

2. The method according to claim 1, characterized in that The shoreline segmentation model is trained by the following steps: Obtain remote sensing image training data set and corresponding labels as input data set for shoreline segmentation model; Taking the input data set as input and the shoreline segmentation result as output, training the pre-built neural network model; When the accuracy of the neural network model meets a preset threshold, the training is completed; The trained neural network model is used as the shoreline segmentation model.

3. The method according to claim 2, characterized in that The remote sensing image training data set is obtained by collecting remote sensing images of the target coastline; The labels are obtained by annotating the water bodies and / or land in the remote sensing image training data set.

4. The method according to claim 2, characterized in that: The neural network model includes: an encoding layer, a decoding layer and a dilated convolution block; The dilated convolution block is a multi-scale dilated convolution, and a plurality of different kernel sizes are set.

5. The method according to claim 1, characterized in that When the remote sensing image to be drawn is input into the pre-trained shoreline segmentation model and the shoreline segmentation result is output, the method includes: In the output stage of the shoreline segmentation model, the sigmoid function is used to normalize the image features.

6. The method according to claim 1, characterized in that The image binarization and vectorization processing are performed on the shoreline segmentation result to obtain a shoreline vector result, including: Binarizing the shoreline segmentation result to obtain a binary image; Performing thinning processing on the binary image to obtain a skeleton image; wherein the thinning is to remove the points of the contour edge from the pixel array of the binary image; The skeleton graph is converted into a coordinate sequence of a vector graphic to obtain a shoreline vector result.

7. The method according to claim 1, characterized in that The performing of spatial interpolation processing on the vector points in the shoreline vector result to obtain a smoothed shoreline vector result includes: The vector points in the shoreline vector result are spatially interpolated by using the Bezier curve interpolation method, and global iteration is performed according to the set number of iterations. After the iteration is completed, a smoothed shoreline vector result is obtained.

8. A shoreline mapping device based on optical remote sensing images, characterized in that: include: A data acquisition module, used to acquire the optical remote sensing image to be drawn; A model processing module, used for inputting the optical remote sensing image to be drawn into a pre-trained shoreline segmentation model and outputting a shoreline segmentation result; A vector processing module, used for performing image binarization and vectorization processing on the shoreline segmentation result to obtain a shoreline vector result; The interpolation processing module is used to perform spatial interpolation processing on the vector points in the shoreline vector result to obtain a smoothed shoreline vector result.

9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, 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 of any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Fundus image segmentation method based on deep information transfer network

    CN110992309A

  • Coding and decoding network port image segmentation method fusing semantic flow field

    CN113052180A

  • Remote sensing image coastline extraction method based on deep semantic segmentation network

    CN113139550A

  • Image segmentation method and device, electronic equipment, computer equipment, and storage medium

    CN113674282A

  • City element identification method based on multi-source big data

    CN115019163A