Next Article in Journal
Insight into the Taxonomic Resolution of the Pleosporalean Species Associated with Dead Woody Litter in Natural Forests from Yunnan, China
Previous Article in Journal
An Integrative View of the Phyllosphere Mycobiome of Native Rubber Trees in the Brazilian Amazon
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Rapid Detection Method for Fungal Spores from Greenhouse Crops Based on CMOS Image Sensors and Diffraction Fingerprint Feature Processing

1
Key Laboratory of Modern Agricultural Equipment and Technology, Ministry of Education, Jiangsu University, Zhenjiang 212013, China
2
School of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China
*
Author to whom correspondence should be addressed.
J. Fungi 2022, 8(4), 374; https://doi.org/10.3390/jof8040374
Submission received: 9 March 2022 / Revised: 28 March 2022 / Accepted: 3 April 2022 / Published: 6 April 2022

Abstract

:
The detection and control of fungal spores in greenhouse crops are important for stabilizing and increasing crop yield. At present, the detection of fungal spores mainly adopts the method of combining portable volumetric spore traps and microscope image processing. This method is problematic as it is limited by the small field of view of the microscope and has low efficiency. This study proposes a rapid detection method for fungal spores from greenhouse crops based on CMOS image sensors and diffraction fingerprint feature processing. We built a diffraction fingerprint image acquisition system for fungal spores of greenhouse crops and collected diffraction fingerprint images of three kinds of fungal spores. A total of 13 diffraction fingerprint features were selected for the classification of fungal spores. These 13 characteristic values were divided into 3 categories, main bright fringe, main dark fringe, and center fringe. Then, these three features were calculated to obtain the Peak to Center ratio (PCR), Valley to Center ratio, and Peak to Valley ratio (PVR). Based on these features, logistics regression (LR), K nearest neighbor (KNN), random forest (RF), and support vector machine (SVM) classification models were built. The test results show that the SVM model has a better overall classification performance than the LR, KNN, and RF models. The average accuracy rate of the recognition of three kinds of fungal spores from greenhouse crops under the SVM model was 92.72%, while the accuracy rates of the LR, KNN, and RF models were 84.97%, 87.44%, and 88.72%, respectively. The F1-Score value of the SVM model was higher, and the overall average value reached 89.41%, which was 11.12%, 7.18%, and 5.57% higher than the LR, KNN, and RF models, respectively. Therefore, the method proposed in this study can be used for the remote identification of three fungal spores which can provide a reference for the identification of fungal spores in greenhouse crops and has the advantages of low cost and portability.

1. Introduction

With the acceleration of urbanization, people’s demand for a “vegetable basket” project is increasing. In recent years, China’s vegetable industry has developed rapidly, and it now has a greenhouse cultivation area of more than 4 million hectares [1,2]. In addition, greenhouse cultivation in China is dominated by two kinds of vegetables, tomatoes, and cucumbers [1,3]. Greenhouse vegetable production is usually in the semi-closed state of high temperature, high humidity, and high evaporation. There is a serious problem with fungal infections in greenhouse production [4]. In particular, cucumber downy mildew (Pseudoperonospora cubensis), cucumber powdery mildew (Podosphaera xanthii), and tomato gray mold (Botrytis cinerea). The severity of these diseases is associated with the dynamic destruction of the assimilation area of leaves and fruit. At the same time, the pathogens form numerous spores that are dispersed through the air, further infecting tomato and cucumber plants [5]. These fungal diseases can cause diseases on the fruit, stems, and leaves of cucumbers and tomatoes. In severe cases, crop yields can be reduced, with a yield loss of 20–50%, or even no harvest [6,7,8]. Therefore, timely detection and control of greenhouse fungal pathogens are important in stabilizing and improving crop yield [9,10].
Currently, direct and indirect disease identification methods are used for plant disease detection, such as enzyme-linked immune-sorbent assay, immunofluorescence, fluorescence in situ hybridization, fluorescence imaging, and hyperspectral technology [11,12,13,14,15]. Although these methods are effective, they are more difficult for ordinary farmers to implement. In recent years, with the rapid development of deep learning in the field of computer vision, the recognition of plant diseases based on leaf disease images has attracted the attention of related scholars [16,17,18,19]. For example, Zhang et al. [20] completed a study to identify cucumber diseases in greenhouses under natural and complex conditions. They collected cucumber powdery mildew, downy mildew, and healthy leaves. They used the pre-trained EfficientNet-B0-B7 model to transfer learning and constructed the classification model of powdery mildew, downy mildew, the combination of powdery mildew and downy mildew, and healthy leaves to realize the accurate classification of cucumber diseases. Liu et al. [21] investigated improving the detection efficiency of identifying disease cucumber leaves in different images with complex backgrounds. They proposed an efficient detection model (EFDet), which mainly consisted of an efficient backbone network, a feature fusion module, and a predictor. They collected three categories of cucumber leaves including downy mildew, bacterial angular spot, and healthy leaves to construct the cucumber disease dataset. Experimental results revealed that EFDet has strong robustness for identifying disease cucumber leaves in complex environments. Zhou et al. [22] studied the identification of common invasive diseases in tomatoes and cucumbers. They constructed a disease identification model based on an “image-text” multimodal collaborative representation and knowledge assistance (ITK-Net). The proposed model achieved an identification accuracy, precision, sensitivity, and specificity of 99.63%, 99%, 99.07%, and 99.78%, respectively on a dataset composed of “imagetext” pairs. Although the plant disease detection methods based on deep learning can provide accurate, fast, and efficient disease diagnosis [23,24], these diagnostic techniques cannot detect crop diseases before they become prevalent, only when the diseases occur and by this time the optimal window for prevention and control has been missed [25,26].
In recent years, in order to achieve early detection of crop diseases, scholars have used portable spore traps to capture airborne disease spores and then combined these with image processing methods for early detection of airborne disease spores in crops. For example, in order to achieve quantitative monitoring of airborne spores, Lei et al. [27] proposed an algorithm for the automatic detection and counting of spores based on digital image processing using the K-means clustering algorithm, image preprocessing, the identification of touching spores based on their shape factor and area, and touching spore contour segmentation based on concavity and contour segment merging. Wang et al. [28] investigated achieving the identification of spores of airborne diseases in greenhouse crops. Their research focused on cucumber downy mildew spores, cucumber powdery mildew spores, and tomato gray mold spores. The color, shape, and texture of the three disease spores were extracted. Based on these features, LR, KNN, RF, and SVM classification models were established. The average accuracy of SVM, LR, KNN, and RF models were 94.36%, 90.13%, 89.37%, and 89.23%, respectively. A study by Li et al. [29] investigated automated counting of the urediospores of Puccinias triiformis f. sp. tritic. Transparent tapes, glass slides with vaseline, and Eppendorf centrifuge tubes were used to simulate the capture of the urediospores of Puccinias triiformis f. sp. Tritic, and images of the spores were obtained using microscope photography. The satisfactory results for counting the trapped spores were obtained after processing the spore images acquired by using the three kinds of simulation methods. The average counting accuracy for the urediospores of P. striiformis f. sp. tritici trapped on transparent tapes, glass slides with vaseline, and in Eppendorf centrifuge tubes was 98.5%, 98.7%, and 99.9%, respectively. The average counting accuracy for the urediospores of P. striiformis f. sp. tritici mixed with the conidia of Blumeria graminis f. sp. tritici, which can cause wheat powdery mildew, was 99.8%. Qi et al. [30] investigated the automatic detection and counting of the spores of rice blast. The spore images of the rice blast were obtained using a microscopic imaging system. The results show that among the 100 microscopic image samples tested, the average accuracy of spore detection was 98.5%. Although the above method can realize the detection of disease spores, due to the small size and the large number of spores, and the small field of view of the microscope, large counting errors occur easily.
With the development of sensor technology, lens-less CMOS image sensors are favored by related researchers due to their large imaging field of view and low cost. For example, Wang et al. [31] collected diffraction images of disease spores using a CMOS image sensor to count tomato gray mold spores based on the diffraction reconstruction method. Yang et al. [32] proposed a rapid detection and identification method of rice blast spores based on the diffraction fingerprint texture of the spores of crop pathogens. In summary, the method based on CMOS image sensors and diffraction fingerprint image processing can be used for the detection of airborne disease spores in greenhouses.
Hence, in this study, in order to achieve the rapid detection of the fungal spores of greenhouse-crop airborne diseases, a rapid detection method based on CMOS image sensors and diffraction fingerprint feature processing is proposed. The diffraction fingerprint image acquisition system for airborne disease spores of greenhouse crops was built. Diffraction fingerprint images of three kinds of fungal spores were collected. The diffraction fingerprint feature of fungal spores was extracted and the classification model was established. The classification and detection of greenhouse crop fungal spores were realized.

