A real-time monitoring method and system for fish population in a river

Through the sonar detector, the problem of low accuracy of existing fish population monitoring methods is solved, and high-precision real-time monitoring of fish communities and water pollution assessment is achieved, with the advantages of high detection accuracy and fast retrieval speed.

CN114581421BActive Publication Date: 2024-11-22BEIJING MUNICIPAL RES INST OF ENVIRONMENT PROTECTION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210230464.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-10
Publication Date
2024-11-22
Estimated Expiration
2042-03-10

AI Technical Summary

Technical Problem

The existing fish population monitoring methods have low monitoring accuracy and are time-consuming and labor-intensive, and cannot effectively monitor the number of river fish communities and water pollution in real time.

Method used

Sonar detectors are used to collect the sonar images of water bodies, and the distribution and number of fish are calculated through image preprocessing, target extraction and statistics. Combined with the sampling interval and forward speed of the sonar detector, the number of fish in the entire water body is determined.

Benefits of technology

It realizes high-precision real-time monitoring of fish communities, can quickly evaluate reservoir fish resources and infer water pollution, and improves detection accuracy and retrieval speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114581421B_ABST
    Figure CN114581421B_ABST
Patent Text Reader

Abstract

The present invention relates to a real-time monitoring method and system for fish schools in rivers, wherein the method comprises: obtaining an original water body sonar image collected by a sonar detector; preprocessing the original water body sonar image to obtain a preprocessed water body sonar image; performing target extraction on the preprocessed water body sonar image to obtain a fish school distribution image; performing statistics on the fish school distribution image to obtain the number of unit fish schools; and determining the number of fish in the entire water body according to the number of unit fish schools. The present invention collects the original water body sonar image by using a sonar detector, and processes the original water body sonar image to obtain the number of fish in the entire water body, which can not only evaluate the fish resources in the reservoir, but also infer the degree of pollution of the water body, and has the advantages of high detection accuracy and fast retrieval speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fish school detection, and in particular to a real-time monitoring method and system for fish schools in rivers. Background Art

[0002] Sewage usually refers to the discharged water from life and production that is polluted to a certain extent. Sewage mainly includes domestic sewage and industrial wastewater. The main pollutants in sewage include pathogen pollutants, oxygen-depleting pollutants and toxic pollutants. With the development of society, cities are moving towards industrialization in order to increase economic income. However, with the improvement of people's quality of life, many rivers and lakes are polluted. Moreover, as the pollution of rivers and lakes becomes more and more serious, it will also affect the domestic water supply in cities. Therefore, it is urgent to treat the sewage in rivers and lakes. In the process of sewage treatment, real-time monitoring of sewage in rivers and lakes is the top priority.

[0003] Some existing water ecology monitoring methods require counting the number of fish in the water at a specified time or place to determine whether the water body needs to be treated, such as using a visit survey method to ask fishermen whether the number of fish is normal or using ground traps, electric fishing and other means to catch fish to estimate the number of fish. It can be seen that the existing fish monitoring methods not only have low monitoring accuracy, but are also time-consuming and labor-intensive. Summary of the invention

[0004] To solve the above problems, an embodiment of the present invention aims to provide a method and system for real-time monitoring of fish schools in a river, aiming to solve the problem of low monitoring accuracy of existing fish school monitoring methods.

[0005] A method for real-time monitoring of fish populations in a river, comprising:

[0006] Step 1: Obtain the original water body sonar image collected by the sonar detector;

[0007] Step 2: preprocessing the original water body sonar image to obtain a preprocessed water body sonar image;

[0008] Step 3: extracting the target from the preprocessed water body sonar image to obtain a fish distribution image;

[0009] Step 4: Counting the fish school distribution image to obtain the number of fish schools per unit;

[0010] Step 5: Determine the number of fish in the entire water body based on the unit fish population.

[0011] Preferably, the step 2: preprocessing the original water body sonar image to obtain a preprocessed water body sonar image comprises:

[0012] Step 2.1: Using a histogram model to perform image enhancement on the water body sonar image to obtain an enhanced water body sonar image; wherein the histogram model is:

[0013]

[0014] Among them, g(x,y) represents the enhanced water body sonar image, f(x,y) represents the water body sonar image, [a,b] represents the grayscale interval of the water body sonar image, and [c,d] represents the enhanced grayscale interval;

[0015] Step 2.2: filtering the enhanced water body sonar image to obtain a filtered water body sonar image;

