Banana growth detection system and method based on hyperspectral

Through hyperspectral imaging technology and the characteristic spectral index optimization screening module, the characteristic wavelength is accurately selected, the disease stage index is calculated, and banana diseased parts are segmented and identified. This solves the problem of inaccurate disease detection caused by inaccurate band selection in the existing technology, and achieves Efficient, non-destructive banana growth monitoring.

CN118655154BActive Publication Date: 2024-10-22SANYA RES INST OF CHINESE ACAD OF TROPICAL AGRI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411147866.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-10-22
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

In the existing banana growth detection technology, due to the insufficient selection of characteristic bands, the disease detection is not accurate enough, which affects agricultural production.

Method used

A banana growth detection system based on hyperspectral imaging technology is used to obtain data through the hyperspectral imaging module, combined with the characteristic spectral index optimization screening module, banana disease stage index calculation module, disease feature extraction module and identification analysis module to accurately select characteristic wavelengths and calculate Banana disease stage index, segment disease parts, extract and identify disease shape features.

Benefits of technology

It improves the efficiency of disease detection during banana growth, enables continuous, real-time, non-destructive monitoring of banana leaves, fruits and other organs, provides scientific and accurate data support, and enhances the resolution and information content of disease detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118655154B_ABST
    Figure CN118655154B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of crop growth detection, and in particular to a banana growth detection system and method based on hyperspectral. The system comprises: a hyperspectral imaging module for acquiring hyperspectral image data in a target area; a characteristic spectral index optimization screening module for calculating a normalized spectral index and an optimized spectral index from the hyperspectral image data, and determining a hyperspectral image selected band corresponding to the best characteristic spectral index based on the normalized spectral index and the optimized spectral index; a banana disease index calculation module for calculating a banana disease index based on a hyperspectral image selected band; a banana disease feature extraction module for segmenting banana disease parts in a hyperspectral image based on the banana disease index, and extracting banana disease shape features; and a banana disease feature recognition and analysis module for recognizing and analyzing banana disease shape features to obtain recognition results. The present invention can improve the accuracy and efficiency of banana lesion detection when detecting banana growth.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of crop growth detection, and in particular to a banana growth detection system and method based on a hyperspectral spectrum. Background Art

[0002] Hyperspectral imaging technology is a new technology that combines spectroscopy and imaging. It can simultaneously obtain spatial information and spectral information of the measured object with nanometer-level spectral resolution in multiple spectral bands such as visible light, near infrared, and mid-infrared. By obtaining this fine spectral information, the internal structure and chemical composition of the object can be accurately analyzed and identified.

[0003] As an important tropical fruit, bananas are affected by many factors during their growth, such as pests and diseases, nutritional deficiencies, and climate. These factors often affect the growth, yield, and quality of bananas. Therefore, real-time monitoring and evaluation of the growth process of bananas is of great significance for improving the yield and quality of bananas. Hyperspectral imaging technology provides a new solution for banana growth detection. By obtaining the spectral information of bananas at different growth stages, the physiological state, nutritional components, pest and disease status of bananas can be analyzed. At the same time, combined with advanced data processing and analysis technologies such as machine learning and deep learning, accurate identification and evaluation of banana growth conditions can be achieved.

[0004] In the prior art, in banana growth detection technology, due to the large differences in physiological and biochemical characteristics between different objects to be detected, their sensitive wavelengths vary greatly within the same spectral range. Even the sensitive bands of objects to be detected at different levels of the same category may be inconsistent, resulting in inaccurate selection of characteristic bands, which in turn leads to inaccurate disease detection during banana growth, which affects agriculture.

[0005] Therefore, there is an urgent need for a banana growth detection system and method based on hyperspectral to solve the above problems. Summary of the invention

[0006] The purpose of the present invention is to provide a banana growth detection system and method based on hyperspectral technology to solve the technical problem that when hyperspectral imaging technology is used to detect banana growth in the existing solution, the disease detection in the banana growth process is not accurate enough due to the inaccurate selection of characteristic bands.

[0007] The purpose of the present invention can be achieved by the following technical solutions:

[0008] On the one hand, the banana growth detection system based on hyperspectral includes a hyperspectral imaging module, a characteristic spectrum index optimization screening module, a banana disease index calculation module, a banana disease feature extraction module and a banana disease feature recognition and analysis module;

[0009] The hyperspectral imaging module is used to obtain hyperspectral image data in the target area and send the hyperspectral image data to the characteristic spectrum index optimization screening module, wherein the hyperspectral image data includes hyperspectral image and wavelength information;

[0010] The characteristic spectral index optimization screening module is used to receive the hyperspectral image data, calculate the normalized spectral index and the optimized spectral index based on the hyperspectral image data, and determine the selected band of the hyperspectral image corresponding to the best characteristic spectral index based on the normalized spectral index and the optimized spectral index;

[0011] The banana disease index calculation module is used to calculate the banana disease index based on the selected bands of the hyperspectral image;

[0012] The banana disease feature extraction module is used to segment the banana disease parts in the hyperspectral image based on the banana disease stage index and extract the banana disease shape features;

[0013] The banana disease feature recognition and analysis module is used to recognize and analyze the shape features of banana diseases to obtain recognition results.

[0014] Furthermore, constructing a normalized spectral index and optimizing a spectral index based on hyperspectral image data includes the following processes:

[0015] Set the wavelength information in the preset parameter definition and The band screening range is expanded from near infrared and red light bands to the full band range, and the full band range is 390~990 , and calculate the normalized spectral index and optimized spectral index :

[0016] ;

[0017] ;

[0018] in, is any wavelength in the near-infrared band, is any wavelength in the red light band, for The reflectivity corresponding to the wavelength, for The reflectivity corresponding to the wavelength, is a system parameter with a value of 0.5.

[0019] Furthermore, determining the selected band of the hyperspectral image corresponding to the optimal characteristic spectral index based on the normalized spectral index and the optimized spectral index specifically includes the following process:

[0020] Step 1: Initialize the particle swarm parameters: randomly set the initial position of the particles and initial flight speed , target optimization parameters The value range is , learning factor and are all 0.01, the initial population size is 10, and the inertia weight is 0.1, the maximum number of iterations is 30, and The calculation of is as follows:

[0021] ;

[0022] ;

[0023] in, Indicates Particles, Indicates The dimension of the space in which the particles are located;

[0024] Step 2: Calculate the fitness value of each particle , and the current position of the particle is taken as the individual optimal position, recorded as , by comparing the fitness values ​​of each particle, the optimal position of the population is determined and recorded as ;

[0025] Step 3: Update the particle's velocity and position according to the following formula:

[0026] ;

[0027] ;

[0028] in, is the number of iterations; is the inertia weight, For the The best historical position experienced by a particle is is the best position experienced by all particles in the group, and is a random number between 0 and 1 that follows a uniform distribution;

[0029] Step 4: Determine the termination condition: Return to step 2 according to the updated position and velocity of the particle and continue iterative optimization. ,but ;like ,but ,

[0030] Keep updating and , until the maximum number of iterations is reached , the optimization is completed and the optimal solution is output, where the optimal solution is the target optimization parameter The value of

[0031] Step 5: Optimize parameters based on the goal Determine the best band combination, calculate the sum of the normalized spectral index and the optimized spectral index, and calculate the sum and parameters The Euclidean distance is calculated according to the preset ratio to obtain the selected bands of the hyperspectral image.

[0032] Furthermore, the banana disease index is calculated based on the selected bands of the hyperspectral image, which specifically includes the following processes:

[0033] Obtain the characteristic wavelength reflectivity increment relationship diagram for the preset disease period, add the selected band to the characteristic wavelength reflectivity increment relationship diagram, and select three characteristic vectors for the selected band , , , the wavelengths corresponding to the vectors are , , , the banana disease index is calculated according to the following formula :

[0034] ;

[0035] Among them, the three eigenvectors are The ratio of the reflectivity differences in the axial projection directions is equal.

[0036] Furthermore, segmenting the banana diseased parts in the hyperspectral image based on the banana disease stage index and extracting the banana disease shape features include the following processes:

[0037] Segment the hyperspectral image into several parts and determine the Does it exceed the preset threshold? If so, the part is segmented and recorded as the banana disease part to be extracted. The third-order moment color feature extraction method is used to extract the banana disease part to obtain the banana disease shape feature:

[0038] ;

[0039] in, The shape characteristics of banana diseases. represents the number of channels in the image, It means the Pixels on The color value of each channel, Indicates the number of pixels. Indicates The color mean of each channel.

[0040] Furthermore, the shape characteristics of banana diseases are identified and analyzed, and the identification results are obtained by the following process:

[0041] S1: Data preparation, image collection: Collect image data containing different banana diseases, including leaf spot, black spot, and bunchy top disease;

[0042] Data annotation: Annotate the images to identify the type and location of the disease in each image;

[0043] Data enhancement: Increase the diversity of the data set through rotation, scaling, and cropping methods to improve the generalization ability of the model;

[0044] S2: Model selection and training, select convolutional neural network as the training model;

[0045] Model training: Use labeled data sets to train the model and learn the ability to extract key features from images and classify them;

[0046] Parameter adjustment and optimization: Optimize the performance of the model by adjusting the learning rate, batch size, and number of iterations hyperparameters;

[0047] S3: Testing and Evaluation

[0048] Test set preparation: Prepare an independent test set to evaluate the performance of the model;

[0049] Model evaluation: Use the test set to test the model, calculate the accuracy, recall, and F1 score indicators, and evaluate the model's ability to recognize the shape characteristics of banana diseases;

[0050] S4: Input the banana disease shape features into the banana disease feature recognition and analysis module, and output the banana disease type.

[0051] On the other hand, the banana growth detection method based on hyperspectral includes:

[0052] Acquire hyperspectral image data in a target area, wherein the hyperspectral image data includes a hyperspectral image and wavelength information;

[0053] Calculating a normalized spectral index and an optimized spectral index based on the hyperspectral image data, and determining a selected band of the hyperspectral image corresponding to the optimal characteristic spectral index based on the normalized spectral index and the optimized spectral index;

[0054] The banana disease index was calculated based on the selected bands of the hyperspectral image;

[0055] Segment the banana diseased parts in the hyperspectral image based on the banana disease stage index and extract the banana disease shape features;

[0056] The shape characteristics of banana diseases are identified and analyzed to obtain the identification results.

[0057] Compared with the existing solutions, the present invention achieves the following beneficial effects:

[0058] The present invention obtains hyperspectral image data in a target area, and sends the hyperspectral image data to a characteristic spectral index optimization screening module, wherein the hyperspectral image data includes hyperspectral images and wavelength information; a normalized spectral index and an optimized spectral index are calculated based on the hyperspectral image data, and a hyperspectral image selected band corresponding to the optimal characteristic spectral index is determined based on the normalized spectral index and the optimized spectral index, so that characteristic wavelengths can be accurately selected, thereby improving the efficiency of disease detection during banana growth.

[0059] In addition, the banana disease index is calculated based on the selected bands of the hyperspectral image; the banana disease parts in the hyperspectral image are segmented based on the banana disease index, and the shape characteristics of the banana disease are extracted; the banana disease shape characteristics are identified and analyzed to obtain the identification results, which can simultaneously obtain the spatial information and spectral information of the target object. It has the advantages of high resolution, large amount of information and non-destructive detection. In banana growth detection, hyperspectral technology can realize continuous, real-time and non-destructive monitoring of banana leaves, fruits and other organs, providing scientific and accurate data support for banana growth management. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0061] Figure 1 is a system block diagram of a banana growth detection system based on hyperspectral according to an embodiment of the present invention;

[0062] Figure 2 The present invention is a flowchart of a method for detecting banana growth based on hyperspectral spectrum according to an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0064] In addition, the described features, structures or characteristics may be combined in one or more example embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the example embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, steps, etc. may be adopted. In other cases, well-known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0065] This embodiment provides a banana growth detection system based on hyperspectral. Figure 1 is a system block diagram of a banana growth detection system based on hyperspectral according to an embodiment of the present invention, such as Figure 1 As shown, the system includes a hyperspectral imaging module, a characteristic spectrum index optimization screening module, a banana disease index calculation module, a banana disease feature extraction module and a banana disease feature recognition and analysis module;