2. Materials and Methods

2.1. Fungal Spore Sample Collection and Parameter Measurement

This study was conducted in a Venlo-type greenhouse at Jiangsu University, Zhenjiang, China. The greenhouse is east–west aligned, with a length of 100 m, a width of 40 m, a shoulder height of 2.4 m, and a span of 2.4 m. In order to collect fungal spore samples of airborne diseases, cucumber and tomato plants were planted in the greenhouse from April 2020 to September 2021 (Figure 1). The cultivated tomato hybrid was ‘Zhefen 202’. The cultivated cucumber hybrid was ‘Jinyou No. 1’. P. cubensis and P. xanthii occurred in cucumber plants and B. cinerea occurred in tomato plants. We collected cucumber downy mildew spores and cucumber powdery mildew spores from the leaves of cucumber plants, and tomato gray mold spores from the leaves of tomato plants. We then prepared the spore suspension and re-inoculated the cucumber and tomato plants until the cucumber plants developed cucumber downy mildew and powdery mildew and the tomato plants developed tomato gray mold. To obtain diffraction images of pathogenic spores, first a portable volumetric spore trap (OK-BZ1, Zhengzhou Oukeqi Instrument Manufacturing Co., Ltd., Zhengzhou, China) was used to capture pathogenic spores in the air. Then, a sample of the pathogenic spores was brought into the laboratory, where they were observed and identified using a microscope with an extended depth of field (VHX-900F, made by KEYENCE Co., Osaka, Japan). The fungal spores were then measured using this microscope. B. cinerea spores are almost oval and have a size distribution of 19.3(11.4–26.7) × 11.7(8.3–14.5) μm, P. cubensis spores are lemon shape and the size distribution is 30.6(21.1–39.8) × 20.5(13.8–23.6) µm, and P. xanthii spores are cylindrical and the size distribution is 35.4 (30.2–39.5) × 14.2 (7.3–22.2) µm. Finally, the slides with pathogenic spores were placed in a diffraction device to collect their diffraction fingerprints. All experiments were conducted in the Key Laboratory of Modern Agricultural Equipment and Technology of the Ministry of Education of Jiangsu University, China.

2.2. Construction of the Fungal Spore Diffraction Fingerprint Collection System

Traditional micro-optical imaging technology refers to the technology in which the visible light transmitted through or reflected from the sample passes through one or more lenses to obtain a magnified image of a tiny sample. The size of the field of view of the image that can be presented is determined by the number of fields of view of the eyepiece. The size of plant-fungal spores is generally a few micrometers to tens of micrometers [3,28,33]. When observing fungal spores with traditional optical microscopes, a larger magnification is required which will lead to a decrease in the number of actual fungal spores observed. In addition, traditional optical microscopes can only collect image information of fungal spores but cannot reflect the characteristics of fungal spores themselves. Diffraction refers to the phenomenon that light encounters opaque or transparent obstacles or micropores (narrow slits) in the propagation path, bypasses the obstacles, and deviates from the straight line. Under the appropriate circumstances, any wave has the inherent properties of diffraction and the degree of wave diffraction varies in different situations. If the obstacle has multiple densely distributed pores, it will cause a more complicated diffraction intensity distribution pattern. The size, shape, and surface texture characteristics of different fungal spores are varied. The light intensity distribution of light and dark stripes generated during diffraction can reflect the characteristics of fungal spores. Therefore, in order to collect the diffraction fingerprint image information of fungal spores, the fungal spore diffraction fingerprint acquisition system was established as shown in Figure 2.
The system is mainly composed of three parts: the fungal spores diffraction fingerprint image detection platform, the cloud server, and the computer. The cloud server can be accessed through the computer web page. The fungal spores diffraction image detection platform is mainly composed of a LED light source, a micropore, a CMOS image sensor, a power supply, and a USB to TTL, ESP32-S development board. Traditional diffraction image shooting mainly uses a laser with good coherence as the light source, but this type of laser is expensive, has more peripheral drivers, and the portability is very poor. The laser light path is complex, and it needs to be collimated and expanded by a lens, and then coupled with a micropore, which requires high component processing and assembly technology. The laser has high energy and it is easy to damage the sample. The time coherence of the laser is high, which will produce speckle noise on the holographic image and affect the accuracy of observational results. Therefore, this study used a common LED lamp as the light source module, which was low cost, small volume, had low-energy consumption, and also avoided damage to the sample. The wavelength of the LED light source was 450–465 nm. Due to the poor coherence of the LED lamp itself, a micropore was needed to produce the partially coherent light coupled with it. Micropores were 100 μm in diameter and were installed directly under the LED lamp. A 2-million-pixel CMOS (LAAF2569) image sensor (Shenzhen Cool Vision Technology Co., Ltd., Shenzhen, China) was used. The resolution of the captured image was 1280 × 1024 dpi. The external dimensions were 8 mm × 8 mm × 5.40 mm. The working temperature was −20–70 °C. The working voltage was 1.7−3.3 V. The CMOS sensor was installed 45mm directly below the micropore. The size of the ESP32-S development board was 27 × 40.5 × 4.5 (±0.2) mm. The working voltage was 4.75–5.25 V. The working temperature was −20–70 °C. The spectrum range was 2400–2483.5 MHz. It was able to use wireless WiFi networking and supported 802.11 b/g/n/e/i protocols. Image data could also be transmitted via Bluetooth, supporting Bluetooth 4.2 BR/EDR and BLE standards. The diffraction image detection platform of the disease spores could transmit the collected disease spore diffraction fingerprint image to the cloud server through the WiFi. Bafa Cloud was used in this system. The staff could process and observe the diffraction fingerprint image of the disease spore for the client. The system realized the independent operation of remote photographing, sampling, and detection of fungal spores’ diffraction fingerprint images.

