A deep learning-based ice lake extraction method and medium

Through the ice lake extraction method based on deep learning, the massive remote sensing data is processed, the interference of clouds, snow and mountain shadows is eliminated, and the optimal ice lake pattern is identified, which solves the problems of low efficiency and poor quality of ice lake data processing in the existing technology. , realizing efficient and low-complexity ice lake data identification.

CN118587609BActive Publication Date: 2024-10-22INST OF MOUNTAIN HAZARDS & ENVIRONMENT CHINESE ACADEMY OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411074559.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-22
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

Existing ice lake remote sensing survey methods are inefficient when processing massive remote sensing data and are easily affected by clouds, snow and mountain shadows, resulting in low data quality and high processing complexity.

Method used

The ice lake extraction method based on deep learning is used to obtain multi-temporal remote sensing images, use the ice lake prediction neural network to calculate the interference mask rate, eliminate the ice lake patches with high interference mask rate, and retain the higher quality ice lake areas. Align the grid strip information, identify the optimal ice lake pattern, and generate ice lake identification results.

Benefits of technology

It improves the quality and efficiency of glacial lake data processing, reduces the complexity of processing massive data, retains high-quality glacial lake area prediction results, and reduces the quality loss of recognition results due to interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587609B_ABST
    Figure CN118587609B_ABST
Patent Text Reader

Abstract

The present invention relates to an ice lake extraction method and medium based on deep learning. Based on the ice lake image of remote sensing images, on the one hand, a first ice lake prediction result is obtained through an ice lake prediction neural network, and on the other hand, the interference mask rate of each ice lake area in each ice lake image is calculated, so that the ice lake spots corresponding to the ice lake areas whose interference mask rate does not meet the requirements are removed from the first ice lake prediction result to obtain a second ice lake prediction result. Based on the second ice lake prediction result, alignment is performed according to grid stripe information to obtain the largest ice lake spot in an ice lake spot group with overlapping spots, and the largest ice lake spot is used as the optimal ice lake spot in the ice lake spot group to obtain an ice lake recognition result. Compared with the prior art, the complexity of data processing is reduced and the quality of ice lake data processing results 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 deep learning of remote sensing images, and in particular to a method and medium for extracting an ice lake based on deep learning. Background Art

[0002] Glacial lakes are one of the most important freshwater resources in the world and are closely related to human society and economic development. Under the current climate change background, glacial lake outburst disasters are posing an increasingly serious threat to humanity. Understanding the distribution and development of glacial lakes and obtaining glacial lake data in a timely and accurate manner are important measures for disaster prevention and reduction and optimizing resource utilization.

[0003] With the opening and diversification of remote sensing data, glacial lake surveys no longer rely on the single means of traditional field surveys. Massive satellite remote sensing data makes remote sensing monitoring of glacial lakes more comprehensive and accurate. The earliest remote sensing images can even be traced back to the middle of the last century, providing key data for long-term monitoring of glacial lakes. Current research shows that the Landsat series of satellites have the characteristics of long operating periods and wide coverage areas, and have become the main data source for current 30m spatial resolution scale research. Research on glacial lake remote sensing survey methods based on Landsat satellite images is one of the hot topics.

[0004] Current research on remote sensing surveys of glacial lakes mainly focuses on identifying glacial lakes from remote sensing images of specific periods and completing glacial lake mapping. For example, some current technologies have completed glacial lake data mapping in the High Asia region in 1990 and 2018 based on Landsat images. Although manual methods are widely used in the field of remote sensing surveys of glacial lakes, they are still time-consuming, labor-intensive and inefficient.

[0005] In recent years, with the continuous improvement of computer technology, artificial intelligence algorithms have made unprecedented progress. In recent years, deep learning methods for ice lake identification based on remote sensing images have developed rapidly, and more and more related network models have been developed. Neural network structures, such as U-Net, FCN, DeepLab, etc., are widely used in ice lake remote sensing monitoring research, bringing new growth points to ice lake research.

