Method and system for determining whitening degree of underwater coral reef

By acquiring coral reef environmental data and coral species, using a neural network model to predict the degree of bleaching, and using unmanned cameras for automatic shooting and image processing, the problem of low efficiency in underwater coral reef bleaching surveys has been solved, and efficient bleaching degree assessment has been achieved.

CN118762299AActive Publication Date: 2024-10-11GUANGDONG OCEAN UNIVERSITY

Patent Information

Application Number
CN202411224535.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-10-11
Estimated Expiration
2044-09-03

AI Technical Summary

Technical Problem

The underwater coral reef bleaching survey efficiency in the existing technology is low, and it is difficult to effectively monitor the bleaching situation of large-area underwater coral reefs in sea areas far away from human settlements.

Method used

By obtaining coral reef environmental data and coral species, the CNN and RNN fusion neural network model is used to predict the degree of bleaching, and generates unmanned camera control parameters based on light intensity, performs partition shooting and grayscale image processing, and automatically identifies the degree of coral bleaching.

Benefits of technology

The automation of underwater coral reef bleaching surveys has been achieved, significantly improving efficiency and enabling rapid and accurate assessment of coral reef bleaching conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762299A_ABST
    Figure CN118762299A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a system for determining the whitening degree of an underwater coral reef. The method comprises the following steps: acquiring environmental data and coral types of an area where the coral reef is located; according to the temperature peak value, the temperature duration and the coral type, determining the coral predicted whitening degree of the area where the coral reef is located; when the predicted whitening degree of the coral is greater than a predicted whitening threshold value, generating control parameters of the underwater unmanned camera based on the illumination intensity; based on the coral shooting distance, performing partition planning on the area where the coral reef is located to obtain a plurality of coral reef sub-shooting areas, and controlling the underwater unmanned camera to shoot in each coral reef sub-shooting area based on the aperture parameter, the shutter parameter and the supplementary lighting intensity to obtain a coral grayscale image corresponding to each coral reef sub-shooting area; and performing whitening identification on each coral grayscale image to obtain the coral reef whitening degree of the area where the coral reef is located. According to the invention, the whitening survey efficiency of the underwater coral reef is greatly 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 image recognition, and in particular to a method and system for determining the bleaching degree of underwater coral reefs. Background Art

[0002] Due to the global temperature rise, underwater corals are bleaching on a large scale. The existing technology usually uses artificial methods to survey underwater coral bleaching, but because the underwater corals are located far away from human habitation and the underwater coral reefs contain a large area of ​​underwater corals, there are efficiency issues in underwater coral reef bleaching surveys.

[0003] Therefore, there is an urgent need for a strategy to determine the degree of bleaching of underwater coral reefs, so as to solve the problem of low efficiency of bleaching survey of underwater coral reefs. Summary of the invention

[0004] The embodiment of the present invention provides a method and system for determining the bleaching degree of underwater coral reefs, so as to solve the problem of low efficiency in bleaching survey of underwater coral reefs.

[0005] In order to solve the above problem, an embodiment of the present invention provides a method for determining the degree of bleaching of underwater coral reefs, comprising: Obtaining environmental data and coral species in the area where the coral reef is located; wherein the environmental data includes: light intensity, temperature peak and temperature duration; Determine the predicted coral bleaching degree in the area where the coral reef is located according to the temperature peak value, the temperature duration and the coral species; When the predicted bleaching degree of the coral is greater than the predicted bleaching threshold, based on the light intensity, control parameters of the underwater unmanned camera are generated; wherein the control parameters include: aperture parameters, shutter parameters, fill light intensity and coral shooting distance; Based on the coral shooting distance, the area where the coral reef is located is zoned and planned to obtain a plurality of coral reef sub-shooting areas, and the underwater unmanned camera is controlled to shoot in each coral reef sub-shooting area based on the aperture parameter, the shutter parameter and the fill light intensity to obtain a coral grayscale image corresponding to each coral reef sub-shooting area; wherein, in each coral reef sub-shooting area, the coral image obtained by shooting is edge cut and grayscale processed to obtain a coral grayscale image; Bleaching identification is performed on each of the coral grayscale images to obtain the degree of coral bleaching in the area where the coral reef is located.