[0016] Step 2.3: Pixel fusion is performed on the filtered water body sonar image and the original water body sonar image to obtain a preprocessed water body sonar image.

[0017] Preferably, the step 2.2: filtering the enhanced water body sonar image to obtain a filtered water body sonar image comprises:

[0018] Using the formula:

[0019] h(x,y)=g(x,y)-α▽ 2 f

[0020] The enhanced water body sonar image is filtered to obtain a filtered water body sonar image; wherein g(x, y) represents the enhanced water body sonar image, h(x, y) represents the filtered water body sonar image, α represents the filter weight coefficient.

[0021] Preferably, the step 2.3: performing pixel fusion on the filtered water body sonar image and the water body sonar image to obtain a preprocessed water body sonar image comprises:

[0022] Step 2.3.1 obtains the grayscale value of each pixel in the enhanced water body sonar image and the original water body sonar image;

[0023] Step 2.3.2: adding the pixel value of each point in the enhanced water body sonar image to the pixel value of the corresponding point in the original water body sonar image to obtain the added pixel point;

[0024] Step 2.3.3: multiplying the added pixel points by a preset coefficient to obtain a fused pixel point;

[0025] Step 2.3.4 obtains the preprocessed water body sonar image based on the fused pixel points.

[0026] Preferably, the step 3: extracting targets from the pre-processed water body sonar image to obtain a fish distribution image comprises:

[0027] Step 3.1: Calculate the mean and variance of the pixel values ​​in the preprocessed water body sonar image;

[0028] Step 3.2: Determine a background threshold according to the mean and the variance;

[0029] Step 3.3: Extract target pixel points whose pixel values ​​are greater than the background threshold in the preprocessed water body sonar image to obtain the fish distribution image.

[0030] Preferably, the step 4: performing statistics on the fish school distribution image to obtain the number of fish schools per unit includes:

[0031] Step 4.1: binarizing the fish distribution image to obtain a binarized image;

[0032] Step 4.2: Marking the connected domains of the binary image to obtain multiple contour images;

[0033] Step 4.3: Calculate the area of ​​each contour image;

[0034] Step 4.4: The number of contour images within the preset area is taken as the unit fish number.

[0035] Preferably, the step 5: determining the number of fish in the entire water body according to the number of the unit fish school includes:

[0036] Step 5.1: Obtain the sampling interval and forward speed of the sonar detector;

[0037] Step 5.2: Determine the unit scanning area of ​​the sonar according to the sampling interval and the forward speed;

[0038] Step 5.3: Determine the number of fish in the entire water body based on the unit scanning area and the unit fish number.

[0039] Preferably, the step 5.2: determining the unit scanning area of ​​the sonar according to the sampling interval and the forward speed comprises:

[0040] Using the formula:

[0041]

[0042] Determine the unit scanning area of ​​the sonar; where h i is the detection distance of the sonar detector, β is the detection angle of the sonar detector, L i =Δt·V, Δt is the sampling interval, V is the forward speed.

[0043] Preferably, the step 5.3: determining the number of fish in the entire water body according to the unit scanning area and the unit number of fish schools, comprises:

[0044] Using the formula:

[0045]

[0046] Determine the number of fish in the entire water body; where D is the total area of ​​the water body, N is the number of fish in the entire water body, and N i is the number of fish in the i-th sampling interval, S i is the unit scanning area of ​​the i-th sampling interval, and n is the number of sampling intervals.

[0047] The present invention also provides a real-time monitoring system for fish populations in rivers, comprising:

[0048] The original sonar image acquisition module is used to obtain the original water body sonar image collected by the sonar detector;

[0049] An image preprocessing module, used for preprocessing the original water body sonar image to obtain a preprocessed water body sonar image;

[0050] A target extraction module is used to extract the target from the preprocessed water body sonar image to obtain a fish distribution image;

[0051] A unit fish population statistics module is used to obtain the unit fish population by counting the fish population distribution image;

[0052] The fish quantity calculation module is used to determine the quantity of fish in the entire water body according to the quantity of the unit fish school.

[0053] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0054] The present invention relates to a real-time monitoring method and system for fish schools in rivers, wherein the method comprises: obtaining an original water body sonar image collected by a sonar detector; preprocessing the original water body sonar image to obtain a preprocessed water body sonar image; performing target extraction on the preprocessed water body sonar image to obtain a fish school distribution image; performing statistics on the fish school distribution image to obtain the number of unit fish schools; and determining the number of fish in the entire water body according to the number of unit fish schools. The present invention collects original water body sonar images by using a sonar detector, and processes the original water body sonar images to obtain the number of fish in the entire water body. It can not only evaluate the fish resources in the reservoir, but also infer the degree of pollution of the water body, and has the advantages of high detection accuracy and fast retrieval speed.