[0006] However, the massive amount of glacial lake data obtained based on deep learning models also faces new challenges. The Landsat series of satellite remote sensing images save data based on a grid-based model and use the WRS (Worldwide Reference System) global reference system to identify land satellite data. Faced with a large amount of remote sensing data, how to quickly obtain better glacial lake data while reducing calculations and improving generation efficiency has become an urgent problem to be solved. Summary of the invention

[0007] The technical problem to be solved by the present application is to provide an ice lake extraction method and medium based on deep learning, which has the characteristics of improving the quality of data processing while reducing the complexity of data processing.

[0008] In a first aspect, an embodiment provides an ice lake extraction method based on deep learning, including:

[0009] Acquire multiple glacial lake images of the regional object, wherein the multiple glacial lake images include remote sensing images acquired at different time points throughout the four seasons, and the remote sensing images record grid strip information;

[0010] Inputting each ice lake image in the plurality of ice lake data into a trained ice lake prediction neural network to obtain a corresponding first ice lake prediction result, and obtaining the area of ​​each ice lake spot in the first ice lake prediction result; the first ice lake prediction result records grid strip information;

[0011] For each ice lake area in each of the ice lake images, the interference mask rate of the ice lake area is calculated, and the ice lake spots with an interference mask rate greater than a preset threshold in each corresponding first ice lake prediction result are removed, and the ice lake spots with an interference mask rate less than or equal to the preset threshold are retained to obtain a second ice lake prediction result;

[0012] All second ice lake prediction results are aligned according to the grid strip information to obtain multiple ice lake spot groups, the ice lake spot with the largest area in each ice lake spot group is identified, and the ice lake spot with the largest area is used as the optimal ice lake spot in the area where the ice lake spot group is located; wherein each ice lake spot group includes multiple ice lake spots with overlapping spot areas;

[0013] Based on all the optimal ice lake patches, the ice lake identification results are obtained.

[0014] In one embodiment, the obtaining of multiple glacial lake images of the regional object includes: obtaining remote sensing images obtained at different time points in the four seasons of the year two years before and after the research period of the regional object.

[0015] In one embodiment, the first ice lake prediction result also includes the unique identifier of each ice lake spot, the area of ​​each ice lake spot, the image source of each ice lake spot, the image data acquisition time of each ice lake spot, and the file name of the image data of each ice lake spot.

[0016] In one embodiment, the step of calculating the interference mask rate of the ice lake region for each ice lake region in each ice lake image includes:

[0017] For any ice lake area in any ice lake image, the calculation of interference mask rate includes:

[0018] Calculating the pixel distribution of clouds, the pixel distribution of snow, and the pixel distribution of mountain shadows in any one of the ice lake images;

[0019] Based on the pixel distribution of the clouds, the pixel distribution of the snow and the pixel distribution of the mountain shadows, calculating the overall interference pixel distribution of the clouds, the snow and the mountain shadows in any one of the ice lake images;

[0020] Obtain any ice lake area in any ice lake image to obtain the overall interference pixel distribution of any ice lake area;

[0021] Obtaining the interference pixel area and the total pixel area of ​​any one of the ice lake regions;

[0022] The interference mask rate of any one of the ice lake regions is calculated based on the interference pixel area and the total pixel area.

[0023] In one embodiment, the calculation of the pixel distribution of snow accumulation includes:

[0024] Obtaining the green band pixel matrix, short-wave infrared band pixel matrix and near infrared band pixel matrix of the image;

[0025] A first snow pixel distribution is calculated based on the green band pixel matrix and the short-wave infrared band pixel matrix;

[0026] The water body pixel distribution is calculated based on the green band pixel matrix and the near infrared band pixel matrix;

[0027] A second snow pixel distribution is obtained based on the first snow pixel distribution and the water pixel distribution, and the second snow pixel distribution is used as the pixel distribution of snow.

[0028] In one embodiment, the calculation of the first snow pixel distribution based on the green band pixel matrix and the short-wave infrared band pixel matrix includes:

[0029] ;

[0030] in, represents the pixel matrix of the filter segment, represents the short-wave infrared band pixel matrix, Indicates the first snow pixel distribution;

[0031] The calculation of the water body pixel distribution based on the green band pixel matrix and the near infrared band pixel matrix includes:

[0032] ;

[0033] in, represents the near-infrared band pixel matrix, Represents the distribution of water pixels;

[0034] The step of obtaining a second snow pixel distribution based on the first snow pixel distribution and the water pixel distribution, and using the second snow pixel distribution as the snow pixel distribution, includes:

[0035] ;

[0036] in, The distribution of pixels representing snow cover.

[0037] In one embodiment, the calculating of the overall interference pixel distribution of clouds, snow and mountain shadows in any one of the ice lake images based on the pixel distribution of clouds, the pixel distribution of snow and the pixel distribution of mountain shadows includes:

[0038] ;

[0039] in, represents the pixel distribution of the cloud, represents the pixel distribution of snow, represents the pixel distribution of hillshade, Represents the overall interference pixel distribution.

[0040] In one embodiment, the calculation of the interference mask rate of any one ice lake region based on the interference pixel area and the total pixel area includes:

[0041] ;

[0042] in, represents the interference pixel area of ​​any ice lake region i, represents the total pixel area of ​​any ice lake region i, represents the interference masking rate of any ice lake region i.

[0043] In one embodiment, the step of identifying the largest ice lake spot in each ice lake spot group and using the largest ice lake spot as the optimal ice lake spot in the area where the ice lake spot group is located includes:

[0044] For any ice lake patch group, the outer contours of each ice lake patch are fused to obtain the fused recognition area;

[0045] All glacial lake patches covered by the identification area are given the same unique identification mark;

[0046] The ice lake patch with the largest area among the ice lake patches is taken as the optimal ice lake patch under the unique identification mark.

[0047] In a second aspect, an embodiment provides a computer-readable storage medium, wherein the medium stores a program, and the program can be loaded by a processor to execute the ice lake extraction method described in any one of the above embodiments.

[0048] The beneficial effects of the present invention are:

[0049] Instead of directly selecting images without interference from clouds, snow and mountain shadows, the ice lake patches corresponding to the ice lake areas with interference from clouds, snow and mountain shadows are removed from the ice lake prediction results. In this way, the prediction results corresponding to the ice lake areas with higher quality in the ice lake image are retained, rather than being removed from the entire ice lake image due to the influence of other areas, thereby affecting the data volume of the ice lake prediction results and affecting the quality of the recognition results. At the same time, the complexity of processing massive data is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 This is a schematic diagram of remote sensing image grid strip information in one embodiment of the present application;

[0051] Figure 2 This is a schematic diagram of remote sensing image grid strip information according to another embodiment of the present application;

[0052] Figure 3 This is a schematic diagram of a flow chart of an ice lake extraction method based on deep learning according to an embodiment of the present application;

[0053] Figure 4 It is a flowchart of the interference mask rate calculation method of the present application;

[0054] Figure 5 It is a schematic diagram of a flow chart of a method for calculating pixel distribution of snow accumulation according to an embodiment of the present application;

[0055] Figure 6 is a schematic diagram of three second ice lake prediction results after overlapping and alignment in one embodiment of the present application;

[0056] Figure 7 yes Figure 6 Schematic diagram of the six glacial lake patch attributes included in the three second glacial lake prediction results;

[0057] Figure 8 This is a schematic diagram of the process of obtaining the optimal ice lake image patch according to an embodiment of the present application;

[0058] Fig. 9 is a schematic diagram of an identification area obtained in one embodiment of the present application;

[0059] Fig.10 is based on Figure 6 The embodiment obtains a recognition result. DETAILED DESCRIPTION

[0060] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.

[0061] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.

[0062] The serial numbers assigned to the components in this article, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning.

[0063] To facilitate the description of the inventive concept of the present application, the Ice Lake data processing technology is briefly described below.