2.3. Fungal Spore Diffraction Fingerprint Image Processing

The fungal spore diffraction fingerprint collection system is easily affected by the external environment where it works. Diffraction fingerprint images of fungal spores may have uneven brightness and salt and pepper noise. Therefore, in order to reduce the unusable information of the diffracted fingerprint image and retain valid information, the diffractive fingerprint image needs to be preprocessed. The preprocessing flow of the diffraction fingerprint image of fungal spores is shown in Figure 3.
First, in order to solve the problems of underexposure and uneven illumination that may exist in the fungal spore diffraction fingerprint collection system a new two-dimensional Gamma function was constructed to correct the brightness of the original image of the collected fungal spore diffraction fingerprints. The expression of the two-dimensional Gamma function is as follows [33]:
O ( x , y ) = 255 F ( x , y ) 255 γ
γ = ( 1 2 ) m I ( x , y ) m
where O(x, y) is the brightness value of the corrected output image, F(x, y) is the original input image, γ is an exponential value used for brightness enhancement, which contains the characteristics of the illumination component of the image, I(x, y) is the extracted light component, and m is the mean value of the brightness of the illumination component.
Second, in order to preserve the detailed features of the diffracted fingerprint image of the fungal spores, it was necessary to suppress the noise of the images. Median filtering is a kind of non-linear filtering. It has an excellent effect when dealing with impulse noise and salt and pepper noise, and it can effectively protect the edge information of the image. Therefore, this study used median filtering to reduce the salt and pepper noise of the diffracted fingerprint images of fungal spores.
Third, the maximum between-cluster variance method was used for automatic threshold segmentation of fungal spore diffraction fingerprint images. Then, the diffracted fingerprint image was smoothed and filled with holes through morphological operations such as expansion and erosion, and other interfering targets were removed to obtain the target image.

2.4. Relative Light Intensity Distribution of Diffraction Fingerprint Image

The diffraction imaging system in this research was designed according to the Huygens–Fresnel principle. Diffraction images satisfy the relationship between Fourier transform and inverse transform. The complex amplitude of point P on the diffraction image can be expressed as [31]:
U ( P ) = k U 0 ( Q )   F ( θ 0 , θ ) e i k r r d x d y = U ( P ) e i a p
where |U(P)| is used to represent amplitude information and eiaq is used to represent phase information. A CMOS sensor was used to take diffraction images of fungal spores. The square of the light intensity information amplitude of the diffraction image is:
I ( P ) = U ( P ) 2
Due to the inevitable phase loss phenomenon in the diffraction imaging process, it is necessary to perform phase recovery processing on the diffraction image of fungal spores. In this study, sampling theory and iterative algorithms were used for phase recovery of fungal spores’ diffraction images.

2.5. Feature Extraction of Fungal Spore Diffraction Fingerprint

In the diffracted fingerprint image of fungal spores, the light intensity distribution of the diffracted fingerprint area is closely related to the type, size, geometric shape, light absorption, and other factors of the spore. It can be seen from the relative light intensity distribution diagram of the spore diffraction fingerprint (Figure 4) that the diffraction fingerprint was clearest, the visibility is the highest, and the energy is the most concentrated near the center. The interference at the edges decayed rapidly and visibility decreased. The pixel distribution in the area close to the center of the diffracted fingerprint contributed the most to the characteristic value, and the main fringe was more valuable. Therefore, this study mainly chooses the main stripes of the spore diffraction fingerprint as the spore diffraction fingerprint feature for the classification of fungal spores. As shown in Figure 4, a total of 13 diffraction fingerprint features were selected for the classification of fungal spores. These 13 characteristic values were divided into 3 categories, main bright fringe, main dark fringe, and center fringe. Then, these three categories were calculated to obtain Peak to Center ratio (PCR), Valley to Center ratio, and Peak to Valley ratio (PVR). The formulas for calculating these three parameters are as follows:
PCR = AP i C i = 1 , 2 , 3 , 4 , 5 , 6
VCR = A V j C j = 1 , 2 , 3 , 4 , 5 , 6
PVR = AP i AV j i = 1 , 2 , 3 , 4 , 5 , 6 ; j = 1 , 2 , 3 , 4 , 5 , 6
where, AP was used to represent the relative light intensity of the six peaks (P1, P2, P3, P4, P5, P6) for fungal spores’ diffraction fingerprint. AV was used to represent the relative light intensity of the six valley points (V1, V2, V3, V4, V5, V6) for fungal spores’ diffraction fingerprint. C was used to represent the relative light intensity of the central area for fungal spores’ diffraction fingerprint.

2.6. Sample Division and Test Platform

In this study, a total of 600 diffraction fingerprint images of fungal spores were collected (200 for each disease spore), 70% of which were randomly selected for training and 30% for testing [34]. The Peak to Center ratio (PCR), Valley to Center ratio, and Peak to Valley ratio (PVR) features were extracted from each diffraction fingerprint image. A total of 18 features were extracted from each image. The classification experiment based on the diffraction fingerprint image characteristics of fungal spores was carried out in a MATLAB R2016b environment. The computer system configuration used was Win10 (64-bit), with a running memory of 16 G, and an Intel(R) Core (TM)i5-9400F CPU @ 2.90 GHz processor.

2.7. Evaluation Index of Classification Results

In addition, common classification performance metrics were used to evaluate classification models in this study. These classification performance metrics include accuracy, precision, recall, and comprehensive evaluation index F values (F1-Score). The calculation formulas are shown in formulas (8)–(11) [35].
Accuracy = TP + TN TP + TN + FP + FN
Pr ecision = TP TP + FP
Re call = TP TP + FN
F 1 - Score = 2 × Pr ecision × Re call Pr ecision + Re acll
where TP is used to represent true positive, TN is used to represent true negative, FP is used to represent false positive, and FN is used to represent false negative.

2.8. Statistical Analysis Software

In this study, pathogenic spore diffraction was processed by MATLAB R2016b software. All algorithms were run in a MATLAB R2016b environment.

3. Results

3.1. Results and Analysis of Fungal Spore Diffraction Fingerprint Image