[0066] The hyperspectral imaging module is used to obtain hyperspectral image data in the target area and send the hyperspectral image data to the characteristic spectrum index optimization screening module, wherein the hyperspectral image data includes hyperspectral image and wavelength information;

[0067] The characteristic spectral index optimization screening module is used to receive the hyperspectral image data, calculate the normalized spectral index and the optimized spectral index based on the hyperspectral image data, and determine the selected band of the hyperspectral image corresponding to the best characteristic spectral index based on the normalized spectral index and the optimized spectral index;

[0068] The banana disease index calculation module is used to calculate the banana disease index based on the selected bands of the hyperspectral image;

[0069] The banana disease feature extraction module is used to segment the banana disease parts in the hyperspectral image based on the banana disease stage index and extract the banana disease shape features;

[0070] The banana disease feature recognition and analysis module is used to recognize and analyze the shape features of banana diseases to obtain recognition results.

[0071] In summary, the present invention obtains hyperspectral image data in a target area, and sends the hyperspectral image data to a characteristic spectral index optimization screening module, wherein the hyperspectral image data includes a hyperspectral image and wavelength information; a normalized spectral index and an optimized spectral index are calculated based on the hyperspectral image data, and a hyperspectral image selected band corresponding to the optimal characteristic spectral index is determined based on the normalized spectral index and the optimized spectral index, so that the characteristic wavelength can be accurately selected, thereby improving the efficiency of disease detection during banana growth.

[0072] In addition, the banana disease index is calculated based on the selected bands of the hyperspectral image; the banana disease parts in the hyperspectral image are segmented based on the banana disease index, and the shape characteristics of the banana disease are extracted; the banana disease shape characteristics are identified and analyzed to obtain the identification results, which can simultaneously obtain the spatial information and spectral information of the target object. It has the advantages of high resolution, large amount of information and non-destructive detection. In banana growth detection, hyperspectral technology can realize continuous, real-time and non-destructive monitoring of banana leaves, fruits and other organs, providing scientific and accurate data support for banana growth management.

[0073] In some embodiments, constructing a normalized spectral index and optimizing a spectral index based on hyperspectral image data includes the following process:

[0074] Set the wavelength information in the preset parameter definition and The band screening range is expanded from near infrared and red light bands to the full band range, and the full band range is 390~990 , and calculate the normalized spectral index and optimized spectral index :

[0075] ;

[0076] ;

[0077] in, is any wavelength in the near-infrared band, is any wavelength in the red light band, for The reflectivity corresponding to the wavelength, for The reflectivity corresponding to the wavelength, is a system parameter with a value of 0.5.

[0078] Furthermore, determining the selected band of the hyperspectral image corresponding to the optimal characteristic spectral index based on the normalized spectral index and the optimized spectral index specifically includes the following process:

[0079] Step 1: Initialize the particle swarm parameters: randomly set the initial position of the particles and initial flight speed , target optimization parameters The value range is , learning factor and are all 0.01, the initial population size is 10, and the inertia weight is 0.1, the maximum number of iterations is 30, and The calculation of is as follows:

[0080] ;

[0081] ;

[0082] in, Indicates Particles, Indicates The dimension of the space in which the particles are located;

[0083] Step 2: Calculate the fitness value of each particle , and the current position of the particle is taken as the individual optimal position, recorded as , by comparing the fitness values ​​of each particle, the optimal position of the population is determined and recorded as ;

[0084] Step 3: Update the particle's velocity and position according to the following formula:

[0085] ;

[0086] ;

[0087] in, is the number of iterations; is the inertia weight, For the The best historical position experienced by a particle is is the best position experienced by all particles in the group, and is a random number between 0 and 1 that follows a uniform distribution;

[0088] Step 4: Determine the termination condition: Return to step 2 according to the updated position and velocity of the particle and continue iterative optimization. ,but ;like ,but ,

[0089] Keep updating and , until the maximum number of iterations is reached , the optimization is completed and the optimal solution is output, where the optimal solution is the target optimization parameter The value of