[0064] For the conventional expression of grid strip information of remote sensing images, one is Landst remote sensing images, please refer to Figure 1 , is divided into tiles according to the Worldwide Reference System (WRS), and uses the Path and Row fields to record the grid strip information. Path and Row together constitute the globally unique location number of the Landsat image. Figure 1In each of the six digits, the first three are the Path number and the last three are the Landsat number. Path indicates the position of the satellite image in the longitude direction. It marks different longitudinal strips on the earth's surface along the satellite's track, such as 140; Row indicates the position of the satellite image in the latitude direction. It marks different transverse strips on the earth's surface along the vertical direction of the satellite's track, such as 040. In order to ensure the integrity of the data, each grid strip maintains a certain width of overlap with the adjacent grid strip images in the east-west and north-south directions. Near 30 degrees north latitude, the width of the overlap in the east-west direction is about 40km, and the width of the overlap in the north-south direction is about 8.5km. This ensures global coverage of remote sensing images, but also increases the amount and difficulty of data processing.

[0065] The other is Sentinel-2 satellite remote sensing image, please refer to Figure 2 The original remote sensing image width is 290km², but in order to facilitate users to obtain data and prevent downloading too much useless data, this wide image is further divided into multiple 100km×100km images. These images are divided more finely based on the UTM (Universal Transverse Mercator Grid System) grid. In the same UTM area, there will be an overlap of about 4.9km between adjacent 100km×100km small images. The grid strips are named in the form of numbers and letters, such as 45RYM.

[0066] Based on massive satellite remote sensing images and deep learning models, a large amount of glacial lake data can be obtained. However, how to remove noise interference from the massive glacial lake data and select the best data for a single glacial lake is the key to the research. The development of glacial lakes around the world is mainly concentrated in high-altitude areas, and the Qinghai-Tibet Plateau in my country is the main distribution area of ​​glacial lakes.

[0067] The applicant found in the study that regional-scale research requires processing data from hundreds of grid strips to fully cover the study area. Therefore, how to obtain the best glacial lake data from massive data is a problem currently faced.

[0068] The applicant also found in the study that due to the interference of clouds, snow and mountain shadows, the ice lake data obtained is inaccurate and of poor quality due to interference. In response to this problem, in the current image processing technology, an image without interference is selected before the image object recognition process, or the image is first subjected to interference removal image processing. However, in the data processing of the ice lake, each grid strip needs to use multiple periods of remote sensing images to clearly and completely obtain all the ice lakes within the grid strip to meet the needs of full coverage survey of the study area. If the interference removal processing method of the prior art is adopted, on the one hand, if an image without interference from clouds, snow and mountain shadows is directly selected, a large amount of remote sensing data will be lost, resulting in low accuracy and low data quality of the ice lake data obtained later. On the other hand, if interference removal image processing is performed before image object recognition processing, first, the interference removal image processing of snow is difficult, which easily leads to low data accuracy and poor data quality; second, for the processing of massive data, the processing complexity is high.

[0069] In view of this, the present application provides an ice lake extraction method and medium based on deep learning. Based on the ice lake image of remote sensing images, on the one hand, a first ice lake prediction result is obtained through an ice lake prediction neural network, and on the other hand, the interference mask rate of each ice lake area in each ice lake image is calculated, so that the ice lake spots corresponding to the ice lake areas whose interference mask rate does not meet the requirements are removed from the first ice lake prediction result to obtain a second ice lake prediction result. Based on the second ice lake prediction result, alignment is performed according to the grid stripe information to obtain the largest ice lake spot in the ice lake spot group with overlapping spots, and the largest ice lake spot is used as the optimal ice lake spot in the ice lake spot group, so as to obtain an ice lake recognition result. In this scheme, images without interference from clouds, snow and mountain shadows are not directly selected. Instead, the ice lake patches corresponding to the ice lake areas with interference from clouds, snow and mountain shadows are removed from the ice lake prediction results. In this way, the prediction results corresponding to the ice lake areas with higher quality in the ice lake image are retained, rather than being removed from the entire ice lake image due to the influence of other areas, thereby affecting the data volume of the ice lake prediction results and affecting the quality of the recognition results. At the same time, the complexity of processing massive data is reduced.

[0070] A deep learning-based ice lake extraction method is provided in one embodiment of the present application. Please refer to Figure 3 ,include:

[0071] Step S10, obtaining a plurality of ice lake images of the regional object, wherein the plurality of ice lake images include remote sensing images obtained at different time points throughout the four seasons, and grid strip information is recorded in the remote sensing images.