[0055] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 A flow chart of a method for real-time monitoring of fish swarms in a river in an embodiment provided by the present invention;

[0058] Figure 2 This is a schematic diagram of a real-time monitoring system for fish swarms in a river in an embodiment provided by the present invention. DETAILED DESCRIPTION

[0059] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0060] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0061] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0062] The purpose of the embodiments of the present invention is to provide a method and system for real-time monitoring of fish schools in a river, aiming to solve the problem of low monitoring accuracy of existing fish school monitoring methods.

[0063] See also Figure 1 , a method for real-time monitoring of fish populations in rivers, comprising:

[0064] S1: Obtain the original water body sonar image collected by the sonar detector;

[0065] The sonar detector in the embodiment of the present invention is a dual-frequency identification sonar, and the dual-frequency identification sonar is set at the bottom of the fishing boat. The beam of the dual-frequency identification sonar uses an acoustic lens combination to achieve the focusing of the sound beam. Compared with the traditional beam forming technology, this method can not only reduce the corresponding electronic circuit and system power consumption, but also enable the sonar to quickly image and improve the imaging clarity.

[0066] S2: preprocessing the original water body sonar image to obtain a preprocessed water body sonar image;

[0067] Furthermore, S2 includes:

[0068] S2.1: The water body sonar image is enhanced by using a histogram model to obtain an enhanced water body sonar image; wherein the histogram model is:

[0069]

[0070] Among them, g(x,y) represents the enhanced water body sonar image, f(x,y) represents the water body sonar image, [a,b] represents the grayscale interval of the water body sonar image, a is the minimum grayscale value of all pixels in the water body sonar image, b is the maximum grayscale value of all pixels in the water body sonar image, [c,d] represents the enhanced grayscale interval, and c=0, d=255.

[0071] The present invention can improve the contrast between various objects on the water body sonar image by using a histogram model to perform image enhancement on the water body sonar image, so as to make the water body sonar image clearer.

[0072] S2.2: filtering the enhanced water body sonar image to obtain a filtered water body sonar image;

[0073] S2.2: Filtering the enhanced water body sonar image to obtain a filtered water body sonar image, including:

[0074] Using the formula:

[0075]

[0076] The enhanced water body sonar image is filtered to obtain a filtered water body sonar image; wherein g(x,y) represents the enhanced water body sonar image, h(x,y) represents the filtered water body sonar image, α represents the filter weight coefficient.

[0077] The sonar system is interfered by various noises during the signal receiving process, resulting in more or less noise in the image. The present invention can effectively eliminate the noise generated by the sonar during the image acquisition process by filtering the enhanced water body sonar image.

[0078] S2.3: Pixel fusion is performed on the filtered water body sonar image and the original water body sonar image to obtain a preprocessed water body sonar image.

[0079] S2.3: Pixel fusion of the filtered water body sonar image and the water body sonar image to obtain a preprocessed water body sonar image, including:

[0080] S2.3.1 obtain the gray value of each pixel in the enhanced water body sonar image and the original water body sonar image;

[0081] S2.3.2 adding the pixel value of each point in the enhanced water body sonar image to the pixel value of the corresponding point in the original water body sonar image to obtain the added pixel point;

[0082] S2.3.3 multiplying the added pixel points by a preset coefficient to obtain a fused pixel point;

[0083] S2.3.4 obtains a preprocessed water body sonar image based on the fused pixel points.

[0084] The present invention can alleviate the problem of disappearance of certain feature gradients in the processed water body sonar image by fusing the enhanced water body sonar image with the original water body sonar image, strengthen feature propagation, and make the image more realistic while enhancing the ability to represent geometric detail information.

[0085] S3: extracting the target from the preprocessed water body sonar image to obtain a fish distribution image;

[0086] S3: Extracting the target from the preprocessed water body sonar image to obtain a fish distribution image, including:

[0087] S3.1: Calculate the mean and variance of pixel values ​​in the preprocessed water body sonar image;

[0088] S3.2: Determine background threshold based on mean and variance;