[0006] As an improvement of the above solution, the step of performing bleaching identification on each of the coral grayscale images to obtain the bleaching degree of the coral reef in the area where the coral reef is located includes: Determining segmentation parameters according to the predicted bleaching degree of the coral; In each coral grayscale image, segment the coral grayscale image based on the segmentation parameter to obtain a plurality of coral grayscale sub-images corresponding to the coral grayscale image, select the coral grayscale sub-images whose average grayscale value is less than the grayscale threshold as the coral bleaching image, and calculate the bleaching ratio between the number of coral bleaching images and the total number of coral grayscale sub-images; Based on the bleaching ratio corresponding to each coral grayscale image, the degree of coral bleaching in the area where the coral reef is located is determined.

[0007] As an improvement of the above solution, the segmentation parameters are determined according to the predicted bleaching degree of the coral, including: Retrieving a coral bleaching grayscale image sample corresponding to the predicted bleaching degree of the coral; Dividing the coral bleaching grayscale image sample into a plurality of coral bleaching sub-grayscale image samples of the same size, and calculating the average grayscale value of each coral bleaching sub-grayscale image sample; The segmentation size of each coral bleaching sub-grayscale image sample is reduced according to the preset size step, and the average grayscale value of the coral bleaching sub-grayscale image sample under each segmentation size is calculated. When the average grayscale value remains unchanged, the minimum segmentation size is determined; Based on the minimum segmentation size, segmentation parameters are determined.

[0008] As an improvement of the above solution, the control parameters of the underwater unmanned camera are generated based on the light intensity, including: Substitute the light intensity and the average moving speed of the underwater unmanned camera into the shutter parameter calculation formula to determine the shutter parameters of the underwater unmanned camera; wherein the shutter parameter calculation formula is specifically: ; In the formula, is the light intensity, is the average moving speed, is the shutter parameter; Determining preset aperture parameters based on the light intensity; Substitute the light attenuation coefficient of the area where the coral reef is located, the water depth of the area where the coral reef is located, and the light intensity into the light attenuation formula to obtain the fill light intensity; wherein the light attenuation formula is specifically: ; In the formula, is the light attenuation coefficient, For water depth, is the fill light intensity; Substitute the minimum focus distance of the underwater unmanned camera, the underwater clarity of the coral reef area and the light intensity into the shooting distance calculation formula to obtain the coral shooting distance; wherein the shooting distance calculation formula is specifically: ; In the formula, is the minimum focusing distance, For underwater clarity, For clear underwater distance, Shooting distance for corals.

[0009] As an improvement of the above scheme, based on the coral shooting distance, the area where the coral reef is located is zoned and planned to obtain a number of coral reef sub-shooting areas, including: Determining a rectangular shooting area of ​​the underwater unmanned camera according to the coral shooting distance; According to the area where the coral reef is located, the corals included in the coral reef are located to generate a rectangular coral area; wherein the rectangular coral area is much larger than the rectangular shooting area; Divide the rectangular coral area by the rectangular shooting area to obtain the number of areas; A plurality of coral reef sub-shooting areas are obtained based on the area number; wherein the obtaining of the plurality of coral reef sub-shooting areas based on the area number is specifically as follows: the area number is identified; if it is an integer, the rectangular coral area is evenly partitioned based on the area number to obtain the plurality of coral reef sub-shooting areas; if it is not an integer, the rectangular coral area is supplemented with an area operation until the area number is an integer.

[0010] As an improvement of the above solution, the step of determining the predicted coral bleaching degree in the area where the coral reef is located according to the temperature peak value, the temperature duration and the coral species includes: The temperature peak value, temperature duration and coral species of the area where the coral reef is located are input into a coral reef bleaching prediction model, and the predicted coral bleaching degree of the area where the coral reef is located is output; wherein the CNN and RNN fusion neural network model is trained with the coral reef bleaching prediction model as output and the coral reef bleaching historical samples as input.

[0011] As an improvement of the above scheme, the CNN and RNN fusion neural network model is trained with the coral reef bleaching prediction model as output and the coral reef bleaching historical samples as input, specifically: Acquire a number of historical data of coral reef bleaching; wherein each of the historical data of coral reef bleaching includes: a coral reef bleaching area, a historical temperature peak corresponding to the coral reef bleaching area, a historical temperature duration corresponding to the coral reef bleaching area, and a historical coral species corresponding to the coral reef bleaching area; Performing data cleaning on each of the coral reef bleaching historical data, and marking the cleaned coral reef bleaching historical data with known bleaching degrees to obtain coral reef bleaching historical samples; The coral reef bleaching historical samples are input into the CNN and RNN fusion neural network model for training to obtain a coral reef bleaching prediction model.

