arXiv:2608.29223cs.AIAug 2026

Manuscript Offprint

arXiv:2608.29223

Computational Depth Measurement in Thermographic Video: Overcoming Spatial Overfitting via Spatio-Temporal Decoupling

Zain Ul Abidin, Habeeban Memon, Junaid Ahmed

Zain Ul Abidin D◯\textcircled{D}, Habeeban Memon D◯\textcircled{D}, and Junaid Ahmed D◯\textcircled{D}

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 X(i,j,t)X(i,j,t), where (i,j)(i,j) 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 tpeakt_{peak} are related by [6]

d=βαtpeak,(1)d=\beta\sqrt{\alpha t_{\mathrm{p e a k}}}, \tag{1}

where α\alpha is thermal diffusivity and β\beta 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 H×WH \times W and temporal length T, full volumetric processing scales with O(HWT)\mathcal{O}(HWT), 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:

  1. It formulates thermographic depth regression as a dataset-bias problem in which spatial geometry can act as a hidden depth label.

  2. It separates spatial localization from temporal measurement through a two-stage spatio-temporal decoupling architecture, avoiding direct full-tensor regression.

  3. It uses sixteen physics-informed features as explicit mathematical constraints derived from the thermal response and the one-dimensional heat-conduction relationship.

  4. 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.

  5. 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.

References (30)