[0089] The present invention can construct a background threshold determination formula based on the three-times standard deviation criterion. The background threshold determination formula in the embodiment of the present invention is:h =μ+β·3σ, where μ is the mean of the pixel values, σ is the variance of the pixel values, β is the threshold coefficient, T h is the background threshold.

[0090] S3.3: Extract target pixel points whose pixel values ​​are greater than the background threshold in the preprocessed water body sonar image to obtain a fish distribution image.

[0091] S4: Count the fish school distribution image to obtain the number of fish schools per unit;

[0092] S4 specifically includes:

[0093] S4.1: Binarize the fish distribution image to obtain a binary image;

[0094] S4.2: Mark the connected domains of the binary image to obtain multiple contour images;

[0095] S4.3: Calculate the area of ​​each contour image;

[0096] S4.4: The number of contour images within the preset area is taken as the unit fish number.

[0097] Since the present invention uses the background threshold to filter out most of the background, there will still be some background objects remaining, such as stones, seaweed or garbage. Therefore, the present invention selects fish from the binary image based on the area of ​​the contour image to obtain the accurate number of fish schools.

[0098] S5: Determine the number of fish in the entire water body based on the number of unit fish.

[0099] Furthermore, S5 includes:

[0100] S5.1: Obtain the sampling interval of the sonar detector and the forward speed of the fishing vessel;

[0101] S5.2: Determine the unit scanning area of ​​the sonar based on the sampling interval and the forward speed; specifically, use the formula:

[0102]

[0103] Determine the unit scanning area of ​​the sonar; where h i is the detection distance of the sonar detector, β is the detection angle of the sonar detector, L i =Δt·V, Δt is the sampling interval, V is the forward speed.

[0104] S5.3: Determine the number of fish in the entire water body based on the unit scan area and the unit fish number. Further, use the formula:

[0105]

[0106] Determine the number of fish in the entire water body; where D is the total area of ​​the water body, N is the number of fish in the entire water body, and N i is the number of fish in the i-th sampling interval, S i is the unit scanning area of ​​the i-th sampling interval, and n is the number of sampling intervals.

[0107] The present invention estimates the number of fish in the entire water body by utilizing the number of fish within a unit scanning area, thereby eliminating the need for fishing boats to conduct a carpet search of every corner of the reservoir, thus saving manpower.

[0108] See also Figure 2 The present invention also provides a real-time monitoring system for fish populations in rivers, comprising:

[0109] The original sonar image acquisition module 101 is used to acquire the original water body sonar image collected by the sonar detector;

[0110] An image preprocessing module 102 is used to preprocess the original water body sonar image to obtain a preprocessed water body sonar image;

[0111] The target extraction module 103 is used to extract the target from the pre-processed water body sonar image to obtain a fish distribution image;

[0112] The unit fish population statistics module 104 is used to obtain the unit fish population by counting the fish population distribution image;

[0113] The fish quantity calculation module 105 is used to determine the quantity of fish in the entire water body according to the quantity of unit fish school.

[0114] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0115] The present invention collects original water body sonar images by using a sonar detector, and processes the original water body sonar images to obtain the number of fish in the entire water body. It can not only evaluate the fish resources in the reservoir, but also infer the degree of water pollution. It has the advantages of high detection accuracy and fast retrieval speed.

[0116] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technical solution that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A real-time monitoring method for fish populations in rivers. It is characterized in that include: Step 1: Obtain the original water body sonar image collected by the sonar detector; Step 2: preprocessing the original water body sonar image to obtain a preprocessed water body sonar image; Step 3: extracting the target from the preprocessed water body sonar image to obtain a fish distribution image; Step 4: Counting the fish school distribution image to obtain the number of fish schools per unit; Step 5: Determine the number of fish in the entire water body according to the number of unit fish; include: Step 5.1: Obtain the sampling interval and forward speed of the sonar detector; Step 5.2: Determining the unit scanning area of ​​the sonar according to the sampling interval and the forward speed, comprising: Using the formula: Determine the unit scanning area of ​​the sonar; where h i is the detection distance of the sonar detector, β is the detection angle of the sonar detector, L i =Δt·V, Δt is the sampling interval, V is the forward speed; Step 5.3: Determine the number of fish in the entire water body according to the unit scanning area and the unit fish number, including: Using the formula: Determine the number of fish in the entire water body; where D is the total area of ​​the water body, N is the number of fish in the entire water body, and N i is the number of fish in the i-th sampling interval, S i is the unit scanning area of ​​the i-th sampling interval, and n is the number of sampling intervals; The step 2: preprocessing the original water body sonar image to obtain a preprocessed water body sonar image, comprises: Step 2.1: Using a histogram model to perform image enhancement on the water body sonar image to obtain an enhanced water body sonar image; wherein the histogram model is: Among them, g(x,y) represents the enhanced water body sonar image, f(x,y) represents the water body sonar image, [a,b] represents the grayscale interval of the water body sonar image, and [c,d] represents the enhanced grayscale interval; Step 2.2: filtering the enhanced water body sonar image to obtain a filtered water body sonar image; Step 2.3: Pixel fusion is performed on the filtered water body sonar image and the original water body sonar image to obtain a preprocessed water body sonar image.