[0012] Accordingly, an embodiment of the present invention further provides a system for determining the degree of bleaching of underwater coral reefs, comprising: a data acquisition module, a data prediction module, a control parameter generation module, a shooting module and a bleaching recognition module; The data acquisition module is used to acquire environmental data and coral species in the area where the coral reef is located; wherein the environmental data includes: light intensity, temperature peak value and temperature duration; The data prediction module is used to determine the predicted coral bleaching degree in the area where the coral reef is located according to the temperature peak value, the temperature duration and the coral species; The control parameter generation module is used to generate control parameters of the underwater unmanned camera based on the light intensity when the predicted coral bleaching degree is greater than the predicted bleaching threshold; wherein the control parameters include: aperture parameters, shutter parameters, fill light intensity and coral shooting distance; The shooting module is used to plan the area where the coral reef is located based on the coral shooting distance, obtain a plurality of coral reef sub-shooting areas, and control the underwater unmanned camera to shoot in each coral reef sub-shooting area based on the aperture parameter, the shutter parameter and the fill light intensity to obtain a coral grayscale image corresponding to each coral reef sub-shooting area; wherein, in each coral reef sub-shooting area, the coral image obtained by shooting is edge cut and grayscale processed to obtain a coral grayscale image; The whitening identification module is used to perform whitening identification on each of the coral grayscale images to obtain the degree of coral bleaching in the area where the coral reef is located.

[0013] Correspondingly, an embodiment of the present invention further provides a computer terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a method for determining the degree of bleaching of underwater coral reefs as described in the present invention is implemented.

[0014] Correspondingly, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a method for determining the degree of bleaching of underwater coral reefs as described in the present invention.

[0015] As can be seen from the above, the present invention has the following beneficial effects: The invention provides a method for determining the bleaching degree of underwater coral reefs. The method comprises the following steps: obtaining environmental data and coral species of an area where the coral reefs are located; determining a predicted bleaching degree of corals in an area where the coral reefs are located according to a temperature peak value, a temperature duration and a coral species; generating control parameters of an underwater unmanned camera based on light intensity when the predicted bleaching degree of the corals is greater than a predicted bleaching threshold; performing zoning planning on an area where the coral reefs are located based on a coral shooting distance to obtain a plurality of coral reef sub-shooting areas, and controlling the underwater unmanned camera to shoot in each coral reef sub-shooting area based on an aperture parameter, a shutter parameter and fill light intensity to obtain a coral grayscale image corresponding to each coral reef sub-shooting area; wherein, in each coral reef sub-shooting area, edge cutting and grayscale processing are performed on the coral image obtained by shooting to obtain a coral grayscale image; and bleaching recognition is performed on each coral grayscale image to obtain the bleaching degree of the coral reef in the area where the coral reefs are located. Based on the influence of temperature on coral reefs, the present invention makes a preliminary determination of coral bleaching in high temperature areas where coral reefs exist, photographs the preliminarily determined coral reefs, and performs coral bleaching analysis based on the coral grayscale images obtained by the photographing, thereby realizing the automation of bleaching survey of underwater coral reefs and greatly improving the efficiency of bleaching survey of underwater coral reefs. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic flow chart of a method for determining the degree of bleaching of underwater coral reefs provided by an embodiment of the present invention; Figure 2 is a schematic diagram of the structure of a system for determining the degree of bleaching of underwater coral reefs provided by an embodiment of the present invention; Figure 3 It is a schematic diagram of the structure of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION

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

[0018] Embodiment 1 See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for determining the degree of underwater coral reef bleaching provided by an embodiment of the present invention. Figure 1 As shown, this embodiment includes steps 101 to 105, and each step is specifically as follows: Step 101: Obtain environmental data and coral species of the area where the coral reef is located; wherein the environmental data includes: light intensity, temperature peak value and temperature duration.

[0019] In this embodiment, in a specific embodiment, the environmental data of the area where the coral reef is located is obtained by retrieving the meteorological data officially released by the Meteorological Bureau or the meteorological data released by an authoritative organization, and the coral species are information obtained in advance.

[0020] In a specific embodiment, rising temperature is the main factor causing coral reef bleaching, and temperature peak and temperature duration have different effects on the degree of coral bleaching.

[0021] Step 102: Determine the predicted coral bleaching degree in the area where the coral reef is located according to the temperature peak value, the temperature duration and the coral type.

[0022] In this embodiment, determining the predicted coral bleaching degree in the area where the coral reef is located according to the temperature peak value, the temperature duration and the coral species includes: The temperature peak value, temperature duration and coral species of the area where the coral reef is located are input into a coral reef bleaching prediction model, and the predicted coral bleaching degree of the area where the coral reef is located is output; wherein the CNN and RNN fusion neural network model is trained with the coral reef bleaching prediction model as output and the coral reef bleaching historical samples as input.

