Manuscript Offprint
arXiv:2608.29223Computational Depth Measurement in Thermographic Video: Overcoming Spatial Overfitting via Spatio-Temporal Decoupling
Zain Ul Abidin , Habeeban Memon , and Junaid Ahmed
Abstract—Accurate through-thickness measurement of subsurface delamination depth in Carbon Fiber Reinforced Polymer (CFRP) is important for structural assessment because defect location determines affected load-bearing layers. Optical pulsed thermography (OPT) provides a two-dimensional thermal video rather than volumetric measurements, so depth must be inferred from temporal heat-diffusion responses. A challenge is spatial dataset bias: when calibration defects follow regular grids, regression models may memorize their geometry instead of learning physical relationship between thermal decay and depth. This work introduces a spatio-temporal decoupling architecture that separates spatial defect localization from temporal depth measurement. Defect regions are first localized using segmentation methods, after which thermal responses are spatially averaged and converted into sixteen physics-informed temporal, energy, statistical, and geometric features. These features expose the one-dimensional heat-conduction relationship while withholding pixel coordinates from the depth model. Four regression models are evaluated using specimen-level cross-validation: Random Forest (RF), Gradient Boosting Machine (GBM), Advanced Multi-Layer Perceptron (Adv-MLP), and XGBoost. Unregularized trees and over-parameterized Adv-MLP exhibit calibration collapse under geometric shifts, with errors exceeding 0.5 mm. In contrast, regularized XGBoost with L1/L2 penalties and column sampling maintains cross-specimen calibration, achieving a mean absolute error (MAE) of 0.056 mm and root mean square error (RMSE) of 0.085 mm. Predicted depths are merged with masks to generate Delaunay-triangulated three-dimensional defect models in three to five seconds per specimen. Results show that mathematical regularization and spatio-temporal decoupling reduce spatial memorization in thermal-video depth regression.
Index Terms—CFRP, computational measurement, depth regression, pulsed thermography, spatial dataset bias, spatio-temporal decoupling, three-dimensional reconstruction.
I. INTRODUCTION
In safety-critical aerospace and renewable-energy systems, Carbon Fiber Reinforced Polymer (CFRP) composites are widely used because of their high strength-to-weight ratio [1]. Interlaminar delamination is a critical failure mode and can originate from low-energy impacts such as tool drops or bird strikes that leave little or no visible surface damage [2]. The through-thickness position of a hidden defect is particularly important because defects at different depths affect different laminate layers and therefore different load-transfer paths [3]. Consequently, binary defect detection alone is insufficient for structural assessment; a useful inspection system must provide an absolute or calibrated estimate of defect depth.
Optical pulsed thermography (OPT) is a noncontact inspection technique in which a short optical excitation heats the specimen surface while an infrared camera records the transient cooling process [4], [5]. The measured data are naturally represented as a thermal tensor , where denotes image coordinates and t denotes the acquisition frame. A subsurface discontinuity changes the local heat-flow path and consequently changes the surface thermal response. Under a one-dimensional heat-conduction approximation, defect depth d and peak contrast time are related by [6]
where is thermal diffusivity and is a geometric factor. Equation (1) provides the physical basis for treating temporal response as a measurement variable rather than treating image position as a depth label.
Classical thermographic processing has established several ways to expose this temporal information. Thermographic signal reconstruction can estimate characteristic thermal times while suppressing noise [7], [8]; pulsed phase thermography reduces sensitivity to nonuniform heating [9]; and principal component thermography can improve defect contrast and localization [10]. Analytical depth estimation, however, remains sensitive to specimen-dependent thermal properties and calibration conditions [11]. Variations in thermal diffusivity, geometry, and heating conditions can therefore limit direct application of (1) without an appropriate reference calibration.
Supervised learning has consequently become attractive for automated thermographic inspection. Deep-learning approaches have demonstrated automated localization of CFRP damage [12], [13], while physics-informed feature extraction and thermal-signal learning have been investigated for quantitative inspection [14]–[20]. Other studies have considered one-dimensional thermal-signal learning, direct sequenced-signal depth estimation, and joint detection/depth architectures [21]–[24]. A three-dimensional convolutional approach can process the complete thermal volume, but its computational burden grows with the number of pixels and frames. For an input of spatial dimensions and temporal length T, full volumetric processing scales with , which becomes increasingly expensive as spatial resolution and sequence length increase [15], [25], [26].
Beyond computational cost, however, full spatial processing creates a more fundamental computer-vision problem: dataset bias. Laboratory depth datasets frequently use discrete flat-bottom holes or Teflon inserts arranged in highly regular layouts. In such data, spatial position is correlated with the target depth. A model can therefore obtain apparently excellent test accuracy without learning the underlying thermal physics if the train and test specimens share the same geometric arrangement. An unregularized tree ensemble can repeatedly
Zain Ul Abidin (Corresponding Author), Habeeban Memon, and Junaid Ahmed are with the Department of Computer Systems Engineering, Sukkur IBA University, Sukkur, Pakistan (e-mail: zainulabdin995@gmail.com; habeebanmemon73@gmail.com; j.bhatti@iba-suk.edu.pk).
partition feature space according to patterns correlated with the calibration grid, while an over-parameterized neural network can memorize the same structure. The resulting model is accurate only while the hidden spatial proxy remains available.
For thermal-video regression, simply supplying the full spatial tensor is not a cure: it increases access to the geometric coordinates responsible for the bias. The central issue is therefore representation invariance, not model capacity alone.
We address this issue through a spatio-temporal decoupling architecture. Spatial processing is restricted to defect localization. After localization, the pixels belonging to each defect are spatially averaged into a one-dimensional temporal thermal response. The depth model therefore receives temporal and derived physical descriptors instead of the original image coordinates. The spatial information is retained only for the final reconstruction, where the predicted depth is mapped back onto the detected defect boundary.
The proposed framework makes five contributions:
-
It formulates thermographic depth regression as a dataset-bias problem in which spatial geometry can act as a hidden depth label.
-
It separates spatial localization from temporal measurement through a two-stage spatio-temporal decoupling architecture, avoiding direct full-tensor regression.
-
It uses sixteen physics-informed features as explicit mathematical constraints derived from the thermal response and the one-dimensional heat-conduction relationship.
-
It provides a controlled diagnostic comparison of RF, GBM, Adv-MLP, and XGBoost under strict specimen-level cross-validation, with Fold 2 serving as the principal geometric distribution-shift test.
-
It converts the predicted depth and segmentation masks into three-dimensional Delaunay-triangulated defect models in three to five seconds per specimen.
A direct numerical comparison with published deep-learning depth-estimation systems is not used as the primary benchmark because reported systems differ in hardware, flash-energy conditions, sampling frequencies, datasets, and experimental protocols. Instead, all four regression algorithms are evaluated under identical specimen partitions and identical feature representations. This controlled comparison isolates the effect of model regularization and representation on cross-geometry generalization.
A. Stage 1: Spatial Defect Localization
The first stage identifies the spatial support of each sub-surface defect. The localization component is not proposed as a new segmentation architecture. Instead, it utilizes a pretrained DeepLabV3+ model acting on a cyclically aligned three-channel thermographic fusion. As detailed in [27], this input representation integrates raw thermal intensity, principal component thermography (PCT) spatial components, and thermographic signal reconstruction (TSR) temporal coefficient images. Because this representation effectively isolates defect boundaries from background thermal gradients, the segmentation network is treated strictly as the spatial front end, allowing the present work to focus entirely on the downstream depth measurement problem.
The raw thermal sequence is processed by the trained segmentation network to produce a binary mask . Connected-component labeling then identifies individual defect regions
where K is the number of detected defects. This representation allows square and circular specimens to be handled through the same downstream measurement procedure. Importantly, the position of a component is not supplied as a regression feature. The predicted masks for all six specimens are shown in Fig. 2, demonstrating reliable detection across both geometries.
B. Stage 2: Spatial-to-Temporal Decoupling
Raw thermographic frames contain pixel-level camera noise and local thermal fluctuations. Passing all pixels directly to a regression network would preserve both useful thermal information and the geometric arrangement that can create spatial bias. Instead, the thermal response is averaged within each detected region:
where is the normalized spatially averaged response, is the number of pixels in defect region , and is the globally normalized thermal intensity. The operation reduces local fluctuations and transforms each defect from a two-dimensional spatial signal into a one-dimensional temporal measurement. Under approximately independent pixel noise, averaging also reduces the standard deviation of the noise component approximately with .
This operation is the central information-separation step. The regression model no longer sees whether a defect was located in the first or fifth column of a calibration grid. It sees the temporal response produced by the localized region. Spatial coordinates are retained only after regression for visualization and structural reconstruction.
The measured curves in Fig. 3 illustrate the physical information retained by this compression. SQ_01 contains five depth levels from 0.2 to 1.0 mm, while CI_01 contains circular inserts at 2.0 and 2.2 mm. The depth levels remain distinguishable through changes in peak timing and thermal amplitude, demonstrating that spatial averaging does not remove the dominant depth information.
C. Physics-Constrained Feature Representation
A central requirement of the proposed representation is that the sixteen features should not be viewed as arbitrary dimensionality reduction. They impose a restricted measurement space in which the dominant depth information must come

