Background

As one of the most important food crops in the world, rice feeds half of the global population, especially in East Asia and Southeast Asia [1, 2]. Most rice-dependent populations are currently in developing countries such as China, India, and Thailand [3, 4]. With increasing food demand in these and other regions, advanced technological innovations in rice production will be critical to stabilizing food security.

Rice yield is typically quantified after harvesting and drying. This process requires time, power, and resources. Therefore, the rapid and accurate estimation of rice yield has become an important part of rice production technology research. With the development of remote sensing technology, more remote sensing tools have been applied to agricultural monitoring. Use of terrestrial hyperspectral remote sensing [5, 6] and satellite and aerial imagery [7,8,9] to conduct rice yield assessment have been reported. At present, the main methods for assessing rice yield primarily include spectroscopic diagnosis [9] and remote sensing evaluation [10], but these methods require the purchase of expensive spectrometers or satellite remote sensing images. Additionally, these methods are complex and give uncertain results [11], which makes them difficult to promote and apply.

However, owing to recent price decreases and integration with smartphones, digital cameras are now widely used [12]. Since the 1990s, digital cameras have been used as one of the most convenient tools for remote sensing of the visible light spectrum (in which R, G, and B represent the gray values from the red, green, and blue channels) in agricultural information monitoring, such as automatic classification of agricultural products [13], weed identification, and pest monitoring [14], among other applications. Kawashima et al. [15] reported manual selection of a complete blade for crop extraction (RB)/(R + B) to estimate the leaf chlorophyll content. Adamsen et al. [16] used a digital camera to vertically capture images of wheat canopies, and cut out images representing 1 m2 to calculate parameters such as G/R. That study showed that G/R and the normalized difference vegetation index (NDVI) were significantly related to the chlorophyll metric, which was shown by soil–plant analyses development; (SPAD) value. Rorie et al. [17] used a digital camera to capture images of corn leaves under an active light source and calculated dark green color index (DGCI) after correction with a reference color, with results showing a strong correlation between nitrogen (N) content and yield of leaves. Li et al. [18] vertically photographed wheat canopies and segmented the images using soil adjustment vegetation index (SAVI) Green > 0 and found that the extracted coverage (Canopy Cover) positively correlated with the leaf area index (LAI), plant N content, and aboveground biomass. Previous studies in rice showed that leaf color measured with digital cameras can characterize N and chlorophyll content in rice [19, 20]. In addition, green-channel minus red (GMR) can further distinguish the N diagnosis of indica and japonica rice varieties [21]. In summary, the R, G, and B values of digital photos are closely related to nutrient content in rice [18, 20].

The current applications for digital cameras in rice and other crops are limited to nutritional diagnosis, and only a few studies have reported the evaluation of rice yield with digital cameras [22]. Using digital cameras for predicting rice yields can quickly assess rice production and provide decision-making basis for rice farmers and for governments. In this study, a field experiment was conducted which included different N fertilizer application rates and planting densities, and the color images of the rice canopy in the key growth periods were measured, including values for R, G, and B and the normalized redness intensity (NRI), normalized greenness intensity (NGI), and normalized blueness intensity (NBI). Moreover, the fitted regressions between grain yield with NRI, NGI, and NBI values were established. Field verification was also conducted to evaluate the practicality of the fitted regression.

Results

Rice yield

N rates and planting density both had significant effects on rice yield (Fig. 1). Among all treatments, grain yield was highest in the N2D4 treatment with 8.34 × 103 kg ha−1, while yield was the lowest in N0D1 treatment (5.01 × 103 kg ha−1). Compared with the no N application (N0), the grain yields were higher in the N fertilizer application treatments, but the yields were not increased when N exceeded 180 kg ha−1 (N2). There was no significant relationship between N rate and grain yield under the same planting density, as demonstrated through the fitted regressions (Table 1). The fitted regressions showed that grain yield could be significantly improved by increasing planting densities under the same N rate (Table 2). Furthermore, these equations also showed that the growth rate of rice yield was higher in the N2 and N3 treatments than in the N0 and N1 treatments. The yield of the N2 treatment increased by 23.22% over that of the N0 treatment, but the yield of the N1 and N3 treatments did not differ significantly than that of the N0 treatment (Table 3). Increasing rice planting density can significantly improve grain yield. The highest yield was observed in the D4 treatment, which was increased by 34.27% over that of the D1 treatment. However, the yields of D2 and D3 treatments were not significantly increased over that of the D1 treatment.

Fig. 1
figure 1

Rice yields of different treatments with varied N and D. Error bar indicates SD. Different lowercase letters indicate significant differences (p < 0.05). N represents nitrogen, and D represents planting density

