Background

Rice, a crop cultivated worldwide, accounts for approximately one-quarter of the total crop planting area in China and one-third of the grain yield [1]. Rice blast caused by Magnaporthe grisea occurs in almost every rice-growing country and region [2] and negatively impacts potential crop yield and quality. Epidemics due to this fungus typically result in 10–20% reductions in production, with greater than 40% reductions observed in severe cases [3]. Since the 1990s, the annual area of rice blast occurrence in China has averaged at least 38,000 km2, and annual losses have been up to several hundred million kilograms [4]. To date, one of the most widely used methods for controlling rice blast is spraying with fungicide [5, 6]. Under field conditions, however, most disease is nonhomogeneously distributed [7]. Uniform spraying requires an excessive amount of agrochemicals, resulting in increased costs, environmental pollution, and fungal resistance [8, 9]. Consequently, the accurate evaluation of rice blast severity is an economically important aspect of precision agriculture.

During pathogenesis, M. grisea undergoes a complex sequence of developmental and metabolic events [10]. Four types of lesions have been found under field conditions: acute, chronic, white spot, and brown spot forms [3]. Current disease scouting and phenotyping techniques rely on human observations and visual ratings [11,12,13]. Visual ratings, which are dependent on rater ability and reliability, may be prone to human error, subjectivity, and inter/intra-rater variability [14,15,16,17]. To overcome these shortcomings, remote sensing techniques have been introduced to provide an easily available, permanent record of disease intensity without the problems associated with human rating [18].

Hyperspectral imaging is an emerging means of assessing plant vitality, stress parameters, nutrition status, and disease [19]. This technique produces digital measurements that can easily be shared and quickly analyzed using semi-automated procedures in a repeatable and objective manner [20]. In addition, hyperspectral imaging can be used to measure reflectance in visible, near-infrared, and even short-wave infrared ranges, thereby providing more abundant information [13, 21]. Hyperspectral imaging has been widely used to assess plant disease severity. For instance, Thomas et al. [22] used hyperspectral imaging to investigate the powdery mildew resistance of six barley cultivars up to 30 days after inoculation. Oerke et al. [23] quantified Cercospora beticola sporulation in sugar beet leaves using hyperspectral microscopy to assess the resistance of different genotypes. Jiang et al. [24] estimated the severity of mangrove diseases carried by herbivorous insects using a random forest model with the optimal R2 of 0.752. Gui et al. [25] established a combined convolutional neural network and support vector machine method to grade soybean mosaic disease and achieved an accuracy as high as 94.17%. Coops et al. [26] detected three levels of Dothistroma needle blight infection with an accuracy of over 70% using airborne hyperspectral remote sensing imagery.

Hyperspectral imaging has been effectively used in previous studies and has greatly promoted plant disease research. To our knowledge, however, no classification method exists to assess rice leaf blast severity over multiple growth stages. Fungal plant pathogens affect almost all relevant crops during different stages of development [27]. To evaluate plant diseases at different growth stages, several classification models are currently required to encompass different time periods, a time-consuming practice. The development of an efficient method to assess disease severity is therefore important.

In this study, hyperspectral images of rice leaves were obtained using a ground-based hyperspectral imaging system in 2019 and 2021 period. The average spectral reflectance of whole leaves and healthy leaf tissues were extracted with ENVI 5.6. A spectral reflectance ratio (SRR) data analysis method was used for data processing and the successive projections algorithm (SPA) was used to select sensitive wave bands. Full-spectrum-based SVM models and SPA-SVM models were constructed to assess rice leaf blast severity over multiple growth stages, and the generalizability of the model was evaluated.

Materials and methods

Plant materials

All experiments were conducted in Liaoning Province, China, using rice blast-susceptible Mongolian rice. All samples were directly obtained from a naturally infected field. The first portion of the study took place in 2019 in Shenyang (123°63′ E, 42°01′ N). Experimental plants were sown on May 23. The row space of rice plants was 0.2 m, and the line space of those was about 0.35 m. Urea–potassium sulfate–superphosphate fertilizer was applied basally at a rate of 270, 80, and 130 kg/ha, respectively, with additional urea supplied at a rate of 50 kg/ha at the tillering stage. To eliminate the influence of insect pests, 5 g of chlorpyrifos 74% wettable powder (Shanghai Nongle Agricultural Chemical Co., Shanghai, China) was mixed with 10 kg of water to form a solution that was applied monthly with a T20 UAV sprayer (SZ DJI Technology Co., Shenzhen, China). The second portion of the study was conducted in 2021 at Haicheng (122°73′ E, 40°98′ N). Experimental plants were sown on May 25. All other management practices were the same as in 2019. Twelve diseased rice plants and two healthy ones were randomly selected from the field at three different growth stages. The rice plants were placed in a barrel (42 cm diameter and 50 cm deep). Soil and water in the field were added in the barrel to maintain the state of rice plants. The barrels were transported to a hyperspectral imaging room, and hyperspectral images of rice leaves were acquired the following day. All samples were divided into a training set and a testing set at a ratio of 7:3. Specific descriptions of samples are provided in Table 1.

