Mildew detection method for corn kernel germ area based on hyperspectral technology

Using hyperspectral technology to collect and process spectral data in the germ area of ​​corn kernels solves the existing problems of low efficiency and insufficient accuracy in corn mildew detection, achieves rapid and accurate detection of corn mildew information, and improves detection efficiency and accuracy. It reduces the cost and has important food security significance.

CN118533767APending Publication Date: 2024-08-23NORTH CHINA INST OF AEROSPACE ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410561156.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing methods for detecting corn moldy kernels are inefficient, highly subjective, and unsuitable for large-scale detection. Traditional microbial methods are time-consuming, laborious, and damage the structure of agricultural products, and cannot meet the grain industry's demand for rapid and accurate detection of corn moldy information.

Method used

Hyperspectral technology is used to collect spectral data in the germ area of ​​corn kernels. Through normalization processing and feature band extraction, the final distinguishing feature C is calculated to classify corn mildew to achieve rapid and accurate detection.

Benefits of technology

It achieves real-time, rapid and correct detection of corn mildew information, improves detection efficiency and accuracy, reduces costs, and is of great significance to food security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118533767A
    Figure CN118533767A
Patent Text Reader

Abstract

The invention discloses a corn kernel germ area mildew detection method based on a hyperspectral technology. The corn kernel germ area mildew detection method comprises the following steps: a, acquiring spectral data of a corn kernel germ area by utilizing hyperspectral equipment; b, processing the hyperspectral data obtained in the step a by using a normalization method; c, for the hyperspectral information data processed by the normalization method in the step b, extracting five characteristic wave bands of a corn kernel germ area, and constructing a two-dimensional space coordinate system of wavelength and normalized spectral reflectivity; d, respectively calculating a feature I T1 and a feature II T2 by utilizing the two-dimensional space coordinates established by the five feature wavebands in the step c; e, the first feature T1 and the second feature T2 in the step d are used for calculating a final distinguishing feature C, when the final distinguishing feature C is smaller than a threshold value, the corn kernels are mildewed corn kernels, and when C is larger than or equal to the threshold value, the corn kernels are normal corn kernels; the method provided by the invention overcomes the defects of the traditional seed vigor determination method, can effectively extract the information of the mildew region of the corn kernel germ region, and realizes the detection of the mildew information of the corn kernel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of corn kernel quality detection, and in particular to a method for detecting mildew in a germ region of corn kernels based on hyperspectral technology. Background Art

[0002] The evaluation results of corn quality are directly related to its pricing, grading, grading and storage methods. The state has issued GB1353-2018 corn inspection standards, which clearly stipulates the inspection categories, methods and quality requirements of corn kernels in the corn purchasing process. Among them, the corn moldy kernel index is listed separately as one of the important inspection items, which is enough to show its serious harm. The quality and safety problems caused by moldy corn will not only endanger the health of humans and animals, but also cause losses to grain storage and later processing.

[0003] There are two existing quality inspection methods for corn moldy kernels in my country. The first is the manual inspection method, that is, the assessor samples 100g of corn kernels and manually determines the number of moldy kernels with the naked eye. If the mass of moldy kernels accounts for less than 2%, the sample is considered qualified. The inspection time of a sample takes about 30-40 minutes, and the work efficiency is low. Moreover, this inspection method is highly subjective and requires high professional quality of the assessors. When the scale of the inspection sample is large, the assessors are prone to misjudgment and errors due to fatigue. The second is the microbial method, that is, the moldy kernels of corn are detected by reagents and equipment, but the microbial method requires a large number of samples, which is not only time-consuming and labor-intensive, but also damages the structure of agricultural products, and is not suitable for the inspection of a large number of samples. However, the traditional corn kernel moldy detection mode can no longer meet the needs of the grain industry, especially the detection of corn moldy information in food processing enterprises. Therefore, the grain industry urgently needs to find a fast and accurate early detection and early warning method for corn moldy kernels.

