Hyperspectral Imaging Surface Analysis for Dried and Thermally Modified Wood : An Exploratory Study

Naturally seasoned, kiln-dried, and thermally modified wood has been studied by hyperspectral near-infrared imaging between 980 and 2500 nm in order to obtain spatial chemical information. Evince software was used to explore, preprocess, and analyse spectral data from image pixels and link these data to chemical information via spectral wavelength assignment. A PCA model showed that regions with high absorbance were related to extractives with phenolic groups and aliphatic hydrocarbons. )e sharp wavelength band at 2135 nm was found by multivariate analysis to be useful for multivariate calibration. )is peak represents the largest variation that characterizes the knot area and can be related to areas in wood rich in hydrocarbons and phenol, and it can perhaps be used for future calibration of other wood surfaces. )e discriminant analysis of thermally treated wood showed the strongest differentiation between the planed and rip-cut wood surfaces and a fairly clear discrimination between the two thermal processes. )e wavelength band at 2100 nm showed the greatest difference and may correspond to stretching of C�O-O of polymeric acetyl groups, but this requires confirmation by chemical analysis.


Introduction
Increased automation in wood-manufacturing processes would allow a more custom-oriented approach that encourages companies in the wood industry to move from traditional quality grading with high-speed visual inspection camera systems (VIS) to more sophisticated systems for the grading of sawn and further processed timber.
e VIS methods are in some cases not sufficiently precise and efficient because of wood variability and wood-treatment heterogeneity [1].
Near-infrared spectroscopy (NIR) is a well-known technology for the nondestructive analysis of wood.e advantages of the NIR technology are speed and the ability to measure a broad range of the chemical and physical properties, which make the technology promising for industrial use [2].e main challenge for developing an effective predictive model based on NIR data and for its further use in wood-manufacturing processes is, however, to find the reliable absorption range of interest in a highly heterogeneous material such as wood and to calibrate the model for quantitative process parameters assessment [3].Portable NIR sensors use point-based measurements that have to be developed experimentally, and they will not give a 2-dimensional spatial visualisation of the variation in NIR absorptions from a surface.is weakness can, at least partly, be reduced by using a more stationary technique like hyperspectral imaging for accurate data collection and model development and relating this information to other sources such as a portable NIR sensor.
Hyperspectral techniques can be used for the development of models that quantify the heterogenic chemical composition of the wood surface.
e objective of the current study was to use a hyperspectral imaging technique and follow the recommendations of Sandak et al. [4] to build a classification model for wood surfaces in the NIR spectral region.Hyperspectral imaging provides spatially resolved information of the wood surface in the NIR range, and selected wavelengths can be developing calibration models for specific compounds.
Industrial drying, and especially thermal modification, of wood influences the presence and structure of the wood constituents (cellulose, hemicelluloses, lignin, and extractives), and this may in turn influence the characteristics and consequently the service life of the wood material in different products.ere are a number of difficulties in describing the changes that take place when wood is heated.A range of chemical reactions take place simultaneously, and since these include both endothermic and exothermic reactions, the determination of the onset temperatures for the different reactions is nearly impossible.
e analysis is further complicated by interactions between reactions in different constituents.is means that the information obtained from an analysis of an isolated derivative of one of the components can be very different from what actually takes place inside wood.ere are not only interactions between the components in the wood but also interactions between the wood and the treatment atmosphere [5]. Figure 1 shows a schematic representation of the changes in wood components with increasing temperature under humid conditions.
Natural seasoning of sawn timber is the oldest way of processing sawn timber to remove water and increase its durability.Compared to drying of industrial timber in a kiln at a temperature far above 20 °C, natural seasoning takes a long time and the chemical composition remains close to the natural composition of the wood [6,7].In order to improve the industrial sawmill process, kiln drying was developed in the late 1800s to provide a fast and controlled drying process to reach the target moisture content 6-12% [8,9].Below 40 °C, it is mainly physical changes that occur in the wood, such as the emission of water and volatile extractives [10].Industrial kiln drying at a temperature of ca.70 °C is the predominant regime nowadays for Scots pine and Norway spruce [11], and at that temperature, the chemical changes occur mainly in the extractives and hemicelluloses.Wood dried at a temperature higher than 100 °C has been shown to have a lower carbohydrate content and lower susceptibility to mould growth than wood dried at lower temperatures [12,13].
ermal modification (TM) is a process whereby wood properties are altered by treatment at temperatures in the range160-260 °C with essentially no oxygen present.During TM, wood undergoes changes in its chemical and physical properties by degradation and partial removal of polymeric components, leading to a loss of mass of the wood material [14]. is modification of the chemical structure during TM results in a darkening of the wood, and thermally modified timber absorbs less moisture than unmodified timber [15].
e TM process removes extractives from the sawn timber, and this can be an advantage, for example, when TM timber is coated due to less bleed of resin through the coating [5].
e degradation temperatures of cellulose and lignin are considered to be higher than those of hemicelluloses and extractives (Figure 1).e degradation of cellulose and lignin is, however, hard to predict, and some studies show that these components can also start to degrade at lower temperatures such as 110 °C where minor changes start in the guaiacyl lignin units [14,16].
Extractives, both native and those formed by degradation in the TM process, tend to migrate towards the surface of wood during drying and TM [17], and some extractives volatilize already at moderate temperatures [10].
In the present work, the chemical composition of surfaces of naturally seasoned, kiln-dried, and thermally modified sawn timber from two different processes (the ermoD ® and WTT processes) has been studied with NIR (the wavelengths are from 900 to 2500 nm).e naturally seasoned and the kiln-dried timber were processed under atmospheric condition, the ermoD-modified timber was treated in superheated steam at a temperature of 212 °C under atmospheric pressure; in the WTT process, the sawn timber was processed in saturated steam at a temperature of 170 °C at a pressure of up to 6 bar.Under such conditions, it was possible to achieve a modification similar to the ermoD process, but at a considerably lower temperature [18,19].