Table 1 The fitted regression between nitrogen (N) rates (x) and grain yield (y)
Table 2 The fitted regression between planting densities (x) and grain yield (y)
Table 3 Comparative analysis of rice yield under nitrogen (N) and density treatments

Changes in the NRI, NGI, and NBI values of the rice canopy

The NRI values among all treatments gradually increased with the development of rice growth, which can be roughly divided into three periods (Fig. 2): (1) the gradually increasing period was from the tillering to heading stage, (2) the stable period was from the heading to late filling stage, and (3) the rapidly increasing period was from the late filling to maturity stage. NRI in the key growth stages of rice was primarily regulated by the amount of N fertilizer, and different planting densities have little effect (Table 3). Across different growth periods, the NRI value in the N0 treatment was the highest among the most key stages, although different N rates also caused a significant difference in NRI values. Compared with the no N fertilizer treatment (Table 4), the NRI values in the N1 treatment were reduced by 4.86%, 3.51%, and 5.91% in the heading, filling, and late filling stages, respectively, while those in the N2 treatment decreased by 5.31%, 3.88%, and 6.27%, and those of the N3 treatment decreased by 6.25%, 3.57%, and 6.65% across these same stages.

Fig. 2
figure 2

Changes in the normalized redness intensity (NRI) of the rice canopy at key stages among different treatments. Error bar indicates SD. TS, JS, HS, FS, LFS and MS indicate the tillering, jointing, heading, filling, late filling and maturity stages of rice, respectively

Table 4 Comparative analysis of the normalized redness intensity (NRI) in rice canopy under nitrogen (N) fertilizer and density treatments

The NGI values of all treatments gradually decreased with increasing rice growth, and these can be divided into three general periods as well (Fig. 3): (1) a stable period was from the tillering to the jointing stage, (2) a gradual increase period was from the jointing to the heading stage, and (3) a rapid reduction period was from the heading to the maturity stage. Similar to trends for NRI, NGI during the key growth stages of rice could be affected by the N rates, but different planting densities had little effect (Table 4). Among four N rates, the NGI value of the tillering stage was the highest in the N3 treatment. However, in the late filling stage, the NGI values for the N fertilizer treatments were significantly lower than that of the N0 treatment (Table 5). The NGI values in the N1, N2, and N3 treatments decreased below that of the N0 treatment by 2.90%, 3.82%, and 4.26%, respectively.

Fig. 3
figure 3

Changes in the normalized greenness intensity (NGI) of the rice canopy at key stages among different treatments. Error bar indicates SD. TS, JS, HS, FS, LFS and MS indicate the tillering, jointing, heading, filling, late filling and maturity stages of rice, respectively

Table 5 Comparative analysis of the normalized greenness intensity (NGI) in rice canopy under nitrogen (N) fertilizer and density treatments

Across all treatments, NBI values gradually decreased along with rice growth, and could be roughly divided into four periods, which include: (1) the gradual increase period was from the tillering to the jointing stage, (2) the rapid reduction period was from the jointing to the heading stage, (3) the increase period was from the heading to the late filling stage, and (4) the stabilization period was from the late filling to the maturity stage (Fig. 4). Like NRI and NGI, the NBI values in the key growth stages of rice were also affected by N rates (Table 5), while the different planting densities had no significant effect. There was no significant difference for NBI in the maturity stage across different treatments. In the tillering stage, the NBI values of the N1 and N2 treatments were significantly higher than for the N0 and N3 treatments, but in all other stages, the NBI values in the N0 treatment were the lowest. However, compared with the N0 treatment, the NBI values were significantly higher in the N fertilizer (N1, N2, and N3) treatments (Table 6). In the jointing, heading, filling, and late filling stages, the NBI values of the N1 treatment decreased below that of the N0 treatment by 4.62%, 9.37%, 18.81%, and 32.18%, respectively. The NBI values of the N2 treatments were reduced by 5.68%, 15.12%, 22.30%, and 35.99%, respectively, and the NBI values of the N3 treatments were reduced by 8.88%, 13.90%, 21.59%, and 39.03%, respectively.

Fig. 4
figure 4

Changes in the normalized blueness intensity (NBI) of the rice canopy at key stages among different treatments. Error bar indicates SD. TS, JS, HS, FS, LFS and MS indicate the tillering, jointing, heading, filling, late filling and maturity stages of rice, respectively

Table 6 Comparative analysis of the normalized blueness intensity (NBI) in rice canopy under nitrogen (N) fertilizer and density treatments

Relationships between rice yield and NRI, NBI, and NGI

