A method and apparatus for assessing crop phenology
By automatically identifying crop phenological stages using an automatic phenological observation instrument and image analysis algorithms, the problems of low automation in manual observation and bias in neural network models have been solved, achieving efficient and accurate crop growth monitoring.
Patent Information
- Application Number
- CN202410820228.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-06-24
AI Technical Summary
Existing technologies lack ground-based verification observations for satellite monitoring of ecological elements, and artificial phenological observation methods have low automation levels, are susceptible to subjective factors from observers, and complex neural network models may lead to biased identification results.
Images of the target crop are acquired using an automatic phenological observation instrument. Unqualified images are removed through quality control rules. The crop portion is segmented based on the colorimetric feature values of the calibrated soil. Evaluation coefficients are calculated using image analysis algorithms to determine the crop phenological stage, thus avoiding the training and potential biases of complex neural networks.
It achieves accurate, objective, dynamic, and automatic identification of crop phenological stages, improves the degree of automation, reduces human intervention, enhances the objectivity and reliability of the results, and reduces algorithm complexity and computational overhead.
Smart Images

Figure CN118552516B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of phenological observation technology, and in particular to a method and apparatus for assessing crop phenological periods. Background Technology
[0002] Phenology refers to the seasonal phenomena of plant and animal life activities in the natural environment, as well as certain meteorological and hydrological phenomena that occur at specific times of the year. Observing and recording phenological phenomena according to unified rules constitutes phenological observation. Phenological phenomena are a comprehensive reflection of biological rhythms and environmental conditions. Phenological observation is the foundation of ecological meteorological operations, services, and research, and an important component of the multi-sphere ecological meteorological operational observation system.
[0003] Currently, Europe, the United States, and Japan have established widely distributed operational phenological observation networks. In addition to preserving and developing artificial phenological observation networks, many countries have successively established automated phenological camera observation networks for studying plant phenology, ecosystems, climate change, and carbon cycling. Japan launched its "Phenological Eye Network" in 2005 and has now built 36 observation stations for long-term automated observation of vegetation phenology, vegetation optical characteristics, and atmospheric optical characteristics. These mature phenological and phenological camera monitoring networks, with vegetation photosynthesis, leaf area index, vegetation index changes, and vegetation phenology as their main monitoring targets, comprehensively employ various methods such as manual observation, UAV remote sensing, flux observation, digital cameras, satellite remote sensing, and model simulation to conduct extensive research and applications on the relationship between phenology and ecosystems, as well as climate change.
[0004] The China Meteorological Administration's Agricultural Meteorological Observation Network and the Institute of Geographic Sciences and Natural Resources Research, Chinese Academy of Sciences' China Phenological Observation Network have conducted phenological observations for decades, accumulating a substantial amount of data. However, these observations primarily relied on manual methods such as visual observation, auditory observation, and quadrat sampling. With the development of sensors, communication networks, artificial intelligence, and edge computing, my country's phenological observation methods are beginning to shift from manual to automated observation. Although my country's meteorological satellite terrestrial products include monitoring of various ecological elements such as vegetation index, cover, leaf area index, and soil moisture, ground-based verification observations of these satellite-monitored ecological elements have been lacking. Summary of the Invention
[0005] This invention discloses a method and apparatus for assessing crop phenological stages, aiming to solve the technical problems existing in the prior art. The invention adopts the following technical solution: In a first aspect, embodiments of the present invention provide a method for assessing crop phenological stages, comprising: Acquire multiple raw images of the target crop within a preset time period; Based on the quality control rules, the unqualified original images are removed to obtain the target image; Based on the chromaticity feature values of the calibrated soil, the soil portion in the target image is segmented to obtain the crop portion; Based on the color and growth characteristics of the crop portion in the target image, the current evaluation coefficient of the target crop is determined; The phenological stage of the target crop is determined based on the absolute change of the current evaluation coefficient compared to the evaluation coefficient of a period similar to the previous growing year.
[0006] Secondly, embodiments of the present invention also provide an apparatus for assessing crop phenological stages, comprising: The image acquisition module is used to acquire multiple original images of the target crop within a preset time period; The quality control module is used to remove unqualified original images based on quality control rules to obtain the target image; The soil segmentation module is used to segment the soil portion in the target image based on the chromaticity feature values of the calibrated soil to obtain the crop portion; The evaluation coefficient calculation module is used to determine the current evaluation coefficient of the target crop based on the color features and growth characteristics of the crop portion in the target image. The phenological stage determination module is used to determine the phenological stage of the target crop based on the absolute change of the current evaluation coefficient and the evaluation coefficient of a period similar to that of the previous growing year.
[0007] Thirdly, embodiments of the present invention provide an electronic device, including: One or more processors; Image sensors are used to acquire raw images; A memory for storing one or more programs and original images; when the one or more programs are executed by the one or more processors, the one or more processors implement the method for assessing crop phenology as described above.
[0008] Fourthly, embodiments of the present invention provide a readable storage medium storing a program for evaluating crop phenological stages, wherein when the program is executed by a processor, it can implement the method for evaluating crop phenological stages as described above.
[0009] Compared with the prior art, one embodiment of the above invention has the following advantages or beneficial effects: This invention provides a method for assessing crop phenological stages. It involves periodically photographing the target crop using an automatic phenological observation instrument and automatically calculating assessment coefficients using image analysis algorithms. This eliminates the need for manual observation and recording, reducing human intervention and increasing automation. Compared to traditional visual observation methods, it eliminates the influence of subjective factors of the observer. The objective calculation results based on image analysis can more accurately reflect the true growth status of the target crop. Furthermore, by adding steps such as soil calibration and calculating and comparing assessment coefficients within a time interval, the objectivity and reliability of the results are also improved.
[0010] In some existing solutions, neural network models are often used to identify and determine the phenological stages of crops. Compared with existing technologies, this invention does not require building complex deep neural network models and training with a large amount of data, thus reducing algorithm complexity and computational overhead. In addition, neural network models have the risk of overfitting the training data, and the model recognition results may be affected by the bias of the training data. The technical solution of this invention is based entirely on the objective analysis and calculation of image data, thus avoiding these potential problems. Attached Figure Description
[0011] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below, forming part of the present invention. The illustrative embodiments of the present invention and their descriptions explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings: Figure 1 This is a flowchart of a preferred embodiment of the method for evaluating crop phenological stages disclosed in this invention; Figure 2 This is a structural block diagram of a device for evaluating crop phenological stages in a preferred embodiment of the present invention. Detailed Implementation
[0012] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. In the description of this invention, it should be noted that the term "or" is generally used to include the meaning of "and / or," unless otherwise expressly indicated.
[0013] In the description of this invention, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0014] Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0015] This invention provides a method for determining crop phenological stages. By using automated image acquisition and analysis, it achieves accurate, objective, and dynamic automatic identification of the phenological stages of target crops, thereby overcoming many shortcomings of traditional manual observation and improving the efficiency and quality of crop growth monitoring.
[0016] like Figure 1 In one embodiment of the present invention, the method for determining crop phenological periods includes the following steps: Step S110: Obtain multiple original images of the target crop within a preset time period.
[0017] In a preferred embodiment, corn is used as the target crop; those skilled in the art should understand that the target crop is not limited to corn, and can also include rice, wheat, cotton, soybeans, potatoes, peanuts, sweet potatoes, sorghum, millet and other crops. Although this embodiment only uses corn as an example, this technical solution can also be extended to many other crop varieties listed above.
[0018] In a preferred embodiment, the original image is acquired by the image sensor of an automatic phenological observation instrument, and the original image includes both soil and crop portions.
[0019] In a preferred embodiment, an automatic phenological observation instrument refers to an automated observation device for elements such as phenological periods, growth characteristic parameters, and meteorological environmental parameters of plants and animals. It can automatically, continuously, and efficiently collect images of the growth process of target crops, providing a data basis for subsequent phenological period identification and determination. Compared with handheld camera shooting, it can fix the image shooting angle and area, resulting in better data consistency.
[0020] In a preferred embodiment, the hardware of the automatic phenological observation instrument includes an image sensor, a data acquisition unit, a communication unit, a power supply unit, a support frame, and a protective shell. The data acquisition unit's main function is to acquire data collected by the image sensor, perform data analysis and calculation, quality control, storage, and transmission. The data acquisition unit consists of hardware and embedded software. The hardware includes a data acquisition motherboard and an embedded chip. The motherboard comprises a high-performance embedded processor, data storage, power management, AD circuit, clock unit, communication circuit, indicator lights, etc., and is the foundation for its functions. The embedded chip is a certified dedicated processing chip for phenological observation systems with quality control and basic product generation capabilities. The embedded software is used to implement data acquisition, processing, and quality control functions. It can be used to set and control image acquisition parameters, such as the shooting time interval and exposure time, and to store the acquired image data.
[0021] Those skilled in the art should understand that the specific structure of the automatic phenological observation instrument is existing technology, and therefore other structural configurations and functional details will not be described in detail.
[0022] In a preferred embodiment, the performance parameters of the image sensor should at least meet the following requirements: The effective pixel count is no less than 4 million pixels; Image preprocessing programs can meet functions such as autofocus, auto exposure, and auto white balance. The file format should support JPEG and / or TIFF formats; The communication interface is RJ45; The power supply is DC, 9~12V; The image sensor is positioned above the canopy of the target crop at a height of no less than 7 meters, with a 30° downward shooting angle, and is not obstructed by any obstacles.
[0023] In a preferred embodiment, the image sensor of the automatic phenological observation instrument takes 5 images per day. The images are automatically focused, automatically exposed, and automatically white balanced to avoid blurring. After the images are taken, the edges are automatically cropped to ensure the clarity of the soil and crops.
[0024] In a preferred embodiment, the image sensor captures images between 10:00 and 14:00, taking one image per hour. Specifically, the growth / development process of crops varies with the day and night. Most crops are in their optimal physiological state during the period from 10:00 to 14:00, with the most vigorous photosynthesis and exhibiting the most typical growth characteristics. Therefore, capturing images at this time can maximize the capture of the most significant growth changes in the target crop. In addition, the sunlight during this period is sufficient and at a suitable angle, allowing for clearer original images of the target crop. Continuous shooting provides more data samples, which helps improve the accuracy and reliability of identification in subsequent image processing and evaluation coefficient calculation. Taking one image per hour allows for continuous dynamic monitoring of the target crop's growth at a high temporal resolution, avoiding missing important periods.
[0025] Step S120: Based on quality control rules, unqualified original images are removed to obtain the target image.
[0026] In a preferred embodiment, the quality control rule is an image quality control algorithm, specifically including the following steps S121~S123: Step S121: Based on the readability of the original image, determine whether the source file is corrupted. If the original image cannot be read, determine that the source file is corrupted.
[0027] In a preferred embodiment, the format of the source file is first checked to see if it is correct. Common image formats include JPEG or TIFF. If the file format is not recognized or the format header is damaged, the image data cannot be read normally, and the file can be confirmed to be damaged.
[0028] In a preferred embodiment, if the source file is in the correct format, the integrity of the source file can be verified by a file checksum (such as CRC, MD5, etc.). If the file data is damaged during transmission or storage, the file checksum will not match the original value, and the file can be confirmed to be damaged.
[0029] In a preferred embodiment, for source files that can pass the format and integrity checks, their image metadata headers can be further read and parsed, including information such as image width and height, color depth, and compression format. If the header data cannot be parsed correctly, it can be confirmed that the file is corrupted.
[0030] Step S122: Based on the brightness of the original image, determine whether there is external interference when the original image was captured. If the overall brightness value of the original image is lower than the preset first brightness threshold, or if the overall brightness value of the original image is higher than the preset second brightness threshold, determine that the original image was interfered with by external factors when it was captured.
[0031] Specifically, the overall brightness value of the original image reflects the image exposure. If the brightness value is too low, it indicates underexposure; if the brightness value is too high, it indicates overexposure. Both of these situations will lead to image information distortion and affect the subsequent image analysis results. In a preferred embodiment, before judging the original image, a reasonable brightness threshold range is first set, with the lowest value of the range set as the first brightness threshold and the highest value set as the second brightness threshold.
[0032] During the judgment process, for the original image, the average pixel values of the R, G, and B channels are calculated separately as the overall brightness value. This calculated overall brightness value is then compared with preset first and second brightness thresholds. If the overall brightness value of the original image is lower than the preset first brightness threshold, the image is determined to be underexposed; if the overall brightness value is higher than the preset second brightness threshold, the image is determined to be overexposed. All original images with brightness values below the first threshold or above the second threshold are considered disturbed images.
[0033] In step S123, the original images that are determined to be damaged or interfered with are removed and do not participate in the subsequent evaluation coefficient calculation process, and the target image is finally obtained.
[0034] Specifically, after removing the original images that are determined to be damaged or interfered with, the remaining images are the target images.
[0035] Step S130: Based on the chromaticity feature values of the calibrated soil, the soil portion in the target image is segmented to obtain the crop portion.
[0036] In a preferred embodiment, before step S130, the soil is first calibrated. During calibration, soil images of soil without any crops are acquired for different seasons, and then the colorimetric characteristic values of the calibrated soil for different seasons are determined. The colorimetric characteristic values include absolute greenness index, absolute redness index, and absolute blueness index. By calibrating the soil for different seasons, the influence of soil color changes in different seasons and local soil quality on the identification results of the phenological period of the target crop can be accurately eliminated.
[0037] Specifically, soil color is mainly composed of different intensity components of the red, green, and blue color channels. The absolute greenness index, absolute redness index, and absolute blueness index reflect the average proportion intensity of these three color channels in the entire soil image. The specific values of the aforementioned three indices and their proportional relationships can effectively reflect and quantify the characteristic color of the soil in this region. Furthermore, it is difficult to eliminate the influence of lighting conditions by directly using RGB pixel values. The same soil will have color shift when photographed under different lighting conditions. However, the absolute chromaticity index can eliminate the influence of absolute brightness values because it uses a normalization operation during calculation. Moreover, the absolute chromaticity index is calculated based on the average value of the entire image and is only related to the image content, not the image resolution.
[0038] Compared with the complex image segmentation or pattern recognition algorithms in existing technologies, the method of calculating the absolute chromaticity index is simpler and more intuitive, requires less computation and is faster, has good robustness to changes in illumination and resolution, and is more accurate and reliable when calibrating soil.
[0039] In a preferred embodiment, the formula for calculating the absolute greenness index is: (1) The formula for calculating the absolute redness index is: (2) The formula for calculating the absolute blueness index is: (3) in, The absolute greenness index, The absolute redness index, The absolute blueness index, For green color number, For red numbers, It is the blue chromatic number.
[0040] The calculated absolute greenness index, absolute redness index, and absolute blueness index of the calibrated soil are used as standard values for subsequent segmentation of the soil portion in the target image.
[0041] In a preferred embodiment, after soil calibration, an image region in the target image that is close to the absolute greenness index, absolute redness index, and absolute blueness index is identified as the soil part. By segmenting the soil part in the image, the crop part can be obtained.
[0042] In a preferred embodiment, areas in the target image that are simultaneously within 8% of the calculated absolute greenness index, absolute redness index, and absolute blueness index are identified as soil and segmented.
[0043] Specifically, when segmenting the soil region in the target image, for each pixel in the target image, the values of absolute greenness index, absolute redness index, and absolute blueness index are calculated. These values are then compared with the standard values for calibrating the soil. If a pixel in the target image... , , If all pixels are within ±8% of the standard value for soil, then the pixel is considered to belong to soil and is marked. After traversing all pixels, the pixel regions marked as soil are segmented to obtain the final crop region image.
[0044] Compared to existing technologies, this implementation method is based directly on the calibrated color index, without the need for complex soil models or training, and the segmentation results are in pixels, which has higher accuracy.
[0045] Step S140: Determine the current evaluation coefficient of the target crop based on the color and growth characteristics of the crop portion in the target image.
[0046] In a preferred embodiment, the number of blue chromaticities in the target image is taken into account. The number of blue hues varies little throughout the plant's growth cycle. For the target crop, corn, the number of blue hues varies throughout its entire growth cycle. The proportion of green is also relatively small, therefore, for the crop portion in the target image, its green color number is... And red color number The changes in color density better highlight the growth characteristics of crops. Based on this, the green color density of the crop portion in the target image is adjusted. And red color number As a chromaticity feature used to calculate the evaluation coefficient, the proportion of the number of pixels in the crop portion to the total number of pixels in the target image is used as the growth feature.
[0047] In a preferred embodiment, the formula for calculating the current evaluation coefficient is: (4) in, This is the current evaluation coefficient. The average green count is the number of green pixels in the crop portion of the target image. The average green count is obtained by dividing the total number of green pixels in the target image by the total number of pixels. This is the average number of red pixels in the crop portion of the target image. The average number of red pixels is obtained by dividing the total number of red pixels in the target image by the total number of pixels. The time when the target image was captured. As a growth characteristic, This represents the number of pixels in the crop section. The total number of pixels in the target image. To balance the factors, based on empirical values and actual evaluation results, the coefficient is set to 0.7 in this embodiment. , As a weight, in one implementation, It is 0.6. It is 0.4.
[0048] The current evaluation coefficient assesses the growth status of the target crop by analyzing the changes in red and green pixel values in the target image at different time points. Specifically, by calculating the rate of change of red and green pixel values of the crop portion in the target image over time, the growth status of the target crop can be assessed, reflecting its health and growth progress. By calculating the ratio of the number of pixels in the crop portion to the number of pixels in the entire target image, the coverage area of the plant in the image can be assessed, further reflecting the plant's growth density and coverage. By introducing weights and trade-off coefficients, the influence of plant color changes and coverage area can be comprehensively considered, thus obtaining a comprehensive evaluation coefficient.
[0049] Step S150: Determine the phenological stage of the target crop based on the absolute change of the current evaluation coefficient compared to the evaluation coefficient of a similar period in the previous growing year.
[0050] In a preferred embodiment, step S150 further includes steps S151 to S155.
[0051] Step S151: Obtain the current evaluation coefficient at the current time point.
[0052] Specifically, the current evaluation coefficient is calculated by equation (4) in step S150 above.
[0053] Step S152: Determine the reference time interval for the same time point in the previous growth year.
[0054] In a preferred embodiment, the reference time interval is a period of 15 days before and after the time point.
[0055] Specifically, crop growth cycles / phenological periods have obvious seasonal characteristics. Within a year, the growth status of crops in the same season is roughly similar. Selecting a time window of 15 days before and after the time point as a reference time interval can ensure that the selected data covers the changes within the same season, improve the stability and representativeness of the comparative data. In addition, the changes in phenological periods have a certain historical continuity. By comparing the historical data of 15 days before and after the time point, the growth trend and change pattern of the target crop can be captured more accurately.
[0056] Furthermore, setting the reference time interval to 15 days before and after the time point can smooth out fluctuations caused by individual abnormal data points (such as extreme weather, sudden events, etc.). A longer time window can reduce the impact of random factors on the final calculation results through averaging, thereby improving the robustness of the data.
[0057] Step S153: Within the reference time interval, calculate the reference evaluation coefficients corresponding to each time point of the previous growth year.
[0058] In a preferred embodiment, the evaluation coefficient for the corresponding time point of the previous year is defined as The coefficient is also calculated by formula (4) in step S150 above.
[0059] Step S154: Calculate the absolute value of the difference between the current evaluation coefficient and each reference evaluation coefficient to obtain the absolute change.
[0060] In a preferred embodiment, the formula for calculating the absolute change of the current evaluation coefficient and each reference evaluation coefficient is as follows: = (5) Step S155: The growth stage corresponding to the minimum absolute change is determined as the phenological stage of the target crop.
[0061] Specifically, during specific phenological periods, the growth status of crops is relatively stable and changes are minimal. The minimum value indicates that the target crop's growth is most stable during that time period, suggesting that the target crop is in a specific phenological stage.
[0062] In a preferred embodiment, the comparison between the phenological stages of the target crop (maize) determined based on the above steps S110~S150 and the results of manual observation is shown in Table 1 below: Table 1
[0063] As can be seen from the comparison in the table above, the crop phenological period determined based on the embodiments of the present invention is closer to the results of manual observation than the AI recognition scheme, and the start and end boundaries of the identified phenological cycle are more accurate. Therefore, the above method has high precision and accuracy in determining crop phenological periods and can replace or assist manual observation to reduce manpower and time costs.
[0064] Compared with existing technologies, the embodiments of the present invention take photos of the target crop regularly using an automatic phenological observation instrument and automatically calculate the evaluation coefficient using image analysis algorithms. This eliminates the need for manual observation and recording, reduces human intervention, and has a higher degree of automation. Compared with traditional visual observation methods, it can eliminate the influence of the observer's subjective factors. The objective calculation results based on image analysis can more accurately reflect the true growth status of the target crop. At the same time, by adding steps such as soil calibration and calculating the difference within the time interval, the objectivity and reliability of the results are also improved.
[0065] Compared with existing technologies that use convolutional neural network (CNN) models to identify crop phenological stages, the embodiments of the present invention do not require building complex deep neural network models and training with a large amount of data, thus reducing algorithm complexity and computational overhead. In addition, neural network models are at risk of overfitting the training data, and the model recognition results may be affected by the bias of the training data. The embodiments of the present invention, on the other hand, are based entirely on the objective analysis and calculation of image data, thus avoiding these potential problems.
[0066] like Figure 2 In one embodiment of the present invention, an apparatus for assessing crop phenological stages is also provided, including an image acquisition module 210, a quality control module 220, a soil segmentation module 230, an assessment coefficient calculation module 240, and a phenological stage determination module 250.
[0067] In a preferred embodiment, the image acquisition module 210 is configured to acquire multiple original images of the target crop within a preset time period.
[0068] In a preferred embodiment, corn is used as the target crop, and the original image is acquired by the image sensor of an automatic phenological observation instrument, and the original image includes both soil and crop portions.
[0069] In a preferred embodiment, the hardware of the automatic phenological observation instrument includes an image sensor, a data acquisition unit, a communication unit, a power supply unit, a support frame, and a protective shell. The image sensor is arranged above the canopy of the target crop, with a height of not less than 7 meters, a shooting angle of 30°, and is not obstructed by any obstacles.
[0070] In a preferred embodiment, the image sensor of the automatic phenological observation instrument takes 5 images per day. The images are automatically focused, automatically exposed, and automatically white balanced to avoid blurring. After the images are taken, the edges are automatically cropped to ensure the clarity of the soil and crops. The image sensor takes images from 10:00 to 14:00, taking one image per hour during this period.
[0071] In a preferred embodiment, the quality control module 220 is configured to remove unqualified original images based on quality control rules to obtain the target image.
[0072] In a preferred embodiment, the quality control rule is an image quality control algorithm, and the specific rule is configured as follows: Based on the readability of the original image, determine whether the source file is corrupted. If the original image cannot be read, the source file is determined to be corrupted. Based on the brightness of the original image, determine whether there is external interference when the original image was captured. If the overall brightness value of the original image is lower than the preset first brightness threshold, or if the overall brightness value of the original image is higher than the preset second brightness threshold, it is determined that the original image was interfered with by external factors when it was captured. Original images deemed damaged or interfered with are discarded and not included in subsequent evaluation coefficient calculations, ultimately yielding the target image.
[0073] In a preferred embodiment, the soil segmentation module 230 is configured to segment the soil portion in the target image based on the chromaticity feature values of the calibrated soil to obtain the crop portion.
[0074] In a preferred embodiment, the soil segmentation module 230 can also calibrate the soil. During calibration, soil images of soils without any crops planted are acquired for different seasons, and then the colorimetric feature values of the calibrated soils for different seasons are determined. The colorimetric feature values include absolute greenness index, absolute redness index, and absolute blueness index. By calibrating the soils for different seasons, the influence of soil color changes in different seasons and local soil conditions on the identification results of the phenological period of the target crop can be accurately eliminated.
[0075] In a preferred embodiment, the formula for calculating the absolute greenness index is: (1) The formula for calculating the absolute redness index is: (2) The formula for calculating the absolute blueness index is: (3) in, The absolute greenness index, The absolute redness index, The absolute blueness index, For green color number, For red numbers, It is the blue chromatic number.
[0076] The calculated absolute greenness index, absolute redness index, and absolute blueness index of the calibrated soil are used as standard values for subsequent segmentation of the soil portion in the target image.
[0077] In a preferred embodiment, after soil calibration, an image region in the target image that is close to the absolute greenness index, absolute redness index, and absolute blueness index is identified as the soil part. By segmenting the soil part in the image, the crop part can be obtained.
[0078] In a preferred embodiment, the soil segmentation module 230 identifies areas in the target image that are simultaneously close to 8% in terms of the calculated absolute greenness index, absolute redness index, and absolute blueness index as soil and segments them.
[0079] Specifically, when segmenting the soil region in the target image, for each pixel in the target image, the values of absolute greenness index, absolute redness index, and absolute blueness index are calculated. These values are then compared with the standard values for calibrating the soil. If a pixel in the target image... , , If all pixels are within ±8% of the standard value for soil, then the pixel is considered to belong to soil and is marked. After traversing all pixels, the pixel regions marked as soil are segmented to obtain the final crop region image.
[0080] In a preferred embodiment, the evaluation coefficient calculation module 240 is configured to determine the current evaluation coefficient of the target crop based on the color and growth characteristics of the crop portion in the target image.
[0081] In a preferred embodiment, the evaluation coefficient calculation module 240 is configured to calculate the green color number of the crop portion in the target image. And red color number As a chromaticity feature used to calculate the evaluation coefficient, the proportion of the number of pixels in the crop portion to the total number of pixels in the target image is used as the growth feature.
[0082] In a preferred embodiment, the formula for calculating the current evaluation coefficient is: (4) in, This is the current evaluation coefficient. The average green count of the crop portion in the target image. The average number of red hues in the crop portion of the target image. The time when the target image was captured. As a growth characteristic, This represents the number of pixels in the crop section. The total number of pixels in the target image. To balance the factors, based on empirical values and actual evaluation results, the coefficient is set to 0.7 in this embodiment. , As a weight, in one implementation, It is 0.6. It is 0.4.
[0083] In a preferred embodiment, the phenological stage determination module 250 is configured to determine the phenological stage of the target crop based on the absolute change of the current evaluation coefficient compared to the evaluation coefficient of a period similar to that of the previous growing year.
[0084] In a preferred embodiment, the phenological period determination module 250 is further configured to obtain the current evaluation coefficient at the current time point, determine the reference time interval for the same time point in the previous growing year, the reference time interval being a period of 15 days before and after the time point, calculate the reference evaluation coefficient corresponding to each time point in the previous growing year within the reference time interval, calculate the absolute value of the difference between the current evaluation coefficient and each reference evaluation coefficient to obtain the absolute change, and determine the growth stage corresponding to the smallest absolute change as the phenological period of the target crop.
[0085] In a preferred embodiment, the formula for calculating the difference between the current evaluation coefficient and each reference evaluation coefficient is as follows: = (5) in, This is the evaluation coefficient for the corresponding time point in the previous year.
[0086] Specifically, in the embodiments of the present invention, the specific functions that the device for evaluating crop phenological stages can achieve are the same as those that can be achieved in the above steps S110~S150, and will not be described in detail here.
[0087] In one embodiment of the present invention, an electronic device is also provided, which includes at least one processor, an image sensor, and a memory. The image sensor is used to acquire a raw image, and the memory is used to store one or more programs and the raw image. When one or more programs are executed by the processor, the processor is able to implement the method for assessing crop phenology as described in the above embodiments of the invention.
[0088] In one embodiment of the present invention, a readable storage medium is also provided, on which a program for evaluating crop phenological stages is stored, and when the program for evaluating crop phenological stages is executed by a processor, steps S110 to S150 can be implemented.
[0089] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0090] Those skilled in the art will understand that, apart from the mutual exclusion of features, all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or apparatus so disclosed can be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature serving the same, equivalent, or similar purpose.
Claims
1. A method for assessing crop phenological stages, characterized in that, include: Acquire multiple raw images of the target crop within a preset time period; Based on the quality control rules, the unqualified original images are removed to obtain the target image; Based on the chromaticity feature values of the calibrated soil, the soil portion in the target image is segmented to obtain the crop portion; Based on the color and growth characteristics of the crop portion in the target image, the current evaluation coefficient of the target crop is determined; The phenological stage of the target crop is determined based on the absolute change of the current evaluation coefficient compared to the evaluation coefficient of a period similar to the previous growing year. The formula for calculating the current evaluation coefficient is as follows: in, The current evaluation coefficient is... The average green count of the crop portion in the target image. The average number of red hues in the crop portion of the target image. The time when the target image was captured. The growth characteristics are as described. The number of pixels in the crop portion. The total number of pixels in the target image. As a weighting factor, As weight, The ordinal number of the target image taken on that day; The step of determining the phenological stage of the target crop based on the absolute change of the current evaluation coefficient and the evaluation coefficient at a similar time point in the previous growing year specifically includes: obtaining the current evaluation coefficient at the current time point; determining a reference time interval for the same time point in the previous growing year, wherein the reference time interval is a period of 15 days before and after the time point; calculating the reference evaluation coefficient corresponding to each time point in the previous growing year within the reference time interval; calculating the absolute value of the difference between the current evaluation coefficient and each of the reference evaluation coefficients to obtain the absolute change; and determining the growth stage corresponding to the minimum absolute change as the phenological stage of the target crop.
2. The method according to claim 1, characterized in that, The step of acquiring multiple original images of the target crop within a preset time period specifically includes: The original images are acquired by the image sensor of the automatic phenological observation instrument, which is positioned above the canopy of the target crop and is not obstructed by any obstacles. The original image includes both soil and crop portions.
3. The method according to claim 1, characterized in that, The step of removing unqualified original images based on quality control rules to obtain the target image specifically includes: Based on the readability of the original image, it is determined whether the source file is corrupted. If the original image cannot be read, the source file is determined to be corrupted. Based on the brightness of the original image, it is determined whether there is external interference when the original image was captured. If the overall brightness value of the original image is lower than a preset first brightness threshold, or if the overall brightness value of the original image is higher than a preset second brightness threshold, it is determined that the original image was interfered with by external factors when it was captured. The original images that are determined to be damaged or interfered with are discarded and do not participate in the subsequent evaluation coefficient calculation process, thus obtaining the target image.
4. The method according to claim 1, characterized in that, Before the step of segmenting the soil portion in the target image based on the chromaticity feature values of the calibrated soil to obtain the crop portion, a soil calibration step is included, specifically: For different seasons, obtain soil images of the soil where no crops have been planted; The colorimetric characteristic values of the calibrated soil in different seasons are determined respectively. The colorimetric characteristic values include absolute greenness index, absolute redness index and absolute blueness index.
5. The method according to claim 4, characterized in that, The formula for calculating the absolute greenness index is as follows: ; The formula for calculating the absolute redness index is as follows: ; The formula for calculating the absolute blueness index is as follows: ; in, The absolute greenness index, The absolute redness index, The absolute blueness index, For green color number, For red numbers, It is the blue chromatic number.
6. The method according to claim 5, characterized in that, The step of segmenting the soil portion of the target image to obtain the crop portion based on the chromaticity feature values of the calibrated soil specifically includes: Identify the image region in the target image that is simultaneously close to the absolute greenness index, the absolute redness index, and the absolute blueness index, and identify it as the soil part; The soil portion is divided to obtain the crop portion.
7. A device for assessing crop phenological stages, characterized in that, include: The image acquisition module is used to acquire multiple original images of the target crop within a preset time period; The quality control module is used to remove unqualified original images based on quality control rules to obtain the target image; The soil segmentation module is used to segment the soil portion in the target image based on the chromaticity feature values of the calibrated soil to obtain the crop portion; The evaluation coefficient calculation module is used to determine the current evaluation coefficient of the target crop based on the color and growth characteristics of the crop portion in the target image; wherein, the calculation formula for the current evaluation coefficient is: in, The current evaluation coefficient is... The average green count of the crop portion in the target image. The average number of red hues in the crop portion of the target image. The time when the target image was captured. The growth characteristics are as described. The number of pixels in the crop portion. The total number of pixels in the target image. As a weighting factor, As weight, The ordinal number of the target image taken on that day; The phenological stage determination module is used to determine the phenological stage of the target crop based on the absolute change of the current evaluation coefficient and the evaluation coefficient of a period similar to that of the previous growing year. The phenological period determination module is further specifically used to obtain the current evaluation coefficient at the current time point; determine a reference time interval for the same time point in the previous growing year, wherein the reference time interval is a period of 15 days before and after the time point; within the reference time interval, calculate the reference evaluation coefficient corresponding to each time point in the previous growing year; calculate the absolute value of the difference between the current evaluation coefficient and each of the reference evaluation coefficients to obtain the absolute change; and determine the growth stage corresponding to the minimum absolute change as the phenological period of the target crop.
8. An electronic device, characterized in that, include: One or more processors; Image sensors are used to acquire raw images; Memory, used to store one or more programs, as well as the original image; When the one or more programs are executed by the one or more processors, the one or more processors implement the method for assessing crop phenology as described in any one of claims 1-6.
9. A readable storage medium, characterized in that, The readable storage medium stores a program for evaluating crop phenology, which, when executed by a processor, enables the method for evaluating crop phenology as described in any one of claims 1-6.
Citation Information
Patent Citations
Plant growth condition determination method and device
CN112084921A
Crop growth condition evaluation method and device
CN112513874A
