Algae image data monitoring method and system

Through the virtual breeding space division and algae image data monitoring system, the problem of low algae monitoring efficiency in the breeding area is solved, efficient monitoring and personalized display of algae distribution are achieved, and monitoring efficiency and accuracy are improved.

CN118230256BActive Publication Date: 2024-09-10JIANGSU COASTAL DEV & INVESTMENT CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410646018.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-09-10
Estimated Expiration
2044-05-23

AI Technical Summary

Technical Problem

In the existing technology, the efficiency of algae monitoring in breeding areas is low, and the reliance on manual monitoring consumes a lot of manpower, making it difficult to efficiently monitor the distribution of algae.

Method used

The algae image data monitoring method and system is used to divide the monitoring area through the virtual breeding space, use monitoring equipment to collect image data, and automatically identify and process it based on the algae recognition model to generate algae distribution data and support the display of individual and fused distribution data.

Benefits of technology

It achieves efficient monitoring of algae distribution in the breeding area, improves data acquisition and processing efficiency, allows the monitoring end to visually view algae distribution, supports personalized display, and improves monitoring efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118230256B
    Figure CN118230256B
Patent Text Reader

Abstract

The present invention provides an algae image data monitoring method and system, which responds to monitoring information of an actual breeding area by a monitoring terminal, retrieves a virtual breeding space corresponding to the actual breeding area, and the virtual breeding space includes a virtual breeding area; retrieves an algae monitoring model, and the algae monitoring model includes an area unit and a display unit, and the virtual breeding area is regionally determined based on the area unit to obtain a plurality of monitoring areas; determines the monitoring point corresponding to each of the monitoring areas, and obtains a monitoring image collected by a monitoring device based on the monitoring point; receives a distribution viewing demand of the monitoring terminal, and performs algae distribution processing on the monitoring image according to the display unit to obtain algae distribution data, and the algae distribution data includes separate distribution data and / or fused distribution data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to image processing technology, and in particular to an algae image data monitoring method and system. Background Art

[0002] Algae are very important for maintaining a stable balance of the aquatic ecosystem in aquaculture areas. By monitoring the distribution of algae, we can provide a decision-making basis for water management and water governance in aquaculture areas, thereby improving water quality and protecting the health of aquatic ecosystems in aquaculture areas.

[0003] In the prior art, when monitoring algae in water bodies of aquaculture areas, manual monitoring is often used to dispatch staff to the corresponding waters to check the distribution of algae. This method requires a lot of manpower and results in low monitoring efficiency.

[0004] Therefore, how to efficiently monitor the distribution of algae in the aquaculture area has become an urgent problem that needs to be solved. Summary of the invention

[0005] The embodiments of the present invention provide an algae image data monitoring method and system, which can efficiently monitor the distribution of algae in a breeding area.

[0006] A first aspect of an embodiment of the present invention provides an algae image data monitoring method, comprising:

[0007] In response to the monitoring information of the actual breeding area by the monitoring terminal, a virtual breeding space corresponding to the actual breeding area is retrieved, wherein the virtual breeding space includes the virtual breeding area;

[0008] Retrieving an algae monitoring model, the algae monitoring model comprising an area unit and a display unit, and determining an area of ​​the virtual breeding area based on the area unit to obtain a plurality of monitoring areas;

[0009] Determine the monitoring points corresponding to each of the monitoring areas, and obtain monitoring images collected by the monitoring equipment based on the monitoring points;

[0010] A distribution viewing demand of the monitoring terminal is received, and algae distribution processing is performed on the monitoring image according to the display unit to obtain algae distribution data, wherein the algae distribution data includes separate distribution data and / or fused distribution data.

[0011] Optionally, in a possible implementation manner of the first aspect, the virtual breeding area is determined based on the area unit to obtain multiple monitoring areas, including:

[0012] Acquire the collection distance of the monitoring device, and analyze the collection distance to obtain the length distance and the width distance;

[0013] Determine the first row of pixel points in the segmentation direction of the virtual breeding area as a segmentation set, and generate a segmentation line according to the segmentation set;

[0014] Wherein, the segmentation direction includes a first segmentation direction corresponding to the length direction and a second segmentation direction corresponding to the width direction, and the segmentation line includes a first segmentation line perpendicular to the first segmentation direction and a second segmentation line perpendicular to the second segmentation direction;

[0015] Acquire pixel points at a collection distance from the segmentation line in the segmentation direction as the next segmentation set, and generate the next segmentation line according to the next segmentation set;

[0016] Repeat the above step of generating a segmentation line until the next segmentation set cannot be traversed in the virtual breeding area, and then stop the step of generating the segmentation line;

[0017] The virtual breeding area is divided into regions according to the segmentation line to obtain a plurality of segmentation regions, and the plurality of segmentation regions are merged to obtain a plurality of monitoring regions.

[0018] Optionally, in a possible implementation manner of the first aspect, a plurality of segmented areas are subjected to region merging processing to obtain a plurality of monitoring areas, including:

[0019] Acquire the segmented areas intersecting with the regional fence of the virtual breeding area as boundary areas, and determine the area of ​​each boundary area;

[0020] Determine a boundary area where the area of ​​the region is smaller than a preset monitoring area as a first merging area, and obtain a segmented area adjacent to the first merging area as a screening area;

[0021] Counting the combined area corresponding to the first combined area and each of the screening areas, and determining the screening area whose combined area is greater than or equal to the preset monitoring area and whose area is the smallest as the second combined area;

[0022] The first merged area and the second merged area are subjected to regional merging processing to obtain a plurality of monitoring areas.

[0023] Optionally, in a possible implementation manner of the first aspect, determining a monitoring point corresponding to each monitoring area, and acquiring a monitoring image collected by a monitoring device based on the monitoring point, includes:

[0024] Acquire the central point corresponding to each monitoring area as a monitoring point, and obtain the monitoring position of each monitoring point according to the geographic information of each monitoring point;

[0025] Determine the first segmentation direction as a monitoring direction and the first segmentation line as a monitoring line, or determine the second segmentation direction as a monitoring direction and the second segmentation line as a monitoring line, wherein the monitoring direction and the monitoring line are perpendicular to each other;

[0026] Acquire a plurality of monitoring areas divided by the monitoring line in the monitoring direction for the virtual breeding area;

[0027] Determine the first monitoring area in the monitoring direction as the target area, and sequentially number the monitoring points in the target area according to a first traversal direction perpendicular to the monitoring direction to obtain a monitoring number for each monitoring point;

[0028] Determine the next monitoring area in the monitoring direction as the next target area, and determine the direction opposite to the first traversal direction as the second traversal direction;

[0029] Continue to number the monitoring points in the next target area in sequence according to the second traversal direction to obtain a monitoring number for each monitoring point;

[0030] Continue the above step of numbering the monitoring points in the corresponding target area according to the first traversal direction and the second traversal direction until all monitoring points are numbered;

[0031] The monitoring equipment is controlled to go to the corresponding monitoring positions in sequence according to the monitoring numbers to collect images, so as to obtain monitoring images corresponding to the monitoring points.

[0032] Optionally, in a possible implementation of the first aspect, a distribution viewing requirement of the monitoring terminal is received, and algae distribution processing is performed on the monitoring image according to the display unit to obtain algae distribution data, wherein the algae distribution data includes separate distribution data and / or fused distribution data, including:

[0033] Performing algae data recognition on each of the monitoring images based on an algae recognition model to obtain algae recognition data corresponding to each of the monitoring images, wherein the algae recognition data includes algae species and algae density corresponding to each of the algae species;

[0034] receiving a distributed viewing requirement of the monitoring terminal, wherein the distributed viewing requirement includes a separate viewing requirement and / or a fusion viewing requirement;

[0035] Retrieving a separate display strategy corresponding to the separate viewing requirement according to the display unit, and performing separate distribution processing on the algae identification data of the monitoring image according to the separate display strategy to obtain separate distribution data;

[0036] Based on the display unit, a fusion display strategy corresponding to the fusion viewing requirement is retrieved, and according to the fusion display strategy, fusion distribution processing is performed on the algae recognition data of the monitoring image to obtain fusion distribution data;

[0037] The algae distribution data is obtained according to the individual distribution data and / or the fused distribution data and sent to the monitoring terminal.

