Marine algae monitoring method, device, equipment and medium
By performing image processing and vegetation index calculation on the initial satellite data, combined with the cloud identification results, the ocean images are monitored for algae, which solves the problem of low accuracy of algae monitoring in the existing technology and improves the accuracy and efficiency of algae identification. .
Patent Information
- Application Number
- CN202410764803.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-27
AI Technical Summary
In the existing technology, the accuracy of monitoring marine algae based on satellite data is low. It is affected by satellite data limitations and interference types, and requires manual judgment based on experience, resulting in inaccurate monitoring results.
The original ocean image and the normalized ocean image are generated by image processing of the initial satellite data. The ocean images are superimposed based on the cloud identification results and the vegetation index calculation results. The vegetation index is used to monitor the ocean images for algae and determine whether the pixels are Satisfy the set of algae discrimination conditions and generate algae monitoring results.
The accuracy of algae monitoring results is significantly improved. Through the combination of image processing and vegetation index, the accuracy and efficiency of algae identification are improved.
Smart Images

Figure CN118711077A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a method, device, equipment and medium for monitoring marine algae. Background Art
[0002] As society pays more and more attention to the marine environmental problems caused by marine algae, relevant departments have adopted various monitoring methods to improve the monitoring capabilities of marine algae. In recent years, one of the most important methods is to use satellite remote sensing technology to monitor and warn of marine algae. A common method is to monitor marine algae based on meteorological satellite data and use the NDVI index.
[0003] However, algae monitoring based on satellite data is limited by satellite data and is affected by various types of interference. It requires manual identification of algae based on experience, resulting in low accuracy of monitoring results. Summary of the invention
[0004] In view of this, an object of the present invention is to provide a marine algae monitoring method, device, equipment and medium, which can significantly improve the accuracy of algae monitoring results.
[0005] In a first aspect, an embodiment of the present invention provides a method for monitoring marine algae, comprising:
[0006] Generate original ocean images and normalized ocean images of the ocean to be monitored based on initial satellite data;
[0007] Generate cloud identification results and vegetation index calculation results corresponding to the ocean to be monitored based on the original ocean image;
[0008] The original ocean image, the normalized ocean image and the cloud identification result are superimposed to obtain the ocean image to be monitored, and the vegetation index calculation result is used to perform algae monitoring on the ocean image to be monitored to generate algae monitoring results corresponding to the ocean to be monitored.
[0009] In one embodiment, the cloud identification result includes a cloud identification pixel value corresponding to each pixel point, and the cloud identification pixel value is used to characterize whether the pixel point belongs to a cloud pixel point; the vegetation index calculation result includes a normalized vegetation index corresponding to each pixel point;
[0010] The step of performing algae monitoring on the ocean image to be monitored by using the vegetation index calculation result to generate an algae monitoring result corresponding to the ocean to be monitored includes:
[0011] For each pixel point in the ocean image to be monitored, extract the color pixel value, normalized color pixel value and cloud identification pixel value corresponding to the pixel point, and determine the normalized vegetation index corresponding to the pixel point;
[0012] Based on the color pixel value, the normalized color pixel value, the cloud identification pixel value and the normalized vegetation index, determining whether the pixel point meets the algae identification condition set;
[0013] The algae monitoring result corresponding to the ocean to be monitored is generated based on the judgment result.
[0014] In one embodiment, the step of determining whether the pixel point satisfies the algae discrimination condition set based on the color pixel value, the normalized color pixel value, the cloud discrimination pixel value and the normalized vegetation index comprises:
[0015] If the color pixel value, the normalized color pixel value, the cloud identification pixel value and the normalized vegetation index all satisfy the algae identification condition set, it is determined that the pixel point belongs to an algae pixel point;
[0016] If any one of the color pixel value, the normalized color pixel value, the cloud identification pixel value and the normalized vegetation index does not satisfy the algae discrimination condition set, it is determined that the pixel point does not belong to an algae pixel point.
[0017] In one embodiment, the algae discrimination condition set includes:
[0018] The G value in the color pixel value is greater than a preset first G value threshold;
[0019] And, the g value in the normalized color pixel value is greater than a preset second g value threshold;
[0020] And, the cloud identification pixel value indicates that the pixel point does not belong to a cloud pixel point;
[0021] And, the normalized vegetation index is greater than a preset vegetation index threshold.
[0022] In one embodiment, the step of generating the algae monitoring result corresponding to the ocean to be monitored based on the judgment result includes:
[0023] If the judgment result indicates that the pixel point belongs to an algae pixel point, the value of the pixel point is set to a first value; if the judgment result indicates that the pixel point does not belong to an algae pixel point, the value of the pixel point is set to a second value to generate an algae monitoring binary map corresponding to the ocean to be monitored;
[0024] An algae envelope is generated based on the algae monitoring binary image, and the algae envelope is used as the algae monitoring result corresponding to the ocean to be monitored.
[0025] In one embodiment, the step of generating an original ocean image and a normalized ocean image of the ocean to be monitored based on initial satellite data includes:
[0026] Performing image processing on the initial satellite data, and performing linear stretching processing and histogram equalization processing on the initial satellite data after the image processing to obtain target satellite data;
[0027] Using the ocean mask data corresponding to the ocean to be monitored, the target satellite data is clipped, and linear stretching and histogram equalization processing are performed on the clipped target satellite data to obtain the original ocean image corresponding to the ocean to be monitored;
[0028] The original ocean image is normalized to obtain a normalized ocean image corresponding to the ocean to be monitored.
[0029] In a second aspect, an embodiment of the present invention further provides a marine algae monitoring device, comprising:
[0030] An image generation module, used for generating original ocean images and normalized ocean images of the ocean to be monitored based on initial satellite data;
[0031] A cloud identification and vegetation index calculation module, used to generate a cloud identification result and a vegetation index calculation result corresponding to the ocean to be monitored based on the original ocean image;
[0032] The algae monitoring module is used to superimpose the original ocean image, the normalized ocean image and the cloud identification result to obtain the ocean image to be monitored, and use the vegetation index calculation result to perform algae monitoring on the ocean image to be monitored to generate an algae monitoring result corresponding to the ocean to be monitored.
[0033] In one embodiment, the cloud identification result includes a cloud identification pixel value corresponding to each pixel point, and the cloud identification pixel value is used to characterize whether the pixel point belongs to a cloud pixel point; the vegetation index calculation result includes a normalized vegetation index corresponding to each pixel point; and the algae monitoring module is further used to:
[0034] For each pixel point in the ocean image to be monitored, extract the color pixel value, normalized color pixel value and cloud identification pixel value corresponding to the pixel point, and determine the normalized vegetation index corresponding to the pixel point;
[0035] Based on the color pixel value, the normalized color pixel value, the cloud identification pixel value and the normalized vegetation index, determining whether the pixel point meets the algae identification condition set;
[0036] The algae monitoring result corresponding to the ocean to be monitored is generated based on the judgment result.
[0037] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement any one of the methods provided in the first aspect.
[0038] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any one of the methods provided in the first aspect.
[0039] An embodiment of the present invention provides a method, device, equipment and medium for monitoring marine algae. First, an original marine image and a normalized marine image of the ocean to be monitored are generated based on initial satellite data; then, cloud identification results and vegetation index calculation results corresponding to the ocean to be monitored are generated based on the original marine image; then, the original marine image, the normalized marine image and the cloud identification result are superimposed to obtain the image of the ocean to be monitored, and finally, the algae monitoring is performed on the image of the ocean to be monitored using the vegetation index calculation result to generate the algae monitoring result corresponding to the ocean to be monitored. The above method generates the required original marine image and normalized marine image by performing image processing on the initial satellite data, so as to effectively utilize the features after the image processing of the initial satellite data, and further generates cloud identification results and vegetation index calculation results based on the original marine image, so as to combine the optical remote sensing characteristics of algae, and comprehensively realize algae monitoring, thereby significantly improving the accuracy of algae identification.
[0040] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0041] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1A schematic diagram of a process of a marine algae monitoring method provided by an embodiment of the present invention;
[0044] Figure 2 An overall flow chart of a marine algae monitoring method provided by an embodiment of the present invention;
[0045] Figure 3 A schematic diagram of the structure of a marine algae monitoring device provided by an embodiment of the present invention;
[0046] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] At present, the accuracy of the monitoring results of the existing algae monitoring technology is low. Based on this, the present invention provides a marine algae monitoring method, device, equipment and medium, which can significantly improve the accuracy of the algae monitoring results.
[0049] To facilitate understanding of this embodiment, a marine algae monitoring method disclosed in an embodiment of the present invention is first described in detail. Figure 1 The schematic diagram of a process of a marine algae monitoring method shown in FIG. 1 mainly includes the following steps S102 to S106:
[0050] Step S102, generating an original ocean image and a normalized ocean image of the ocean to be monitored based on the initial satellite data.
[0051] The initial satellite data may be HY1C satellite data. In one example, after the initial satellite data is subjected to image processing, linear stretching, histogram equalization, etc., the image-processed satellite data is subjected to cropping, linear stretching, histogram equalization, etc. to obtain an original ocean image of the ocean to be monitored, and the original ocean image is further subjected to normalization processing to obtain a normalized ocean image of the ocean to be monitored.
[0052] Step S104, generating cloud identification results and vegetation index calculation results corresponding to the ocean to be monitored based on the original ocean image.
[0053] In one example, cloud detection and vegetation index calculation are performed on the original ocean image to obtain cloud identification results and vegetation index calculation results. The cloud identification results include cloud identification pixel values corresponding to each pixel point, and the cloud identification pixel values are used to characterize whether the pixel point belongs to a cloud pixel point. The vegetation index calculation results include the normalized vegetation index corresponding to each pixel point.
[0054] Step S106, superimposing the original ocean image, the normalized ocean image and the cloud identification result to obtain the ocean image to be monitored, and using the vegetation index calculation result to perform algae monitoring on the ocean image to be monitored to generate algae monitoring results corresponding to the ocean to be monitored.
[0055] The algae monitoring result may be an algae envelope. In one example, after the original ocean image, the normalized ocean image and the cloud recognition result are superimposed to obtain an image of the ocean to be monitored (hereinafter referred to as the ocean image to be monitored), the color pixel value, the normalized color pixel value and the cloud recognition pixel value corresponding to each pixel are extracted from the image, and the normalized vegetation index corresponding to each pixel is determined based on the vegetation index calculation result, and then the color pixel value, the normalized color pixel value, the cloud recognition pixel value and the normalized vegetation index are used to discriminate whether the pixel belongs to an algae pixel, and the corresponding algae monitoring binary image is obtained based on the discrimination result, and the algae envelope is generated based on the algae monitoring binary image.
[0056] The above method provided by the embodiment of the present invention generates the required original ocean images and normalized ocean images by performing image processing on the initial satellite data, so as to effectively utilize the features after the image processing of the initial satellite data, and further generate cloud identification results and vegetation index calculation results based on the original ocean images, so as to combine the optical remote sensing characteristics of algae and comprehensively realize algae monitoring, thereby significantly improving the accuracy of algae identification.
[0057] For ease of understanding, an embodiment of the present invention provides a specific implementation of a marine algae monitoring method.
[0058] For the aforementioned step S102, the embodiment of the present invention provides an implementation method for generating an original ocean image and a normalized ocean image of the ocean to be monitored based on the initial satellite data, see the following steps 1A to 1C:
[0059] Step 1A: performing image processing on the initial satellite data, and performing linear stretching processing and histogram equalization processing on the initial satellite data after image processing to obtain target satellite data.
[0060] Specifically, a scene of HY1C satellite data is loaded based on the specified system platform, and image processing is performed on the data. Multi-channel RGB synthesis is used for display. The channel selections are 3, 4, and 2, respectively. The processing scheme is to perform 2% linear stretching and histogram equalization on the data. The purpose is to effectively highlight the algae data and improve the algae recognition.
[0061] Step 1B, using the ocean mask data corresponding to the ocean to be monitored, the target satellite data is cropped, and linear stretching and histogram equalization processing are performed on the cropped target satellite data to obtain the original ocean image corresponding to the ocean to be monitored.
[0062] Specifically, the target satellite data is cropped based on the ocean mask data (vector or raster data, named sea_data) to obtain the HY1C data (sate_data2) of the ocean to be monitored. The HY1C data (sate_data2) is the cropped target satellite data. At this time, the HY1C data (sate_data2) is subjected to 2% linear stretching and histogram equalization to obtain the original ocean image. At this time, the color of algae in the ocean is more recognizable. For example, the color pixel value of a pixel A in the original ocean image is (11,254,114).
[0063] Step 1C: normalize the original ocean image to obtain a normalized ocean image corresponding to the ocean to be monitored.
[0064] Specifically, the original ocean image is normalized. Assuming that the color pixel value of a point in the original ocean image is RGB, rgb represents the color pixel value after normalization (referred to as the normalized color pixel value), then the RGB normalization calculation formula is expressed as follows:
[0065]
[0066] b = 1-rg;
[0067] The above calculation formula generates a three-channel (r, g, b three-layer) zscore_data data, that is, a normalized ocean image. For example, the g value in the normalized color pixel value of pixel point A in the normalized ocean image is 0.67.
[0068] For the aforementioned step S104, the embodiment of the present invention further provides an implementation method for generating cloud identification results and vegetation index calculation results corresponding to the ocean to be monitored based on the original ocean image, see the following steps 2A to 2B:
[0069] Step 2A, cloud identification: Cloud identification and elimination of invalid satellite data with high cloud coverage. Based on the original ocean image, conventional cloud detection methods are used to calculate the cloud identification result clm_data of the original ocean image, and the cloud identification result clm_data is retained as the subsequent cloud mask data. The cloud identification result clm_data has a cloud pixel value of 1 and a cloudless pixel value of 0:
[0070] This step takes the Jiangsu sea area as an example, and the sea area mask can use the Jiangsu sea area mask vector file.
[0071] Step 2B, calculation of the Normalized Difference Vegetation Index (NDVI): Based on the original ocean image, the NDVI value of the region is calculated pixel by pixel, and the vegetation index calculation result is output as a tif file named ndvi_data. The formula for calculating the Normalized Difference Vegetation Index (NDVI) is as follows:
[0072]
[0073] Among them, Red and Nir are the reflectances of red light and near-infrared (3-4 band) in the HY1C_CZI satellite data, respectively.
[0074] For the aforementioned step S106, the embodiment of the present invention provides an implementation method of superimposing the original ocean image, the normalized ocean image and the cloud recognition result to obtain the ocean image to be monitored, and using the vegetation index calculation result to perform algae monitoring on the ocean image to be monitored to generate an algae monitoring result corresponding to the ocean to be monitored, including the following steps 3A to 3D:
[0075] Step 3A, superimposing the original ocean image, the normalized ocean image and the cloud identification result to obtain the ocean image to be monitored.
[0076] Step 3B: for each pixel point in the ocean image to be monitored, extract the color pixel value, normalized color pixel value and cloud recognition pixel value corresponding to the pixel point, and determine the normalized vegetation index corresponding to the pixel point.
[0077] Step 3C: based on the color pixel value, the normalized color pixel value, the cloud identification pixel value and the normalized vegetation index, determine whether the pixel point meets the algae identification condition set.
[0078] In one example, if the color pixel value, the normalized color pixel value, the cloud identification pixel value, and the normalized vegetation index all satisfy the algae identification condition set, then it is determined that the pixel point belongs to an algae pixel point;
[0079] In one example, if any one of the color pixel value, the normalized color pixel value, the cloud identification pixel value, and the normalized vegetation index does not satisfy the algae identification condition set, it is determined that the pixel point does not belong to an algae pixel point.
[0080] An embodiment of the present invention also provides a set of algae discrimination conditions, including: (a) the G value in the color pixel value is greater than a preset first G value threshold; (b) the g value in the normalized color pixel value is greater than a preset second g value threshold; (c) the cloud discrimination pixel value indicates that the pixel point does not belong to a cloud pixel point; (d) the normalized vegetation index is greater than a preset vegetation index threshold.
[0081] Exemplarily, there is no land area in this step, and the identification algorithm satisfies the following conditions: (a) the NDVI value of the pixel is > 0.05; (b) the pixel value G of the pixel in the original ocean image is > 165; (c) the pixel g in the normalized ocean image is > 0.48; (d) the pixel value in the cloud identification result is not 1.
[0082] Step 3D, generating algae monitoring results corresponding to the ocean to be monitored based on the judgment results.
[0083] In one example, if the judgment result indicates that the pixel point belongs to an algae pixel point, the value of the pixel point is set to a first value (such as "1"); if the judgment result indicates that the pixel point does not belong to an algae pixel point, the value of the pixel point is set to a second value (such as "0") to generate an algae monitoring binary map corresponding to the ocean to be monitored; an algae envelope line is generated based on the algae monitoring binary map, and the algae envelope line is used as the algae monitoring result corresponding to the ocean to be monitored.
[0084] In one example, the algae monitoring binary image is a raster result, and the envelope generation method includes: interpolation of data close points, raster conversion to vector, expansion and corrosion operation, removal of vector inner loops, etc., and finally forms the algae envelope result. In the embodiment of the present invention, the envelope method can input the expansion and corrosion coefficient according to the resolution of the data, adjust the size of the interpolation matrix, and make the envelope result as smooth as possible.
[0085] For ease of understanding, the embodiments of the present invention provide Figure 2 The overall flow chart of a marine algae monitoring method shown includes: data recording, data image processing, image clipping, image normalization processing, cloud identification, NDVI calculation, algae result identification, and envelope generation.
[0086] In summary, the embodiments of the present invention have at least the following features:
[0087] (1) The embodiment of the present invention is based on the traditional optical remote sensing monitoring of marine algae, and adds the identification of algae based on image processing data, thereby improving the accuracy and efficiency of algae identification;
[0088] (2) The envelope generation method in the embodiment of the present invention is based on the envelope generated from raster binary data, which is different from the vector aggregation surface method of ArcGIS. The envelope result is smoother and fits the real identification result;
[0089] (3) The image processing and application of optical images in the embodiments of the present invention can be extended and applied in other remote sensing fields;
[0090] (4) The data in the embodiment of the present invention can be provided to other satellites with higher optical resolution, and the threshold can be adjusted to improve the recognition accuracy.
[0091] Based on the above embodiments, the present invention provides a marine algae monitoring device. Figure 3 The structure diagram of a marine algae monitoring device shown in FIG. 1 mainly includes the following parts:
[0092] An image generation module 302 is used to generate an original ocean image and a normalized ocean image of the ocean to be monitored based on the initial satellite data;
[0093] The cloud identification and vegetation index calculation module 304 is used to generate cloud identification results and vegetation index calculation results corresponding to the ocean to be monitored based on the original ocean image;
[0094] The algae monitoring module 306 is used to superimpose the original ocean image, the normalized ocean image and the cloud identification result to obtain the ocean image to be monitored, and use the vegetation index calculation result to perform algae monitoring on the ocean image to be monitored to generate algae monitoring results corresponding to the ocean to be monitored.
[0095] The above-mentioned device provided by the embodiment of the present invention generates the required original ocean images and normalized ocean images by performing image processing on the initial satellite data, so as to effectively utilize the features after the image processing of the initial satellite data, and further generate cloud identification results and vegetation index calculation results based on the original ocean images, so as to combine the optical remote sensing characteristics of algae and comprehensively realize algae monitoring, thereby significantly improving the accuracy of algae identification.
[0096] In one embodiment, the cloud identification result includes a cloud identification pixel value corresponding to each pixel point, and the cloud identification pixel value is used to characterize whether the pixel point belongs to a cloud pixel point; the vegetation index calculation result includes a normalized vegetation index corresponding to each pixel point; and the algae monitoring module 306 is further used to:
[0097] For each pixel point in the ocean image to be monitored, the color pixel value, normalized color pixel value and cloud identification pixel value corresponding to the pixel point are extracted, and the normalized vegetation index corresponding to the pixel point is determined;
[0098] Based on the color pixel value, the normalized color pixel value, the cloud identification pixel value and the normalized vegetation index, it is determined whether the pixel point meets the algae identification condition set;
[0099] Based on the judgment results, algae monitoring results corresponding to the ocean to be monitored are generated.
[0100] In one embodiment, the algae monitoring module 306 is further configured to:
[0101] If the color pixel value, normalized color pixel value, cloud identification pixel value and normalized vegetation index all meet the algae identification condition set, then the pixel point is determined to be an algae pixel point;
[0102] If any one of the color pixel value, the normalized color pixel value, the cloud identification pixel value and the normalized vegetation index does not satisfy the algae identification condition set, it is determined that the pixel point does not belong to the algae pixel point.
[0103] In one embodiment, the algae discrimination condition set includes:
[0104] The G value in the color pixel value is greater than a preset first G value threshold;
[0105] And, the g value in the normalized color pixel value is greater than a preset second g value threshold;
[0106] And, the cloud identification pixel value indicates that the pixel does not belong to a cloud pixel;
[0107] And, the normalized vegetation index is greater than a preset vegetation index threshold.
[0108] In one embodiment, the algae monitoring module 306 is further configured to:
[0109] If the judgment result indicates that the pixel point belongs to an algae pixel point, the value of the pixel point is set to a first value; if the judgment result indicates that the pixel point does not belong to an algae pixel point, the value of the pixel point is set to a second value to generate an algae monitoring binary map corresponding to the ocean to be monitored;
[0110] An algae envelope is generated based on the algae monitoring binary image, and the algae envelope is used as the algae monitoring result corresponding to the ocean to be monitored.
[0111] In one implementation, the image generation module 302 is further configured to:
[0112] Perform image processing on the initial satellite data, and perform linear stretching processing and histogram equalization processing on the initial satellite data after image processing to obtain target satellite data;
[0113] The target satellite data is cropped using the ocean mask data corresponding to the ocean to be monitored, and the cropped target satellite data is linearly stretched and histogram equalized to obtain the original ocean image corresponding to the ocean to be monitored;
[0114] The original ocean image is normalized to obtain the normalized ocean image corresponding to the ocean to be monitored.
[0115] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0116] An embodiment of the present invention provides an electronic device. Specifically, the electronic device includes a processor and a storage device. The storage device stores a computer program, and when the computer program is executed by the processor, it executes the method described in any one of the above-mentioned implementation methods.
[0117] Figure 4 A structural diagram of an electronic device provided in an embodiment of the present invention, the electronic device 100 includes: a processor 40, a memory 41, a bus 42 and a communication interface 43, wherein the processor 40, the communication interface 43 and the memory 41 are connected via the bus 42; the processor 40 is used to execute an executable module stored in the memory 41, such as a computer program.
[0118] The memory 41 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0119] The bus 42 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0120] Among them, the memory 41 is used to store programs, and the processor 40 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 40 or implemented by the processor 40.
[0121] The processor 40 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 40. The above processor 40 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor to execute, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 41, and the processor 40 reads the information in the memory 41 and completes the steps of the above method in combination with its hardware.
[0122] The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be referred to the previous method embodiments, which will not be repeated here.
[0123] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0124] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for monitoring marine algae, characterized in that: include: Generate original ocean images and normalized ocean images of the ocean to be monitored based on initial satellite data; Generate cloud identification results and vegetation index calculation results corresponding to the ocean to be monitored based on the original ocean image; The original ocean image, the normalized ocean image and the cloud identification result are superimposed to obtain the ocean image to be monitored, and the vegetation index calculation result is used to perform algae monitoring on the ocean image to be monitored to generate algae monitoring results corresponding to the ocean to be monitored.
2. The marine algae monitoring method according to claim 1, characterized in that: The cloud identification result includes a cloud identification pixel value corresponding to each pixel point, and the cloud identification pixel value is used to characterize whether the pixel point belongs to a cloud pixel point; the vegetation index calculation result includes a normalized vegetation index corresponding to each pixel point; The step of performing algae monitoring on the ocean image to be monitored by using the vegetation index calculation result to generate an algae monitoring result corresponding to the ocean to be monitored includes: For each pixel point in the ocean image to be monitored, extract the color pixel value, normalized color pixel value and cloud identification pixel value corresponding to the pixel point, and determine the normalized vegetation index corresponding to the pixel point; Based on the color pixel value, the normalized color pixel value, the cloud identification pixel value and the normalized vegetation index, determining whether the pixel point meets the algae identification condition set; The algae monitoring result corresponding to the ocean to be monitored is generated based on the judgment result.
3. The marine algae monitoring method according to claim 2, characterized in that: The step of judging whether the pixel point satisfies the algae discrimination condition set based on the color pixel value, the normalized color pixel value, the cloud discrimination pixel value and the normalized vegetation index comprises: If the color pixel value, the normalized color pixel value, the cloud identification pixel value and the normalized vegetation index all satisfy the algae identification condition set, it is determined that the pixel point belongs to an algae pixel point; If any one of the color pixel value, the normalized color pixel value, the cloud identification pixel value and the normalized vegetation index does not satisfy the algae discrimination condition set, it is determined that the pixel point does not belong to an algae pixel point.
4. The marine algae monitoring method according to claim 2 or 3, characterized in that: The algae discrimination condition set includes: The G value in the color pixel value is greater than a preset first G value threshold; And, the g value in the normalized color pixel value is greater than a preset second g value threshold; And, the cloud identification pixel value indicates that the pixel point does not belong to a cloud pixel point; And, the normalized vegetation index is greater than a preset vegetation index threshold.
5. The marine algae monitoring method according to claim 2, characterized in that: The step of generating an algae monitoring result corresponding to the ocean to be monitored based on the judgment result includes: If the judgment result indicates that the pixel point belongs to an algae pixel point, the value of the pixel point is set to a first value; if the judgment result indicates that the pixel point does not belong to an algae pixel point, the value of the pixel point is set to a second value to generate an algae monitoring binary map corresponding to the ocean to be monitored; An algae envelope is generated based on the algae monitoring binary image, and the algae envelope is used as the algae monitoring result corresponding to the ocean to be monitored.
6. The marine algae monitoring method according to claim 1, characterized in that: The steps of generating the original ocean image and the normalized ocean image of the ocean to be monitored based on the initial satellite data include: Performing image processing on the initial satellite data, and performing linear stretching processing and histogram equalization processing on the initial satellite data after the image processing to obtain target satellite data; Using the ocean mask data corresponding to the ocean to be monitored, the target satellite data is clipped, and linear stretching and histogram equalization processing are performed on the clipped target satellite data to obtain the original ocean image corresponding to the ocean to be monitored; The original ocean image is normalized to obtain a normalized ocean image corresponding to the ocean to be monitored.
7. A marine algae monitoring device, characterized in that: include: An image generation module, used for generating original ocean images and normalized ocean images of the ocean to be monitored based on initial satellite data; A cloud identification and vegetation index calculation module, used to generate a cloud identification result and a vegetation index calculation result corresponding to the ocean to be monitored based on the original ocean image; The algae monitoring module is used to superimpose the original ocean image, the normalized ocean image and the cloud identification result to obtain the ocean image to be monitored, and use the vegetation index calculation result to perform algae monitoring on the ocean image to be monitored to generate an algae monitoring result corresponding to the ocean to be monitored.
8. The marine algae monitoring device according to claim 7, characterized in that: The cloud identification result includes a cloud identification pixel value corresponding to each pixel point, and the cloud identification pixel value is used to characterize whether the pixel point belongs to a cloud pixel point; the vegetation index calculation result includes a normalized vegetation index corresponding to each pixel point; the algae monitoring module is also used to: For each pixel point in the ocean image to be monitored, extract the color pixel value, normalized color pixel value and cloud identification pixel value corresponding to the pixel point, and determine the normalized vegetation index corresponding to the pixel point; Based on the color pixel value, the normalized color pixel value, the cloud identification pixel value and the normalized vegetation index, determining whether the pixel point meets the algae identification condition set; The algae monitoring result corresponding to the ocean to be monitored is generated based on the judgment result.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Medium-low resolution remote sensing image enteromorpha coverage information fine extraction method
CN112258523A
Method and device for predicting cyanobacterial bloom and electronic equipment
CN114624204A
Satellite remote sensing data-based algal bloom prediction method, apparatus and device, and medium
CN116879192A
Ocean vegetation image
KR1020080064762A
