A method for monitoring wetland plant degradation
By processing wetland plant leaf images through neural networks and combining color and area changes, the problem of low accuracy in wetland plant degradation monitoring in existing technologies has been solved, enabling comprehensive monitoring of wetland plant degradation.
Patent Information
- Application Number
- CN202311782773.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-12-22
AI Technical Summary
Existing wetland plant degradation monitoring methods rely solely on leaf color changes, resulting in low monitoring accuracy and an inability to fully reflect leaf degradation.
Wetland plant leaf images were processed using neural networks. By combining the relative chromaticity, area, and curling changes of the leaves, the degradation rate of the leaves, including the curling rate, fading rate, and total degradation rate, was obtained through the trained neural network.
It improves the accuracy of wetland plant degradation monitoring and can comprehensively reflect the degradation of leaves, including the degree of leaf curling and discoloration.
Smart Images

Figure SMS_1 
Figure SMS_2 
Figure SMS_7
Abstract
Description
Technical Field
[0001] This invention relates to the field of wetland monitoring technology, specifically a method for monitoring wetland plant degradation. Background Technology
[0002] Wetland plants are part of the self-purification system of wetland water bodies, removing harmful substances from the water through absorption, release, transformation, and degradation. Once wetland plants degrade, the self-purification capacity of the water body weakens, and the content of harmful substances in the water body increases, threatening water quality and the health of aquatic organisms.
[0003] Wetland plants thrive in moist soil. Under the influence of natural factors such as climate change and water level fluctuations, wetland plants are easily subjected to physiological and morphological losses and degradation.
[0004] Leaves are vital organs for photosynthesis in wetland plants, absorbing sunlight and converting it into energy. However, in some cases, leaves may degenerate, which can negatively impact the growth and development of wetland plants.
[0005] The normal growth and development of leaves requires a supply of various nutrients, including elements such as nitrogen, phosphorus, and potassium. If the soil lacks sufficient nutrients, plants will experience leaf degeneration. For example, nitrogen is an important component in chlorophyll synthesis; if the nitrogen content in the soil is insufficient, the plant's leaves will turn yellow or white, and may even become smaller.
[0006] In existing technologies, leaf color is commonly used to monitor wetland plants. However, wetland plant degradation is not only manifested in color changes but also in leaf curling. Therefore, existing monitoring methods suffer from low accuracy. Summary of the Invention
[0007] The purpose of this invention is to address the problem that existing monitoring methods for wetland plant degradation are not only manifested by color changes but also by leaf curling, resulting in low monitoring accuracy due to the fact that existing monitoring methods only monitor wetland plants by leaf color. Therefore, this invention proposes a new method for monitoring wetland plant degradation.
[0008] The technical solution adopted by the present invention to solve the above-mentioned technical problems is as follows:
[0009] A method for monitoring wetland plant degradation includes the following steps:
[0010] Step 1: Acquire images of the leaves of the wetland plants to be monitored, and use the trained neural network 1 to obtain the relative chromaticity estimate and leaf area estimate of the leaves of the wetland plants to be monitored.
[0011] The specific steps of step one are as follows:
[0012] Step 11: Acquire images of wetland plant leaves, perform image enhancement on the wetland plant leaf images, and then binarize the enhanced leaf images to obtain the leaf vein network;
[0013] Steps 1 and 2: In the leaf vein network, identify the intersection points of the main vein and each lateral vein. The distance between the intersection points is the lateral vein spacing.
[0014] Step 13: Obtain the intrinsic parameters and shooting position of the camera, and based on the intrinsic parameters and shooting position of the camera, obtain the actual size of the leaf vein network. Then, combine the intersection of the main vein and each lateral vein to obtain the actual average lateral vein spacing.
[0015] Step 14: Binarize the wetland plant leaf image and combine it with the camera's intrinsic parameters and shooting position to obtain the leaf area;
[0016] Step 15: Obtain the relative chromaticity of wetland plant leaf images, and use the actual average lateral vein spacing as input, and the leaf area and relative chromaticity as output to train neural network 1, and obtain the trained neural network 1.
[0017] Step 16: For the leaf images of the wetland plants to be monitored, the average value of the actual lateral vein spacing of the leaf images of the wetland plants to be monitored is obtained using steps 11 to 13. The average value of the actual lateral vein spacing of the leaf images of the wetland plants to be monitored is then input into the trained neural network 1 to obtain the output leaf area and relative chromaticity, which are the estimated values of the relative chromaticity and leaf area of the leaves of the wetland plants to be monitored.
[0018] Step 2: After image enhancement, the images of the wetland plant leaves to be monitored are binarized, and the actual value of the leaf area in the image is obtained according to the intrinsic parameters of the camera and the shooting position.
[0019] Step 3: Subtract the estimated leaf area from the actual leaf area, and input the difference into the trained neural network 2 to obtain the output leaf curling rate of wetland plants;
[0020] The training process of the neural network 2 is as follows:
[0021] Step 31: Obtain leaf images of the same wetland plant before leaf degradation and leaf images of each degradation stage;
[0022] Step 32: Binarize the image of the wetland plant leaves before leaf degradation, and combine it with the camera's intrinsic parameters and shooting position to obtain the actual value of the leaf area before degradation.
[0023] Step 33: Repeat step 32 to obtain the actual values of the leaf area at each stage of degradation;
[0024] Steps 3 and 4: Randomly select a degradation stage, and subtract the actual value of the leaf area before degradation from the actual value of the leaf area in the selected degradation stage to obtain the leaf area difference value. Finally, mark the curl rate of the wetland plant leaves in the selected degradation stage.
[0025] Step 35: Using the leaf area difference as input and the leaf curling rate of wetland plants as output, train neural network 2 to obtain the trained neural network 2;
[0026] Step 4: Obtain the actual relative chromaticity values of the leaf images of the wetland plants to be monitored, and subtract the actual relative chromaticity values from the estimated relative chromaticity values in Step 1-6. Then, input the difference into the trained neural network 3 to obtain the output fading rate of the wetland plants.
[0027] The training process of the neural network 3 is as follows:
[0028] Step 41: Based on the leaf images of the same wetland plant before leaf degradation and the leaf images of each degradation stage, obtain the relative chromaticity of the leaf image before leaf degradation and the relative chromaticity of the leaf images of each degradation stage.
[0029] Step 42: Randomly select a degradation stage, and subtract the relative chromaticity of the leaf image before degradation in Step 41 from the relative chromaticity of the selected degradation stage leaf image to obtain the relative chromaticity difference value, and mark the fading rate of the selected degradation stage wetland plant leaves.
[0030] Step 43: Using the relative chromaticity difference as input and the fading rate of wetland plant leaves as output, train neural network 3 to obtain the trained neural network 3;
[0031] Step 5: Input the leaf curling rate and leaf fading rate of wetland plants into the trained neural network 4 to obtain the output degradation rate of wetland plants;
[0032] The training process of the neural network 4 is as follows:
[0033] Step 51: Obtain leaf images of the same wetland plant at each stage of degradation, and randomly select a degradation stage. Then, use neural network 2 and neural network 3 to obtain the curling rate and fading rate of the wetland plant leaves at the selected degradation stage.
[0034] Step 52: Mark the degradation rate of wetland plant leaves;
[0035] Step 53: Using the curling rate and fading rate of wetland plant leaves as input and the degradation rate of wetland plant leaves as output, train neural network 4 to obtain the trained neural network 4.
[0036] Furthermore, the step of obtaining the relative chromaticity is as follows:
[0037] Step 1: Randomly select a region on the wetland plant leaf image, obtain all pixels in the region, and extract the grayscale values of the three primary colors of all pixels;
[0038] Step 2: Obtain the number of pixels at one gray level in the three primary color gray values, and take the ratio of the number of pixels at one gray level to the total number of pixels in the wetland plant leaf image as the frequency of the three primary colors at one gray level in the three primary color gray values;
[0039] Step 3: Repeat step 2 to obtain the frequencies of all gray levels, and obtain a gray-level histogram based on the frequencies of all gray levels, which is the relative chromaticity of wetland plant leaves.
[0040] Furthermore, the method also includes step six, specifically:
[0041] Step Six: First, acquire leaf images of different regions and types of wetland plants, and repeat steps one through five to obtain the degradation rates of different regions and types of wetland plants. Then, based on the spatial geographical location of each region, perform processing using an improved Kriging interpolation algorithm to obtain Kriging weights. Finally, based on the Kriging weights, obtain the spatial distribution of the wetland plant degradation rates. The improved Kriging interpolation algorithm processing is represented as follows:
[0042]
[0043]
[0044] in, Let be the difference between the degradation rate in the nth region and the average degradation rate across all regions. It is a semivariance function. For the error term, The spatial weights are assigned to 1 to n regions respectively.
[0045] The spatial distribution of degradation rate is represented as follows:
[0046]
[0047] in, For unknown point data values, Let be the degradation rate of the i-th region, and c be the expected value obtained by the simple averaging method of the data at unknown points.
[0048] Furthermore, the network is an improved YOLOv5 network, and the following steps are specifically performed:
[0049] The input image is processed by a baseline network for feature extraction. The extracted features are then input into the Neck network for feature enhancement and then into the Head output. The Head output contains a classification branch and a regression branch. The Head output completes target detection by classifying the features extracted by the neural network and regressing the target box.
[0050] The specific steps for feature extraction by the baseline network are as follows:
[0051] The input image is sequentially processed through the Focus network, CBL network, CSP1_1 network, CBL network, CSP1_3 network, CBL network, CSP1_3 network, CBL network, and SPP network for feature extraction.
[0052] Furthermore, the specific steps for inputting the extracted features into the Neck network, performing feature enhancement, and then inputting them into the Head output are as follows:
[0053] In the Neck, after the first CSP2_1 network passes through the first CBL network, it is upsampled and then fused with the output of the second CSP1_3 network in the first concat network. The fusion result is input into the second CSP2_1 network, and the output of the second CSP2_1 network is input into the second CBL network.
[0054] The output of the second CBL network is upsampled and then fused with the output of the first CSP1_3 network in the second concat network. The fusion result is input into the third CSP2_1 network. The output of the third CSP2_1 network is input into the third CBL network. The output of the third CBL network is fused with another output of the second CBL network in the third concat network. The fusion result is input into the fourth CSP2_1 network.
[0055] The output of the fourth CSP2_1 network is input into the fourth CBL network. The output of the fourth CBL network is fused with the other output of the first CBL network in the fourth concat network and then input into the fifth CSP2_1 network.
[0056] In the baseline network, the output of the first CSP1_3 network is fused with the feature map of the second upsampled feature map in the Neck network and then input into the third CSP2_1 network in the Neck network for feature enhancement.
[0057] The output of the second CSP1_3 network is fused with the feature map of the first upsampled feature map in the Neck network and then input into the second CSP2_1 network in the Neck network for feature enhancement.
[0058] The output of the SPP network is fused with the output of the fourth CSP2_1 network in the Neck network and then input into the last CSP2_1 network in the Neck network for feature map enhancement.
[0059] The outputs of the third, fourth, and fifth CSP2_1 networks in the Neck network are convolved and then input into the Head network.
[0060] Furthermore, the CSP1_3 network specifically performs the following steps:
[0061] The CSP1_3 network takes the features extracted by the CBL network preceding it as input. The input features undergo convolution and Leaky ReLU activation operations in the CBL network of CSP1_3 to obtain the output feature map. Then, the output feature map is input into N sets of residual calculation units to perform residual calculation on the feature map. After that, the input features from CSP1_3 and the result of the residual calculation are convolved, and the convolution result is input into the concat network for fusion. The fused result is then passed through the BN network layer, the Leaky ReLU activation layer, and the CBL network layer for further feature map extraction.
[0062] Furthermore, the residual calculation unit specifically performs the following steps:
[0063] First, the input feature maps are divided into three groups, namely X1, X2, and X3. X1 is directly extracted to obtain Y1 through convolution. X2 is processed through a 3*3 convolutional network to obtain Y2. The features of Y2 and X3 are concatenated into feature tensors and then input into a 3*3 convolutional network to obtain Y3. Finally, Y1, Y2, and Y3 are input together into a 1*1 convolutional layer for feature fusion.
[0064] Furthermore, the image enhancement is performed using a histogram equalization method.
[0065] Furthermore, the binarization is performed using an adaptive threshold segmentation method.
[0066] The beneficial effects of this invention are:
[0067] In this application, the plant degradation rate is monitored by combining changes in leaf color, leaf curling, and the degree of withering. This application has a high monitoring accuracy.
[0068] In this application, the relative chromaticity and leaf area estimates of wetland plant leaves are first obtained through a neural network. Then, the difference between the actual and estimated leaf area values is calculated; this difference represents the reduction in leaf area when the leaves curl or wither, thus yielding the curling rate. Next, the fading rate is obtained by analyzing changes in the relative chromaticity of the wetland plant leaves. Finally, based on the curling and fading rates of the wetland plant leaves, the degradation rate of the wetland plant is comprehensively calculated. This enables the monitoring of wetland plant degradation. Detailed Implementation
[0069] It should be noted that, where there is no conflict, the various embodiments disclosed in this application can be combined with each other.
[0070] Specific Implementation Method 1: The wetland plant degradation monitoring method described in this implementation method is characterized by the following steps:
[0071] Step 1: Acquire images of the leaves of the wetland plants to be monitored, and use the trained neural network 1 to obtain the relative chromaticity estimate and leaf area estimate of the leaves of the wetland plants to be monitored.
[0072] The specific steps of step one are as follows:
[0073] Step 11: Acquire images of wetland plant leaves, perform image enhancement on the wetland plant leaf images, and then binarize the enhanced leaf images to obtain the leaf vein network;
[0074] Steps 1 and 2: In the leaf vein network, identify the intersection points of the main vein and each lateral vein. The distance between the intersection points is the lateral vein spacing.
[0075] Step 13: Obtain the intrinsic parameters and shooting position of the camera, and based on the intrinsic parameters and shooting position of the camera, obtain the actual size of the leaf vein network. Then, combine the intersection of the main vein and each lateral vein to obtain the actual average lateral vein spacing.
[0076] Step 14: Binarize the wetland plant leaf image and combine it with the camera's intrinsic parameters and shooting position to obtain the leaf area;
[0077] Step 15: Obtain the relative chromaticity of wetland plant leaf images, and use the actual average lateral vein spacing as input, and the leaf area and relative chromaticity as output to train neural network 1;
[0078] Step 16: For the leaf images of the wetland plants to be monitored, the average value of the actual lateral vein spacing of the leaf images of the wetland plants to be monitored is obtained using steps 11 to 13. The average value of the actual lateral vein spacing of the leaf images of the wetland plants to be monitored is then input into the trained neural network 1 to obtain the output leaf area and relative chromaticity, which are the estimated values of the relative chromaticity and leaf area of the leaves of the wetland plants to be monitored.
[0079] Step 2: After image enhancement, the images of the wetland plant leaves to be monitored are binarized, and the actual value of the leaf area in the image is obtained according to the intrinsic parameters of the camera and the shooting position.
[0080] Step 3: Subtract the estimated leaf area from the actual leaf area and input the difference into the trained neural network 2 to obtain the leaf curling rate of wetland plants;
[0081] The training process of the neural network 2 is as follows:
[0082] Step 31: Obtain leaf images of the same wetland plant before leaf degradation and leaf images of each degradation stage;
[0083] In practical applications, the following methods can be used to obtain images of leaves of the same wetland plant before leaf degradation and images of leaves at various stages of degradation:
[0084] A wetland plant was randomly selected, and a camera was fixed in one position. During the process of leaf degradation, the camera continuously acquired images of the wetland plant's leaves. Finally, images of the wetland plant's leaves at various stages of degradation were selected from the images captured by the camera.
[0085] Step 32: Binarize the image of the wetland plant leaves before leaf degradation, and combine it with the camera's intrinsic parameters and shooting position to obtain the actual value of the leaf area before degradation.
[0086] Step 33: Repeat step 32 to obtain the actual values of the leaf area at each stage of degradation;
[0087] Steps 3 and 4: Randomly select a degradation stage, and subtract the actual value of the leaf area before degradation from the actual value of the leaf area in the selected degradation stage to obtain the leaf area difference value. Finally, mark the curl rate of the wetland plant leaves in the selected degradation stage.
[0088] Step 35: Train neural network 2 by taking the leaf area difference as input and the leaf curling rate of wetland plants as output;
[0089] Step 4: Obtain the actual relative chromaticity values of the leaf images of the wetland plants to be monitored, and subtract the actual relative chromaticity values from the estimated relative chromaticity values in Step 16. Then, input the difference into the trained neural network 3 to obtain the fading rate of the wetland plants.
[0090] The training process of the neural network 3 is as follows:
[0091] Step 41: Based on the leaf images of the same wetland plant before leaf degradation and the leaf images of each degradation stage, obtain the relative chromaticity of the leaf image before leaf degradation and the relative chromaticity of the leaf images of each degradation stage.
[0092] Step 42: Randomly select a degradation stage, and subtract the relative chromaticity of the leaf image before degradation in Step 41 from the relative chromaticity of the selected degradation stage leaf image to obtain the relative chromaticity difference value, and mark the fading rate of the selected degradation stage wetland plant leaves.
[0093] Step 43: Train the neural network 3 by taking the relative chromaticity difference as input and the fading rate of wetland plant leaves as output;
[0094] Step 5: Input the leaf curling rate and leaf fading rate of wetland plants into the trained neural network 4 to obtain the degradation rate of wetland plants;
[0095] The training process of the neural network 4 is as follows:
[0096] Step 51: Obtain leaf images of the same wetland plant at each stage of degradation, and randomly select a degradation stage. Then, use neural network 2 and neural network 3 to obtain the curling rate and fading rate of the wetland plant leaves at the selected degradation stage.
[0097] Step 52: Mark the degradation rate of wetland plant leaves;
[0098] Step 53: Train the neural network 4 by taking the curling rate and fading rate of wetland plant leaves as input and the degradation rate of wetland plant leaves as output.
[0099] The degeneration stages (processes) of wetland plant leaves mainly include three stages: early senescence, mid-senescence, and late senescence.
[0100] Early aging:
[0101] Early senescence is the first stage in the leaf senescence process. At this stage, the leaves begin to produce senescence signaling substances, such as ethylene and abscisic acid. These signaling substances can guide other tissues and cells to undergo senescence responses. The chlorophyll content of the leaves begins to decline, and changes also occur in the vacuoles and cell wall structure inside the cells.
[0102] Mid-stage aging:
[0103] Mid-stage senescence is the second stage in the leaf senescence process, during which the rate of leaf senescence gradually accelerates. Chlorophyll content continues to decrease, the activity of some important enzymes in the cytoplasm declines, and changes begin to occur in the nuclear chromatin. Simultaneously, the rate of leaf dehydration accelerates, leading to dryness and brittleness of the leaves.
[0104] Late aging:
[0105] Late senescence is the final stage of leaf senescence, at which point leaf senescence is very evident. Chlorophyll is almost completely degraded, and nuclear chromatin disintegrates within the cell nucleus. Leaf cells become completely dehydrated and can no longer perform photosynthesis and other physiological functions normally.
[0106] This application uses the interveinal spacing to characterize the leaf growth rate, and determines the leaf area and relative chroma of the leaf at the corresponding growth rate. Then, the leaf curling degree is characterized by the difference in leaf area before and after leaf curling, and the curling degree at each stage of leaf degradation is marked to determine the leaf curling degree at the current stage of leaf degradation.
[0107] Subsequently, this application obtained the relative chromaticity of the leaf before degradation and the relative chromaticity of each degradation stage, and calculated the difference between the relative chromaticity of the leaf before degradation and the relative chromaticity of the leaf at the current degradation stage, and used the difference to characterize the fading rate of the leaf.
[0108] Finally, this application uses the leaf curling degree and fading rate to reflect the leaf degradation rate.
[0109] The relative chromaticity described in this application is used in colorimetry to describe the brightness and saturation of a color. Relative chromaticity refers to the brightness of one color relative to another.
[0110] In this application, relative chromaticity can be achieved by selecting the color of a wetland plant leaf at a certain stage of its growth process as a reference. For example, a wetland plant leaf before degradation can be selected, and its three primary colors can be obtained and used as the reference three primary colors. Then, an image of the leaf to be identified is acquired, and the three primary colors of that image are obtained. The difference between the three primary colors of the image and the reference three primary colors is calculated and used as the relative chromaticity.
[0111] The reason why wetland plants' leaves fade: In fact, excessive application of nitrogen fertilizer can cause leaves with colorful stripes to fade. In addition, when dragonflies infest dracaena trees, their leaves will also fade.
[0112] Wetland plants include marsh plants, emergent plants, floating-leaved plants, floating plants, and submerged plants.
[0113] Marsh plants: There are many kinds of wetland plants, such as wetland irises, sweet flag, taro, taro, water star anise, water tiger tail, reed, reeds, rice, wild rice, water lettuce, sedges, arrowhead, sedges, and buttercups.
[0114] Emergent plants: Emergent plants are tall, upright, and have brightly colored flowers. The vast majority have stems and leaves. The lower part or base of emergent plants is submerged in water, while their roots or rhizomes grow and develop in the mud, with the upper part emerging above the water surface. Examples of emergent plants include lotus, loosestrife, calamus, water onion, vines, cattails, and reeds.
[0115] Floating-leaved plants: These plants have well-developed rhizomes, large and brightly colored flowers, and lack obvious above-ground stems or have thin, weak stems that cannot stand upright. They typically store large amounts of gas within their bodies, allowing the leaves or the entire plant to float steadily on the water's surface. Examples of floating-leaved plants include water lilies, water chestnuts, water caltrops, and mosses.
[0116] Floating plants: These plants do not grow in the mud; they float on the water surface and drift with the current. Most are valued for their foliage. Examples of floating plants include duckweed, azolla, semperflorens, sempervivum, hyacinth, water fern, and others.
[0117] Submerged plants: Their roots and stems grow in the mud, and the entire plant is submerged in water. They have particularly well-developed aerenchyma, which facilitates gas exchange in the extremely air-deficient environment of water. Their leaves are mostly narrow or filamentous, and all parts of the plant can absorb nutrients from the water. Wetland plants live in a semi-aquatic and semi-terrestrial environment, thus possessing semi-aquatic and semi-terrestrial ecological characteristics and a special structure adapted to the environment.
[0118] Common wetland plants include variegated reed, variegated water onion, variegated cattail, yellow iris, canna lily, cattail, loosestrife, sweet flag, umbrella grass, arrowhead, water plantain, red lotus seed grass, European reed, aquatic turf, sea lily, water lily, long-petaled nasturtium, tea water chestnut, and single-stemmed sedge.
[0119] Specific Implementation Method Two: This implementation method is a further explanation of Specific Implementation Method One. The difference between this implementation method and Specific Implementation Method One is that the step of obtaining the relative chromaticity is as follows:
[0120] Step 1: Randomly select a region on the wetland plant leaf image, obtain all pixels in the region, and extract the grayscale values of the three primary colors of all pixels;
[0121] Step 2: Obtain the number of pixels at one gray level in the three primary color gray values, and take the ratio of the number of pixels at one gray level to the total number of pixels in the wetland plant leaf image as the frequency of the three primary colors at one gray level in the three primary color gray values;
[0122] Step 3: Repeat step 2 to obtain the frequencies of all gray levels, and obtain a gray-level histogram based on the frequencies of all gray levels, which is the relative chromaticity of wetland plant leaves.
[0123] Specific Implementation Method Three: This implementation method is a further explanation of Specific Implementation Method Two. The difference between this implementation method and Specific Implementation Method Two is that the method further includes step six, specifically:
[0124] Step Six: First, acquire leaf images of different regions and types of wetland plants, and repeat steps one through five to obtain the degradation rates of different regions and types of wetland plants. Then, based on the spatial geographical location of each region, perform processing using an improved Kriging interpolation algorithm to obtain Kriging weights. Finally, based on the Kriging weights, obtain the spatial distribution of the wetland plant degradation rates. The improved Kriging interpolation algorithm processing is represented as follows:
[0125]
[0126]
[0127] in, Let be the difference between the degradation rate in the nth region and the average degradation rate across all regions. It is a semivariance function. The steps to obtain the semivariance function, which is the error term, are as follows: First, obtain the spatial correlation between the sampling locations of the two regions. Then, based on the degradation rate of the two regions and combined with the spatial correlation, the semivariance function is obtained. Spatial weights for regions 1 to n:
[0128] The spatial distribution of degradation rate is represented as follows:
[0129]
[0130] in, For unknown point data values, Let be the degradation rate of the i-th region, and c be the expected value obtained by the simple averaging method of the data at unknown points.
[0131] Specific Implementation Method Four: This implementation method is a further explanation of Specific Implementation Method Three. The difference between this implementation method and Specific Implementation Method Three is that the network used is an improved YOLO-v5 network. The specific steps are as follows:
[0132] The input image is processed by a baseline network for feature extraction. The extracted features are then input into the Neck network for feature enhancement and then into the Head output. The Head output contains a classification branch and a regression branch. The Head output completes target detection by classifying the features extracted by the neural network and regressing the target box.
[0133] The specific steps for feature extraction by the baseline network are as follows:
[0134] The input image is sequentially processed through the Focus network, CBL network, CSP1_1 network, CBL network, CSP1_3 network, CBL network, CSP1_3 network, CBL network, and SPP network for feature extraction.
[0135] Specific Implementation Method Five: This implementation method is a further explanation of Specific Implementation Method Four. The difference between this implementation method and Specific Implementation Method Four is that the specific steps for inputting the extracted features into the Neck network for feature enhancement and then inputting them into the Head output are as follows:
[0136] In the Neck, after the first CSP2_1 network passes through the first CBL network, it is upsampled and then fused with the output of the second CSP1_3 network in the first concat network. The fusion result is input into the second CSP2_1 network, and the output of the second CSP2_1 network is input into the second CBL network.
[0137] The output of the second CBL network is upsampled and then fused with the output of the first CSP1_3 network in the second concat network. The fusion result is input into the third CSP2_1 network. The output of the third CSP2_1 network is input into the third CBL network. The output of the third CBL network is fused with another output of the second CBL network in the third concat network. The fusion result is input into the fourth CSP2_1 network.
[0138] The output of the fourth CSP2_1 network is input into the fourth CBL network. The output of the fourth CBL network is fused with the other output of the first CBL network in the fourth concat network and then input into the fifth CSP2_1 network.
[0139] In the baseline network, the output of the first CSP1_3 network is fused with the feature map of the second upsampled feature map in the Neck network and then input into the third CSP2_1 network in the Neck network for feature enhancement.
[0140] The output of the second CSP1_3 network is fused with the feature map of the first upsampled feature map in the Neck network and then input into the second CSP2_1 network in the Neck network for feature enhancement.
[0141] The output of the SPP network is fused with the output of the fourth CSP2_1 network in the Neck network and then input into the last CSP2_1 network in the Neck network for feature map enhancement.
[0142] The outputs of the third, fourth, and fifth CSP2_1 networks in the Neck network are convolved and then input into the Head network.
[0143] Specific Implementation Method Six: This implementation method is a further explanation of Specific Implementation Method Five. The difference between this implementation method and Specific Implementation Method Five is that the CSP1_3 network specifically performs the following steps:
[0144] The CSP1_3 network takes the features extracted by the CBL network preceding it as input. The input features undergo convolution and Leaky ReLU activation operations in the CBL network of CSP1_3 to obtain the output feature map. Then, the output feature map is input into N sets of residual calculation units to perform residual calculation on the feature map. After that, the input features from CSP1_3 and the result of the residual calculation are convolved, and the convolution result is input into the concat network for fusion. The fused result is then passed through the BN network layer, the Leaky ReLU activation layer, and the CBL network layer for further feature map extraction.
[0145] Specific Implementation Method Seven: This implementation method is a further explanation of Specific Implementation Method Six. The difference between this implementation method and Specific Implementation Method Six is that the residual calculation unit specifically performs the following steps:
[0146] First, the input feature maps are divided into three groups, namely X1, X2, and X3. X1 is directly extracted to obtain Y1 through convolution. X2 is processed through a 3*3 convolutional network to obtain Y2. The features of Y2 and X3 are concatenated into feature tensors and then input into a 3*3 convolutional network to obtain Y3. Finally, Y1, Y2, and Y3 are input together into a 1*1 convolutional layer for feature fusion.
[0147] Specific Implementation Method Eight: This implementation method is a further explanation of Specific Implementation Method Seven. The difference between this implementation method and Specific Implementation Method Seven is that the image enhancement is performed using a histogram equalization method.
[0148] Specific Implementation Method Nine: This implementation method is a further explanation of Specific Implementation Method Eight. The difference between this implementation method and Specific Implementation Method Eight is that the binarization is performed using an adaptive threshold segmentation method.
[0149] It should be noted that the specific embodiments are merely explanations and illustrations of the technical solution of the present invention and should not be used to limit the scope of protection. Any modifications made in accordance with the claims and specification of the present invention that are only partial should still fall within the protection scope of the present invention.
Claims
1. A method for monitoring wetland plant degradation, characterized in that... Includes the following steps: Step 1: Acquire images of the leaves of the wetland plants to be monitored, and use the trained neural network 1 to obtain the relative chromaticity estimate and leaf area estimate of the leaves of the wetland plants to be monitored. The specific steps of step one are as follows: Step 11: Acquire images of wetland plant leaves, perform image enhancement on the wetland plant leaf images, and then binarize the enhanced leaf images to obtain the leaf vein network; Steps 1 and 2: In the leaf vein network, identify the intersection points of the main vein and each lateral vein. The distance between the intersection points is the lateral vein spacing. Step 13: Obtain the intrinsic parameters and shooting position of the camera, and based on the intrinsic parameters and shooting position of the camera, obtain the actual size of the leaf vein network. Then, combine the intersection of the main vein and each lateral vein to obtain the actual average lateral vein spacing. Step 14: Binarize the wetland plant leaf image and combine it with the camera's intrinsic parameters and shooting position to obtain the leaf area; Step 15: Obtain the relative chromaticity of wetland plant leaf images, and use the actual average lateral vein spacing as input, and the leaf area and relative chromaticity as output to train neural network 1 to obtain trained neural network 1. Step 16: For the leaf images of the wetland plants to be monitored, the average value of the actual lateral vein spacing of the leaf images of the wetland plants to be monitored is obtained using steps 11 to 13. The average value of the actual lateral vein spacing of the leaf images of the wetland plants to be monitored is then input into the trained neural network 1 to obtain the output leaf area and relative chromaticity, which are the estimated values of the relative chromaticity and leaf area of the leaves of the wetland plants to be monitored. Step 2: After image enhancement, the images of the wetland plant leaves to be monitored are binarized, and the actual value of the leaf area in the image is obtained according to the intrinsic parameters of the camera and the shooting position. Step 3: Subtract the estimated leaf area from the actual leaf area, and input the difference into the trained neural network 2 to obtain the output leaf curling rate of wetland plants; The training process of the neural network 2 is as follows: Step 31: Obtain leaf images of the same wetland plant before leaf degradation and leaf images of each degradation stage; Step 32: Binarize the image of the wetland plant leaves before leaf degradation, and combine it with the camera's intrinsic parameters and shooting position to obtain the actual value of the leaf area before degradation. Step 33: Repeat step 32 to obtain the actual values of the leaf area at each stage of degradation; Steps 3 and 4: Randomly select a degradation stage, and subtract the actual value of the leaf area before degradation from the actual value of the leaf area in the selected degradation stage to obtain the leaf area difference value. Finally, mark the curl rate of the wetland plant leaves in the selected degradation stage. Step 35: Using the leaf area difference as input and the leaf curling rate of wetland plants as output, train neural network 2 to obtain the trained neural network 2; Step 4: Obtain the actual relative chromaticity values of the leaf images of the wetland plants to be monitored, and subtract the actual relative chromaticity values from the estimated relative chromaticity values in Step 1-6. Then, input the difference into the trained neural network 3 to obtain the output fading rate of the wetland plants. The training process of the neural network 3 is as follows: Step 41: Based on the leaf images of the same wetland plant before leaf degradation and the leaf images of each degradation stage, obtain the relative chromaticity of the leaf image before leaf degradation and the relative chromaticity of the leaf images of each degradation stage. Step 42: Randomly select a degradation stage, and subtract the relative chromaticity of the leaf image before degradation in Step 41 from the relative chromaticity of the selected degradation stage leaf image to obtain the relative chromaticity difference value, and mark the fading rate of the selected degradation stage wetland plant leaves. Step 43: Using the relative chromaticity difference as input and the fading rate of wetland plant leaves as output, train neural network 3 to obtain the trained neural network 3; Step 5: Input the leaf curling rate and leaf fading rate of wetland plants into the trained neural network 4 to obtain the output degradation rate of wetland plants; The training process of the neural network 4 is as follows: Step 51: Obtain leaf images of the same wetland plant at each stage of degradation, and randomly select a degradation stage. Then, use neural network 2 and neural network 3 to obtain the curling rate and fading rate of the wetland plant leaves at the selected degradation stage. Step 52: Mark the degradation rate of wetland plant leaves; Step 53: Using the curling rate and fading rate of wetland plant leaves as input and the degradation rate of wetland plant leaves as output, train neural network 4 to obtain the trained neural network 4.
2. The method for monitoring wetland plant degradation according to claim 1, characterized in that... The steps for obtaining the relative chromaticity are as follows: Step 1: Randomly select a region on the wetland plant leaf image, obtain all pixels in the region, and extract the grayscale values of the three primary colors of all pixels; Step 2: Obtain the number of pixels at one gray level in the three primary color gray values, and take the ratio of the number of pixels at one gray level to the total number of pixels in the wetland plant leaf image as the frequency of the three primary colors at one gray level in the three primary color gray values; Step 3: Repeat step 2 to obtain the frequencies of all gray levels, and obtain a gray-level histogram based on the frequencies of all gray levels, which is the relative chromaticity of wetland plant leaves.
3. The method for monitoring wetland plant degradation according to claim 1, characterized in that... The method further includes step six, which is as follows: Step Six: First, acquire leaf images of different regions and types of wetland plants, and repeat steps one through five to obtain the degradation rates of different regions and types of wetland plants. Then, based on the spatial geographical location of each region, perform processing using an improved Kriging interpolation algorithm to obtain Kriging weights. Finally, based on the Kriging weights, obtain the spatial distribution of the wetland plant degradation rates. The improved Kriging interpolation algorithm processing is represented as follows: in, Let be the difference between the degradation rate in the nth region and the average degradation rate across all regions. It is a semivariance function. For error terms, The spatial weights are assigned to 1 to n regions respectively. The spatial distribution of degradation rate is represented as follows: in, For unknown point data values, Let be the degradation rate of the i-th region, and c be the expected value obtained by the simple averaging method of the data at unknown points.
4. The method for monitoring wetland plant degradation according to claim 1, characterized in that... The network in question is an improved YOLOv5 network, and the specific steps are as follows: The input image is processed by a baseline network for feature extraction. The extracted features are then input into the Neck network for feature enhancement and then into the Head output. The Head output contains a classification branch and a regression branch. The Head output completes target detection by classifying the features extracted by the neural network and regressing the target box. The specific steps for feature extraction by the baseline network are as follows: The input image is sequentially processed through the Focus network, CBL network, CSP1_1 network, CBL network, CSP1_3 network, CBL network, CSP1_3 network, CBL network, and SPP network for feature extraction.
5. The wetland vegetation degradation monitoring method according to claim 4, characterized in that... The specific steps for inputting the extracted features into the Neck network, performing feature enhancement, and then inputting them into the Head output are as follows: In the Neck, after the first CSP2_1 network passes through the first CBL network, it is upsampled and then fused with the output of the second CSP1_3 network in the first concat network. The fusion result is input into the second CSP2_1 network, and the output of the second CSP2_1 network is input into the second CBL network. The output of the second CBL network is upsampled and then fused with the output of the first CSP1_3 network in the second concat network. The fusion result is input into the third CSP2_1 network. The output of the third CSP2_1 network is input into the third CBL network. The output of the third CBL network is fused with another output of the second CBL network in the third concat network. The fusion result is input into the fourth CSP2_1 network. The output of the fourth CSP2_1 network is input into the fourth CBL network. The output of the fourth CBL network is fused with the other output of the first CBL network in the fourth concat network and then input into the fifth CSP2_1 network. In the baseline network, the output of the first CSP1_3 network is fused with the feature map of the second upsampled feature map in the Neck network and then input into the third CSP2_1 network in the Neck network for feature enhancement. The output of the second CSP1_3 network is fused with the feature map of the first upsampled feature map in the Neck network and then input into the second CSP2_1 network in the Neck network for feature enhancement. The output of the SPP network is fused with the output of the fourth CSP2_1 network in the Neck network and then input into the last CSP2_1 network in the Neck network for feature map enhancement. The outputs of the third, fourth, and fifth CSP2_1 networks in the Neck network are convolved and then input into the Head network.
6. The wetland vegetation degradation monitoring method according to claim 5, characterized in that... The CSP1_3 network specifically performs the following steps: The CSP1_3 network takes the features extracted by the CBL network preceding it as input. The input features undergo convolution and Leaky ReLU activation operations in the CBL network of CSP1_3 to obtain the output feature map. Then, the output feature map is input into N sets of residual calculation units to perform residual calculation on the feature map. After that, the input features from CSP1_3 and the result of the residual calculation are convolved, and the convolution result is input into the concat network for fusion. The fused result is then passed through the BN network layer, the Leaky ReLU activation layer, and the CBL network layer for further feature map extraction.
7. A method for monitoring wetland plant degradation according to claim 6, characterized in that... The residual calculation unit specifically performs the following steps: First, the input feature maps are divided into three groups, namely X1, X2, and X3. X1 is directly extracted to obtain Y1 through convolution. X2 is processed through a 3*3 convolutional network to obtain Y2. The features of Y2 and X3 are concatenated into feature tensors and then input into a 3*3 convolutional network to obtain Y3. Finally, Y1, Y2, and Y3 are input together into a 1*1 convolutional layer for feature fusion.
8. The method for monitoring wetland plant degradation according to claim 1, characterized in that... The image enhancement is performed using a histogram equalization method.
9. A method for monitoring wetland plant degradation according to claim 1, characterized in that... The binarization is performed using an adaptive threshold segmentation method.
Citation Information
Patent Citations
Detection instrument and detection method for chlorophyll and nitrogen content of cotton leaves
CN114755228A
Wetland degradation extraction method and system based on remote sensing
CN117036978A