In this study, in order to extract the diffraction fingerprint image features of the fungal spores, diffraction images of fungal spores were collected and pre-processed. The results are shown in Figure 5A, Figure 6A and Figure 7A. Based on this, the three-dimensional relative light intensity distribution (as shown in Figure 5B, Figure 6B and Figure 7B) and two-dimensional relative light intensity distribution (as shown in Figure 5C, Figure 6C and Figure 7C) of the diffraction fingerprint image of fungal spores were obtained. Figure 5B, Figure 6B and Figure 7B demonstrate that the relative light intensity value was the highest near the center of the diffracted fingerprint. The relative light intensity value of the background of the processed spore diffraction image was distributed around 100. The relative light intensity values of the diffraction images of P. cubensis spores and P. xanthii spores were distributed between 0 and 255. The relative light intensity values of the diffraction images of B. cinerea spores were distributed between 50 and 255. Figure 5C, Figure 6C and Figure 7C show that the relative light intensity in the region near the center of the diffraction fingerprint image of fungal spores was the largest. The main stripes of the fungal spores’ diffraction fingerprint image are more valuable, followed by the 6 stripes next to them. In addition, the spatial positions of the two-dimensional light intensity distribution of the spores’ diffraction images of the three kinds of airborne diseases were different. This may be related to the size and shape of the spores. To obtain the relative light intensity value of the characteristic fingerprint of the diffraction fingerprint image of fungal spores, a two-dimensional relative light intensity distribution image of the diffraction fingerprint image of the fungal spores was processed. The relative light intensity distribution value of each diffraction fringe was obtained. The results are shown in Figure 5D, Figure 6D and Figure 7D.
Then, the relative light intensity distribution values of the spores’ diffraction fingerprint characteristics of the three kinds of airborne diseases were statistically analyzed. The results are shown in Table 1. It can be seen from Table 1 that the relative light intensity value range of the central fringe of the P. cubensis spore diffraction fingerprint image was 243–275. The relative light intensity value range of the main bright fringe was 102–223. The relative light intensity value range of the main dark fringe was 8–106. The relative light intensity value range of the central fringe of the P. xanthii spore diffraction fingerprint image was 182–224. The relative light intensity value range of the main bright fringe was 131–195. The relative light intensity value range of the main dark fringe was 12–107. The relative light intensity value range of the central fringe of the B. cinerea spore diffraction fingerprint image was 253–286. The relative light intensity value range of the main bright fringe was 104–215. The relative light intensity value range of the main dark fringe was 14–83.

3.2. Analysis of Classification Results

3.2.1. Evaluation Index

Instability caused by possible sample size bias was considered when classifying pathogenic spores’ diffraction fingerprint images from the three diseases using the LR model, and a one-to-one classification method was used. The LR algorithm chooses L2 as the regular term. When the KNN model was used to classify pathogenic spores’ diffraction fingerprint images, 70% of the training set was reclassified considering the number of samples, and the K value of the KNN algorithm was estimated by 10-fold cross-validation. When using the RF model to classify pathogenic spores’ diffraction fingerprint images, in order to achieve the purpose of extracting equal samples, the adopted sampling method was put back into the sampling. SVM algorithm uses a Gaussian kernel function and adopts a one-to-one classification method. In this study, a confusion matrix was used to evaluate the performance of the classifier. As shown in Figure 8, each row of the matrix represents the actual category for the sample, and each column represents the predicted category for the sample. The numbers on the diagonal of the matrix represent the number of samples correctly identified for each category [36]. The results of the LR classification model (Figure 8) show that 46, 44, and 51 samples of B. cinerea spores, P. cubensis spores, and P. xanthii spores were correctly identified. Among them, 9 samples of B. cinerea spores were predicted to be P. cubensis spores, and 5 samples of B. cinerea spores were predicted to be P. xanthii spores. For the P. cubensis spores, 10 samples were predicted to be B. cinerea spores, and 6 samples were predicted to be P. xanthii spores. For the P. xanthii spores, 3 samples were predicted to be B. cinerea spores, and 6 samples were predicted to be P. cubensis spores. The results of the KNN classification model show that 7 samples of B. cinerea spores were predicted to be P. cubensis spores, and 4 samples of B. cinerea spores were predicted to be P. xanthii spores. For the P. cubensis spores, 5 samples were predicted to be B. cinerea spores, and 8 samples were predicted to be P. xanthii spores. For the P. xanthii spores, 2 samples were predicted to be B. cinerea spores, and 6 samples were predicted to be P. Cubensis spores. The results of the RF classification model show that 7 samples of B. cinerea spores were predicted to be P. cubensis spores, and 2 samples of B. cinerea spores were predicted to be P. xanthii spores. For the P. cubensis spores, 6 samples were predicted to be B. cinerea spores, and 8 samples were predicted to be P. xanthii spores. For the P. xanthii spores, 1 sample was predicted to be B. cinerea spores, and 5 samples were predicted to be P. cubensis spores. The results of the SVM classification model show that 5 samples of B. cinerea spores were predicted to be P. cubensis spores, and 2 samples of B. cinerea spores were predicted to be P. xanthii spores. For the P. cubensis spores, 3 samples were predicted to be B. cinerea spores, and 6 samples were predicted to be P. xanthii spores. For the P. xanthii spores, 1 sample was predicted to be B. cinerea spores, and 2 samples were predicted to be P. cubensis spores.
The classification results of different classification models are shown in Table 2.

3.2.2. Classification Results of Different Models

In this study, the Peak to Center ratio (PCR), Valley to Center ratio, and Peak to Valley ratio (PVR) were extracted from the diffraction fingerprint images of airborne disease spores. The classification models of LR, KNN, RF, and SVM were established based on the features of the airborne disease spore’s diffraction fingerprint. The accuracy, precision, recall, and F1-Score of three kinds of fungal spores from greenhouse crops, classified by LR, KNN, RF, and SVM models were compared and analyzed. The results are shown in Table 3 and Table 4.
As shown in Table 3, with regards to the three kinds of fungal spores from greenhouse crops, the SVM model has higher accuracy, precision, recall, and F1-Score than the LR, KNN, and RF classification models. For B. cinerea spores, the accuracy, precision, recall, and F1-Score of the SVM model were 93.6%, 92.98%, 88.33%, and 90.6%, respectively. For P. cubensis spores, the accuracy, precision, recall, and F1-Score of the SVM model were 90.96%, 87.93%, 85%, and 86.44%, respectively. For P. xanthii spores, the accuracy, precision, recall, and F1-Score of the SVM model were 93.60%, 87.69%, 95%, and 91.2%, respectively.
As shown in Table 4, the SVM model has a better overall classification performance compared to the LR, KNN, and RF models. The average recognition accuracy rates of the three kinds of fungal spores from greenhouse crops under the SVM model were 92.72%, while the accuracy rates of the LR, KNN, and RF models were 84.97%, 87.44%, and 88.72%, respectively. As a comprehensive evaluation index, the F1-Score represents the overall performance of the classifier. The F1-Score value of the SVM model was higher, and the overall average value reached 89.41%, which were 11.12%, 7.18%, and 5.57% higher than the LR model, KNN model and RF model, respectively, showing that the SVM model has a good comprehensive performance.