[0090] Step 5: Optimize parameters based on the goal Determine the best band combination, calculate the sum of the normalized spectral index and the optimized spectral index, and calculate the sum and parameters The Euclidean distance is used to obtain the selected band of the hyperspectral image according to the preset ratio. Among them, the Euclidean distance is widely used in the fields of machine learning, data analysis, image processing, etc., because it can directly reflect the straight-line distance between two points. In this embodiment, it is used to reflect the parameter The distance between the sum value and the selected band of the hyperspectral image is obtained according to the preset ratio. The corresponding bands are equally divided, and the selected bands are obtained based on the ratio.

[0091] Furthermore, the banana disease index is calculated based on the selected bands of the hyperspectral image, which specifically includes the following processes:

[0092] Obtain the characteristic wavelength reflectivity increment relationship diagram for the preset disease period, add the selected band to the characteristic wavelength reflectivity increment relationship diagram, and select three characteristic vectors for the selected band , , , the wavelengths corresponding to the vectors are , , , the banana disease index is calculated according to the following formula :

[0093] ;

[0094] Among them, the three eigenvectors are The ratio of the reflectivity differences in the axial projection directions is equal.

[0095] It is worth noting that the characteristic wavelength reflectance increment relationship diagram is drawn based on the characteristic wavelength reflectance of the disease corresponding to different disease stages. It is drawn by pre-mobile disease characteristic wavelength reflectance. The selected band is added to the characteristic wavelength reflectance increment relationship diagram and Three eigenvectors with equal proportions of reflectivity differences in the axial projection direction are extracted.

[0096] In some embodiments, segmenting the banana diseased parts in the hyperspectral image based on the banana disease stage index and extracting the banana disease shape features includes the following process:

[0097] Segment the hyperspectral image into several parts and determine the Whether it exceeds the preset threshold, where the preset threshold is a value stored in the system and is set by the system. If so, the part is segmented and recorded as the banana disease part to be extracted. The third-order moment color feature extraction method is used to extract the banana disease part to be extracted, and the banana disease shape feature is obtained:

[0098] ;

[0099] in, The shape characteristics of banana diseases. represents the number of channels in the image, It means the Pixels on The color value of each channel, Indicates the number of pixels. Indicates The color mean of each channel.

[0100] Furthermore, the shape characteristics of banana diseases are identified and analyzed, and the identification results are obtained by the following process:

[0101] S1: Data preparation, image collection: Collect image data containing different banana diseases, including leaf spot, black spot, and bunchy top disease;

[0102] Data annotation: Annotate the images to identify the type and location of the disease in each image;

[0103] Data enhancement: Increase the diversity of the data set through rotation, scaling, and cropping methods to improve the generalization ability of the model;

[0104] S2: Model selection and training, select convolutional neural network as the training model;

[0105] Model training: Use labeled data sets to train the model and learn the ability to extract key features from images and classify them;

[0106] Parameter adjustment and optimization: Optimize the performance of the model by adjusting the learning rate, batch size, and number of iterations hyperparameters;

[0107] S3: Testing and Evaluation

[0108] Test set preparation: Prepare an independent test set to evaluate the performance of the model;

[0109] Model evaluation: Use the test set to test the model, calculate the accuracy, recall, and F1 score indicators, and evaluate the model's ability to recognize the shape characteristics of banana diseases;

[0110] S4: Input the banana disease shape features into the banana disease feature recognition and analysis module, and output the banana disease type.

[0111] The present invention also provides a banana growth detection method based on hyperspectral. Figure 2 is a flow chart of a method for detecting banana growth based on hyperspectral spectrum according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0112] Step S201, obtaining hyperspectral image data in a target area, wherein the hyperspectral image data includes a hyperspectral image and wavelength information;

[0113] Step S202, calculating a normalized spectral index and an optimized spectral index based on the hyperspectral image data, and determining a selected band of the hyperspectral image corresponding to the optimal characteristic spectral index based on the normalized spectral index and the optimized spectral index;

[0114] Step S203, calculating the banana disease index based on the selected band of the hyperspectral image;

[0115] Step S204, segmenting the banana diseased parts in the hyperspectral image based on the banana disease stage index, and extracting the banana disease shape features;