Fig. 1. Spatio-temporal decoupling architecture for depth estimation from thermographic video. The pipeline separates spatial localization from temporal measurement to avoid geometric memorization.

Fig. 2. Predicted binary defect masks for the six CFRP specimens obtained from the best segmentation architecture. Square and circular defects are reliably detected, providing spatial support for subsequent temporal measurement.

(a) SQ_01 (0.2–1.0 mm)

(b) CI_01 (2.0–2.2 mm)
Fig. 3. Mean thermal responses after spatial averaging. Deeper defects exhibit delayed peak times and lower amplitudes, confirming that temporal features encode depth information.
TABLE I SIXTEEN PHYSICS-INFORMED FEATURES USED FOR DEPTH REGRESSION
| Category | Feature | Formula | Physical / measurement interpretation |
|---|---|---|---|
| Temporal | Peak time; primary depth-related temporal measurement through (1). | ||
| Rise duration associated with the transient response. | |||
| Maximum surface temperature within the response window. | |||
| Maximum thermal change rate. | |||
| Linearized depth proxy derived from (1). | |||
| Energy | Integrated thermal response over the acquisition window. | ||
| Signal energy associated with the thermal decay. | |||
| Late-time thermal response, sensitive to persistent thermal contrast. | |||
| Statistical | Spread of the thermal response. | ||
| Skewness of the temporal response. | |||
| Excess kurtosis and tail weight. | |||
| Lag-1 temporal autocorrelation and response smoothness. | |||
| Geometric | Defect area in pixels. | ||
| Equivalent circular diameter. | |||
| Bounding-box aspect ratio. | |||
| Peak-time depth-linking representation used across specimen groups. |
from the temporal heat response. The starting quantities are the inter-frame change
the temporal mean
and the centered response
The peak-time feature is directly linked to depth through (1), while follows from the same relationship after removing the constant factor . The remaining temporal and energy features characterize the amount and rate of heat retained during the acquisition window. Statistical features describe the shape and smoothness of the decay, while the limited geometric descriptors characterize defect extent rather than absolute image position. These sixteen variables, detailed in Table I, act as strict mathematical constraints that expose the one-dimensional heat-conduction relationship. Thus, the feature vector contains information that can help correct for variations in the thermal response without explicitly exposing the calibration-grid coordinates.
These sixteen variables act as strict mathematical constraints on the regression problem. The model is not asked to infer depth from an unrestricted spatial tensor. Instead, it must explain the target through a compact representation containing quantities explicitly connected to heat diffusion and thermal decay. This is especially important for the Adv-MLP control: a high-capacity network can fit a small calibration set, but its capacity does not guarantee that it will discover the correct invariant. The constrained feature space reduces the degrees of freedom available for geometric memorization before the regression algorithm is applied.
D. Algorithmic Diagnostics and Regularized Regression
Four regression algorithms are deliberately retained throughout the study: Random Forest (RF), Gradient Boosting Machine (GBM), Advanced Multi-Layer Perceptron (Adv-MLP), and XGBoost. The comparison is diagnostic rather than simply a search for the lowest training error. RF and GBM serve as unregularized tree-based controls, Adv-MLP tests whether neural-network representation capacity can overcome the distribution shift, and XGBoost tests whether explicit regularization improves physical generalization.
RF and GBM are used as unregularized tree-based controls [28]. Their matched-geometry performance is therefore treated as a calibration control rather than evidence of geometry-invariant physical learning.
The Adv-MLP is a feedforward network with three hidden layers of 128, 64, and 32 neurons, together with batch normalization and dropout. It is optimized with Adam using Huber loss and early stopping based on validation error. The Huber objective reduces sensitivity to large residuals, but it does not prevent a high-capacity network from fitting a small spatially structured dataset. The Adv-MLP is therefore an important control for separating robustness of the loss function from robustness of the representation.
XGBoost is the regularized model used for the final depth measurement [29]. At boosting iteration , its second-order objective is written as
where is the tree added at iteration , is the sixteen-dimensional feature vector of defect , and and are the first- and second-order gradients of the loss with respect to the current prediction. The regularization term is
where w contains the tree leaf weights and and control the L1 and L2 penalties. Column sampling is used together with these penalties. The intended effect is to discourage dependence on a small set of idiosyncratic feature dimensions and to reduce the capacity of the boosted ensemble to reproduce accidental training-set structure.