4. Discussion

Tomatoes and cucumbers, as the most widely planted important vegetables in greenhouses, have high economic benefits. Due to the environmental conditions in greenhouses, cucumber downy mildew, powdery mildew, and tomato gray mold are prone to occur and these diseases can easily cause crop yield losses. Therefore, it is of great importance to detect and control the airborne disease spores of greenhouse crops to stabilize and increase crop yield. Traditional methods rely on agronomists manually checking the plant disease symptoms or visible signs of pathogens with the naked eye or professional analysts performing physiological and biochemical analyses including molecular, serological, and deoxyribose nucleic acid. The method of physiological and biochemical analysis is time-consuming and labor-intensive, and specific operating environments, as well as a high level of analyst expertise and operating skills, are needed to obtain reliable diagnosis results. In addition, these conventional methods are inadequate for detecting diseases in the latent period, because the symptoms of the latent period are invisible to the naked eye [37,38].
Early prediction and control of diseases can be realized by using spore catchers to capture and detect spores in the air [27,28,29,30]. Measuring and identifying spores is a standard method for describing fungi classification and with manual microscopic analyses, the number of spores that can be measured and their morphological traits can be observed. However, due to the small size and the large number of fungal spores, and the small field of view of the microscope, large counting errors can occur easily [33]. Lens-less CMOS image sensors are favored by related researchers due to their large imaging field of view and low cost [39]. To overcome this challenge, we present a rapid detection method for fungal spores from greenhouse crops based on CMOS image sensors and diffraction fingerprint feature processing. Diffraction refers to the phenomenon that light encounters opaque or transparent obstacles or micropores (narrow slits) in the propagation path, bypasses the obstacles, and deviates from the straight line. Under the appropriate circumstances, any wave has the inherent properties of diffraction and the degree of wave diffraction varies in different situations. If the obstacle has multiple densely distributed pores, it will cause a more complicated diffraction intensity distribution pattern. The size, shape, and surface texture characteristics of different disease spores are varied [40]. The light intensity distribution of light and dark stripes generated during diffraction can reflect characteristic information of disease spores.
Pathogenic spores are mainly composed of a cell wall and cytoplasm, and pathogenic spores absorb and reflect light differently. Therefore, a visible and near-infrared hyperspectral imaging (HSI) system can be used to measure the growth of fungi in the wavelength range of 400 to 1000 nm and find and identify fungal infections [41,42]. For example, Lu et al. [43] collected spectral data of Aspergillus parasiticus, Aspergillus flavus, Aspergillus glaucus, Aspergillus niger, and Penicillium sp. and established a corresponding multispectral classification model. Using the SPA-SVM method to analyze the HSI images of the five fungi grown for one day, the five fungi could be well distinguished. This method requires a certain period of time to cultivate pathogenic bacteria, needs to be carried out in a laboratory, which is inconvenient to operate and has a certain lag in disease detection, prevention, and control [44]. In addition, each pathogenic spore has its shape characteristics, including perimeter, surface area, aspect ratio, and roundness. Using these features, the method of image processing can identify and classify the spores of different pathogens [45]. For example, Yang et al. [46] used a spore capture device to capture rice blast fungus spores in the air and collected microscopic images of rice blast fungus spores. The shape features such as area, perimeter, ellipticity, and complexity of the spores of rice blast were extracted, as well as texture features such as entropy, uniformity, and contrast. Then a decision tree model was established to detect the spores of rice blast. Although spore capturing instruments and microscopic image processing methods can detect pathogenic bacteria spores, a microscope is required, and the traditional microscope has a small field of view and cannot meet the needs of the actual situation [27,28,46]. Relevant studies have shown that when the number of spores is small, the accuracy of manual identification may be higher. However, when the number is large, the advantages of machine recognition are reflected, which can save a lot of time and manpower [47]. In this study, a rapid detection method of fungal spores in greenhouse crops based on CMOS image sensors and diffraction fingerprint feature processing was proposed. Pathogenic spores do not need to be cultured and they can be detected more quickly. In addition, this study uses a CMOS image sensor to directly collect the diffractive fingerprint images of pathogenic spores. Due to the large imaging field of view of the lens-less CMOS image sensor, more pathogenic spores’ images can be captured. The method proposed in this study has slightly higher accuracy in identifying disease spores than the method of microscopic image processing of disease spores [28]. In addition, the method proposed in this article is easy to use and cheaper than traditional microscopic imaging systems. It is more conducive to actual promotion and application [27,29,30].

5. Conclusions

In this study, to achieve rapid detection of spores of airborne diseases in greenhouse crops, a rapid detection method of fungal spores from greenhouse crops based on CMOS image sensors and diffraction fingerprint feature processing is proposed. The diffraction fingerprint image acquisition system for fungal spores in greenhouse crops was built. Diffraction fingerprint images of three kinds of disease spores were collected. The diffraction fingerprint feature of disease spores was extracted and the classification model was established. The SVM model had higher accuracy, precision, recall, and F1-Score than the LR, KNN, and RF classification models. For B. cinerea spores, the accuracy, precision, recall, and F1-Score of the SVM model were 93.6%, 92.98%, 88.33%, and 90.6%, respectively. For P. cubensis spores, the accuracy, precision, recall, and F1-Score of the SVM model were 90.96%, 87.93%, 85%, and 86.44%, respectively. For P. xanthii spores, the accuracy, precision, recall, and F1-Score of the SVM model were 93.60%, 87.69%, 95%, and 91.2%, respectively. The method proposed in this study can be used for remote identification of three fungal spores and it is a low-cost and portable system.
This research mainly focused on the spores of three pathogens. However, there may be other biological and non-biological particles in greenhouses. In addition, in this study, the collection of pathogenic spores needed the assistance of a portable spore trap. Although the portable spore trap can catch spores, it cannot separate and enrich pathogenic spores. Therefore, it is suggested that in the future, more research on the influence of biological and non-biological particles on the experiment, as well as the separation and enrichment methods of spores be considered.

Author Contributions

Conceptualization, Y.W. and H.M.; methodology, Y.W., software, Y.W. and G.X.; validation, Y.W. and G.X.; data curation, Y.W.; writing—original draft preparation, Y.W. and X.Z.; writing—review and editing, Y.W., Y.Z. and X.Z.; project administration, H.M.; funding acquisition, H.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work was partially supported by the National Natural Science Foundation of China (32071905 and 61771224). High-tech Key Laboratory of Agricultural Equipment and Intelligence of Jiangsu Province (Grant No. JNZ201901).

Data Availability Statement

Not applicable.

Acknowledgments