[0023] In this embodiment, the CNN and RNN fusion neural network model is trained with the coral reef bleaching prediction model as output and the coral reef bleaching historical samples as input, specifically: Acquire a number of historical data of coral reef bleaching; wherein each of the historical data of coral reef bleaching includes: a coral reef bleaching area, a historical temperature peak corresponding to the coral reef bleaching area, a historical temperature duration corresponding to the coral reef bleaching area, and a historical coral species corresponding to the coral reef bleaching area; Performing data cleaning on each of the coral reef bleaching historical data, and marking the cleaned coral reef bleaching historical data with known bleaching degrees to obtain coral reef bleaching historical samples; The coral reef bleaching historical samples are input into the CNN and RNN fusion neural network model for training to obtain a coral reef bleaching prediction model.

[0024] In a specific embodiment, a CNN and RNN fusion neural network model (such as a CNN-LSTM model) can be used to well mine the association between historical temperature peaks, historical temperature durations, and historical coral species and bleaching degrees. The CNN module is more conducive to mining the association between historical coral species and bleaching degrees, and the RNN module is more conducive to mining the association between time series data such as historical temperature peaks and historical temperature durations.

[0025] It can be understood that the degree of bleaching can be determined based on the bleaching coverage ratio, and the degree of bleaching can be determined by calculating the ratio between the bleached coral area and the original coral area, which can be a specific value.

[0026] Step 103: When the predicted coral bleaching degree is greater than the predicted bleaching threshold, control parameters of the underwater unmanned camera are generated based on the light intensity; wherein the control parameters include: aperture parameters, shutter parameters, fill light intensity and coral shooting distance.

[0027] In a specific embodiment, the predicted whitening threshold can be adaptively adjusted according to user needs.

[0028] In this embodiment, the generating of control parameters of the underwater unmanned camera based on the light intensity includes: Substitute the light intensity and the average moving speed of the underwater unmanned camera into the shutter parameter calculation formula to determine the shutter parameters of the underwater unmanned camera; wherein the shutter parameter calculation formula is specifically: ; In the formula, is the light intensity, is the average moving speed, is the shutter parameter; Determining preset aperture parameters based on the light intensity; Substitute the light attenuation coefficient of the area where the coral reef is located, the water depth of the area where the coral reef is located, and the light intensity into the light attenuation formula to obtain the fill light intensity; wherein the light attenuation formula is specifically: ; In the formula, is the light attenuation coefficient, For water depth, is the fill light intensity; Substitute the minimum focus distance of the underwater unmanned camera, the underwater clarity of the coral reef area and the light intensity into the shooting distance calculation formula to obtain the coral shooting distance; wherein the shooting distance calculation formula is specifically: ; In the formula, is the minimum focusing distance, For underwater clarity, For clear underwater distance, Shooting distance for corals.

[0029] In a specific embodiment, by determining the fill light intensity based on the perception of the environment, the underwater unmanned camera can maintain a constant light intensity for shooting; by determining the aperture parameters and shutter parameters based on the light intensity of the coral reef area, the underwater unmanned camera can be guaranteed to shoot corals in a stable and clear manner; by determining the coral shooting distance, the underwater unmanned camera can be guaranteed to be in a clear imaging state at all times. By determining the above parameters, it is ensured that the photos output by the underwater unmanned camera are clear.

[0030] Step 104: Based on the coral shooting distance, the area where the coral reef is located is zoned to obtain a plurality of coral reef sub-shooting areas, and the underwater unmanned camera is controlled to shoot in each coral reef sub-shooting area based on the aperture parameter, the shutter parameter and the fill light intensity to obtain a coral grayscale image corresponding to each coral reef sub-shooting area; wherein, in each coral reef sub-shooting area, the coral image obtained by shooting is edge cut and grayscale processed to obtain a coral grayscale image.

[0031] In a specific embodiment, for the obtained coral grayscale image, an image processing algorithm, such as the Canny edge detection algorithm, is first used to extract edge information in the coral image. This algorithm determines the position of the edge based on the brightness change of the image and marks it. Through edge cutting, we can obtain an image containing only the coral edge; then convert the image containing only the coral edge into a grayscale image. A grayscale image is an image containing only three tones of black, white and gray, where black represents a lower grayscale value and white represents a higher grayscale value. We can use a grayscale processing algorithm, such as grayscale conversion or a brightness-based algorithm, to convert a color image into a grayscale image.