Table 1 Collection date and numbers of samples in this study

Hyperspectral imaging

The imaging system (Fig. 1) consisted of a high-sensitivity EM285CL EMCCD camera (Raptor Photonics, Antrim, Northern Ireland), a stand-mounted ImSpector V10E imager (Spectral Imaging, Oulu, Finland), a horizontally movable scanning stage, a desktop computer with Spectral-Image software (Isuzu Optics, Hsinchu, China) for controlling the imager and scanning stage during image collection, and an IT 3900 halogen light source (Ocean Optics, Dunedin, FL, USA) to provide stable illumination. The ImSpector V10E imager collected 472 wavebands over a spectral range of 400–1000 nm. The angle of the left and right linear emitters was adjusted to a vertical orientation of 45° to enable the emitted light rays to converge on a coincident line just below the camera lens. The objective lens of the camera was set at an aperture of f/1.4. The distance between the camera lens and the scanning stage was set to 300 mm, and the focus was manually adjusted to guarantee image definition. The exposure time was manually adjusted according to the lighting environment to ensure sufficient incident radiation intensity. The speed of the scanning stage was set to 1.2 mm/s, with the aspect ratio set to the default. Leaves were carefully removed from each rice stem, placed flat on the stage, and gently affixed with double-sided adhesive. Five columns of rice leaves were placed parallel to one another on the scanning stage while the camera ran at every turn. Great care was taken to avoid exerting any pressure on the leaves. Rice leaves longer than 400 mm, the maximum sliding distance of the scanning stage, were cut into two or more sections while preserving the integrity of the diseased area. Images were captured using Spectra-Image software, and the hyperspectral data cubes were saved onto an external hard drive.

Fig. 1
figure 1

Hyperspectral imaging system used in this study

The original hyperspectral images were corrected each time for dark current and uneven light intensity distribution before further processing [28]. First, a white board with high reflectance was scanned as a 100% standard. The value of Max DN was adjusted to 3600, which was 80% of the maximum value, and the bright field of the white board was recorded. After covering the lens cap, the dark field of the white board was measured. The white board was then removed. Next, the samples were situated directly below the camera on the scanning stage, with the exposure time adjusted to keep the value of Max DN at 3600 with the other parameters unchanged. After covering the lens cap, the dark field of the sample was recorded. The corrected sample image was calculated as follows:

$$R=\frac{{R}_{s}-{R}_{sd}}{{R}_{bw}-{R}_{bd}}$$
(1)

where R is the corrected sample image, \({R}_{s}\) is the original hyperspectral image of the sample, \({R}_{sd}\) is the hyperspectral image of the dark field of the sample, \({R}_{bw}\) is the hyperspectral image of the bright field of the white board, and \({R}_{bd}\) is the hyperspectral image of the dark field of the white board.

Classes of disease severity

Rice leaves were manually traced using the ROI tool in ENVI 5.6 (ITT Visual Information Solutions, Boulder, CO, USA). The area of the rice leaf was selected as a region of interest (ROI), with the number of pixels contained therein counted automatically and recorded as N1. The number of pixels in diseased areas was calculated in the same way and recorded as N2. The degree of rice blast on a leaf was calculated as the percentage of the leaf covered by lesions relative to the whole leaf area, that is, the value of (N2 / N1) × 100%. Disease severity was then classified according to [29] into six levels as follows: 0, no visible lesions; 1, up to 1% of the leaf showing rice blast symptoms; 2, 1% to 5% showing symptoms; 3, 5% to 10% showing symptoms; 4, 10% to 50% showing symptoms; and 5, over 50% showing symptoms. Because samples assigned to level 5 were observed only under extremely severe disease conditions, only five classes of samples (levels 0 to 4) were discriminated in this study.

Analysis of the hyperspectral dataset

HSI Analyzer (Isuzu Optics, Hsinchu, China) was used to normalize the hyperspectral images against known values of the white reference standard. The whole rice leaf was manually traced using the ROI tool and selected as a ROI. The average spectral reflectance of the ROI was then extracted and saved. Depending on the size of the leaf, three or more rectangular areas of the same size were selected. All of the rectangular areas were distributed in different positions of the leaf. The selected areas were treated as a single ROI, and the average spectral reflectance of the ROI was extracted and saved. The spectral reflectance data were analyzed using a SRR data analysis method proposed by Zhang et al. [30] as follows:

