Next Article in Journal
Multi-Location-Aware Joint Optimization of Content Caching and Delivery for Backhaul-Constrained UDN
Next Article in Special Issue
A Novel Frequency Domain Impedance Sensor with a Perforated Cylinder Coaxial Design for In-Situ Measuring Soil Matric Potential
Previous Article in Journal
Physiological Arousal Quantifying Perception of Safe and Unsafe Virtual Environments by Older and Younger Adults
Previous Article in Special Issue
Mapping Tobacco Fields Using UAV RGB Images
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Non-Invasive Sensing of Nitrogen in Plant Using Digital Images and Machine Learning for Brassica Campestris ssp. Chinensis L.

School of Agriculture and Biology, Shanghai Jiao Tong University, Shanghai, Shanghai 200240, China
*
Authors to whom correspondence should be addressed.
Sensors 2019, 19(11), 2448; https://doi.org/10.3390/s19112448
Submission received: 19 April 2019 / Revised: 24 May 2019 / Accepted: 24 May 2019 / Published: 29 May 2019
(This article belongs to the Special Issue Sensors in Agriculture 2019)

Abstract

:
Monitoring plant nitrogen (N) in a timely way and accurately is critical for precision fertilization. The imaging technology based on visible light is relatively inexpensive and ubiquitous, and open-source analysis tools have proliferated. In this study, texture- and geometry-related phenotyping combined with color properties were investigated for their potential use in evaluating N in pakchoi (Brassica campestris ssp. chinensis L.). Potted pakchoi treated with four levels of N were cultivated in a greenhouse. Their top-view images were acquired using a camera at six growth stages. The corresponding plant N concentration was determined destructively. The quantitative relationships between the nitrogen nutrition index (NNI) and the image-based phenotyping features were established using the following algorithms: random forest (RF), support vector regression (SVR), and neural network (NN). The results showed the full model based on the color, texture, and geometry-related features outperforms the model based on only the color-related feature in predicting the NNI. The RF full model exhibited the most robust performance in both the seedling and harvest stages, reaching prediction accuracies of 0.823 and 0.943, respectively. The high prediction accuracy of the model allows for a low-cost, non-destructive monitoring of N in the field of precision crop management.

1. Introduction

Nitrogen (N) is one of the critical factors limiting crop nutrient and productivity and is a main environmental pollution factor in farmland [1,2]. An excessive amount of N fertilizer is often applied to ensure adequate yield and profitability from vegetable cultivation [3]; however, most of the N accumulates in the soils or is lost by runoff or lixiviation [1,4]. An accurate nutrition diagnosis and a timely and appropriate application of N fertilizer have been the focus in modern agriculture.
Greenwood et al. [5] defined the critical N concentration (Nc) as the minimal concentration of total N in shoots that produce the maximum aerial dry matter (DM). A unique critical N dilution curve (CNC) was obtained by plotting these concentrations against the accumulated shoot biomass. Many studies have been conducted on the CNC of crops such as rice, wheat, barley, and maize [6,7,8,9]. The nitrogen nutrition index (NNI), i.e., the ratio of the actual N concentration of shoot dry matter to the critical N concentration, has been an effective and established indicator of crop N status, with deviations from the optimal values of NNI = 1 indicating N deficiency (NNI < 1) or N surplus (NNI > 1) [10]. The NNI not only directly reflects the surplus/deficit state of N nutrition, but can also be used to assess N requirement. However, conventionally, the NNI has been determined based on a chemical analysis method. This method is time-consuming and labor-intensive, as the measurement requires a specific analyst and laboratory equipment to determine the actual N concentration.
Nutrition diagnosis is an important part of the scientific fertilization of crops. Recently, significant progress has been made in evaluating N nutrition status through alternative non-destructive methods. For example, the leaf chlorophyll content has been correlated to leaf N content [11]; usually, chlorophyll meters, such as the soil plant analysis development (SPAD), have been used to diagnose N status [12,13,14]. However, this has not been extensively applied to N management of crops, largely because of the lack of sensitivity and specificity, the intense sampling effort required, and the lack of generalized relationship with actual N fertilizer requirements. The spectral remote-sensing analysis technology has been significantly developed for the large-scale monitoring of plant nutrition [15,16]. However, it is difficult to capture and quantify micro-symptoms using a hyper-spectrometer [17]. Additionally, the data processing and computation processes are challenging [18], restricting its application. Chlorophyll fluorescence technology based on the detection of both chlorophyll and flavonols has been also reported to evaluate the plant N nutrition status recently [19,20,21]. For example, Padilla et al. [22] reported strong relationships between three fluorescence indices (leaf chlorophyll, flavonols, and N balance index) and the N content in cucumber; Similarly, Agati et al. [23] found leaf N percent was strongly correlated to flavonols and N balance index in white head cabbage. However, the N nutrition detection using this technology is limited because of the high cost of fluorescence-based sensors.
The imaging technology based on visible light which is rapid, non-destructive, repetitive and relatively inexpensive, compared with optical techniques mentioned above, provides an approach to non-invasive sensing of nitrogen in plant. With the development of digital cameras and image-processing technology, they have been used in many fields such as in plant nutrition research. For example, various studies have reported the discrimination of plant mineral nutrient status based on imaging technology and plant phenotypic characteristics [24,25,26]. Many spectral indices in the visible region have been proposed for segmenting crop canopy images, specifically oriented towards green segmentation. Visible spectral-index based indices, including excess green index (ExG), excess red index (ExR), color index of vegetation extraction (CIVE), excess green minus excess red index (ExGR), and vegetative index (VEG) [27,28,29,30,31]. ExG, ExGR, CIVE and VEG also have been applied under a combined form in Guijarro et al. (2011) gaining in performance with respect to their individual application [32]. All these approaches need to fix a threshold for final segmentation. The ExG index (2G-R-B), which increases G value and decreases R and B values, achieved the best accuracy in the vegetation extraction [33,34]. The ExG has been most commonly used to segmentation the vegetation from the background.
The goal of plant imaging and analysis is to measure the physiological, growth, development, and other phenotypic properties of plants through automated processes. Many of the technologies developed for image processing and analysis can be applied to plant phenotyping [18,35,36]. The phenotypic traits of plants, such as the color and morphology of the leaf, help indicate the plant nutrient and health status, which is closely related to the plant N content. Under N deficiency, plants appear to be weak and lack vigor and have fewer blades and smaller leaf area and lower leaf perimeter. Moreover, the leaf color becomes light green and chlorotic. Under N surplus, the leaves become dark green and exhibit hypertrophic and elongated internodes. The phenotyping based on imaging technology has been employed as an alternative method to evaluate plant N nutrition, but most research was only focused on color traits [37,38].
Machine learning (ML) has a good performance in efficiently discovering patterns and governing discovery from large datasets by simultaneously considering a combination of factors [39]. This is particularly useful in the case of plant growth development, where it is challenging to efficiently model the holistic effect of genetic, physiological, phenotypic, agronomic, meteorological, and human factor features on the plant. ML technology has been applied to the identification [40,41], classification [42,43], quantification [44,45], and prediction [46,47] of stress phenotyping in plants. In summary, ML approaches are typically useful in situations where large amounts of data are available, relating inputs (e.g., phenotypic data) to output quantities of interest (e.g., NNI).
Pakchoi (Brassica campestris ssp. chinensis L.) is one of the most popular vegetables, cultivated over a wide area from the northern to southern regions of China. The residual soil N in pakchoi production has been reported to be high enough to avoid the requirement of additional N in the subsequent season [4]. In the present study, an industrial camera was used in the visible light range to track the growth and N status of pakchoi under different N application rates. The images of pakchoi were captured from the top view, and the information in the two-dimensional images was quantified. The phenotypic features (color, texture, and morphology-related traits) were then extracted. An NNI quantitative evaluation model based on phenotyping was developed using three machine learning algorithms: random forest (RF), support vector regression (SVR) and neural network (NN). This study is expected to contribute toward a non-destructive, easy, low-cost diagnosis of plant N.

2. Materials and Methods

2.1. Experimental Design

The experiment was carried out in a glass greenhouse at the School of Agriculture and Biology, Shanghai Jiao Tong University, China. The pakchoi (cv. Hua wang) were cultivated in a substrate containing available N (332 mg·k−1), phosphorus (1.24 mg·kg−1), potassium (118 mg·kg−1), and organic matter (270.3 g·k−1). The seeds were sowed in a plug tray on 18 November 2017. After a nursing of 18 days, the seedlings were transplanted to pots (volume of 1.47 L) with one plant per pot. The N treatments (CK, T1, T2, and T3 corresponding to N levels of 0, 0.134, 0.163, and 0.191 g N·pot−1, respectively) were applied to each pot after one week of transplanting. The T3 treatment was based on the conventional N application rate. Three blocks were considered with 20 repetitions per block for 240 plants. Urea (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China) was chosen as the N fertilizer. The urea was divided into six parts and applied every seven days. KH2PO4 (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China) was selected as the phosphate and potassium fertilizer. The dosages of P and K in each treatment were the same, and the additive amount was 0.4613 g of KH2PO4 per pot. The substrate water content was controlled at a maximum water holding capacity of 75 ± 5% using the weighing method. The images and plant tissue were collected at different growth stages: G0, G1, G2, G3, G4, G5, and G6 corresponding to 0, 7, 14, 21, 28, 35, and 42 days after the first N application, respectively.
The greenhouse environmental data were monitored every five minutes using an automatic data logging system (PM-11 Phytomonitor, Bio Instruments S.R.L., Chisinau, Moldova). During the experimental period, the air temperature ranged from −0.70 to 37.95 °C with an average of 13.88 °C. The average relative humidity was 86.4%, reaching a maximum of 99.2% and a minimum of 29.5%. The mean solar radiation in the greenhouse was 1.69 MJ·m−2·day−1.

2.2. Image Acquisition and Analysis