[0032] It is understandable that since the corals in the bleached part of the coral reef are relatively smooth and grayish white in color, they show relatively uniform grayscale values ​​in the grayscale image, while the corals in the normal part of the coral reef have many lines and show uneven grayscale values ​​in the grayscale image.

[0033] In this embodiment, based on the coral shooting distance, the area where the coral reef is located is zoned and planned to obtain a number of coral reef sub-shooting areas, including: Determining a rectangular shooting area of ​​the underwater unmanned camera according to the coral shooting distance; According to the area where the coral reef is located, the corals included in the coral reef are located to generate a rectangular coral area; wherein the rectangular coral area is much larger than the rectangular shooting area; Divide the rectangular coral area by the rectangular shooting area to obtain the number of areas; A plurality of coral reef sub-shooting areas are obtained based on the area number; wherein the obtaining of the plurality of coral reef sub-shooting areas based on the area number is specifically as follows: the area number is identified; if it is an integer, the rectangular coral area is evenly partitioned based on the area number to obtain the plurality of coral reef sub-shooting areas; if it is not an integer, the rectangular coral area is supplemented with an area operation until the area number is an integer.

[0034] In a specific embodiment, the shooting distance of the camera is first determined. According to the shooting distance, this embodiment can determine the rectangular area that the camera can capture, and this area is the shooting area of ​​the camera. After determining the shooting area of ​​the camera, this embodiment needs to locate the position of the coral according to the area where the coral reef is located. By locating the coral, this embodiment can calculate the rectangular area occupied by the coral; by dividing the rectangular area of ​​the coral by the shooting area of ​​the camera, this embodiment can obtain an area number. This area number represents the ratio of the area of ​​the coral to the shooting area of ​​the camera; according to the area number, this embodiment can determine the number of coral reef sub-areas that need to be captured. If the area number is an integer, we can divide the rectangular area of ​​the coral into several areas evenly, and each area corresponds to a coral reef sub-shooting area. If the area number is not an integer, this embodiment can supplement the rectangular area of ​​the coral until the area number becomes an integer.

[0035] Step 105: performing bleaching identification on each of the coral grayscale images to obtain the bleaching degree of the coral reef in the area where the coral reef is located.

[0036] In this embodiment, the step of performing bleaching identification on each of the coral grayscale images to obtain the bleaching degree of the coral reef in the area where the coral reef is located includes: Determining segmentation parameters according to the predicted bleaching degree of the coral; In each coral grayscale image, segment the coral grayscale image based on the segmentation parameter to obtain a plurality of coral grayscale sub-images corresponding to the coral grayscale image, select the coral grayscale sub-images whose average grayscale value is less than the grayscale threshold as the coral bleaching image, and calculate the bleaching ratio between the number of coral bleaching images and the total number of coral grayscale sub-images; Based on the bleaching ratio corresponding to each coral grayscale image, the degree of coral bleaching in the area where the coral reef is located is determined.

[0037] In a specific embodiment, based on the obtained segmentation parameters, in order to segment different coral areas in the coral grayscale image, the coral grayscale image is processed to segment the entire image into multiple small blocks (coral grayscale sub-images). Assuming that 10 coral grayscale sub-images are obtained after the final segmentation, for each sub-image, their average grayscale value is calculated. If the average grayscale value of a sub-image is lower than a set grayscale threshold (for example, lower than 100, which can be customized by the user), then the sub-image is marked as a coral bleaching image. Assuming that 3 sub-images meet this standard, the ratio between the number of bleached images (3) and the total number of sub-images (10) is calculated. This ratio is 3 divided by 10=0.3. Finally, based on the bleaching ratio of each coral grayscale image (0.3 in this example), the overall coral bleaching degree of the area where the coral reef is located can be determined. If the ratio is high, it means that the bleaching phenomenon is more serious; if the ratio is low, it means that the coral is healthier.

[0038] In this embodiment, determining the segmentation parameters according to the predicted bleaching degree of the coral includes: Retrieving a coral bleaching grayscale image sample corresponding to the predicted bleaching degree of the coral; Dividing the coral bleaching grayscale image sample into a plurality of coral bleaching sub-grayscale image samples of the same size, and calculating the average grayscale value of each coral bleaching sub-grayscale image sample; The segmentation size of each coral bleaching sub-grayscale image sample is reduced according to the preset size step, and the average grayscale value of the coral bleaching sub-grayscale image sample under each segmentation size is calculated. When the average grayscale value remains unchanged, the minimum segmentation size is determined; Based on the minimum segmentation size, segmentation parameters are determined.