2. A method for real-time monitoring of fish populations in a river according to claim 1, It is characterized in that The step 2.2: filtering the enhanced water body sonar image to obtain a filtered water body sonar image, comprises: Using the formula: The enhanced water body sonar image is filtered to obtain a filtered water body sonar image; wherein g(x, y) represents the enhanced water body sonar image, h(x, y) represents the filtered water body sonar image, α represents the filter weight coefficient.

3. A method for real-time monitoring of fish populations in a river according to claim 2, It is characterized in that The step 2.3: performing pixel fusion on the filtered water body sonar image and the water body sonar image to obtain a preprocessed water body sonar image, comprises: Step 2.3.1 obtains the grayscale value of each pixel in the enhanced water body sonar image and the original water body sonar image; Step 2.3.2: adding the pixel value of each point in the enhanced water body sonar image to the pixel value of the corresponding point in the original water body sonar image to obtain the added pixel point; Step 2.3.3: multiplying the added pixel points by a preset coefficient to obtain a fused pixel point; Step 2.3.4 obtains the preprocessed water body sonar image based on the fused pixel points.

4. A method for real-time monitoring of fish populations in a river according to claim 1, It is characterized in that The step 3: extracting targets from the pre-processed water body sonar image to obtain a fish distribution image, including: Step 3.1: Calculate the mean and variance of the pixel values ​​in the preprocessed water body sonar image; Step 3.2: Determine a background threshold according to the mean and the variance; Step 3.3: Extract target pixel points whose pixel values ​​are greater than the background threshold in the preprocessed water body sonar image to obtain the fish distribution image.

5. A method for real-time monitoring of fish populations in a river according to claim 1, It is characterized in that The step 4: performing statistics on the fish school distribution image to obtain the number of fish schools per unit, comprises: Step 4.1: binarizing the fish distribution image to obtain a binarized image; Step 4.2: Marking the connected domains of the binary image to obtain multiple contour images; Step 4.3: Calculate the area of ​​each contour image; Step 4.4: The number of contour images within the preset area is taken as the unit fish number.

6. A real-time monitoring system for fish populations in rivers. It is characterized in that include: The original sonar image acquisition module is used to obtain the original water body sonar image collected by the sonar detector; An image preprocessing module is used to preprocess the original water body sonar image to obtain a preprocessed water body sonar image; it includes: The water body sonar image is enhanced by using a histogram model to obtain an enhanced water body sonar image; wherein the histogram model is: Among them, g(x,y) represents the enhanced water body sonar image, f(x,y) represents the water body sonar image, [a,b] represents the grayscale interval of the water body sonar image, and [c,d] represents the enhanced grayscale interval; filtering the enhanced water body sonar image to obtain a filtered water body sonar image; Performing pixel fusion on the filtered water body sonar image and the original water body sonar image to obtain a preprocessed water body sonar image; A target extraction module is used to extract the target from the preprocessed water body sonar image to obtain a fish distribution image; A unit fish population statistics module is used to obtain the unit fish population by counting the fish population distribution image; The fish quantity calculation module is used to determine the number of fish in the entire water body according to the unit fish quantity, including: Get the sampling interval and forward speed of the sonar detector; Determining a unit scanning area of ​​the sonar according to the sampling interval and the forward speed includes: Using the formula: Determine the unit scanning area of ​​the sonar; where h i is the detection distance of the sonar detector, β is the detection angle of the sonar detector, L i =Δt·V, Δt is the sampling interval, V is the forward speed; Determining the number of fish in the entire water body according to the unit scanning area and the unit fish number includes: Using the formula: Determine the number of fish in the entire water body; where D is the total area of ​​the water body, N is the number of fish in the entire water body, and N i is the number of fish in the i-th sampling interval, S i is the unit scanning area of ​​the i-th sampling interval, and n is the number of sampling intervals.