Blue-green algae automatic extraction method based on remote sensing image data

CN118691844APending Publication Date: 2024-09-24ZHEJIANG UNIV OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410742405.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

传统的监测方法往往无法有效地关注到特定区域和时间的重复爆发模式

Benefits of technology

[0025] By introducing a spatiotemporal attention mechanism to the DeepLabV3+ model, the present invention can optimize weight distribution based on historical data during model training and application, especially for those areas and times with historical records of cyanobacteria outbreaks; in addition, by using Sentinel The specific waveband of -2 creates false color images. This system can more effectively highlight the characteristics of cyanobacteria in the water body, which is crucial to improving the model's recognition accuracy of cyanobacteria blooms. The use of this false color image allows the model to more clearly distinguish cyanobacteria from other water body features during the training process, thereby improving the accuracy and efficiency of predictions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118691844A
    Figure CN118691844A
Patent Text Reader

Abstract

The invention discloses an automatic blue-green algae extraction method based on remote sensing image data, and relates to the technical field of blue-green algae identification, data of a wave band II, a wave band III and a wave band VII of a satellite are used as input, the wave band II is a blue wave band, the wave band III is a green wave band, and the wave band VII is a near-infrared wave band; creating a false color image, and preprocessing the data to highlight a blue-green algae area; the method specifically comprises the following steps: acquiring an L1C-level satellite image, then performing atmospheric correction on the L1C-level image, re-sampling all wavebands to unify the resolution ratio, then selecting the wavebands, and performing false color image synthesis; and the blue-green algae can be accurately identified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of automatic extraction of cyanobacteria, and in particular is a method for automatic extraction of cyanobacteria based on remote sensing image data. Background Art

[0002] Cyanobacterial blooms are a global environmental problem, especially in inland water bodies. Traditional monitoring methods often fail to effectively focus on recurring outbreak patterns in specific areas and times. With the development of deep learning technology, especially the application of the DeepLabV3+ model in the field of image segmentation, the spatiotemporal sensitivity and prediction accuracy of cyanobacterial bloom monitoring can be significantly improved in combination with the spatiotemporal attention mechanism. At the same time, using multispectral data from the Sentinel-2MS I satellite to create false color images can more clearly highlight the characteristics of cyanobacterial blooms, thereby helping to improve the recognition accuracy of the model;

[0003] Based on this, a solution is provided. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes a method for automatically extracting cyanobacteria based on remote sensing image data, which specifically comprises the following steps:

[0005] Using the satellite's band 2, band 3 and band 7 data as input, band 2 is the blue band, band 3 is the green band, and band 7 is the near-infrared band; create false color images and pre-process the data to highlight the cyanobacteria area; specifically, obtain L1 C-level satellite images, then perform atmospheric correction on the L1 C-level images, resample all bands to a unified resolution, then select bands, and perform false color image synthesis;

[0006] The DeepLabV3+ model was applied, combined with the spatiotemporal attention mechanism, and historical images obtained from the Sentinel-2 satellite were used as training data. The model was trained by marking the time and location of cyanobacteria blooms, and different weights were assigned to the areas and times where cyanobacteria blooms occurred according to the number of blooms. The more times, the higher the weight value. The performance of the model was evaluated by cross-validation.

[0007] The trained model is used to automatically identify and mark cyanobacterial blooms in these areas, output their specific locations and extents, and generate detailed reports on time and location.

[0008] Furthermore, the data was preprocessed to highlight the cyanobacteria areas in the following ways:

[0009] L1 C-level image acquisition and processing;

[0010] Satellite image data from the past three years were selected to obtain L1 C-level images of several scenes;

[0011] L1 C-level images were atmospherically corrected and processed using the SEN2COR tool to obtain surface reflectance information;

[0012] Resampling process to fix the resolution of multi-band information of Sentinel-2 satellite images to the same standard;

[0013] Band selection and false color image synthesis;

[0014] Band Selection

[0015] Bands 2, 3, and 7 were selected for analysis;

[0016] False color image synthesis, by synthesizing bands 2, 3 and 7 into false color images, is used to distinguish cyanobacteria from other water bodies and vegetation.

[0017] Further, Band Two: is used to capture blue light reflections from water and other surface features;