[0039] In a specific embodiment, the coral bleaching grayscale image sample is divided into several small blocks, assuming that the size of each block is 10x10 pixels of each sub-image. In this way, if the original image is 100x100 pixels, 100 small blocks of "coral bleaching sub-grayscale image samples" will be obtained; the average grayscale value of each coral bleaching sub-grayscale image sample is calculated; for example, the average grayscale value of a 10x10 small block may be 80, which means that the corals in this area may be more bleached. The segmentation size of each sub-image is gradually reduced according to the preset size step (for example, 5 pixels are reduced each time, which can be adjusted adaptively); for example, the original 10x10 sub-image can be tried to be divided into 5x5 sub-images. For each reduced sub-image sample, their average grayscale value is calculated again. For example, the average grayscale value of a 5x5 small block may become 85. Repeat this process, continue to reduce the size, and calculate the average gray value of each new sub-image until a certain segmentation size is found, and the average gray value remains unchanged; for example, when segmented to a size of 3x3, the average gray value of a small block is still 80, then this size is considered stable. Once the minimum segmentation size at which the average gray value remains unchanged is found, such as a 3x3 sub-image, scientists will determine this size as the basis for subsequent analysis; finally, based on the minimum segmentation size found (such as 3x3), scientists set a segmentation parameter for use in subsequent image processing. This parameter will help them effectively identify and assess bleaching when analyzing other coral images.

[0040] It is understandable that if the present invention is applied to white corals, it is necessary to detect areas with high grayscale values, first determine the normal area, and then infer the area of ​​the bleached area based on the area of ​​the normal area, and then first determine the bleaching degree of the white coral.

[0041] See also Figure 2 , Figure 2 2 is a schematic diagram of the structure of a system for determining the degree of bleaching of underwater coral reefs provided by an embodiment of the present invention, comprising: a data acquisition module 201, a data prediction module 202, a control parameter generation module 203, a shooting module 204 and a bleaching recognition module 205; The data acquisition module is used to acquire environmental data and coral species in the area where the coral reef is located; wherein the environmental data includes: light intensity, temperature peak value and temperature duration; The data prediction module is used to determine the predicted coral bleaching degree in the area where the coral reef is located according to the temperature peak value, the temperature duration and the coral species; The control parameter generation module is used to generate control parameters of the underwater unmanned camera based on the light intensity when the predicted coral bleaching degree is greater than the predicted bleaching threshold; wherein the control parameters include: aperture parameters, shutter parameters, fill light intensity and coral shooting distance; The shooting module is used to plan the area where the coral reef is located based on the coral shooting distance, obtain a plurality of coral reef sub-shooting areas, and control the underwater unmanned camera to shoot in each coral reef sub-shooting area based on the aperture parameter, the shutter parameter and the fill light intensity to obtain a coral grayscale image corresponding to each coral reef sub-shooting area; wherein, in each coral reef sub-shooting area, the coral image obtained by shooting is edge cut and grayscale processed to obtain a coral grayscale image; The whitening identification module is used to perform whitening identification on each of the coral grayscale images to obtain the degree of coral bleaching in the area where the coral reef is located.

[0042] It can be understood that the above-mentioned system embodiment corresponds to the method embodiment of the present invention, which can implement the method for determining the degree of underwater coral reef bleaching provided by any one of the above-mentioned method embodiments of the present invention.

[0043] This embodiment obtains environmental data and coral species of the area where the coral reefs are located; determines the predicted bleaching degree of corals in the area where the coral reefs are located according to the temperature peak value, temperature duration and coral species; generates control parameters of the underwater unmanned camera based on the light intensity when the predicted bleaching degree of corals is greater than the predicted bleaching threshold; divides the area where the coral reefs are located into zones based on the coral shooting distance to obtain a number of coral reef sub-shooting areas, and controls the underwater unmanned camera to shoot in each coral reef sub-shooting area based on the aperture parameter, shutter parameter and fill light intensity to obtain a coral grayscale image corresponding to each coral reef sub-shooting area; wherein, in each coral reef sub-shooting area, the coral image obtained by shooting is edge cut and grayscale processed to obtain a coral grayscale image; and bleaching recognition is performed on each coral grayscale image to obtain the bleaching degree of the coral reef in the area where the coral reefs are located. Based on the influence of temperature on coral reefs, the present invention makes a preliminary determination of coral bleaching in high temperature areas where coral reefs exist, photographs the preliminarily determined coral reefs, and performs coral bleaching analysis based on the coral grayscale images obtained by the photographing, thereby realizing the automation of bleaching survey of underwater coral reefs and greatly improving the efficiency of bleaching survey of underwater coral reefs.