[0116] Step S205, identifying and analyzing the shape characteristics of banana diseases to obtain identification results.

[0117] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

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

[0119] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0120] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only some logical function divisions. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0121] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0122] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A banana growth detection system based on hyperspectral, characterized in that: The system includes a hyperspectral imaging module, a characteristic spectrum index optimization screening module, a banana disease index calculation module, a banana disease feature extraction module, and a banana disease feature recognition and analysis module; The hyperspectral imaging module is used to obtain hyperspectral image data in the target area and send the hyperspectral image data to the characteristic spectrum index optimization screening module, wherein the hyperspectral image data includes hyperspectral image and wavelength information; The characteristic spectral index optimization screening module is used to receive the hyperspectral image data and calculate the normalized spectral index and the optimized spectral index based on the hyperspectral image data: Set the wavelength information in the preset parameter definition and The band screening range is expanded from near infrared and red light bands to the full band range, and the full band range is 390~990 , and calculate the normalized spectral index and optimized spectral index : ; ; in, is any wavelength in the near-infrared band, is any wavelength in the red light band, for The reflectivity corresponding to the wavelength, for The reflectivity corresponding to the wavelength, is a system parameter, with a value of 0.5; Determine the selected band of the hyperspectral image corresponding to the optimal characteristic spectral index based on the normalized spectral index and the optimized spectral index: Step 1: Initialize the particle swarm parameters: randomly set the initial position of the particles and initial flight speed , target optimization parameters The value range is , learning factor and are all 0.01, the initial population size is 10, and the inertia weight is 0.1, the maximum number of iterations is 30, and The calculation of is as follows: ;; ; in, Indicates Particles, Indicates The dimension of the space in which the particles are located; Step 2: Calculate the fitness value of each particle , and the current position of the particle is taken as the individual optimal position, recorded as , by comparing the fitness values ​​of each particle, the optimal position of the population is determined and recorded as ; Step 3: Update the particle's velocity and position according to the following formula: ; ; in, is the number of iterations; is the inertia weight, For the The best historical position experienced by a particle is is the best position experienced by all particles in the group, and is a random number between 0 and 1 that follows a uniform distribution; Step 4: Determine the termination condition: Return to step 2 according to the updated position and velocity of the particle and continue iterative optimization. ,but ;like ,but , Keep updating and , until the maximum number of iterations is reached , the optimization is completed and the optimal solution is output, where the optimal solution is the target optimization parameter The value of Step 5: Optimize parameters based on the goal Determine the best band combination, calculate the sum of the normalized spectral index and the optimized spectral index, and calculate the sum and parameters The Euclidean distance is obtained according to the preset ratio to obtain the selected band of the hyperspectral image; The banana disease index calculation module is used to calculate the banana disease index based on the selected bands of the hyperspectral image: Obtain the characteristic wavelength reflectivity increment relationship diagram for the preset disease period, add the selected band to the characteristic wavelength reflectivity increment relationship diagram, and select three characteristic vectors for the selected band , , , the wavelengths corresponding to the vectors are , , , the banana disease index is calculated according to the following formula : ; Among them, the three eigenvectors are The ratio of the reflectivity differences in the axial projection direction is equal; The banana disease feature extraction module is used to segment the banana disease parts in the hyperspectral image based on the banana disease stage index and extract the banana disease shape features: Segment the hyperspectral image into several parts and determine the Does it exceed the preset threshold? If so, the part is segmented and recorded as the banana disease part to be extracted. The third-order moment color feature extraction method is used to extract the banana disease part to obtain the banana disease shape feature: ; in, The shape of banana diseases is characteristic. represents the number of channels in the image, It means the Pixels on The color value of each channel, Indicates the number of pixels. Indicates The color mean of each channel; The banana disease feature recognition and analysis module is used to recognize and analyze the shape features of banana diseases to obtain recognition results.