[0038] Optionally, in a possible implementation manner of the first aspect, performing separate distribution processing on the algae identification data of the monitoring image according to the separate display strategy to obtain separate distribution data includes:

[0039] Summarize the algae species according to the individual viewing requirements, generate an algae list and send it to the monitoring terminal;

[0040] receiving an algae species selected by the monitoring terminal from the algae list as a target species, and determining a monitoring image corresponding to the target species as a target image;

[0041] Acquire the monitoring area corresponding to the target image as a separate display area, and retrieve the density correspondence table corresponding to the target type;

[0042] The density correspondence table includes a plurality of preset density intervals corresponding to the target types, and preset pixel values ​​corresponding to each of the preset density intervals;

[0043] Determine that a preset pixel value corresponding to the algae density of the target image is a separate pixel value, and update the pixel value of the separate display area based on the separate pixel value to obtain separate distribution data. Perform separate distribution processing on the algae identification data of the monitoring image according to the separate display strategy to obtain separate distribution data, including:

[0044] Summarize the algae species according to the individual viewing requirements, generate an algae list and send it to the monitoring terminal;

[0045] receiving an algae species selected by the monitoring terminal from the algae list as a target species, and determining a monitoring image corresponding to the target species as a target image;

[0046] Acquire the monitoring area corresponding to the target image as a separate display area, and retrieve the density correspondence table corresponding to the target type;

[0047] The density correspondence table includes a plurality of preset density intervals corresponding to the target types, and preset pixel values ​​corresponding to each of the preset density intervals;

[0048] A preset pixel value corresponding to the algae density of the target image is determined as a separate pixel value, and a pixel value of the separate display area is updated based on the separate pixel value to obtain separate distribution data.

[0049] Optionally, in a possible implementation manner of the first aspect, performing fusion distribution processing on the algae identification data of the monitoring image according to the fusion display strategy to obtain fusion distribution data includes:

[0050] Counting the number of algae species corresponding to each of the monitoring images, and determining the monitoring images whose number of algae species is equal to the benchmark number as one type of image;

[0051] Determine that the monitoring area corresponding to the type of image is a type of display area, and determine a type of pixel value corresponding to the type of display area according to a density correspondence table corresponding to the algae species of the type of image;

[0052] Performing a type of update on the type of display area according to the type of pixel value to obtain a type of display data;

[0053] Acquire the monitoring image in which the number of algae species is greater than the reference number as a second-class image, and determine the monitoring area corresponding to the second-class image as a second-class display area;

[0054] Determining the algae distribution ratio corresponding to the second type of display area according to the algae densities corresponding to the multiple algae species in the second type of images;

[0055] Based on the algae distribution ratio, the two types of display areas are updated with fused pixels to obtain two types of display data;

[0056] The fused distribution data is obtained according to the first type of display data and / or the second type of display data.

[0057] Optionally, in a possible implementation manner of the first aspect, the two types of display areas are updated by fusing pixels based on the algae distribution ratio to obtain two types of display data, including:

[0058] Determine the fused pixel value corresponding to each algae species according to the density correspondence table corresponding to each algae species and the algae density;

[0059] Obtaining pixel points located in the same row in the two types of display areas as a fusion sequence, and determining the number of units corresponding to each algae type according to the algae distribution ratio;

[0060] Based on the same-same fusion strategy, according to the algae distribution ratio and the number of units corresponding to each algae species, pixel points in the fusion sequence are selected in sequence as display pixel points corresponding to the corresponding algae species;

[0061] Updating the corresponding display pixel point according to the corresponding fused pixel value;

[0062] Determine the adjacent fusion sequence of each fusion sequence as the target sequence based on the adjacent row fusion strategy, and swap the position of the proportion of each algae species in the algae distribution proportion of the target sequence to obtain the updated algae distribution proportion;

[0063] The corresponding display pixel points in the target sequence are updated according to the updated algae distribution ratio to obtain second type of display data;

[0064] Among them, the proportion positions of each algae species in the algae distribution proportions corresponding to adjacent fusion sequences are different.

[0065] Optionally, in a possible implementation of the first aspect, the method further includes:

[0066] Acquire separate display areas that are adjacent in position and have the same algae density as target display areas; or,

[0067] Determine a type of display area that is adjacent in position, has the same algae density, and has the same algae species as a target display area;

[0068] The target display areas are merged to obtain a merged display area.

[0069] A second aspect of an embodiment of the present invention provides an algae image data monitoring system, comprising:

[0070] A calling module, in response to the monitoring information of the actual breeding area by the monitoring terminal, calls the virtual breeding space corresponding to the actual breeding area, wherein the virtual breeding space includes the virtual breeding area;

[0071] A determination module is used to retrieve an algae monitoring model, wherein the algae monitoring model includes a region unit and a display unit, and the virtual breeding area is determined based on the region unit to obtain a plurality of monitoring areas;

[0072] A collection module, which determines the monitoring points corresponding to each of the monitoring areas, and obtains monitoring images collected by the monitoring equipment based on the monitoring points;

[0073] The summary module receives the distribution viewing demand of the monitoring terminal, and performs algae distribution processing on the monitoring image according to the display unit to obtain algae distribution data, wherein the algae distribution data includes separate distribution data and / or fused distribution data.

[0074] The beneficial effects of the present invention are as follows:

[0075] 1. The present invention can efficiently monitor the distribution of algae in the breeding area. After receiving the request from the monitoring terminal to view the distribution of algae, the present solution can first generate a virtual breeding space corresponding to the actual breeding area, and then divide the virtual breeding area into multiple monitoring areas, so that the monitoring equipment can be controlled to collect image data from the breeding area, which can improve the data acquisition efficiency and thus improve the monitoring efficiency. The present invention can display the distribution of algae in the corresponding area in a personalized way according to the actual needs of the monitoring terminal, so that the monitoring terminal can intuitively view the distribution of various algae data in the breeding area, and then carry out targeted processing according to the distribution of algae.

[0076] 2. After determining the collection range of the drone, the present invention can divide the virtual breeding area into multiple areas, and merge the boundary area with an area smaller than the preset monitoring area and the adjacent area into one area, thereby reducing the amount of data processing and improving the monitoring efficiency. After determining multiple areas, the present solution can number the multiple areas, and can control the monitoring equipment to collect images of the multiple areas in sequence, thereby improving the data acquisition efficiency, and then improving the monitoring efficiency. The algae distribution in the corresponding area can be determined based on the image data later.

[0077] 3. The present invention can automatically identify the image data to obtain the algae species and density of the corresponding area, and can highlight the algae distribution data of a single species in combination with the viewing needs of the user. Specifically, a single algae species can be first determined, and the corresponding area can be highlighted according to the pixel values ​​corresponding to multiple densities of the algae species, or the algae distribution data of all algae species in the breeding area can be highlighted. Specifically, for the monitoring area of ​​a single algae species, the corresponding area can be highlighted according to the pixel values ​​corresponding to different densities. For the monitoring area of ​​multiple algae species, the pixels in the same row can be selected and displayed in turn according to the algae distribution ratio, and then the pixels in the adjacent rows can be selected and displayed in turn according to the algae distribution ratio of the exchanged ratio position, so as to prevent the distance between the pixels from being too concentrated, so that the pixels are distributed more evenly, and the distribution of the algae can be displayed in a targeted manner in combination with the viewing needs of the user. In the above manner, the algae distribution in the breeding area can be personalized in combination with the user's needs, so that the user can intuitively view the distribution of various algae data in the breeding area, and then can perform targeted processing according to the algae distribution. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] Figure 1 is a flow chart of an algae image data monitoring method provided by an embodiment of the present invention;

[0079] Figure 2is a schematic diagram of virtual breeding area division provided by an embodiment of the present invention;

[0080] Figure 3 is a schematic diagram of image acquisition by a monitoring device provided in an embodiment of the present invention;

[0081] Figure 4 It is a structural schematic diagram of an algae image data monitoring system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0082] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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.

[0083] See also Figure 1 , is a flow chart of an algae image data monitoring method provided by an embodiment of the present invention, Figure 1 The execution subject of the method shown may be a software and / or hardware device. The execution subject of the present application may include but is not limited to at least one of the following: user equipment, network equipment, etc. Among them, user equipment may include but is not limited to computers, smart phones, personal digital assistants (PDA) and the electronic devices mentioned above. Network equipment may include but is not limited to a single network server, a server group consisting of multiple network servers, or a cloud based on cloud computing consisting of a large number of computers or network servers, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computers. This embodiment does not limit this. It includes steps S1 to S4, as follows:

[0084] S1, responding to the monitoring information of the actual breeding area by the monitoring terminal, retrieving the virtual breeding space corresponding to the actual breeding area, wherein the virtual breeding space includes the virtual breeding area.

[0085] In order to intuitively display the algae distribution in the breeding area, this solution will simulate the algae distribution in the actual breeding area through a virtual breeding area in the virtual breeding space and display it to the user, so that the user can intuitively view the algae distribution through the virtual breeding space, so that the user can carry out targeted processing according to the algae distribution.

[0086] Among them, the actual breeding area can be a pond area used to breed aquatic organisms, and the virtual breeding space can be a virtual space constructed based on the actual breeding area. The space corresponds to a virtual breeding area corresponding to the pond area. The virtual breeding area can be used to subsequently display the algae distribution in the actual breeding area. In the future, this solution will analyze the algae distribution of the image data collected in the actual breeding area, and then display the algae distribution obtained through the analysis through the virtual breeding area, so that the user can view the algae distribution in the actual breeding area through the virtual breeding area and make targeted processing.

[0087] In actual applications, the monitoring end can be a terminal held by the manager of the breeding area. After receiving the monitoring information from the monitoring end, it can be determined that the monitoring end wants to view the algae distribution in the actual breeding area. At this time, the virtual breeding space can be called up for subsequent operations.

[0088] S2, calling an algae monitoring model, wherein the algae monitoring model includes an area unit and a display unit, and determining the virtual breeding area based on the area unit to obtain a plurality of monitoring areas.

[0089] It can be understood that the algae monitoring model refers to a model for monitoring the distribution of algae, the regional unit refers to a unit used to divide the virtual breeding area into regions, the display unit refers to a unit for displaying the distribution of algae, and the monitoring area is an area determined by the acquisition range of the monitoring equipment. The area can be used to instruct the monitoring equipment to collect image data, and after performing algae analysis on the collected image data, the distribution of algae is displayed through the area. In order to conduct comprehensive and accurate image acquisition of the breeding area, multiple monitoring areas can be determined by dividing the virtual breeding area into regions, and the monitoring equipment can be controlled to conduct comprehensive and accurate image acquisition of the actual breeding area.

[0090] Figure 2 is a schematic diagram of the division of the virtual breeding area provided by an embodiment of the present invention. In this solution, the virtual breeding area can be divided into multiple monitoring areas by dividing lines, for example Figure 2 The monitoring areas S1…S28 in the figure, wherein the dividing lines include a first dividing line and a second dividing line, and the center point of each monitoring area can be determined as the monitoring point. Subsequently, the monitoring equipment can be controlled to collect images of the actual breeding area according to the actual geographical location of the monitoring point.

[0091] Based on the above embodiment, the specific implementation of step S2 may be:

[0092] S21, obtaining a collection distance of the monitoring device, and analyzing the collection distance to obtain a length distance and a width distance.

[0093] Among them, the monitoring equipment can be a drone, and the drone can be controlled to collect image data later according to the actual geographical location of the corresponding area. The collection distance refers to the range of collection by the drone, and the collection distance includes length distance and width distance. The length distance refers to the length range collected by the drone, and the width distance refers to the width range collected by the drone. The interval distance between multiple dividing lines can be determined by the length distance and the width distance, so that the collection distance can completely cover the monitoring area, thereby making the data collection more comprehensive and ensuring the integrity of the data.

[0094] S22, determining the first row of pixel points in the segmentation direction of the virtual breeding area as a segmentation set, and generating a segmentation line according to the segmentation set.

[0095] The dividing direction includes a first dividing direction corresponding to the length direction and a second dividing direction corresponding to the width direction, and the dividing line includes a first dividing line perpendicular to the first dividing direction and a second dividing line perpendicular to the second dividing direction.

[0096] In order to conduct comprehensive and accurate image acquisition of the breeding area, this solution will determine multiple monitoring areas for image acquisition by dividing the virtual breeding area. When dividing, this solution will determine multiple mutually perpendicular dividing lines according to the dividing direction and acquisition distance, and divide the virtual breeding area into multiple monitoring areas through the dividing lines.

[0097] Since the collection distance includes length distance and width distance, when dividing the virtual breeding area, in order to make the collection distance cover the monitoring area, the interval distance between multiple dividing lines can be determined by the length distance and the width distance. Therefore, the dividing direction can include a first dividing direction corresponding to the length direction and a second dividing direction corresponding to the width direction, wherein the first dividing direction is parallel to the length direction, and the second dividing direction is parallel to the width direction. Through the dividing direction and the collection distance, the monitoring area divided by multiple dividing lines can be within the monitoring range of the monitoring equipment, thereby improving the data accuracy.

[0098] Specifically, when generating the segmentation line, this solution will first determine the first segmentation line of the virtual breeding area in the segmentation direction, so that the remaining segmentation lines can be determined based on the acquisition distance in the future. Among them, when the first segmentation direction is the horizontal direction, the distance between adjacent segmentation lines in the first segmentation direction can be determined as the length distance, the first segmentation line and the first segmentation direction are perpendicular, and after the first first segmentation line is determined, the remaining first segmentation lines can be determined according to the length distance and the first segmentation direction. Similarly, when the second segmentation direction is the vertical direction, the distance between adjacent segmentation lines in the second segmentation direction can be determined as the width distance, the second segmentation line and the second segmentation direction are perpendicular, and after the first second segmentation line is determined, the remaining second segmentation lines can be determined according to the width distance and the second segmentation direction.

[0099] S23, obtaining pixel points at a collection distance from the segmentation line in the segmentation direction as a next segmentation set, and generating a next segmentation line according to the next segmentation set.

[0100] Among them, at the acquisition distance from the first segmentation line, a plurality of pixel points in the corresponding row can be determined as the next segmentation set, so that the segmentation line corresponding to the next segmentation set can be determined.

[0101] S24, repeating the above step of generating a segmentation line until the step of generating a segmentation line is stopped when the virtual breeding area cannot traverse the next segmentation set.

[0102] It can be understood that, through the above step of determining a plurality of segmentation lines, it can be determined that the monitoring area divided by the segmentation lines is within the monitoring range of the monitoring device, thereby improving data accuracy.

[0103] S25, dividing the virtual breeding area according to the segmentation line to obtain a plurality of segmentation areas, and merging the plurality of segmentation areas to obtain a plurality of monitoring areas.

[0104] It can be understood that the segmentation area refers to the virtual area obtained by dividing the virtual breeding area. Since the area of ​​the segmentation area corresponding to the edge of the virtual breeding area may be small, collecting data on it alone may increase the workload of the monitoring equipment. Therefore, in order to improve the efficiency of data collection of the monitoring equipment, the corresponding edge area in the virtual breeding area can be merged with the adjacent area.

[0105] Specifically, step S25 can be implemented through steps S251 to S254, which are specifically as follows:

[0106] S251, obtaining the segmented areas intersecting with the regional fence of the virtual breeding area as boundary areas, and determining the area of ​​each boundary area.

[0107] Among them, the regional fence refers to the regional outline of the virtual breeding area, and the boundary area refers to the outermost area of ​​the virtual breeding area. First, the regional area of ​​the boundary area can be determined, and then the corresponding areas can be merged.

[0108] S252: Determine a boundary area where the area of ​​the region is smaller than a preset monitoring area as a first merging area, and obtain a segmented area adjacent to the first merging area as a screening area.

[0109] It can be understood that the preset monitoring area refers to the minimum area for monitoring preset in advance by the staff. If the area of ​​the area is smaller than the preset monitoring area, it means that the corresponding boundary area may be too small. Therefore, in order to reduce the amount of data processing, it can be merged with other areas and monitored together during monitoring. The first merged area refers to the boundary area that can be merged with the adjacent segmented area, and the screening area refers to the segmented area for merged screening.

[0110] S253, counting the combined areas corresponding to the first combined area and each of the screening areas, and determining the screening area whose combined area is greater than or equal to the preset monitoring area and whose area is the smallest as the second combined area.

