A forage planting area planning method based on image processing

CN118657666BActive Publication Date: 2024-10-18GUIZHOU UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411126667.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-10-18
Estimated Expiration
2044-08-16

Smart Images

  • Figure CN118657666B_ABST
    Figure CN118657666B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of image data processing technology, and in particular to a forage grass planting area planning method based on image processing, comprising: obtaining a pre-sowing image and a growth period image of a forage grass planting area, determining the land characteristics of the planting area according to the pre-sowing image, obtaining a grayscale histogram curve of the growth period image, determining the matching degree of the peak according to the peak characteristics of the grayscale histogram curve, determining a newly appeared peak, determining forage grass pixels according to the number of pixel points corresponding to the newly appeared peak and the number of pixel points corresponding to the peak whose matching degree changes due to the newly appeared peak, determining the growth quality of forage grass under the current land characteristics according to the grayscale value and distribution of the forage grass pixel points, and planning the planting area according to the growth quality. The present invention evaluates the growth quality of forage grass in the planting area by analyzing the growth period image, and provides data support for the planting area planning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of image data processing, and in particular to a forage planting area planning method based on image processing. Background Art

[0002] Forage is generally used for livestock consumption. It has strong regeneration ability and is rich in various trace elements and vitamins. These natural ingredients play an irreplaceable role in maintaining the physiological functions of livestock, enhancing immunity and improving meat quality. Therefore, the planting and cultivation of forage directly affects the dual improvement of animal husbandry production efficiency and product quality. Due to the differences in forage varieties, reasonable planning of planting areas is particularly important. The soil conditions, climate conditions, and water resources in different regions will have a significant impact on the yield and nutrient content of forage. Therefore, it is necessary to reasonably plan the planting area and select the most suitable forage for planting to maximize the utilization of the planting area and optimize the forage yield.

[0003] Currently, the selection of forage planting areas and the evaluation of forage quality mainly rely on traditional manual experience and intuitive judgment. Although this method is simple and easy, it is limited by the limitations and subjectivity of personal experience, and it is difficult to fully and accurately reflect the actual situation. It lacks scientific and rigorous data support. Summary of the invention

[0004] The invention provides a forage grass planting area planning method based on image processing to solve the existing problems.

[0005] The forage grass planting area planning method based on image processing of the present invention adopts the following technical scheme:

[0006] An embodiment of the present invention provides a forage grass planting area planning method based on image processing, the method comprising the following steps:

[0007] Acquiring images of a forage grass planting area, wherein the images include pre-sowing images and growth period images of the forage grass planting area;

[0008] Determine the land characteristics of the planting area based on pre-planting images;

[0009] Obtaining a grayscale histogram curve of the growth period image, and determining a matching degree of a peak in the grayscale histogram curve of the growth period image according to a peak feature of the grayscale histogram curve of the growth period image;

[0010] Determine a newly appeared wave peak in the grayscale histogram curve corresponding to the growth period image, determine the possibility that the newly appeared wave peak represents the grayscale distribution of the forage pixel point according to the number of pixel points corresponding to the newly appeared wave peak and the number of pixel points corresponding to the wave peak whose matching degree changes due to the newly appeared wave peak, and determine the forage pixel point;

[0011] According to the gray value and distribution of forage pixel points, the growth quality of forage under the current land characteristics is determined, and the planting area is planned according to the forage growth quality.

[0012] Furthermore, the specific method of determining the land characteristics of the planting area includes:

[0013] Use semantic segmentation algorithms to perform semantic segmentation on pre-sowing images and identify land areas, ridges, and water source areas in the planting area;

[0014] The image of the land area is converted into the Munsell color system, and the converted color is compared with the standard soil colorimetric card to determine the pH value of the land area. The area of ​​the water source area is then compared with the area of ​​the entire planting area to obtain the water source ratio of the planting area. The pH value of the land area and the water source ratio of the planting area are used as the land characteristics of the planting area.

[0015] Furthermore, the determination of the matching degree of the peaks in the grayscale histogram curve during the growth period includes the following specific methods:

[0016] The grayscale histogram curves of any two adjacent growth period images in the growth period are placed in the same coordinate graph, the Euclidean distance between any peak in any grayscale histogram curve and any peak in its adjacent histogram curve is calculated, the peak with the smallest Euclidean distance is selected and recorded as the adjacent peak of the arbitrary peak, the area of ​​the arbitrary peak and its adjacent peak is obtained, the area of ​​the peak is the area of ​​the closed figure surrounded by the adjacent troughs on the left and right sides of the peak and the grayscale histogram curve and the coordinate system, the area of ​​any peak in any histogram curve in the growth cycle and its adjacent peak is obtained, and the matching degree of any peak and the adjacent peak in any grayscale histogram curve in the growth period is determined according to the area of ​​the peak and the Euclidean distance between the peaks.

[0017] Furthermore, the specific calculation method of the matching degree between any peak and adjacent peak in any grayscale histogram curve during the growth period is:

[0018]

[0019] Indicates the growth period The grayscale histogram curve The matching degree of a peak with the adjacent peaks of the peak; Indicates the growth period The grayscale histogram curve The Euclidean distance between a peak and its adjacent peaks; Indicates the growth period The grayscale histogram curve The area difference between a peak and an adjacent peak of the peak; Represents the normalization function.

[0020] Furthermore, the method of determining the newly appeared peak in the grayscale histogram curve corresponding to the growth period image includes the following specific methods:

[0021] A peak-finding algorithm is used to determine the number of peaks in the grayscale histogram curve of each growth period image. If the number of peaks in the grayscale histogram curves of two adjacent growth period images is inconsistent, the degree of match between any peak in the grayscale histogram curve of any growth period image and any peak in the grayscale histogram curve of the growth period image one day after the corresponding date of the growth period image is calculated. The peak with the lowest degree of match between the grayscale histogram curve of the growth period image one day after the corresponding date and all the peaks in the grayscale histogram curve of any growth period image is recorded as the newly appeared peak.

[0022] Furthermore, the specific calculation method of the possibility that the newly appeared wave peak represents the grayscale distribution of the forage pixel point is:

[0023]

[0024] In the formula, It indicates the possibility that the newly appeared peak represents the grayscale distribution of the forage pixel; Indicates the absolute value of the difference in the number of pixels corresponding to the newly appeared peak between the grayscale histogram curve where the newly appeared peak is located and the grayscale histogram curve of the day after the date corresponding to the grayscale histogram curve; Indicates the absolute value of the difference in the number of pixels corresponding to two peaks whose matching degree has changed in the grayscale histogram curve where the newly appeared peak is located and the grayscale histogram curve of the day after the date corresponding to the grayscale histogram curve; Represents the normalization function.

[0025] Furthermore, the specific method of determining the forage pixel point includes:

[0026] A first threshold is preset, and when the possibility that a newly appeared wave peak represents the grayscale distribution of a forage pixel point is greater than the preset first threshold, the pixel point of the grayscale value corresponding to the newly appeared wave peak in the growth period image is taken as the forage pixel point, and when the possibility that a newly appeared wave peak represents the grayscale distribution of a forage pixel point is less than or equal to the preset first threshold, the next grayscale histogram curve of the grayscale histogram curve where the newly appeared wave peak is located is calculated to determine the possibility that the newly appeared wave peak in the grayscale histogram curve represents the grayscale distribution of the forage pixel point until the forage pixel point is determined.

[0027] Furthermore, the specific method of determining the growth quality of forage grass under the current land characteristics includes:

[0028] The grayscale value corresponding to the color of the forage in the mature period is obtained, and the growth quality of the forage under the current land characteristics is determined according to the grayscale value corresponding to the color of the forage in the mature period, the grayscale value corresponding to the peak representing the forage pixel, the sum of the area of ​​the forage pixel and the area of ​​the entire image.

[0029] Furthermore, the specific calculation method of the growth quality of the forage under the current land characteristics is:

[0030]