[0044] Embodiment 2 See also Figure 3 , Figure 3 It is a schematic diagram of the structure of a terminal device provided in one embodiment of the present invention.

[0045] A terminal device of this embodiment includes: a processor 301, a memory 302, and a computer program stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program, the steps of the above-mentioned methods for determining the degree of underwater coral reef bleaching in the embodiments are implemented, for example: Figure 1 Alternatively, when the processor executes the computer program, the functions of each module in the above-mentioned system embodiments are realized, for example: Figure 2 All modules of the underwater coral reef bleaching extent determination system are shown.

[0046] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method for determining the degree of underwater coral reef bleaching as described in any of the above embodiments.

[0047] Those skilled in the art will understand that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.

[0048] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 301 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.

[0049] The memory 302 can be used to store the computer program and / or module. The processor 301 implements various functions of the terminal device by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory 302. The memory 302 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.). In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0050] Wherein, if the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or system that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0051] It should be noted that the system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the system embodiment provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0052] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for determining the degree of bleaching of underwater coral reefs, characterized in that: include: Obtaining environmental data and coral species in the area where the coral reef is located; wherein the environmental data includes: light intensity, temperature peak and temperature duration; Determine the predicted coral bleaching degree in the area where the coral reef is located according to the temperature peak value, the temperature duration and the coral species; When the predicted bleaching degree of the coral is greater than the predicted bleaching threshold, based on the light intensity, control parameters of the underwater unmanned camera are generated; wherein the control parameters include: aperture parameters, shutter parameters, fill light intensity and coral shooting distance; Based on the coral shooting distance, the area where the coral reef is located is zoned and planned to obtain a plurality of coral reef sub-shooting areas, and the underwater unmanned camera is controlled to shoot in each coral reef sub-shooting area based on the aperture parameter, the shutter parameter and the fill light intensity to obtain a coral grayscale image corresponding to each coral reef sub-shooting area; wherein, in each coral reef sub-shooting area, the coral image obtained by shooting is edge cut and grayscale processed to obtain a coral grayscale image; Bleaching identification is performed on each of the coral grayscale images to obtain the degree of coral bleaching in the area where the coral reef is located.

2. The method for determining the degree of underwater coral reef bleaching according to claim 1, characterized in that: The step of performing bleaching identification on each of the coral grayscale images to obtain the bleaching degree of the coral reef in the area where the coral reef is located includes: Determining segmentation parameters according to the predicted bleaching degree of the coral; In each coral grayscale image, segment the coral grayscale image based on the segmentation parameter to obtain a plurality of coral grayscale sub-images corresponding to the coral grayscale image, select the coral grayscale sub-images whose average grayscale value is less than the grayscale threshold as the coral bleaching image, and calculate the bleaching ratio between the number of coral bleaching images and the total number of coral grayscale sub-images; Based on the bleaching ratio corresponding to each coral grayscale image, the degree of coral bleaching in the area where the coral reef is located is determined.

3. The method for determining the degree of underwater coral reef bleaching according to claim 2, characterized in that: Determining the segmentation parameters according to the predicted bleaching degree of the coral includes: Retrieving a coral bleaching grayscale image sample corresponding to the predicted bleaching degree of the coral; Dividing the coral bleaching grayscale image sample into a plurality of coral bleaching sub-grayscale image samples of the same size, and calculating the average grayscale value of each coral bleaching sub-grayscale image sample; The segmentation size of each coral bleaching sub-grayscale image sample is reduced according to the preset size step, and the average grayscale value of the coral bleaching sub-grayscale image sample under each segmentation size is calculated. When the average grayscale value remains unchanged, the minimum segmentation size is determined; Based on the minimum segmentation size, segmentation parameters are determined.

4. The method for determining the degree of underwater coral reef bleaching according to claim 3, characterized in that: The step of generating control parameters of the underwater unmanned camera based on the light intensity includes: Substitute the light intensity and the average moving speed of the underwater unmanned camera into the shutter parameter calculation formula to determine the shutter parameters of the underwater unmanned camera; wherein the shutter parameter calculation formula is specifically: ; In the formula, is the light intensity, is the average moving speed, is the shutter parameter; Determining preset aperture parameters based on the light intensity; Substitute the light attenuation coefficient of the area where the coral reef is located, the water depth of the area where the coral reef is located, and the light intensity into the light attenuation formula to obtain the fill light intensity; wherein the light attenuation formula is specifically: ; In the formula, is the light attenuation coefficient, For water depth, is the fill light intensity; Substitute the minimum focus distance of the underwater unmanned camera, the underwater clarity of the coral reef area and the light intensity into the shooting distance calculation formula to obtain the coral shooting distance; wherein the shooting distance calculation formula is specifically: ; In the formula, is the minimum focusing distance, For underwater clarity, For clear underwater distance, Shooting distance for corals.