A self-made platform, i.e., a sealed box (80 × 80 × 80 cm3), with a set of camera and supplement light was used for image acquisition (Figure 1). An industrial camera (MV-EM1400C, MicroVision, Shaanxi, China) was mounted at the top center of the box, and a lens with a 12 mm focal length (M1214-MP2, MicroVision, Shaanxi, China) was implemented. Ring-shaped light emitting diodes (LEDs) (illumination: 6341 lux, the correlated color temperature (CCT): 6138K) as the sole light source were mounted on top of the box and centered on the camera. The pakchoi were sent to the platform one by one, and their images were taken from the top view. The aperture and exposure time of the camera were set to F16 and 0.13 s, respectively, throughout the experiment. We collected 29 plant images before N treatment. After N application, the images were acquired from G1 to G6 growth periods with 13–16 replicates for each nitrogen level in a given period. As a result, the total of the plant images collected was 382. The images were stored in an uncompressed PNG format to avoid color artifacts due to compression algorithms.
The images analysis was performed using the OpenCV (3.4.4 version) and Python language (3.6.1). The details are given in the supplementary material section. The image processing included the computation of excess green index (ExG) and grayscale [48,49]. Figure 2 shows the process flow, and the details include: (1) ExG calculation: the original images were transformed by using 2G-R-B, and the two thresholds (where 40 identified the minimum value and 200 the maximum value) were set to identify the green part of the images (including plant and the green area of background). (2) Grayscale processing: the original images were pretreated by graying, and then the threshold value segmentation was used for removing the high brightness area. The grayscale value was set as 240. (3) Intersection calculation: we take the intersection of the mask obtained by the two operations above, and then the noise (small size) was eliminated based on the mathematical morphological open operation. (4) Denoising: the operations of denoising were done by using OpenCV. Removing objects smaller than the one tenth of the mask area was to remove the residual; filling contiguous holes smaller than one-twentieth of the mask area was to restore leaf veins deleted. Hence, the final images were acquired, and they are shown in Figure 3.
An extensive list of phenotypic features, including color, texture, and geometry, were extracted. The extraction of the color features involved the transformation of RGB (Red, Green, Blue), LAB (L is luminosity, A is the range from magenta to green, and B is the range from yellow to blue, and HSV ( Hue, Saturation, Value) color spaces. The texture attributes were extracted based on the grey co-occurrence matrix algorithm. The equations used were obtained from the study by Haralick and Shanmugam [50] and are described in detail in the supplementary material section. The geometrical features, such as the convex hull and boundary box, were extracted based on the plant contour. Table 1 lists the descriptions of the phenotypic features.

2.3. Yield and Quality Measurement

The fresh weight and quality, i.e., chlorophyll, flavonoid, nitrate, and soluble protein, were measured at the last harvesting, with data representing the mean of three replicates (three plants per replication) per treatment.
No. 2 leaves counted from the tip of the shoots were chosen to measure the quality traits. Dualex SCIENTIFIC+TM (FORCE-A, Orsay, France) was used for the chlorophyll and epidermal flavonoid measurements. The chlorophyll was used as given by the device because it was calibrated in μg·cm−2 units. The absorbance in the ultraviolet (UV) region at 375 nm due to the presence of flavonol in the epidermis was used as given by the device without transformation. The soluble protein content was assayed using the Coomassie brilliant blue method, whereas the nitrate content was measured based on the method given by Xiong et al. [51].

2.4. Nitrogen Concentration Determination

The fresh shoot samples were heated at 105 °C for 20 min and dried at 75 °C for 72 h in an air-dry oven (DHG-9030A, Hangzhou, China). The dried samples were ground and sieved (60 mesh), and the nitrogen concentration was measured using Elementar (ELIII, Hanau, Germany).

2.5. Nitrogen Nutrition Index (NNI) Calculation

The data were analyzed to determine Nc based on the method proposed by Justes et al. [52]. First, the analysis of variance (ANOVA, SPSS-16 software package) was used to identify the data points for which N does not limit growth (non-N-limiting) or when it is not in excess (N-limiting) from the experimental data. The N-limiting growth treatment is defined as a treatment in which a supplement of N application leads to a significant increase in the shoot biomass. The non-N-limiting growth treatment is defined as a treatment in which a supplement of N application does not lead to an increase in the shoot biomass. The regression between the shoot biomass (g·plant−1) and the N concentration (mg·g−1 DM) was conducted with the data obtained from the N-limiting growth treatments. The Nc value at the sampling point is calculated using the corresponding shoot biomass obtained from the non-N-limiting growth treatment. Furthermore, the NNI of the pakchoi at each sampling date was determined by dividing the total N concentration of the shoot (Nt) by Nc (NNI = Nt/Nc) based on a previous report on corn [53].

2.6. Model Development

2.6.1. Feature Selection

The feature values were normalized using the SPSS 16.0 software. A one-way ANOVA was applied to screen the features acting as an optimal set of explanatory variables for model development. Features with P < 0.05 (Duncan method) at all the sampling dates were sent to a feature set to develop the model.

2.6.2. Models for Predicting Plant N Nutrition

Based on the screened phenotypic features, three models, namely the random forests (RF), support vector regression (SVR), and neural network (NN), were developed to quantitatively predict the NNI of the pakchoi. For the model development, we referred to the study by Guo et al. [43] with some modification. The three modeling algorithms were executed using the randomForest, nnet, and e1071 packages in R language (release 3.4.1), respectively. The RF model was executed using the randomForest package. The number of trees (ntree) and the number of features randomly sampled as candidates at each split (mtry) were used to find the best feature. In this study, the RF model was trained with ntree as 300 and mtry as 2, 5, and 8. For the SVR, we used the e1071 R package, which provides functionalities to use the libsvm library. The SVR model was trained with a kernel parameter C (from 0.00390625, 0.0078125, 0.015625, 0.03125, 0.0625, 0.125, 0.25, 0.5, 1, 2, 4, 8, 16, 32, 64, 128 and 256) and a regularization parameter gamma (from 0.00390625, 0.0078125, 0.015625, 0.03125, 0.0625, 0.125, 0.25, 0.5, 1, 2, 4, 8, 16, 32, 64, 128 and 256) in this study. The best combination of C and gamma leading to the highest prediction accuracy was chosen. For the NN, a nnet package was used to train the single-hidden-layer feed-forward neural network. Two main parameters, namely the decay and size, were tuned for the NN model in R. In this study, the decay was tuned from 0, 0.1, to 0.01, and the size was tuned from 2, 5, to 9.
The total number of data samples in the dataset was 382. The dataset was randomly divided into a training set (75% of data) and a testing set (25% of data). The training data set was used for model development. The models were developed using the 10-fold cross-validation method. Among the training dataset, 10% of the data were used as validation in each cross-validation step. The root-mean-square error (RMSE) was used to select the optimal model.
The contribution weights of each feature to the regression model was also present. we chose “%IncMSE” (an increase in the mean squared error) to represent the criteria of relative importance in the RF model. The SVR and NN algorithms provide functionalities to use the corresponding library to measure the feature contribution of the models.

2.6.3. Model Validation

To evaluate the performance of the regression models, we predicted the NNI for the testing set using the corresponding model. The actual NNI was measured destructively using Elementar. The prediction accuracy of the model was assessed in terms of the RMSE, adjusted determination coefficient (R2), and mean absolute error (MAE).

2.7. Model Evaluation in Different Scenarios

To investigate the robustness and applicability of the three models under different conditions, the test dataset was reorganized into different scenarios, different growth stages (seedling stage and harvest period), and N nutrition status (N excessive or N deficiency). The model performances in these scenarios were evaluated. The simulation values were obtained using the predictive models, and the coincidence degree was analyzed using the linear regression method of SPSS 16.0. The relationship between the measured NNI and the simulated NNI was assessed based on the criteria: (1) adjusted determination coefficient (R2), i.e., the percentage of variance of NNI of the models; (2) relative standard error (RE), i.e., the ratio of the standard error of regression estimate to the mean of the actual value; (3) accuracy, i.e., the linear correlation coefficient between the simulated and actual values [54].

3. Results

3.1. Yield and Quality

After 42 days of cultivation under different N levels, the aerial parts of the pakchoi exhibited obvious growth differences (Table 2). The fresh weight significantly increased with N application. However, the pakchoi supplied with higher N had lower fresh weight under tested N levels. The phytochemicals in the leaf were also affected significantly (p < 0.05) by N application. N fertilization significantly increased the chlorophyll content and decreased the flavonoid content; however, no differences were found among the tested N treatments. The availability of N had a prominent effect on the nutrition quality. At harvesting, the nitrate content increased with the N application, and the degree of elevation is positively correlated to the nitrogen level. Similarly, the soluble protein content increased with the N application; however, the content after T1 treatment was significantly higher than those after the other two treatments.

3.2. Accumulation of Biomass and N Concentration

The accumulation of biomass and N content in the shoots of the pakchoi was measured. Table 3 lists the results. The biomass increased continuously with the extension of the growth cycle; however, it was regulated by the nitrogen application rate. During the 7–28 days after treatment, the T3-treated pakchoi accumulated the highest biomass; until the 35th day, the T2-treated pakchoi had the highest biomass; on the 42nd day, the T1-treated pakchoi had the highest biomass. Simultaneously, the response of plant N concentration to N application was observed on the 7th day. However, the N concentration did not exhibit any significant difference between the N treatments until the 28th day, and it was always higher than that in the blank control. On the 28th day, the N concentration positively correlated to the nitrogen application rate. On the 35th and 42nd days, the N concentration had no significant difference between T2 and T3; however, it was higher than that in T1.

3.3. Nitrogen Nutrition Index

Under the tested N application rates, the shoot biomass in the T1-treated pakchoi was lower than that in the T3-treated pakchoi during the previous 28 days. Therefore, T1 belonged to the N-limiting growth treatment, and the relationship between plant N concentration and the shoot biomass was established with the data in T1. The Nc value at the sampling point was calculated using the corresponding shoot biomass value of the T1 or T2-treated pakchoi, and the Nc values were 56.08, 63.36, 69.16, 72.14, 76.44, and 79.46 g/kg. Table 4 lists the calculated NNI of the pakchoi at each sampling date.

3.4. Feature Selection

In order to increase the efficiency of model development, phenotypic features selection is necessary to identify remarkable features which are relevant to plant N concentration. The significance of 65 extracted phenotypic features on classifying N application rates were investigated by using ANOVA (Figure 4). For better illustration, the p value was transformed into −log10 (p). There were 33, 29, 44, 59, 57, and 60 traits with p < 0.05 (i.e., −log10 (p) > 1.301) at corresponding sampling date, respectively. Finally, 23 phenotypic traits with P < 0.05 were selected at the six growth stages (G1–G6) to develop a model. The selected features contained 16 color-related (numbered as 1, 3, 6, 8, 11, 13, 16, 18, 26, 28, 31, 33, 36, 38, 41 and 43 in Table 1 respectively), three texture-related (numbered as 48, 48 and 51 in Table 1 respectively), and four geometry-related features (numbered as 52, 56, 61 and 62 in Table 1 respectively), and they are marked with asterisks in Table 1.

3.5. Model Development

The models were constructed to quantify the ability of image-based features in statistically predicting the NNI. We combined the NNI measurements with the phenotypic features and then divided them into a training dataset and a test dataset. A model was trained on the training dataset and then applied to the test dataset to predict the NNI. The models were developed using three widely used machine learning methods, and the RMSE was used to select the optimal model with the lowest values. The RF model was developed with ntree as 300 and mtry as 2. The SVR model was trained with a kernel parameter cost of 16 and a regularization parameter gamma of 0.03125. In the NN model, the decay and size were tuned to 0.01 and 5, respectively. Cross-validation results of three modeling algorithms applied to the training set, and the values of RMSE ± SD were 0.083 ± 0.008, 0.076 ± 0.004 and 0.085 ± 0.010 for RF, SVR and NN, respectively. The results show that the SVR model exhibits the best predictive ability for NNI.

3.6. Model Validation

The relationship between the simulated NNI (predicted using the regression models) and the measured NNI was assessed (Figure 5). The goodness of fit was quantified by R2, whereas the predictive ability was evaluated in terms of the RMSE and MAE. The R2 values of the three models reached approximately 0.900, showing an excellent goodness of fit. The RMSEs of the RF, SVR, and NN models were 0.082, 0.073, and 0.086, respectively, whereas the MAE values were 0.056, 0.045, and 0.061, respectively, indicating the effectiveness of predicting the plant NNI based on the phenotypic features. Among the three modeling algorithms, the SVR exhibited the lowest RMSE and MAE values, indicating that the SVR model predicted the NNI most accurately.

3.7. Model Evaluation

3.7.1. Model Evaluation under Different Plant N Nutrition Status

To check whether our models can be generalized across different scenarios, we applied the models under N surplus and deficiency conditions to predict the NNI. The R2, RE, and accuracy were selected as the evaluation indicators. Table 5 lists the evaluation results. Under N surplus condition, the R2 and accuracy of the three models are very low; however, the RE is very low. The performances of the models in predicting excessive N in the pakchoi were poor. Under N deficiency, the R2 of the three models crossed 0.90, and the accuracy reached approximately 0.95. However, the RE value of only the RF model was lower than 10%, indicating that the performance of this model was the best.

3.7.2. Model Evaluation under Different Growth Stages of Pakchoi

We observed the model fitness under the seedling stage and harvest period simultaneously. The results (Table 5) showed the good predictive ability of the three models regardless of the growth stage. During the seedling periods, the R2 values of the three models ranged from 0.674 to 0.795, RE was lower than 10%, and accuracy was higher than 0.75. This shows that the prediction models can be used to guide the topdressing of N during the pakchoi growth cycle. At harvest, the R2 values of the three models reached above 0.95, RE was lower than 6.5%, and accuracy was higher than 0.85, once again exhibiting an excellent prediction performance. The precise prediction at harvest can help assess the N uptake by the current crops. Considering the above three evaluation factors, the RF model performed best in predicting the NNI regardless of the stage (seedling stage or harvest stage).

3.8. Relative Importance of Phenotypic Traits in Predicting Plant NNI

As mentioned previously, the image-based features can be broadly classified into three categories: color-, texture-, and morphology-related traits. For each type of trait, we constructed a degenerate model using the corresponding traits as the predictors and compared the capability of each trait in predicting the NNI. The developments of three degenerate models were just based on the selected features (marked with asterisks in Table 1). Figure 6 shows the results. The color-related traits exhibited the best predictive performance among the three categories; however, they showed slightly lower performance than the full model in which all the traits were considered. Interestingly, the predictability of the other types of traits (such as the texture- and morphology-related traits) was substantial, indicating that these traits may act as unforeseen factors in NNI prediction.
We investigated the contribution of each feature in predicting the NNI using the full model (Figure 7). In the RF model, the contribution of a feature was determined as an increase in the prediction error (%IncMSE) when phenotypic data for this feature are permuted, thus indicating the contribution of the feature after considering its intercorrelation in the model. We found that the top five most important traits in the RF model in predicting NNI included both color and texture-related features. In the SVR and NN models, the relative importance of each trait was provided in the algorithms themselves. We found that the top five most important traits in predicting NNI only included color-related traits in the SVR model and color- and morphological-related traits in the NN model.

4. Discussion

4.1. Strategies for Integral Control of Water and Fertilization for Crops to Improve N Absorption and Utilization

Crop management practices such as the application of N fertilizer and alternative irrigation systems are often practiced to improve N absorption in crops. Management decisions, such as the appropriate selection of fertilization method and nitrogen application rate, are vital for improving the yield and quality in vegetable production systems. The results of this study showed that the yield and soluble protein content increased, whereas the nitrate content decreased under T1 treatment, indicating that the optimal fertilization strategy of low amount and high frequency could help reduce the nitrogen fertilizer input while ensuring the yield and quality of pakchoi. In a conventional fertilization method, a basal fertilizer was employed; however, the topdressing was ignored, leading to a significant amount of residual N in the soil [4]. The conventional strategies for N application increase the input and the loss of N, and they can cause nitrate pollution in groundwater and farmland [2,55,56], which is not favorable to a sustainable agricultural production.
The plant N concentration in field crops has been related to the aerial biomass as follows: N c = a D M b , the parameter a represents the N concentration in the shoot biomass (t·ha−1), and the parameter b represents the coefficient of dilution describing the relationship between N concentration and shoot biomass [5,10]. Various studies have indicated that plant N concentration decreases with the growth cycle. However, the plant N concentration in pakchoi remained high and even increased with the accumulation of shoot biomass, probably because of the fertilization strategy of low amount and high frequency in the pot experiment. This fertilization strategy might promote N absorption and utilization, leading to a faster accumulation of N than shoot biomass. Therefore, the relationship between Nc and the aerial biomass is related to the N strategy. Different critical nitrogen concentration curves should be established for different nitrogen fertilization strategies applied to the crop. These results reveal that topdressing could promote the absorption of N fertilizer by plants and contribute to the reduction in N fertilization.

4.2. Accuracy Comparison of Full Model with the Color Model in Predicting Plant Nitrogen

Three types of phenotypic features (color, texture, and geometry-related features) based on visible light imaging were extracted, and the capability of each feature in predicting the NNI was compared. The color-related traits showed the best predictive performance among the three categories for NNI prediction, which might be attributed that the number of color features is 4 times bigger than the number of textures and geometry (16 features vs. 3 features). However, our result was in agreement with Rorie et al. [57] who found a close relationship between a dark green color index and leaf N concentration. The association between the color features and leaf N is mainly due to phytochemicals such as chlorophyll. Thus, leaf N prediction can be performed by non-destructive chlorophyll measurement. However, chlorophyll meters only provide a single point measurement; they cannot work at high resolutions and cannot provide proper information about the spatial structures of the product [48]. In addition, our results showed that the texture-related and morphology-related traits exhibited a good NNI predictability, and a significant difference was observed (P < 0.05) in phenotypic features including color, texture, and morphology. This indicates that there exist limitations in the conventional evaluation of plant nitrogen nutrition status based on only the leaf color features, and that the ability of the texture- and geometry-related traits to predict plant N cannot be ignored.
In this study, the color, texture, and morphological-related features were used as input parameters. RF, SVR, and NN models were developed to evaluate the NNI of pakchoi. The R2 values of the three models reached approximately 0.900, and the RMSE value was lower than 0.1. The results revealed that phenotypic imaging combined with a machine learning algorithm can be used to effectively evaluate the nitrogen nutrition status of plants.

4.3. Random Forest (RF) Model based on Phenotyping Is the Most Robust in Predicting NNI

Many algorithms exist in the field of machine learning, each having different principles. Thus, the contribution of the same phenotypic feature in the different algorithms can be different. In the top five most contributing features, the RF model included H_median, ASM, H_mean, energy, and b_mean; the SVR model included H_mean, H_median, b_median, b_mean, and G_mean; the NN model included r, equivalent_diameter, H_mean, conture_area, and H_media. Different algorithms have different dependences on the same phenotypic features, resulting in the local adaptability of each algorithm. Therefore, to select an appropriate NNI model under different scenarios, such as growing periods and soil fertility, it is necessary to determine the robustness and applicability of each algorithm.
In our research, the evaluation effects of the three models were compared under different conditions. The results showed that none of the models could effectively predict the nutritional status when the plant N is excessive, indicating that camera vision in the visible range has a poor resolution when the plant N concentration is close to the normal range. Our results are in agreement with those of Tei et al. [58] who concluded that plants with surplus N reflect less visible light than N-deficient plants. Plateau responses occurred at relatively high N contents, suggesting saturation. However, it is unclear under what exact conditions saturation would occur [59,60]; this requires further elucidation. It is necessary to choose other optical sensors or non-destructive testing techniques to evaluate the N surplus status of a plant. For example, Padilla et al. [22] found that chlorophyll readings and canopy reflectance indices could sensitively respond to the absorption of N by muskmelon. Under N-deficit conditions, the RF model performed best with higher R2 and lower RE values. We assessed the NNI prediction models throughout the entire growth cycle of pakchoi. The precise prediction of NNI at the seedling stage indicated that the prediction models can be used to guide N topdressing. The precise prediction of NNI at the harvest stage is beneficial for assessing the N uptake and calculating the N consumption by the current crops. The RF model exhibited outstanding robustness and applicability under different scenarios and thus can be used in practice.

5. Conclusions

Twenty-three phenotypic features related to plant N were screened, and a quantitative relationship between the NNI and the image-based phenotypic features was established using the following algorithms: random forest (RF), support vector regression (SVR), and neural network (NN). The three models exhibited excellent fitting and predictive ability. The RF full model was more robust, with NNI prediction accuracies reaching 0.823 and 0.943 at the seedling and harvest stages, respectively. The highly accurate prediction of NNI based on this model allows a rapid and low-cost method to diagnose plant N nutrition, relieving the phenotyping bottleneck in plant N measurement in the field of precision crop management.

Supplementary Materials

The following are available online at https://www.mdpi.com/1424-8220/19/11/2448/s1.

Author Contributions

Data curation, X.X.; Funding acquisition, J.Z., L.C. and D.H.; Methodology, J.Z. and D.G.; Supervision, L.C. and D.H.; Writing–original draft, X.X.; Writing–review and editing, X.X.

Funding

This work was funded by the National Natural Science Foundation of China (NSFC) (Project No. 31601214), Shanghai Engineering Research Center of Efficient Irrigation (Project No. 17DZ2252300), Agricultural Commission of Shanghai Municipality, China 2017 (1–3) and 2017 (3–4).

Acknowledgments

We are grateful to Shuqi Guo and Muhammad Bilal from School of Life Sciences and Biotechnology, Shanghai Jiao Tong University for providing some advice in the preparation of the manuscript. We are thankful to Nanjing AgriBrain Big Data Technology Co., Ltd (Nanjing, China) for image processing and phenotypic features extraction.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yan, X.; Ti, C.; Vitousek, P.; Chen, D.; Leip, A.; Cai, Z.; Zhu, Z. Fertilizer nitrogen recovery efficiencies in crop production systems of China with and without consideration of the residual effect of nitrogen. Environ. Res. Lett. 2014, 9, 095002. [Google Scholar] [CrossRef] [Green Version]
  2. Nachmansohn, J. Minimized nutrient leaching through fertilizer management. Master’s Thesis, Swedish University of Agricultural Sciences, Uppsala, Swedish, 2016. [Google Scholar]
  3. Chen, Q.; Zhang, X.; Zhang, H.; Christie, P.; Li, X.; Horlacher, D.; Liebig, H.P. Evaluation of current fertilizer practice and soil fertility in vegetable production in the Beijing region. Nutr. Cycl. Agroecosyst. 2004, 69, 51–58. [Google Scholar] [CrossRef] [Green Version]
  4. Gao, N.; Liu, Y.; Wu, H.; Zhang, P.; Yua, N.; Zhang, Y.; Zou, H.; Fan, Q.; Zhang, Y. Interactive effects of irrigation and nitrogen fertilizer on yield, nitrogen uptake, and recovery of two successive Chinese cabbage crops as assessed using 15 N isotope. Sci. Hortic. 2017, 215, 117–125. [Google Scholar] [CrossRef]
  5. Greenwood, D.J.; Lemaire, G.; Gosse, G.; Cruz, P.C.S.; Neeteson, J.J. Decline in percentage N of C3 and C4 crops with increasing plant mass. Ann. Bot. 1990, 66, 425–436. [Google Scholar] [CrossRef]
  6. He, Z.; Qiu, X.; Ata-Ul-karim, S.T.; Li, Y.; Liu, X.; Cao, Q.; Zhu, Y.; Cao, W.; Tang, L. Development of a critical nitrogen dilution curve of double cropping rice in south China. Front. Plant Sci. 2017, 8, 638. [Google Scholar] [CrossRef] [PubMed]
  7. Sedlář, O.; Balík, J.; Černý, J.; Kulhánek, M.; Vašák, F. Relation between nitrogen nutrition index and production of spring malting barley. Int. J. Plant Prod. 2017, 379–388. [Google Scholar] [CrossRef]
  8. Yin, M.; Li, Y.; Xu, L.; Shen, S.; Fang, H. Nutrition diagnosis for ditrogen in winter wheat based on critical nitrogen dilution curves. Crop Sci. 2017, 58, 416–425. [Google Scholar] [CrossRef]
  9. Zhao, B.; Ata-Ul-Karim, S.T.; Liu, Z.; Ning, D.; Xiao, J.; Liu, Z.; Nan, J.; Duan, A. Development of a critical nitrogen dilution curve based on leaf dry matter for summer maize. Field Crop. Res. 2017, 208, 60–68. [Google Scholar] [CrossRef]
  10. Lemaire, G.; Gastal, F. N uptake and distribution in plant Canopies; Springer: Berlin/Heidelberg, Germany, 1997; pp. 3–43. [Google Scholar]
  11. Fox, R.H.; Walthall, C.L. Crop Monitoring technologies to assess nitrogen status. Nitrogen Agric. Syst. 2008, nitrogeninagric, 647–674. [Google Scholar]
  12. Ata-Ul-karim, S.T.; Cao, Q.; Qiang, C.; Yan, Z.; Liang, T.; Asif, R.M.I.; Weixing, C. Non-destructive assessment of plant nitrogen parameters using leaf chlorophyll measurements in rice. Front. Plant Sci. 2016, 7, 1829. [Google Scholar] [CrossRef]
  13. Ravier, C.; Quemada, M.; Jeuffroy, M.H. Use of a chlorophyll meter to assess nitrogen nutrition index during the growth cycle in winter wheat. Field Crop. Res. 2017, 214, 73–82. [Google Scholar] [CrossRef]
  14. Yang, H.; Yang, J.P.; Lv, Y.M.; He, J.J. Replacing the nitrogen nutrition index by SPAD values and analysis of effect factors for estimating rice nitrogen status. Agron. J. 2018, 110, 545–554. [Google Scholar] [CrossRef]
  15. Nigon, T.J.; Mulla, D.J.; Rosen, C.J.; Cohen, Y.; Alchanatis, V.; Knight, J.; Rud, R. Hyperspectral aerial imagery for detecting nitrogen stress in two potato cultivars. Comput. Electron. Agr. 2015, 112, 36–46. [Google Scholar] [CrossRef]
  16. Feng, M.; Zhao, J.; Yang, W.; Wang, C.; Zhang, M.; Xiao, L.; Ding, G. Evaluating winter wheat (Triticum aestivum L.) nitrogen status with canopy spectrum reflectance and multiple statistical analysis. Spectrosc. Lett. 2016, 49, 507–513. [Google Scholar] [CrossRef]
  17. Chen, L.; Lin, L.; Cai, G.; Sun, Y.; Huang, T.; Wang, K.; Deng, J. Identification of nitrogen, phosphorus, and potassium deficiencies in rice based on static scanning technology and hierarchical identification method. PLoS One 2014, 9, e113200. [Google Scholar] [CrossRef]
  18. Fahlgren, N.; Gehan, M.A.; Baxter, I. Lights, camera, action: High-throughput plant phenotyping is ready for a close-up. Curr. Opin. Plant Biol. 2015, 24, 93–99. [Google Scholar] [CrossRef]
  19. Zhang, Y.; Tremblay, N.; Zhu, J. A first comparison of Multiplex® for the assessment of corn nitrogen status. J. Food. Agric. Environ. 2012, 10, 1008–1016. [Google Scholar]
  20. Agati, G.; Foschi, L.; Guglielminetti, L.; Volterrani, M.; Grossi, N.; Cerovic, Z.G. Fluorescence-based versus reflectance proximal sensing of nitrogen content in Paspalum vaginatum and Zoysia matrella turfgrasses. Eur. J. Agron. 2013, 45, 39–51. [Google Scholar] [CrossRef]
  21. Agati, G.; Foschi, L.; Grossi, N.; Volterrani, M. In field non-invasive sensing of the nitrogen status in hybrid bermudagrass (Cynodon dactylon × C. transvaalensis Burtt Davy) by a fluorescence-based method. Eur. J. Agron. 2015, 63, 89–96. [Google Scholar] [CrossRef]
  22. Padilla, F.M.; Peña-Fleitas, M.T.; Gallardo, M.; Thompson, R.B. Evaluation of optical sensor measurements of canopy reflectance and of leaf flavonols and chlorophyll contents to assess crop nitrogen status of muskmelon. Eur. J. Agron. 2014, 58, 39–52. [Google Scholar] [CrossRef]
  23. Agati, G.; Tuccio, L.; Kusznierewicz, B.; Chmiel, T.; Bartoszek, A.; Kowalski, A.; Grzegorzewska, A.; Kosson, R.; Kaniszewski, S. Nondestructive optical sensing of flavonols and chlorophyll in white head cabbage (Brassica oleracea L. var. capitata subvar. alba) grown under different nitrogen regimens. J. Agric. Food Chem. 2015, 64, 85–94. [Google Scholar] [CrossRef]
  24. Poiré, R.; Chochois, V.; Sirault, X.R.R.; Vogel, J.P.; Furbank, R.T. Digital imaging approaches for phenotyping whole plant nitrogen and phosphorus response in Brachypodium distachyon. J. Integr. Plant Biol. 2014, 56, 781–796. [Google Scholar] [CrossRef]
  25. Baresel, J.P.; Rischbeck, P.; Hu, Y.; Kipp, S.; Gero, B.; Mistele, B.; Schmidhalter, U. Use of a digital camera as alternative method for non-destructive detection of the leaf chlorophyll content and the nitrogen nutrition status in wheat. Comput. Electron. Agr. 2017, 140, 25–33. [Google Scholar] [CrossRef]
  26. Sun, Y.; Tong, C.; He, S.; Wang, K.; Chen, L. Identification of nitrogen, phosphorus, and potassium deficiencies based on temporal dynamics of leaf morphology and color. Sustainability. 2018, 10, 762–775. [Google Scholar] [CrossRef]
  27. Guerrero, J.M.; Pajares, G.; Montalvo, M.; Romeo, J.; Guijarro, M. Support Vector Machines for crop/weeds identification in maize fields. Expert Syst. Appl. 2012, 39, 39. [Google Scholar] [CrossRef]
  28. Sonnentag, O.; Hufkens, K.; Teshera-Sternea, C.; Young, A.M.; Friedl, M.; Braswell, B.H.; Milliman, T.; O’Keefe, J.; Richardson, A.D. Digital repeat photography for phenological research in forest ecosystems. Agr. Forest. Meteorol. 2012, 152, 159–177. [Google Scholar] [CrossRef]
  29. Wang, Y.; Wang, D.; Zhang, G.; Wang, J. Estimating nitrogen status of rice using the image segmentation of G-R thresholding method. Field Crop. Res. 2013, 149, 33–39. [Google Scholar] [CrossRef]
  30. Li, J.; Shi, Y.; Veeranampalayam-Sivakumar, A.N.; Schachtman, D.P. Elucidating sorghum biomass, nitrogen and chlorophyll contents with spectral and morphological traits derived from unmanned aircraft system. Front. Plant Sci. 2018, 9, 1406. [Google Scholar] [CrossRef]
  31. Duan, L.F.; Han, J.W.; Guo, Z.L.; Tu, H.F.; Yang, P.; Zhang, D.; Fan, Y.; Chen, G.X.; Xiong, L.Z.; Dai, M.Q.; Williams, K.; Corke, F.; Doonan, J.H.; Yang, W.N. Novel digital features discriminate between drought resistant and drought sensitive rice under controlled and field conditions. Front. Plant Sci. 2018, 9, 492. [Google Scholar] [CrossRef]
  32. Guijarro, M.; Pajares, G.; Riomoros, I.; Herrera, P.J.; Burgos-Artizzu, X.P.; Ribeiro, A. Automatic segmentation of relevant textures in agricultural images. Comput. Electron. Agr. 2011, 75, 75–83. [Google Scholar] [CrossRef] [Green Version]
  33. Torres-Sánchez, J.; Pena, J.M.; De Castro, A.I.; López-Granados, F. Multi-temporal mapping of the vegetation fraction in early-season wheat fields using images from UAV. Comput. Electron. Agr. 2014, 103, 104–113. [Google Scholar] [CrossRef]
  34. Marcial-Pablo, M.D.J.; Gonzalez-Sanchez, A.; Jimenez-Jimenez, S.I.; Ontiveros-Capurata, R.E.; Ojeda-Bustamante, W. Estimation of vegetation fraction using RGB and multispectral images from UAV. Int. J. Remote Sens. 2019, 40, 420–438. [Google Scholar] [CrossRef]
  35. Gehan, M.A.; Fahlgren, N.; Abbasi, A.; Berry, J.C.; Sax, T. PlantCV v2: Image analysis software for high-throughput plant phenotyping. Peer J. 2017, 5, e4088. [Google Scholar] [CrossRef]
  36. Perez-Sanz, F.; Navarro, P.J.; Egea-Cortines, M. Plant phenomics: an overview of image acquisition technologies and image data analysis algorithms. GigaScience 2017, 6, 1–18. [Google Scholar] [CrossRef] [Green Version]
  37. Sulistyo, S.B.; Woo, W.L.; Dlay, S.; Gao, B. Building a globally optimized computational intelligent image processing algorithm for on-site nitrogen status analysis in plants. IEEE Intel. Syst. 2018. [Google Scholar] [CrossRef]
  38. Sulistyo, S.B.; Woo, W.L.; Dlay, S.S. Regularized neural networks fusion and genetic algorithm based on-field nitrogen status estimation of wheat plants. IEEE T. Ind. Inform. 2017, 13, 103–114. [Google Scholar] [CrossRef]
  39. Singh, A.; Ganapathysubramanian, B.; Singh, A.K.; Sarkar, S. Machine learning for high-throughput stress phenotyping in plants. Trends Plant Sci. 2016, 21, 110–124. [Google Scholar] [CrossRef]
  40. Alvaro, F.; Sook, Y.; Sang, K.; Dong, P. A robust deep-learning-based detector for real-time tomato plant diseases and pests recognition. Sensors 2017, 17, 2022. [Google Scholar] [CrossRef]
  41. Singh, V.; Misra, A.K. Detection of plant leaf diseases using image segmentation and soft computing techniques. Informa. Process. Agr. 2017, 4, 41–49. [Google Scholar] [CrossRef]
  42. Picon, A.; Alvarez-Gila, A.; Seitz, M.; Ortiz-Barredo, A.; Echazarra, J.; Johannes, A. Deep convolutional neural networks for mobile capture device-based crop disease classification in the wild. Comput. Electron. Agr. 2018, S0, 168169917312619. [Google Scholar] [CrossRef]
  43. Guo, D.D.; Juan, J.X.; Chang, L.Y.; Zhang, J.J.; Huang, D.F. Discrimination of plant root zone water status in greenhouse production based on phenotyping and machine learning techniques. Sci. Rep. 2017, 7, 8303. [Google Scholar] [CrossRef]
  44. Gonzaacute, J.L.; Espino-Gudiño, M.C.; Gudiño-Bazaldúa, J.; Rojas-Rentería, J.L.; Rodríguez-Hernández, V.; Castaño, V.M. Color image segmentation using perceptual spaces through applets for determining and preventing diseases in chili peppers. African J. Biotechnol. 2013, 679–688. [Google Scholar] [CrossRef]
  45. Calderón, R.; Navascortés, J.A.; Pablo, Z.T. Early detection and quantification of verticillium wilt in olive using hyperspectral and thermal imagery over large areas. Remote Sens. 2015, 7, 5584–5610. [Google Scholar] [CrossRef]
  46. Yu, X.; Liu, T.; Zheng, X.; Yang, Z.; Wang, J. Prediction of regulatory interactions in Arabidopsis using gene-expression data and support vector machines. Plant Physiol. Bioch. 2011, 49, 280–283. [Google Scholar] [CrossRef]
  47. Du, H.; Wang, J.; Hu, Z.; Yao, X.; Zhang, X. Prediction of fungicidal activities of rice blast disease based on least-squares support vector machines and project pursuit regression. J. Agr. Food Chem. 2008, 56, 10785–10792. [Google Scholar] [CrossRef]
  48. Cavallo, D.P.; Cefola, M.; Pace, B.; Logrieco, A.F.; Attolico, G. Contactless and non-destructive chlorophyll content prediction by random forest regression: A case study on fresh-cut rocket leaves. Comput. Electron. Agr. 2017, 140, 303–310. [Google Scholar] [CrossRef]
  49. Unseok, L.; Sungyul, C.; Anantrio, P.G.; Hyoungseok, K.; Hwan, K.D.; Hector, C. An automated, high-throughput plant phenotyping system using machine learning-based plant segmentation and image analysis. PLoS One 2018, 13, e0196615. [Google Scholar] [CrossRef]
  50. Haralick, R.M.; Shanmugam, K.; Dinstein, I. Textural features for image classification. IEEE Trans. Syst. Man Cybern. 1973, 6, 610–621. [Google Scholar] [CrossRef]
  51. Xiong, X.; Chang, L.Y.; Muhammad, K.; Zhang, J.J.; Huang, D.F. Alleviation of drought stress by nitrogen application in Brassica campestris ssp. Chinensis L. Agronomy 2018, 8, 66. [Google Scholar] [CrossRef]
  52. Justes, E.; Mary, B.; Meynard, J.M.; Machet, J.M.; Thelier-Huche, L. Determination of a Critical Nitrogen Dilution Curve for Winter Wheat Crops. Ann. Bot. 1994, 74, 397–407. [Google Scholar] [CrossRef]
  53. Ziadi, N.; Brassard, M.; Bélanger, G.; Cambouris, A.N.; Tremblay, N.; Nolin, M.C.; Claessens, A.; Parent, L.E. Critical nitrogen curve and nitrogen nutrition index for corn in eastern Canada. Agrono. J. 2008, 100, 271–276. [Google Scholar] [CrossRef]
  54. Deming, S.N.; Michotte, Y.; Massart, D.L.; Kaufman, L.; Vandeginste, B.G.M. Chemometrics; Elsevier: Amsterdam, The Netherlands, 1988. [Google Scholar]
  55. Min, J.; Zhao, X.; Shi, W.M.; Xing, G.X.; Zhu, Z.L. Nitrogen balance and loss in a greenhouse vegetable system in southeastern China. Pedosphere 2011, 21, 464–472. [Google Scholar] [CrossRef]
  56. Ju, M.; Zhang, H.; Shi, W. Optimizing nitrogen input to reduce nitrate leaching loss in greenhouse vegetable production. Agr. Water Manage. 2012, 111, 53–59. [Google Scholar] [CrossRef]
  57. Rorie, R.L.; Purcell, L.C.; Morteza, M.; Douglas, K.E.; Andy, K.; Matthew, M.C.; David, L.E. Association of “greenness” in corn with yield and leaf nitrogen concentration. Agron. J. 2011, 103, 529–535. [Google Scholar] [CrossRef]
  58. Tei, F.; Nicola, S.; Benincasa, P. Advances in Research on Fertilization Management of Vegetable Crops; Springer International Publishing: Cham, Switzerland, 2017. [Google Scholar]
  59. Cartelat, A.; Cerovic, Z.G.; Goulas, Y.; Meyer, S.; Lelarge, C.; Prioul, J.L.; Barbottin, A.; Jeuffroy, M.H.; Gate, P.; Agati, G.; Moya, I. Optically assessed contents of leaf polyphenolics and chlorophyll as indicators of nitrogen deficiency in wheat (Triticum aestivum L.). Field Crop. Res. 2005, 91, 35–49. [Google Scholar] [CrossRef]
  60. Padilla, F.M.; Peña-Fleitas, M.T.; Morteza, M.; Douglas, K.E.; Andy, K.; Matthew, M.C.; David, L.E. Proximal optical sensing of cucumber crop N status using chlorophyll fluorescence indices. Eur. J. Agron. 2016, 73, 83–97. [Google Scholar] [CrossRef]
Figure 1. Image acquisition platform.
Figure 1. Image acquisition platform.
Sensors 19 02448 g001
Figure 2. Image processing flow.
Figure 2. Image processing flow.
Sensors 19 02448 g002
Figure 3. The pakchoi images at different growth periods (0, 7, 14, 21, 28, 35, and 42 days after the first N application, respectively).
Figure 3. The pakchoi images at different growth periods (0, 7, 14, 21, 28, 35, and 42 days after the first N application, respectively).
Sensors 19 02448 g003
Figure 4. Significance analyses of phenotypic features with a p-value threshold of 0.05. The phenotypic features are indicated using numbers corresponding to their names. The solid horizontal line represents p = 0.05, i.e., −log10 (p) = 1.301. The solid and hollow circles indicate the conditions p < 0.05 and p > 0.05, respectively. (A), (B), (C), (D), (E), (F) corresponding to 7, 14, 21, 28, 35, and 42 days after the first N application, respectively.
Figure 4. Significance analyses of phenotypic features with a p-value threshold of 0.05. The phenotypic features are indicated using numbers corresponding to their names. The solid horizontal line represents p = 0.05, i.e., −log10 (p) = 1.301. The solid and hollow circles indicate the conditions p < 0.05 and p > 0.05, respectively. (A), (B), (C), (D), (E), (F) corresponding to 7, 14, 21, 28, 35, and 42 days after the first N application, respectively.
Sensors 19 02448 g004
Figure 5. Quantitative relationship between simulated and measured nitrogen nutrition index (NNI) values, represented in the form of scatter plots of the manually measured NNI and the NNI predicted using three models: (A) random forest (RF), (B) support vector regression (SVR), and (C) neural network (NN). The line (y = x) represents the expected prediction. The quantitative relationship between the image-based features and the NNI was evaluated in terms of the coefficient of determination R2, root-mean-square error (RMSE), and mean absolute error (MAE) of the models.
Figure 5. Quantitative relationship between simulated and measured nitrogen nutrition index (NNI) values, represented in the form of scatter plots of the manually measured NNI and the NNI predicted using three models: (A) random forest (RF), (B) support vector regression (SVR), and (C) neural network (NN). The line (y = x) represents the expected prediction. The quantitative relationship between the image-based features and the NNI was evaluated in terms of the coefficient of determination R2, root-mean-square error (RMSE), and mean absolute error (MAE) of the models.
Sensors 19 02448 g005
Figure 6. Capabilities of different image-based phenotyping methods in predicting the plant N status based on the evaluation of nitrogen nutrition index (NNI). The overall prediction accuracies of each type of phenotypic trait are included. The error bars represent the standard deviation. The white, light gray, gray, and dark gray bars indicate the prediction accuracies obtained using all traits, color-, texture-, and morphology-related traits, respectively.
Figure 6. Capabilities of different image-based phenotyping methods in predicting the plant N status based on the evaluation of nitrogen nutrition index (NNI). The overall prediction accuracies of each type of phenotypic trait are included. The error bars represent the standard deviation. The white, light gray, gray, and dark gray bars indicate the prediction accuracies obtained using all traits, color-, texture-, and morphology-related traits, respectively.
Sensors 19 02448 g006
Figure 7. Relative contributions of individual features in predicting nitrogen nutrition index (NNI). Note that the phenotypic features are shared in the three panels. Phenotypic features are indicated in numbers corresponding to their names. The top five most important features are highlighted and labeled; the black, blue, and green fonts represent the color-, texture-, and morphology-related features, respectively.
Figure 7. Relative contributions of individual features in predicting nitrogen nutrition index (NNI). Note that the phenotypic features are shared in the three panels. Phenotypic features are indicated in numbers corresponding to their names. The top five most important features are highlighted and labeled; the black, blue, and green fonts represent the color-, texture-, and morphology-related features, respectively.
Sensors 19 02448 g007
Table 1. Phenotypic features extracted from images in pakchoi.
Table 1. Phenotypic features extracted from images in pakchoi.
CategoryTrait NameDescriptionNo.
Color *R_mean, R_std, *R_median, R_ range, R_coefficient of variationStatistics in the red range of the RGB color space1–5
*G_mean, G_std, *G_median, G_ range, G_coefficient of variationStatistics in the green range of the RGB color space6–10
*B_mean, B_std, *B_median, B_ range, B_coefficient of variationStatistics in the blue range of the RGB color space11–15
*L_mean, L_std, *L_median, L_ range, L_coefficient of variationStatistics of L channel in LAB color space16–20
a_mean, a_std, a_median, a_ range, a_coefficient of variationStatistics of A channel in LAB color space21–25
*b_mean, b_std, *b_median, b_ range, b_coefficient of variationStatistics of B channel in LAB color space26–30
*H_mean, H_std, *H_median, H_ range, H_coefficient of variationStatistics of H in HSV color space 31–35
*S_mean, S_std, *S_median, S_ range, S_coefficient of variationStatistics of S in HSV color space36–40
*V_mean, V_std, *V_median, V_ range, V_coefficient of variationStatistics of V in HSV color space41–45
Texture contrastDefinition and grooving depth of texture46
dissimilarityThe difference of grey scale47
*homogeneityThe local changes of image texture48
*energyThe degree of thickness and uniformity for texture49
correlationThe correlation of the local grey scale50
*ASMAngular second moment51
Morphology *contour_areaArea of plant contour 52
perimeterThe length of plant contour53
wThe width of the bounding box54
hThe height of the bounding box55
*hull_areaConvex hull area (mm2)56
_wThe width of the minimum circumscribed rectangle57
_hThe height of the minimum circumscribed rectangle58
MAThe macro axis of the ellipse59
maThe minor axis of the ellipse60
*rThe radius of the minimum circumscribed circle61
*equivalent_diameterThe diameter of a circle equal to the contour area62
aspect_rationThe width-height ratio of the bounding box 63
extentThe area ratio between contour and bounding box 64
solidityThe area ratio between contour and convex hull65
Note:(1) _mean, _std, _median, _range, and _coefficient of variation represent mean, standard deviation, median, range and coefficient of variation, respectively. (2) The traits marked with asterisks were selected to develop a model. (3) RGB (Red, Green, Blue), LAB ( L is luminosity, A is the range from magenta to green, and B is the range from yellow to blue, and HSV ( Hue, Saturation, Value)
Table 2. Yield and quality of pakchoi after 42 days of cultivation.
Table 2. Yield and quality of pakchoi after 42 days of cultivation.
TreatmentsYield (g·plant−1)Chlorophyll (μg·cm−2)Flavonol IndexNitrate (mg·kg−1 FW)Soluble Protein (mg·g−1 FW)
CK6.04 ± 0.45d28.70 ± 1.67b1.37 ± 0.26a200.92 ± 3.51c5.21 ± 0.58c
T127.65 ± 0.28a32.98 ± 4.98a0.74 ± 0.11b271.47 ± 23.35b35.10 ± 1.97a
T223.88 ± 0.04b32.17 ± 2.78a0.80 ± 0.11b298.31 ± 19.16b31.63 ± 1.91b
T321.37 ± 0.34c33.08 ± 2.75a0.78 ± 0.11b364.25 ± 25.34a30.47 ± 2.61b
Note: Data of the table represent average value ± standard deviation (n = 3) and those with the different letters in the same column are significantly different (p < 0.05).
Table 3. Accumulation of dry weight (g·plant−1) and nitrogen concentration (g·kg−1 DW) in shoot.
Table 3. Accumulation of dry weight (g·plant−1) and nitrogen concentration (g·kg−1 DW) in shoot.
IndexTreatmentDays after Transplant (d)
71421283542
BiomassCK0.065 ± 0.007b0.161 ± 0.006b0.186 ± 0.008c0.338 ± 0.012c0.479 ± 0.037b0.617 ± 0.037c
T10.067 ± 0.004b0.174 ± 0.019b0.293 ± 0.010b0.580 ± 0.023b0.973 ± 0.019a1.363 ± 0.032a
T20.080 ± 0.004a0.189 ± 0.023b0.306 ± 0.014b0.574 ± 0.018b0.994 ± 0.051a1.280 ± 0.025b
T30.079 ± 0.010a0.215 ± 0.011a0.440 ± 0.025a0.620 ± 0.014a0.970 ± 0.017a1.282 ± 0.027b
Nitrogen concentrationCK43.30 ± 2.31b39.70 ± 2.76b39.07 ± 1.59b30.80 ± 1.57d20.50 ± 1.08c20.50 ± 0.79c
T157.50 ± 0.26a61.27 ± 1.01a69.63 ± 1.90a67.30 ± 0.17c72.70 ± 2.66b83.77 ± 2.57b
T257.63 ± 0.85a62.20 ± 1.23a74.87 ± 2.25a71.97 ± 0.99b81.87 ± 1.65a88.07 ± 2.67ab
T360.57 ± 1.27a64.00 ± 0.85a73.30 ± 4.98a76.63 ± 0.50a79.47 ± 0.74a88.80 ± 2.11a
Note: Data of the table represent average value ± standard deviation (n = 3) and those with the different letters in the same column are significantly different (p < 0.05).
Table 4. Nitrogen nutrition index (NNI) in pakchoi at different nitrogen treatments.
Table 4. Nitrogen nutrition index (NNI) in pakchoi at different nitrogen treatments.
TreatmentDays after Transplant (d)
71421283542
CK0.770.630.570.430.270.26
T11.030.971.010.930.951.05
T21.030.981.081.001.071.11
T31.081.011.061.061.041.12
Note: NNI > 1, excessive nitrogen nutrition; NNI = 1, optimal nitrogen nutrition; NNI < 1, deficient N nutrition.
Table 5. Model evaluation result under different plant N nutrition status and growth stages.
Table 5. Model evaluation result under different plant N nutrition status and growth stages.
Different ScenariosRange of Measured NNIModelModel Evaluation Results
Range of Simulated NNIR2Relative Error (%)Accuracy
Excessive1.01~1.12RF0.895~1.1010.4702.570.787
SVR0.772~1.1350.2063.560.586
NN0.822~1.0000.0161.760.085
Low0.26~0.93RF0.262~1.0810.9458.350.948
SVR0.173~1.0870.92110.510.984
NN0.237~1.0000.91810.350.952
Seedling period0.63~1.08RF0.495~1.0680.7956.560.823
SVR0.348~1.0840.7038.790.856
NN0.416~1.0000.6748.350.766
Harvest period0.26~1.12RF0.262~1.1010.9854.490.943
SVR0.173~1.1350.9815.230.974
NN0.237~1.0000.9696.060.869
Note: RF, Random Forest; SVR, Support Vector Regression; NN, Neural Network

Share and Cite

MDPI and ACS Style

Xiong, X.; Zhang, J.; Guo, D.; Chang, L.; Huang, D. Non-Invasive Sensing of Nitrogen in Plant Using Digital Images and Machine Learning for Brassica Campestris ssp. Chinensis L. Sensors 2019, 19, 2448. https://doi.org/10.3390/s19112448

AMA Style

Xiong X, Zhang J, Guo D, Chang L, Huang D. Non-Invasive Sensing of Nitrogen in Plant Using Digital Images and Machine Learning for Brassica Campestris ssp. Chinensis L. Sensors. 2019; 19(11):2448. https://doi.org/10.3390/s19112448

Chicago/Turabian Style

Xiong, Xin, Jingjin Zhang, Doudou Guo, Liying Chang, and Danfeng Huang. 2019. "Non-Invasive Sensing of Nitrogen in Plant Using Digital Images and Machine Learning for Brassica Campestris ssp. Chinensis L." Sensors 19, no. 11: 2448. https://doi.org/10.3390/s19112448

APA Style

Xiong, X., Zhang, J., Guo, D., Chang, L., & Huang, D. (2019). Non-Invasive Sensing of Nitrogen in Plant Using Digital Images and Machine Learning for Brassica Campestris ssp. Chinensis L. Sensors, 19(11), 2448. https://doi.org/10.3390/s19112448

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