[0004] In recent years, with the development of hyperspectral technology, new ideas and technical means have been provided to solve the problem of early disease detection of corn kernels. Hyperspectral technology has become a new type of non-destructive testing technology with a wide spectral band range (up to hundreds of spectral bands) and high spectral resolution (within 10nm), which can simultaneously detect changes in the characteristics of the sample inside and outside. Its principle is mainly to use one-dimensional spectral information to express the changes in its internal components. Hyperspectral technology has the advantages of fast detection speed and no damage to the object being detected, which meets the requirements for corn kernel mildew detection.

[0005] The present invention takes hyperspectral technology as the main technical means, quantitatively analyzes the evolution law of the spectral information of the mildew in the germ area of ​​corn kernels, and combines spectral data processing technology to propose a rapid detection method for the mildew information in the germ area of ​​corn kernels based on hyperspectral technology, thereby providing basic technical support for the detection of mildew information in corn kernels and corn seed screening. Summary of the invention

[0006] The purpose of the present invention is to solve the above problems. In view of the shortcomings of the existing quality detection methods for moldy corn kernels, a method for detecting mold in the germ area of ​​corn kernels based on hyperspectral technology is proposed, which can effectively extract information about the moldy area in the germ area of ​​corn kernels, thereby realizing the detection of moldy information of corn kernels. Since the mold of corn starts from the germ area, and the mold in the germ area will cause the organic components in the germ area to change, and the change of the organic components in the germ area will affect the spectral reflectance of the area and change its spectrum, this provides a theoretical basis for the detection of corn mold using the patented method.

[0007] The technical solutions adopted to achieve the above objectives are:

[0008] A method for detecting mildew in the germ area of ​​corn kernels based on hyperspectral technology comprises the following steps:

[0009] a. Collect spectral data of the germ area of ​​corn kernels using hyperspectral equipment;

[0010] b. Processing the hyperspectral data obtained in step a using a normalization method;

[0011] c. For the hyperspectral information data processed by the normalization method in step b, five characteristic bands of the germ area of ​​corn kernels are extracted, namely: b1 (436nm), b2 (515nm), b3 (675nm), b4 (716nm), and b5 (840nm). The wavelength is set as the X coordinate, and the normalized spectral reflectance of the corresponding wavelength is set as the Y coordinate. A two-dimensional spatial coordinate system of wavelength and normalized spectral reflectance is constructed, and the two-dimensional spatial coordinates of the five points are set to A (W1, P1), B (W2, P2), C (W3, P3), D (W4, P4), and E (W5, P5), where W represents the wavelength and P represents the normalized spectral reflectance;

[0012] d. Using the two-dimensional spatial coordinates established by the five characteristic bands in step c, calculate feature one T1 and feature two T2 respectively; the calculation formula of T1 is as follows:

[0013]

[0014] F=m*x+b

[0015] Where X is the wavelength of the characteristic band, and the calculation formulas for m and b are as follows:

[0016]

[0017]

[0018] The average value of the square of the wavelength is calculated as follows:

[0019]

[0020] The average value of the product of wavelength and normalized spectral reflectance is calculated as follows:

[0021]

[0022] The average value of the normalized spectral reflectance is calculated as follows:

[0023]

[0024] The average value of wavelength is calculated as follows:

[0025]

[0026] The calculation formula of T2 is as follows:

[0027]

[0028] e. The final distinguishing feature C is calculated using the feature 1 T1 and feature 2 T2 in step d, and the internal moldy corn kernels are classified according to the threshold of the final distinguishing feature C. When the final distinguishing feature C is less than the threshold, it is a moldy corn kernel, and when C is greater than or equal to the threshold, it is a normal corn kernel; the calculation formula of the final distinguishing feature C is as follows:

[0029]

[0030] Among them, T2 is feature 2 and T1 is feature 1.

[0031] Furthermore, in step a, a halogen lamp is used to provide a stable light source, and a hyperspectral device is used to collect hyperspectral data of the germ region of the corn kernel to obtain hyperspectral data information of the germ region of the corn kernel.

[0032] Further, the hyperspectral data information obtained in step b is normalized, and the normalized data is recorded as P i , P i The calculation formula is as follows:

[0033]

[0034] Where P i is the normalized spectral reflectance of the corresponding wavelength, Li is the original spectral reflectance of the corresponding wavelength, and coef is the coefficient.

[0035] Furthermore, the threshold for finally distinguishing feature C in step e is 1050.