5. The method for determining the degree of underwater coral reef bleaching according to claim 4, characterized in that: Based on the coral shooting distance, the area where the coral reef is located is zoned and planned to obtain a number of coral reef sub-shooting areas, including: Determining a rectangular shooting area of ​​the underwater unmanned camera according to the coral shooting distance; According to the area where the coral reef is located, the corals included in the coral reef are located to generate a rectangular coral area; wherein the rectangular coral area is much larger than the rectangular shooting area; Divide the rectangular coral area by the rectangular shooting area to obtain the number of areas; A plurality of coral reef sub-shooting areas are obtained based on the area number; wherein the obtaining of the plurality of coral reef sub-shooting areas based on the area number is specifically as follows: the area number is identified; if it is an integer, the rectangular coral area is evenly partitioned based on the area number to obtain the plurality of coral reef sub-shooting areas; if it is not an integer, the rectangular coral area is supplemented with an area operation until the area number is an integer.

6. The method for determining the degree of underwater coral reef bleaching according to claim 5, characterized in that: The step of determining the predicted coral bleaching degree in the area where the coral reef is located according to the temperature peak value, the temperature duration and the coral species includes: The temperature peak value, temperature duration and coral species of the area where the coral reef is located are input into a coral reef bleaching prediction model, and the predicted coral bleaching degree of the area where the coral reef is located is output; wherein the CNN and RNN fusion neural network model is trained with the coral reef bleaching prediction model as output and the coral reef bleaching historical samples as input.

7. The method for determining the degree of underwater coral reef bleaching according to claim 6, characterized in that: The coral reef bleaching prediction model is used as output and the coral reef bleaching historical samples are used as input to train the CNN and RNN fusion neural network model, specifically: Acquire a number of historical data of coral reef bleaching; wherein each of the historical data of coral reef bleaching includes: a coral reef bleaching area, a historical temperature peak corresponding to the coral reef bleaching area, a historical temperature duration corresponding to the coral reef bleaching area, and a historical coral species corresponding to the coral reef bleaching area; Performing data cleaning on each of the coral reef bleaching historical data, and marking the cleaned coral reef bleaching historical data with known bleaching degrees to obtain coral reef bleaching historical samples; The coral reef bleaching historical samples are input into the CNN and RNN fusion neural network model for training to obtain a coral reef bleaching prediction model.

8. A system for determining the degree of bleaching of underwater coral reefs, characterized in that: include: Data acquisition module, data prediction module, control parameter generation module, shooting module and whitening recognition module; The data acquisition module is used to acquire environmental data and coral species in the area where the coral reef is located; wherein the environmental data includes: light intensity, temperature peak value and temperature duration; The data prediction module is used to determine the predicted coral bleaching degree in the area where the coral reef is located according to the temperature peak value, the temperature duration and the coral species; The control parameter generation module is used to generate control parameters of the underwater unmanned camera based on the light intensity when the predicted coral bleaching degree is greater than the predicted bleaching threshold; wherein the control parameters include: aperture parameters, shutter parameters, fill light intensity and coral shooting distance; The shooting module is used to plan the area where the coral reef is located based on the coral shooting distance, obtain a plurality of coral reef sub-shooting areas, and control the underwater unmanned camera to shoot in each coral reef sub-shooting area based on the aperture parameter, the shutter parameter and the fill light intensity to obtain a coral grayscale image corresponding to each coral reef sub-shooting area; wherein, in each coral reef sub-shooting area, the coral image obtained by shooting is edge cut and grayscale processed to obtain a coral grayscale image; The whitening identification module is used to perform whitening identification on each of the coral grayscale images to obtain the degree of coral bleaching in the area where the coral reef is located.

9. A computer terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a method for determining the degree of bleaching of underwater coral reefs as claimed in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute a method for determining the degree of bleaching of underwater coral reefs according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Optical remote sensing satellite image-based coral reef integrated monitoring method

    CN110208193A

  • Probiotic screening and prevention and treatment method for coral pathogenic bacteria

    CN113425858A

  • Method and system for automatically generating sea wind geological modeling horizon based on image recognition

    CN116341232A

  • Coral health status diagnosis method, system and equipment based on deep learning algorithm, and medium

    CN117975206A

Cited By

  • Coral reef whitening early warning method and system based on bottom seawater temperature

    CN119538004A