$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
To develop this method, B73 maize plants were evaluated for quantitative phenotypes under control temperatures, heat temperatures, well-watered, and drought conditions, as well as their combinations, for a total of four treatments. B73 is a well-known inbred maize variety with a wealth of genetic data21.
Image analysis in PlantCV successfully color-corrected the images, labeled the quantitative results with the plant metadata, and segmented (in other words, separated) the plant from the background, as is demonstrated in Figure 3. An unsuccessful analysis would provide output images that do not show the blue outline or pink shape around the outside of the plant, but rather include additional noise or missing pieces of the plant (Figure 3, low-quality example). A dual-channel threshold was necessary to include as much of the plant as possible in the mask (see alternative single-channel strategies in the "photo-studio-SV-notebook.ipynb"). However, some plants, particularly those with purple-colored stems, did not have a perfect segmentation, but were sufficient for downstream analysis (Figure 3).
The PlantCV analysis provided 16 quantitative, single-value traits, summarized in Figure 4. A single-value-trait provides one value per plant - for example, the leaf area, height, width, and hue circular mean. Leaf area was considered using the "analyze.shape" function (Figure 4) and considered the entire plant. Height and width, however, were considered using the "analyze.bound_horizontal function", with a bound drawn at the plant soil line. This is because plants that droop over the side of the pot will have a greater height considering the plant as a whole object, and instead should only be measuring from the plant base where it meets the soil. In addition to the single-value traits, PlantCV outputs multi-value traits, which are histograms, particularly of the color values, representing each pixel of the plant. The hue circular mean is a single-value-trait that is the average hue value for the whole plant.
To determine which traits are the most interesting, the variance explained by treatment for each trait was calculated, as well as the correlation between the different traits using the "frem" function in the pcvr R Studio package20 (Figure 5A). Leaf area, height, width, and hue circular mean were selected for downstream analysis because they explained greater than 50% of the variance due to treatment, and are relevant measures of plant growth (area, height, and width) and health (hue). Representative images of the plant with the largest and smallest leaf area demonstrate the variation in phenotypes collected in this experiment (Figure 5B,C, respectively). The plant with the largest leaf area also had the highest mean hue and was a B73, well-watered, heat-stressed plant (Figure 5B). The smallest leaf area had the smallest mean hue (Figure 5C), and was a B73, drought-stressed, heat-stressed plant.
Water treatment had a significant effect in determining leaf area (F(1,13) = 226.5, p = 1.32 x 10-9), height (F(1,13) = 21.1, p = 0.0005), width (F(1,13) = 75.5, p = 8.92 x 10-7), and hue circular mean (F(1,13) = 27.8, p = 0.0002), determined using a linear regression model for treatment effect and a two-way ANOVA in R Studio (complete results in Table 1). Temperature treatment had a significant effect on height (F(1,13) = 5.94, p = 0.03), but not leaf area, width, or hue circular mean (p > 0.05, Table 1). The interaction between temperature and water status was not a significant factor in any of the traits measured (p > 0.05, Table 1).
Next, individual treatments were compared to the control and each other using linear regression and post-hoc test (estimated marginal means) with a Sidak correction for multiple comparisons (Figure 6). Leaf area, plant height, plant width, and hue circular mean were significantly reduced in drought-stressed plants compared to well-watered under both temperature conditions (p < 0.05, Figure 6). Heat stress while well-watered only reduced plant height (p < 0.05, Figure 6), but did not significantly reduce leaf area, plant width, or hue circular mean. This difference in hue can be further investigated by assessing the multi-value color trait hue, plotted as a histogram in Figure 7, rather than just an average. The reduction in mean hue due to drought was due to a shift from green to yellow pixels, known as chlorosis (Figure 7). While heat did not show a significant difference in average hue, it did exhibit a reduction and increase due to both yellowing (chlorosis) and darkening of the green color (Figure 7).
After imaging, the plants were cut at the root-shoot junction, and the weight of the above-ground tissue was recorded. The roots were gently washed and dried with a towel, then weighed, to calculate the total plant biomass (also known as weight) for comparison to the image-based phenotyping method described. Leaf area measured via image analysis strongly correlated to plant biomass (R2 = 0.84, Figure 8).

