Abstract
Key message
An automated process using a cascade classifier allowed the rapid assessment of the density and distribution of stomata on microphotographs from leaves of two oak species.
Abstract
Stomatal density is the number of stomata per unit area, an intensively studied trait, involved in the control of CO2 and H2O exchange between leaf and atmosphere. This trait is usually estimated by counting manually each stoma on a given surface (e.g., a microphotograph), usually repeating the procedure with images from different parts of the leaf. To improve this procedure, we tested the performance of a cascade classifier to automatically detect stomata on microphotographs from two oak species: Quercus afares Pomel and Quercus suber L. The two species are phylogenetically close with similar stomatal morphology, which allowed testing the reuse of the cascade classifier on stomata with similar shape. The results showed that a cascade classifier trained on only 100 sample views of stomata from Q. afares was able to rapidly detect stomata in Q. afares as well as in Q. suber with a very low number of false positives (5 %/1.9 %) and a small number of undetected stomata (14.8 %/0.74 %), when partial stomata near the edge of the microphotographs were ignored. The remaining undetected stomata were due to obstacles such as trichomes. As an example of further applications, we used the positions detected by the cascade classifier to assess the spatial distribution of stomata and group them on the leaf surface. To our knowledge this is the first time that a cascade classifier has been applied to plant microphotographs, and we were able to show that it can dramatically decrease the time needed to estimate stomatal density and spatial distribution.
References
Akita K, Hasezawa S, Higaki T (2013) Breaking of plant stomatal one-cell-spacing rule by sugar solution immersion. PLoS One 8:e72456. doi:10.1371/journal.pone.0072456
Assouline S, Or D (2013) Plant water use efficiency over geological time—evolution of leaf stomata configurations affecting plant gas exchange. PLoS One 8:e67757. doi:10.1371/journal.pone.0067757
Brendel O, Thiec D, Scotti-Saintagne C et al (2008) Quantitative trait loci controlling water use efficiency and related traits in Quercus robur L. Tree Genet Genomes 4:263–278. doi:10.1007/s11295-007-0107-z
Delgado D, Alonso-Blanco C, Fenoll C, Mena M (2011) Natural variation in stomatal abundance of Arabidopsis thaliana includes cryptic diversity for different developmental processes. Ann Bot 107:1247–1258. doi:10.1093/aob/mcr060
Franks PJ, Farquhar GD (2001) The effect of exogenous abscisic acid on stomatal development, stomatal mechanics, and leaf gas exchange in Tradescantia virginiana. Plant Physiol 125:935–942. doi:10.1104/pp.125.2.935
Hetherington AM, Woodward FI (2003) The role of stomata in sensing and driving environmental change. Nature 424:901–908. doi:10.1038/nature01843
Hultine KR, Marshall JD (2001) A comparison of three methods for determining the stomatal density of pine needles. J Exp Bot 52:369–373. doi:10.1093/jexbot/52.355.369
Lienhart R, Maydt J (2002) An extended set of Haar-like features for rapid object detection. Int Conf Image Process IEEE 1:900–903
Monclus R, Dreyer E, Villar M, Delmotte FM, Delay D, Petit JM, Brignolas F (2006) Impact of drought on productivity and water use efficiency in 29 genotypes of Populus deltoides × Populus nigra. New Phytol 169:765–777. doi:10.1111/j.1469-8137.2005.01630.x
Nicotra AB, Atkin OK, Bonser SP, Davidson AM, Finnegan EJ, Mathesius U, van Kleunen M (2010) Plant phenotypic plasticity in a changing climate. Trends Plant Sci 15:684–692. doi:10.1016/j.tplants.2010.09.008
Roussel M, Thiec D, Montpied P et al (2009) Diversity of water use efficiency among Quercus robur genotypes: contribution of related leaf traits. Ann For Sci 66:1–10. doi:10.1051/forest/2009010
Salomon S, Grunewald D, Stüber K et al (2010) High-throughput confocal imaging of intact live tissue enables quantification of membrane trafficking in Arabidopsis. Plant Physiol 154:1096–1104. doi:10.1104/pp.110.160325
Sellin A, Eensalu E, Niglas A (2010) Is distribution of hydraulic constraints within tree crowns reflected in photosynthetic water-use efficiency? An example of Betula pendula. Ecol Res 25:173–183. doi:10.1007/s11284-009-0641-2
Tanaka Y, Shiraiwa T (2009) Stem growth habit affects leaf morphology and gas exchange traits in soybean. Ann Bot 104:1293–1299. doi:10.1093/aob/mcp240
Viola P, Jones M (2001) Robust real-time object detection. Int J Comput Vis
Woodward FI, Kelly CK (1995) The influence of CO2 concentration on stomatal density. New Phytol 131:311–327. doi:10.1111/j.1469-8137.1995.tb03067.x
Zheng Y, Xu M, Hou R, Shen R, Qiu S, Ouyang Z (2013) Effects of experimental warming on stomatal traits in leaves of maize (Zea may L.). Ecol Evol 3:3095–3111. doi:10.1002/ece3.674
Acknowledgments
Silvère Vialet-Chabrand was supported by a doctoral grant from Université de Lorraine (France). The authors would like to thank the microscopy laboratory of the certified facility in Functional Ecology (PTEF OC 081) from UMR 1137 EEF and UR 1138 BEF at the research centre INRA Nancy-Lorraine, and in particular Didier Le Thiec and Nathalie Ningre for the sample preparation and treatment. The PTEF facility was supported by the French National Research Agency through the Laboratory of Excellence ARBRE (ANR-12-LABXARBRE-01), as well as by grants from FEDER, Région Lorraine and IFR 110. The UMR EEF 1137 was supported by the French National Research Agency through the Laboratory of Excellence ARBRE (ANR-12-LABXARBRE-01).
Conflict of interest
The authors declare that they have no conflict of interest.
Author information
Authors and Affiliations
Corresponding author
Additional information
Communicated by L. Gratani.
Appendix
Appendix
Data preparation
The command line to apply distortions on each microphotograph was:
opencv_createsamples -img./Pos/img.tif -num 100 -bg bg.txt -vec samples.vec -maxxangle 0.5 -maxyangle 0.5 -maxzangle 6.7 -maxidev 10 -bgcolor 120 -bgthresh 0 -w 9 -h 9.
Options | Values | Descriptions |
---|---|---|
-img | ./Pos/img.tif | A positive sample view |
-num | 100 | The number of positive samples to be generated |
-bg | bg.txt | Background description file; contains a list of images, which are used as a background for randomly distorted versions of the object |
-vec | samples.vec | Name of the output file containing the positive samples for training |
-maxxangle | 0.5 | The maximum rotation angle in x-direction in radians |
-maxyangle | 0.5 | The maximum rotation angle in y-direction in radians |
-maxzangle | 6.7 | The maximum rotation angle in z-direction in radians |
-maxidev | 10 | The desired maximum intensity deviation of foreground samples’ pixels |
-bgcolor | 120 | The background colour considered as transparent |
-bgthresh | 0 | All pixels within bgcolor±bgthresh are interpreted as transparent |
-w | 9 | The resulting sample width |
-h | 9 | The resulting sample height |
The command line to merge all binary files into one (merge.vec) used as input for a text file containing all filenames (samples.txt):
mergevec samples.txt merge.vec -w 9 -h 9.
Options | Values | Descriptions |
---|---|---|
-w | 9 | The resulting sample width |
-h | 9 | The resulting sample height |
Training
The command line for training cascade classifier was:
opencv_traincascade -data./traininghaar -vec merge.vec -bg bg.txt -numPos 10,000 -numNeg 3,000 -numStages 18 -precalcValBufSize 500 -precalcIdxBufSize 500 -featuretype haar -w 9 -h 9 -minHitRate 1 -maxFalseAlarmRate 0.45 -mode BASIC -maxWeakCount 200 -weightTrimRate 0 -maxDepth 2
Options | Values | Descriptions |
---|---|---|
-data | ./TrainingHAAR | The directory for the output files |
-vec | merged.vec | Name of the input file containing the positive samples |
-bg | bg.txt | Background description file; contains a list of images, which are used as a background for randomly distorted versions of the object |
-numPos | 10,000 | Number of positive samples used in training for every classifier stage |
-numNeg | 3,000 | Number of negative samples used in training for every classifier stage |
-numStages | 18 | Number of cascade stages to be trained |
-precalcValBufSize | 500 | Size of buffer for precalculated feature values (in Mb) |
-precalcIdxBufSize | 500 | Size of buffer for precalculated feature indices (in Mb). The more memory you have, the faster is the training process |
-featureType | HAAR | Type of features |
-w | 9 | The resulting sample width |
-h | 9 | The resulting sample height |
-minHitRate | 1 | Minimal desired hit rate for each stage of the classifier. Overall hit rate may be estimated as (min_hit_rate^number_of_stages) |
-maxFalseAlarmRate | 0.45 | Maximal desired false alarm rate for each stage of the classifier. Overall false alarm rate may be estimated as (max_false_alarm_rate^number_of_stages) |
-mode | BASIC | Selects the type of haar feature set used in training. BASIC use only upright features |
-maxWeakCount | 200 | Maximal count of weak trees for every cascade stage. The boosted classifier (stage) will have as many weak trees (≤maxWeakCount) as needed to achieve the given-maxFalseAlarmRate |
-weightTrimRate | 0 | Specifies whether trimming should be used and its weight |
-maxDepth | 2 | Maximal depth of a weak tree |
Rights and permissions
About this article
Cite this article
Vialet-Chabrand, S., Brendel, O. Automatic measurement of stomatal density from microphotographs. Trees 28, 1859–1865 (2014). https://doi.org/10.1007/s00468-014-1063-5
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00468-014-1063-5