[0031] In the formula, Indicates the quality of forage growth under current land characteristics; Indicates the number of growth period images where forage pixels appear; Indicates The gray value of the forage pixel in the growth period image where the forage pixel appears; Indicates The gray value of the forage pixel in the growth period image where the forage pixel appears; Indicates the gray value corresponding to the color of the forage at maturity; Indicates the grayscale value of the forage pixel in the last growth period image; It represents the ratio of the sum of the areas of the forage pixels in the last growth period image to the area of ​​the entire image; Indicates taking the absolute value.

[0032] Furthermore, the grayscale histogram curve of the growth period image is obtained, including the specific method of:

[0033] The growth period images are grayed to obtain grayscale images of the growth period images, and a grayscale histogram corresponding to each image is obtained. The grayscale histogram is curve-fitted to obtain a grayscale histogram curve of each image in the growth period.

[0034] The beneficial effects of the technical solution of the present invention are as follows: according to the pre-sowing image, the land characteristics of the planting area are determined, which is helpful to understand the planting environment of forage, and the grayscale histogram curve of the growth period image is obtained. According to the peak characteristics of the grayscale histogram curve of the growth period image, the matching degree of the peaks in the grayscale histogram curve of the growth period image is determined to understand the change of the growth period image, and the newly appeared peaks in the grayscale histogram curve corresponding to the growth period image are determined. According to the number of pixel points corresponding to the newly appeared peaks and the number of pixel points corresponding to the peaks whose matching degree changes due to the newly appeared peaks, the possibility that the newly appeared peaks represent the grayscale distribution of the forage pixel points is determined, the forage pixel points are determined, the distribution of the forage is understood, the growth quality of the forage under the current land characteristics is determined according to the grayscale value and distribution of the forage pixel points, the planting area is planned according to the forage growth quality, the accuracy of the forage quality evaluation in the planting area is improved, the growth of the forage is more accurately reflected, and it is helpful to plan the planting area more reasonably. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] 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.

[0036] Figure 1 The present invention is a flowchart of the steps of a forage planting area planning method based on image processing. DETAILED DESCRIPTION

[0037] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a forage planting area planning method based on image processing proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0038] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0039] The following is a detailed description of a method for planning a forage planting area based on image processing provided by the present invention in conjunction with the accompanying drawings.

[0040] See also Figure 1, which shows a flowchart of a forage planting area planning method based on image processing provided by an embodiment of the present invention, the method comprising the following steps:

[0041] Step S001: Acquire images of a forage grass planting area, wherein the images include images before sowing and images during the growth period of the forage grass planting area.

[0042] In order to implement the forage planting area planning method based on image processing proposed in this embodiment, it is first necessary to collect remote sensing images of the forage planting area. The specific process is as follows:

[0043] A drone is used to take photos in the forage planting area. The shooting time is noon every day in the second month after the forage is sown. The forage planting area is photographed by the drone every day during the shooting cycle to obtain several remote sensing images of the forage planting area. The acquired remote sensing images are denoised and the denoised remote sensing images are recorded as forage planting area images.

[0044] It should be noted that forage can be mowed two months after sowing. The growth of forage is fastest in the second month after sowing. The changes in forage during this period can best reflect the growth of forage in the current planting area. The second month after sowing is recorded as the growing period, so it is chosen to acquire images of the forage planting area before sowing and during the growing period.

[0045] It should be noted that denoising is an existing technology and will not be described in detail here.

[0046] So far, the pre-sowing image and the growth period image of the forage planting area are obtained through the above method.

[0047] Step S002: Determine the land characteristics of the planting area based on the pre-sowing image.

[0048] It should be noted that the growth conditions of forage will be affected by the land characteristics of the forage planting area, such as soil pH and water source ratio, so it is necessary to first obtain land characteristic data of different planting areas.

[0049] Specifically, first, a semantic segmentation algorithm is used to perform semantic segmentation on the pre-sowing image to identify the land area, ridges and water source areas in the planting area.

[0050] Then, the image of the land area is converted into the Munsell color system, and the converted color is compared with the standard soil colorimetric card to determine the pH value of the land area. The area of ​​the water source area is then compared with the area of ​​the entire planting area to obtain the water source ratio of the planting area. The pH value of the land area and the water source ratio of the planting area are used as the land characteristics of the planting area.