[0111] Among them, the merged area refers to the sum of the areas of the first merged area and the screening area. Since the first merged area may correspond to multiple screening areas, it may meet the monitoring area conditions after being merged with multiple screening areas. Therefore, in order to improve the accuracy of data collection, the screening area with a merged area greater than or equal to the preset monitoring area and the smallest area can be determined as the second merged area. In this way, the monitoring area can meet the conditions while the collection range will not be too large, thereby improving the accuracy of data processing.

[0112] S254, performing regional merging processing on the first merged area and the second merged area to obtain multiple monitoring areas.

[0113] Through the above method, the monitoring equipment can be controlled to collect image data of the monitoring area to ensure the integrity of the obtained monitoring data and improve the monitoring accuracy.

[0114] S3, determining the monitoring points corresponding to each of the monitoring areas, and obtaining monitoring images collected by the monitoring equipment based on the monitoring points.

[0115] Among them, the monitoring point refers to the center point of the monitoring area, and the monitoring image refers to the image data corresponding to the actual breeding area. After determining the monitoring point, the drone can be controlled to collect image data of the corresponding actual breeding area according to the actual geographical location of the monitoring point. Subsequently, the algae distribution in the corresponding area can be obtained based on the image data.

[0116] Figure 3It is a schematic diagram of image acquisition by the monitoring equipment provided in an embodiment of the present invention. This solution can acquire a monitoring image by using the monitoring equipment to acquire an image of the actual breeding area corresponding to the monitoring area according to the actual geographical location of the monitoring point. Subsequently, the algae distribution data of the corresponding area can be obtained according to the monitoring image, and the corresponding monitoring area can be highlighted according to the algae distribution situation.

[0117] Based on the above embodiment, the specific implementation of step S3 may be:

[0118] S31, acquiring the central point corresponding to each monitoring area as a monitoring point, and obtaining the monitoring position of each monitoring point according to the geographic information of each monitoring point.

[0119] It can be understood that the center point corresponding to the monitoring area can be determined as the monitoring point, and the geographical information corresponding to each monitoring point can be obtained through GIS, GPS, etc., and then the actual position of each monitoring point can be determined.

[0120] S32, determining the first segmentation direction as a monitoring direction and the first segmentation line as a monitoring line, or determining the second segmentation direction as a monitoring direction and the second segmentation line as a monitoring line, wherein the monitoring direction and the monitoring line are perpendicular to each other.

[0121] Among them, when the first segmentation direction is horizontal and the first segmentation line is perpendicular to the first segmentation direction, it can be determined that the monitoring direction is horizontal and the monitoring line is perpendicular to the monitoring direction; or, when the second segmentation direction is vertical and the second segmentation line is perpendicular to the second segmentation direction, it can be determined that the monitoring direction is vertical and the monitoring line is perpendicular to the monitoring direction.

[0122] When controlling the drone to collect images, this solution will sort multiple monitoring points by monitoring direction and monitoring line, and then control the drone to collect images in the sorted order. Since the sorting methods are similar, it is possible to determine that the first segmentation direction is the monitoring direction and the first segmentation line is the monitoring line, or the second segmentation direction is the monitoring direction and the second segmentation line is the monitoring line, and then determine the subsequent sorting based on the determined monitoring direction and monitoring line.

[0123] S33, obtaining a plurality of monitoring areas divided by the monitoring line in the monitoring direction for the virtual breeding area.

[0124] It can be understood that the monitoring area refers to the area obtained by dividing the virtual breeding area through monitoring lines. In the monitoring direction, the virtual breeding area can be divided into multiple monitoring areas through multiple monitoring lines. The monitoring points in the monitoring area can be numbered subsequently, and the monitoring equipment can be controlled to collect images of the corresponding actual breeding areas in sequence according to the monitoring numbers, thereby ensuring the accuracy of the data and improving the monitoring efficiency.

[0125] It can also be understood that since the distance between monitoring points in the same monitoring area may be relatively close, data can be collected from the monitoring points in the same monitoring area in turn, and then images can be collected from the monitoring points in adjacent monitoring areas. This can make the path for drone data collection relatively short, thereby improving the efficiency of drone data collection.

[0126] S34, determining the first monitoring area in the monitoring direction as the target area, and sequentially numbering the monitoring points in the target area according to a first traversal direction perpendicular to the monitoring direction to obtain a monitoring number for each monitoring point.

[0127] In practical applications, if the second segmentation direction is determined to be the monitoring direction and the second segmentation line is the monitoring line, then the first traversal direction is the horizontal direction. It can be understood that the monitoring points in the monitoring area divided by the monitoring line are arranged horizontally in this case. Therefore, they can be numbered sequentially according to the first traversal direction, so that the drone can collect data from the corresponding monitoring points in sequence in the horizontal direction. When numbering the monitoring points sequentially, they can be numbered in Arabic numerals.

[0128] It can be understood that in order to enable the drone to collect data from all monitoring points in sequence, the monitoring points in the corresponding monitoring area can be numbered in sequence according to the monitoring direction, thereby completing the numbering of all monitoring points, and then the drone can be controlled to collect data according to the numbering order.

[0129] S35, determining the next monitoring area in the monitoring direction as the next target area, and determining that the direction opposite to the first traversal direction can be the second traversal direction.

[0130] It can be understood that if the traversal directions of two adjacent monitoring areas are opposite, the collection route of the drone can be made S-shaped, so that after collecting the last monitoring point in the previous target area, the drone can go to the nearest monitoring point in the next target area to continue data collection, thereby reducing the flight path of the drone and improving the collection efficiency of the drone.

[0131] Through the above-mentioned method, it can be ensured that the route of the subsequent monitoring equipment when collecting images is the shortest, thereby improving the efficiency of the monitoring equipment when collecting images.

[0132] S36: Continue to number the monitoring points in the next target area in sequence according to the second traversal direction to obtain a monitoring number for each monitoring point.

[0133] In practical applications, after numbering the monitoring points in the first target area, the monitoring number of the last monitoring point in the first target area can be obtained, and starting from this monitoring number, the monitoring points can continue to be numbered in sequence from right to left in the next target area.

[0134] For example: if the monitoring number of the last monitoring point from left to right in the first target area is 10, it can be determined that the monitoring number of the first monitoring point from right to left in the next target area is 11, and then the remaining monitoring points in the next target area can be numbered in sequence from right to left.

[0135] S37, continuing the above step of numbering the monitoring points in the corresponding target area according to the first traversal direction and the second traversal direction until the numbering of all monitoring points is completed.

[0136] For example: you can first number the monitoring points in the first target area from left to right, then continue to number the monitoring points in the second target area from right to left, then continue to number the monitoring points in the third target area from left to right, and then continue to number the monitoring points in the fourth target area from right to left. Repeat the above numbering steps until all target areas are traversed, and the numbering of all monitoring points can be completed.

[0137] S38, controlling the monitoring equipment to go to the corresponding monitoring positions in sequence according to the monitoring numbers to collect images, and obtaining monitoring images corresponding to the monitoring points.

[0138] Among them, after determining the monitoring number, the drone can be controlled to go to the corresponding monitoring location in the order of the monitoring number to take images of the actual breeding area, and then the monitoring image corresponding to the actual breeding area can be obtained.

[0139] Through the above method, the drone can be controlled to collect image data of the actual breeding area, thereby improving data acquisition efficiency and monitoring efficiency. Subsequently, the algae species and density in the corresponding area can be obtained based on the image data, and then the algae distribution in the actual breeding area can be obtained.

[0140] S4, receiving a distribution viewing demand from the monitoring terminal, and performing algae distribution processing on the monitoring image according to the display unit to obtain algae distribution data, wherein the algae distribution data includes separate distribution data and / or fused distribution data.

[0141] It can be understood that the distribution viewing demand refers to the demand of the monitoring end to view the distribution of algae, the algae distribution data refers to the data on the distribution of algae, the individual distribution data refers to the distribution data of a single algae species in the actual breeding area, and the fused distribution data refers to the distribution data of multiple algae species in the actual breeding area.

[0142] Based on the above embodiment, the specific implementation of step S4 may be:

[0143] S41, performing algae data recognition on each of the monitoring images based on an algae recognition model to obtain algae recognition data corresponding to each of the monitoring images, wherein the algae recognition data includes algae species and algae density corresponding to each of the algae species.

