Abstract
Current terahertz (THz) spectroscopy techniques only use the coherent light beam for spectral imaging. In the presence of electromagnetic scattering, however, the scattering-mitigated incoherent beams allow for flexible emitter-detector geometries, which enable applications such as seeing through turbid media. Despite this potential, THz spectroscopy using diffuse waves has not been demonstrated. The main obstacles are the very poor signal to noise ratios of the diffused fields and the resonance-like spectral artifacts due to multiple Mie scattering events that obscure the material absorption signatures. In this work, we demonstrate diffuse THz spectroscopy of a heterogeneous sample through turbid media using a novel technique based on the wavelet multiresolution analysis and the bimodality coefficient spectrum, which we define here for the first time using the skewness and kurtosis of the spectral images. The proposed method yields broadband and simultaneous material characterization at detection angles as high as 90° with respect to the incident beam. We determined the accuracy of the wavelet-based diffuse spectroscopy at oblique detection angles, by evaluating the area under the receiver operating characteristic curves, to be higher than 95%. This technique is agnostic to any a priori information on the spectral signatures of the sample materials or the characteristics of the scattering medium, and can be expanded for other broadband spectroscopic modalities.
Subject terms: Terahertz optics, Applied optics, Biophotonics, Imaging and sensing, Optical spectroscopy
Introduction
Diffuse optical imaging techniques have made it possible to investigate objects hidden beneath opaque scattering layers1,2. The spatial3 and temporal4 control of light propagation through an inhomogeneous turbid medium using wavefront-shaping techniques5 have enabled super-resolution imaging in applications such as fluorescence microscopy6. Computational techniques based on the analysis of the speckle-pattern correlation functions have simplified the experimental geometries needed for single-shot narrowband imaging through scattering layers7. Additionally, computational methods such as diffusing photon tomography8, diffusing temporal-field correlation analysis9,10, and speckle-pattern tomography through correlations of the light’s interference patterns11 have enabled narrowband diffuse spectroscopy for investigating the heterogeneity in dynamic turbid media. However, these diffuse optical spectroscopy techniques have been limited to narrowband systems and therefore lacked broadband spectroscopic capabilities for material characterization. In contrast, the temporal correlations of the diffused broadband THz electric fields have been utilized to characterize single scattering events in a turbid medium12,13. Yet, broadband diffuse THz spectroscopy has not been demonstrated, in part due to the spectral artifacts caused by the multiple scattering events, which can obscure the characteristic absorption resonances of the sample materials. In this work, we demonstrate diffuse THz time-domain spectroscopy (THz-TDS) at oblique detection angles using a novel computational approach based on the wavelet multiresolution analysis (MRA) of the diffuse THz extinction spectra to simultaneously resolve the resonant frequencies of different materials in a heterogeneous sample buried beneath a turbid scattering medium.
Radiation at THz frequencies can penetrate nonconducting materials that are opaque at optical wavelengths and provide sub-millimeter lateral and sub-picosecond axial resolutions14,15. THz light has been employed for applications ranging from noninvasive diagnosis of the skin carcinoma16,17 to the detection of illicit drugs and explosives18–23. These applications often involve seeing through turbid media24–26, where the presence of discrete scatterers in the form of wavelength- and sub-wavelength-size granular particles or air voids results in classical electromagnetic scattering27. In the electromagnetic scattering theory, traveling a distance longer than the Boltzmann transport mean free path randomizes the propagating beam into ballistic and diffusive fields28. THz-TDS techniques mostly use the ballistic and quasi-ballistic portion of the transmitted THz light15. They either ignore the diffused THz waves29,30 or employ them only by averaging with the ballistic forward-scattered fields31. For example, the effect of volume scattering in pressed pellets of materials were studied using forward-scattered THz electric-field transmission measurements29,30,32–36. However, utilization of only diffusely-scattered waves critical in studying hostile and uncooperative samples, or in detection geometries without access to the narrow cone of the forward-scattered beams, has not been investigated. The main obstacles in diffuse THz spectroscopy are the very poor signal to noise ratios (SNR) of the scattered fields31,37 and the appearance of scattering-induced artifacts in the form of wavelength-dependent extinction and anomalous spectral features.
Here, we demonstrate for the first time diffuse spectroscopy using the spectrally encoded oblique THz beams with high sensitivity and specificity. We present a robust computational approach to identify the constituent chemicals of a heterogeneous sample buried beneath a turbid scattering medium. Our experimental methodology consisted of reconfiguration of a THz-TDS transmission setup to collect both the ballistic and diffused rays by scanning a 180-half-plane field-of-view. We employed the wavelet multiresolution analysis to extract the spectral signatures from the diffuse extinction spectra, which presented a complicated superposition of the materials’ characteristic responses and the scattering-induced artifacts. The extinction spectra were reconstructed from wavelet bases at specific scales, which were selected by minimizing a cost function defined using the total variation in the bimodality coefficients of the spectral images. We discovered that the bimodality coefficient spectrum, defined using the skewness and kurtosis of the spectral images, leads to simultaneous broadband recognition of the absorption resonant frequencies. We demonstrate the accuracy of our method through the component spatial pattern analysis18,38,39, achieving an area under the Receiver Operating Characteristic (ROC) curve better than 0.99 in the forward-scattered beams, and 0.95 using only the diffuse THz beams at oblique angles.
Results
Diffuse THz spectroscopy
Our experimental apparatus consisted of a modified THz spectrometer, shown in Fig. 1a, for obtaining THz-TDS measurements using both ballistic and diffuse THz waves. In the emission arm, THz pulses generated by optical excitation of a photoconductive antenna (PCA) using 1560 nm pulses of a femtosecond laser were collimated and focused on the imaging target. As it is shown in the schematic of the measurement setup in Fig. 1a, the detection arm composed of the collimating and focusing lenses and the fiber-coupled PCA detector was rotated in a 180 half-plane around the center axis of the sample cell and recorded signals at a step size of . This step size was selected based on the beam divergence angle, which was calculated using the diameter of the collimated beam and the focal length of the focusing lens, to ensure no overlap between measurements at adjacent angles31,40. Figure 1a also illustrates an example incident THz pulse along with waveforms recorded at forward and oblique detection angles. It can be noticed that the diffused time-domain pulses do not resemble a typical single-cycle THz pulse. They instead exhibit a superposition of multiple-scattered and attenuated fields with different times of arrival13. For visualization, signals at oblique angles were multiplied by normalization factors, given in Fig. 1a for two representative detection angles. Figure 1b illustrates the angular distribution of the THz spectral power measured through the imaging target. It can be noted that the power of the scattered radiation is confined significantly in the narrow cone of the forward-scattered waves, and the SNR declines by 60 dB from to . In the supplementary note 1, we discuss an analytical formalism for the prediction of angular scattering patterns using the Mie scattering theory. In this work, we present a novel computational approach for extraction of reliable spectroscopic information from diffuse beams at arbitrary detection angles as high as 90.
The imaging target was a sample disk with its area divided into three regions, as shown in Fig. 1c, where each region was filled with a different chemical, namely -lactose monohydrate, 4-aminobenzoic acid (PABA), and high-density polyethylene (HDPE), covering the red, blue and green regions in Fig. 1c, respectively. Additionally, the sample disk was embedded inside a turbid scattering medium, composed of loosely-packed low-density polyethylene (LDPE) powders with 180 m mean particle size, yielding a 0.3 g/cm volume density. The target was contained in a sample cell made from two 9.5 mm-thick HDPE slabs, where a 4.5 mm-thick reservoir was machined into one of the slabs, as shown in Fig. 1d. Therefore, the average thickness of the scattering layer over the sample disk was 2.5 mm. Figure 1e compares the extinction spectra of the sample component chemicals, where the distinct resonant signatures of -lactose and PABA can be observed having different spectral shapes and properties. These shapes of the absorption features are characterized using a resonant signature’s height and its full width at half maximum (FWHM) in the Lorentz oscillator model41. Unlike -lactose and PABA, polyethylene (HDPE or LDPE) is transparent at THz frequencies and does not have any characteristic resonances. The extinction coefficients in Fig. 1e are measured using separate sample pellets made of each chemical (i.e., -lactose monohydrate, PABA, and HDPE). These measurements are acquired in transmission geometry without any scattering layers in the beam path. The transmission measurements through the samples are deconvolved by a reference measurement through the air to calculate the extinction coefficients. To form spectroscopic images the sample housing containing the imaging target and the scattering medium was raster scanned at each detection angle, resulting in -pixel spatiotemporal THz data with pixel size of mm, corresponding to the beam size at the focus.
The approximations to the solution of the Maxwell’s equations applied to the problem of electromagnetic scattering by spherical particles are divided into three domains based on the dimensionless size parameter , where is the circumference of the scattering particle, and is the wavelength of the incident radiation in the medium. Based on the value of x, the relevant scattering regimes are referred to as the Rayleigh scattering (), Mie scattering (), and geometric scattering (). Here, we find that when m (for the LDPE scattering layer) in the frequency range between THz (). This range covers more than an order of magnitude variation in the size parameter due to the broadband nature of the THz radiation in a THz-TDS system. In contrast, the average size of the HDPE particles in the pellet sample, as reported by the manufacturer, was 4.5 m, while the median size of the -lactose monohydrate and PABA powders was 8 m and 7 m, respectively. Therefore, electromagnetic scattering by HDPE, -lactose monohydrate, and PABA powders lies on the boundary of Rayleigh and Mie scattering regimes. For a more detailed discussion of the scattering regimes, we refer the reader to the Supplementary Information 1.
Figure 1f-h exhibit the diffuse spectroscopy of the sample component chemicals through the extinction spectra measured at different detection angles. They compare the extinction spectra of HDPE, -lactose monohydrate, and PABA, respectively, at . Each line in Fig. 1f-h represents the average extinction spectrum of each material over its corresponding pixels, along with its standard deviation. It can be noted that in addition to a 60 dB drop in the signals’ spectral power from to , the characteristic absorption signatures of the -lactose monohydrate and PABA were obscured by the scattering-induced spectral artifacts at diffuse angles. Moreover, averaging over multiple pixels associated with each material, which is considered a standard technique for eliminating the scattering artifacts33, has not improved the oblique-angle measurements. In Fig. 1g-h, the observation of resonances at higher frequencies is even further hindered due to the frequency-dependent nature of the multiple scattering effects. These spectral artifacts are further discussed in the supplementary note 1. Results in Fig. 1g-h confirm that in the oblique-angle measurement geometries the extinction spectra represent a superposition of a material’s characteristic response and the scattering-induced deterministic Mie resonances, which will impede accurate spectroscopic analysis.
Figure 2 illustrates the challenges in spectroscopic imaging through a turbid scattering medium, even at forward-scattered geometries, as shown schematically in Fig. 2a. Figure 2b-d exhibit the images of the normalized extinction coefficients formed at 0.3 THz (no absorption lines—control experiment), 0.53 THz (lactose’s resonant mode), and 0.6 THz (PABA’s resonant mode) at detection angle in the presence of the scattering layer. It can be observed that the area covered by each chemical is not clearly discernible in these images, and the image shown in Fig. 2e, which shows the superposition of the images in Fig. 2b-d, does not provide an accurate image of the sample chemicals. Moreover, as it will be shown in the following sections, the scattering effects will be more severe in diffuse spectroscopic imaging, . This is because, as shown in Fig. 1b, the diffusely scattered spectral power drops by approximately 60 dB when comparing the measurements at detection angles and . Therefore, developing computational techniques to identify and remove such scattering artifacts is crucial for imaging through turbid scattering layers.
Scattering mitigation through wavelets and bimodality spectral analysis
The electromagnetic scattering in THz-TDS measurements through inhomogeneous media can alter or obscure the characteristic spectral signatures of the sample. Various works have contributed to understanding the scattering effects on the THz spectra. In particular, it has been shown that the granular scattering in pressed pellets appears as a strong frequency- and particle size-dependent attenuation superimposed on the coherent THz fields29. Analytical models, such as the dense medium theory within the quasicrystalline approximation (QCA)29, and numerical methods incorporating the Mie partial scattering amplitudes have been developed to estimate the multiple scattering loss in granular composite materials35. The extinction spectra of loosely-packed nonabsorptive particles have also been modeled using a frequency-dependent power law, 33,42. Yet estimation of the scattering-induced extinction does not describe a method for removal of these effects and identification of resonant frequencies from the distorted or obscured spectral signatures. Therefore, estimating the scattering contribution in the extinction coefficient of materials with characteristic absorption signatures requires more advanced computational approaches. Moreover, previous studies have mainly focused on estimating the scattering loss in the ballistic regime29,30,32–36, and the effects of volume scattering on diffuse THz fields have not been investigated. Here, we present a robust computational approach based on the wavelet multiresolution analysis (MRA) of the THz extinction spectra along with the kurtosis and skewness of the spectral images, presented as a new spectroscopy concept dubbed the bimodality spectrum, to reliably identify the characteristic resonant frequencies using the scattered THz waves in both ballistic and diffusive regimes.
Wavelet transforms produce multi-resolution signal presentations by filtering a signal with a set of pre-defined wavelet and scaling filters at different scales, while preserving the locations of the distinct signal features43–45. Using the wavelet MRA, a discrete THz extinction spectrum, , can be expressed as a linear combination of scaling and wavelet basis functions46. In this way, the scaling function provides a coarse-scale approximation of , while the wavelet functions return its details at successive dyadic scales. The jth-level wavelet detail coefficients are given by,
1 |
where represents a wavelet basis function at the normalized scale , and are the wavelet coefficients generated using 43,44. Here, we used the maximal overlap discrete wavelet transform (MODWT) pyramid algorithm to compute the wavelet and detail coefficients. Spectroscopic material identification using the MODWT decomposition of the THz extinction spectra is reduced to finding the wavelet bases’ scales that correctly capture the characteristic spectral features, which itself depends on the properties of a resonant signature, i.e., its height and FWHM. Here, we developed an optimization procedure based on the bimodality coefficient in the THz spectral images to find these wavelet bases objectively.
In broadband spectral imaging of a heterogeneous sample, images formed at fingerprint absorption bands yield a higher contrast21. The modal characteristics of an image histogram distribution can be used to assess its contrast47, where a multimodal distribution can indicate a higher contrast. To illustrate this idea, Fig. 2j-m compare the histogram of the images formed at the PABA resonant frequencies at 0.6 and 0.8 THz, shown in Fig. 2f,g, with the histogram of the images formed at two off-resonant frequencies, namely 0.7 and 0.9 THz, shown in Fig. 2h,i. It can be seen that the histograms at 0.6 and 0.8 THz, shown in Fig. 2j,k, demonstrate two well-separated modes, whereas the histograms at 0.7 and 0.9 THz, shown in Fig. 2l,m, are either unimodal or the two modes are very close together and overlap. To quantitatively evaluate this modal behaviour, we used the bimodality coefficient, which for an image with n pixels is given by48,49
2 |
where and represent the skewness and kurtosis of the spectral image at frequency f. The skewness and kurtosis are the third and fourth-order standardized moments of an image around its mean, respectively. Their corresponding equations are given in the Methods section. The skewness depends on the asymmetry of a histogram distribution, whereas kurtosis depends on its tailedness50,51. The value of the bimodality coefficient varies between 0 and 1, where a greater than 5/9, i.e. that of a uniform distribution, indicates either a bimodal or a multimodal histogram52. The bimodality coefficients of the bimodal histograms shown in Fig. 2j,k, corresponding to images formed at 0.6 and 0.8 THz resonant frequencies, are 0.83 and 0.88, respectively, whereas for the unimodal histograms shown in Fig. 2l,m, for images formed at off-resonant frequencies, the bimodality coefficient is 0.18 and 0.25. Noteworthy here, the bimodality coefficient is a function of the frequency at which each image is formed. Henceforth, we introduce the bimodality coefficient spectrum of each spectral image, which is independently calculated for measurements at different detection angles.
In order to identify the appropriate wavelet bases’ scales using the bimodality coefficient, it should be noted that many spectral images formed by including only the fine-scale wavelet detail vectors in the reconstruction of the extinction spectra will have a bimodality greater than 5/9, which results in erroneous identification of the resonant modes. However, because the fine-scale wavelet bases mostly capture the high-frequency noise and scattering artifacts in the spectrum53, the bimodality spectrum, i.e. in the range THz, would be highly fluctuating with a large total variation. On the other hand, in images formed by including only the coarse-scale wavelet detail vectors in the image reconstruction, the bimodality spectrum would be smooth and slowly-varying. To balance the trade-off effect of fine-scale and coarse-scale wavelet basis functions, we implemented an optimization procedure given by,
3 |
for all possible combinations of wavelet detail vectors in the MODWT MRA over J dyadic scales, . The total number of such combinations is . The numerator in Eq. (3) represents the total variation of the along the spectrum. The denominator accounts for the bimodalities greater than 5/9, and K represents the number of included levels of wavelet details. We find that after reconstruction of the extinction spectra by including only the wavelet details that minimize Eq. (3), the local maxima greater than 5/9 in the bimodality spectrum reveal all the signature resonant frequencies of the imaging target’s constituent materials. Importantly, it should be noted that the wavelet-based reconstruction of the image and its bimodality spectrum does not benefit from any a priori information on the type and nature of the chemicals in the sample.
Figure 2n-p show the normalized summation of the sixth to ninth-level wavelet details vectors at 0.3 THz ((0.3 THz)), 0.53 THz ((0.53 THz)), and 0.6 THz ((0.6 THz)) . It can be observed that, unlike Fig. 2b-e, these images yield the exact regions covered by each chemical. Moreover, as it is shown in Fig. 3a and is further discussed in Performance evaluation section, rather than identifying the characteristic resonant modes using the extinction spectrum at each pixel separately, we achieve chemical recognition by examining the local maxima in the bimodality spectrum. In other words, the bimodality spectrum can simultaneously distinguish between multiple resonant signatures, even those in close spectral proximity, such as the -lactose’s resonance at 0.53 THz and the PABA’s resonance at 0.6 THz. In the supplementary note 2, we investigate the robustness of this technique to change in the spectral shape of the absorption features and the proximity of two adjacent resonant modes. Finally, it should be noted that this technique does not rely on spatial averaging, unlike previous work33,37,54, to remove the scattering effects. This is a critical advantage for our approach because spatial averaging over disjointed measurements does not lend itself to imaging applications and is not suitable for characterization of heterogeneous samples made from multiple chemicals, where the area covered by each material is not known in advance.
Performance evaluation
Ballistic scattering
Solving Eq. (3) for the extinction spectra measured in the pixels at reveals that reconstruction of from only the sixth to ninth-level MODWT details, i.e. , results in simultaneous recognition of all the resonant frequencies of -lactose and PABA in the bimodality spectrum. Figure 3a compares the bimodality coefficients of the images formed from the original extinction spectra with those of the images formed from the reconstructed images using the specific combination of MODWT details. The red arrows in Fig. 3a point to the -lactose’s resonances at 0.53, 1.20, and 1.38 THz, while the blue arrows indicate the PABA’s resonances at 0.6, 0.8, and 1.29 THz. It can be noticed that in the bimodality spectrum of the MODWT details (purple line), it is only the local maxima corresponding to the resonant frequencies of the sample materials that exhibit greater than the 5/9 threshold.
However, in the bimodality spectrum of the extinction spectra (green line), although values at 0.53, 0.6, and 0.8 THz are greater than 5/9, the higher-frequency resonances at 1.20, 1.29, and 1.38 THz are completely obscured due to scattering effects. Moreover, the bimodality spectrum of the MODWT details remains below the 5/9 threshold at all other frequencies except the exact resonant frequencies of the samples, whereas the bimodality spectrum formed by the extinction spectra is still greater than 5/9 at obfuscate frequencies between 0.2 and 0.4 THz.
Furthermore, to quantitatively validate the effectiveness of this method in removing the scattering effects in spectroscopic imaging, we used the component spatial pattern analysis (CSPA) approach, which is described in the Methods section, to identify the region covered by each chemical18,38,39. Figure 3b-d compare the receiver operating characteristic (ROC) curves, demonstrating the true positive rate (TPR) versus the false positive rate (FPR), achieved in classifying the pixels associated with each chemical using the CSPA approach based on the extinction spectra and the bimodality-based MODWT MRA. Derivation of these ROC curves is described in the Methods section. It can be noted that the MODWT MRA yields area under the curve (AUC) better than 99, whereas using the raw extinction spectra can only give AUC values below 80 due to the scattering artifacts. In other words, the bimodality and wavelet-based reconstruction of the spectral images improved the accuracy of material mapping to about almost 100. Finally, it should be noted that the CSPA technique rather than utilizing the extinction at a specific frequency, e.g., a resonant frequency, uses the entire spectrum at each pixel, i.e., for THz, to calculate the probability that a pixel belongs to each of the component chemicals. Figure 3e-g illustrate such chemical maps obtained for each of the materials in the imaging target, i.e., -lactose monohydrate, PABA, and HDPE, respectively, using the MODWT detail vectors. Here, the color code between 0 and 1 represents the probability that a pixel belongs to any of the three chemicals in Fig. 3e-g. Figure 3h compares the F1-scores, the harmonic mean of sensitivity and specificity, in identifying the region of each chemical using the extinction spectra and MODWT details at the resonant frequencies. It can be observed that the F1-scores achieved using the MODWT details are significantly higher than those obtained using the extinction spectra, especially at 0.53, 0.6, and 0.8 THz, where the F1-scores are all above 96%. Moreover, the F1-scores at 1.2, 1.29, and 1.38 THz are each improved by at least 20%, reaching to 91% at 1.2 and 1.38 THz from below 70%. These results verify the effectiveness of the bimodality-based wavelet MRA technique for THz spectroscopy and spectral imaging applications using the ballistic waves measured at the narrow-cone of the forward angle.
Diffuse scattering
As we have described in the experimental design, the detection angles were chosen carefully to avoid any overlaps between the measurements taken at adjacent angles. Therefore, signals measured at oblique angles were only associated with the diffuse scattering of the THz waves. We also showed that because of the multiple scattering artifacts and the very low SNR of the diffuse waves, identifying the characteristic resonances in diffuse spectra was hindered. Here, we investigate the effectiveness of the bimodality spectrum and bimodality-based wavelet reconstruction in diffuse THz spectroscopy and imaging at higher detection angles. Figure 4 illustrates the results at four oblique detection geometries, including , , , and , which are all within the incoherent diffuse scattering regime, as demonstrated in the supplementary note 1.
Figure 4a-d show that a specific combination of MODWT detail vectors exists at each detection angle, as the solution to the optimization criteria in Eq. (3), such that in the resultant bimodality spectrum, the thresholded local maxima reveal the characteristic resonances resolved by the radiation scattered to that angle. Figure 4a-d compare such bimodality coefficients formed using the specific combination of MODWT details with those of the raw diffuse extinction spectra. The specific combinations of MODWT details, which are given in the legends of Fig. 4a-d, are determined by minimizing Eq. (3) over the measurements taken at pixels of each detection geometry.
In Fig. 4a, i.e., the detection angle , in the bimodality spectrum of the MODWT detail vectors, the local maxima above the 5/9 threshold correspond to the resonant frequencies at 0.53, 0.6, 0.8, and 1.38 THz. By increasing the detection angle to in Fig. 4b, the bimodality spectrum at 0.6 THz falls below the 5/9 threshold. However, it can be noticed that the resonant frequency at 1.38 THz is still distinguishable as a thresholded local maximum. By further increasing the detection angle to and , the bimodality spectrum still surpasses the 5/9 threshold at lower-frequency resonances at 0.53 and 0.8 THz. In other words, using the bimodality spectrum and the wavelet MRA approach, both materials, i.e., -lactose monohydrate and PABA, could still be identified, even from the radiation scattered to . It also can be observed that in the measurements at and , resonant frequencies above 0.8 THz could not be resolved. This can be explained by the angular scattering patterns described in supplementary note 1, where we have shown that the radiation at lower frequencies is scattered to higher detection angles more significantly, while the angular cross-section of the higher-frequency radiation is narrower. Therefore, the higher-frequency resonances were not detected in the measurements at and . Finally, it should be noted that the PABA’s resonance at 0.6 THz was only identified at , whereas the 0.8 THz-resonance was identified in all oblique detection geometries. This can be explained by the proximity of the -lactose’s resonance at 0.53 THz and the PABA’s resonance at 0.6 THz, and indicates that in addition to the shape of a resonant signature, bimodality-based detection approach is also affected by the proximity of adjacent resonances in a sample. In the supplementary note 2, we further discuss this effect and investigate the sensitivity of this approach to the location of adjacent resonant signatures.
To evaluate the improvements in diffuse spectroscopic imaging, Fig. 4 compares the ROC curves derived from the CSPA approach using the extinction spectra, shown by the green lines, and the MODWT detail vectors, shown by the purple lines. The ROC curves demonstrate the accuracy of classifying -lactose in Fig. 4e-h, PABA in Fig. 4i-l, and HDPE in Fig. 4m-p, in respective columns and for each detection angle in each row. It can be noticed that the area under the ROC curves is significantly higher for the three materials when using the unique MODWT detail vectors combination instead of the raw extinction spectra, yielding classification accuracy values always higher than 90%. These results confirm the robustness of the bimodality-based wavelet MRA approach for material detection and chemical mapping using diffuse THz spectroscopy, despite the 60 dB decline in the SNR at higher detection angles.
Discussion
Despite the significant promise of powerful spectroscopic techniques in the THz band, many real-world applications have not been realized yet. One of the key limiting factors is the effect of volume and Mie scattering on the transmission spectra. These effects result in obscured or distorted resonant signatures and the appearance of anomalous spectral artifacts. In this work, we demonstrated, for the first time, broadband diffuse THz spectroscopy using radiation incoherently-scattered by the sub-wavelength-size particles in a turbid medium. We presented the implementation of a wavelet multiresolution analysis technique to identify the component chemicals in a mixture of heterogeneous substances with different dielectric functions. We introduced a bimodality-based wavelet reconstruction approach for removing the scattering effects in the diffuse THz extinction spectra. The bimodality coefficient spectrum, which was defined using the skewness and kurtosis of the spectral images, was also utilized for simultaneous recognition of multiple resonant frequencies. We demonstrated for the first time that the local maxima above a certain threshold in the bimodality spectrum are associated with the fingerprint resonant frequencies. Additionally, minimization of the total variation in the bimodality spectrum over included levels of wavelet details in the MRA reconstruction yielded the unique wavelet bases whose combination mitigated the scattering-induced spectral artifacts.
We showed the effectiveness of this approach in resolving resonant frequencies at detection angles as high as 90 with respect to the incident beam, where the measurements showed a 60 dB decline in the SNR compared to the ballistic and forward-scattered signals measured at . Importantly, by alleviating the need for any spatial or angular averaging of many measurements to mitigate the scattering effects, this technique reduces the acquisition time and is suitable for real-time broadband spectral imaging applications. Moreover, this approach can achieve scattering mitigation and material identification simultaneously without relying on any a priori information. One key limitation of our technique lies in its requirement for the component materials of the sample to be heterogeneous with distinct dielectric functions such that the bimodality coefficient spectrum, which is a measure of the image contrast, can be accurately calculated. Finally, as shown through simulations in Supplemental Figs. 6 to 8 in the Supplementary Information, the identification of multiple materials is a more challenging task. The effectiveness of this technique in identification of multiple resonances depends on the shape of the resonant signatures and their spectral proximity. However, while our technique is not limited by the number of sample materials with THz spectral fingerprints, the robustness of this approach depends upon the shape and amount of spectral overlap between the dielectric resonances of the target materials.
Methods
Experimental design
Measurement setup
We used a commercial fiber-laser THz time-domain spectrometer, TeraSmart (Menlo Systems, Inc., Newton, NJ, USA), for acquiring the THz-TDS measurements. TeraSmart uses the 1560 nm pulses of a femtosecond laser at a 100 MHz repetition rate and a 70 mW output power, split into two beams used for the synchronized generation and detection of the THz waveforms. In the emission arm, THz pulses, generated using the emitter photoconductive antenna (PCA), were first collimated using a TPX50 lens (Menlo Systems, Inc.) with 50 mm focal length, and were then focused on the imaging target using a PTFE100 lens (Thorlabs, Inc., Newton, NJ, USA) with 100 mm focal length. The size of the Gaussian beam at the focus was approximately 2 mm using knife-edge measurements. In the detection arm, two lenses identical to those in the emission arm were used for the collimation and refocusing of the transmitted or scattered THz waves on the detector PCA. The PTFE lenses with larger focal length enabled the rotation of the detection arm in a half-plane around the sample housing. At each detection angle, the sample housing was raster-scanned using two orthogonal linear translation stages (Zaber Technologies, Vancouver, BC, Canada).
Imaging target
The imaging target, a mixture sample disk with 50 mm diameter, was composed of -lactose monohydrate (Spectrum Chemical Mfg, Gardena, CA, USA), 4-aminobenzoic acid (PABA) (Sigma-Aldrich Corp., St. Louis, MO, USA), and high-density polyethylene (HDPE) (Mirco Powders Inc., Tarrytown, NY, USA). To make the sample disk, we divided the area of a pellet pressing die into three regions, and each region was filled with a different substance. The HDPE region contained 2 g of ultra-fine HDPE with 4.5 m mean particle size. The two other regions contained 1 gr of each chemical, i.e., -lactose monohydrate or PABA, diluted in 1 gr of HDPE, which was added as a binding agent. The mixture of the three regions was pressed under 3000 psi load for 30 min. The pressed disk was embedded inside 5 gr of loosely-packed low-density polyethylene (LDPE) powders with 180 m mean particle size as the turbid scattering medium. The sample disk and the scattering medium were contained inside a housing made from two 9.5 mm-thick HDPE slabs, where a square-shaped powder cell with 22.5 cm volume was machined into one of the slabs. The filling factor of the scattering medium, which is defined as the ratio of the particles to the empty cell volume, was approximately 0.3. The average thickness of the scattering medium on top of the sample in the powder cell was 2.5 mm. In order to measure the extinction coefficients in Fig. 1e, separate pellets of -lactose monohydrate and PABA were made by mixing 2 g of each chemical with 2 g of HDPE, which was added as the binding agent. The mixture was pressed under 3000 psi pressure for approximately 30 min, yielding pellets with 25 mm radius and approximately 2 mm thickness.
Wavelet multiresolution analysis
In wavelet multiresolution analysis (MRA), a discrete broadband extinction spectrum, , which is evaluated at N frequency points, can be expressed as the linear combination of a scaling function, , and wavelet basis functions at various scales, where . This linear combination is given by43,55,
4 |
where j and k are the scale and translation parameters, respectively. The are the Jth level approximation (scaling) coefficients of . These coefficients are associated with the local averages of over the scale , where is the sampling period of . Moreover, the represent the jth level wavelet coefficients of . These coefficients are associated with the differences of the weighted averages of over the scale . In the discrete wavelet transform (DWT), as the scale parameter changes dyadically, i.e., for , the translation parameter k also varies dyadically (down-sampled by at level j) in order to achieve a compact signal representation. However, the down-sampling operation induces error in the alignment of the wavelet-domain features with the original spectrum45,56. Here, we used the maximal overlap discrete wavelet transform (MODWT)-based MRA, in which the translation parameter is uniform across all decomposition levels44,57, ensuring exact alignment between the extracted features and the original signal45,56. For MODWT, Eq. (4) can be written as,
5 |
where and represent the sizes of the scaling filter and wavelet filter , respectively. Here, and are obtained using the inverse discrete Fourier transform (iDFT) of the transfer functions given by44,
6 |
and
7 |
where and represent the transfer functions of the MODWT scaling and wavelet filters, and derived from a mother wavelet filter, e.g., least asymmetric (symlet) or Daubechies (db) mother wavelets58, as functions of the normalized frequency m. The ‘mod’ notation in Eq. (5) refers to the ‘modula’ operator, implying circular convolution at the boundaries. The wavelet and scaling coefficients, and , in Eq. (5) were calculated using the MODWT pyramid algorithm given by44,
8 |
and
9 |
Skewness and kurtosis
In the probability theory, skewness represents the third standardized moment of a probability density function around its mean, and is a measure of asymmetry in the distribution51. For an image with n pixels skewness is given by,
10 |
where is the pixel intensity, and is the average image intensity.
Kurtosis also represents the fourth standardized moment of a probability density function around its mean, and is a measure of taildness in the distribution51. For an image with n pixels kurtosis is given by,
11 |
After finding the skewness and kurtosis for all the -pixel images formed using either the extinction spectra or the MODWT detail vectors along the measurement bandwidth, i.e., THz, the bimodality spectrum is computed using Eq. (3).
Component spatial pattern analysis
By rearranging a three-dimensional THz data structure obtained by raster scanning a sample with L pixels, where each pixel’s extinction spectrum is measured at N frequency points, into a matrix , the linear transformation resulting in I is given by18,38,39,
12 |
where the columns of contain the known extinction spectrum of each of the M chemicals at N frequencies. Consequently, is a chemical map in which the element represents the contribution from chemical i in the spectrum measured at pixel j. Therefore, using the extinction spectra measured at each angle in [I] and the known extinction spectra of the chemicals in [S], [P] is given by,
13 |
By feeding P to a sigmoid function, , and applying threshold values in the interval [0,1] to its outputs, two values are obtained at each threshold: the true positive rate (TPR), also known as sensitivity, and the false positive rate (FPR), which is equal to 1—specificity. The receiver operating characteristic (ROC) curves were formed using the TPR and FPR values at each threshold. The area under the ROC curve serves as a measure of the chemical mapping performance, where a higher area under the curve implies a better classification accuracy.
For the spectral images formed at the resonant frequencies, the values obtained at each pixel were fed into a sigmoid function, and its outputs were used to find the recall and precision by comparison to the known pixel labels. We used the points with the optimal recall and precision values to calculate the F1-score given in Fig. 3h.
Supplementary information
Acknowledgements
Research reported in this publication was supported by the National Institute of General Medical Sciences of the National Institutes of Health under award number R01GM112693.
Author contributions
M.H.A. supervised the project, M.E.K. designed and conducted the experiments, O.B.O. built the experimental setup and conducted the preliminary experiments, M.E.K. performed the theoretical study, analyzed the collected data, and developed the computational algorithms, M.E.K prepared the manuscript, M.E.K., O.B.O. and M.H.A. discussed the results and contributed to finalizing the manuscript.
Data availability
The datasets used and analyzed during the current study are available from the corresponding author on reasonable request.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
The online version contains supplementary material available at 10.1038/s41598-021-02068-7.
References
- 1.Bertolotti J, et al. Non-invasive imaging through opaque scattering layers. Nature. 2012;491:232–234. doi: 10.1038/nature11578. [DOI] [PubMed] [Google Scholar]
- 2.Lyons A, et al. Computational time-of-flight diffuse optical tomography. Nat. Photonics. 2019;13:575–579. [Google Scholar]
- 3.Vellekoop IM, Lagendijk A, Mosk A. Exploiting disorder for perfect focusing. Nat. photonics. 2010;4:320–322. [Google Scholar]
- 4.Katz O, Small E, Bromberg Y, Silberberg Y. Focusing and compression of ultrashort pulses through scattering media. Nat. photonics. 2011;5:372–377. [Google Scholar]
- 5.Mosk AP, Lagendijk A, Lerosey G, Fink M. Controlling waves in space and time for imaging and focusing in complex media. Nat. photonics. 2012;6:283–292. [Google Scholar]
- 6.Vellekoop IM, Aegerter CM. Scattered light fluorescence microscopy: imaging through turbid layers. Opt. lett. 2010;35:1245–1247. doi: 10.1364/OL.35.001245. [DOI] [PubMed] [Google Scholar]
- 7.Katz O, Heidmann P, Fink M, Gigan S. Non-invasive single-shot imaging through scattering layers and around corners via speckle correlations. Nat. Photonics. 2014;8:784. [Google Scholar]
- 8.O’Leary, M., Boas, D., Chance, B. & Yodh, A. Experimental images of heterogeneous turbid media by frequency-domain diffusing-photon tomography. Opt. lett.20, 426–428 (1995). [DOI] [PubMed]
- 9.Boas DA, Campbell L, Yodh AG. Scattering and imaging with diffusing temporal field correlations. Phys. Rev. Lett. 1995;75:1855. doi: 10.1103/PhysRevLett.75.1855. [DOI] [PubMed] [Google Scholar]
- 10.Boas DA, Yodh AG. Spatially varying dynamical properties of turbid media probed with diffusing temporal light correlation. JOSA A. 1997;14:192–215. [Google Scholar]
- 11.Berkovits R, Feng S. Theory of speckle-pattern tomography in multiple-scattering media. Phys. Rev. Lett. 1990;65:3120. doi: 10.1103/PhysRevLett.65.3120. [DOI] [PubMed] [Google Scholar]
- 12.Pearce J, Mittleman DM. Propagation of single-cycle terahertz pulses in random media. Opt. lett. 2001;26:2002–2004. doi: 10.1364/ol.26.002002. [DOI] [PubMed] [Google Scholar]
- 13.Jian Z, Pearce J, Mittleman DM. Characterizing individual scattering events by measuring the amplitude and phase of the electric field diffusing through a random medium. Phys. Rev. Lett. 2003;91:033903. doi: 10.1103/PhysRevLett.91.033903. [DOI] [PubMed] [Google Scholar]
- 14.Mittleman DM. Twenty years of terahertz imaging [invited] Opt. Express. 2018;26:9417–9431. doi: 10.1364/OE.26.009417. [DOI] [PubMed] [Google Scholar]
- 15.Jepsen PU, Cooke DG, Koch M. Terahertz spectroscopy and imaging-modern techniques and applications. Laser Photonics Rev. 2011;5:124–166. [Google Scholar]
- 16.Wallace VP, et al. Terahertz pulsed imaging of basal cell carcinoma ex vivo and in vivo. Br. J. Dermatol. 2004;151:424–432. doi: 10.1111/j.1365-2133.2004.06129.x. [DOI] [PubMed] [Google Scholar]
- 17.Wallace VP, et al. Terahertz pulsed spectroscopy of human basal cell carcinoma. Appl. Spectrosc. 2006;60:1127–1133. doi: 10.1366/000370206778664635. [DOI] [PubMed] [Google Scholar]
- 18.Kawase K, Ogawa Y, Watanabe Y, Inoue H. Non-destructive terahertz imaging of illicit drugs using spectral fingerprints. Opt. Express. 2003;11:2549–2554. doi: 10.1364/oe.11.002549. [DOI] [PubMed] [Google Scholar]
- 19.Fischer B, Hoffmann M, Helm H, Modjesch G, Jepsen PU. Chemical recognition in terahertz time-domain spectroscopy and imaging. Semicond. Sci. Technol. 2005;20:S246. [Google Scholar]
- 20.Shen YC, et al. Detection and identification of explosives using terahertz pulsed spectroscopic imaging. Appl. Phys. Lett. 2005;86:241116. [Google Scholar]
- 21.Zhong H, Redo-Sanchez A, Zhang X-C. Identification and classification of chemicals using terahertz reflective spectroscopic focal-plane imaging system. Opt. Express. 2006;14:9130–9141. doi: 10.1364/oe.14.009130. [DOI] [PubMed] [Google Scholar]
- 22.Khani ME, Arbab MH. Chemical identification in the specular and off-specular rough-surface scattered terahertz spectra using wavelet shrinkage. IEEE Access. 2021;9:29746–29754. doi: 10.1109/access.2021.3059424. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Khani, M. E. & Arbab, M. H. Wavelet shrinkage for enhanced chemical recognition in the rough surface diffused terahertz spectra. In 2020 45th Int. Conf. Infr., Millim., THz Waves (IRMMW-THz), 1–2 (IEEE, 2020).
- 24.Aghasi A, Heshmat B, Redo-Sanchez A, Romberg J, Raskar R. Sweep distortion removal from terahertz images via blind demodulation. Optica. 2016;3:754–762. [Google Scholar]
- 25.Aksenov V, et al. Application of a terahertz multi-frequency radiation source based on quantum-cascade lasers for identification of substances basing on the amplitude-spectral analysis of the scattered field. Radiophys. Quantum Electron. 2018;60:877–888. [Google Scholar]
- 26.Valzania L, Zolliker P, Hack E. Coherent reconstruction of a textile and a hidden object with terahertz radiation. Optica. 2019;6:518–523. [Google Scholar]
- 27.Tsang L, Kong JA, Ding K-H. Scattering of Electromagnetic Waves: Theories and Applications. New York: Wiley; 2007. [Google Scholar]
- 28.Ishimaru A. Wave Propagation and Scattering in Random Media. New York: Academic Press; 1978. [Google Scholar]
- 29.Zurk LM, et al. Terahertz scattering from granular material. J. Opt. Soc. Am. B. 2007;24:2238–2243. [Google Scholar]
- 30.Kaushik M, Ng BW-H, Fischer BM, Abbott D. Terahertz fingerprinting in presence of quasi-ballistic scattering. Appl. Phys. Lett. 2012;101:061108. [Google Scholar]
- 31.Osman OB, Arbab MH. Mitigating the effects of granular scattering using cepstrum analysis in terahertz time-domain spectral imaging. PLoS ONE. 2019;14:1–14. doi: 10.1371/journal.pone.0216952. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Franz M, Fischer BM, Walther M. The christiansen effect in terahertz time-domain spectra of coarse-grained powders. Appl. Phys. Lett. 2008;92:021107. [Google Scholar]
- 33.Shen YC, Taday PF, Pepper M. Elimination of scattering effects in spectral measurement of granulated materials using terahertz pulsed spectroscopy. Appl. Phys. Lett. 2008;92:051103. [Google Scholar]
- 34.Kaushik M, Ng BW-H, Fischer BM, Abbott D. Reduction of scattering effects in thz-tds signals. IEEE Photonics Technol. Lett. 2011;24:155–157. [Google Scholar]
- 35.Kaushik M, Ng BW-H, Fischer BM, Abbott D. Terahertz scattering by granular composite materials: An effective medium theory. Appl. Phys. Lett. 2012;100:011107. [Google Scholar]
- 36.Kaushik M, Ng BW-H, Fischer BM, Abbott D. Terahertz scattering by dense media. Appl. Phys. Lett. 2012;100:241110. [Google Scholar]
- 37.Liu H-B, Chen Y, Bastiaans GJ, Zhang X-C. Detection and identification of explosive rdx by thz diffuse reflection spectroscopy. Opt. Express. 2006;14:415–423. doi: 10.1364/opex.14.000415. [DOI] [PubMed] [Google Scholar]
- 38.Watanabe Y, et al. Component spatial pattern analysis of chemicals using terahertz spectroscopic imaging. Appl. Phys. Lett. 2003;83:800–802. [Google Scholar]
- 39.Shen YC, Taday PF, Newnham DA, Pepper M. Chemical mapping using reflection terahertz pulsed imaging. Semicond. Sci. Technol. 2005;20:S254. [Google Scholar]
- 40.Harris ZB, Katletz S, Khani ME, Virk A, Arbab MH. Design and characterization of telecentric f-θ scanning lenses for broadband terahertz frequency systems. AIP Advances. 2020;10:125313. doi: 10.1063/5.0030110. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Kniffin GP, Zurk LM. Model-based material parameter estimation for terahertz reflection spectroscopy. IEEE Trans. Terahertz Sci. Technol. 2012;2:231–241. [Google Scholar]
- 42.Bandyopadhyay A, et al. Effects of scattering on THz spectra of granular solids. Int. J. Infrared Milli Waves. 2007;28:969–978. [Google Scholar]
- 43.Strang, G. & Nguyen, T. Wavelets and Filter Banks (SIAM, 1996).
- 44.Percival DB, Walden AT. Wavelet Methods for Time Series Analysis. Cambridge: Cambridge University Press; 2000. [Google Scholar]
- 45.Khani ME, Winebrenner DP, Arbab MH. Phase function effects on identification of terahertz spectral signatures using the discrete wavelet transform. IEEE Trans. Terahertz Sci. Technol. 2020;10:656–666. doi: 10.1109/tthz.2020.2997595. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Arbab, M. H., Winebrenner, D. P., Thorsos, E. I. & Chen, A. Application of wavelet transforms in terahertz spectroscopy of rough surface targets. In Terahertz Technology and Applications III7601, 43–49 (SPIE 2010).
- 47.Redo-Sanchez A, et al. Terahertz time-gated spectral imaging for content extraction through layered structures. Nat. Commun. 2016;7:1–7. doi: 10.1038/ncomms12665. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Ellison AM. Effect of seed dimorphism on the density-dependent dynamics of experimental populations of atriplex triangularis (chenopodiaceae) Am. J. Bot. 1987;74:1280–1288. [Google Scholar]
- 49.Freeman JB, Dale R. Assessing bimodality to detect the presence of a dual cognitive process. Behav. Res. Methods. 2013;45:83–97. doi: 10.3758/s13428-012-0225-x. [DOI] [PubMed] [Google Scholar]
- 50.Darlington, R. B. Is kurtosis really “peakedness?”. Am. Stat.24, 19–22 (1970).
- 51.Joanes DN, Gill CA. Comparing measures of sample skewness and kurtosis. Statistician. 1998;47:183–189. [Google Scholar]
- 52.Pfister R, Schwarz KA, Janczyk M, Dale R, Freeman J. Good things peak in pairs: a note on the bimodality coefficient. Front. Psychol. 2013;4:700. doi: 10.3389/fpsyg.2013.00700. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Donoho DL. De-noising by soft-thresholding. IEEE Trans. Inf. Theory. 1995;41:613–627. [Google Scholar]
- 54.Schecklman S, Zurk LM, Henry S, Kniffin GP. Terahertz material detection from diffuse surface scattering. J. Appl. Phys. 2011;109:094902. [Google Scholar]
- 55.Mallat S. A Wavelet Tour of Signal Processing. New York: Elsevier; 1999. [Google Scholar]
- 56.Ebrahimkhani, M. & Arbab, M. H. Extraction of THz absorption signatures obscured by rough surface scattering using discrete wavelet transform. In 2018 43rd Int. Conf. Infr., Millim., THz Waves (IRMMW-THz), 1–2 (IEEE, 2018).
- 57.Arbab MH, Winebrenner DP, Thorsos EI, Chen A. Retrieval of terahertz spectroscopic signatures in the presence of rough surface scattering using wavelet methods. Appl. Phys. Lett. 2010;97:181903. [Google Scholar]
- 58.Daubechies, I. Ten Lectures on Wavelets, vol. 61 (Siam, 1992).
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The datasets used and analyzed during the current study are available from the corresponding author on reasonable request.