[0072] In one embodiment, the remote sensing images obtained are from the Landsat series satellites. For each grid strip, in order to obtain all the ice lakes in the grid strip, reduce the interference of clouds, snow and mountain shadows on the image targets, and improve the data quality, high-quality image data of the required research area object two years before and after the research period is obtained. These image data include multi-temporal remote sensing images obtained at different time points throughout the four seasons. Therefore, these data also have the characteristics of a large time span and a large amount of research data.

[0073] Step S20, input each ice lake image in the plurality of ice lake data into the trained ice lake prediction neural network to obtain a corresponding first ice lake prediction result, and obtain the area of ​​each ice lake spot in the first ice lake prediction result. The first ice lake prediction result records grid strip information.

[0074] In one embodiment, each ice lake image, i.e., remote sensing image, is pre-processed and then input into a trained ice lake prediction neural network to obtain a corresponding ice lake prediction result as a first ice lake prediction result. The pre-processing here may include data cropping, cropping the remote sensing image to a preset size, and may also include data enhancement processing of the remote sensing image.

[0075] In one embodiment, the ice lake image input to the ice lake prediction neural network includes the image source of the remote sensing image, the image data acquisition time, and the file name of the image data. The output first ice lake prediction result also includes the unique identifier of each ice lake spot, the area of ​​each ice lake spot, the image source of each ice lake spot, the image data acquisition time of each ice lake spot, and the file name of the image data of each ice lake spot.

[0076] Among them, the neural network model of the existing technology can be used for the ice lake prediction neural network, which will not be described in detail here.

[0077] For each ice lake patch in the first ice lake prediction result, its unique identification, area, image source, image acquisition time and file name of the image data can be given based on the corresponding input data and processing results.

[0078] Step S30, for each ice lake area in each ice lake image, calculate the interference mask rate of the ice lake area, and remove the ice lake spots with an interference mask rate greater than a preset threshold in each corresponding first ice lake prediction result, and retain the ice lake spots with an interference mask rate less than or equal to the preset threshold to obtain a second ice lake prediction result.

[0079] In one embodiment, for each ice lake region in each ice lake image, the interference mask rate of the ice lake region is calculated, please refer to Figure 4 ,include:

[0080] For any ice lake area in any ice lake image, the calculation of interference mask rate includes:

[0081] Step S301, calculating the pixel distribution of clouds, the pixel distribution of snow, and the pixel distribution of mountain shadows in the ice lake image.

[0082] For any ice lake image, there may be multiple ice lakes or one ice lake. We call one ice lake an ice lake region. For any ice lake region, clouds, snow and mountain shadows are interference factors. We can obtain the pixel distribution of clouds, snow and mountain shadows in each ice lake region based on the ice lake image.

[0083] Among them, the pixel distribution of clouds and the pixel distribution of mountain shadows can be obtained by using existing technical methods, which will not be repeated here.

[0084] In one embodiment, a method for calculating the pixel distribution of snow accumulation is provided. Figure 5 ,include:

[0085] Step S3011, obtaining a green band pixel matrix, a short-wave infrared band pixel matrix, and a near-infrared band pixel matrix of the image.

[0086] Since different materials reflect light in different bands, we can obtain the pixel distribution of snow based on the light emission bands of snow and water.

[0087] Step S3012, calculating a first snow pixel distribution based on a green band pixel matrix and a short-wave infrared band pixel matrix.

[0088] First, the first snow pixel distribution can be calculated based on the green band pixel matrix and the short-wave infrared band pixel matrix. In one embodiment, the method includes:

[0089] ;

[0090] in, represents the pixel matrix of the filter segment, represents the short-wave infrared band pixel matrix, Represents the first snow pixel distribution.

[0091] The applicant discovered during the study that the first snow pixel distribution also includes water pixel distribution. Therefore, in order to obtain a more accurate snow distribution, it is necessary to remove the water pixels in the first snow pixel distribution.

[0092] Step S3013, calculating the water body pixel distribution based on the green band pixel matrix and the near infrared band pixel matrix.