$$SRR=\frac{{R}_{h}}{{R}_{w}}$$
(2)

where Rw is the average spectral reflectance of the whole leaf, and Rh represents the average spectral reflectance of healthy parts of the same leaf.

The acquired spectral reflectance consisted of two parts: true value and noise. Equation (2) can thus be expressed as:

$$SRR=\frac{{R}_{H}+{R}_{NH}}{{R}_{W}+{R}_{NW}}$$
(3)

where RH is the true value of Rh, RNH is the noise of Rh, RW is the true value of Rw, and RNW is the noise of Rw.

Spectral noise has two components: air absorption and equipment noise. Air absorption is affected by the distance between pixels and the lens, whereas equipment noise is influenced by voltage. The width of rice leaves is only approximately 1 cm, which is roughly 1/30 of the object distance. As a result, the distribution of pixels is irrelevant when calculating pixel–lens distances. For the whole leaf, air absorption can be considered to be constant. In a single imaging run, the noise generated by the hyperspectral imaging system remains unchanged. Equipment noise also stays the same for the whole leaf. Overall, RNH is equal to RNW for a single leaf, and both variables can be assigned as RN. Equation (3) can thus be written as:

$$SRR=\frac{{R}_{H}+{R}_{N}}{{R}_{W}+{R}_{N}}=\frac{{R}_{H}}{{R}_{W}}+\frac{{R}_{N}({R}_{W}-{R}_{H})}{{R}_{W}({R}_{W}+{R}_{N})}$$
(4)

Compared with RW, RN is extremely small after processing of the above-mentioned white and dark references. RN/RW can thus be regarded as infinitesimal; the absolute value of (RW-RH) / (RW + RN) is smaller than 1, and their product is still infinitesimal. Equation (4) can be simplified as:

$$SRR=\frac{{R}_{H}}{{R}_{W}}$$
(5)

As can be seen from (5), the value of SRR only depends on the true value of hyperspectral reflectance, thereby demonstrating its capacity in noise resistance. In addition, the value of SRR does not depend entirely on spectral reflectance, thus eliminating differences among individuals to some extent. The value of SRR therefore indicates the change rate of spectral reflectance of a rice leaf after infection by M. grisea: in other words, the degree of rice leaf blast severity.

Classification model construction and evaluation

The SRR dataset was classified into different degrees of disease severity by a non-linear SVM [31]. The applied SVM used the radial basis function as the kernel function to determine non-linear discriminant functions. In this study, randomly selected samples were chosen as the training set, and the remaining samples were assigned to the testing set. To build the optimal SVM model, the penalty parameter of the error term C and the kernel parameter g were optimized using a fivefold grid-search optimization [32]. The range of C was set as 10 N (− 10 ≤ N ≤ 10, with a step size of 0.1), and that of g was 10 M (− 15 ≤ M ≤ 5, with a step size of 0.1). The best penalty parameters were determined according to the highest cross-validation accuracy of the training set. The classification performances of the SVM models were evaluated using the average accuracy, micro F1 value, and macro F1 value of the testing set [33]. LIBSVM 3.23 [34] was used to construct models and is available at https://www.csie.ntu.edu.tw/~cjlin/libsvm/index.html. Data analysis and model construction were conducted in MATLAB 2016b (MathWorks, Natick, MA, USA).

Results

Spectral reflectance signatures of leaves of different levels

There existed some differences of spectral reflectance among leaves of 5 levels in 3 growth stages, but not evident (Fig. 2). In the visible region, the average spectral reflectance of infected leaves was higher than the healthy ones, the value of spectral reflectance increased with disease severity deepening; while in the near-infrared region, the spectral reflectance of diseased leaves was lower than that of healthy ones, the value of spectral reflectance increased with the severity of disease deepening, and the curves among samples of different grades tended to be parallel. Different rice leaf blast severity had a diverse effect on both visible and near-infrared bands.

Fig. 2
figure 2

Raw spectral reflectance of leaf samples exhibiting different levels of disease severity at three growth stages. ac Jointing (a), booting (b), and heading (c) stages in 2019. df Jointing (d), booting (e), and heading (f) stages in 2021

Fig. 3
figure 3

SRR of leaf samples exhibiting different levels of disease severity at three growth stages. ac Jointing (a), booting (b), and heading (c) stages in 2019. df Jointing (d), booting (e), and heading (f) stages in 2021

Spectral characterization of SRR