2. The banana growth detection system based on hyperspectral according to claim 1, characterized in that: The recognition and analysis of the shape characteristics of banana diseases and the identification results include the following processes: S1: Data preparation, image collection: Collect image data containing different banana diseases, including leaf spot, black spot, and bunchy top disease; Data annotation: Annotate images to identify the type and location of the disease in each image; Data enhancement: Increase the diversity of the data set through rotation, scaling, and cropping methods to improve the generalization ability of the model; S2: Model selection and training, select convolutional neural network as the training model; Model training: Use labeled data sets to train the model and learn the ability to extract key features from images and classify them; Parameter adjustment and optimization: Optimize the performance of the model by adjusting the learning rate, batch size, and number of iterations hyperparameters; S3: Testing and Evaluation Test set preparation: Prepare an independent test set to evaluate the performance of the model; Model evaluation: Use the test set to test the model, calculate the accuracy, recall, and F1 score indicators, and evaluate the model's ability to recognize the shape characteristics of banana diseases; S4: Input the banana disease shape features into the banana disease feature recognition and analysis module, and output the banana disease type.

3. A banana growth detection method based on hyperspectral, characterized in that: Methods include: Acquire hyperspectral image data in the target area, and send the hyperspectral image data to the characteristic spectrum index optimization screening module, wherein the hyperspectral image data includes hyperspectral image and wavelength information; Receive hyperspectral image data, and calculate normalized spectral index and optimized spectral index based on the hyperspectral image data: Set the wavelength information in the preset parameter definition and The band screening range is expanded from near infrared and red light bands to the full band range, and the full band range is 390~990 , and calculate the normalized spectral index and optimized spectral index : ; ; in, is any wavelength in the near-infrared band, is any wavelength in the red light band, for The reflectivity corresponding to the wavelength, for The reflectivity corresponding to the wavelength, is a system parameter, with a value of 0.5; Determine the selected band of the hyperspectral image corresponding to the optimal characteristic spectral index based on the normalized spectral index and the optimized spectral index: Step 1: Initialize the particle swarm parameters: randomly set the initial position of the particles and initial flight speed , target optimization parameters The value range is , learning factor and are all 0.01, the initial population size is 10, and the inertia weight is 0.1, the maximum number of iterations is 30, and The calculation of is as follows: ; ; in, Indicates Particles, Indicates The dimension of the space in which the particles are located; Step 2: Calculate the fitness value of each particle , and the current position of the particle is taken as the individual optimal position, recorded as , by comparing the fitness values ​​of each particle, the optimal position of the population is determined and recorded as ; Step 3: Update the particle's velocity and position according to the following formula: ; ; in, is the number of iterations; is the inertia weight, For the The best historical position experienced by a particle is is the best position experienced by all particles in the group, and is a random number between 0 and 1 that follows a uniform distribution; Step 4: Determine the termination condition: Return to step 2 according to the updated position and velocity of the particle and continue iterative optimization. ,but ;like ,but , constantly updated and , until the maximum number of iterations is reached , the optimization is completed and the optimal solution is output, where the optimal solution is the target optimization parameter The value of Step 5: Optimize parameters based on the goal Determine the best band combination, calculate the sum of the normalized spectral index and the optimized spectral index, and calculate the sum and parameters The Euclidean distance is obtained according to the preset ratio to obtain the selected band of the hyperspectral image; The banana disease index is calculated based on the selected bands of the hyperspectral image: Obtain the characteristic wavelength reflectivity increment relationship diagram for the preset disease period, add the selected band to the characteristic wavelength reflectivity increment relationship diagram, and select three characteristic vectors for the selected band , , , the wavelengths corresponding to the vectors are , , , the banana disease index is calculated according to the following formula : ; Among them, the three eigenvectors are The ratio of the reflectivity differences in the axial projection direction is equal; Based on the banana disease index, the banana disease parts in the hyperspectral image are segmented and the banana disease shape features are extracted: Segment the hyperspectral image into several parts and determine the Does it exceed the preset threshold? If so, the part is segmented and recorded as the banana disease part to be extracted. The third-order moment color feature extraction method is used to extract the banana disease part to obtain the banana disease shape feature: ; in, The shape characteristics of banana diseases. represents the number of channels in the image, It means the Pixels on The color value of each channel, Indicates the number of pixels. Indicates The color mean of each channel; The shape characteristics of banana diseases are identified and analyzed to obtain the identification results.