Across different key growth stages of rice, the relationships between yield and NRI or NBI of rice canopy digital images at the late filling stage were fitted by quadratic curves (Table 7), with y = − 3437.4x2 + 2465.5x − 434.79 (R2 = 0.4853, p < 0.05); and y = − 1198.9x2 + 436.5x − 32.612 (R2 = 0.4122, p < 0.05), respectively. However, there was no significant relationship between NGI and yield.

Table 7 Fitted equations for the normalized redness intensity (NRI), normalized greenness intensity (NGI), and normalized blueness intensity (NBI) values (x) and yield (y) across different growth stages of rice

Model verification

In field validation experiments, the predicted yields were attained through the fitted equations with NRI and NBI at the late filling stage (Fig. 5). Concurrence between the simulated and measured values was high, with R2 of 0.4592 and 0.7074 and RMSE of 0.5489 and 0.4010, respectively, with average RE values of − 0.024 and − 0.028. Therefore, the NRI and NBI at the late filling stage can be used to better predict grain yield.

Fig. 5
figure 5

The relationships between predicted and measured yield. R2, RMSE, RE and RRMSE mean correlation coefficient, root mean square error, relative error and relative root mean square error, respectively. NRI and NBI indicate the normalized redness intensity and normalized blueness intensity

Discussion

The application of digital cameras and image processing technology can be used to quickly obtain crop canopy data, and this method is cheaper and easier to operate and implement than other methods, such as hyperspectral remote sensing and satellite imagery. The rapid increase in the use of smartphones (with a self-contained camera function) can enable this technology to meet huge potential applications for rice planting. In this study, with increases in rice growth (from the tillering to the maturity stage), NRI values increased gradually, while NGI and NBI peaked at the heading and jointing stages, respectively, and then gradually decreased. This may be due to growth and metabolism consuming a great deal of energy, because NRI is directly related to available energy [23, 24]. Moreover, NRI, NGI, and NBI in key growth stages of rice were mainly regulated by N fertilizer application, rather than by planting density. Compared with no N application, the NRI values of the heading stage in the N fertilizer treatments were significantly lower, but the NBI values were significantly higher. The R, G, B values could change as a result of leaf yellowing and senescence, which can be caused by insufficient nutrient supply [25, 26].

The R, G, and B values of plant canopies can reflect nutrient uptake, especially that of N content and uptake by crops [17,18,19]. Previous studies have shown that for rice, wheat, corn, and cotton, the R, G, B values obtained by a camera can reflect the N uptake capacity of plants, and can be further used to diagnose N deficiency and assess biomass and grain yield [18, 20, 22]. The current study also found that the relationship between NRI or NBI and grain yield can be fitted by a quadratic curve across all key rice growth stages. This result was the same as other studies, which all suggested that grain yield was closely related to NRI and NBI [27, 28]. In these field experiments, the rainfall and temperature that occurred in the second year (2017) of the verification experiments were similar to those of the first year (2016). The simulated values of rice yield obtained by fitting equations were highly consistent with the measured values, with high estimation accuracy and low average relative error. NRI and NBI at the late filling stage can thus be used to better predict grain yield. However, rice yield could change as a result of the interaction of complex factors [29, 30], such as unusual precipitation and temperature, which can cause rice lodging and disease [31,32,33]. Therefore, actual rice yield may differ from the yield predicted by NRI and NBI at the late filling stage, so these predictions should be used cautiously.

Conclusion

Metrics of growth in rice canopy across different growth stages can be measured and assessed by changes to the R, G, and B parameters of digital images. The NRI, NGI, and NBI of the rice canopy varied significantly across different N fertilizer rates, though the measured rice yield varied depending on both N fertilizer rate and planting density. NRI and NBI at the late filling stage could be used to predict grain yield through using the fitted quadratic curve equations, and these results were upheld by the field validation experiment.

Methods

Site description

The field experiment was conducted at Yanjia Village, Zhanggong Town, Jinxian County, Nanchang City, Jiangxi Province, China (116°′24″E, 28°15′30″N). This area experiences a mid-subtropical monsoon climate, with an average annual rainfall of 1537 mm, annual evaporation of 1150 mm, annual average temperature of 18.1 °C, with average temperatures in the coldest month (January) and the hottest month (July) of 4.6 °C and 29.1 °C, respectively. In the experimental years of the study (2016 and 2017), rainfall primarily occurred in March, April, May, and June (Fig. 6). The proportion of rainfall received in this season was 61.14% for 2016 and 52.34% for 2017. The rice growing season (from July to November) experiences higher temperature and lower rainfall. Average temperatures from July to November were 23.49 °C and 23.49 °C in 2016 and 2017, respectively, and the total rainfalls were 435.40 mm and 812.90 mm. The altitude is 25–30 m, a typical low hilly area. The soil type is paddy soil developed by Quaternary red clay. Soil pH is 6.9, the organic carbon is 16.22 g kg−1, total N is 0.95 g kg−1, total phosphorus is 1.02 g kg−1, total potassium is 15.41 g kg−1, and alkaline N is 143.70 mg kg−1; available phosphorus is 10.30 mg kg−1, and available potassium is 125.10 mg kg−1.

