Automatic identification method for cultivation purse seine in plain area based on high-resolution remote sensing image
By using a variety of features to form feature vectors in complex ground object images, including water color index and morphological features, combined with wavelet transform, the problem of high error rate in fence area identification in the existing technology is solved, and a more accurate fence is achieved. Area identification reduces the probability of misidentification and enhances the distinguishing characteristics of water features.
Patent Information
- Application Number
- CN202410472826.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-18
- Publication Date
- 2024-08-23
AI Technical Summary
Existing technology is difficult to accurately identify fenced areas in complex ground object images, resulting in a high recognition error rate and inability to effectively monitor and evaluate the effectiveness of water ecological protection and restoration.
A variety of features are used to form feature vectors, including water color index, morphological features and wavelet transform. By calculating water color index, extracting histogram threshold, image binarization, noise removal, recording boundary points, extracting area, eccentricity and Frey The ratio of the special diameter to the length of the equivalent hypotenuse of the quadrilateral forms a feature vector to identify the fence area.
Significantly reduces the recognition error rate, improves the recognition accuracy of the fence area, can correctly distinguish the fence area from other water features, removes salt and pepper noise, reduces high-frequency components, enhances the distinguishing characteristics of water features, and reduces misidentification Probability.
Smart Images

Figure CN118537720A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fence recognition, and in particular to an automatic recognition method for aquaculture fences in plain areas based on high-resolution remote sensing images. Background Art
[0002] Carrying out enclosure farming can bring rich economic benefits and promote economic development. However, high-density enclosure farming will disrupt the ecological balance of regional water bodies, destroy aquatic plant resources, and cause the decline of water ecological environment. On the one hand, the remaining bait and fish and crab excrement from enclosure farming will increase the concentration of nitrogen and phosphorus in the water body, leading to endogenous pollution of the water body; on the other hand, due to the destruction of aquatic plants in the enclosure farming area, the self-purification capacity of the water body is reduced, resulting in aggravated eutrophication of the water body and deterioration of water quality, which ultimately affects the health of the water ecological environment.
[0003] In accordance with the principles of scientific advancement, objectivity and accuracy, it is necessary to monitor the changes in aquaculture enclosures in the main streams, major tributaries, key lakes and reservoirs of the Yangtze River Basin involving aquatic biological habitats. Obtaining and mastering the spatial distribution characteristics and changes in enclosure aquaculture areas is of great significance for objectively evaluating the effectiveness of water ecological protection and restoration in the Yangtze River Basin and supporting the pilot work of water ecological assessment in the Yangtze River Basin.
[0004] The existing technology is to extract the fence area by calculating the mean and variance of the grayscale value of the fence sample area in the image and manually determining the threshold. The noise removal method is to remove the "salt and pepper" noise by median filtering, remove the low-frequency noise by Laplace transform, and use morphological operations such as expansion and corrosion to remove debris to improve the extraction accuracy. Its basic flow chart is as follows Figure 1 As shown, however, the existing method for extracting fences only uses morphological algorithms and sharpening algorithms, and the feature values of fence extraction only use the mean and variance of the image grayscale value, which cannot adapt to the fence extraction work in images containing complex objects.
[0005] Therefore, it is necessary to provide a new automatic identification method for aquaculture fences in plain areas based on high-resolution remote sensing images to solve the above technical problems. Summary of the invention
[0006] The technical problem solved by the present invention is to provide an automated identification method for aquaculture enclosures in plain areas based on high-resolution remote sensing images, which uses multiple features to form feature vectors, more accurately identifies enclosure areas, and reduces the recognition error rate.
[0007] In order to solve the above technical problems, the present invention provides a method for automatically identifying aquaculture fences in plain areas based on high-resolution remote sensing images, which comprises the following steps:
[0008] S1: First, the water color index of the image is calculated using the near-infrared band and the green band of the image, and then the water color threshold is determined based on the histogram statistics of the water color index;
[0009] S2: Use the threshold to binarize the image, use the opening and erosion operations in morphology to divide the enclosure area into independent small blocks, use Laplace transform to highlight the image boundary, and use two-dimensional wavelet transform to remove salt and pepper noise in the image;
[0010] S3: Use an array to record the boundary points of each boundary;
[0011] S4: extract the area, eccentricity and ratio of the Frett diameter to the equivalent hypotenuse length of the quadrilateral for each image enclosed by the boundary and form a feature vector;
[0012] S5: Manually select a typical fence area and calculate the feature vector to form a threshold, and finally identify the fence pattern based on the threshold.
[0013] Preferably, in S1, the histogram statistics function is subjected to two wavelet transforms using the db3 wavelet function and then the histogram is extracted. Figure 2 The valley point of the statistical function is determined by the level profile and the valley point is used as the water color threshold.
[0014] Preferably, in S2, the coif3 wavelet function is used to perform wavelet transform on the image, and after the transform, the detail components below 20 are changed to 0, and then after the inverse transform, the image is binarized again using the histogram threshold determination method.
[0015] Preferably, the method for determining the threshold value using the histogram includes: using the db3 wavelet function to perform two wavelet transforms on the histogram statistical function and then extracting the histogram. Figure 2 The level profile determines the valley points of the statistical function.
[0016] Compared with the related art, the automatic identification method of aquaculture fences in plain areas based on high-resolution remote sensing images provided by the present invention has the following beneficial effects:
[0017] The invention provides an automatic identification method for aquaculture enclosures in plain areas based on high-resolution remote sensing images. The method can strengthen the distinguishing features between enclosure areas and other non-water body objects by calculating a water color index, and distinguish other non-water body objects. The method can use wavelet transform to calculate the overview and details in a histogram or an image to be identified, distinguish the extreme points of the histogram according to the calculated overview, and reduce the high-frequency components of the original image by changing the details, thereby filtering out the salt-and-pepper noise dominated by the high-frequency components. The method can distinguish enclosure areas by distinguishing the morphological features of different water areas, and use three features, namely, area, eccentricity, and the ratio of the Fret diameter to the equivalent hypotenuse length of a quadrilateral, as feature vectors to distinguish enclosure areas, thereby reducing the error probability. The method can distinguish rivers and enclosure water bodies by the eccentricity, distinguish small ponds and enclosure water bodies by the area, and distinguish quasi-rectangles by the ratio of the Fret diameter to the equivalent hypotenuse length of a quadrilateral. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flow chart in the prior art;
[0019] Figure 2 A flow chart of the method for automatically identifying aquaculture enclosures in plain areas based on high-resolution remote sensing images provided by the present invention;
[0020] Figure 3 The automatic identification method of aquaculture enclosures in plain areas based on high-resolution remote sensing images provided by the present invention effectively extracts enclosures on the lakeside, and the result diagrams of each key step;
[0021] Figure 4 In the automatic identification method of aquaculture enclosures in plain areas based on high-resolution remote sensing images provided by the present invention, when the image includes non-water bodies such as houses and roads, the water color index can correctly identify the water body objects in the image;
[0022] Figure 5 In the method for automatic identification of aquaculture enclosures in plain areas based on high-resolution remote sensing images provided by the present invention, when the remote sensing image includes salt and pepper noise, the third-order wavelet transform can effectively remove the before and after images of the noise;
[0023] Figure 6 In the automatic identification method of aquaculture fences in plain areas based on high-resolution remote sensing images provided by the present invention, the ratio of the Fret diameter to the equivalent hypotenuse length of the quadrilateral can be used to identify the different water body landforms displayed after the quasi-rectangle is identified. DETAILED DESCRIPTION
[0024] The present invention will be further described below in conjunction with the accompanying drawings and implementation modes.
[0025] Please refer to Figure 2 , Figure 3 , Figure 4 , Figure 5 and Figure 6 ,in, Figure 2 A flow chart of the method for automatically identifying aquaculture enclosures in plain areas based on high-resolution remote sensing images provided by the present invention; Figure 3 The automatic identification method of aquaculture enclosures in plain areas based on high-resolution remote sensing images provided by the present invention effectively extracts enclosures on the lakeside, and the result diagrams of each key step; Figure 4 In the automatic identification method of aquaculture enclosures in plain areas based on high-resolution remote sensing images provided by the present invention, when the image includes non-water bodies such as houses and roads, the water color index can correctly identify the water body objects in the image; Figure 5 In the method for automatic identification of aquaculture enclosures in plain areas based on high-resolution remote sensing images provided by the present invention, when the remote sensing image includes salt and pepper noise, the third-order wavelet transform can effectively remove the before and after images of the noise; Figure 6 In the automatic identification method of aquaculture fences in plain areas based on high-resolution remote sensing images provided by the present invention, the ratio of the Frater diameter to the equivalent hypotenuse length of the quadrilateral can be used to identify the different water body features displayed after the quasi-rectangle. The automatic identification method of aquaculture fences in plain areas based on high-resolution remote sensing images includes the following steps: firstly, the water color index of the image is calculated using the near-infrared band and the green band of the image, and then the water color threshold is determined based on the histogram statistics of the water color index. The determination method is to use the db3 wavelet function to perform two wavelet transforms on the histogram statistics function and then extract the histogram. Figure 2 The valley point of the statistical function is determined by the level overview and the valley point is used as the water color threshold. Then the threshold is used to binarize the image. Then the opening operation and erosion operation in morphology are used to divide the enclosure area into independent small blocks. Then the image is transformed by Laplace transform to highlight the image boundary. Then the two-dimensional wavelet transform is used to remove the salt and pepper noise in the image. The determination method is to use the coif3 wavelet function to perform wavelet transform on the image. After the transformation, the detail components below 20 are changed to 0. Then the histogram threshold determination method is used after the inverse transformation (the histogram statistical function is transformed twice by using the db3 wavelet function and the histogram is extracted). Figure 2 The image is binarized again (determine the valley point of the statistical function based on the level overview), and then an array is used to record the boundary points of each boundary. Then, for each boundary-enclosed image, the area, eccentricity, and the ratio of the Frett diameter to the equivalent hypotenuse length of the quadrilateral are extracted to form a feature vector. Then, typical fence areas are manually selected and the feature vectors are calculated to form a threshold. Finally, the fence pattern is recognized according to the threshold.
[0026] In the method for automatic identification of aquaculture fences in plain areas based on high-resolution remote sensing images provided by the present invention:
[0027] The algorithm flow of automatic extraction of enclosure area is as follows: calculate the water color index that can distinguish water bodies; perform histogram statistics on the image; use wavelet transform to calculate the classification threshold of the histogram; automatically use the threshold to exclude non-water bodies from the image; use the edge detection algorithm to highlight the boundaries of water bodies, and increase each boundary through corrosion and opening operations; use wavelet transform or other methods to remove high-frequency salt and pepper noise in the image; record all boundaries on the image, including the boundary position and boundary points of each boundary; extract the morphological features of the boundary composition graphics; manually select samples, let the machine learn and record the morphological features of different water bodies; classify the image according to the feature threshold;
[0028] The feature selection method of the fenced area in the algorithm process is as follows: the fenced area has many morphological features, including rectangular coefficient, area, perimeter, number of right angles, angle between the image center axis and x, etc. Since the fenced area is generally located in the water area, relative to the natural water body, the fenced area often exhibits the morphological characteristics of a convex quadrilateral. The present invention creates a new type of morphological feature based on the relationship between the perimeter, area and Feret diameter of a convex quadrilateral. The calculation method of this feature is as follows.
[0029] K = (L2 / 4-2S) / D. The closer the ratio is to 1, the closer the quadrilateral is to a rectangle, where L is the perimeter, S is the area, and D is the Feret diameter. In order to increase the accuracy of recognition and remove the influence of regular river channels and small water bodies on the final results, the present invention adds two morphological features, area and eccentricity, during the extraction process. The one with a large eccentricity is a river channel, and the one with a small area is a small water body.
[0030] Morphological feature calculation algorithms involved in the algorithm flow:
[0031] The present invention involves four morphological features, including the perimeter of each figure boundary after segmentation, the enclosed area, the eccentricity of the circumscribed ellipse and the Fret diameter. The calculation methods of each are as follows: the perimeter is the length of the boundary point position vector; the area is the number of all pixels within the boundary; the eccentricity of the circumscribed ellipse; the maximum Fret diameter is the maximum value of the distance between the figure grid points, where the grid point is the outermost point of a pixel in the figure with only one adjacent pixel.
[0032] The calculation algorithm of the fence area threshold in the algorithm process:
[0033] The present invention is an automatic threshold calculation algorithm, a machine learning algorithm with manual intervention of the threshold calculation algorithm. The specific steps are as follows: after the program calculates the boundary, the boundary and position of each figure are recorded; the program automatically and randomly gives boundary figure samples of different areas; the type of sample is manually determined and fed back to the program; the program calculates the eigenvalue vectors of different samples; and the threshold is calculated according to the degree of aggregation of the eigenvector.
[0034] Compared with the related art, the automatic identification method of aquaculture fences in plain areas based on high-resolution remote sensing images provided by the present invention has the following beneficial effects:
[0035] 1. By calculating the water color index, the distinguishing features between the enclosure area and other non-water features can be enhanced and other non-water features can be distinguished. Figure 4 As shown in the figure, when the image includes non-water bodies such as houses and roads, the water color index can correctly identify the water bodies in the image;
[0036] 2. Remote sensing images are often accompanied by salt and pepper noise due to meteorological and topographical reasons. Wavelet transform can be used to calculate the histogram or identify the general features and details in the image. The extreme points of the histogram can be distinguished based on the calculated general features. The high-frequency components of the original image can be reduced by changing the details, thereby filtering out the salt and pepper noise dominated by high-frequency components. Figure 5 As shown in the figure, when the remote sensing image contains salt and pepper noise, the third-order wavelet transform can effectively remove the noise.
[0037] 3. The characteristics of the enclosure area and other water bodies are often manifested in morphology and cannot be separated by mathematical operations of the spectrum. The present invention mainly distinguishes the morphological characteristics of different water areas to distinguish the enclosure areas. A single feature will increase the error probability of machine classification. The present invention uses three features, namely area, eccentricity, and the ratio of the Frater diameter to the equivalent hypotenuse length of a quadrilateral, as feature vectors to distinguish the enclosure area and reduce the error probability. Enclosed water bodies are often confused with rivers, small ponds, etc. The eccentricity can distinguish between rivers and enclosed water bodies, and the area can distinguish between small ponds and enclosed water bodies. Enclosed water bodies are generally morphologically manifested as quasi-rectangular, and the quasi-rectangular can be identified by the ratio of the Frater diameter to the equivalent hypotenuse length of a quadrilateral. Figure 6 The appearances of different water bodies are shown respectively (A is a seine, B is a river, and C is a natural water body). The table shows the three characteristic values of different water bodies: eccentricity, area, and the ratio of Frett's diameter to the equivalent hypotenuse length of the quadrilateral.
[0038] Land feature classification purse seine river Natural water bodies Eccentricity 0.7646 0.9444 0.6116 area 57847 92102 48571 Length ratio 1.401 3.682 7.224
[0039] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An automated identification method for aquaculture enclosures in plain areas based on high-resolution remote sensing images. It is characterized in that The following steps are involved: S1: First, the water color index of the image is calculated using the near-infrared band and the green band of the image, and then the water color threshold is determined based on the histogram statistics of the water color index; S2: Use the threshold to binarize the image, use the opening and erosion operations in morphology to divide the enclosure area into independent small blocks, use Laplace transform to highlight the image boundary, and use two-dimensional wavelet transform to remove salt and pepper noise in the image; S3: Use an array to record the boundary points of each boundary; S4: extract the area, eccentricity and ratio of the Frett diameter to the equivalent hypotenuse length of the quadrilateral for each image enclosed by the boundary and form a feature vector; S5: Manually select a typical fence area and calculate the feature vector to form a threshold, and finally identify the fence pattern based on the threshold.
2. The method for automatically identifying aquaculture fences in plain areas based on high-resolution remote sensing images according to claim 1, It is characterized in that In S1, the db3 wavelet function is used to perform two wavelet transforms on the histogram statistical function, and then the secondary overview of the histogram is extracted to determine the valley point of the statistical function and the valley point is used as the water color threshold.
3. The method for automatically identifying aquaculture fences in plain areas based on high-resolution remote sensing images according to claim 2, It is characterized in that In S2, the coif3 wavelet function is used to perform wavelet transform on the image, and after the transform, the detail components below 20 are changed to 0, and then after the inverse transform, the image is binarized again using the histogram threshold determination method.
4. The method for automatically identifying aquaculture fences in plain areas based on high-resolution remote sensing images according to claim 3, It is characterized in that The method for determining the threshold value using the histogram includes: using the db3 wavelet function to perform two wavelet transforms on the histogram statistical function, and then extracting the secondary overview of the histogram to determine the valley point of the statistical function.