Wood Material.
A total of 40 green (never-dried wood) flat-sawn sideboards, 22 × 100 mm in cross section and with a length of at least 4.5 m, from ten different Scots pine (Pinus sylvetris L.) trees were collected directly after sawing from a sawmill in Northern Sweden.e boards were cut into samples with a length of 1 metre giving four end-matched boards.Samples containing only sapwood were selected for the study, and these boards were divided into two groups for natural seasoning or kiln drying.
e naturally seasoned samples were single-stacked between 25 mm thick stickers and dried indoors at a temperature of 20 °C and about 10% relative humidity, without any additional air circulation.e average moisture content 2 Journal of Spectroscopy after 30 days was 4.2 ± 0.6%. is was a very "soft" drying where the migration of extractives to the wood surfaces during the drying was expected to be low.e kiln-dried samples were double-stacked between 25 mm thick stickers with the bark-side surfaces of each pair turned outwards in order to achieve a steered flow of water/moisture from the inner part of the boards to the barkside surfaces.e kiln drying was performed in a small-scale laboratory kiln with air circulation (3 m/s) and a maximum dry-bulb temperature of 75 °C, for 45 hours.
e average moisture content after drying was 13.9 ± 3.8%.Compared to natural seasoning, this drying process was expected to be harsher and to lead to more extractives and decomposition components on the surfaces after drying.
Planed thermally modified Scots pine (Pinus sylvestris L.) boards were obtained from the ermoD ® and WTT ® in- dustrial processes.e ermoD boards were treated according to the Finish ermowood © process at 212 °C by Heatwood AB in Hudiksvall, Sweden.e process was run as it is described in ermoWood Handbook [20] for the class ermoD.e ermoD process consists of three phases: (1) Temperature increase and high-temperature drying, using heat and steam: the temperature is raised rapidly to 100 ereafter, the kiln was warmed until 170 °C and held constant (170 °C) for 30 minutes.During the process, the pressure was applied when the kiln temperature reached 60 °C and the pressure was raised steadily together with the temperature up to 6 bar at 170 °C.After thermal modification at 170 °C, the kiln was cooled down first to 80 °C for 8 hours and to 65 °C for 2 hours.e pressure was steadily decreased to 0 when the kiln temperature reached 60 °C.
After drying and thermal modification, all the samples were sawn to give specimens with dimensions of 15 × 50 × 220 mm (T × W × L), which means that the thermally modified specimens had both planed and sawn surfaces.All the specimens were stored under the same conditions at room temperature for five months prior to the NIR measurements.

