A forestry seed intelligent screening method and system
Through near-infrared light band detection and peak and valley analysis, frequency control signals are automatically generated, and seed classification is used to solve the objectivity and error problems of seed quality analysis in the existing technology, and the seed screening efficiency and automation level are improved. Promote sustainable forestry development.
Patent Information
- Application Number
- CN202411407390.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-10-10
AI Technical Summary
The prior art lacks objective analysis of seed quality, does not use historical data and actual regulatory parameters, resulting in analysis errors.
The actual absorption and reflectivity of seeds are obtained through near-infrared light band detection, combined with peak and valley analysis, frequency control signals are automatically generated, mapping relationships are established, and seed mass classification is used using historical data and standard parameters.
Improve the accuracy of seed viability assessment, quickly identify the tissue density and proportion of seeds, improve screening efficiency, reduce manual intervention, improve detection automation level, reduce artificial errors, support data-driven decision-making, select seeds that are more suitable for the environment, and promote sustainable forestry develop.
Smart Images

Figure CN118914121B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of seed screening, and in particular to a method and system for intelligent screening of forestry seeds. Background Art
[0002] In recent years, forestry seed screening technology is developing in the direction of efficiency, intelligence and sustainability, helping to improve the management and utilization efficiency of forest resources. By analyzing the reflectance spectrum of seeds, the seed composition and vitality are non-destructively evaluated, and combined with image processing, the quality and health status of seeds can be identified.
[0003] At present, a method for screening peanut seeds is disclosed in a Chinese invention patent with publication number CN114937077A. The method determines whether the peanut to be tested can be used as a seed according to the sharpness and fullness of the tip of the peanut embryo to be tested. The present invention combines relevant electronic equipment to perform graphic recognition and relevant data processing, thereby realizing the screening of peanut seeds and improving the screening efficiency of peanut seeds. However, the related art does not perform relevant analysis on seed quality according to the characteristics of the seeds themselves, lacks objectivity of analysis, does not perform analysis based on historical data, lacks data utilization, and does not perform multiple adjustments to parameters according to actual needs, which easily causes analysis errors. Summary of the invention
[0004] The technical problem solved by the present invention is that the related technology does not conduct relevant analysis on seed quality according to the characteristics of the seeds themselves, lacks objectivity in analysis, does not conduct analysis based on historical data, lacks utilization of data, and does not conduct multiple adjustments to parameters according to actual needs, which easily leads to analysis errors.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a method for intelligent screening of forestry seeds, comprising the following steps:
[0006] Step S100, obtaining the seed name, matching the corresponding near-infrared light band, standard reflectivity, standard absorption peak and standard germination rate, sending a first frequency control signal to the detection device according to the near-infrared light band, and the detection device performing a first control on the current frequency according to the first frequency control signal to obtain a first current frequency, and after the first control is completed, irradiating the seeds;
[0007] Step S200, obtaining the actual absorption rate of the seeds, judging the moisture content of the seeds according to the actual absorption rate, calculating a first difference between the actual absorption rate and the standard absorption rate, generating a second frequency control signal according to the first difference, obtaining a second current frequency, and the detection device performing a second control on the current frequency according to the second frequency control signal;
[0008] Step S300, after the second control is completed, the actual reflectivity of the seeds is obtained in the first time period, a reflectivity curve is drawn according to the actual reflectivity of the seeds in the first time period, the peak and the valley in the reflectivity curve are identified, and the tissue density and tissue ratio of the seeds are determined according to the peak and the valley;
[0009] Step S400, calculate the ratio of the peak value to the valley value, recorded as the first ratio, calculate the difference between the standard germination rate and the first ratio, recorded as the second difference, classify the seeds according to the second difference to obtain the seed type, establish a first mapping relationship between the actual absorption rate, the actual reflectivity and the second current frequency, establish a second mapping relationship between the actual absorption rate, the actual reflectivity and the seed type, obtain the second current frequency according to the first mapping relationship and the second mapping relationship, and obtain the seed type.
[0010] As a preferred solution of the forestry seed intelligent screening method described in the present invention, step S100 includes the following sub-steps:
[0011] Step S101, obtaining a seed name, calling a seed database, inputting the seed name into the seed database, and matching the corresponding near-infrared light band, standard reflectance peak value, standard reflectance valley value, standard absorption peak value, standard germination rate, standard water content, standard tissue density, and standard tissue ratio;
[0012] Step S102, sending a first frequency control signal to a detection device according to the near-infrared light band, and the detection device performs a first control on the current frequency according to the first frequency control signal to obtain a first current frequency;
[0013] Step S103, after the first control is completed, an irradiation angle is set to irradiate the seeds, and the irradiation angle ensures that the seeds to be detected are covered.
[0014] As a preferred solution of the forestry seed intelligent screening method described in the present invention, step S200 includes the following sub-steps:
[0015] Step S201, obtaining the actual absorption rate of the seeds, and judging the moisture content of the seeds according to the actual absorption rate. The judgment logic of the moisture content of the seeds includes:
[0016] Obtaining a standard absorption rate and a standard moisture content, calculating a ratio of the actual absorption rate to the standard absorption rate, recording the ratio as a second ratio, calculating a first product of the second ratio and the standard moisture content, and setting the first product as the seed moisture content;
[0017] Step S202, calculating a first difference between the actual absorption rate and the standard absorption rate, and generating a second frequency control signal according to the first difference, wherein the generation logic of the second frequency control signal includes:
[0018] Acquire a first current frequency, set a change amount, continuously increase or continuously decrease the first current frequency according to the change amount, acquire a corresponding first difference, and when the first difference is 0, count the number of times the change amount is continuously increased or continuously decreased, calculate a second product of the number and the change amount, set the second product as a current frequency variation, calculate a sum of the current frequency variation and the first current frequency, generate a second frequency control signal according to the sum of the current frequency variation and the first current frequency, and set the sum of the current frequency variation and the first current frequency as the second current frequency;
[0019] Step S203: obtaining a second current frequency, and the detection device performs a second control on the current frequency according to the second frequency control signal.
[0020] As a preferred solution of the forestry seed intelligent screening method described in the present invention, step S202 further includes the following sub-steps:
[0021] Step S2021, when the first difference is not 0, obtaining a corresponding change amount, taking half of the change amount, taking half of the change amount as a new change amount, and continuously increasing or continuously decreasing the first current frequency according to the new change amount to obtain a corresponding first difference value;
[0022] Step S2022, when the first difference is 0, stop updating the change amount, and when the second difference is not 0, repeat steps S2021 to S2022.
[0023] As a preferred solution of the forestry seed intelligent screening method described in the present invention, step S300 includes the following sub-steps:
[0024] Step S301, after the second control is completed, the actual reflectivity of the seeds is detected within the first time period, and a reflectivity curve is drawn according to the actual reflectivity of the seeds within the first time period according to the point drawing method;
[0025] Step S302, identifying peaks and valleys in the reflectivity curve, wherein the peak and valley identification logic includes: obtaining data in the reflectivity curve, wherein the data is the actual reflectivity corresponding to the points constituting the reflectivity curve in the point drawing method, performing smoothing and denoising processing on the data to obtain a first data point, setting a moving window size, performing local frame selection on the data, comparing the locally framed data with each other, selecting the data with the largest value and setting it as a local maximum point, selecting the data with the smallest value and setting it as a local minimum point, traversing each local maximum point and local minimum point, sorting the local maximum points in descending order, selecting the local maximum point with the largest value and setting it as a peak value, performing ascending processing on the local minimum points, selecting the local minimum point with the smallest value and setting it as a valley value;
[0026] Step S303, determining the tissue density and tissue ratio of the seeds according to the peak values and the valley values.
[0027] As a preferred solution of the forestry seed intelligent screening method described in the present invention, step S303 includes the following sub-steps:
[0028] Step S3031, obtaining the standard tissue density, standard tissue ratio, standard reflectivity peak value and standard reflectivity valley value, and obtaining the peak value and valley value;
[0029] Step S3032, calculating the ratio of the peak value to the standard peak value, recorded as the second ratio, calculating the ratio of the valley value to the standard valley value, recorded as the third ratio, calculating the average of the second ratio and the third ratio, and recording the average as the scaling ratio;
[0030] Step S3033 calculates the product of the scaling ratio and the standard tissue density, sets the product of the scaling ratio and the standard tissue density as the tissue density, calculates the product of the scaling ratio and the standard tissue ratio, and sets the product of the scaling ratio and the standard tissue ratio as the tissue ratio.
[0031] As a preferred solution of the forestry seed intelligent screening method described in the present invention, step S400 includes the following sub-steps:
[0032] Step S401, calculating the ratio of the peak value to the valley value, recorded as a first ratio, and calculating the difference between the standard germination rate and the first ratio, recorded as a second difference;
[0033] Step S402, setting a difference threshold, classifying seeds according to the second difference and the difference threshold to obtain seed types, wherein the seed types include qualified seeds and unqualified seeds;
[0034] Step S403, establishing a first mapping relationship between the actual absorption rate, the actual reflectivity and the second current frequency, obtaining the second current frequency, and matching the actual absorption rate and the actual reflectivity corresponding to the second current frequency through the first mapping relationship;
[0035] Step S404, establishing a second mapping relationship between actual absorptivity, actual reflectivity and seed type, obtaining the actual absorptivity and actual reflectivity, and matching the seed type corresponding to the actual absorptivity and actual reflectivity according to the second mapping relationship.
[0036] In a second aspect, a forestry seed intelligent screening system includes a collection module, an analysis module, a control module and a screening module;
[0037] The acquisition module obtains the seed name and matches the corresponding near-infrared light band, standard reflectivity, standard absorption peak and standard germination rate;
[0038] The analysis module obtains the actual absorption rate of the seeds, determines the moisture content of the seeds according to the actual absorption rate, calculates a first difference between the actual absorption rate and the standard absorption rate, generates a second frequency control signal according to the first difference, and obtains a second current frequency. After the second control is completed, the actual reflectivity of the seeds is obtained within a first time period, a reflectivity curve is drawn according to the actual reflectivity of the seeds within the first time period, the peak and valley values in the reflectivity curve are identified, the tissue density and tissue proportion of the seeds are determined according to the peak and valley values, the ratio of the peak and valley values is calculated, recorded as a first ratio, the difference between the standard germination rate and the first ratio is calculated, recorded as a second difference, the seeds are classified according to the second difference to obtain the seed type, a first mapping relationship between the actual absorption rate, the actual reflectivity and the second current frequency is established, and a second mapping relationship between the actual absorption rate, the actual reflectivity and the seed type is established;
[0039] The control module sends a first frequency control signal to the detection device according to the near-infrared light band, and the detection device performs a first control on the current frequency according to the first frequency control signal to obtain a first current frequency. After the first control is completed, the seeds are irradiated, and the current frequency is secondly controlled according to the second frequency control signal;
[0040] The screening module obtains the second current frequency and the seed type according to the first mapping relationship and the second mapping relationship.
[0041] In a third aspect, the present invention provides an electronic device comprising a memory, a processor and storage in the memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in any one of the methods described above are executed.
[0042] In a fourth aspect, the present invention provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps in any one of the methods described above are executed.
[0043] The beneficial effects of the present invention are as follows: through near-infrared light band detection, the actual absorption rate and reflectivity of seeds can be accurately obtained, thereby improving the accuracy of seed vitality assessment; combined with peak and valley analysis, the tissue density and proportion of seeds can be quickly identified, which is helpful to quickly classify seeds, improve screening efficiency, automatically generate frequency control signals, reduce manual intervention, improve the automation level of the detection process, reduce human errors, establish mapping relationships, use historical data and standard parameters to classify seed quality, support data-driven decision making, and through precise screening, select seeds that are more suitable for specific environments, promote sustainable forestry development, and optimize resource utilization. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A basic flow chart of a method for intelligent screening of forestry seeds provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings. It is obvious that the described embodiments are only part of the embodiments of the present invention, but not all of the embodiments.
[0046] Example 1, reference Figure 1 , as an embodiment of the present invention, provides a method for intelligent screening of forestry seeds, comprising the following steps:
[0047] Step S100, obtaining the seed name, matching the corresponding near-infrared light band, standard reflectivity, standard absorption peak and standard germination rate, sending a first frequency control signal to the detection device according to the near-infrared light band, and the detection device performing a first control on the current frequency according to the first frequency control signal to obtain a first current frequency, and after the first control is completed, irradiating the seeds;
[0048] Step S200, obtaining the actual absorption rate of the seeds, judging the moisture content of the seeds according to the actual absorption rate, calculating a first difference between the actual absorption rate and the standard absorption rate, generating a second frequency control signal according to the first difference, obtaining a second current frequency, and the detection device performing a second control on the current frequency according to the second frequency control signal;
[0049] Step S300, after the second control is completed, the actual reflectivity of the seeds is obtained in the first time period, a reflectivity curve is drawn according to the actual reflectivity of the seeds in the first time period, the peak and the valley in the reflectivity curve are identified, and the tissue density and tissue ratio of the seeds are determined according to the peak and the valley;
[0050] Step S400, calculate the ratio of the peak value to the valley value, recorded as the first ratio, calculate the difference between the standard germination rate and the first ratio, recorded as the second difference, classify the seeds according to the second difference to obtain the seed type, establish a first mapping relationship between the actual absorption rate, the actual reflectivity and the second current frequency, establish a second mapping relationship between the actual absorption rate, the actual reflectivity and the seed type, obtain the second current frequency according to the first mapping relationship and the second mapping relationship, and obtain the seed type.
[0051] The present invention can accurately obtain the actual absorption rate and reflectivity of seeds through near-infrared light band detection, thereby improving the assessment accuracy of seed vitality, and combined with peak and valley analysis, can quickly identify the tissue density and proportion of seeds, which is helpful to quickly classify seeds, improve screening efficiency, automatically generate frequency control signals, reduce human intervention, enhance the automation level of the detection process, reduce human errors, establish mapping relationships, use historical data and standard parameters to classify seed quality, support data-driven decision making, and through precise screening, can select seeds that are more suitable for specific environments, promote sustainable forestry development, and optimize resource utilization.
[0052] The step S100 includes the following sub-steps:
[0053] Step S101, obtaining a seed name, calling a seed database, inputting the seed name into the seed database, and matching the corresponding near-infrared light band, standard reflectance peak value, standard reflectance valley value, standard absorption peak value, standard germination rate, standard water content, standard tissue density, and standard tissue ratio;
[0054] Step S102, sending a first frequency control signal to a detection device according to the near-infrared light band, and the detection device performs a first control on the current frequency according to the first frequency control signal to obtain a first current frequency;
[0055] Step S103, after the first control is completed, an irradiation angle is set to irradiate the seeds, and the irradiation angle ensures that the seeds to be detected are covered.
[0056] During the specific implementation, by retrieving the seed database, it is ensured that the detection parameters of the selected seeds are highly consistent with the standard values, thereby improving the accuracy of the detection. The standardized steps make the entire screening process repeatable, which helps to optimize the management and detection process. Control signals are sent according to the near-infrared light band to ensure that the detection equipment can be flexibly adjusted to adapt to the characteristics of different types of seeds. A reasonable irradiation angle is set to ensure comprehensive irradiation of the seeds, thereby improving the comprehensiveness and representativeness of data collection. By automating the control of the current frequency and the irradiation process, the detection efficiency is significantly improved, and the manual operation time is reduced.
[0057] The step S200 includes the following sub-steps:
[0058] Step S201, obtaining the actual absorption rate of the seeds, and judging the moisture content of the seeds according to the actual absorption rate. The judgment logic of the moisture content of the seeds includes:
[0059] Obtaining a standard absorption rate and a standard moisture content, calculating a ratio of the actual absorption rate to the standard absorption rate, recording the ratio as a second ratio, calculating a first product of the second ratio and the standard moisture content, and setting the first product as the seed moisture content;
[0060] Step S202, calculating a first difference between the actual absorption rate and the standard absorption rate, and generating a second frequency control signal according to the first difference, wherein the generation logic of the second frequency control signal includes:
[0061] Acquire a first current frequency, set a change amount, continuously increase or continuously decrease the first current frequency according to the change amount, acquire a corresponding first difference, and when the first difference is 0, count the number of times the change amount is continuously increased or continuously decreased, calculate a second product of the number and the change amount, set the second product as a current frequency variation, calculate a sum of the current frequency variation and the first current frequency, generate a second frequency control signal according to the sum of the current frequency variation and the first current frequency, and set the sum of the current frequency variation and the first current frequency as the second current frequency;
[0062] Step S203: obtaining a second current frequency, and the detection device performs a second control on the current frequency according to the second frequency control signal.
[0063] In specific implementation, by calculating the ratio of the standard absorption rate and the standard moisture content, the moisture content of the seeds can be accurately determined, providing a reliable basis for subsequent quality assessment, and realizing dynamic adjustment of the current frequency. It can respond to the actual absorption of the seeds in a timely manner, optimize the detection process, and utilize feedback mechanisms, such as the judgment that the first difference is 0, to improve the efficiency and flexibility of intelligent control. By continuously increasing or decreasing the current frequency and recording the number of changes, it helps to more accurately capture the response of the seeds to light and improve the credibility of the detection data. The generated second frequency control signal is more refined, and the detection equipment can make more precise control based on real-time data, thereby improving the effectiveness of detection.
[0064] The step S202 further includes the following sub-steps:
[0065] Step S2021, when the first difference is not 0, obtaining a corresponding change amount, taking half of the change amount, taking half of the change amount as a new change amount, and continuously increasing or continuously decreasing the first current frequency according to the new change amount to obtain a corresponding first difference value;
[0066] Step S2022, when the first difference is 0, stop updating the change amount, and when the second difference is not 0, repeat steps S2021 to S2022.
[0067] In specific implementation, by continuously acquiring and updating the change amount, it can flexibly adapt to changes in seed absorption characteristics, thereby achieving more precise current frequency control. Using half of the change amount as the new change amount can effectively reduce the amplitude of frequency adjustment, reduce the oscillation phenomenon of the system during the adjustment process, and improve stability. By setting the change amount to be continuously updated when the first difference is not 0, it is ensured that the detection process can run under optimal conditions, thereby improving the reliability and accuracy of the data. During the frequency adjustment process, it can quickly respond to changes in actual conditions and obtain a new first difference in real time, thereby improving the reaction speed and adaptability of the detection equipment. The system can continuously iterate in actual operation and optimize the current frequency adjustment strategy to better adapt to the characteristics of different seeds and improve the accuracy of screening.
[0068] The step S300 includes the following sub-steps:
[0069] Step S301, after the second control is completed, the actual reflectivity of the seeds is detected within the first time period, and a reflectivity curve is drawn according to the actual reflectivity of the seeds within the first time period according to the point drawing method;
[0070] Step S302, identifying peaks and valleys in the reflectivity curve, wherein the peak and valley identification logic includes: obtaining data in the reflectivity curve, wherein the data is the actual reflectivity corresponding to the points constituting the reflectivity curve in the point drawing method, performing smoothing and denoising processing on the data to obtain a first data point, setting a moving window size, performing local frame selection on the data, comparing the locally framed data with each other, selecting the data with the largest value and setting it as a local maximum point, selecting the data with the smallest value and setting it as a local minimum point, traversing each local maximum point and local minimum point, sorting the local maximum points in descending order, selecting the local maximum point with the largest value and setting it as a peak value, performing ascending processing on the local minimum points, selecting the local minimum point with the smallest value and setting it as a valley value;
[0071] Step S303, judging the tissue density and tissue ratio of the seeds according to the peak value and the valley value.
[0072] In specific implementation, the actual reflectivity is detected within the first time period and the reflectivity curve is drawn, which provides intuitive reflectivity change information and helps to deeply analyze the characteristics of the seeds. By smoothing and denoising the reflectivity data, it is ensured that the first data point obtained is more representative, which improves the accuracy of peak and valley identification. Setting the moving window size for local comparison can accurately identify the peaks and valleys in the reflectivity curve, enhancing the depth and accuracy of data analysis, and sorting and selecting the local maximum and minimum points to form a systematic data processing flow, making the identification process more efficient and reliable. According to the identified peaks and valleys, the tissue density and proportion of the seeds can be effectively judged, providing a scientific basis for evaluating seed quality.
[0073] The step S303 includes the following sub-steps:
[0074] Step S3031, obtaining the standard tissue density, standard tissue ratio, standard reflectivity peak value and standard reflectivity valley value, and obtaining the peak value and valley value;
[0075] Step S3032, calculating the ratio of the peak value to the standard peak value, recorded as the second ratio, calculating the ratio of the valley value to the standard valley value, recorded as the third ratio, calculating the average of the second ratio and the third ratio, and recording the average as the scaling ratio;
[0076] Step S3033 calculates the product of the scaling ratio and the standard tissue density, sets the product of the scaling ratio and the standard tissue density as the tissue density, calculates the product of the scaling ratio and the standard tissue ratio, and sets the product of the scaling ratio and the standard tissue ratio as the tissue ratio.
[0077] In specific implementation, by obtaining standard tissue density and proportion, combined with peak and valley values, a clear reference framework is provided to enhance the scientific nature of the judgment. The ratio of peak and valley values is calculated and a scaling ratio is generated, making the judgment of tissue density and proportion more dynamically adaptable and able to reflect the actual situation. Multiplying the scaling ratio with the standard value makes the calculation of tissue density and tissue proportion more accurate, reduces errors, and improves the reliability of the analysis. Comprehensive consideration of peak and valley values can more comprehensively evaluate the tissue characteristics of seeds and provide rich data support for further research.
[0078] The step S400 includes the following sub-steps:
[0079] Step S401, calculating the ratio of the peak value to the valley value, recorded as a first ratio, and calculating the difference between the standard germination rate and the first ratio, recorded as a second difference;
[0080] Step S402, setting a difference threshold, classifying seeds according to the second difference and the difference threshold to obtain seed types, wherein the seed types include qualified seeds and unqualified seeds;
[0081] Step S403, establishing a first mapping relationship between the actual absorption rate, the actual reflectivity and the second current frequency, obtaining the second current frequency, and matching the actual absorption rate and the actual reflectivity corresponding to the second current frequency through the first mapping relationship;
[0082] Step S404, establishing a second mapping relationship between actual absorptivity, actual reflectivity and seed type, obtaining the actual absorptivity and actual reflectivity, and matching the seed type corresponding to the actual absorptivity and actual reflectivity according to the second mapping relationship.
[0083] In specific implementation, by calculating the ratio of peak value and valley value and combining it with the difference of standard germination rate, seeds can be effectively classified and qualified and unqualified seeds can be identified, providing a clear basis for subsequent management. The process of setting the difference threshold ensures the flexibility and accuracy of classification. The classification standard can be adjusted according to actual conditions to adapt to different seed characteristics. A first mapping relationship between actual absorption rate, actual reflectivity and second current frequency is established, which makes the correlation between data clearer and optimizes data utilization efficiency. By acquiring and matching actual absorption rate and actual reflectivity, the feedback capability of the system is enhanced, making real-time adjustment and optimization possible and improving overall detection efficiency.
[0084] The present invention can accurately obtain the actual absorption rate and reflectivity of seeds through near-infrared light band detection, thereby improving the assessment accuracy of seed vitality, and combined with peak and valley analysis, can quickly identify the tissue density and proportion of seeds, which is helpful to quickly classify seeds, improve screening efficiency, automatically generate frequency control signals, reduce human intervention, enhance the automation level of the detection process, reduce human errors, establish mapping relationships, use historical data and standard parameters to classify seed quality, support data-driven decision making, and through precise screening, can select seeds that are more suitable for specific environments, promote sustainable forestry development, and optimize resource utilization.
[0085] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Among them, the storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0086] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A method for intelligent screening of forestry seeds, characterized in that: The following steps are involved: Step S100, obtaining the seed name, matching the corresponding near-infrared light band, standard reflectivity, standard absorption peak and standard germination rate, sending a first frequency control signal to the detection device according to the near-infrared light band, and the detection device performing a first control on the current frequency according to the first frequency control signal to obtain a first current frequency, and after the first control is completed, irradiating the seeds; Step S200, obtaining the actual absorption rate of the seeds, judging the moisture content of the seeds according to the actual absorption rate, calculating a first difference between the actual absorption rate and the standard absorption rate, generating a second frequency control signal according to the first difference, obtaining a second current frequency, and the detection device performing a second control on the current frequency according to the second frequency control signal; Step S300, after the second control is completed, the actual reflectivity of the seeds is obtained in the first time period, a reflectivity curve is drawn according to the actual reflectivity of the seeds in the first time period, the peak and the valley in the reflectivity curve are identified, and the tissue density and tissue ratio of the seeds are determined according to the peak and the valley; Step S400, calculating the ratio of the peak value to the valley value, recorded as the first ratio, calculating the difference between the standard germination rate and the first ratio, recorded as the second difference, classifying the seeds according to the second difference to obtain the seed type, establishing a first mapping relationship between the actual absorption rate, the actual reflectivity and the second current frequency, establishing a second mapping relationship between the actual absorption rate, the actual reflectivity and the seed type, obtaining the second current frequency according to the first mapping relationship and the second mapping relationship, and obtaining the seed type; The step S300 includes the following sub-steps: Step S301, after the second control is completed, the actual reflectivity of the seeds is detected within the first time period, and a reflectivity curve is drawn according to the actual reflectivity of the seeds within the first time period according to the point drawing method; Step S302, identifying peaks and valleys in the reflectivity curve, wherein the peak and valley identification logic includes: obtaining data in the reflectivity curve, wherein the data is the actual reflectivity corresponding to the points constituting the reflectivity curve in the point drawing method, performing smoothing and denoising processing on the data to obtain a first data point, setting a moving window size, performing local frame selection on the data, comparing the locally framed data with each other, selecting the data with the largest value and setting it as a local maximum point, selecting the data with the smallest value and setting it as a local minimum point, traversing each local maximum point and local minimum point, sorting the local maximum points in descending order, selecting the local maximum point with the largest value and setting it as a peak value, performing ascending processing on the local minimum points, selecting the local minimum point with the smallest value and setting it as a valley value; Step S303, judging the tissue density and tissue ratio of the seeds according to the peak value and the valley value.
2. The method for intelligent screening of forestry seeds according to claim 1, characterized in that: The step S100 includes the following sub-steps: Step S101, obtaining a seed name, calling a seed database, inputting the seed name into the seed database, and matching the corresponding near-infrared light band, standard reflectance peak value, standard reflectance valley value, standard absorption peak value, standard germination rate, standard water content, standard tissue density, and standard tissue ratio; Step S102, sending a first frequency control signal to a detection device according to the near-infrared light band, and the detection device performs a first control on the current frequency according to the first frequency control signal to obtain a first current frequency; Step S103, after the first control is completed, an irradiation angle is set to irradiate the seeds, and the irradiation angle ensures that the seeds to be detected are covered.
3. The method for intelligent screening of forestry seeds according to claim 1, characterized in that: The step S200 includes the following sub-steps: Step S201, obtaining the actual absorption rate of the seeds, and judging the moisture content of the seeds according to the actual absorption rate. The judgment logic of the moisture content of the seeds includes: Obtaining a standard absorption rate and a standard moisture content, calculating a ratio of the actual absorption rate to the standard absorption rate, recording the ratio as a second ratio, calculating a first product of the second ratio and the standard moisture content, and setting the first product as the seed moisture content; Step S202, calculating a first difference between the actual absorption rate and the standard absorption rate, and generating a second frequency control signal according to the first difference, wherein the generation logic of the second frequency control signal includes: Acquire a first current frequency, set a change amount, continuously increase or continuously decrease the first current frequency according to the change amount, acquire a corresponding first difference, and when the first difference is 0, count the number of times the change amount is continuously increased or continuously decreased, calculate a second product of the number and the change amount, set the second product as a current frequency variation, calculate a sum of the current frequency variation and the first current frequency, generate a second frequency control signal according to the sum of the current frequency variation and the first current frequency, and set the sum of the current frequency variation and the first current frequency as the second current frequency; Step S203: obtaining a second current frequency, and the detection device performs a second control on the current frequency according to the second frequency control signal.
4. The method for intelligent screening of forestry seeds according to claim 3, characterized in that: The step S202 further includes the following sub-steps: Step S2021, when the first difference is not 0, obtaining a corresponding change amount, taking half of the change amount, taking half of the change amount as a new change amount, and continuously increasing or continuously decreasing the first current frequency according to the new change amount to obtain a corresponding first difference value; Step S2022, when the first difference is 0, stop updating the change amount, and when the second difference is not 0, repeat steps S2021 to S2022.
5. The method for intelligent screening of forestry seeds according to claim 1, characterized in that: The step S303 includes the following sub-steps: Step S3031, obtaining the standard tissue density, standard tissue ratio, standard reflectivity peak value and standard reflectivity valley value, and obtaining the peak value and valley value; Step S3032, calculating the ratio of the peak value to the standard peak value, recorded as the second ratio, calculating the ratio of the valley value to the standard valley value, recorded as the third ratio, calculating the average of the second ratio and the third ratio, and recording the average as the scaling ratio; Step S3033 calculates the product of the scaling ratio and the standard tissue density, sets the product of the scaling ratio and the standard tissue density as the tissue density, calculates the product of the scaling ratio and the standard tissue ratio, and sets the product of the scaling ratio and the standard tissue ratio as the tissue ratio.
6. The method for intelligent screening of forestry seeds according to claim 1, characterized in that: The step S400 includes the following sub-steps: Step S401, calculating the ratio of the peak value to the valley value, recorded as a first ratio, and calculating the difference between the standard germination rate and the first ratio, recorded as a second difference; Step S402, setting a difference threshold, classifying seeds according to the second difference and the difference threshold to obtain seed types, wherein the seed types include qualified seeds and unqualified seeds; Step S403, establishing a first mapping relationship between the actual absorption rate, the actual reflectivity and the second current frequency, obtaining the second current frequency, and matching the actual absorption rate and the actual reflectivity corresponding to the second current frequency through the first mapping relationship; Step S404, establishing a second mapping relationship between actual absorptivity, actual reflectivity and seed type, obtaining the actual absorptivity and actual reflectivity, and matching the seed type corresponding to the actual absorptivity and actual reflectivity according to the second mapping relationship.
7. A forestry seed intelligent screening system, characterized in that: It includes a collection module, an analysis module, a control module and a screening module; The acquisition module obtains the seed name and matches the corresponding near-infrared light band, standard reflectivity, standard absorption peak and standard germination rate; The analysis module obtains the actual absorption rate of the seeds, determines the moisture content of the seeds according to the actual absorption rate, calculates a first difference between the actual absorption rate and the standard absorption rate, generates a second frequency control signal according to the first difference, and obtains a second current frequency. After the second control is completed, the actual reflectivity of the seeds is obtained within a first time period, a reflectivity curve is drawn according to the actual reflectivity of the seeds within the first time period, the peak and valley values in the reflectivity curve are identified, the tissue density and tissue proportion of the seeds are determined according to the peak and valley values, the ratio of the peak and valley values is calculated, recorded as a first ratio, the difference between the standard germination rate and the first ratio is calculated, recorded as a second difference, the seeds are classified according to the second difference to obtain the seed type, a first mapping relationship between the actual absorption rate, the actual reflectivity and the second current frequency is established, and a second mapping relationship between the actual absorption rate, the actual reflectivity and the seed type is established; The control module sends a first frequency control signal to the detection device according to the near-infrared light band, and the detection device performs a first control on the current frequency according to the first frequency control signal to obtain a first current frequency. After the first control is completed, the seeds are irradiated, and the current frequency is secondly controlled according to the second frequency control signal; The screening module obtains the second current frequency and the seed type according to the first mapping relationship and the second mapping relationship.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for intelligent screening of forestry seeds described in any one of claims 1-6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for intelligent screening of forestry seeds according to any one of claims 1 to 6 is implemented.