[0018] Band 3: used to reflect the health of vegetation, which appears as strong green light reflection;

[0019] Band 7: The absorption of Band 7 by water is greater than that by vegetation.

[0020] Furthermore, the resolution of the multi-band information is fixed at 10 m.

[0021] Furthermore, the specific method for training the DeepLabV3+ model is as follows:

[0022] Introducing spatiotemporal attention mechanism to analyze the temporal and spatial distribution characteristics of cyanobacteria;

[0023] Historical images obtained from the Sentinel-2 satellite were used as training data to train the model by marking the time and location of cyanobacteria outbreaks; the performance of the model was evaluated by cross-validation.

[0024] Compared with the prior art, the present invention has the following beneficial effects:

[0025] By introducing a spatiotemporal attention mechanism into the DeepLabV3+ model, the present invention can optimize weight allocation according to historical data during model training and application, especially for those areas and times with historical records of cyanobacteria outbreaks; in addition, by using a specific band of Sentinel-2 to create false color images, the system can more effectively highlight the cyanobacteria characteristics in the water body, which is crucial to improving the model's recognition accuracy of cyanobacteria blooms. The use of this false color image enables the model to more clearly distinguish cyanobacteria from other water body characteristics during training, thereby improving the accuracy and efficiency of prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a schematic diagram of the integration of the DeepLabV3+ network architecture and the spatiotemporal attention mechanism of the present invention;

[0027] Figure 2 is a flow chart of the method of the present invention;

[0028] Figure 3 This is the comparison between true color image and false color image mentioned in the present invention. DETAILED DESCRIPTION

[0029] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than 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.

[0030] See also Figures 1 to 3 The present application provides a method for automatically extracting cyanobacteria based on remote sensing image data, which specifically includes the following steps:

[0031] 1. Use band 2, band 3 and band 7 data from the European Space Agency's Sentinel-2 satellite as input, band 2 is the blue band, band 3 is the green band, and band 7 is the near-infrared band; create false color images and pre-process the data to highlight the cyanobacteria area; specifically:

[0032] 1. Acquisition and processing of L1 C-level images;

[0033] 1.1 The selected satellite image data covers 68 L1 C-level images from 2021 to 2023; the L1 C-level images are in TIF format;

[0034] 1.2 Perform atmospheric correction on L1 C-level images;

[0035] Atmospheric correction is an important step to correct the original remote sensing data obtained by satellite into surface reflectivity, which can effectively eliminate the influence of atmospheric scattering and absorption. In this process, the SEN2COR tool is used to process the image to obtain more accurate surface reflectivity information.

[0036] 1.3 Resampling processing;

[0037] Sentinel-2 satellite images contain multi-band information with different resolutions. In this study, all bands were resampled to a uniform 10-meter resolution. This step aims to unify the image size for easy subsequent processing and analysis.

[0038] 2. Band selection and false color image synthesis;

[0039] 2.1 Band Selection

[0040] Bands 2, 3, and 7 were selected for analysis; the following are the characteristics of each band:

[0041] Band 2: Used primarily to capture blue light reflections from water and other surface features;

[0042] Band 3: can reflect the health of vegetation, usually vegetation shows strong green light reflection;

[0043] Band 7: It is extremely important for studying water bodies, because water bodies absorb near-infrared light strongly, while vegetation reflects more near-infrared light. In Sentinel-2's Band 7, water bodies absorb light significantly more than vegetation, about 20% to 30% more.

[0044] 2.2 False color image synthesis

[0045] By combining bands 2, 3, and 7 into false color images, cyanobacteria can be more clearly distinguished from other water bodies and vegetation in the processed L1 C-level images; cyanobacteria appear in bright colors in false color images, contrasting with other water bodies and land vegetation, making them easier to mark and identify;

[0046] All processed L1 C-level images are labeled, and the cyanobacteria area is marked in machine-recognizable language, which can be recognized by the model during subsequent training. The labeled L1 C-level images are divided into training data and test data, with a ratio of 7:3;