Fig. 4. Pearson correlation matrix for the sixteen features and depth. Temporal features exhibit the strongest correlation, confirming the physics-informed design.
Thus, the two constraints operate at different levels: spatial decoupling removes the main geometric shortcut before regression, while L1/L2 regularization and column sampling control the remaining model capacity.
E. Feature Diagnostic
The Pearson correlation matrix, presented in Fig. 4, provides an independent diagnostic of the feature space. The temporal variables, particularly and , show the strongest relationship with depth, whereas geometric variables are weaker indicators of through-thickness position. This is consistent with (1): depth is primarily encoded in the temporal diffusion response, while defect area and aspect ratio describe lateral extent and shape.
F. Automated 3D Reconstruction for Structural Analysis
The final step converts the predicted depth into a three-dimensional surface mesh. Pixel coordinates are converted to physical units via the spatial calibration factor:
For Dataset 1, the calibration factor is 0.586 mm/pixel; for Dataset 2, it is 0.391 mm/pixel. Each defect region is treated as a thin delamination with top and bottom surfaces:
where represents the 0.0075 mm Teflon insert thickness. Point clouds for the top and bottom surfaces are generated as:
Delaunay triangulation [30] is applied to the xy-coordinates of each point cloud to produce the surface meshes . The mean surface distance for defect equals the absolute regression error, given by . The 3D centroid is obtained from the segmentation centroid and predicted depth, enabling automated spatial localization. Because this step
Algorithm 1 Spatio-Temporal Decoupled Computational Measurement Framework
Require: Raw thermal tensor ; trained segmentation network; training defects with depths
Ensure: Cross-validated predictions for RF, GBM, Adv-MLP, XGBoost; final depths ; 3D meshes
1: SegmentationNet( )
2: ConnectedComponents( )
3: for to do
4:
5: Compute , , and
6: sixteen temporal, energy, statistical, and geometric features
7: Standardize using training-set statistics only
8: end for
9: Partition defects by specimen according to the predefined fold
10: Train/evaluate RF, GBM, and Adv-MLP on the same
11: Train/evaluate regularized XGBoost using (7)–(8)
12: for each test defect do
13:
14: point clouds at and
15: Delaunay Triangulation( )
16: end for
17: return and fold-wise regression metrics
operates on localized depth estimates rather than full-volume tensors, reconstruction completes in 3–5 seconds per specimen on standard hardware.
Algorithm 1 summarizes the complete spatio-temporal decoupled measurement framework, integrating segmentation, feature extraction, regression, and 3D reconstruction.
III. EXPERIMENTAL VALIDATION
A. Datasets and Specimen-Level Cross-Validation
Six CFRP specimens from two public databases are used [31], [32]. The two databases are valuable for this diagnostic experiment because they provide different specimen geometries, defect arrangements, spatial resolutions, and depth ranges. The purpose is not to merge them into one homogeneous dataset, but to determine whether a model trained on one spatial organization preserves its calibration when the organization changes.
Dataset 1 is derived from the thermal imaging dataset of Erazo-Aux et al. [31]. It contains three specimens denoted here as SQ_01, SQ_02, and SQ_03, corresponding to CFRP006, CFRP007, and CFRP008 in the original dataset. They represent flat, curved, and trapezoidal specimen geometries, respectively. Each specimen contains 25 square Teflon inserts arranged in a grid. The insert depths are 0.2, 0.4, 0.6, 0.8, and 1.0 mm. The spatial calibration factor is 0.586 mm/pixel for a 512-pixel image over a 300 mm specimen edge.
Dataset 2 is derived from the CFRP thermal-imaging work of Ahmed et al. [32]. It contains CI_01, CI_02, and CI_03, corresponding to specimens 3, 1, and 2 in the original dataset. These specimens contain circular inserts with diameters of 2, 4, 6, and 8 mm at two depth levels, 2.0 and 2.2 mm. The spatial
TABLE II THREE-FOLD SPECIMEN-LEVEL CROSS-VALIDATION PARTITIONING
| Fold | Training | Validation | Test |
|---|---|---|---|
| 1 | SQ_01, CI_01 (41) | SQ_02, CI_02 (35) | SQ_03, CI_03 (31) |
| 2 | SQ_03, CI_03 (31) | SQ_01, CI_01 (41) | SQ_02, CI_02 (35) |
| 3 | SQ_02, CI_02 (35) | SQ_03, CI_03 (31) | SQ_01, CI_01 (41) |
calibration factor is 0.391 mm/pixel. The circular specimens are particularly useful for diagnosing spatial bias because they do not reproduce the rigid five-column arrangement of the square-insert specimens.
The specimen-level cross-validation partition is shown in Table II. The numbers in parentheses denote the available defects used in each partition after localization. No individual defect from a specimen is split across training and test sets. This prevents a model from learning specimen-specific spatial or thermal signatures and then being evaluated on another region of the same specimen.
Fold 2 is the most important diagnostic split. Its training data include SQ_03, a square-insert specimen with a rigid five-column arrangement, while the test set includes CI_02, where the circular defect arrangement does not provide the same column structure. A model that uses geometry as a hidden proxy for depth should therefore suffer a large calibration change in this fold.
B. Evaluation Metrics
Three metrics are reported. Mean absolute error is the primary measurement metric because it is expressed directly in millimeters:
where and are the true and predicted depths. Root mean square error is
which assigns greater influence to large calibration errors. The coefficient of determination is
For the circular specimens, the performance must be interpreted together with MAE and RMSE because the target range is narrow. A modest absolute error can produce a strongly negative when the variance of the true labels is small.
IV. RESULTS AND DISCUSSION
The results are interpreted primarily as a generalization diagnostic. High accuracy on a matched geometry is not sufficient evidence that a model has learned thermal physics. The decisive evidence is whether the same calibration survives a change in specimen geometry and defect arrangement.
Fig. 5 provides the visual fold-wise scatter plots comparing true versus predicted depths across the cross-validation splits. The numerical results across all folds are summarized in Table III, with the best-performing metrics highlighted in bold.
A. Cross-Fold Regression Performance
Fold 1 represents the relatively favorable case in which training and test specimens preserve comparable square and circular families. RF and GBM therefore obtain low errors on several test groups. Their good performance in this fold is useful as a control, but it cannot establish that the models have learned a geometry-invariant physical relationship. In fact, the Adv-MLP already shows instability: its overall Fold 1 MAE is 0.1831 mm despite its greater representational capacity. This is consistent with the risk of fitting a small collection of discrete calibration defects rather than learning a stable thermal-depth mapping.
Fold 2 provides the strongest evidence of spatial dataset bias. Training includes SQ_03, whose square inserts occupy a rigid five-column grid. The test set contains SQ_02 and, critically, CI_02. On CI_02, RF reaches an MAE of 0.5209 mm and GBM reaches 0.6834 mm. These errors are larger than the 0.2 mm separation between the two circular depth levels. Their very negative values, -27.37 and -51.29, respectively, show that the models fail to preserve the calibration when the spatial proxy changes.
The key point is not that tree models are inherently unsuitable for thermographic measurement. Rather, the controlled experiment shows that unregularized tree ensembles can exploit correlations present in the training geometry. When the five-column arrangement disappears, the correlation between position and depth disappears as well, and the learned mapping becomes unstable. This is the characteristic signature of spatial overfitting.
XGBoost behaves differently in the same Fold 2 test. Its CI_02 MAE is 0.0756 mm and its overall Fold 2 MAE is 0.0473 mm, achieving an of 0.992 for the overall test set. This does not mean that regularization magically creates physical information. Rather, the model is operating on a representation that has already removed pixel-level spatial coordinates, while the L1/L2 objective and column sampling constrain the remaining model capacity. The strongest depth-related variable, , therefore becomes a natural route for the model to preserve calibration across the geometric shift.
Fold 3 introduces a different distribution shift by training on the curved SQ_02 specimen and testing on the flat SQ_01 specimen. All models experience some degradation, showing that geometry changes can alter the measured thermal response even when the defect depths are the same. XGBoost retains an overall MAE of 0.0888 mm and an of 0.971, whereas the Adv-MLP reaches 0.5620 mm overall and exhibits a strongly negative on CI_01. The result indicates that increasing neural-network capacity does not automatically improve physical generalization.
Averaged across the three folds, regularized XGBoost achieves an MAE of 0.056 mm and an RMSE of 0.085 mm. The corresponding overall GBM error is approximately 0.123 mm. Thus, the advantage of XGBoost is not based on a single favorable split. More importantly, the regularized model maintains substantially better absolute calibration in the geometric distribution-shift case that exposes the weakness of the unregularized controls.