[0036] The beneficial effects of the present invention are:

[0037] The present invention is a method for detecting mildew in the germ area of ​​corn kernels based on hyperspectral technology, which makes up for the shortcomings of traditional seed vigor determination methods, combines spectral data processing technology, quantitatively analyzes the evolution law of mildew spectral information in the germ area of ​​corn kernels, and can effectively extract information on the mildew area in the germ area of ​​corn kernels, thereby realizing the detection of mildew information in corn kernels. The method of this patent can realize real-time, rapid and correct detection of mildew information in corn kernels, effectively improve the detection efficiency of mildew information in corn kernels, reduce detection costs, and at the same time improve the detection accuracy of corn seed activity and reduce corn seed screening costs, which is of great significance to the safety of grain and its processed products. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 is a flow chart of the present invention;

[0039] Figure 2 It is a curve diagram of the spectrum data of corn kernels to be detected in the present invention;

[0040] Figure 3 The curve diagram is a normalized curve diagram of the spectral data of corn kernels to be detected in the present invention;

[0041] Figure 4 The two-dimensional spatial coordinates of the wavelength and normalized spectral reflectance established for the corn kernels to be detected in the present invention;

[0042] Figure 5 This is a diagram showing the final distinguishing result of the feature C of corn kernels to be detected in the present invention. DETAILED DESCRIPTION

[0043] The present invention is further described below in conjunction with the accompanying drawings.

[0044] like Figure 1-5 As shown, a method for detecting mildew in the germ area of ​​corn kernels based on hyperspectral technology includes:

[0045] Next steps:

[0046] a. Collect spectral data of the germ area of ​​corn kernels using hyperspectral equipment;

[0047] b. Processing the hyperspectral data obtained in step a using a normalization method;

[0048] c. For the hyperspectral information data processed by the normalization method in step b, five characteristic bands of the germ area of ​​corn kernels are extracted, namely: b1 (436nm), b2 (515nm), b3 (675nm), b4 (716nm), and b5 (840nm). The wavelength is set as the X coordinate, and the normalized spectral reflectance of the corresponding wavelength is set as the Y coordinate. A two-dimensional spatial coordinate system of wavelength and normalized spectral reflectance is constructed, and the two-dimensional spatial coordinates of the five points are set to A (W1, P1), B (W2, P2), C (W3, P3), D (W4, P4), and E (W5, P5), where W represents the wavelength and P represents the normalized spectral reflectance;

[0049] d. Using the two-dimensional spatial coordinates established by the five characteristic bands in step c, calculate feature one T1 and feature two T2 respectively; the calculation formula of T1 is as follows:

[0050]

[0051] F=m*x+b

[0052] Where X is the wavelength of the characteristic band, and the calculation formulas for m and b are as follows:

[0053]

[0054]

[0055] The average value of the square of the wavelength is calculated as follows:

[0056]

[0057] The average value of the product of wavelength and normalized spectral reflectance is calculated as follows:

[0058]

[0059] The average value of the normalized spectral reflectance is calculated as follows:

[0060]

[0061] The average value of wavelength is calculated as follows:

[0062]

[0063] The calculation formula of T2 is as follows:

[0064]

[0065] e. Calculate the final distinguishing feature C using feature 1 T1 and feature 2 T2 in step d, and classify the internal moldy corn kernels according to the threshold of the final distinguishing feature C. When the final distinguishing feature C is less than the threshold, it is a moldy corn kernel, and when C is greater than or equal to the threshold, it is a normal corn kernel. In this patent, the threshold of the final distinguishing feature C is 1050, and the calculation formula of the final distinguishing feature C is as follows:

[0066]

[0067] Among them, T2 is feature 2 and T1 is feature 1.

[0068] Preferably, in step a, a halogen lamp is used to provide a stable light source, and a hyperspectral device is used to collect hyperspectral data of the germ region of the corn kernel to obtain hyperspectral data information of the germ region of the corn kernel.

[0069] Preferably, the hyperspectral data information obtained in step b is normalized, and the normalized data is recorded as P i , P i The calculation formula is as follows:

[0070]