[0093] In one embodiment, step S3013 includes:

[0094] ;

[0095] in, represents the near-infrared band pixel matrix, Represents the distribution of water pixels.

[0096] Step S3014: obtaining a second snow pixel distribution based on the first snow pixel distribution and the water pixel distribution, and using the second snow pixel distribution as the snow pixel distribution.

[0097] In one embodiment, step S3014 includes:

[0098] ;

[0099] in, The distribution of pixels representing snow cover.

[0100] In one embodiment, to simplify the algorithm, we can first obtain the pixel distribution of clouds, the pixel distribution of snow, and the pixel distribution of mountain shadows of the entire ice lake image. Since the entire ice lake image includes various ice lake areas, we can obtain the pixel distribution of clouds, the pixel distribution of snow, and the pixel distribution of mountain shadows of each ice lake area based on the pixel distribution of clouds, the pixel distribution of snow, and the pixel distribution of mountain shadows of the entire ice lake image.

[0101] Step S302, based on the pixel distribution of clouds, the pixel distribution of snow and the pixel distribution of mountain shadows, the overall interference pixel distribution of clouds, snow and mountain shadows in the ice lake image is calculated.

[0102] In one embodiment, step S302 includes:

[0103] ;

[0104] in, represents the pixel distribution of the cloud, represents the pixel distribution of snow, represents the pixel distribution of hillshade, Represents the overall interference pixel distribution.

[0105] Step S303, obtaining an ice lake area in the ice lake image for which the interference mask rate is to be calculated, so as to obtain the overall interference pixel distribution of the ice lake area.

[0106] When the overall interfering pixel distribution of the ice lake image is known in step S302, the overall interfering pixel distribution of any ice lake area in the ice lake image can be obtained.

[0107] Step S304, obtaining the interference pixel area and the total pixel area of ​​the ice lake region.

[0108] Step S305, calculating the interference mask rate of the ice lake area based on the interference pixel area and the total pixel area of ​​the ice lake area.

[0109] In one embodiment, step S305 includes:

[0110] ;

[0111] in, represents the interference pixel area of ​​any ice lake region i, represents the total pixel area of ​​any ice lake region i, represents the interference masking rate of any ice lake region i.

[0112] Based on the interference mask rate of each ice lake area of ​​each ice lake image obtained above, the ice lake spots in the corresponding first ice lake prediction result are corresponding. For any ice lake spot, if the interference mask rate of the ice lake area corresponding to the ice lake spot is greater than a preset threshold, the ice lake spot is removed from the first ice lake prediction result where it is located, otherwise, it is retained. In this way, a second ice lake prediction result can be obtained in which all ice lake spots contained are less than the preset threshold.

[0113] In one embodiment, the interference mask rate of 5% may be used as the preset threshold.

[0114] For example, if there are three ice lake spots in a prediction result, and the interference mask rates of the three corresponding ice lake areas in the ice lake image are 0%, 3%, and 8%, respectively, then the ice lake spot corresponding to the interference mask rate of 8% is removed from the prediction result, and the remaining two ice lake spots are retained in the prediction result. In this way, the ice lake spots with poor image quality are removed, and the ice lake spots with good image quality are retained.

[0115] Step S40: align all the second ice lake prediction results according to the grid strip information to obtain multiple ice lake spot groups, identify the ice lake spot with the largest area in each ice lake spot group, and use the ice lake spot with the largest area as the optimal ice lake spot in the area where the ice lake spot group is located. Each ice lake spot group includes multiple ice lake spots with overlapping spot areas.

[0116] Please refer to Figure 6 , are three second ice lake prediction results after overlapping and alignment according to the grid strip information, wherein each second ice lake prediction result has three ice lake spots, and the three ice lake spots in each second ice lake prediction result all meet the requirements of the interference mask rate, then three ice lake spot groups can be obtained here.