[0144] Among them, the algae recognition model refers to a model for automatically identifying the algae species and the corresponding algae density in the image, and the algae recognition data refers to the algae species and the corresponding algae density obtained by automatic identification. Specifically, the algae species and density in the monitoring image can be automatically identified through computer vision and image processing technology.

[0145] S42, receiving a distributed viewing requirement of the monitoring terminal, where the distributed viewing requirement includes a separate viewing requirement and / or a fusion viewing requirement.

[0146] The individual viewing demand refers to the user's demand for viewing the distribution of a single algae species in the actual breeding area, and the integrated viewing demand refers to the user's demand for viewing the distribution of multiple algae species in the actual breeding area.

[0147] S43, calling the separate display strategy corresponding to the separate viewing requirement according to the display unit, and performing separate distribution processing on the algae recognition data of the monitoring image according to the separate display strategy to obtain separate distribution data.

[0148] It can be understood that the separate display strategy refers to a strategy for highlighting the distribution of a single algae species. Specifically, this solution will first determine the single algae species based on the actual needs of the monitoring end, and then highlight the corresponding area according to the pixel value corresponding to the algae density to obtain separate distribution data.

[0149] Specifically, step S43 can be implemented through steps S431 to S434, which are as follows:

[0150] S431, summarizing the algae species according to the individual viewing requirements, generating an algae list and sending it to the monitoring terminal.

[0151] Among them, the algae list refers to a list of algae species in the actual breeding area, that is, a list of algae species determined by an algae recognition model, which may include multiple algae species such as Cyanobacteria, Euglena, and Chrysophyta. Multiple algae species can be summarized to obtain an algae list and displayed to the monitoring end. The subsequent monitoring end can select the corresponding algae species in the algae list based on actual needs.

[0152] S432, receiving the algae species selected by the monitoring terminal from the algae list as the target species, and determining the monitoring image corresponding to the target species as the target image.

[0153] In practical applications, the target species refers to the algae species selected by the monitoring end based on actual needs, and the target image refers to the monitoring image corresponding to the target species. Subsequently, the corresponding monitoring area can be determined based on the target image, and the distribution of the algae can be displayed through the monitoring area.

[0154] For example, if the monitoring end selects Cyanobacteria in the algae list, the monitoring image corresponding to Cyanobacteria can be determined. Subsequently, the corresponding monitoring area can be determined based on the monitoring image, and the distribution of Cyanobacteria in the corresponding area in the actual breeding area can be displayed through the monitoring area.

[0155] S433, obtaining the monitoring area corresponding to the target image as a separate display area, and retrieving the density corresponding table corresponding to the target type.

[0156] The density correspondence table includes a plurality of preset density intervals corresponding to the target types and preset pixel values ​​corresponding to the preset density intervals.

[0157] Specifically, a separate display area refers to an area that highlights the distribution of a single algae species. The density correspondence table includes multiple preset density intervals corresponding to the target species, and each preset density interval corresponds to a preset pixel value. The preset density interval refers to the interval of algae density preset in advance by the staff, and the preset pixel value refers to the pixel value corresponding to the algae density interval preset in advance by the staff.

[0158] It can be understood that in order to display the distribution and density of different algae, this solution will configure corresponding density correspondence tables for different types of algae, determine the pixel value corresponding to the density of the corresponding algae through the density correspondence table, and then display the distribution and density of the corresponding algae through the determined pixel value and a separate display area, wherein the hue of the pixel values ​​corresponding to the same type and different densities are the same. For example, the hue corresponding to a certain algae A is red, and the red pixel values ​​corresponding to its different densities may be different. The pixel values ​​corresponding to the darker density interval may also be darker, such as the pixel values ​​corresponding to dark red, and the pixel values ​​corresponding to the lighter density interval may also be lighter, such as the pixel values ​​corresponding to light red.

[0159] S434, determining that a preset pixel value corresponding to the algae density of the target image is a separate pixel value, and updating the pixel value of the separate display area based on the separate pixel value to obtain separate distribution data.

[0160] It can be understood that a single pixel value refers to a pixel value corresponding to a density interval where the density of a single algae species is located, and a single display area can be highlighted through the single pixel value to obtain single distribution data.

[0161] Through the above method, the area corresponding to a single algae species can be highlighted, so that the monitoring end can intuitively view the distribution and density of a single algae species in the breeding area, and then carry out targeted processing based on the distribution of a single algae species.

[0162] S44, based on the display unit, calling the fusion display strategy corresponding to the fusion viewing demand, and performing fusion distribution processing on the algae recognition data of the monitoring image according to the fusion display strategy to obtain fusion distribution data.

[0163] Among them, the integrated display strategy refers to the strategy of displaying the algae distribution data of multiple algae species in the breeding area. It is understandable that the algae distribution corresponding to different monitoring areas may also be different. For the monitoring area of ​​a single algae species, the corresponding area can be highlighted according to the pixel values ​​corresponding to different densities. For the monitoring area of ​​multiple algae species, the distribution of different types of algae can be displayed according to the algae distribution ratio and the pixel values ​​corresponding to the different densities of various algae species.

[0164] Based on the above embodiment, the specific implementation of step S44 may be:

[0165] S441, counting the number of algae species corresponding to each monitoring image, and determining that the monitoring images whose number of algae species is equal to a reference number are images of one category.

[0166] The reference number is 1, and the number of algae species corresponding to the monitoring image can be counted first. If the number of algae species is 1, there is only one algae species in the monitoring image. At this time, the corresponding monitoring image can be regarded as a type of image.

[0167] S442, determining that the monitoring area corresponding to the one type of image is a one type of display area, and determining a type of pixel value corresponding to the one type of display area according to a density correspondence table corresponding to the algae types of the one type of image.

[0168] It can be understood that first, the monitoring area corresponding to a type of image can be determined as a type of display area, and then the algae species and algae density corresponding to the type of image can be determined, and then the density interval corresponding to the algae density in the density correspondence table can be determined. Finally, the corresponding pixel value can be determined through the density interval as a type of pixel value corresponding to a type of display area.

[0169] S443: performing a type of update on the type of display area according to the type of pixel value to obtain a type of display data.

[0170] By updating a type of display area with a type of pixel value, the user can view the algae distribution and algae density in the monitoring area with a type of algae.

[0171] S444, acquiring the monitoring image in which the number of algae species is greater than the reference number as a second-category image, and determining the monitoring area corresponding to the second-category image as a second-category display area.

[0172] It can be understood that if the number of algae species is greater than 1, there are multiple algae species in the algae image. At this time, the corresponding monitoring image can be regarded as a second-class image, and the corresponding monitoring area is a second-class display area.

[0173] S445 , determining the algae distribution ratio corresponding to the second type of display area according to the algae densities corresponding to the multiple algae types in the second type of image.

[0174] For example, there are two algae, Cyanobacteria and Euglena, in the second category image, and the corresponding algae densities are 160,000 / ml and 120,000 / ml respectively. At this time, the distribution ratio of Cyanobacteria and Euglena in the second category display area is 4:3.

[0175] It is understandable that in order to display the distribution of algae in a monitoring area where multiple algae species exist, a corresponding display can be made through the algae distribution ratio, so that when users view the algae distribution, they can not only view the algae species, but also the algae ratio.

[0176] S446, updating the fused pixels of the two types of display areas based on the algae distribution ratio to obtain two types of display data.

[0177] Specifically, when updating the fused pixels in the second type of display area, the pixels in the same row can be selected and displayed in turn according to the algae distribution ratio, and then the pixels in the adjacent row can be selected and displayed in turn according to the algae distribution ratio with the swapped ratio position, so that the distribution of different algae in the monitoring area can be displayed.

[0178] Through the above method, the algae distribution in the breeding area can be personalized according to the needs of the user, so that the user can intuitively view the distribution of various algae data in the breeding area, and then can carry out targeted processing according to the algae distribution. Based on the above embodiment, the specific implementation method of step S446 can be:

[0179] S4461, determining the fused pixel value corresponding to each algae species according to the density correspondence table corresponding to each algae species and the algae density.

[0180] Among them, the algae density corresponding to each algae species in the second category image can be determined, and then the density range and pixel value of each algae density can be determined in the density correspondence table corresponding to each algae species. Subsequently, the second category display area can be highlighted through the pixel value.