(a) Fold 1 ()

(b) Fold 2 ()

(c) Fold 3 ()
Fig. 5. Scatter plots of actual versus predicted depth across the three specimen-level cross-validation folds. Fold 1 (a) displays the calibration of the Gradient Boosting control, while Fold 2 (b) and Fold 3 (c) demonstrate the robust generalization of the regularized XGBoost model under distribution shifts from rigid square grids to columnless circular layouts.
TABLE III DEPTH REGRESSION RESULTS ACROSS ALL FOLDS
| Fold | Test | RF | GBM | XGBoost | Adv-MLP | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MAE | RMSE | MAE | RMSE | MAE | RMSE | MAE | RMSE | ||||||
| 1 | SQ_03 | 0.0102 | 0.0171 | 0.996 | 0.0125 | 0.0184 | 0.996 | 0.0099 | 0.0169 | 0.996 | 0.1458 | 0.1725 | 0.628 |
| CI_03 | 0.0647 | 0.1021 | -0.042 | 0.0400 | 0.0861 | 0.259 | 0.1154 | 0.1309 | -0.714 | 0.3385 | 0.3665 | -12.43 | |
| Overall | 0.0207 | 0.0475 | 0.995 | 0.0178 | 0.0413 | 0.996 | 0.0303 | 0.0596 | 0.992 | 0.1831 | 0.2236 | 0.880 | |
| 2 | SQ_02 | 0.0120 | 0.0158 | 0.997 | 0.0162 | 0.0199 | 0.995 | 0.0359 | 0.0461 | 0.973 | 0.5221 | 0.5730 | -3.103 |
| CI_02 | 0.5209 | 0.5326 | -27.37 | 0.6834 | 0.7232 | -51.29 | 0.0756 | 0.0967 | 0.066 | 0.1370 | 0.1622 | -1.632 | |
| Overall | 0.1574 | 0.2850 | 0.844 | 0.2068 | 0.3869 | 0.712 | 0.0473 | 0.0647 | 0.992 | 0.4121 | 0.4919 | 0.534 | |
| 3 | SQ_01 | 0.1751 | 0.2437 | 0.257 | 0.2215 | 0.2812 | 0.011 | 0.1192 | 0.1608 | 0.677 | 0.3899 | 0.4293 | -1.303 |
| CI_01 | 0.0362 | 0.0414 | 0.829 | 0.0260 | 0.0292 | 0.915 | 0.0414 | 0.0527 | 0.722 | 0.8308 | 0.8356 | -68.82 | |
| Overall | 0.1209 | 0.1921 | 0.937 | 0.1452 | 0.2204 | 0.917 | 0.0888 | 0.1298 | 0.971 | 0.5620 | 0.6204 | 0.346 | |

