An efficient method to reduce grain angle influence on NIR spectra for predicting extractives content from heartwood stem cores of Toona. sinensis
Plant Methods volume 16, Article number: 77 (2020)
A fast, reliable and non-destructive method is needed to qualify the extractives content (EC) in heartwood of T. sinensis cores in the breeding program for studying the genetic effect on EC. However, the influence of grain angle on near infrared (NIR) spectra prediction model for EC is unclear. In this study, NIR spectra were collected from both cross section and radial section of wood core samples in order to predict the EC in heartwood.
The effect of grain angle on calibration EC model was studied. Several different spectra pre-processing methods were implemented for calibration. It was found that standard normal variation (SNV) followed by 1st derivative yielded the best calibration result for T. sinensis EC. Grain angle had a significant influence on the predicted model for EC when using the whole NIR spectra. However, after testing a certain point of the prior variables for EC that were selected by the significant multivariate correlation (sMC), the influence of grain angle was significantly eliminated.
It is suggested that NIR spectroscopy is a promising method to predict EC in the solid wood without effecting grain angle.
Trees produce various types of wood timber for industry and society construction. One of the most valuable and popular types of wood, especially in China, is the natural durable wood with splendid colours. Natural durable wood has self-preservation ability to survive biological decay [1, 2]. Besides, different wood colours, for instance, yellow and red, potentially increase the wood value for end use. Therefore, natural durable wood with colours has been widely studied. In the tree stem, the inner part of wood is called heartwood, and the outside of wood is recognized as sapwood. As the tree grows, cells in the inner part of sapwood begin to die and accumulate massive secondary metabolites. Meanwhile, the sapwood turns into heartwood with natural durability and colour . However, traditional methods testing wood natural durability are costly and time-consuming. It is reported that the extractives in the heartwood play an important role in the formation of colour and natural durability . Decomposition and discolouration will occur when the extractives are removed from the durable wood . Therefore, the amount of EC in heartwood has been studied as a proxy for natural durability .
The variation of EC in heartwood is huge and can be decreased by genetic selection . There are different ways to determine the quantity of extractives in heartwood. Traditional methods such as Soxhlet and accelerated solvent extraction (ASE)  are time- and cost-consuming and not suitable for tree breeding and selection programs, which rely on the measurement of large number of samples. Therefore, a high throughput and rapid measurement method for EC is needed.
Near infrared spectroscopy (NIR) is a non-destructive technique that is used for the analysis of the composition of chemical compounds in general [9,10,11]. It is applied to determine the quantity of heartwood extractives in some tree species [12,13,14] and it yields promising and reliable results. The NIR spectra collected from different samples, either wood powder or solid, influence the performance of wood traits prediction model.
The models built on the different size of milled wood powder are different and perform higher accuracy than the model based on the solid wood when predicting chemical properties in eucalyptus wood with NIR spectroscopy . However, wood sample grinding is also a time-consuming step and it reduces the extractive content prediction time. EC prediction from the solid wood samples is a suitable alterative way for NIR model calibration.
NIR spectra taken from the solid wood samples are influenced by many factors, such as moisture content  and grain angle . It is claimed that the grain angle influences the EC prediction of Eucalyptus bosistoana with NIR spectra and this influence can be minimized by external parameter orthogonalization (EPO) algorithm . Alternatively, this influence will be reduced by feature selection methods. One of the most important feature selection methods that can help NIR calibrations to get rid of confounding effects [18,19,20] is called significant Multivariate Correlation (sMC) . It is aimed to find the most important variables in NIR spectra and can remove the irreverent variables that influence the accuracy of the model prediction when predicting the target chemicals content in plants. It is a good choice to conduct the method of feature selection combined with partial least squares regression (PLS). However, the important features in the NIR spectra for the grain angles and EC are little known.
T. sinensis is a native Chinese tree species that has been widely distributed in China. It has a long history of cultivation for its digestible buds in China. In addition, T. sinensis also has the advantages of fast growing and bright red heartwood which lead to its wide use in furniture and industry. It is widely studied in many fields, including the cultivation, reproduction, biological activity of T. sinensis, and physical and chemical characteristics of its wood. However, little is known about the nature durability and red colour timber. To establish a high quality breeding program for durability and red wood selection, an alternative way is needed to allow a fast and efficient measurement of the heartwood quality of T. sinensis. If NIR can be successfully used to analyse the heartwood properties without any grain angle influence, traditional methods which are time- and cost-consuming can be replaced. And consequently, it will give a lot of benefit for selection.
Hence, This study will focus on the effect of grain angle on NIR spectra obtained from T. sinensis cores, and study the possibility of applying NIR as a rapid and precise method to predict the extractives content from the solid core samples of T. sinensis without grain angle influence.
PLS models with full length of NIR spectra
Table 1 shows PLS regression models for calibration and validation from the spectra with and without pre-processing constructed with EC and grain angle. Calibration model has different accuracy between EC and grain angle. Regardless of the pre-processing methods, wood core NIR spectra combined with PLS model lead to a good result to discriminate wood longitudinal growth direction (0o) and cross section (90o). PLS regression model for EC shows lower R2 result comparing to grain angle. The number of latent variables (LVs) in PLS models appears to need more in grain angle than in EC. Compared to other different pre-processing methods, the PLS regression models combined with SNV + 1st derivative yield the best results with R2Cal of 0.83 and RMSECal of 1.35 for calibration and R2V of 0.78 and RMSEV of 1.44 for validation. However, different pre-processing methods do not promote much robust model for grain angle.
The result shows that SNV + 1st derivative performs the highest ability for EC prediction by PLS model. Therefore, SNV + 1st derivative pre-processing method was taken for optimal wavenumber selection. SNV+1st derivative spectra of wood discs are shown in Fig. 1. Although all spectra have a very similar shape, there is still huge variability in absorbance. The significant multivariate correlation of grain angle is mostly observed between 9000 and 7000 cm−1. There is some overlap with sMC of EC in this region. The effect of grain angle performing on the spectra from 9000 to 7000 cm−1 and 5000 to 4000 cm−1 is stronger than the region from 7000 to 5000 cm−1, especially stronger than the region around 8800, 7400, 7100 and 4200 cm−1.
Figure 2 shows the significant multivariate correlation (sMC) of EC (line dotted red) and grain angle (solid black) on PLS model for each wavenumber of the T. sinensis heartwood spectra. It can be clearly seen that the important wavelength variables for EC and grain angle have some overlap region. However, some regions can be clearly distinguished between EC and grain angle. The most important region for grain angle mainly is located at 8200 to 7800 cm−1. The region around 6000 and 8500 cm−1 is highly related to EC with no grain angle influence. Therefore, the important region that is only highly correlated to EC prediction (the both points in Fig. 2) was selected for PLS model calibration. The important region of the grain angle and other irrelevant variables have been removed from the NIR spectra.
PLS models with sMC selection
The PLS calibration models for EC and grain angle with these selected wavenumbers are shown in Table 2, In total, 19 wavenumbers are selected, which is accounting to less than 1% of the total number of wavenumbers. With the prior selection of wavenumbers for EC, the R2 of EC calibration is still high (0.84) with a low RMSE of 1.21 conversely. Simultaneously the R2 for grain angle has been hugely reduced from 0.90 to 0.36, which significantly reduces the influence of grain angle on NIR spectra when calibrating for EC. The reference values versus NIR predicted values plot of the leave-one-out cross-validation for EC in the calibration sets and validation sets are displayed in Fig. 3. It shows that the samples are reasonably well distributed both in calibration and validation. With the sMC selected variables, PLS model yields higher accuracy of EC prediction without grain angle influence.
The score plot of PLS models applying both full length of NIR spectra and the sMC selection variables are shown in Fig. 4. It shows clearly that without the sMC selection, the grain angle has significant influence on EC. The EC based on these two groups is clearly distinguished (Fig. 4a). However, improved with sMC selection, these two angle groups of the EC prediction are mixed together and the influence are successfully reduced (Fig. 4b).
The selected model was tested on the validation data. The one-way ANOVA test was used to compute the mean variance of two angles group. The results show that the prediction of EC by PLS model using the full spectra is significantly different between 0° and 90° angle. The predicted EC at 90° shows higher than that at 0°. However, the difference has been reduced with no statistically significant difference between 0° and 90° grain angle direction when taking use of the NIR model with sMC selected wavenumbers to predict the EC (Fig. 5). In addition, due to the lower RMSE and higher R2 of sMC model, the predicted distribution range of EC in these two grain angles by sMC selected wavenumbers model is smaller than using the full length of spectra model.
T. sinensis has a long history of culture for its digestible buds in China. The heartwood of T. sinensis is also valuable and has a huge potential furniture market . To analyze the wood properties for genetic selection, a fast and efficient way to realize the wood properties is needed. NIR spectra of solid wood is recognized as a potential method for predicting wood properties . Similar to our result, we successfully make use of wood cores NIR spectra to predict the EC in the heartwood of T. sinensis. The wood cores PLS model has shown a promising and reliable EC prediction results with a high R2V value of 0.78 and low RMSEV of 1.44% using the full SNV+1st derivative pre-processed spectra. However, the model for different grain angles also contributes a high accuracy which could influence the EC prediction result. The influence of grain angle of wood samples on the NIR spectra when other chemicals need to be predicted has been studied for a long time. In our study, we found that the EC prediction of T. sinensis from PLS model was influenced by the grain angles (Fig. 5). Supported by Li and Altaner  who employed NIR spectroscopy to predict the EC in Eucalyptus bosistoana and the result showed that the grain angle had a significant influence on the EC prediction model and the grain angle influence was removed after the EPO algorithm was applied, which was different from our study. Gierlinger et al.  evaluated the difference of spectra of heartwood from axial and radial face to classify three species of larch. They addressed that spectra from axial faces showed less heterogeneity among larches. Schimleck, et al.  compared the accuracy of two different NIR models based on the spectra of radial-longitudinal and radial-transverse face to predict wood property. The result showed that radial-longitude provided a stronger calibration model than radial-transverse. Fujimoto et al.  found that grain angle had an influence on the reflectance of spectra when collecting spectra from the wood surface on difference angles. The difference in model accuracy of grain angle estimation from the wood cross section and radial section can be explained by the variation of anatomical structures from the different surfaces. The exposure of parenchyma cells in radial section is higher than that in cross section. They are the main factors for mechanical properties and vary from different surfaces.
It is imperative to find out the dominant variables from multiple sources of NIR variation related to grain angle which should be removed when calibrating PLS model for EC. The sMC method which is developed by Tran, et al.  can be efficiently used for important variable selection. sMC can provide an optimal variables list which is most correlated to the response. These variables with minimal false negative and false positive errors improve the predictive performance of the PLS model. In our study, there are only 19 variables from the spectra using of sMC method and a high EC prediction model was contributed with a high R2V of 0.80 and a low RMSEV of 1.42, and meanwhile the grain angle influence has been highly reduced.
Two strong water absorbance bands exist around 7070 and 5100 cm−1, which are similar to the 1st overtone of OH- bands. It is reported that the peak band approximately 6000 cm−1, due to the 1st overtone of C–H stretching vibrations of methyl, methylene and ethylene groups, is mostly relevant to the extractives . Some differences between 0° and 90° have been observed from band 9000 to 7000 and 5500 to 4000 cm−1 and are related to cellulose [26, 28,29,30].
The significant multivariate correlation of grain angle is most observed between 8500 and 7500 cm−1. There is some overlap in this region with sMC of EC. However, NIR spectra have some high correlation with EC from region 6000 to 4000 cm−1 and have low correlation with grain angle. It shows no correlation with grain angle especially at ~ 6000 and 5400 cm−1. The similar result is obtained by Schwanninger et al. . It is claimed that it is possible to select NIR spectra for calibrating EC without grain angle influence. Hence, according to the sMC result for both EC and grain angle, the region of NIR spectra of high correlation with EC and low grain angle is selected for calibrating PLS model.
The robustness of our prediction model for EC hugely reduces the influence of grain angle, which makes it easier to measure the cores, because the grain in the cores is of uncertainty caused by the difficulty to locate the ‘up and down’ orientation of the tree in the core and the grain variation inherent in the tree. The model developed in this study provides a promising and reliable method for predicting EC in solid wood. Compared to grinding wood samples into powder, it provides a fast and non-destructive way while saving time and cost for analysing.
Our study demonstrates that it is possible to predict EC in heartwood of T. sinensis by establishing NIR PLS regression models from solid wood samples. With the prior wavenumbers selected by sMC method which reduces the effect of grain angle on NIR spectra, the result yields a promising and efficient prediction method for EC in heartwood without affecting grain angle. Furthermore, it is not necessary to consider whether the NIR spectra measures cores or the powder of the grind wood to obtain powder spectra for prediction. NIR spectra of solid wood serves as a fast and non-destructive method for forest tree breeders, and it improves the efficiency to screen T. sinensis for heartwood quality with the assistance of NIR spectroscopy.
Materials and methods
T. sinensis was planted in 2006 at Kaihua Forest Farm, Zhejiang province, P.R. China (118°20′E,29°12′N). 52 open-pollinated families were randomly block designed as 4 tree plots and repeated 10 times. The annual average precipitation and temperature in this site are 1814 mm and 16.3 °C respectively.
223 wood cores, with 14 mm diameter, were taken from the bottom of tree trunk of 12 years old T. sinensis. Cores were labelled directly on the surface and placed into a paper bag. All samples were being air-dried for a month until a stable moisture percentage was obtained. After being air-dried, the longitudinal growth direction (0o) and cross section (90o) of each core sample were marked. The surface of 0o and 90o were then sanded by a P100 medium‐sized grit sandpaper to obtain a consistent surface for NIR spectra collection.
NIR spectral measurements
NIR spectra from cores were taken at room temperature with a fibre optics probe (Antaris II System, Thermo Electron Company, USA) at wavelength from 9000 to 4000 cm−1 at 10 cm−1 resolution. Each NIR spectrum was taken at regular intervals (5 mm) from pith to bark in heartwood along the 0o and 90o surface of cores and the average weight was calculated. Average 64 times scanning of each spectrum leaded to one final spectrum.
Each core was cut into small chips with a chisel and milled into fine powder with a 2-mm screen. The wood powder sample was oven dried at 60 °C to obtain a stable moisture content. All core samples were prepared for extraction after the NIR spectra collection. The accelerated solvent extraction (ASE) was processed supported by the thermo accelerated solvent extractor 350 (Thermo Fisher Scientific, Bellefonte, PA, USA) with ethanol. The methods were similar to Li and Altaner . 4 g of wood powder was placed into a stainless steel cells and the setup extraction process was as following: 15 min static time, temperature 70°, 100% rinse volume and 2 extraction cycles. The extractive solutions of samples were collected into a dry aluminium foil tray with known mass and placed in the fume cupboard overnight for the ethanol to evaporate. Subsequently the extracts were dried in an oven overnight at 105 ℃ to remove moisture. The mass of the extract was determined and the extractives content was calculated on a dry mass basis. EC for the samples ranged between 1.23% and 16.49% with an average of 8.86%.
NIR spectra processing
To find out whether the grain angle has an effect on the NIR spectra for EC prediction in T. sinensis or not. The optimal range of the spectrum for accurate calibration was investigated. PLS regression was used to perform grain angle classification analysis and to predict EC. The data from the samples was divided into two data set by Kennard-Stone sampling with Euclidean distance , including 200 selected samples as calibration data and the remaining 37 as validation data set for PLS model calibration and validation. Different spectra pre-processing was applied on the NIR data sets before model calibration to character the best suitable pre-processing method, which includes standard normal variation (SNV), 1st and 2nd derivative of Savitzky-Golay algorithm with a 2 order polynomial and 15 window sizes. A filter method  which is called significant multivariate correlation (sMC) was carried out to find out the most important variable for grain angle and EC respectively and to eliminate the unimportant variables and develop a more reliable and robust model for EC prediction. The coefficient of determination (R2) and root-mean-square error (RMSE) derived from both the calibration (R2Cal and RMSECal) and validation (R2V and RMSEV) were implemented to track the model performance. Data analysis was conducted in R software (version 3.1.2) . The pls package  was used for PLS and sMC-PLS model performing and the plsVarSel  for sMC variables selection. The prospectr package  was used for NIR spectra manipulation and Kennard-Stone sampling, and the ggplot2 package  for visualization plot.
Availability of data and materials
Taylor AM, et al. Heartwood formation and natural durability-a review. Wood Fiber Sci. 2007;34(4):587–611.
Hillis WE. Heartwood and tree exudates. Berlin: Springer Verlag; 1987.
Hawley LF, et al. The relation between durability and chemical composition in wood. Ind Eng Chem Res. 1924;16:699–700.
Bush D, Walker J. Selecting and breeding eucalypts for natural durability. In: Proceedings of developing a eucalypt resource—learning from Australia and Elsewhere, Blenheim, New Zealand; 2011, p. 3–4.
Scheffer TC. Natural resistance of wood to microbial deterioration. Annu Rev Phytopathol. 1966;4(1):147–68.
Li Y, Altaner C. Predicting extractives content of Eucalyptus bosistoana F. Muell. Heartwood from stem cores by near infrared spectroscopy. Spectrochim Acta A Mol Biomol Spectrosc. 2018;198:78–87.
Li Y, et al. Genetic variation in heartwood properties and growth traits of Eucalyptus bosistoana. Eur J For Res. 2018;137(4):565–72.
Tappi T. Solvent extractives of wood and pulp, TAPPI test methods. Norcross: TAPPI Press; 2004.
Roberts CA et al. Near-infrared spectroscopy in agriculture. American Society of Agronomy Madison; 2004.
Zhao D, et al. Identification of red and NIR spectral regions and vegetative indices for discrimination of cotton nitrogen stress and growth stage. Comput Electron Agric. 2005;48(2):155–69.
Baillères H, et al. Near infrared analysis as a tool for rapid screening of some major wood characteristics in a eucalyptus breeding program. Ann For Sci. 2002;59(5–6):479–90.
da Silva Allan R et al. Assessment of total phenols and extractives of mahogany wood by near infrared spectroscopy (NIRS); 2013, p. 1.
Geladi P, et al. Data analysis of hyperspectral NIR image mosaics for the quantification of linseed oil impregnation in Scots pine wood. Wood Sci Technol. 2014;48(3):467–81.
Maniwara P, et al. The use of visible and near infrared spectroscopy for evaluating passion fruit postharvest quality. J Food Eng. 2014;143:33–43.
Gherardi Hein PR, et al. Effects of sample preparation on NIR spectroscopic estimation of chemical properties of Eucalyptus urophylla ST Blake wood. Holzforschung. 2010;64(1):45–54.
Giordanengo T, et al. Correction of moisture effects on near infrared calibration for the analysis of phenol content in eucalyptus wood extracts. Ann For Sci. 2008;65(8):8.
Schimleck L, et al. Estimation of the physical wood properties of green Pinus taeda radial samples by near infrared spectroscopy. Can J For Res. 2003;33(12):2297–305.
Wijewardane NK, et al. Moisture insensitive prediction of soil properties from VNIR reflectance spectra based on external parameter orthogonalization. Geoderma. 2016;267:92–101.
Barreiro P et al. Comparison of robust modeling techniques on NIR spectra used to estimate grape quality. In: IV International symposium on applications of modelling as an innovative technology in the Agri-Food-Chain: Model-IT 802; 2008, p. 367–72.
Minasny B, et al. Removing the effect of soil moisture from NIR diffuse reflectance spectra for the prediction of soil organic carbon. Geoderma. 2011;167:118–24.
Tran TN, et al. Interpretation of variable importance in partial least squares with significance multivariate correlation (sMC). Chemometr Intell Lab Syst. 2014;138:153–60.
Fan ZF, et al. Comparative studies on fiber morphology and chemical composition between Toona sinensis wood from plantation and natural forest. Subtro Plant Sci. 2003;3:34–7.
Pulkka S, et al. Prediction of stilbene content from heartwood increment cores of Scots pine using near infrared spectroscopy methodology. J Near Infrared Spec. 2016;24(6):517–28.
Gierlinger N, et al. Characteristics and classification of Fourier-transform near infrared spectra of the heartwood of different larch species (Larix sp.). J Near Infrared Spec. 2004;12:113–20.
Schimleck LR, et al. Comparison of Pinus taeda L. wood property calibrations based on NIR spectra from the radial-longitudinal and radial-transverse faces of wooden strips. Holzforschung. 2005;59(2):214–8.
Fujimoto T, et al. Application of near infrared spectroscopy for estimating wood mechanical properties of small clear and full length lumber specimens. J Near Infrared Spec. 2008;16(6):529–37.
Schwanninger M, et al. A review of band assignments in near infrared spectra of wood and wood components. J Near Infrared Spec. 2011;19(5):287.
Sinelli N, et al. Application of near (NIR) infrared and mid (MIR) infrared spectroscopy as a rapid tool to classify extra virgin olive oil on the basis of fruity attribute intensity. Food Res Int. 2010;43(1):369–75.
Christy AA, et al. The detection and quantification of adulteration in olive oil by near-infrared spectroscopy and chemometrics. Anal Sci. 2004;20(6):935–40.
Cozzolino D, et al. Relationship between wine scores and visible–near-infrared spectra of Australian red wines. Anal Bioanal Chem. 2008;391(3):975–81.
Kennard RW, Stone LA. Computer aided design of experiments. Technometrics. 1969;11(1):137–48.
Mehmood T, et al. A review of variable selection methods in partial least squares regression. Chemometr Intell Lab Syst. 2012;118:62–9.
R Core Team, R: A Language and Environment for Statistical Computing, R Foundation for Statistical Computing, Vienna, Austria; 2017.
Mevik B et al. Partial least squares and principal component regression. R package version 2.5-0;2015.
Stevens A, Ramirez–Lopez L. An introduction to the prospectr package. R Package Vignette, Report No.: R Package Version 0.1. 2014; 3.
Wickham H. ggplot2: elegant graphics for data analysis. Berlin: Springer; 2016.
This work was funded by Zhejiang Science and Technology Major Program on Agricultural New Variety Breeding (No. 2016C02056-12) and National Natural Science Foundation of China (No. 31570658).
Ethics approval and consent to participate
Consent for publication
The authors declare that there is no conflict of interest.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Li, Y., Dong, X., Sun, Y. et al. An efficient method to reduce grain angle influence on NIR spectra for predicting extractives content from heartwood stem cores of Toona. sinensis. Plant Methods 16, 77 (2020). https://doi.org/10.1186/s13007-020-00623-3