Differences in SRR were significant among samples at different levels of disease severity (Fig. 3). In healthy leaves, the SRR curve was approximately a straight line, with a value of 1 observed across the entire spectral region. In diseased leaves, the most distinct differences in the visible region were centered at approximately 491 nm and 667 nm regardless of growth stage or year. The value of SRR in the vicinity of these troughs decreased as disease severity increased. In the near-infrared region, the SRR curves tended to coincide, with no obvious differences among leaves at different disease levels. SRR curve profiles were similar at all three growth stages in both years, whereas the SRR values were unequal.

Assessment of rice leaf blast severity over multiple growth stages

The full-spectrum-based SVM models performed well for assessing rice leaf blast severity over multiple growth stages, as well as the SPA-SVM models (Table 2). Average accuracies in both years exceeded 90%, and micro and macro F1 scores were around 0.8. All misclassifications occurred between adjacent disease levels (Table 3). The performances of the full-spectrum-based SVM models were a little better than the SPA-SVM models (Table. 3).

Table 2 Model parameters and performances for SVM models throughout multiple growth stages
Table 3 Predictions of SVM models throughout multiple growth stages

Generalizability of the classification model

Generalizability of the SRR–SVM model was evaluated by analyzing the performance of a 2019–2021 combined model. The training set comprised all samples acquired in 2019, and the testing set consisted of those collected in 2021. The 2019–2021 combined model performed well, although its performance was slightly worse than models covering a single year (Table 4). Most misclassifications occurred between adjacent disease levels (Table 5). Samples tended to be misclassified as level 2. The The performances of the full-spectrum-based SVM model was slightly worse than the SPA-SVM models, but not obvious.

Table 4 Model parameters and performances for the 2019–2021 combined model
Table 5 Predictions of the 2019–2021 combined model

Discussion

In theory, the SRR curve for healthy leaves should have been a straight line of value 1, as no lesions were present; in fact, the curve had subtle fluctuations, possibly the result of the different proportion of veins and mesophyll between the whole leaf and our selected ROI. In general, more water, less solid matter, and less air are present in veins [35]. This unbalanced distribution of substances between veins and mesophyll may cause the average reflectance to differ between the whole leaf and the ROI, resulting in an SRR not exactly equal to 1.

In regard to diseased leaves, the most notable differences were observed at approximately 491 nm and 667 nm, which correspond to carotenoid and chlorophyll absorption bands. This result indicates that infection by rice leaf blast increased the spectral reflectance and reduced the carotenoid and chlorophyll contents of the studied leaf area [36,37,38]. The profiles of leaves at different disease levels tended to coincide in the near-infrared region, which indicates that disease severity was not a major contributor to the shape of the curve in this region—unlike the situation in the visible region. Detecting and assessing disease severity in the near-infrared region may therefore be difficult [5, 39,40,41,42].

The pure SVM classifier exploits the characteristics of hyperspectral imaging via the kernel function by combining spectral with spatial features [39]. Average accuracy reflects the average per-class effectiveness of a classifier. Micro and macro F1 values indicate the relationship between a dataset’s positive labels and those given by a classifier based respectively on sums of per-text decisions or on a per-class average [33]. In our study, most misclassifications occurred between samples at adjacent disease levels. This result may have been due to two different phenomena. First, a single leaf may have contained various forms of lesions whose areas differed from one another. Despite the identical disease level, the spectral reflectance would thus have fluctuated. Second, biological heterogeneity may have contributed to the inaccuracy of classification [43]. Different leaves may have had unequal levels of vitality; although they had the same type of lesions with similar areas, their spectral reflectance may still have been different.

Zhang et al. [39] also established a disease monitoring model for wheat Fusarium head blight covering more than one stage, but their samples were all collected within one week (3 May 2018 [at the late flowering stage] and 9 May 2018 [at the early filling stage]). In contrast, our sample collection spanned more than a month and included the period most conducive to rice leaf blast occurrence under field conditions. Zhang et al. [30] also used this method to classify rice leaf blast severity; however, they focused on a single growth stage, not multiple growth stages as in our study.

Although the performance of our method is good, some problems remain. First, the processing of hyperspectral images is still too labor intensive, hindering the inspection of large numbers of samples. Second, the experiment was conducted under a controlled environment, and the results cannot be easily extended to field conditions. In the future, we hope to resolve these two issues.

Conclusions

In this study, a SRR data analysis method was applied and full-spectrum-based SVM models were constructed to assess rice leaf blast severity over multiple growth stages. The degree of rice leaf blast severity based on the area covered by lesions relative to the whole leaf area was determined, and, from the perspective of spectral reflectance, the SRR value was found to reflect the disease level. Our results should provide a possible direction for assessing plant disease severity over multiple growth stages.