[0047] Second, the DeepLabV3+ model is applied, combined with the spatiotemporal attention mechanism, and the training data is used as input to train the DeepLabV3+ model, so as to identify the features of the cyanobacteria areas in all pictures, extract the key features, and obtain several key features. This series of key features has specificity. The specific extraction method is that when any feature is satisfied, the probability of cyanobacteria appearing in the corresponding area exceeds X1, and it can be marked as a key feature. X1 is a preset value, which can generally be taken as 95%;

[0048] Deep l abV3+ is an efficient semantic segmentation model that uses a deep convolutional neural network for pixel-level image analysis. Its features include using dilated convolution to increase the receptive field and using a codec structure to improve segmentation accuracy.

[0049] S1: Introduce spatiotemporal attention mechanism to analyze the temporal and spatial distribution characteristics of cyanobacteria;

[0050] Based on Deep l abV3+, a spatiotemporal attention mechanism is introduced to utilize the temporal and spatial distribution characteristics of cyanobacteria. This mechanism enables the model to focus on the time series changes and spatial feature distribution in the image, thereby more accurately identifying and tracking the outbreak and spread of cyanobacteria.

[0051] The main method is: according to the regional distribution in the training data, because the location information of the corresponding cyanobacteria outbreak area can be identified in the training data, and the location information is the latitude and longitude information of the corresponding cyanobacteria area. Different weights are assigned according to the number of cyanobacteria appearing in different location information. The specific method can refer to the following method:

[0052] Obtain the number of times blue algae appear in any position information, and compare the number with the weight mapping table, which is a mapping relationship table between the number and the corresponding weight value;

[0053] The weight of the corresponding location information is found from the weight mapping table according to the number of occurrences of cyanobacteria; the more times cyanobacteria appear in any location information in the weight mapping table, the greater the weight value. The weight mapping table is preset by the administrator with a range of cyanobacteria occurrences, and each range of occurrences corresponds to a weight value;

[0054] Of course, the weighting method corresponding to the position information can also be assigned in another way. As a specific implementation process of this application, the following method can be used:

[0055] Get the number of times cyanobacteria appear in all location information, and sort them from large to small according to the number of occurrences. If there is any location information with a number of occurrences greater than X2, X2 is a preset value, the weight with the highest number of occurrences is marked as B1, and the value of B1 is between 1.3 and 1.5. The weight value is reduced by 0.35 for each decrease in ranking, but the weight value must not be less than 1.

[0056] Then, the LSTM method is used to process the time series. Alternatively, the weights of different times can be determined by introducing weights. The time can be based on the month. There are 12 months in a year. According to the number of blue algae appearing in each month, a monthly weight mapping table is also preset. The higher the number of blue algae appearing in the past data, the higher the value in the weight mapping table of the month. The monthly weight mapping table is preset by the administrator.

[0057] S2: Test the model;

[0058] The test data is input into the trained model to output cyanobacteria. This is mainly done by obtaining the historical images in the test data, identifying the number of key features contained therein, and then dividing the number of identified key features by the total number of key features to obtain the recognition ratio. The recognition ratio is then multiplied by the weight corresponding to the location information and the month weight corresponding to the time information to obtain an output ratio. When the output ratio is higher than the set value B2, it indicates that the historical image is cyanobacteria.

[0059] Test and verify all historical images, output the recognition results, and then compare the test results with the correct results to obtain the accuracy. When the accuracy exceeds the preset value B3, it means that the model is available. Otherwise, the model needs to be retrained according to the method in step 2, and then tested again until a model that passes the test is obtained.

[0060] Complete the training and testing of the model;

[0061] 3. Automatically identify and mark cyanobacteria blooms in unlabeled remote sensing image areas with the help of the tested model, and output the specific location and range;

[0062] 4. Generate detailed reports of time and location, highlighting key monitoring areas and times.

[0063] This application introduces a spatiotemporal attention mechanism to the DeepLabV3+ model, which can optimize weight distribution according to historical data during model training and application, especially for those areas and times with historical records of cyanobacteria blooms; in addition, by using specific bands of Sentinel-2 to create false color images, this system can more effectively highlight the characteristics of cyanobacteria in water bodies, which is crucial to improving the model's recognition accuracy of cyanobacteria blooms. The use of this false color image enables the model to more clearly distinguish cyanobacteria from other water body characteristics during training, thereby improving the accuracy and efficiency of predictions.