The author would like to thank the Key Laboratory of Agricultural Engineering in Jiangsu University for supporting the experimental conditions of the research.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Guo, J.; Zhang, Y.; Liu, W.; Zhao, J.; Yu, S.; Jia, H.; Zhang, C.; Li, Y. Incorporating in vitro bioaccessibility into human health risk assessment of heavy metals and metalloid (As) in soil and pak choi (Brassica chinensis L.) from greenhouse vegetable production fields in a megacity in Northwest China. Food Chem. 2021, 373, 131488. [Google Scholar] [CrossRef] [PubMed]
  2. Zhang, C.; Li, X.; Yan, H.; Ullah, I.; Zuo, Z.; Li, L.; Yu, J. Effects of irrigation quantity and biochar on soil physical properties, growth characteristics, yield and quality of greenhouse tomato. Agric. Water Manag. 2020, 241, 106263. [Google Scholar] [CrossRef]
  3. Wang, Y.; Zhang, X.; Yang, N.; Ma, G.; Du, X.; Mao, H. Separation-enrichment method for airborne disease spores based on microfluidic chip. Int. J. Agric. Biol. Eng. 2021, 14, 199–205. [Google Scholar] [CrossRef]
  4. Arasu, M.V.; Al-Dhabi, N.A.; Choi, K.C.; Bensy, A.D.V.; Rajaselvam, J. Bioactive potential of Albizia lebbeck extract against phytopathogens and protective properties on tomato plant against speck disease in greenhouse. Physiol. Mol. Plant Pathol. 2021, 117, 101750. [Google Scholar] [CrossRef]
  5. Wang, Y.; Ma, G.; Du, X.; Liu, Y.; Wang, B.; Xu, G.; Mao, H. Effects of Nutrient Solution Irrigation Quantity and Downy Mildew Infection on Growth and Physiological Traits of Greenhouse Cucumber. Agronomy 2020, 10, 1921. [Google Scholar] [CrossRef]
  6. Hafez, Y.M.; Attia, K.A.; Kamel, S.; Alamery, S.F.; El-Gendy, S.; Al-Doss, A.A.; Mehiar, F.; Ghazy, A.I.; Ibrahim, E.I.; Abdelaal, K.A. Bacillus subtilis as a bio-agent combined with nano molecules can control powdery mildew disease through histochemical and physiobiochemical changes in cucumber plants. Physiol. Mol. Plant Pathol. 2020, 111, 101489. [Google Scholar] [CrossRef]
  7. Tanaka, K.; Fukuda, M.; Amaki, Y.; Sakaguchi, T.; Inai, K.; Ishihara, A.; Nakajima, H. Importance of prumycin produced byBacillus amyloliquefaciensSD-32 in biocontrol against cucumber powdery mildew disease. Pest Manag. Sci. 2017, 73, 2419–2428. [Google Scholar] [CrossRef]
  8. Wallace, E.C.; D’Arcangelo, K.N.; Quesada-Ocampo, L.M. Population Analyses Reveal Two Host-Adapted Clades of Pseudoperonospora cubensis, the Causal Agent of Cucurbit Downy Mildew, on Commercial and Wild Cucurbits. Phytopathology 2020, 110, 1578–1587. [Google Scholar] [CrossRef]
  9. Chen, X.; Zhou, G.; Chen, A.; Yi, J.; Zhang, W.; Hu, Y. Identification of tomato leaf diseases based on combination of ABCK-BWTR and B-ARNet. Comput. Electron. Agric. 2020, 178, 105730. [Google Scholar] [CrossRef]
  10. Abbas, A.; Jain, S.; Gour, M.; Vankudothu, S. Tomato plant disease detection using transfer learning with C-GAN synthetic images. Comput. Electron. Agric. 2021, 187, 106279. [Google Scholar] [CrossRef]
  11. Zhang, S.; Zhang, S.; Zhang, C.; Wang, X.; Shi, Y. Cucumber leaf disease identification with global pooling dilated convolutional neural network. Comput. Electron. Agric. 2019, 162, 422–430. [Google Scholar] [CrossRef]
  12. Sireesha, Y.; Velazhahan, R. Rapid and specific detection of Peronosclerospora sorghi in maize seeds by conventional and real-time PCR. Eur. J. Plant Pathol. 2017, 150, 521–526. [Google Scholar] [CrossRef]
  13. Bandamaravuri, K.B.; Nayak, A.K.; Bandamaravuri, A.S.; Samad, A. Simultaneous detection of downy mildew and powdery mildew pathogens on Cucumis sativus and other cucurbits using duplex-qPCR and HRM analysis. AMB Express 2020, 10, 1–11. [Google Scholar] [CrossRef]
  14. Chen, J.J.; Li, K.T. Analysis of PCR Kinetics inside a Microfluidic DNA Amplification System. Micromachines 2018, 9, 48. [Google Scholar] [CrossRef] [Green Version]
  15. Fang, Y.; Ramasamy, R.P. Current and Prospective Methods for Plant Disease Detection. Biosensors 2015, 5, 537–561. [Google Scholar] [CrossRef] [Green Version]
  16. Gao, R.; Wang, R.; Feng, L.; Li, Q.; Wu, H. Dual-branch, efficient, channel attention-based crop disease identification. Comput. Electron. Agric. 2021, 190, 106410. [Google Scholar] [CrossRef]
  17. Agarwal, M.; Gupta, S.; Biswas, K. A new Conv2D model with modified ReLU activation function for identification of disease type and severity in cucumber plant. Sustain. Comput. Inform. Syst. 2020, 30, 100473. [Google Scholar] [CrossRef]
  18. Wen, D.; Ren, A.; Ji, T.; Flores-Parra, I.M.; Yang, X.; Li, M. Segmentation of thermal infrared images of cucumber leaves using K-means clustering for estimating leaf wetness duration. Int. J. Agric. Biol. Eng. 2020, 13, 161–167. [Google Scholar] [CrossRef]
  19. Zhang, J.; Rao, Y.; Man, C.; Jiang, Z.; Li, S. Identification of cucumber leaf diseases using deep learning and small sample size for agricultural Internet of Things. Int. J. Distrib. Sens. Netw. 2021, 17, 15501477211007407. [Google Scholar] [CrossRef]
  20. Zhang, P.; Yang, L.; Li, D. EfficientNet-B4-Ranger: A novel method for greenhouse cucumber disease recognition under natural complex environment. Comput. Electron. Agric. 2020, 176, 105652. [Google Scholar] [CrossRef]
  21. Liu, C.; Zhu, H.; Guo, W.; Han, X.; Chen, C.; Wu, H. EFDet: An efficient detection method for cucumber disease under natural complex environments. Comput. Electron. Agric. 2021, 189, 106378. [Google Scholar] [CrossRef]
  22. Zhou, J.; Li, J.; Wang, C.; Wu, H.; Zhao, C.; Teng, G. Crop disease identification and interpretation method based on multimodal deep learning. Comput. Electron. Agric. 2021, 189, 106408. [Google Scholar] [CrossRef]
  23. Xie, C.; Wang, H.; Shao, Y.; He, Y. Different Algorithms for Detection of Malondialdehyde Content in Eggplant Leaves Stressed by Grey Mold Based on Hyperspectral Imaging Technique. Intell. Autom. Soft Comput. 2015, 21, 395–407. [Google Scholar] [CrossRef]
  24. Gu, Q.; Sheng, L.; Zhang, T.; Lu, Y.; Zhang, Z.; Zheng, K.; Hu, H.; Zhou, H. Early detection of tomato spotted wilt virus infection in tobacco using the hyperspectral imaging technique and machine learning algorithms. Comput. Electron. Agric. 2019, 167, 105066. [Google Scholar] [CrossRef]
  25. Akhmadeev, A.A.; Salakhov, M.K. A new approach of recognition of ellipsoidal micro- and nanoparticles on AFM images and determination of their sizes. Meas. Sci. Technol. 2016, 27, 105402. [Google Scholar] [CrossRef]
  26. Abdulridha, J.; Ampatzidis, Y.; Kakarla, S.C.; Roberts, P. Detection of target spot and bacterial spot diseases in tomato using UAV-based and benchtop-based hyperspectral imaging techniques. Precis. Agric. 2019, 21, 955–978. [Google Scholar] [CrossRef]
  27. Lei, Y.; Yao, Z.; He, D. Automatic detection and counting of urediniospores of Puccinia striiformis f. sp. tritici using spore traps and image processing. Sci. Rep. 2018, 8, 13647. [Google Scholar] [CrossRef] [Green Version]
  28. Wang, Y.; Du, X.; Ma, G.; Liu, Y.; Wang, B.; Mao, H. Classification Methods for Airborne Disease Spores from Greenhouse Crops Based on Multifeature Fusion. Appl. Sci. 2020, 10, 7850. [Google Scholar] [CrossRef]
  29. Li, X.L.; Ma, Z.H.; Sun, Z.Y.; Wang, H.G. Automatic counting for trapped urediospores of Puccinia striiformis f. sp. tritici based on image processing. Trans. Chin. Soc. Agric. Eng. 2013, 29, 199–206, (In Chinese with English Abstract). [Google Scholar] [CrossRef]
  30. Qi, L.; Jiang, Y.; Li, Z.H.; Ma, X.; Zheng, Z.X.; Wang, W.J. Automatic detection and counting method for spores of rice blast based on micro image processing. Trans. Chin. Soc. Agric. Eng. 2015, 31, 186–193, (In Chinese with English Abstract). [Google Scholar] [CrossRef]
  31. Wang, Y.; Mao, H.; Zhang, X.; Liu, Y.; Du, X. A Rapid Detection Method for Tomato Gray Mold Spores in Greenhouse Based on Microfluidic Chip Enrichment and Lens-Less Diffraction Image Processing. Foods 2021, 10, 3011. [Google Scholar] [CrossRef]
  32. Yang, N.; Yu, J.; Wang, A.; Tang, J.; Zhang, R.; Xie, L.; Shu, F.; Kwabena, O.P. A rapid rice blast detection and identification method based on crop disease spores’ diffraction fingerprint texture. J. Sci. Food Agric. 2020, 100, 3608–3621. [Google Scholar] [CrossRef]
  33. Woyzichovski, J.; Shchepin, O.; Dagamac, N.H.; Schnittler, M. A workflow for low-cost automated image analysis of myxomycete spore numbers, size and shape. PeerJ 2021, 9, e12471. [Google Scholar] [CrossRef]
  34. Wang, Y.; Zhang, X.; Ma, G.; Du, X.; Shaheen, N.; Mao, H. Recognition of weeds at asparagus fields using multi-feature fusion and backpropagation neural network. Int. J. Agric. Biol. Eng. 2021, 14, 190–198. [Google Scholar] [CrossRef]
  35. Indu, V.T.; Priyadharsini, S.S. Crossover-based wind-driven optimized convolutional neural network model for tomato leaf disease classification. J. Plant Dis. Prot. 2021, 128, 1–20. [Google Scholar] [CrossRef]
  36. Cengil, E.; Çınar, A. Hybrid convolutional neural network based classification of bacterial, viral, and fungal diseases on tomato leaf images. Concurr. Comput. Pract. Exp. 2021, 34, e6617. [Google Scholar] [CrossRef]
  37. Wen, D.-M.; Chen, M.-X.; Zhao, L.; Ji, T.; Li, M.; Yang, X.-T. Use of thermal imaging and Fourier transform infrared spectroscopy for the pre-symptomatic detection of cucumber downy mildew. Eur. J. Plant Pathol. 2019, 155, 405–416. [Google Scholar] [CrossRef]
  38. Li, Y.; Luo, Z.; Wang, F.; Wang, Y. Hyperspectral Leaf Image-Based Cucumber Disease Recognition Using the Extended Collaborative Representation Model. Sensors 2020, 20, 4045. [Google Scholar] [CrossRef]
  39. Olorocisimo, J.P.; Briones, J.; Sasagawa, K.; Haruta, M.; Takehara, H.; Tashiro, H.; Ishida-Kitagawa, N.; Bessho, Y.; Ohta, J. Ultrasmall compact CMOS imaging system for bioluminescence reporter-based live gene expression analysis. J. Biomed. Opt. 2021, 26, 116002. [Google Scholar] [CrossRef]
  40. Woo, C.; An, C.; Xu, S.; Yi, S.-M.; Yamamoto, N. Taxonomic diversity of fungi deposited from the atmosphere. ISME J. 2018, 12, 2051–2060. [Google Scholar] [CrossRef] [Green Version]
  41. Chai, A.-L.; Wang, Y.-K.; Zhu, F.-D.; Shi, Y.-X.; Xie, X.-W.; Li, B.-J. Identification of Plant-Pathogenic Fungi Using Fourier Transform Infrared Spectroscopy Combined with Chemometric Analyses. Guang Pu Xue Yu Guang Pu Fen Xi = Guang Pu 2016, 36, 3764–3771. [Google Scholar]
  42. Jeong, Y.-S.; Choi, S.; Chong, E.; Kim, J.; Kim, S.-J. Rapid detection of Bacillus spore aerosol particles by direct in situ analysis using MALDI-TOF mass spectrometry. Lett. Appl. Microbiol. 2014, 59, 177–183. [Google Scholar] [CrossRef]
  43. Lu, Y.; Wang, W.; Huang, M.; Ni, X.; Chu, X.; Li, C. Evaluation and classification of five cereal fungi on culture medium using Visible/Near-Infrared (Vis/NIR) hyperspectral imaging. Infrared Phys. Technol. 2020, 105, 103206. [Google Scholar] [CrossRef]
  44. Li, Y.X.; Hu, X.T.; Zhang, F.; Shi, J.Y.; Qiu, B.J. Colony image segmentation and counting based on hyperspectral technology. Trans. Chin. Soc. Agric. Eng. 2020, 36, 326–332. [Google Scholar] [CrossRef]
  45. Chesmore, D.; Bernard, T.; Inman, A.J.; Bowyer, R.J. Image analysis for the identification of the quarantine pest Tilletia indica. EPPO Bull. 2003, 33, 495–499. [Google Scholar] [CrossRef]
  46. Yang, N.; Qian, Y.; El-Mesery, H.S.; Zhang, R.; Wang, A.; Tang, J. Rapid detection of rice disease using microscopy image identification based on the synergistic judgment of texture and shape features and decision tree–confusion matrix method. J. Sci. Food Agric. 2019, 99, 6589–6600. [Google Scholar] [CrossRef]
  47. Xiaolong, L.; Zhanhong, M.; Bienvenido, F.; Feng, Q.; Haiguang, W. Development of automatic counting system for urediospores of wheat stripe rust based on image processing. Int. J. Agric. Biol. Eng. 2017, 10, 134–143. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Process of collecting fungal spores and measuring parameters.