[0117] Please refer to Figure 7 In one embodiment, the top ice lake spot group all belongs to strip number 140040, and the three ice lake spots in the ice lake spot group have overlapping spot areas, but do not have overlapping areas with other ice lake spots, and the image acquisition time and area corresponding to the three ice lake spots are given respectively. The lower left ice lake spot group also belongs to strip number 140040, and the three ice lake spots in the ice lake spot group have overlapping spot areas, but do not have overlapping areas with other ice lake spots, and the image acquisition time and area corresponding to the three ice lake spots are given respectively. The lower right ice lake spot group also belongs to strip number 140040, and the three ice lake spots in the ice lake spot group have overlapping spot areas, but do not have overlapping areas with other ice lake spots, and the image acquisition time and area corresponding to the three ice lake spots are given respectively. Among them, Figure 7 The points in the rightmost column of represent other attributes, which will not be described here.

[0118] In one embodiment, the largest ice lake spot in each ice lake spot group is identified, and the largest ice lake spot is used as the optimal ice lake spot in the area where the ice lake spot group is located. Figure 8 , which may include:

[0119] Step S401: for any ice lake patch group, the outer contour of each ice lake patch is fused to obtain a fused recognition area.

[0120] by Figure 6 Take the top ice lake patch group as an example to illustrate, the outer contours of the three ice lake patches in the ice lake patch group are fused, including the outermost contour lines in the outer contours of each part of the three ice lake patches, and the fused Fig. 9 The identification area belongs to, and the identification area can cover any one of the three ice lake patches.

[0121] Step S402, giving the same unique identification mark to all ice lake spots covered by the identification area.

[0122] by Figure 6 Take the top ice lake patch group as an example to illustrate that the fused recognition area covers all ice lake patches, that is, Figure 6 The top three glacial lakes in the figure are given the same unique identification ID1. Figure 6 The three glacial lake spots in the lower left center are given the same unique identification ID2. Figure 6 The three glacial lake spots in the lower right center are given the same unique identification ID3.

[0123] Step S403: taking the ice lake spot with the largest area in the ice lake spot group as the optimal ice lake spot under the unique identification mark.

[0124] Based on the optimal ice lake patch recognition method, the optimal ice lake patch can be quickly obtained.

[0125] Step S50, obtaining ice lake recognition results based on all optimal ice lake patches.

[0126] Please refer to Fig.10 , based on Figure 6 The ice lake identification result obtained from the second ice lake prediction result. Since the first ice lake prediction result also includes the unique identifier of each ice lake spot, the area of ​​each ice lake spot, the image source of each ice lake spot, the image data acquisition time of each ice lake spot, and the file name of the image data of each ice lake spot. Therefore, in the final ice lake identification result, for each ice lake spot, the corresponding unique identifier, area, image source, image data acquisition time and image data file name can be obtained.

[0127] In this scheme, images without interference from clouds, snow and mountain shadows are not directly selected. Instead, the ice lake patches corresponding to the ice lake areas with interference from clouds, snow and mountain shadows are removed from the ice lake prediction results. In this way, the prediction results corresponding to the ice lake areas with higher quality in the ice lake image are retained, rather than being removed from the entire ice lake image due to the influence of other areas, thereby affecting the data volume of the ice lake prediction results and affecting the quality of the recognition results. At the same time, the complexity of processing massive data is reduced.

[0128] In one embodiment of the present application, a computer-readable storage medium is provided, on which a program is stored. The stored program includes an ice lake extraction method based on deep learning in any of the above embodiments that can be loaded by a processor and processed.

[0129] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.

[0130] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.

Claims