[0051] At this point, the land characteristics of the planting area are obtained through the above method.

[0052] Step S003: obtaining a grayscale histogram curve of the growth period image, and determining the matching degree of the peaks in the grayscale histogram curve of the growth period image according to the peak characteristics of the grayscale histogram curve of the growth period image.

[0053] It should be noted that the growing period image is composed of multiple continuous time series images, but during the growing period, the land area, ridges and water source area in the planting area usually do not change significantly, and the distribution of pixels corresponding to the land area, ridges and water sources in the growing period image will not change. Only the pixels representing forage will gradually increase as the forage grows, and the color will gradually deepen, so it can be analyzed through the grayscale image of the growing period image.

[0054] Specifically, first, grayscale processing is performed on the growth period image to obtain a grayscale image of the growth period image, and a grayscale histogram corresponding to each image is obtained, and curve fitting is performed on the grayscale histogram to obtain a grayscale histogram curve of each image in the growth period.

[0055] Then, the grayscale histogram curves of any two adjacent growth period images in the growth period are placed in the same coordinate graph, and the Euclidean distance between any peak in any grayscale histogram curve and any peak in its adjacent histogram curve is calculated. The peak with the smallest Euclidean distance is selected and recorded as the adjacent peak of the arbitrary peak. The area of ​​the arbitrary peak and its adjacent peak is obtained. The area of ​​the peak is the area of ​​the adjacent valleys on the left and right sides of the peak and the grayscale histogram curve and the coordinate system.

[0056] The area of ​​the closed figure is obtained, and the area of ​​any peak and its adjacent peak in any histogram curve in the growth cycle is obtained. According to the area of ​​the peak and the Euclidean distance between the peaks, the matching degree of any peak and the adjacent peak in any grayscale histogram curve in the growth period is determined.

[0057] As an embodiment, the specific calculation method for obtaining the matching degree between any peak and adjacent peak in any grayscale histogram curve during the growth period is:

[0058]

[0059] In the formula, Indicates the growth period The grayscale histogram curve The matching degree of a peak with the adjacent peaks of the peak; Indicates the growth period The grayscale histogram curve The Euclidean distance between a peak and its adjacent peaks; Indicates the growth period The grayscale histogram curve The area difference between a peak and an adjacent peak of the peak; Represents the normalization function.

[0060] It should be noted that The smaller the value, The larger the value, the The closer the distance between a peak and its adjacent peak is, the closer the grayscale values ​​of the two peaks are, which means that the pixels corresponding to the two peaks in the grayscale image are more likely to be of the same type. The smaller the value, The larger the value, the The closer the number of pixels corresponding to a peak is to the adjacent peak of the peak in the grayscale histogram during the growth period, the more likely the pixels corresponding to the two peaks in the grayscale histogram are of the same type. The larger the value.

[0061] So far, the matching degree of the peaks in the grayscale histogram curve of the growth period is determined by the above method.

[0062] Step S004: Determine the newly appeared peak in the grayscale histogram curve corresponding to the growth period image, and determine the possibility that the newly appeared peak represents the grayscale distribution of the forage pixel point based on the number of pixel points corresponding to the newly appeared peak and the number of pixel points corresponding to the peak whose matching degree changes due to the newly appeared peak, and determine the forage pixel point.

[0063] It should be noted that during the growth period, as the forage grows, the distribution of the forage in the planting area becomes more and more dense, making the exposed soil less and less, so the pixels representing the forage in the growth period image will gradually increase, replacing the original pixels representing the soil. As the forage grows, the color of the growth period image will gradually change, and there will also be changes in the peaks in the grayscale histogram curve of the corresponding growth period image grayscale image, that is, in the grayscale histogram curve of the image in the early growth period, the number of peaks remains basically consistent. In the later stage, as the forage grows and changes, new peaks will appear and the matching degree of the original peaks will change, so the grayscale distribution of the pixel points representing the forage can be determined according to the changes in the peaks.

[0064] Specifically, a peak-finding algorithm is used to determine the number of peaks in the grayscale histogram curve of each growth period image. If the number of peaks in the grayscale histogram curves of two adjacent growth period images is inconsistent, the degree of match between any peak in the grayscale histogram curve of any growth period image and any peak in the grayscale histogram curve of the growth period image on the day after the corresponding date of the growth period image is calculated. The peak in the grayscale histogram curve of the growth period image on the day after which the peak with the lowest degree of match between all peaks in the grayscale histogram curve of any growth period image is recorded as a newly appeared peak. Based on the difference in the number of pixels corresponding to the newly appeared peak in the grayscale histogram curve where the newly appeared peak is located and the grayscale histogram curve after the grayscale histogram curve, and the difference in the number of pixels corresponding to the two peaks whose matching degrees have changed in the two grayscale histogram curves, the possibility that the newly appeared peak represents the grayscale distribution of the forage pixel point is determined.

[0065] As an embodiment, a specific method for calculating the possibility that a newly appeared wave peak represents the grayscale distribution of a forage pixel point is as follows:

[0066]

[0067] In the formula, It indicates the possibility that the newly appeared peak represents the grayscale distribution of the forage pixel; Indicates the absolute value of the difference in the number of pixels corresponding to the newly appeared peak between the grayscale histogram curve where the newly appeared peak is located and the grayscale histogram curve of the day after the date corresponding to the grayscale histogram curve; Indicates the absolute value of the difference in the number of pixels corresponding to two peaks whose matching degree has changed in the grayscale histogram curve where the newly appeared peak is located and the grayscale histogram curve of the day after the date corresponding to the grayscale histogram curve; Represents the normalization function.

[0068] It should be noted that if the newly appeared peak represents a forage pixel, then The ratio should be 1, that is and The values ​​should be equal, so The closer the value of is to 1, the greater the possibility that the newly appeared peak represents the grayscale distribution of the forage pixel.

[0069] Preset the first threshold value, when When the value of is greater than the preset first threshold, the pixel point corresponding to the gray value of the newly appeared peak in the growth period image is taken as the forage pixel point. When the value of is less than or equal to the preset first threshold, the above calculation is performed on the next grayscale histogram curve of the grayscale histogram curve where the newly appeared peak is located until the forage pixel point is determined.

[0070] It should be noted that the first threshold is preset to 0.8 based on experience, and can be adjusted according to actual conditions, and is not specifically limited in this embodiment.

[0071] It should be noted that the peak finding algorithm is an existing technology and will not be described in detail here.

[0072] So far, the forage pixel points are obtained through the above method.

[0073] Step S005: Determine the growth quality of the forage grass under the current land characteristics according to the gray value and distribution of the forage grass pixel points, and plan the planting area according to the forage grass growth quality.

[0074] It should be noted that during the growth process, the area of ​​forage will gradually increase, and the color will change from light green in the seedling period to dark green after maturity. In the growth graph, it will be shown that the number of pixels representing forage gradually increases. The change in forage color will cause the newly appeared peaks in the grayscale histogram curve to become more and more obvious, and the position of the newly appeared peaks in the histogram curve will also change with the change of time. Specifically, it will gradually move from the right side of the histogram curve to the left side, and finally stabilize near a certain grayscale. Therefore, the growth quality of forage can be determined according to the distribution of forage pixel points.

[0075] Specifically, the grayscale value corresponding to the color of the forage in the mature period is obtained, and the growth quality of the forage under the current land characteristics is determined based on the grayscale value corresponding to the color of the forage in the mature period, the grayscale value corresponding to the peak of the pixel representing the forage, the sum of the areas of the pixel representing the forage and the area of ​​the entire image.

[0076] As an example, the specific calculation method of the growth quality of forage grass under the current land characteristics is:

[0077]

[0078] In the formula, Indicates the quality of forage growth under current land characteristics; Indicates the number of growth period images where forage pixels appear; Indicates The gray value of the forage pixel in the growth period image where the forage pixel appears; Indicates The gray value of the forage pixel in the growth period image where the forage pixel appears; Indicates the gray value corresponding to the color of the forage at maturity; Indicates the grayscale value of the forage pixel in the last growth period image; It represents the ratio of the sum of the areas of the forage pixels in the last growth period image to the area of ​​the entire image; Indicates taking the absolute value.

[0079] It should be noted that Indicates the degree of color change of the forage pixel during the growth period. The larger the value, the greater the color change of the forage pixel, that is, the greater the color change of the forage, the faster the forage grows and the better the growth quality. It represents the difference between the grayscale value of the forage pixel on the last day of the growing period and the grayscale value corresponding to the color of the forage at the mature stage. The larger the value, the smaller the difference, which means the better the growth quality of the forage. The larger the value, the larger the area occupied by the forage, and the greater the growth quality of the forage. The larger the value of .

[0080] use The normalization function normalizes the obtained forage growth quality to , a second threshold is preset. When the normalized forage production quality is greater than the second threshold, it is considered that the forage is suitable for planting under the current land characteristics. If it is less than the preset second threshold, it is considered that the forage is not suitable for planting under the current land characteristics, and it is necessary to improve the current planting area or select forage varieties suitable for the current land characteristics for planting.

[0081] It should be noted that the second threshold is preset to 0.7 based on experience and can be adjusted according to actual conditions, and is not specifically limited in this embodiment.

[0082] At this point, this embodiment is completed.

[0083] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A forage planting area planning method based on image processing, characterized in that: The method comprises the following steps: Acquiring images of a forage grass planting area, wherein the images include pre-sowing images and growth period images of the forage grass planting area; Determine the land characteristics of the planting area based on pre-planting images; Obtaining a grayscale histogram curve of the growth period image, and determining a matching degree of a peak in the grayscale histogram curve of the growth period image according to a peak feature of the grayscale histogram curve of the growth period image; Determine a newly appeared wave peak in the grayscale histogram curve corresponding to the growth period image, determine the possibility that the newly appeared wave peak represents the grayscale distribution of the forage pixel point according to the number of pixel points corresponding to the newly appeared wave peak and the number of pixel points corresponding to the wave peak whose matching degree changes due to the newly appeared wave peak, and determine the forage pixel point; According to the gray value and distribution of forage pixel points, the growth quality of forage under the current land characteristics is determined, and the planting area is planned according to the forage growth quality.

2. The forage planting area planning method based on image processing according to claim 1, characterized in that: The specific method for determining the land characteristics of the planting area includes: Use semantic segmentation algorithms to perform semantic segmentation on pre-sowing images and identify land areas, ridges, and water source areas in the planting area; The image of the land area is converted into the Munsell color system, and the converted color is compared with the standard soil colorimetric card to determine the pH value of the land area. The area of ​​the water source area is then compared with the area of ​​the entire planting area to obtain the water source ratio of the planting area. The pH value of the land area and the water source ratio of the planting area are used as the land characteristics of the planting area.

3. The forage grass planting area planning method based on image processing according to claim 1, characterized in that: The specific method of determining the matching degree of the peaks in the grayscale histogram curve during the growth period includes: The grayscale histogram curves of any two adjacent growth period images in the growth period are placed in the same coordinate graph, the Euclidean distance between any peak in any grayscale histogram curve and any peak in its adjacent histogram curve is calculated, the peak with the smallest Euclidean distance is selected and recorded as the adjacent peak of the arbitrary peak, the area of ​​the arbitrary peak and its adjacent peak is obtained, the area of ​​the peak is the area of ​​the closed figure surrounded by the adjacent troughs on the left and right sides of the peak and the grayscale histogram curve and the coordinate system, the area of ​​any peak in any histogram curve in the growth cycle and its adjacent peak is obtained, and the matching degree of any peak and the adjacent peak in any grayscale histogram curve in the growth period is determined according to the area of ​​the peak and the Euclidean distance between the peaks.

4. The forage grass planting area planning method based on image processing according to claim 3 is characterized in that: The specific calculation method of the matching degree between any peak and adjacent peak in any grayscale histogram curve during the growth period is: Indicates the growth period The grayscale histogram curve The matching degree of a peak with the adjacent peaks of the peak; Indicates the growth period The grayscale histogram curve The Euclidean distance between a peak and its adjacent peaks; Indicates the growth period The grayscale histogram curve The area difference between a peak and an adjacent peak of the peak; Represents the normalization function.