[0181] For example: there are two algae species, Cyanobacteria and Euglena, in the second category image. The algae density corresponding to Cyanobacteria is 160,000 / ml. In the density correspondence table corresponding to Cyanobacteria, it can be determined that the algae density is in density interval 1, and the fused pixel value corresponding to density interval 1 is pink. The algae density corresponding to Euglena is 120,000 / ml. In the density correspondence table corresponding to Euglena, it can be determined that the algae density is in density interval 2, and the fused pixel value corresponding to density interval 2 is goose yellow.

[0182] S4462, obtaining pixel points located in the same row in the two types of display areas as a fusion sequence, and determining the number of units corresponding to each of the algae types according to the algae distribution ratio.

[0183] It can be understood that the fusion sequence refers to all pixels in the same row in the second display area. The pixels in the same row in the second display area can be summarized to obtain the fusion sequence, and the unit quantity refers to the unit number of algae species determined based on the algae distribution ratio.

[0184] For example, if there are two types of algae, Cyanobacteria and Euglena, in the second display area, and the distribution ratio of these two algae types is 4:3, the number of units corresponding to Cyanobacteria is 4, and the number of units corresponding to Euglena is 3.

[0185] S4463, based on the same industry fusion strategy and in accordance with the algae distribution ratio and the number of units corresponding to each algae species, pixel points in the fusion sequence are selected in turn as display pixel points corresponding to the corresponding algae species.

[0186] Among them, the same-class fusion strategy refers to a strategy of selecting and displaying pixels of the same class in sequence according to the distribution ratio of algae, and the displayed pixels refer to the pixels that are highlighted.

[0187] For example: after determining that the algae distribution ratio of Cyanobacteria and Euglena is 4:3, and the number of units corresponding to Cyanobacteria is 4 and the number of units corresponding to Euglena is 3, the 1st to 4th pixel points in the fused sequence can be selected as the display pixel points corresponding to Cyanobacteria, and the 5th to 7th pixel points in the fused sequence can be selected as the display pixel points corresponding to Euglena, and then the 8th to 11th pixel points in the fused sequence can continue to be selected as the display pixel points corresponding to Cyanobacteria, and the 12th to 14th pixel points in the fused sequence can be selected as the display pixel points corresponding to Euglena, and the above steps are repeated until all pixel points in the fused sequence are selected.

[0188] S4464: Update the corresponding display pixel point according to the corresponding fused pixel value.

[0189] After obtaining the display pixels, the display pixels can be highlighted by fusing the pixel values, so that the subsequent monitoring end can intuitively see the distribution of algae.

[0190] For example: after determining the display pixel points corresponding to Cyanobacteria and Euglena, the fusion pixel value corresponding to Cyanobacteria is pink, and the fusion pixel value corresponding to Euglena is goose yellow. The display pixel points corresponding to Cyanobacteria in the fusion sequence can be highlighted as pink, and the display pixel points corresponding to Euglena in the fusion sequence can be highlighted as goose yellow.

[0191] S4465, based on the adjacent row fusion strategy, determine the adjacent fusion sequence of each fusion sequence as the target sequence, and swap the position of the proportion of each algae species in the algae distribution proportion of the target sequence to obtain the updated algae distribution proportion.

[0192] Among them, the adjacent row fusion strategy refers to a strategy for selecting and displaying the adjacent row pixels in turn according to the distribution proportion of algae with swapped proportion positions. After determining multiple fusion sequences, the fusion sequences adjacent to each fusion sequence can be used as the target sequence, and the pixels of the adjacent rows can be highlighted subsequently.

[0193] It should be noted that if the algae distribution ratio of Cyanobacteria and Euglena in the target sequence is 4:3, the proportion positions of Cyanobacteria and Euglena can be swapped, and the algae distribution ratio of Euglena and Cyanobacteria can be obtained to be 3:4. At this time, the proportion positions of each algae species in the algae distribution ratio corresponding to adjacent fusion sequences are different.

[0194] S4466, updating the corresponding display pixel points in the target sequence according to the updated algae distribution ratio to obtain second type of display data.

[0195] Among them, the proportion positions of each algae species in the algae distribution proportions corresponding to adjacent fusion sequences are different.

[0196] For example: after determining the target sequence, the 1st to 3rd pixel points can be selected as the display pixel points corresponding to the Euglena, and the corresponding fusion pixel value is goose yellow. At the same time, the 4th to 7th pixel points can be selected as the display pixel points corresponding to the Cyanobacteria, and the corresponding fusion pixel value is pink. Then, the 8th to 10th pixel points can be selected as the display pixel points corresponding to the Euglena, and the corresponding fusion pixel value is goose yellow. At the same time, the 11th to 14th pixel points can be selected as the display pixel points corresponding to the Cyanobacteria, and the corresponding fusion pixel value is pink. Repeat the above steps until all pixel points in the target sequence are selected, so that the display pixel points corresponding to the Euglena and Cyanobacteria in the target sequence can be highlighted.

[0197] By the above method, the distance between pixels can be prevented from being too concentrated, so that the pixel distribution is more uniform, and the distribution of algae can be displayed in a targeted manner in combination with the viewing needs of users. S447, obtaining fused distribution data according to the first type of display data and / or the second type of display data.

[0198] Through the above method, the distribution of algae in the breeding area can be personalized according to user needs, so that users can intuitively view the distribution of various algae data in the breeding area, and then carry out targeted processing according to the distribution of algae. In addition, based on the above embodiment, this solution also includes the following embodiments:

[0199] Separate display areas that are adjacent in position and have the same algae density are obtained as target display areas.

[0200] Since the algae species in the plurality of separate display areas are the same, the separate display areas that are adjacent in position and have the same algae density can be used as target display areas.

[0201] Or, a type of display area with adjacent positional relationship, same algae density and same algae species is determined as the target display area.

[0202] It should be noted that the algae species in multiple first-class display areas are not necessarily the same. In this case, the first-class display areas with adjacent positional relationships and the same algae density can be used as target display areas, thereby reducing the differences between different areas in the algae distribution data and making the algae distribution data more concise and clear.

[0203] The target display areas are merged to obtain a merged display area.

[0204] The combined display area refers to an area where areas with the same algae distribution are combined and displayed. Through the above method, the monitoring end can see the algae distribution in the corresponding area more intuitively.

[0205] S45, obtaining algae distribution data according to the individual distribution data and / or the fused distribution data and sending the data to the monitoring terminal.

[0206] Through the above method, the algae distribution in the corresponding area can be personalized according to the actual needs of the monitoring end, so that the monitoring end can intuitively view the distribution of various algae data in the breeding area, and then carry out targeted processing according to the algae distribution.

[0207] In addition, based on the above embodiments, this solution also includes the following embodiments:

[0208] The difference in the proportion of the corresponding algae species is obtained according to the algae distribution proportion.

[0209] The percentage difference value refers to the difference in the ratios of the algae distribution ratios. For example, if the algae distribution ratios of Cyanobacteria and Euglena in the monitoring image are 100:1, then the percentage difference value of the corresponding algae species is 99.

[0210] If the proportion difference value is greater than or equal to the preset proportion difference value, the corresponding second type of display area is determined to be an enlarged display area.

[0211] In actual applications, the proportion of a certain algae in the second-class display area may be small. Therefore, in order to enable the monitoring end to fully see the distribution of all algae in the corresponding area, the second-class display area can be enlarged accordingly.

[0212] It can be understood that the preset proportion difference value refers to the proportion difference value of the corresponding algae species preset in advance by the staff, and the enlarged display area refers to the area for enlarged display. For example: the preset proportion difference value is 50, and the proportion difference value of the corresponding algae species is 99. The proportion difference value is greater than the preset proportion difference value. At this time, the corresponding second-category display area can be determined as the enlarged display area.

[0213] The preset magnification ratio is obtained and updated to the updated algae distribution ratio of the magnified display area.

[0214] Among them, the preset magnification ratio refers to the magnified distribution ratio preset in advance by the staff. For example, if the initial algae distribution ratio is 100:1, the preset magnification ratio of 4:1 can be used as the algae distribution ratio of the magnified display area.

[0215] The enlarged display area is updated according to the updated algae distribution ratio.