1. A deep learning-based ice lake extraction method, characterized in that: include: Acquire multiple glacial lake images of the regional object, wherein the multiple glacial lake images include remote sensing images acquired at different time points throughout the four seasons, and the remote sensing images record grid strip information; Inputting each ice lake image in the plurality of ice lake data into the trained ice lake prediction neural network to obtain a corresponding first ice lake prediction result, and obtaining the area of ​​each ice lake spot in the first ice lake prediction result; The first glacial lake prediction result records grid strip information; For each ice lake area in each of the ice lake images, the interference mask rate of the ice lake area is calculated, and the ice lake spots with an interference mask rate greater than a preset threshold in each corresponding first ice lake prediction result are removed, and the ice lake spots with an interference mask rate less than or equal to the preset threshold are retained to obtain a second ice lake prediction result; All second ice lake prediction results are aligned according to the grid strip information to obtain multiple ice lake spot groups, the ice lake spot with the largest area in each ice lake spot group is identified, and the ice lake spot with the largest area is used as the optimal ice lake spot in the area where the ice lake spot group is located; wherein each ice lake spot group includes multiple ice lake spots with overlapping spot areas; Based on all the optimal ice lake patches, the ice lake identification results are obtained; The step of calculating the interference mask rate of the ice lake region for each ice lake region in each ice lake image includes: For any ice lake area in any ice lake image, the calculation of interference mask rate includes: Calculating the pixel distribution of clouds, the pixel distribution of snow, and the pixel distribution of mountain shadows in any one of the ice lake images; Based on the pixel distribution of the clouds, the pixel distribution of the snow and the pixel distribution of the mountain shadows, calculating the overall interference pixel distribution of the clouds, the snow and the mountain shadows in any one of the ice lake images; Obtain any ice lake area in any ice lake image to obtain the overall interference pixel distribution of any ice lake area; Obtaining the interference pixel area and the total pixel area of ​​any one of the ice lake regions; Calculating the interference mask rate of any one of the ice lake regions based on the interference pixel area and the total pixel area; The calculation of the pixel distribution of snow accumulation includes: Obtaining the green band pixel matrix, short-wave infrared band pixel matrix and near infrared band pixel matrix of the image; A first snow pixel distribution is calculated based on the green band pixel matrix and the short-wave infrared band pixel matrix; The water body pixel distribution is calculated based on the green band pixel matrix and the near infrared band pixel matrix; Obtaining a second snow pixel distribution based on the first snow pixel distribution and the water pixel distribution, and using the second snow pixel distribution as the snow pixel distribution; The first snow pixel distribution is calculated based on the green band pixel matrix and the short-wave infrared band pixel matrix, including: ; in, represents the green band pixel matrix, represents the short-wave infrared band pixel matrix, Indicates the first snow pixel distribution; The calculation of the water body pixel distribution based on the green band pixel matrix and the near infrared band pixel matrix includes: ; in, represents the near-infrared band pixel matrix, Represents the distribution of water pixels in the first snow pixel distribution; The step of obtaining a second snow pixel distribution based on the first snow pixel distribution and the water pixel distribution, and using the second snow pixel distribution as the snow pixel distribution, includes: ; in, The distribution of pixels representing snow cover.

2. The ice lake extraction method according to claim 1, characterized in that: The first ice lake prediction result also includes the unique identifier of each ice lake spot, the area of ​​each ice lake spot, the image source of each ice lake spot, the image data acquisition time of each ice lake spot, and the file name of the image data of each ice lake spot.

3. The ice lake extraction method according to claim 1, characterized in that: The calculating of the overall interference pixel distribution of clouds, snow and mountain shadows in any one of the ice lake images based on the pixel distribution of clouds, the pixel distribution of snow and the pixel distribution of mountain shadows comprises: ; in, represents the pixel distribution of the cloud, represents the pixel distribution of snow, represents the pixel distribution of hillshade, Represents the overall interference pixel distribution.

4. The ice lake extraction method according to claim 1, characterized in that: The calculating of the interference mask rate of any one ice lake region based on the interference pixel area and the total pixel area includes: ; in, represents the interference pixel area of ​​any ice lake region i, represents the total pixel area of ​​any ice lake region i, represents the interference masking rate of any ice lake region i.

5. The ice lake extraction method according to claim 1, characterized in that: The step of identifying the largest ice lake spot in each ice lake spot group and using the largest ice lake spot as the optimal ice lake spot in the area where the ice lake spot group is located includes: For any ice lake patch group, the outer contours of each ice lake patch are fused to obtain the fused recognition area; All glacial lake patches covered by the identification area are given the same unique identification mark; The ice lake patch with the largest area among the ice lake patches is taken as the optimal ice lake patch under the unique identification mark.

6. A computer-readable storage medium, characterized in that: The medium stores a program, which can be loaded by a processor and execute the ice lake extraction method according to any one of claims 1 to 5.