Fig. 6
figure 6

Meteorological data for the field experimental site in 2016 and 2017

Experimental design

In this study, the field experiment was conducted in 2016 and 2017 for model establishment and validation, respectively. The main treatment was N fertilizer rates (0, 135, 180, and 225 kg ha−1 N) and the secondary treatment was density levels (0.21, 0.27, 0.33 and 0.39 million plants ha−1). Each treatment was three replications, and main area was 9 × 4.5 = 40.5 m2 (the sub-area was 2.2 × 4.5 = 9.9 m2), and the random area group was arranged.

Chemical fertilizer was applied to treatments (Table 8). The application ratios for N fertilizer were 40%, 30%, and 30% in basal, tiller, and panicle fertilizers, respectively. All treatments (including the no N fertilizer treatment) received application of 60 kg ha−1 P2O5 with calcium magnesium phosphorus (12.5% P2O5) and 225 kg ha−1 K2O with potassium chloride (60% K2O). All phosphorus and 50% of the potassium fertilizer were used as base fertilizer, while the remaining 50% potassium fertilizer was applied as panicle fertilizer. The application time for basal, tiller, and panicle fertilizers was 1 day before transplanting rice, 10 days and 45 days after transplanting rice, respectively.

Table 8 The nitrogen (N) fertilizer rates and planting density in different treatments

The rice variety was ‘Zhengcheng 456’, which was sown on 25th June, transplanted on 24th July, harvested on 5th November. Water, weeds, insects, and disease were controlled as required to avoid yield loss.

Measurement index

  1. 1)

    Rice yield determination

Matured rice plants in each plot were harvested for threshing and measured for standard yield after drying (water content was 13.5%).

  1. 2)

    Photographing rice canopy

In the tillering, jointing, heading, filling, late filling, and maturity stages, images of the rice canopy of rice in 2016 and 2017 (Additional file 1: Figs. S1 and S2) were obtained in the field with a Canon IXUS140 digital camera following established methods [34]. Crops were photographed at a vertical height of 1.2 m from the ground (about 1 m from the rice canopy) and at a 60° angle to the ground. A 15 × 5 cm white plastic plate was used as the background for shooting in the camera’s automatic white balance mode. The image resolution was 1280 × 960, and the camera’s image of the ground rice canopy range was approximately 1.2 m × 1 m trapezoids. Digital images were transferred to the computer in JPEG format.

The image was processed using Adobe Photoshop. “Color selection” was used to select the plant canopy part of the digital image (without the interference of the soil or water surface), and then the “histogram procedure” was employed to obtain data. The R, G, and B values of the image were measured, and the corresponding NRI, NGI, and NBI were calculated. The calculation of each normalized value is as follows:

$${\text{NRI}} = {\text{R}}/\left( {{\text{R}} + {\text{G}} + {\text{B}}} \right)$$
$${\text{NGI}} = {\text{G}}/\left( {{\text{R}} + {\text{G}} + {\text{B}}} \right)$$
$${\text{NBI}} = {\text{B}}/\left( {{\text{R}} + {\text{G}} + {\text{B}}} \right)$$
  1. 3)

    Statistical analysis and model validation

The yield difference between treatments was statistically analyzed in SPSS16.0. Differences were compared with the Duncan method, with differences in N fertilizer application rate and planting density distinguished. When p < 0.05, the difference was significant.

The evaluation model was constructed through linear relationships between grain yield and color parameters through data of 2016. In order to test the reliability and universality of the model, the established models were validated using the data of 2017. The validity of the models was estimated from the statistical values of RMSE (root mean square error), RE (relative error), and RRMSE (relative root mean square error), which were calculated as:

$$RMSE = \sqrt {\frac{{\sum {\left( {X_{0} - X_{S} } \right)^{2} } }}{n}}$$
(1)
$$RE = \frac{{X_{0} - X_{S} }}{{X_{O} }} \times 100\%$$
(2)
$$RRMSE = \sqrt {\frac{1}{n}\sum {\left( {\frac{{X_{s} - X_{0} }}{{X_{0} }}} \right)^{2} } }$$
(3)

where X0 and XS represent measured and predicted values, respectively. The model is available when RRMSE < 25%.