[0216] It is understandable that after obtaining the updated algae distribution ratio, the corresponding enlarged display area can be enlarged.

[0217] The enlarged pixel value is retrieved to update the area outline of the enlarged display area.

[0218] Among them, the enlarged pixel value refers to the pixel value preset in advance by the staff to highlight the enlarged display area. Since the algae distribution ratio in the enlarged display area is different from the original ratio, the area outline of the enlarged display area can be highlighted by enlarging the pixel value, so that the monitoring end can intuitively see the enlarged display area, thereby improving the monitoring efficiency.

[0219] It is understandable that since the algae distribution ratio in the updated enlarged display area is not the actual ratio, when the user clicks on the corresponding enlarged area, the original algae distribution ratio and the actual image in the area can be viewed accordingly.

[0220] Through the above method, the monitoring end can see the distribution of algae in the corresponding area more clearly.

[0221] The algae density of the segmented areas with the same number at the historical moment is obtained, and the corresponding algae change curve is generated according to the algae density of the segmented areas at the historical moment, wherein the horizontal coordinate of the algae change curve is time and the vertical coordinate is density value, and each algae in each segmented area has a corresponding algae density. If it is determined that the algae density of any corresponding algae change curve is less than or equal to a preset value, the corresponding algae change curve is deleted. The technical solution provided by the present invention calculates the algae density of the segmented areas with the same number at the historical moment and obtains the corresponding algae change curve.

[0222] When obtaining the algae change curve, the present invention determines the algae density at two adjacent historical moments, and constructs a function according to the algae density at two adjacent historical moments to obtain a corresponding function sub-segment, wherein the algae change curve is composed of a plurality of function sub-segments. The present invention obtains the maximum Y value in all function sub-segments, and after the maximum Y value is less than or equal to a preset value, the present invention determines that the algae density of the corresponding algae change curve is less than or equal to the preset value, and deletes the corresponding algae change curve.

[0223] Based on the type of each algae, the segmented areas of the algae change curve of each algae are counted to obtain the segmented set corresponding to the corresponding algae, and the number of segmented areas in the segmented set is counted to obtain the first number. Since the distribution of algae in the water area may be random, the present invention will use the type of each algae as the classification basis, count the segmented areas of the algae change curve of each algae, and obtain the first number. If the number of corresponding algae in the water area is relatively large, the corresponding first number is larger.

[0224] Based on the first number and the total number of all segmented areas, the quantity ratio is calculated to obtain the quantity ratio, and the preset ratio value of each algae is compared with the corresponding quantity ratio, and each algae has a preset preset ratio value. The present invention will obtain the corresponding quantity ratio based on the first number and the total number of all segmented areas. If the quantity ratio is larger, it means that there are more areas where the corresponding algae are distributed. Since different algae have different biological properties, the present invention will configure preset ratio values ​​for different types of algae, and feedback whether there is excessive risk of the corresponding algae through the relationship between the quantity ratio and the preset ratio value.

[0225] When the preset percentage value is less than or equal to the corresponding quantity percentage, the corresponding algae is considered to have no biological risk. At this time, the corresponding algae will not pose too much risk in the corresponding waters, so the subsequent risk prediction calculation of this type of algae will not be performed.

[0226] When the preset percentage value is greater than the corresponding number percentage, the corresponding algae is considered to have potential biological risks. At this time, the weighted K value of the algae change curve in each segment needs to be calculated, and the growth trend of each segment at a future time point is obtained by the weighted K value. At this time, the corresponding algae distribution positions are relatively large. If the algae density is large or is expected to be large in the future, a corresponding biological risk will be generated at this time, so the present invention needs to calculate the K value of the algae change curve in each segment.

[0227] When the weighted K value is less than or equal to the preset K value, the corresponding segmentation set is not marked. At this time, the corresponding algae will not have biological risks. When the weighted K value is greater than the preset K value, the corresponding segmentation set is marked. At this time, the corresponding algae have biological risks.

[0228] When calculating the weighted K value, the present invention first obtains the number of function sub-segments of the algae change curve, and obtains a pre-configured weighted value according to the number of function sub-segments. Each number of function sub-segments has a preset number of weighted values. For example, if the number of function sub-segments is 3, then the weighted value is 3, and the corresponding weighted value can be , , , the three weighted values ​​correspond to three different function sub-segments , Function sub-segment , Function sub-segment For example, the function subsection The time in the function sub-segment Front, function subsection The time in the function sub-segment front, then it is preferred to set The weighted K value is calculated by the following formula,

[0229]

[0230] in, is the weighted K value, For the The slope value of the function segment, For the The weighted value of the function sub-segment, is the upper limit of the function segment, is the number of function segments, For the The slope value of the function segment, For the The density value at the moment, No. The density value at the moment, For the The time value of a moment, for The time value of a moment. Through the above formula, the weighted K value can be obtained, and the weighted K value will be affected by the density of different moments according to the distance of the moment, and can better reflect the value of the next predicted moment.

[0231] When the weighted K value is greater than the preset K value, it proves that the corresponding algae are widely distributed in the water area and have a higher growth trend, so certain control is needed at this time. If no control is carried out, corresponding biological risks may arise in the future, so the present invention will mark the corresponding segmentation set.

[0232] After marking the segmentation set, the present invention calculates the difference between the weighted K value and the preset K value to obtain the difference in K value. The present invention determines the number of segmentation areas in the segmentation set according to the difference in K value, and selects the determined number of segmentation areas in the segmentation set. The number of segmentation areas is calculated by the following formula:

[0233]

[0234] in, To determine the quantity, is the preset K value, A pre-set standard quantity.

[0235] Sort the partitions in the partition set by position labels, which can be Figure 2The first number is evenly divided based on the number of the partitions to obtain a corresponding evenly divided number, the first partition in the partition set is selected, and the partitions are selected at intervals based on the evenly divided number to obtain corresponding selected partitions, and after the number of the first partition and the selected partition reaches the number of the partitions, the first partition and the selected partition are output to obtain a processing area.

[0236] Through the above manner, the present invention can evenly treat a certain algae when treating it, so that the distribution of the treated algae is also dispersed, such as the growth of organisms in water areas.

[0237] See also Figure 4 , is a schematic diagram of the structure of an algae image data monitoring system provided by an embodiment of the present invention, the algae image data monitoring system comprising:

[0238] A calling module, in response to the monitoring information of the actual breeding area by the monitoring terminal, calls the virtual breeding space corresponding to the actual breeding area, wherein the virtual breeding space includes the virtual breeding area;

[0239] A determination module is used to retrieve an algae monitoring model, wherein the algae monitoring model includes a region unit and a display unit, and the virtual breeding area is determined based on the region unit to obtain a plurality of monitoring areas;

[0240] A collection module, which determines the monitoring points corresponding to each of the monitoring areas, and obtains monitoring images collected by the monitoring equipment based on the monitoring points;

[0241] The summary module receives the distribution viewing demand of the monitoring terminal, and performs algae distribution processing on the monitoring image according to the display unit to obtain algae distribution data, wherein the algae distribution data includes separate distribution data and / or fused distribution data.

[0242] Figure 4 The system of the embodiment shown can be used to perform Figure 1 The implementation principles and technical effects of the steps in the method embodiment shown are similar and will not be repeated here.