(a) SQ_03: 25 square defects, 0.2–1.0 mm depth

(b) CI_03: 6 circular defects, 2.0 and 2.2 mm depth
Fig. 6. Three-dimensional structural reconstructions from XGBoost depth predictions. Green surfaces denote the true delamination boundaries, while red surfaces represent the computational predictions, demonstrating accurate spatial registration and clear resolution of closely spaced layers.
B. Three-Dimensional Computational Reconstruction
The three-dimensional output is shown in Fig. 6. The reconstruction is performed using the method described in Section II-F, applying Delaunay triangulation to the top and bottom point clouds generated from the predicted depths and segmentation masks. In the visual rendering, green surfaces represent the ground truth defect geometries, while red surfaces illustrate the computational depth estimates predicted by the regularized XGBoost model. The process completes in 3–5 seconds per specimen on standard workstation hardware, and the mean surface distance for each defect equals the regression MAE, as every pixel within a localized defect receives the same predicted depth.
The reconstruction of SQ_03 (Fig. 6, left) resolves all 25 square defects across the five depth layers (0.2, 0.4, 0.6, 0.8, and 1.0 mm), with close spatial alignment between predicted (red) and true (green) defect positions. For CI_03 (Fig. 6, right), the 0.2 mm spacing between the 2.0 and 2.2 mm circular defect levels is distinctly visible, confirming that the pipeline preserves sub-millimeter depth resolution. The visual overlay provides an intuitive view of the defect distribution, which is directly usable for finite element analysis or digital twin integration. Because the pipeline operates on localized physics features rather than full-volume tensors, it avoids the memory and time overhead of volumetric reconstruction methods.
V. CONCLUSION
This work presented a spatio-temporal decoupling architecture for computational depth measurement from thermographic video of CFRP subsurface defects. The results show that regular-grid calibration can create spatial dataset bias: RF, GBM, and the over-parameterized Adv-MLP can fit matched layouts but degrade under geometric shifts. By restricting regression to spatially averaged temporal responses, the framework removes the main geometric shortcut before learning.
Sixteen physics-informed features impose explicit mathematical constraints related to heat diffusion, while regularized XGBoost adds L1/L2 penalties and column sampling. Under specimen-level cross-validation, the combined approach achieves an MAE of 0.056 mm and an RMSE of 0.085 mm. Fold 2 is the clearest evidence: RF and GBM collapse on the columnless circular layout, whereas XGBoost retains substantially lower absolute error.
The framework assumes one depth per localized defect and is therefore not yet suited to sloped or multi-level impact damage. Small defects near the camera resolution limit and segmentation errors remain practical constraints. Future work will investigate spatially varying depth estimation while preserving the same protection against spatial overfitting and will extend validation to real impact damage.
REFERENCES
[1] L. Mishnaevsky, K. Branner, H. N. Petersen, J. Beauson, M. McGugan, and B. F. Sørensen, “Materials for wind turbine blades: An overview,” Materials, vol. 10, no. 11, p. 1285, 2017. doi: 10.3390/ma10111285.
[2] S. Abrate, Impact on Composite Structures. Cambridge, U.K.: Cambridge University Press, 1998. doi: 10.1017/CBO9780511574504.
[3] C. Kassapoglou, Design and Analysis of Composite Structures: With Applications to Aerospace Structures, 2nd ed. Chichester, U.K.: Wiley, 2013. doi: 10.1002/9781118536933.
[4] X. P. Maldague, Theory and Practice of Infrared Technology for Non-destructive Testing. New York, NY, USA: Wiley, 2001.
[5] C. Meola and G. M. Carlomagno, “Recent advances in the use of infrared thermography,” Meas. Sci. Technol., vol. 15, no. 9, pp. R27–R58, 2004. doi: 10.1088/0957-0233/15/9/R01.
[6] H. S. Carslaw and J. C. Jaeger, Conduction of Heat in Solids, 2nd ed. Oxford, U.K.: Oxford University Press, 1959.
[7] S. M. Shepard, J. R. Lhota, B. A. Rubadeux, D. Wang, and T. Ahmed, “Reconstruction and enhancement of active thermographic image sequences,” Opt. Eng., vol. 42, no. 5, pp. 1337–1342, 2003. doi: 10.1117/1.1566969.
[8] A. Schager, G. Zauner, G. Mayr, and P. Burgholzer, “Extension of the thermographic signal reconstruction technique for an automated segmentation and depth estimation of subsurface defects,” J. Imaging, vol. 6, no. 9, p. 96, 2020. doi: 10.3390/jimaging6090096.
[9] C. Ibarra-Castanedo and X. Maldague, “Pulsed phase thermography reviewed,” Quant. InfraRed Thermogr. J., vol. 1, no. 1, pp. 47–70, 2004. doi: 10.3166/qirt.1.47-70.
[10] N. Rajic, “Principal component thermography for flaw contrast enhancement and flaw depth characterisation in composite structures,” Compos. Struct., vol. 58, no. 4, pp. 521–528, 2002. doi: 10.1016/S0263-8223(02)00161-7.
[11] S. Ekanayake, S. Gurram, and R. H. Schmitt, “Depth determination of defects in CFRP-structures using lock-in thermography,” Compos. Part B: Eng., vol. 147, pp. 128–134, 2018. doi: 10.1016/j.compositesb.2018.04.032.
[12] Z. Wei, H. Fernandes, H.-G. Herrmann, J. R. Tarpani, and A. Osman, "A deep learning method for the impact damage segmentation of curve-shaped CFRP specimens inspected by infrared thermography," Sensors, vol. 21, no. 2, p. 395, 2021. doi: 10.3390/s21020395.
[13] H. Memon, Z. U. Abidin, J. Ahmed, and A. Siddiqua, “Debond Detection in CFRP Structures using Optical Pulse Thermography and Deep Learning,” in Proc. 5th Int. Conf. Comput. Math. Eng. Technol. (iCoMET), Sukkur, Pakistan, 2026, pp. 1–6. doi: 10.1109/iCoMET69771.2026.11591843.
[14] L. Santoro and R. Sesana, “A physics-informed framework for feature extraction and defect segmentation in pulsed infrared thermography,” Eng. Failure Anal., vol. 175, art. 109542, 2025. doi: 10.1016/j.engfailanal.2025.109542.
[15] Y. Dong, C. Xia, J. Yang, Y. Cao, and X. Li, “Spatio-temporal 3-D residual networks for simultaneous detection and depth estimation of CFRP subsurface defects in lock-in thermography,” IEEE Trans. Ind. Informat., vol. 18, no. 4, pp. 2571–2581, 2022. doi: 10.1109/TII.2021.3103019.
[16] X. Cheng, P.-S. Chen, Z. Wu, M. Cech, Z. Ying, and X. Hu, “Automatic Detection of CFRP Subsurface Defects via Thermal Signals in Long Pulse and Lock-In Thermography,” IEEE Trans. Instrum. Meas., vol. 72, pp. 1–10, 2023. doi: 10.1109/TIM.2023.3277996.
[17] W. Hng Lim, S. Sfarra, T.-Y. Hsiao, and Y. Yao, “Physics-Informed Neural Networks for Defect Detection and Thermal Diffusivity Evaluation in Carbon Fiber-Reinforced Polymer Using Pulsed Thermography,” IEEE Trans. Instrum. Meas., vol. 74, pp. 1–10, 2025. doi: 10.1109/TIM.2025.3551026.
[18] N. Yao, “Subsurface Defect Detection in Carbon Fiber-Reinforced Plastics Using Infrared Polarization Imaging,” IEEE Trans. Instrum. Meas., vol. 74, 2025. doi: 10.1109/TIM.2025.3551026.
[19] H. Wang et al., “Research on CFRP Small-Gap Defect Detection by Joint Scanning Laser Thermography Based on Restored Pseudo Heat Flux,” IEEE Trans. Instrum. Meas., 2025. doi: 10.1109/TIM.2025.3551026.
[20] L. Morelli, R. Marani, E. D'Accardi, D. Palumbo, U. Galietti, and T. D'Orazio, "A convolution residual network for heating-invariant defect segmentation in composite materials inspected by lock-in thermography," IEEE Trans. Instrum. Meas., vol. 70, pp. 1–14, 2021. doi: 10.1109/TIM.2021.3112345.
[21] P. Dhar, R. Amevorku, D. Amoateng-Mensah, and M. Sundaresan, "Deep learning-based depth estimation of flat bottom holes in CFRP using active infrared thermography," SAMPE J., vol. 62, no. 2, pp. 38–44, 2026. doi: 10.33599/SJ.v62no2.03.
[22] W. Zheng et al., “A novel approach for one-step defect detection and depth estimation using sequenced thermal signal encoding,” Non-destruct. Test. Eval., vol. 39, no. 8, pp. 2606–2621, 2024. doi: 10.1080/10589759.2024.2304719.
[23] G. Zhou et al., “Surface defect detection of CFRP materials based on infrared thermography and attention U-Net algorithm,” Non-destruct. Test. Eval., vol. 39, no. 2, pp. 238–257, 2024. doi: 10.1080/10589759.2023.2191954.
[24] M. Salah, N. Werghi, D. Svetinovic, and Y. Abdulrahman, “Multimodal attention networks for enhanced segmentation and depth estimation of subsurface defects in pulse thermography,” arXiv preprint arXiv:2501.09994, 2025. [Online]. Available: https://arxiv.org/abs/2501.09994
[25] P. Nooralishahi, B. M. Fisher, P. Collins, S. N. Givigi, and M. P. Brito, “Drone-based non-destructive inspection of industrial sites: A review and case studies,” Drones, vol. 5, no. 4, p. 106, 2021. doi: 10.3390/drones5040106.
[26] K. Milionis, A. Eliades, V. Grigoriev, and M. J. Blanco, “Unmanned Aerial Vehicles (UAVs) in the planning, operation and maintenance of concentrating solar thermal systems: A review,” Solar Energy, vol. 254, pp. 182–194, 2023. doi: 10.1016/j.solener.2023.03.005.
[27] Z. U. Abidin, H. Memon, and J. Ahmed, “Three-Channel Thermographic Fusion for Architecture-Independent Defect Detection and Segmentation in Carbon Fibre Reinforced Polymer Composites Using Deep Learning,” SSRN, 2026. doi: 10.2139/ssrn.7355934.
[28] L. Breiman, “Random forests,” Mach. Learn., vol. 45, no. 1, pp. 5–32, 2001. doi: 10.1023/A:1010933404324.
[29] T. Chen and C. Guestrin, “XGBoost: A scalable tree boosting system,” in Proc. 22nd ACM SIGKDD Int. Conf. Knowl. Discov. Data Min., San Francisco, CA, USA, 2016, pp. 785–794. doi: 10.1145/2939672.2939785.
[30] M. de Berg, O. Cheong, M. van Kreveld, and M. Overmars, Computational Geometry: Algorithms and Applications, 3rd ed. Berlin, Germany: Springer, 2008. doi: 10.1007/978-3-540-77974-2.
[31] J. Erazo-Aux, H. Loaiza-Correa, A. D. Restrepo-Girón, C. Ibarra-Castanedo, and X. Maldague, “Thermal imaging dataset from composite material academic samples inspected by pulsed thermography,” Data in Brief, vol. 32, p. 106313, 2020. doi: 10.1016/j.dib.2020.106313.
[32] J. Ahmed, B. Gao, and W. L. Woo, “Wavelet-Integrated Alternating Sparse Dictionary Matrix Decomposition in Thermal Imaging CFRP Defect Detection,” IEEE Trans. Ind. Informat., vol. 15, no. 7, pp. 4033–4043, 2019. doi: 10.1109/TII.2018.2881341.