Image Acquisition.
A push-broom system equipped with high-speed hyperspectral camera (Specim SWIR 3) in the short-wave infrared (SWIR) 900-2500 nm range with a cryogenically cooled mercury-cadmium-telluride (HgCdTe) detector with 384 spatial pixels and 288 spectral band resolution was used for the NIR measurements (Figure 2).e camera pixel size was 24 × 24 µm, and a 31 mm focal length lens was used.Internal dark and white reference (Spectrolon) standards were used, i.e., the dark adjustment was based on camera dark current and Spectrolon was used as a white reference before each measurement.
e samples for imaging were divided in two groups: (1) naturally seasoned and kiln-dried specimens and (2) thermally modified specimens.ree naturally seasoned and three kiln-dried matched specimens were randomly selected from the sample group, and a cross-cut was prepared from each specimen.A naturally seasoned specimen attacked by stain-fungus growth was added to the dataset.e sample origin is listed in Table 1.
Six of the specimens had fine-sawn surfaces, and two had a rougher surface in order to examine the influence of surface conditions on light reflection.e specimens were placed randomly on the conveyer belt in order to obtain a representative light-depth penetration during imaging.All the measurements were made on sapwood cross-sections, with camera-belt movement in the tangential direction.
For the hyperspectral image analysis, data for the naturally seasoned and kiln-dried specimens were combined with data for samples from the thermal modification processes, ermoD, and WTT, using a "merge" function in the Evince software version 2.7.9 software, Prediktera, Umea, Sweden [21].A mean-centring procedure was applied as a general preprocessing technique for all the data sets collected.Results from the merged digital images are presented in Figure 3.
e standard RGB images of the dataset in Figure 3 show that the planed surfaces of the ermoD (Figure 3(b)) and WTT (Figure 3(d)) had a more intense colour than the other surfaces.

Image Cleaning and Processing.
e complete data matrix from eight specimens of naturally seasoned and kilndried groups and four specimens of thermally modified wood contained 1,875,840 observations and 288 variables (spectral bands) as measured parameters.e merged absorbance images were exported and analysed with Evince software version 2.7.9 [21].
Hyperspectral image modelling of the multiple image dataset in Figure 3 was used to determine the useful area of interest to study the influence of the different factors (wood drying and thermal treatment).Principal component analysis (PCA) was used to clean background (conveyer belt) Journal of Spectroscopy and edge effects by the brushing method [21].Mean centering and base-line correction were applied to obtain clear classes in the score plots.Eight wavelengths at the beginning of the spectral range were deleted due to the darker colour of the TM samples [22] so that only the data between 980 and 2500 nm were analysed.e final spectral range included measurements of 280 wavelength bands, and this was used in the PCA model.Partial least squares discriminant analysis (PLS-DA) modelling was applied to data for the thermally modified specimens to differentiate between thermally modified processes and surfaces.e final PCA model included only a base-line correction for mean-centred data.

Results and Discussion
e merged and "background cleaned" hyperspectral dataset from the wood surface images in Figure 3 was processed by PCA, and the results are presented in Figure which relates spatial data from the hyperspectral images to positions in a score plot with a grouping of the data (Figure 4(a)) and also provides spectral information (Figure 4(b)).In Figure 4(a), five clusters of the absorbance image can be seen (numbered arrows).ese clusters are related to particular areas in the wood surfaces.e PCA model used to evaluate differences in the combined hyperspectral image, which made it possible to identify main distinctions among the samples and to see the grouping pattern in the dataset.
e PCA model explained the variance of the data where the index R2X_cum � 0.97 (eigenvalue 3.47) explained variance of X matrix that was in our case the wavelength numbers.After cleaning (background and edge effect removal), the PCA model was improved (R2X_cum � 0.99461, eigenvalue 1.3426) with four components.
e first and second principal components (PC) of the PCA model explained 94% of the total sum of squares (%SS) and 4.34% SS of the data variability, respectively.
Six zones can be identified in the score plot in Figure 4(a) related to the specimens and surface characteristics in the RGB image of the surfaces presented in Figure 3: (1) Colour difference in knots due to the presence and conditions of extractives and a higher density than the surroundings.e area indicated by a circle in the score plot is related to the knots and latewood "bow" close to the knot on the upper right-hand side of the surfaces of ermoD-modified wood (Figure 3  presented as an average single spectrum in Figure 4(b), indicating that there is no spectral difference.
e spectral band assignment of the NIR spectrum in Figure 4(b) was compared to the of wood and wood components provided by Schwanninger [23].e peaks in the average spectrum in Figure 4(b) are related to pixels in images of naturally seasoned and kiln-dried samples and described in Table 2.
PC2 of the area related to the naturally seasoned and kiln-dried specimens indicated by the red arrow in Figure 4 is presented as a 2D image in Figure 5.It was confirmed that there was no difference between the naturally seasoned and the kiln-dried wooden surfaces.
Together, PC1 and PC2 describe 98.3% of the data variation.e Contour 2D image and the loading plot for PC2 are shown in Figure 6. e PC2 is dominated by the variation in the 1972 nm and 2135 nm wavelengths regions.e peak at 1972 nm is linked to changes in moisture content in the wood surface.e peak at 2135 nm corresponds to C ar -H stretching and C�C stretching in lignin and extractives and to C-H stretching and C�O stretching of acetyl groups in hemicelluloses [23].ese peaks can be used for   2). 6 Journal of Spectroscopy multivariate calibration of the difference between naturally seasoned/kiln-dried wood and thermally modified wood.e red areas in the PC2 score image shown by a red circle in Figure 4(a) are related to the small red areas in 5 due to presence of knots.
e average spectrum of the red area of the ermoD surfaces in Figure 6(a) is presented in Figure 7. e detailed interpretation of the spectral signal recommended by Schwanninger has been combined with suggestions from Wokman and Weyer [24] and is described in Table 3.
e average spectrum of the surface contaminated by fungi is presented as a green line in Figure 8. e spectrum of the fungal-attacked surface does not differ greatly from the average spectrum of the naturally seasoned and kiln-dried samples (Figure 8).
e regions where the greatest difference in the minimal preprocessed spectra was observed was the 1100-1200 nm region and at wavelengths longer than 1650 nm (Figures 7  and 8).
e absorption in the regions around 1695 and 1744 nm is greater in Figure 7 than in Figure 8 and may be related to extractives.
In a previous study, it was shown that low-molecular sugars and fatty/resin acid compounds migrate to naturally seasoned and kiln-dried surfaces [25].It is known that chemical compounds are degraded and that new compounds such as extractives/phenols are formed during thermal modification [26].In the present study, it was not possible to distinguish the signals of fungal-attacked wood from those of the nonattacked wood, due to an inability to identify the fungal species that contaminated the material and to assign bands with the polysaccharide matrix.
A discriminant analysis of the four different surfaces of the thermally modified specimens (b, c, d, and e in Figure 3) was performed, and the result is shown in Figure 9. e greatest differentiation was found between the planed and rip-cut surfaces, but a rather clear discrimination was also found between the two thermal modification processes.e score plot of PC1 and PC4 shows a clear differentiation between the surfaces (Figure 9(a)), and the model coefficients for PC1 and PC4 indicate the wavelengths that are strongest for the discrimination but they do not give the answer without further analysis.e model showed high R (3) (5)  3).
(explained variation) and Q (predicted variation) values (0.99 and 0.77, respectively), which indicate a clear difference in the NIR spectra for PC4 in Figure 9. e wavelength band at 2100 nm (arrow in Figure 9(b)) is especially interesting and may be related to the C�O-O of polymeric stretching [23], which may be related to a hydrolysis of acetyl groups to volatile carboxylic acids [27].e studied surfaces had a heterogeneous chemical nature due to tree growth factors and sawing patterns and because of drying and thermal modification.In addition to the wood diversity and processing factors, biological contaminants from the surroundings probably also influenced the chemical properties of the wood surface, but this influence is suggested to have a minor influence on the results of this study.

Conclusions
e use of hyperspectral imaging and multivariate analysis makes it possible to distinguish (a) Scots pine wood surfaces from two different thermal modification processes, (b) a ripcut surface from a planed surface, and (c) surfaces of wood thermally modified from surfaces of naturally seasoned and kiln-dried wood.It was not however possible to distinguish between naturally seasoned and kiln-dried surfaces.
Regions with a high absorbance were related to wood components such as lignin, cellulose, and hemicellulose as well as to extractives with phenolic groups and aliphatic hydrocarbons.e band difference related to the peak at 2148 nm obtained from a PCA model was found to be useful for multivariate calibration between naturally seasoned and kiln-dried wood and thermally modified wood.
PLS-DA of thermally modified wood showed the greatest differentiation between a planed wood surface and a rip-cut surface and a rather clear discrimination between the two thermal processes.e wavelength band at 2100 nm revealed the greatest distinction and may correspond to C�O-O of polymeric stretching of acetyl groups.
e hyperspectral imaging in combination with simply operated software opens great opportunities for differently processed wooden surfaces.For the development of proper calibration and prediction models, however, the main wood components with described variability have to be chemically analysed in order to move from the laboratory scale to practical implementation.

Figure 1 :
Figure1: A schematic representation of changes in wood components with increasing temperature under humid conditions, but without regard to time[5].

Figure 2 :
Figure 2: Test setup for wood imaging: (a) the spectral camera and (b) the conveyer belt for sample movement.

Table 1 :
e random positions of specimens from naturally seasoned and kiln-dried specimens.
(b)).(2) e rip-cut surface of specimens from ermoD and WTT processes represented by the area indicated by the yellow arrow.(3) Almost all rip-cut surfaces of the WTT process and unexpectedly the areas in air-dried samples represented by the area indicated by the violet arrow.(4) Naturally seasoned and kiln-dried specimens represented by the area indicated by the red arrow.(5) e planed surface of the WTT modification specimen represented by the area indicated by the green arrow.(6) Planed surfaces of thermally modified specimens (thermoD and WTT processes) represented by the area indicated by the blue arrow.e spectra of pixels in the image related to naturally seasoned and kiln-dried specimens (Figure 3(a)) show spectra from TM and air/kiln-dry for comparison and

Figure 4 :
Figure 4: (a) Score plot after background image cleaning, and (b) average spectrum of image related to the surfaces of the naturally seasoned and kiln-dried specimens shown in Figure 3(a) (numbers relate to description below and to Table2).

Figure 5 :
Figure 5: Contour 2D image of PC2 related to the area representing data from naturally seasoned and kiln-dried wooden surfaces indicated by red arrows in Figure 4(a).

Figure 8 :
Figure 8: e average spectrum of naturally seasoned and kiln-dried wood surfaces (red line) and the average spectrum of surfaces contaminated by fungi (green line).

Figure 7 :
Figure7: e average spectrum for the red area (knots) on the ermoD surface in Figure6(numbers related to Table3).

Figure 9 :
Figure 9: (a) Score plot of PC4 versus PC1 for the two thermal modification processes and (b) loadings for PC4 in PLC-DA model.e arrow shows the greatest difference in the spectral dataset.
During the first hour, the temperature was raised to 40 °C and prior vacuum was applied.During the next 45 minutes, the temperature was raised to 60 °C and held constant (60 °C) for 25 minutes.ekiln was warmed up to 140 °C during 4 hours and held constant (140 °C) for 30 minutes.e kiln was further warmed up for around 2 hours until the temperature reached 155 °C and held constant (155 °C) for 15 minutes.
°C. ereafter, the temperature is increased steadily to 130 °C.e total time is 12 hours.(2)ermalmodification: the kiln is increased up to 212 °C.When the target level has been reached, the temperature remains constant for 3 hours.etotal time is 12 hours.(3)Cooling and moisture conditioning: the temperature is lowered by using water spray systems.When the temperature has reached 80-90 °C, the wood is remoistured to reach the wood moisture content to 4-7%.e total time is 12 hours.eWTT boards were thermally modified at 170 °C according to the Danish WTT process by the Uteträ company in Arvidsjaur, Sweden.

Table 2 :
Band assignment from average spectrum of naturally seasoned and kiln-dried wood.

Table 3 :
Band assignment for the average spectrum of naturally seasoned and kiln-dried wood.