Figure 1. Process of collecting fungal spores and measuring parameters.
Jof 08 00374 g001
Figure 2. The fungal spores diffraction fingerprint collection system, (A) diffraction fingerprint collection system architecture, (B) diffraction fingerprint image detection platform, and (C) diffraction fingerprint image processing.
Figure 2. The fungal spores diffraction fingerprint collection system, (A) diffraction fingerprint collection system architecture, (B) diffraction fingerprint image detection platform, and (C) diffraction fingerprint image processing.
Jof 08 00374 g002
Figure 3. Diffraction fingerprint image pre-processing process.
Figure 3. Diffraction fingerprint image pre-processing process.
Jof 08 00374 g003
Figure 4. The relative light intensity distribution of fungal spore diffraction fingerprints.
Figure 4. The relative light intensity distribution of fungal spore diffraction fingerprints.
Jof 08 00374 g004
Figure 5. Results of P. cubensis spore fingerprint image processing, (A) diffraction image, (B) three-dimensional relative light intensity distribution, (C) two-dimensional relative light intensity distribution, and (D) relative light intensity distribution value.
Figure 5. Results of P. cubensis spore fingerprint image processing, (A) diffraction image, (B) three-dimensional relative light intensity distribution, (C) two-dimensional relative light intensity distribution, and (D) relative light intensity distribution value.
Jof 08 00374 g005
Figure 6. Results of P. xanthii spore fingerprint image processing, (A) diffraction image, (B) three-dimensional relative light intensity distribution, (C) two-dimensional relative light intensity distribution, and (D) relative light intensity distribution value.
Figure 6. Results of P. xanthii spore fingerprint image processing, (A) diffraction image, (B) three-dimensional relative light intensity distribution, (C) two-dimensional relative light intensity distribution, and (D) relative light intensity distribution value.
Jof 08 00374 g006aJof 08 00374 g006b
Figure 7. Results of B. cinerea spore fingerprint image processing, (A) diffraction image, (B) three-dimensional relative light intensity distribution, (C) two-dimensional relative light intensity distribution, and (D) relative light intensity distribution value.
Figure 7. Results of B. cinerea spore fingerprint image processing, (A) diffraction image, (B) three-dimensional relative light intensity distribution, (C) two-dimensional relative light intensity distribution, and (D) relative light intensity distribution value.
Jof 08 00374 g007
Figure 8. Confusion matrix of different classification models, (A) LR model, (B) KNN model, (C) RF model, and (D) SVM model.
Figure 8. Confusion matrix of different classification models, (A) LR model, (B) KNN model, (C) RF model, and (D) SVM model.
Jof 08 00374 g008
Table 1. Statistical results of the relative light intensity distribution of diffraction fingerprints of three kinds of fungal spores.
Table 1. Statistical results of the relative light intensity distribution of diffraction fingerprints of three kinds of fungal spores.
FeatureRelative Light Intensity Distribution Value
P. cubensis SporeP. Xanthii SporeB. cinerea Spore
CenterC243–275182–224253–286
Main bright fringeP1 and P6102–154131–164104–153
P2 and P5150–183141–173133–206
P3 and P4184–223152–195172–215
Main dark fringeV1 and V653–10649–10761–83
V2 and V526–5123–6321–52
V3 and V48–3312–3914–37
Table 2. Classification results of different classification models.
Table 2. Classification results of different classification models.
SpeciesBasic Indicators
LRKNNRFSVM
TPTNFPFNTPTNFPFNTPTNFPFNTPTNFPFN
B. cinerea spores46951314499971151100795310847
P. cubensis spores449715164710113134610512145111079
P. xanthii spores5190119529612854971065710483
Table 3. Comparative analysis of different classification models (%).
Table 3. Comparative analysis of different classification models (%).
SpeciesClassification Results
AccuracyPrecisionRecallF1-Score
LRKNNRFSVMLRKNNRFSVMLRKNNRFSVMLRKNNRFSVM
B. cinerea spores83.9389.1690.4293.6077.9787.5087.9392.9877.6781.6785.0088.3377.3184.4886.4490.60
P. cubensis spores81.9885.0685.3190.9674.5878.3379.3187.9373.3378.3376.6785.0073.9578.3377.9786.44
P. xanthii spores87.5888.1090.4293.6082.2681.2584.3887.6985.0086.6790.0095.0083.6183.8787.1091.20
Table 4. The overall average recognition ability comparisons of different classification models (%).
Table 4. The overall average recognition ability comparisons of different classification models (%).
IndexesClassification Model
LRKNNRFSVM
Accuracy84.9787.4488.7292.72
Precision78.2782.3683.8789.53
Recall78.6782.2283.8989.44
F1-Score78.2982.2383.8489.41
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wang, Y.; Mao, H.; Xu, G.; Zhang, X.; Zhang, Y. A Rapid Detection Method for Fungal Spores from Greenhouse Crops Based on CMOS Image Sensors and Diffraction Fingerprint Feature Processing. J. Fungi 2022, 8, 374. https://doi.org/10.3390/jof8040374

AMA Style

Wang Y, Mao H, Xu G, Zhang X, Zhang Y. A Rapid Detection Method for Fungal Spores from Greenhouse Crops Based on CMOS Image Sensors and Diffraction Fingerprint Feature Processing. Journal of Fungi. 2022; 8(4):374. https://doi.org/10.3390/jof8040374

Chicago/Turabian Style

Wang, Yafei, Hanping Mao, Guilin Xu, Xiaodong Zhang, and Yakun Zhang. 2022. "A Rapid Detection Method for Fungal Spores from Greenhouse Crops Based on CMOS Image Sensors and Diffraction Fingerprint Feature Processing" Journal of Fungi 8, no. 4: 374. https://doi.org/10.3390/jof8040374

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop