Method for measuring chlorophyll of pepper leaves based on spectrum technology

Through the combination of spectroscopic technology and chemical methods, a mathematical model was established to achieve non-destructive and rapid measurement of the chlorophyll content of pepper leaves, solving the problems of traditional methods being time-consuming and damaging to samples, and improving measurement efficiency and the level of precision agricultural management.

CN118624573APending Publication Date: 2024-09-10JILIN AGRICULTURAL UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410670014.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Traditional chlorophyll content detection methods are time-consuming, cumbersome to operate, and damaging to samples, and cannot meet the needs of large-scale and rapid monitoring.

Method used

Using a method based on spectral technology, spectral data in the visible and near-infrared bands of pepper leaves were obtained through spectral scanning, and a mathematical model was established using chemical methods to predict chlorophyll content and achieve non-destructive and rapid chlorophyll content measurement.

Benefits of technology

It saves time and cost, maintains the scientificity and accuracy of measurement results, enables rapid evaluation of a large number of samples, reduces the use of chemical reagents, and is suitable for real-time monitoring and precision agricultural management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118624573A
    Figure CN118624573A
Patent Text Reader

Abstract

The invention discloses a method for measuring chlorophyll of pepper leaves based on a spectrum technology, and relates to the technical field of chlorophyll measurement based on the spectrum technology, and the method comprises the following steps: selecting pretreated pepper leaves as samples, and dividing the samples into a calibration set and a test set; setting the range of the characteristic wavelength and the fluorescence intensity, and performing spectrum scanning on the sample to obtain spectrum data of the sample in the visible light and near-infrared band range; obtaining a characteristic wavelength related to the chlorophyll content according to the spectral data; determining the actual chlorophyll content of the calibration set sample through a chemical method, establishing calibration set parameters, and constructing a mathematical model between the chlorophyll content of the calibration set sample and the spectral data of the calibration set sample; and inputting the spectral data of the test set sample into the mathematical model to obtain a chlorophyll content predicted value of the test set sample. According to the method provided by the invention, lossless spectral measurement is combined with a traditional laboratory chemical method, so that the time and the cost are saved, and the scientificity and the accuracy of a measurement result are kept.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a method for measuring chlorophyll in pepper leaves based on spectral technology, and relates to the technical field of chlorophyll measurement based on spectral technology. Background Art

[0002] With the development of modern agriculture and the advancement of precision agriculture technology, it is increasingly important to monitor the physiological state and quality of crops in real time, non-destructively and efficiently. Chlorophyll is a key pigment involved in photosynthesis in plants. Its content directly reflects the photosynthetic activity and growth status of plants. It is an important indicator for evaluating crop health, yield prediction and guiding agricultural activities. However, traditional chlorophyll content detection methods, such as ethanol extraction and spectrophotometry, are time-consuming, cumbersome, and damage to samples, and cannot meet the needs of large-scale and rapid monitoring. Summary of the invention

[0003] The purpose of this application is to provide a method for measuring chlorophyll in pepper leaves based on spectral technology, which combines non-destructive spectral measurement with traditional laboratory chemical methods, saving time and cost while maintaining the scientificity and accuracy of the measurement results.

[0004] To achieve the above objectives, the first aspect of the present application provides a method for measuring chlorophyll in pepper leaves based on spectral technology, comprising:

[0005] S100 selects pretreated pepper leaves as samples, and divides the samples into a calibration set and a test set, wherein the calibration set includes samples with known chlorophyll content, and the test set includes samples with chlorophyll content to be measured;

[0006] S200 sets the characteristic wavelength range and fluorescence intensity and performs spectral scanning on the sample to obtain the spectral data of the sample within the visible light and near infrared bands;

[0007] S300 obtains a characteristic wavelength related to chlorophyll content according to the spectral data;

[0008] S400 determines the actual chlorophyll content of the calibration set sample by a chemical method and establishes calibration set parameters, and constructs a mathematical model between the chlorophyll content of the calibration set sample and its spectral data based on the calibration set parameters, wherein the calibration set parameters include characteristic wavelengths related to the chlorophyll content, the absorbance of the sample at each characteristic wavelength, and the chlorophyll content of the sample;

[0009] S500 inputs the spectral data of the test set samples into the mathematical model to obtain the predicted value of the chlorophyll content of the test set samples.

[0010] In one embodiment, in step S200, the characteristic wavelength ranges from 350 to 800 nm, and the fluorescence intensity is set to 400, 800 or 1200 lux.

[0011] In one implementation, step S300 specifically includes:

[0012] Preprocessing the spectral data by smoothing filtering and normalization;

[0013] Calculate characteristic parameters of each characteristic wavelength based on the preprocessed spectral data;

[0014] Based on each characteristic parameter, characteristic wavelengths related to chlorophyll content are identified through advanced feature selection methods.

[0015] In one embodiment, the advanced feature selection method is the UVE-IRIV algorithm.

[0016] In one embodiment, in step S400, constructing a mathematical model between the chlorophyll content of the calibration set samples and their spectral data based on the calibration set parameters includes:

[0017] Obtaining the absorbance corresponding to the calibration set samples at characteristic wavelengths related to chlorophyll content based on the spectral data;

[0018] Assuming that there is a linear relationship between the actual chlorophyll content of the sample and the corresponding absorbance at each characteristic wavelength, a linear relationship equation group is established, and the linear relationship equation group is solved according to the actual chlorophyll content and each absorbance to obtain the mathematical model.

[0019] In one embodiment, the linear relationship equation system includes:

[0020] C i =a1*A(λ1)+a2*A(λ2)+…+a n *A(λ n )+b

[0021] In the formula, C i is the actual chlorophyll content, A(λ1), A(λ2),…, A(λ n ) are the characteristic wavelengths (λ1,λ2,…,λ n ) corresponding to the absorbance, a1, a2, …, a n For each characteristic wavelength (λ1,λ2,…,λ n ) corresponds to the weight coefficient, and b is the intercept term.

[0022] In one implementation, step S400 further includes:

[0023] Obtaining the predicted value of chlorophyll content of the calibration set samples through the mathematical model;

[0024] Calculating a prediction error value of the mathematical model based on the predicted chlorophyll content and the actual chlorophyll content;

[0025] Based on the prediction error value, the mathematical model is adjusted through weight coefficients and intercept terms to obtain an optimized mathematical model.

[0026] In one embodiment, the calculation of the prediction error value of the mathematical model based on the predicted chlorophyll content and the actual chlorophyll content includes:

[0027] Based on the predicted value of chlorophyll content c i and the actual chlorophyll content C i Calculate the coefficient of determination R 2 :

[0028]

[0029] The prediction error value of the mathematical model is obtained through the determination coefficient.

[0030] The second aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the first aspect or any one of the embodiments of the first aspect when executing the computer program.

[0031] A third aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the first aspect or any implementation of the first aspect are implemented.

[0032] As can be seen from the above, the present application provides a method for measuring the chlorophyll content of pepper leaves based on spectral technology, which pairs the actual chlorophyll content determined by chemical analysis with the absorbance at a selected characteristic wavelength, establishes a reliable ground-truth data set, and provides a solid quantitative basis for subsequent model construction. This method allows non-destructive spectral measurement to be combined with traditional laboratory chemical methods, which saves time and cost while maintaining the scientificity and accuracy of the measurement results. Moreover, by using the constructed mathematical model, the chlorophyll content of unknown pepper leaves can be predicted quickly and non-destructively, which greatly improves the measurement efficiency and realizes the rapid evaluation of a large number of samples. In addition, the use of non-destructive spectral technology can not only improve the measurement efficiency and reduce the experimental cost, but also avoid the pollution of the environment by chemical reagents. At the same time, the method can realize real-time monitoring, which helps to timely understand the physiological condition of pepper plants and guide precision agricultural management. It can be used for growth monitoring, quality evaluation, and early warning of pests and diseases during pepper cultivation. It is of great value to improve the refined management level of the pepper industry and ensure the quality of pepper products. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0034] Figure 1 A schematic diagram of a method for measuring chlorophyll in pepper leaves based on spectral technology provided in an embodiment of the present application;

[0035] Figure 2 A schematic diagram of a flow chart of model establishment and correction provided in an embodiment of the present application;

[0036] Figure 3 A chlorophyll content prediction value c provided in the embodiment of the present application i The actual chlorophyll content C i Based on the characteristic wavelength λ n Prediction comparison chart. DETAILED DESCRIPTION

[0037] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0038] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0039] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural forms unless the context clearly indicates otherwise.

[0040] The following is a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0041] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific embodiments disclosed below.

[0042] Embodiment 1

[0043] The present application embodiment provides a method for measuring chlorophyll in pepper leaves based on spectral technology, such as Figure 1 and 2 As shown, the method includes:

[0044] S100 selects pretreated pepper leaves as samples, and divides the samples into a calibration set and a test set, wherein the calibration set includes samples with known chlorophyll content, and the test set includes samples with chlorophyll content to be measured;

[0045] Optionally, select several suitable pepper leaves and clean the stains on their surfaces as samples.

[0046] In one embodiment, during the sampling and pretreatment of pepper leaves, representative pepper leaves are selected without chemical extraction or destructive treatment, and only surface stains need to be cleaned to maintain a natural state. Specifically, representative pepper plants are selected, mature leaves with normal development and no pests and diseases are picked, and then the surface of the leaves is gently wiped with a soft cloth or cotton swab to remove dust, dew or other contaminants to ensure that the spectral signal is not interfered with, and a number of samples are obtained.

[0047] In one embodiment, basic information of each leaf, including picking time, location, leaf size, etc., is recorded for subsequent data analysis.

[0048] S200 sets the characteristic wavelength range and fluorescence intensity and performs spectral scanning on the sample to obtain the spectral data of the sample within the visible light and near infrared bands;

[0049] In one embodiment, a portable spectrometer, such as a near-infrared spectrometer or a hyperspectral imaging system, is used to scan the pepper leaves to obtain the spectral data within the visible light and near-infrared bands. Specifically, appropriate measurement parameters are first set, including but not limited to the wavelength range (usually set to 350-800nm ​​or 700-1000nm), resolution and scanning speed, etc., the leaves are placed on a stable platform of the spectrometer to ensure that the leaves are evenly illuminated and cover the entire effective receiving area of ​​the spectrometer as much as possible, the spectrometer is turned on, and the leaves are scanned to obtain complete spectral data, including reflection spectrum or transmission spectrum.

[0050] The embodiment of the present application adopts non-destructive spectroscopy technology, which can not only improve measurement efficiency and reduce experimental costs, but also avoid the pollution of chemical reagents to the environment. At the same time, the method can realize real-time monitoring, which helps to timely understand the physiological conditions of pepper plants and guide precision agricultural management. It can be used for growth monitoring, quality evaluation and disease and pest warning in the process of pepper planting. It is of great value to improve the level of refined management of the pepper industry and ensure the quality of pepper products.

[0051] In one embodiment, the characteristic wavelength λ n The range of was 350-800 nm, and the fluorescence intensity was set to 400, 800 or 1200 lux.

[0052] In one embodiment, since chlorophyll has a clear absorption peak and fluorescence emission characteristics in the visible light region, the characteristic wavelength range is 350-800nm ​​covering the visible light region. This range is particularly important for fluorescence detection of chlorophyll, and the fluorescence intensity of different wavelengths can reveal the existence and concentration of different substances; for example, if the fluorescence intensity is measured at three wavelengths of 400nm, 800nm ​​and 1200nm, respectively, it may correspond to the fluorescence response of different molecular structures, which is helpful to distinguish different types of fluorescent substances or explore the fluorescence properties of samples under different excitation states. By analyzing the changes in fluorescence intensity at different wavelengths, the physiological condition of the plant, such as photosynthesis efficiency, stress response, etc., can be deeply understood, and measuring the fluorescence intensity in the wavelength range of 350-800nm ​​in chlorophyll content analysis is helpful for plant physiological and ecological research and crop quality evaluation.

[0053] The embodiment of the present application establishes a reliable ground-truth dataset by pairing the actual chlorophyll content determined by chemical analysis with the absorbance at selected characteristic wavelengths, providing a solid quantitative foundation for subsequent model building. This method allows non-destructive spectral measurements to be combined with traditional laboratory chemical methods, saving time and cost while maintaining the scientific nature and accuracy of the measurement results.

[0054] S300 obtains a characteristic wavelength related to chlorophyll content according to the spectral data;

[0055] Optionally, the characteristic wavelength related to the chlorophyll content obtained according to the spectral data includes:

[0056] S301 preprocesses the spectral data by smoothing filtering method and normalization;

[0057] S302 calculates characteristic parameters of each characteristic wavelength based on the preprocessed spectral data, the characteristic parameters including red edge position and red edge slope, chlorophyll index, normalized difference vegetation index, enhanced vegetation index, etc.;

[0058] S303 identifies characteristic wavelengths related to chlorophyll content through an advanced feature selection method based on each characteristic parameter. These characteristic wavelengths may correspond to the maximum absorption peak or edge effect of chlorophyll.

[0059] In one embodiment, in step S301, the spectral data is preprocessed, including using a smoothing filtering method to eliminate noise and normalization to eliminate the influence of physical factors. The smoothing filtering method includes using a moving average or Savitzky-Golay filter, etc., and normalization such as normalization to a reference band, maximum value normalization, standard normal variable conversion SNV, etc., and physical factors generally refer to the influence of light source intensity, distance, blade surface roughness, etc.

[0060] In one embodiment, in step S302, the specific wavelength of the red edge position is 696-705 nm. Among them, chlorophyll a and b have an obvious "red edge" phenomenon around 700 nm, and the chlorophyll content can be reflected by calculating parameters such as the red edge position, the red edge slope, or the normalized difference vegetation index of a specific wavelength (such as 696 nm or 705 nm). Figure 3 The data shown in the figure show that the difference between the actual measured chlorophyll content and the predicted chlorophyll content in the spectral characteristic wavelength range of 350-354nm is significantly greater than the difference between the actual measured chlorophyll content and the predicted chlorophyll content in the spectral characteristic wavelength range of 696-800nm, which is particularly evident in the characteristic wavelength near 700nm.

[0061] In one implementation, in step S303, the advanced feature selection method used is the UVE-IRIV algorithm, and the specific steps include:

[0062] S1.1. Initial definition: Define the spectral data matrix X, where each column represents the spectral intensity at a wavelength, each row represents a sample, and obtain the known chlorophyll content label Y as the response variable;

[0063] S1.2. Elimination of uninformative variables: Calculation of spectral characteristic wavelength λ n The correlation or mutual information between the wavelengths and the chlorophyll content is used to identify the wavelengths that have a weak or no obvious relationship with the change in chlorophyll content, and these non-informative characteristic wavelengths are gradually eliminated through an iterative process, such as using the norm penalty and projection tracking methods in the UVE algorithm to judge and remove useless features;

[0064] S1.3, Information rejection invariant vector selection: Assuming that this step refers to a feature selection strategy that maintains robust prediction performance, this may involve building a multivariate calibration model (such as partial least squares regression PLS), checking the changes in the model's prediction performance after each feature removal, and selecting the feature wavelength that still maintains stable prediction performance;

[0065] S1.4, iterative optimization: perform multiple iterations, and repeat the process of steps S1.2 and S1.3 in each iteration until the remaining characteristic wavelengths can effectively predict the chlorophyll content and resist the decline in prediction performance when the characteristics are missing to a certain extent.

[0066] S400 determines the actual chlorophyll content of the calibration set sample by chemical method and establishes calibration set parameters, and constructs a mathematical model between the chlorophyll content of the calibration set sample and its spectral data based on the calibration set parameters, wherein the calibration set parameters include a characteristic wavelength λ related to the chlorophyll content n , the absorbance of the sample at each characteristic wavelength A(λ n ) and the chlorophyll content of the samples;

[0067] In one embodiment, a mathematical model between the chlorophyll content of the samples in the calibration set and their spectral data is constructed by multivariate statistical analysis or machine learning algorithm.

[0068] Optionally, constructing a mathematical model between the chlorophyll content of the calibration set sample and its spectral data based on the calibration set parameters includes:

[0069] S401 analyzes the original spectral data to determine the characteristic wavelengths (λ1, λ2, ..., λ n ), these characteristic wavelengths may be the bands where the chlorophyll absorption peaks are located or other key positions that can reflect the changes in chlorophyll content;

[0070] S402 Data preparation: Based on each sample in the calibration set, obtain the corresponding absorbance A(λ1), A(λ2), ..., A(λ n );

[0071] S403 Model construction: Assuming the actual chlorophyll content C i With each characteristic wavelength (λ1,λ2,…,λ n ) under the absorbance A(λ1), A(λ2),…, A(λ n ) have a linear relationship, and the following set of equations is established:

[0072] C i =a1*A(λ1)+a2*A(λ2)+…+a n *A(λ n )+b;

[0073] Among them, a1, a2, …, a n is the characteristic wavelength (λ1,λ2,…,λ n ) corresponds to the weight coefficient, which reflects the contribution of each wavelength absorbance to the chlorophyll content; b is the intercept term, which reflects the influence of other factors on the chlorophyll content except absorbance;

[0074] S404 Parameter estimation: Using the least squares method or partial least squares regression analysis method, based on the chlorophyll content C obtained in the above steps i The absorbances associated with them are A(λ1), A(λ2),…, A(λ n ) The weight coefficients a1, a2, ..., a are calculated for the equation group in step S403. n The mathematical model is obtained by solving the intercept term b to minimize the residual sum of squares between the predicted value and the actual chlorophyll content.

[0075] The embodiment of the present application establishes a model based on a linear hypothesis, which reduces complexity and makes the model easy to understand and interpret, which is particularly beneficial for initial exploratory research and rapid field applications. Moreover, the constructed mathematical model can be used to quickly and non-destructively predict the chlorophyll content of unknown pepper leaves, greatly improving the measurement efficiency and realizing rapid evaluation of a large number of samples.

[0076] Further, S405 performs training optimization on the obtained mathematical model, specifically including:

[0077] S2.1 Model evaluation: Based on the obtained chlorophyll content prediction value c i The actual chlorophyll content C i , the prediction error value of the mathematical model is calculated by calculating the absolute coefficient. The calculation formula is as follows:

[0078]

[0079] Among them, R 2 is the coefficient of determination, which is a key indicator to measure the degree of fit of the model to the data and reflects the ability of the model to explain the changes in the dependent variable;

[0080] S2.2 Model adjustment: Based on the calculation results in step S2.1, based on the weight coefficients a1, a2, ..., a n The mathematical model is adjusted with the intercept term b to obtain the optimized mathematical model.

[0081] Furthermore, step S2.1 also includes: additionally predicting the error value of the model by calculating the relative error, and the calculation formula is as follows:

[0082]

[0083] Where n is the number of samples in the calibration set, is the average value of the actual chlorophyll content. The relative error RE provides a standardized measure of the deviation between the predicted value and the true value, which is not affected by the data scale and is convenient for comparison across data sets of different scales.

[0084] The embodiment of the present application establishes an adjustment process for the mathematical model by calculating the determination coefficient and the relative error, which can evaluate the credibility and practicality of the model prediction from different levels, and then make necessary optimization and adjustments to the model to reduce the prediction error and improve the prediction accuracy. At the same time, a reasonable error tolerance range can be set by analyzing the two to help determine whether the model meets the needs of actual applications and to confirm the stability and effectiveness of the model.

[0085] S500 inputs the spectral data of the test set samples into the mathematical model to obtain the predicted value of the chlorophyll content of the test set samples.

[0086] In one embodiment, the spectral data of the pepper leaves to be measured are input into the optimized mathematical model to predict the chlorophyll content of the pepper leaves to be measured, and the predicted chlorophyll content c of the pepper leaves to be measured can be obtained. i .

[0087] As can be seen from the above, the embodiment of the present application provides a method for measuring the chlorophyll of pepper leaves based on spectral technology, which pairs the actual chlorophyll content determined by chemical analysis with the absorbance at a selected characteristic wavelength, establishes a reliable ground-truth data set, and provides a solid quantitative basis for subsequent model construction. This method allows non-destructive spectral measurement to be combined with traditional laboratory chemical methods, which saves time and cost while maintaining the scientificity and accuracy of the measurement results; and, using the constructed mathematical model, the chlorophyll content of unknown pepper leaves can be predicted quickly and non-destructively, which greatly improves the measurement efficiency and realizes the rapid evaluation of a large number of samples; in addition, the use of non-destructive spectral technology can not only improve the measurement efficiency and reduce the experimental cost, but also avoid the pollution of the environment by chemical reagents. At the same time, the method can realize real-time monitoring, which helps to timely understand the physiological condition of pepper plants and guide precision agricultural management. It can be used for growth monitoring, quality evaluation, and early warning of pests and diseases during pepper cultivation. It is of great value to improve the refined management level of the pepper industry and ensure the quality of pepper products.

[0088] Embodiment 2

[0089] An embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the memory is used to store software programs and modules, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory and the processor are connected via a bus. Specifically, the processor implements any step in the first embodiment above by running the computer program stored in the memory.

[0090] It should be understood that in the embodiments of the present application, the processor referred to may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0091] The memory may include a read-only memory, a flash memory, and a random access memory, and provides instructions and data to the processor. A part or all of the memory may also include a nonvolatile random access memory.

[0092] It should be understood that the above-mentioned integrated module / unit, if implemented in the form of a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on such an understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code can be in source code form, object code form, executable file or some intermediate form. The above-mentioned computer-readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the above-mentioned computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction.

[0093] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0094] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0095] It should be noted that the methods and detailed examples provided in the above embodiments can be combined with the devices and equipment provided in the embodiments, and references can be made to each other, and no further details will be given.

[0096] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0097] In the embodiments provided in the present application, it should be understood that the disclosed apparatus / terminal equipment and method can be implemented in other ways. For example, the apparatus / equipment embodiments described above are only schematic, for example, the division of the above modules or units is only a logical function division, and in actual implementation, other division methods can be used, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0098] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application 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 make equivalent replacements for some of the technical features therein. 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 application, and should all be included in the protection scope of the present application.

Claims

1. A method for measuring chlorophyll in pepper leaves based on spectral technology, characterized in that: include: S100 selects pretreated pepper leaves as samples, and divides the samples into a calibration set and a test set, wherein the calibration set includes samples with known chlorophyll content, and the test set includes samples with chlorophyll content to be measured; S200 sets the characteristic wavelength range and fluorescence intensity and performs spectral scanning on the sample to obtain the spectral data of the sample within the visible light and near infrared bands; S300 obtains a characteristic wavelength related to chlorophyll content according to the spectral data; S400 determines the actual chlorophyll content of the calibration set sample by a chemical method and establishes calibration set parameters, and constructs a mathematical model between the chlorophyll content of the calibration set sample and its spectral data based on the calibration set parameters, wherein the calibration set parameters include characteristic wavelengths related to the chlorophyll content, the absorbance of the sample at each characteristic wavelength, and the chlorophyll content of the sample; S500 inputs the spectral data of the test set samples into the mathematical model to obtain the predicted value of the chlorophyll content of the test set samples.

2. The method according to claim 1, characterized in that In step S200, the characteristic wavelength ranges from 350 to 800 nm, and the fluorescence intensity is set to 400, 800 or 1200 lux.

3. The method according to claim 1 or 2, characterized in that Step S300 specifically includes: Preprocessing the spectral data by smoothing filtering and normalization; Calculate characteristic parameters of each characteristic wavelength based on the preprocessed spectral data; Based on each characteristic parameter, characteristic wavelengths related to chlorophyll content are identified through advanced feature selection methods.

4. The method according to claim 3, characterized in that The advanced feature selection method is the UVE-IRIV algorithm.

5. The method according to claim 1 or 2, characterized in that: In step S400, the mathematical model between the chlorophyll content of the calibration set samples and their spectral data is constructed based on the calibration set parameters, including: Obtaining the absorbance corresponding to the calibration set samples at characteristic wavelengths related to chlorophyll content based on the spectral data; Assuming that there is a linear relationship between the actual chlorophyll content of the sample and the corresponding absorbance at each characteristic wavelength, a linear relationship equation group is established, and the linear relationship equation group is solved according to the actual chlorophyll content and each absorbance to obtain the mathematical model.

6. The method according to claim 5, characterized in that The linear relationship equations include: C i =a1*A(λ1)+a2*A(λ2)+…+a n *A(λ n )+b In the formula, C i is the actual chlorophyll content, A(λ1), A(λ2),…, A(λ n ) are the characteristic wavelengths (λ1,λ2,…,λ n ) corresponding to the absorbance, a1, a2, …, a n For each characteristic wavelength (λ1,λ2,…,λ n ) corresponds to the weight coefficient, and b is the intercept term.

7. The method according to claim 6, characterized in that Step S400 also includes: Obtaining the predicted value of chlorophyll content of the calibration set samples through the mathematical model; Calculating a prediction error value of the mathematical model based on the predicted chlorophyll content and the actual chlorophyll content; Based on the prediction error value, the mathematical model is adjusted through weight coefficients and intercept terms to obtain an optimized mathematical model.

8. The method according to claim 7, characterized in that The prediction error value of the mathematical model calculated based on the predicted chlorophyll content and the actual chlorophyll content includes: Based on the predicted value of chlorophyll content c i and the actual chlorophyll content C i Calculate the coefficient of determination R 2 : The prediction error value of the mathematical model is obtained through the determination coefficient.

9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 8 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Image-based leaf photosynthetic rate prediction method

    CN119107319A

  • Component detection system and method for food detergent

    CN119375180A