Figure 1: Image of the photo studio setup with labeled components for collecting plant images. (A) Photography-grade fabric, (B) color card, (C) line of tape for placing pots uniformly, (D) digital camera, (E) single-board computer, (F) monitor displaying image capture process. Please click here to view a larger version of this figure.

Figure 2: Overview of the imaging workflow. A representative "high quality" and "low quality" image is provided. Please click here to view a larger version of this figure.

Figure 3: Overview of the image analysis workflow in PlantCV. Representative images of "high", "acceptable", and "low" quality segmentation are presented; PlantCV traits are represented using a pink outline of the whole-plant shape, and a blue outline of the plant area. Please click here to view a larger version of this figure.

Figure 4: Summary and visual representation of the shape traits captured from analysis. Shape function in PlantCV. Purple boxes represent traits that do not utilize another trait in their calculation. Orange boxes represent traits that utilize other traits in their calculation; arrows indicate which traits are used in these calculations. Please click here to view a larger version of this figure.

Figure 5: Image-based phenotyping captures phenotypic variance and correlated traits. (A) Variance of traits explained by treatment (right), and correlation of traits to each other (left). Each trait is labeled, followed by its unit of measurement; "NA" means it is a unitless measurement. (B) Image of the plant that had the highest leaf area and highest hue circular mean (degrees). (C) Image of the plant that had the smallest leaf area and lowest hue circular mean (degrees). Please click here to view a larger version of this figure.

Figure 6: Boxplot comparison of treatment effects on plant phenotypes. Leaf area (A), height (B), width (C), and hue circular mean (D) are compared for the effect of drought, heat, and the combined stresses. n = 4. Letters represent statistically significant differences between treatments (p < 0.05); treatments were compared using linear regression and post-hoc test (estimated marginal means) with a Sidak correction for multiple comparisons. Please click here to view a larger version of this figure.

Figure 7: Histograms of color (hue) summed of all pixels of each treatment combination, normalized by the total number of pixels in the treatment combination. Histograms are colored by the color value for the hue degree. Please click here to view a larger version of this figure.

Figure 8: Correlation of leaf area measured from images to whole-plant biomass. Each black point represents one plant. The pink line represents the linear correlation between leaf area (X) and biomass (Y). Please click here to view a larger version of this figure.
| Trait | Factor | degrees of freedom | F-value | p-value |
| leaf area (cm^2) | Temperature | 1 | 0.5372 | 0.4766 |
| leaf area (cm^2) | Water | 1 | 226.5318 | 1.32E-09 |
| leaf area (cm^2) | Temperature:Water | 1 | 2.1526 | 0.1661 |
| leaf area (cm^2) | Residuals | 13 | | |
| height (cm) | Temperature | 1 | 5.9426 | 0.0298935 |
| height (cm) | Water | 1 | 21.107 | 0.0005029 |
| height (cm) | Temperature:Water | 1 | 2.1752 | 0.1640545 |
| height (cm) | Residuals | 13 | | |
| width(cm) | Temperature | 1 | 2.2495 | 0.1575 |
| width(cm) | Water | 1 | 75.5474 | 8.92E-07 |
| width(cm) | Temperature:Water | 1 | 0.0839 | 0.7766 |
| width(cm) | Residuals | 13 | | |
| hue circular mean (degrees) | Temperature | 1 | 0.9154 | 0.3561432 |
| hue circular mean (degrees) | Water | 1 | 27.7988 | 0.0001509 |
| hue circular mean (degrees) | Temperature:Water | 1 | 3.4792 | 0.0848724 |
| hue circular mean (degrees) | Residuals | 13 | | |
Table 1: Results of the linear regression model and two-way ANOVA analyses examining the effects of water treatment, temperature treatment, and their interaction on plant traits.