5. The forage planting area planning method based on image processing according to claim 1, characterized in that: The specific method of determining the newly appeared peak in the grayscale histogram curve corresponding to the growth period image includes: A peak-finding algorithm is used to determine the number of peaks in the grayscale histogram curve of each growth period image. If the number of peaks in the grayscale histogram curves of two adjacent growth period images is inconsistent, the degree of match between any peak in the grayscale histogram curve of any growth period image and any peak in the grayscale histogram curve of the growth period image one day after the corresponding date of the growth period image is calculated. The peak with the lowest degree of match between the grayscale histogram curve of the growth period image one day after the corresponding date and all the peaks in the grayscale histogram curve of any growth period image is recorded as the newly appeared peak.

6. The forage planting area planning method based on image processing according to claim 1, characterized in that: The specific calculation method of the possibility that the newly appeared wave peak represents the grayscale distribution of the forage pixel point is: In the formula, It indicates the possibility that the newly appeared peak represents the grayscale distribution of the forage pixel; Indicates the absolute value of the difference in the number of pixels corresponding to the newly appeared peak between the grayscale histogram curve where the newly appeared peak is located and the grayscale histogram curve of the day after the date corresponding to the grayscale histogram curve; Indicates the absolute value of the difference in the number of pixels corresponding to two peaks whose matching degree has changed in the grayscale histogram curve where the newly appeared peak is located and the grayscale histogram curve of the day after the date corresponding to the grayscale histogram curve; Represents the normalization function.

7. The forage grass planting area planning method based on image processing according to claim 1, characterized in that: The specific method of determining the forage pixel point includes: A first threshold is preset, and when the possibility that a newly appeared wave peak represents the grayscale distribution of a forage pixel point is greater than the preset first threshold, the pixel point of the grayscale value corresponding to the newly appeared wave peak in the growth period image is taken as the forage pixel point, and when the possibility that a newly appeared wave peak represents the grayscale distribution of a forage pixel point is less than or equal to the preset first threshold, the next grayscale histogram curve of the grayscale histogram curve where the newly appeared wave peak is located is calculated to determine the possibility that the newly appeared wave peak in the grayscale histogram curve represents the grayscale distribution of the forage pixel point until the forage pixel point is determined.

8. The forage planting area planning method based on image processing according to claim 1, characterized in that: The specific method for determining the growth quality of forage grass under the current land characteristics is as follows: The grayscale value corresponding to the color of the forage in the mature period is obtained, and the growth quality of the forage under the current land characteristics is determined according to the grayscale value corresponding to the color of the forage in the mature period, the grayscale value corresponding to the peak representing the forage pixel, the sum of the area of ​​the forage pixel and the area of ​​the entire image.

9. The forage grass planting area planning method based on image processing according to claim 8, characterized in that: The specific calculation method of the growth quality of the forage grass under the current land characteristics is: In the formula, Indicates the quality of forage growth under current land characteristics; Indicates the number of growth period images where forage pixels appear; Indicates The gray value of the forage pixel in the growth period image where the forage pixel appears; Indicates The gray value of the forage pixel in the growth period image where the forage pixel appears; Indicates the gray value corresponding to the color of the forage at maturity; Indicates the grayscale value of the forage pixel in the last growth period image; It represents the ratio of the sum of the areas of the forage pixels in the last growth period image to the area of ​​the entire image; Indicates taking the absolute value.

10. The forage planting area planning method based on image processing according to claim 1, characterized in that: The specific method of obtaining the grayscale histogram curve of the growth period image includes: The growth period images are grayed to obtain grayscale images of the growth period images, and a grayscale histogram corresponding to each image is obtained. The grayscale histogram is curve-fitted to obtain a grayscale histogram curve of each image in the growth period.

Citation Information

Patent Citations

  • Image based forage grass coverage and biomass automatic detection method

    CN106709922A

  • Tea tree growth state spectral image identification method

    CN111161362A