[0071] Where P i is the normalized spectral reflectance of the corresponding wavelength, Li is the original spectral reflectance of the corresponding wavelength, and coef is the coefficient.

[0072] According to the patented method, the mildew of the germ area of ​​corn kernels was detected. 17 corn kernels were randomly selected and the spectral data of the corn kernels to be detected were collected by installing the patented method. Figure 2 Then, the normalization process is performed to obtain the data curve of the corn kernel spectral data to be detected after normalization, as shown in FIG. Figure 3 As shown; then the wavelength and normalized spectral reflectance of the corn kernels to be detected are established in two dimensions, such as Figure 4 As shown, according to the data in the coordinate system, feature 2 T2 and feature 1 T1 are calculated in sequence; the final distinguishing feature C of the corn kernels to be detected is distinguished according to the obtained feature 2 T2 and feature 1 T1, and the distinguishing result diagram of normal corn kernels and moldy corn kernels is obtained, as shown in Figure 5 shown.

[0073] This embodiment does not impose any formal restrictions on the shape, material, structure, etc. of the patent of the present invention. Any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the patent of the present invention shall fall within the protection scope of the technical solution of the patent of the present invention.

[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some of the technical features therein by equivalents, but these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for detecting mildew in the germ area of ​​corn kernels based on hyperspectral technology, characterized in that: The steps include: a. Collect spectral data of the germ area of ​​corn kernels using hyperspectral equipment; b. Processing the hyperspectral data obtained in step a using a normalization method; c. For the hyperspectral information data processed by the normalization method in step b, five characteristic bands of the germ area of ​​corn kernels are extracted, namely: b1 (436nm), b2 (515nm), b3 (675nm), b4 (716nm), and b5 (840nm). The wavelength is set as the X coordinate, and the normalized spectral reflectance of the corresponding wavelength is set as the Y coordinate. A two-dimensional spatial coordinate system of wavelength and normalized spectral reflectance is constructed, and the two-dimensional spatial coordinates of the five points are set to A (W1, P1), B (W2, P2), C (W3, P3), D (W4, P4), and E (W5, P5), where W represents the wavelength and P represents the normalized spectral reflectance; d. Using the two-dimensional spatial coordinates established by the five characteristic bands in step c, calculate feature one T1 and feature two T2 respectively; the calculation formula of T1 is as follows: F=m*x+b Where X is the wavelength of the characteristic band, and the calculation formulas for m and b are as follows: The average value of the square of the wavelength is calculated as follows: The average value of the product of wavelength and normalized spectral reflectance is calculated as follows: The average value of the normalized spectral reflectance is calculated as follows: The average value of wavelength is calculated as follows: The calculation formula of T2 is as follows: T2= |(W1*P2-W2*P1)+(W2*P3-W3*P2)+(W3*P4-W4*P3)+(W4*P5-W5*P4)+(W5*P1-W1*P5)|*0.5 e. The final distinguishing feature C is calculated using the feature 1 T1 and feature 2 T2 in step d, and the internal moldy corn kernels are classified according to the threshold of the final distinguishing feature C. When the final distinguishing feature C is less than the threshold, it is a moldy corn kernel, and when C is greater than or equal to the threshold, it is a normal corn kernel; the calculation formula of the final distinguishing feature C is as follows: Among them, T2 is feature 2 and T1 is feature 1.

2. The method for detecting mildew in the germ area of ​​corn kernels based on hyperspectral technology according to claim 1, characterized in that: In the step a, a halogen lamp is used to provide a stable light source, and a hyperspectral device is used to collect hyperspectral data of the germ region of the corn kernel to obtain hyperspectral data information of the germ region of the corn kernel.

3. The method for detecting mildew in the germ area of ​​corn kernels based on hyperspectral technology according to claim 2, characterized in that: The hyperspectral data information obtained in step b is normalized, and the normalized data is recorded as P i , P i The calculation formula is as follows: Where P i is the normalized spectral reflectance of the corresponding wavelength, Li is the original spectral reflectance of the corresponding wavelength, and coef is the coefficient.

4. The method for detecting mildew in the germ area of ​​corn kernels based on hyperspectral technology according to claim 3, characterized in that: The threshold for finally distinguishing feature C in step e is 1050.