[0243] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for monitoring algae image data, characterized in that: include: In response to the monitoring information of the actual breeding area by the monitoring terminal, a virtual breeding space corresponding to the actual breeding area is retrieved, wherein the virtual breeding space includes the virtual breeding area; Retrieving an algae monitoring model, the algae monitoring model comprising an area unit and a display unit, and determining an area of ​​the virtual breeding area based on the area unit to obtain a plurality of monitoring areas; Determine the monitoring points corresponding to each of the monitoring areas, and obtain monitoring images collected by the monitoring equipment based on the monitoring points; receiving a distribution viewing demand from the monitoring terminal, and performing algae distribution processing on the monitoring image according to the display unit to obtain algae distribution data, wherein the algae distribution data includes separate distribution data and / or fused distribution data; The virtual breeding area is determined based on the area unit to obtain multiple monitoring areas, including: Acquire the collection distance of the monitoring device, and analyze the collection distance to obtain the length distance and the width distance; Determine the first row of pixel points in the segmentation direction of the virtual breeding area as a segmentation set, and generate a segmentation line according to the segmentation set; The dividing direction includes a first dividing direction corresponding to the length direction and a second dividing direction corresponding to the width direction, and the dividing line includes a first dividing line perpendicular to the first dividing direction and a second dividing line perpendicular to the second dividing direction; Acquire pixel points at a collection distance from the segmentation line in the segmentation direction as the next segmentation set, and generate the next segmentation line according to the next segmentation set; Repeat the above step of generating a segmentation line until the next segmentation set cannot be traversed in the virtual breeding area, and then stop the step of generating the segmentation line; Dividing the virtual breeding area according to the segmentation line to obtain a plurality of segmentation areas, and merging the plurality of segmentation areas to obtain a plurality of monitoring areas; Multiple segmented areas are merged to obtain multiple monitoring areas, including: Acquire the segmented areas intersecting with the regional fence of the virtual breeding area as boundary areas, and determine the area of ​​each boundary area; Determine a boundary area where the area of ​​the region is smaller than a preset monitoring area as a first merging area, and obtain a segmented area adjacent to the first merging area as a screening area; Counting the combined area corresponding to the first combined area and each of the screening areas, and determining the screening area whose combined area is greater than or equal to the preset monitoring area and whose area is the smallest as the second combined area; The first merged area and the second merged area are subjected to regional merging processing to obtain a plurality of monitoring areas.

2. The method according to claim 1, characterized in that Determining the monitoring points corresponding to the monitoring areas, and obtaining monitoring images collected by the monitoring equipment based on the monitoring points, including: Acquire the central point corresponding to each monitoring area as a monitoring point, and obtain the monitoring position of each monitoring point according to the geographic information of each monitoring point; Determine the first segmentation direction as a monitoring direction and the first segmentation line as a monitoring line, or determine the second segmentation direction as a monitoring direction and the second segmentation line as a monitoring line, wherein the monitoring direction and the monitoring line are perpendicular to each other; Acquire a plurality of monitoring areas divided by the monitoring line in the monitoring direction for the virtual breeding area; Determine the first monitoring area in the monitoring direction as the target area, and sequentially number the monitoring points in the target area according to a first traversal direction perpendicular to the monitoring direction to obtain a monitoring number for each monitoring point; Determine the next monitoring area in the monitoring direction as the next target area, and determine the direction opposite to the first traversal direction as the second traversal direction; Continue to number the monitoring points in the next target area in sequence according to the second traversal direction to obtain a monitoring number for each monitoring point; Continue the step of numbering the monitoring points in the corresponding target area according to the first traversal direction and the second traversal direction until all the monitoring points are numbered; The monitoring equipment is controlled to go to the corresponding monitoring positions in sequence according to the monitoring numbers to collect images, so as to obtain monitoring images corresponding to the monitoring points.

3. The method according to claim 1, characterized in that Receiving a distribution viewing demand from the monitoring terminal, and performing algae distribution processing on the monitoring image according to the display unit to obtain algae distribution data, wherein the algae distribution data includes individual distribution data and / or fused distribution data, including: Performing algae data recognition on each of the monitoring images based on an algae recognition model to obtain algae recognition data corresponding to each of the monitoring images, wherein the algae recognition data includes algae species and algae density corresponding to each of the algae species; receiving a distributed viewing requirement of the monitoring terminal, wherein the distributed viewing requirement includes a separate viewing requirement and / or a fusion viewing requirement; Retrieving a separate display strategy corresponding to the separate viewing requirement according to the display unit, and performing separate distribution processing on the algae identification data of the monitoring image according to the separate display strategy to obtain separate distribution data; Based on the display unit, a fusion display strategy corresponding to the fusion viewing requirement is retrieved, and according to the fusion display strategy, fusion distribution processing is performed on the algae recognition data of the monitoring image to obtain fusion distribution data; The algae distribution data is obtained according to the individual distribution data and / or the fused distribution data and sent to the monitoring terminal.

4. The method according to claim 3, characterized in that The algae identification data of the monitoring image is individually distributed according to the individual display strategy to obtain individually distributed data, including: Summarize the algae species according to the individual viewing requirements, generate an algae list and send it to the monitoring terminal; receiving an algae species selected by the monitoring terminal from the algae list as a target species, and determining a monitoring image corresponding to the target species as a target image; Acquire the monitoring area corresponding to the target image as a separate display area, and retrieve the density correspondence table corresponding to the target type; The density correspondence table includes a plurality of preset density intervals corresponding to the target types, and preset pixel values ​​corresponding to each of the preset density intervals; A preset pixel value corresponding to the algae density of the target image is determined as a separate pixel value, and a pixel value of the separate display area is updated based on the separate pixel value to obtain separate distribution data.

5. The method according to claim 3, characterized in that: According to the fusion display strategy, the algae identification data of the monitoring image is subjected to fusion distribution processing to obtain fusion distribution data, including: Counting the number of algae species corresponding to each of the monitoring images, and determining the monitoring images whose number of algae species is equal to the benchmark number as one type of image; Determine that the monitoring area corresponding to the type of image is a type of display area, and determine a type of pixel value corresponding to the type of display area according to a density correspondence table corresponding to the algae species of the type of image; Performing a type of update on the type of display area according to the type of pixel value to obtain a type of display data; Acquire the monitoring image in which the number of algae species is greater than the reference number as a second-class image, and determine the monitoring area corresponding to the second-class image as a second-class display area; Determining the algae distribution ratio corresponding to the second type of display area according to the algae densities corresponding to the multiple algae species in the second type of images; Based on the algae distribution ratio, the two types of display areas are updated with fused pixels to obtain two types of display data; The fused distribution data is obtained according to the first type of display data and / or the second type of display data.

6. The method according to claim 5, characterized in that Based on the algae distribution ratio, the two types of display areas are updated with fused pixels to obtain two types of display data, including: Determine the fused pixel value corresponding to each algae species according to the density correspondence table corresponding to each algae species and the algae density; Obtaining pixel points located in the same row in the two types of display areas as a fusion sequence, and determining the number of units corresponding to each algae type according to the algae distribution ratio; Based on the same-same fusion strategy, according to the algae distribution ratio and the number of units corresponding to each algae species, pixel points in the fusion sequence are selected in sequence as display pixel points corresponding to the corresponding algae species; Updating the corresponding display pixel point according to the corresponding fused pixel value; Determine the adjacent fusion sequence of each fusion sequence as the target sequence based on the adjacent row fusion strategy, and swap the position of the proportion of each algae species in the algae distribution proportion of the target sequence to obtain the updated algae distribution proportion; The corresponding display pixel points in the target sequence are updated according to the updated algae distribution ratio to obtain second type of display data; Among them, the proportion positions of each algae species in the algae distribution proportions corresponding to adjacent fusion sequences are different.

7. The method according to claim 4 or 5, characterized in that: Also includes: Acquire separate display areas that are adjacent in position and have the same algae density as target display areas; or, Determine a type of display area that is adjacent in position, has the same algae density, and has the same algae species as a target display area; The target display areas are merged to obtain a merged display area.

8. An algae image data monitoring system applicable to the algae image data monitoring method of claim 1, characterized in that: include: A calling module, in response to the monitoring information of the actual breeding area by the monitoring terminal, calls the virtual breeding space corresponding to the actual breeding area, wherein the virtual breeding space includes the virtual breeding area; A determination module is used to retrieve an algae monitoring model, wherein the algae monitoring model includes a region unit and a display unit, and the virtual breeding area is determined based on the region unit to obtain a plurality of monitoring areas; A collection module, which determines the monitoring points corresponding to each of the monitoring areas, and obtains monitoring images collected by the monitoring equipment based on the monitoring points; The summary module receives the distribution viewing demand of the monitoring terminal, and performs algae distribution processing on the monitoring image according to the display unit to obtain algae distribution data, wherein the algae distribution data includes separate distribution data and / or fused distribution data.

Citation Information

Patent Citations

  • High-voltage cable inner core image segmentation method based on prior knowledge

    CN115355821A

  • Visual management and control method and platform for power transmission and transformation of power grid

    CN116128320A

  • Virtual power plant operation risk detection method based on machine learning

    CN116433034A

  • Water pollution monitoring data management method and system

    CN116434090A

  • Visual management system of sewage treatment equipment based on digital twinning

    CN116452474A