[0064] The remote sensing images used are the 2021-2023 Sentinel-2 L1 C-level images, a total of 68 images. Then the L1 C-level images are atmospherically corrected and resampled. All 11 bands are resampled to 10m resolution, and then bands 2, 3, and 7 are selected to synthesize false color images. Because of the false color images synthesized by these three bands, cyanobacteria are particularly easy to distinguish, the labels of cyanobacteria are also easier to mark, the regional contrast is obvious, and the image is easier to learn features. The selected deep learning model is the deep l abV3+ model with a spatiotemporal attention mechanism. Through three years of remote sensing image observations, it was found that cyanobacteria generally erupt in August, September, October, and November, in the center of the lake, and then in December, the southern Taihu Lake area is prone to cyanobacteria. Therefore, adding a spatiotemporal attention mechanism on the basis of the deep l abV3+ model can also increase the accuracy of cyanobacteria extraction.

[0065] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A method for automatic extraction of cyanobacteria based on remote sensing image data, characterized in that: The method specifically comprises the following steps: Using the satellite's band 2, band 3 and band 7 data as input, band 2 is the blue band, band 3 is the green band, and band 7 is the near-infrared band; create false color images and pre-process the data to highlight the cyanobacteria area; specifically, obtain L1 C-level satellite images, then perform atmospheric correction on the L1 C-level images, resample all bands to a unified resolution, then select bands, and perform false color image synthesis; Using the DeepLabV3+ model, 70% of the data from all L1C satellite images are selected for key feature identification and extraction. If the key feature is satisfied and the probability of cyanobacteria appearing in the corresponding area with the key feature exceeds X1, it can be marked as a key feature, where X1 is a preset value. Then, combined with the spatiotemporal attention mechanism, different weights are assigned to the areas and times where cyanobacteria blooms occur according to the number of outbreaks. The more times, the higher the weight value. Then, the remaining L1C-level satellite images obtained from the Sentinel-2 satellite are used as the validation set. When the historical images in the validation set and the training set are known results, the validation values ​​are entered into the trained model for recognition. Then, the recognition results are compared with the correct results to obtain the accuracy. When the accuracy exceeds the preset value, it means that the model is well trained. Otherwise, the model needs to be retrained and verified until the verification passes. A validated model was used to automatically identify and tag cyanobacterial blooms in these areas, output their exact location and extent, and generate detailed reports on their time and location.

2. The method for automatic extraction of cyanobacteria based on remote sensing image data according to claim 1, characterized in that: The data was preprocessed to highlight the cyanobacteria area in the following ways: Acquisition and processing of L1C level images; Select satellite image data from the past three years to obtain L1C-level images of several scenes; The L1C-level images were atmospherically corrected and processed using the SEN2COR tool to obtain surface reflectance information; Resampling process to fix the resolution of multi-band information of Sentinel-2 satellite images to the same standard; Band selection and false color image synthesis; Band selection; Bands 2, 3, and 7 were selected for analysis; False color image synthesis, by synthesizing bands 2, 3 and 7 into false color images, is used to distinguish cyanobacteria from other water bodies and vegetation.

3. The method for automatic extraction of cyanobacteria based on remote sensing image data according to claim 2, characterized in that: Band 2: used to capture blue light reflections from water and other surface features; Band 3: used to reflect the health of vegetation, which appears as strong green light reflection; Band 7: The absorption of Band 7 by water is 20% to 30% greater than the absorption of Band 7 by vegetation.

4. The method for automatic extraction of cyanobacteria based on remote sensing image data according to claim 2, characterized in that: The resolution of the multi-band information is fixed at 10 meters.

5. The method for automatic extraction of cyanobacteria based on remote sensing image data according to claim 1, characterized in that: The specific method for training the DeepLabV3+ model is Identify the features of cyanobacteria areas in all images, which have been marked in advance; After that, the key features appearing in the cyanobacteria area were extracted and several key features were obtained; This series of key features are specific, and the probability of blue algae appearing in any corresponding area where the key features appear exceeds X1, where X1 is a preset value.

Citation Information

Cited By

  • Duckweed type eutrophicated water body monitoring method based on sentinel No.2 satellite image

    CN121937951A