Abstract
Structural echoes can obscure localized defect responses in phased-array ultrasonic weld envelope sequences. Scan-domain robust low-rank and sparse decomposition (SD-LRSD) is proposed for background separation in these sequences. Geometrically aligned frames are assembled into a space–scan matrix, and the correlated background and localized positive increments are modeled as low-rank and nonnegative sparse components. Both components are estimated by accelerated proximal updates. The separated response is reconstructed in three dimensions using retained spatial indices, and each location is traced to its contributing envelope samples through stored resampling weights. Across 10 noise realizations of one synthetic configuration, a mean response-region F1 score of 0.811 was achieved, compared with 0.341 for median subtraction and 0.463 for rank-3 truncated singular value decomposition. In the 123-frame weld scan, SD-LRSD retained 12.8% of the input amplitude sum over the full valid volume and 79.5% of the input sum in a fixed region around defect D2. A maximum normalized replay error of 4.55 × 10−8 was obtained at representative voxels from eight deep indications. The resulting indications can be inspected in both reconstruction and acquisition coordinates.
1. Introduction
Phased-array ultrasonic testing combines beam steering and mechanical scanning for weld inspection [1,2,3], but structural echoes can obscure localized defect responses in reconstructed envelope volumes. Chen et al. developed Fourier-domain full-matrix imaging for oblique incidence and cylindrical scans [4,5]. Full-matrix migration addressed multilayer structures [6], and delay-multiply-and-sum processing was incorporated into total focusing [7]. Gauthier et al. merged views using the vector coherence factor [8], and Xu et al. used sensitivity-guided plane-wave fusion for nozzle welds [9]. Global total focusing combined acquisitions through a digital twin [10], and WeldNet converted ultrasonic volumes into geometrical models [11]. These methods address propagation and geometric representation. Background separation in an envelope sequence also requires the recurrent amplitude patterns across scan positions to be modeled.
Yang et al. analyzed electrical noise in phased-array systems [12], while Wang et al. decomposed overlapping echoes through multiresolution sparse representation [13]. Both studies operate at the signal level; recurring amplitude patterns among aligned weld sections require a model across frames. Luijten et al. reviewed model-based and learning-based ultrasound processing [14]. In medical ultrasound, Chen et al. optimized singular value decomposition (SVD) clutter filtering [15], Su et al. introduced a low-rank prior into robust principal component analysis (RPCA) [16], and Lok et al. used wavelet-based RPCA for reverberation suppression [17]. For weld inspection, these separation priors must describe recurrent structure and positive local contrast among aligned material sections.
Full-sequence mean and median subtraction use a fixed background profile, and a moving median adapts that profile over a chosen scan window. Truncated SVD allows multiple shared modes but requires their number to be set in advance. Low-rank and sparse models estimate the background and localized departures jointly [18,19]. In a weld scan, recurrent aligned patterns support a low-rank background, while responses confined to space and scan extent support a sparse component. Nonnegativity restricts that component to positive envelope contrast. Retained spatial indices and resampling weights allow the separated responses to be reconstructed and traced to the acquired samples. In the scan-domain matrix, a row follows one X–Z position as the probe moves along the weld. An echo that recurs at that position can enter a shared background mode. For a reconstructed indication, the stored weights identify the beam and sound-path samples that contributed to its aligned input amplitude.
We formulate this connection as scan-domain robust low-rank and sparse decomposition (SD-LRSD). The method links data organization, component estimation, and reconstruction through three steps:
- (1)
- Geometric alignment gives each matrix row a fixed cross-sectional position and each column a scan frame, supporting a background model with shared spatial modes.
- (2)
- A joint objective balances a low-rank background against nonnegative sparse increments, with regularization determining the effective background dimension.
- (3)
- Spatial indices restore the separated response to three dimensions, while retained resampling weights link each indication to its original samples. A common amplitude reference supports comparison across methods and scan positions.
The analysis connects the statistical separation to its spatial meaning. Recovery of known synthetic components tests the low-rank and sparse assumptions directly. Measured weld data then relate the separated amplitudes to reconstructed indications and their contributing samples, allowing background suppression to be assessed alongside local-response retention. For each local response, we define scan occupancy as ρ = n/N, where n is the number of frames containing that response and N is the total number of frames. Scan-occupancy and parameter tests show how the results depend on response extent, regularization, and voxel selection.
2. Materials and Methods
Figure 1 summarizes the SD-LRSD workflow. Geometrically aligned envelopes form a space–scan matrix in which recurring structure is modeled as a low-rank background and localized positive contrast as a nonnegative sparse response. The components are estimated jointly by accelerated proximal updates. The separated response is reconstructed in three dimensions under a common amplitude reference, while retained spatial indices and resampling weights preserve source-sample correspondence for replay of the original aligned amplitudes.
Figure 1.
SD-LRSD workflow from aligned envelope samples to three-dimensional indications, with retained indices and resampling weights for source-sample replay.
2.1. Geometric Alignment of Scan Envelopes
Comparing amplitudes across frames requires a common cross-sectional coordinate system. We map angle–sound-path samples onto the X–Z grid before assembling the sequence. The scan coordinate Y identifies the material section occupied by each frame.
Let A(f, j, k) denote the acquired envelope amplitude, where f indexes frames, j beams, and k sound-path samples. For each beam j, θ is the refracted angle from the surface normal and xe is its exit position. The corrected sound-path origin r0 and sampling interval Δr define the path coordinate. Equation (1) maps each beam–path sample to its cross-sectional position:
rk = r0 + (k − 1)Δr,xj,k = xe,j + rksin(θj),zj,k = rkcos(θj)
The path coordinate follows from round-trip propagation time after wedge-delay and system-zero corrections. Frame positions supply Y; encoder readings can define these positions, while the present sequence uses a nominal spacing of 1.0 mm. The mapped samples generally fall between grid nodes, which requires spatial resampling. A linear kernel of radius h assigns neighboring samples the normalized weights used in Equations (2) and (3).
In Equation (2), p and q index the grid, d is the grid-to-sample distance, and the indexed mask excludes invalid beam–path samples. The indexed mask Mj,k is distinct from the node count M introduced in Section 2.2. The kernel gives zero weight at distances of h or more, and normalization makes the weights sum to one at each sampled node. Equation (3) expresses V as a local weighted average of acquired amplitudes. Grid nodes with zero total weight remain unsampled throughout the analysis. We retain each nonzero weight and its sample indices for source-sample replay. We used a kernel radius h = 0.75 mm on an X–Z grid with 0.5 mm spacing. The 123-frame scan had M = 3124 nodes valid in every frame.
2.2. Scan-Domain Representation of Background and Local Responses
The aligned volume V now has a common coordinate system, but only nodes sampled in every frame can be compared throughout the scan. Let Ω contain these M valid cross-sectional nodes, and let N denote the number of frames. Stacking the nodes in a fixed order forms the M × N matrix D in Equation (4). Each column contains one aligned frame; each row records one cross-sectional position along the scan.
Dm,f = V[f,zm,xm], D = L + H + E
Equation (4) models D as a low-rank background L, nonnegative sparse increments H, and residual E. These components describe patterns in the aligned envelopes, with E absorbing noise and deviations unexplained by L + H. Correlation and spatial locality guide how the observed amplitudes are allocated between the components.
A scan-invariant background produces identical columns and rank at most one. Scan variation can still have low rank when a few spatial patterns have scan-dependent amplitudes. The representation L = UCᵀ expresses these patterns through the M × r matrix U and their coefficients through the N × r matrix C. The model assumes that r is small relative to min(M, N). This factorization describes the background structure; the solver estimates L directly and selects its effective rank through singular-value shrinkage.
The complementary assumption concerns the spatial and scan extent of a localized response. Such a response occupies a limited cross-sectional region and scan interval, so it contributes to a subset of matrix entries. We use the nonnegative sparse component H to model positive local contrast relative to the fitted background L. The constraint H ≥ 0 specifies the sign of that contrast, while the ℓ1 penalty promotes entrywise sparsity.
Scan occupancy ρ is the fraction of frames occupied by a local response. A response can satisfy both priors when a localized spatial pattern repeats across frames. Increasing its occupancy expands its support and changes the penalty balance between assigning it to L or H. The occupancy tests examine this overlap under controlled synthetic conditions.
2.3. Joint Low-Rank and Nonnegative Sparse Estimation
Following the low-rank and sparse modeling approach in [16,17,18,19], we estimate L and H jointly. Equation (5) balances a quadratic fitting term with nuclear-norm regularization of L and ℓ1 regularization of H. The constraint H ≥ 0 restricts the extracted response to positive increments:
The quadratic term measures the part of D unexplained by L + H. The nuclear norm sums the singular values of L, penalizing the amplitude carried by its modes. The ℓ1 term penalizes the total magnitude of H and promotes entrywise sparsity under the nonnegative constraint. These convex penalties express the background and response priors within one objective.
Joint fitting couples the two estimates because assigning an increment to H changes the residual available to L. Updating L also changes which positive departures can be assigned to H. This coupling implements the model’s component allocation directly, rather than fixing a background before response extraction. Equation (6) sets the overall penalty scale and its relative weighting:
Here, μ sets the overall regularization strength, while λ controls the sparse penalty relative to the nuclear-norm penalty. The factor α scales μ by the spectral norm of D, and β adjusts λ through the matrix-size normalization. At fixed α and β, multiplying D by a positive factor scales both component estimates by that factor. The objective scales by its square, maintaining the balance between fit and penalties. We use α = 0.02 and β = 1 and examine nearby values in the sensitivity analysis.
2.4. Accelerated Proximal Solution and Background-Mode Selection
The convex objective contains nonsmooth norm penalties, for which we use accelerated proximal updates [20]. For the extrapolated matrices ZL and ZH, the shared residual G is their sum minus D. This residual is the partial gradient of the quadratic term with respect to either component. Under the joint Frobenius norm on (L, H), the gradient has Lipschitz constant = 2, giving the standard proximal-gradient step t = 1/ = 1/2. Equation (7) applies the two proximal updates, and Equation (8) defines the singular-value shrinkage operator:
L(k+1) = tμ(ZL − tG), H(k+1) = max(ZH − tG − tμλ,0)
a(UΣWT) = Udiag(max(σj − a,0))WT
Both updates in Equation (7) use G evaluated at the same extrapolated pair. The background update shrinks singular values by tμ; Equation (8) retains only their positive remainders. The surviving singular values determine the effective background dimension, avoiding a prescribed truncation rank. The response update applies the threshold tμλ and sets negative values to zero, enforcing H ≥ 0 at every iteration.
To accelerate these coupled updates, we initialize L = H = 0 and a0 = 1. Equation (9) combines the current and preceding estimates to construct the next extrapolated point. Within this equation, X denotes either component matrix, L or H:
The accelerated iteration uses the extrapolated matrices as its search point. To check convergence every 10 iterations, we evaluate the gradient at the current pair (L, H), using G = L + H − D. We take one gradient step and apply both proximal updates. Their joint output T(L, H) is the ordered pair of updated low-rank and nonnegative sparse matrices. Equation (10) gives the normalized difference Γ between the current pair and T(L, H). A small Γ indicates proximity to a fixed point.
The solver stops at Γ < 10−6 or after 1500 iterations. It uses double-precision arithmetic and a full SVD, with leading computational complexity O(MN2) per iteration for M ≥ N.
2.5. Spatial Reconstruction and Source-Sample Correspondence
After decomposition, each entry of H retains the grid-node and frame indices of the corresponding entry of D. These indices place the separated response on the three-dimensional acquisition grid.
Locations outside the common valid domain Ω remain undefined in the reconstructed volume. The normalization reference c0 is the 99.99th percentile of valid amplitudes in the original aligned volume V. Using this percentile limits the influence of the largest individual echoes while keeping a common scale for all methods. For the 123-frame scan, the valid aligned input amplitudes gave c0 = 664.5946 a.u. Equation (11) defines the clipped voxel score and subsequent local smoothing used for object extraction:
Equation (11) clips normalized scores to [0, 1] before spatial smoothing. The operator 𝒜7 averages each clipped score with its valid axial neighbors using equal weights. We group voxels with Q ≥ τ by 26-neighbor connectivity and discard components smaller than Nmin voxels. Equation (12) gives each retained object’s voxel count and centroid, with Q supplying the centroid weights. Peak and integrated responses and the three-axis bounding box complete the object description:
At a mask or volume boundary, we average the center and its finite, in-bounds axial neighbors, dividing by the number of values used. A masked center remains masked.
Object labels follow the order of integrated response within the reconstructed volume. To select a representative voxel, we first choose the object-containing frame nearest its Y centroid. We then select the highest-scoring object voxel in that frame. Applying its stored resampling weights to the contributing samples in A reproduces the original aligned amplitude V. The voxel therefore connects the original input, estimated L, and separated H at a common spatial location. This replay checks the numerical consistency of the retained sampling correspondence.
2.6. Validation Strategy
All methods on the 123-frame scan use the same geometric mapping, valid domain, and amplitude reference. We also fix smoothing, threshold, and connectivity so that the reconstructed outputs are compared under the same selection rules. For SD-LRSD, the nonnegative sparse component H supplies the volume used to extract candidate indications.
The experiments examine the assumptions and outputs at successive stages of the method. Known synthetic components allow recovery errors and response-region F1 scores to test the decomposition directly (Section 2.9 and Section 3.1). Measured amplitude ratios quantify background suppression and local-response retention under the common reference (Section 3.2). Source-frame regions, scan-direction profiles, and replay error check the sampling correspondence of reconstructed indications (Section 3.3). Parameter tests assess how regularization and voxel selection change the reconstruction (Section 3.4). Proximal residuals and runtime separately describe the numerical solution in Section 3.2.
2.7. Inspection Data and Defect Configuration
For the method comparison, we use 123 phased-array ultrasonic weld envelope frames acquired by continuous pulse–echo scanning. Frames f = 1, …, 123 are assigned Y = (f − 1) mm, covering 0–122 mm at a nominal spacing of 1.0 mm. X and Z follow the instrument’s configured geometric parameters. After geometric alignment, nodes valid in every frame form the common matrix D used by all background-separation methods.
Each frame contains 38 beams with 500 envelope samples per beam at a sound-path increment of 0.08101 mm. We used the exported amplitudes in instrument units. The separate setup lists a Doppler Robust P1 32/128 board, a 5 MHz, 32-element probe (0.6 mm pitch) and an SDP2-N55S wedge (36°, 2337 m/s). It specifies a 32-element transmit/receive aperture, 15 mm focus, refracted angles of 28–65° in 1° steps, shear-wave speed of 3240 m/s, 40 dB gain and TCG off. At the configured shear-wave speed, the sound-path increment corresponds to a 50.0 ns round-trip interval.
The specimen contains eight internal defects, labeled D1–D8. Figure 2 shows their centers in a cutaway view and a Y–Z projection. The centers span X = −9 to 14 mm, Y = 38–107 mm, and Z = 11.8–28 mm. D2/D3 and D5/D6 lie at similar scan positions and are separated in the cross-section. X is transverse to the scan, Y follows the scan, and Z increases with depth from the specimen surface at Z = 0. The cavity contours depict the defect arrangement schematically. We used the nominal centers marked in Figure 2 as references.
Figure 2.
Experimental defect configuration: (a) specimen cutaway with defect centers D1–D8; (b) scan–depth projection of the centers.
2.8. Baselines and Evaluation Metrics
The measured-data comparison uses the same D and processing chain for every method. Raw denotes the aligned unprocessed input; Mean and Median subtract full-sequence background profiles. Moving median uses a 41-frame window, and Rank-3 SVD uses a rank-3 truncated estimate. Each subtraction method returns its positive residual for the shared reconstruction procedure. Table 1 and Table 2 include all methods; Figure 3 and Figure 4 show Median, Moving median, Rank-3 SVD, and SD-LRSD in that order. For signed LRSD we allow either sign in the sparse component, keeping the regularization and stopping rule fixed. Its positive part enters the same scoring and extraction steps as the other methods. Rank three matches the maximum rank of the constructed synthetic background. A 41-frame moving median spans one third of the measured scan, with shorter windows at the ends.
Table 1.
Synthetic recovery metrics at nominal occupancy 0.15 (14 of 96 frames per target) over 10 noise realizations (mean ± standard deviation). Errors eH and eL and response-region F1 are defined in Equation (17). The in-region ratio compares estimated and true response amplitudes within the ground-truth region. For Raw, we set the background estimate to zero and use the input D as the estimated response. The continuous metrics are shown to six decimal places to distinguish the two LRSD fits.
Table 2.
Measured-data amplitude-sum ratios and indication counts under a common amplitude reference and identical post-processing. Each amplitude ratio uses the original input sum in the same region as its denominator. The final column gives the total object count followed by the deep-object count. We sum the method outputs before clipping, smoothing, thresholding or size filtering. The retained-voxel count includes only voxels in 26-connected components of at least five voxels after thresholding.
Figure 3.
Synthetic response recovery: (1) ground truth; (2–5) method comparisons; (6) amplitude at the target-center node in arbitrary units on the original synthetic scale. The prescribed target has a peak amplitude of 1.0 at this node.
Figure 4.
Measured Y–Z section at X = −8.5 mm. Panels (1–5) show amplitudes divided by the input reference c0 = 664.5946 a.u. Panel (6) shows the output amplitude sum as a percentage of the input sum over the full valid volume and in the outlined D2 region.
For measured-data object extraction, every method uses τ = 0.28 and Nmin = 5. We report voxel and object counts together with amplitude-sum ratios for the full valid volume, the near-surface region, and a fixed local region around D2. The near-surface region is Z ≤ 3 mm. The local region has X = −9.5 to −7.5 mm, Y = 47–58 mm, and Z = 11–13 mm. Each ratio is the output amplitude sum divided by the original input sum over the same region. These ratios compare overall and near-surface attenuation with response retention in the selected local region.
A component is deep if its maximum occupied Z exceeds 3 mm. We paired deep score-weighted centroids with the nominal centers in Figure 2 using Euclidean distance in (X, Y, Z). The one-to-one assignment first maximizes the number of pairs within 2.45 mm, then minimizes their total distance. This allowance spans two voxel diagonals on the reconstruction grid. The closest reference centers are 14.33 mm apart. At τ = 0.28, decreasing the gate to one diagonal reduced SD-LRSD matches from eight to seven and left one additional deep indication. Increasing the matching distance threshold to three times the diagonal length yielded eight matches, and no additional deep indications were observed. A deep component without a match counts as an additional indication relative to the eight listed sites.
For each of the eight deep objects, source-sample replay checks the representative voxel selected in Section 2.5. We reassemble its contributing samples using the stored weights and compare the result with V at that voxel. The largest absolute discrepancy divided by c0 defines the maximum normalized replay error. Scan-direction profiles of V, L, and H at the representative positions show how the fitted components divide the local amplitude.
The parameter study then tests how the penalty balance and voxel threshold affect the reconstructed output. We vary α ∈ {0.01, 0.02, 0.04}, β ∈ {0.5, 1, 2}, and τ = 0.15–0.50 one factor at a time. The other parameters retain their reference settings in each comparison. We record background rank, local-region amplitude-sum ratio, object count, and visible extent. We set α = 0.02 as the reference fraction of the largest singular value and β = 1 to use the matrix-size scaling in Equation (6) directly.
2.9. Synthetic Data and Ground-Truth Metrics
To assess separation directly, we construct data with known background and response components. The synthetic matrix contains 16 × 24 spatial nodes and 96 frames. Three smooth spatial modes have linear, sinusoidal, and cosinusoidal scan coefficients, giving a background of rank at most three. Truncated Gaussian patches of peak amplitudes 1.0, 0.8, and 0.6 occupy rectangular scan intervals. Added noise is independent and zero-mean Gaussian, with a standard deviation of 0.03. Nominal occupancies ρ = 0.15, 0.35, 0.55, and 0.75 correspond to 14, 34, 53 and 72 occupied frames per target, respectively. Each scenario has 10 independent noise realizations, giving 40 inputs in total.
The grid indices x and z run from 0 to 23 and from 0 to 15, respectively. We divide the frame index j (0 to 95) by 95 to obtain the normalized scan coordinate u. At each node, the background amplitude L0 is
L0 = a(1 + 0.3u) + b[1 + 0.6sin(2πu)] + c[1 + 0.5cos(4πu)]
The spatial coefficients a, b and c depend on the grid coordinates as follows.
The three patch centers in the x–z grid are (6, 5), (17, 10) and (8, 12). Their peak amplitudes are 1.0, 0.8 and 0.6, respectively. For patch k centered at (xk, zk), the spatial profile is
The baseline width factor s is 1. We set profile values below 0.1 to zero before multiplying by the peak amplitude. The scan-center fractions fk are 0.25, 0.65 and 0.50 for the three patches, respectively. At nominal occupancy ρ, each patch spans w consecutive frames starting at index jk. Let R be rounded to the nearest integer, taking the even integer at a tie. The width and starting index are
w = max{2,R(96ρ)}
jk = min{96 − w,max[0,R(96fk − w/2)]}
These known components distinguish decomposition accuracy from the later reconstruction and voxel-selection steps. We compare synthetic responses directly, without three-dimensional smoothing or method-specific normalization. Equation (17) defines relative errors against H0 and L0 and the response-region F1 score. Entries with H0 > 0.1 define the true region, and estimated amplitudes above 0.1 define the predicted region. True positives (TP) lie in both regions, false positives (FP) only in the prediction, and false negatives (FN) only in the truth:
The in-region amplitude-sum ratio compares estimated and true response sums within the ground-truth region. It complements F1 by measuring retained amplitude within that region. Background structure and target geometry remain fixed within each scenario. Means and standard deviations over the 10 noise realizations describe sensitivity to the specified noise under that configuration. Precision and recall use the 0.1 cutoff for both the true and estimated responses.
3. Results and Analysis
3.1. Separation Performance on Synthetic Data
Figure 3 shows response-region recovery and a representative amplitude profile for one noise realization at the threshold of 0.1. Table 1 summarizes the corresponding configuration over 10 noise realizations.
The F1 scores in Figure 3 were 0.352, 0.400, 0.447, and 0.811 for Median, Moving median, Rank-3 SVD, and SD-LRSD, respectively. The median methods left false positives outside the target region. Rank-3 SVD missed more of the region and attenuated its amplitude profile. SD-LRSD reduced false positives while retaining the localized response interval.
Signed LRSD and SD-LRSD selected the same entries above 0.1 in each of the ten realizations, giving both a mean F1 of 0.811. The signed fit contained one to three negative entries in eight realizations. Using its positive part for scoring, Signed LRSD gave a mean relative response error of 0.388565 and an in-region amplitude ratio of 0.578510. The corresponding SD-LRSD values were 0.388556 and 0.578521. These differences were smaller than the variation across noise realizations (Table 1). Median and Rank-3 SVD gave mean F1 scores of 0.341 and 0.463. Rank-3 SVD retained 0.253 of the true in-region amplitude sum, compared with 0.579 for SD-LRSD. A background mode can absorb part of a target echo, as the weaker residual in Figure 3(6) illustrates. An attenuated entry still counts as a true positive if it exceeds 0.1 inside the true region, even as its contribution to the amplitude sum falls.
Mean SD-LRSD F1 fell from 0.811 at nominal occupancy 0.15 to 0.271 at 0.35, 0.108 at 0.55 and 0.024 at 0.75. The largest observed drop was between 14 and 34 occupied frames out of 96 per target. At 0.75 the same spatial response persists for 72 frames. A background mode can represent that recurring pattern, while assigning it to H incurs a sparse penalty in every occupied frame. As more of the echo enters the fitted background, fewer entries exceed the recovery cutoff of 0.1. In a weld inspection, an elongated echo can therefore be weak in the sparse image. Its original envelopes can be followed along the scan. Where access permits, extending the scan beyond both ends of the echo reduces the fraction of frames it occupies.
At occupancy 0.75, mean SD-LRSD precision was 1.000 and recall was 0.012. Entries with H ≤ 0.1 contained 97.1% of the true in-region amplitude. Summed over the true region and divided by its true amplitude sum, the excess fitted background (L − L0) accounted for 84.5%, the sparse estimate H for 1.0% and the fitting residual (D − L − H) for 14.5%. Additive noise contributes to this balance. In a separate three-seed test at occupancy 0.15, halving the target amplitude reduced mean F1 from 0.813 to 0.448. Increasing both cross-sectional Gaussian widths by 50% at the original amplitude gave 0.595. At occupancy 0.75, broad targets at half amplitude gave F1 = 0 for all three seeds.
3.2. Background Separation and Local-Response Retention in Measured Data
The measured-data solution converged after 270 iterations, with Γ = 7.83 × 10−7 and an effective background rank of 9. Decomposition took 22.43 s. Figure 4 compares the methods on the Y–Z section at X = −8.5 mm, with Raw defining the 100% reference for amplitude-sum ratios. Displayed amplitudes are normalized by c0 and shown over 0–1.2 with a power-law exponent of 0.35; orange outlines mark the fixed local region. The original timing log gives no hardware identifier. A repeat of the 270 iterations on an Intel Core i5-9400 (2.90 GHz, one BLAS thread) took 25.31 s with Python 3.13.5, NumPy 2.3.1 and SciPy 1.16.1. The timer ran during iterative updates, full SVDs and convergence checks. Gridding and the initial spectral-norm calculation preceded timing, and object extraction followed it.
Median and Moving median retained the main high-amplitude responses but left widespread low-amplitude residuals (Figure 4). Rank-3 SVD attenuated the response within the outlined local region. SD-LRSD retained that response while suppressing the surrounding residuals.
In the fixed region around D2, amplitude-sum ratios were 93.7% for Median, 93.0% for Moving median, 2.0% for Rank-3 SVD, and 79.5% for SD-LRSD. SD-LRSD retained less local amplitude than the median methods, with a lower overall ratio of 12.8% versus 26.9% and 21.2%, respectively. Rank-3 SVD had the lowest near-surface ratio, 10.5%, compared with 18.9% for SD-LRSD, but retained only 2.0% locally (Table 2). Both background and defect echoes contribute to the full-volume ratio. Figure 4 shows where the residuals diminish outside the D2 box.
We selected the original D2 box around the echo visible at X = −8.5 mm. For the eight-site comparison, we centered equal boxes on the grid nodes nearest the Figure 2 annotations (±1 mm in X and Z, ±5 mm in Y). SD-LRSD retained 85.0%, 79.4%, 74.8%, 84.0%, 79.4%, 77.4%, 68.4% and 76.4% of the input sums for D1 through D8, respectively. The uniform D2 box starts at Y = 48 mm, one frame later than the original box. Both end at 58 mm. Sixteen control boxes use the same X and Z positions at Y = 10 and 118 mm. Their ratios ranged from zero to 0.0683%.
3.3. Three-Dimensional Indications and Source-Sample Checks
At τ = 0.28, 815 voxels on the 0.5 mm × 1.0 mm × 0.5 mm grid entered connected-component analysis (Figure 5). Size filtering retained 809 voxels in nine objects, including one near-surface object. Deep-object centroids spanned X = −8.73 to 14.26 mm, Y = 38.19–107.50 mm, and Z = 11.80–27.60 mm.
Figure 5.
Reconstructed indications: (1–3) maximum projections; (4) voxel representation of the eight deep objects.
Figure 5, Figure 6 and Figure 7 retain the deep-object labels I-01–I-07 and I-09. The near-surface object I-08 is excluded from the source-sample checks. Based on position, D1–D8 correspond to I-03, I-02, I-06, I-04, I-05, I-07, I-01, and I-09, respectively. Table 3 pairs the score-weighted centroids from Equation (12) with the nominal centers marked in Figure 2. The distance is the Euclidean norm of the three coordinate differences. D7 had the largest offset (1.76 mm). For D2, the two sets of coordinates agree to the precision of the figure label.
Figure 6.
Original envelope regions corresponding to the eight deep indications.
Figure 7.
Scan-direction profiles of the input, estimated background, and separated response for the eight deep indications.
Table 3.
SD-LRSD centroid offsets from the eight nominal centers. Coordinates are in (X, Y, Z) order, in mm.
At τ = 0.28, Raw matched all eight references and produced two additional deep indications. Mean, Median, Moving median and Signed LRSD each matched eight and produced one additional indication. SD-LRSD matched eight with no additional deep indications. Rank-3 SVD missed D2, D3 and D7 and produced one additional deep indication. D2 and D3 differ by 22.58 mm in X, and D5 and D6 by 17.00 mm, which separates both pairs despite their similar Y positions. The unmatched deep components were I-20 and I-26 for Raw, I-10 for Mean, I-11 for Median, I-10 for Moving median, I-06 for Rank-3 SVD and I-10 for Signed LRSD.
Figure 6 shows the original angle–sound-path regions associated with the eight representative voxels. The panels follow the order I-01, I-02, I-03, I-04, I-05, I-06, I-07, and I-09. Their representative frames are 96, 54, 39, 68, 82, 53, 82, and 108, respectively. Orange contours mark the acquired samples contributing to each representative voxel.
All eight indications corresponded to localized echoes in their representative frames, including the weaker I-09. Figure 7 shows V/c0, L/c0, and H/c0 along the scan at the same cross-sectional positions and in the same object order. Dots mark the representative frames, and shaded bands mark the reconstructed extents. The original envelope regions and profiles in Figure 6 and Figure 7 share the normalized amplitude range 0–1.3.
At the representative voxels, H/c0 ranged from 0.417 to 1.078. Profile peaks fell within the reconstructed scan intervals, with generally smaller responses outside them. I-01 and I-02 each spanned 11 mm along the scan; I-09 spanned 7 mm. Together, the eight deep objects contained 784 voxels at the reference extraction settings. Replay at their representative voxels gave a maximum normalized error of 4.55 × 10−8 against the original aligned amplitudes. This discrepancy tests the numerical replay of aligned amplitudes. Table 3 reports position offsets in millimeters. Along the scan, we measure the distance between the first and last occupied frame centers as their index difference times the nominal 1 mm pitch. The 11 mm spans cover 12 consecutive frame centers and the 7 mm span covers eight. With frames numbered from one, I-01 occupies frames 90–101, I-02 occupies 48–59 and I-09 occupies 105–112.
3.4. Parameter Sensitivity
Increasing α from 0.01 to 0.04 reduced the background rank from 12 to 7, while the local-region amplitude-sum ratio stayed within 79.0–79.8%. Increasing β from 0.5 to 2 reduced this ratio from 90.5% to 49.5% and the object count from 17 to 7. Local-amplitude allocation was therefore more sensitive to β than to α over the tested ranges. At β = 1, Equation (6) gives λ = 1/√max(M, N). At this setting SD-LRSD retained 79.5% of the input sum in the fixed D2 box and yielded nine objects, eight of them deep.
At α = 0.02 and β = 1, raising τ from 0.20 to 0.40 reduced the retained voxel count from 1368 to 348. The total object count decreased from 16 to 8 over this interval. The deep-object count stayed at eight for τ = 0.28–0.40 and fell to four at τ = 0.50. The threshold affected both the number of extracted objects and their reconstructed extents. We used τ = 0.28 for the common comparison. At 0.28 and 0.30, all eight deep centroids matched the nominal sites. For a weld with unknown defect locations, a practical option is to select β and τ first on a reference weld acquired with the same settings. Varying β shows how much of a reference echo remains as clutter falls. With β fixed, neighboring thresholds can then be compared for consistency of the candidate positions, using the source envelopes to examine borderline indications. Both settings can then be fixed before inspecting the weld of interest.
At τ = 0.35 and 0.40, the deep-object count remained eight, but only seven centroids fell within the matching gate. At 0.50, three of the four deep objects matched a reference. Signed LRSD matched all eight sites at both 0.28 and 0.30, with one additional deep indication at 0.28 and none at 0.30. At τ = 0.28, SVD ranks of 1, 3, 6, 9 and 12 gave 8, 5, 1, 0 and 0 matches, respectively. Moving-median windows of 21, 41, 61 and 81 frames gave 2, 8, 8 and 8. In the same rank order, the numbers of additional deep indications were 1, 1, 0, 0 and 0. The four median windows produced 2, 1, 1 and 1 additional indications, respectively.
SD-LRSD separates recurring weld background from responses confined to space and scan extent. In the measured sequence, 79.5% of the amplitude sum in the fixed region around D2 was retained, compared with an overall ratio of 12.8%. These results, together with the source-sample checks, support its feasibility for locating weld indications while preserving their connection to the acquired echoes.
4. Discussion
Figure 8 shows the phased-array inspection setup.
Figure 8.
Phased-array ultrasonic setup.
Figure 9 shows a second weld with a preset defect. For this reconstruction we used the 41-frame series supplied as the instrument record of that scan. The scan runs from Y = −20 to +20 mm in 1 mm steps. Each frame contains 61 beams from 25° to 70° in 0.75° steps and 500 equally spaced samples along a one-way sound path of 0–40 mm. Angles are measured from the inward surface normal (+Z) toward +X. The 500 samples run from the entry point (X, Z) = (−25, 0) mm in steps of 40/499 mm. With the processing settings in Section 2.1, Section 2.2, Section 2.3, Section 2.4 and Section 2.5, one 32-voxel indication remained at Q ≥ 0.28. Its score-weighted centroid was (0.05, 0.09, 20.06) mm in (X, Y, Z).
Figure 9.
Reconstruction of the 41-frame weld scan. (1) Aligned input V/c0 at Y = 0 mm (frame 21), with c0 = 2487.9341 a.u., the 99.99th percentile of the valid aligned input over the scan. (2) Maximum Q over X at each (Y, Z). (3) Maximum Q over Y at each valid (X, Z) on the Cartesian grid. The sector outline follows the beam coverage. (4) Exposed faces of the retained voxels.
On the 123-frame scan, several methods matched all eight annotated sites. At τ = 0.28, SD-LRSD produced no additional deep indications, compared with one or two for the other methods that matched all eight. Replaying the source samples tested how closely their stored indices and weights reproduced the aligned input at a selected voxel. In the synthetic test at occupancy 0.15, SD-LRSD recovered 57.9% of the true in-region amplitude. Attenuation can move a weak peak below the detection cutoff or bring the apparent edge inward. Both effects matter when interpreting peak amplitude or using a thresholded extent to estimate flaw size.
5. Conclusions
In the synthetic tests, mean SD-LRSD response-region F1 fell from 0.811 to 0.271 as target occupancy rose from 14 to 34 of 96 frames. In the 123-frame weld scan, the sparse estimate retained 12.8% of the input amplitude sum over the full valid volume and 79.5% in the fixed D2 region. At τ = 0.28, all eight deep indications matched an annotated site within 2.45 mm. At one representative voxel per indication, the stored sample weights reproduced the aligned input amplitudes with a maximum normalized discrepancy of 4.55 × 10−8. Figure 9 shows how the same processing settings reconstruct an indication in the separate 41-frame scan.
Author Contributions
Methodology, J.Y.; Software, Y.Z.; Validation, W.J.; Formal analysis, Y.Z.; Resources, R.T., J.H., W.J. and J.Y.; Data curation, J.H.; Writing—original draft, Y.Z.; Writing—review & editing, Y.Z.; Visualization, W.J. and J.Y.; Supervision, R.T., J.H. and J.Y.; Project administration, J.Y.; Funding acquisition, R.T., J.H. and W.J. All authors have read and agreed to the published version of the manuscript.
Funding
Supported by CHN Energy Investment Group under its Science and Technology Innovation Project (grant number GNDDH-ZTB-2025-002).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
Authors Ruochao Tian, Jianwei Hou and Weiwei Jiang were employed by the company CHN Energy Dadu River Zhentouba Power Generation Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
References
- Xu, Q.; Wang, H. Sound Field Modeling Method and Key Imaging Technology of an Ultrasonic Phased Array: A Review. Appl. Sci. 2022, 12, 7962. [Google Scholar] [CrossRef] [Scilit]
- Nicolson, E.; Mohseni, E.; Sumana; Lines, D.; Pierce, G.; MacLeod, C.N. Dual-tandem phased array method for imaging of near-vertical defects in narrow-gap welds. NDT E Int. 2023, 135, 102808. [Google Scholar] [CrossRef] [Scilit]
- Nicolson, E.; Mohseni, E.; Lines, D.; Tant, K.M.M.; Pierce, G.; MacLeod, C.N. Towards an in-process ultrasonic phased array inspection method for narrow-gap welds. NDT E Int. 2024, 144, 103074. [Google Scholar] [CrossRef] [Scilit]
- Chen, M.; Xu, X.; Yang, K.; Wu, H. Full-Matrix Imaging in Fourier Domain towards Ultrasonic Inspection with Wide-Angle Oblique Incidence for Welded Structures. Sensors 2024, 24, 832. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chen, M.; Weng, C.; Xu, X.; Yang, K.; Mei, D.; Chen, J.; Jin, H. 3D ultrasonic full matrix capture imaging for cylindrical scans with wavenumber-domain reconstruction. Mech. Syst. Signal Process. 2024, 217, 111528. [Google Scholar] [CrossRef] [Scilit]
- Wu, J.; Hu, H.; Song, Y.; Ni, P.; Li, X. Ultrasonic phased array imaging of multi-layered structures using full-matrix migration and normalized cross-correlation matching technique. NDT E Int. 2024, 145, 103130. [Google Scholar] [CrossRef] [Scilit]
- Teng, D.; Liu, L.; Xiang, Y.; Xuan, F.-Z. An optimized total focusing method based on delay-multiply-and-sum for nondestructive testing. Ultrasonics 2023, 128, 106881. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gauthier, B.; Painchaud-April, G.; Le Duff, A.; Bélanger, P. Ultrasonic multi-view data merging using the vector coherence factor. NDT E Int. 2023, 136, 102805. [Google Scholar] [CrossRef] [Scilit]
- Xu, X.; Chang, Z.; Wu, E.; Wu, S.; Chen, J.; Yang, K.; Jin, H. Data fusion of multi-view plane wave imaging for nozzle weld inspection. NDT E Int. 2024, 141, 102989. [Google Scholar] [CrossRef] [Scilit]
- Mansur Rodrigues Filho, J.F.; Bélanger, P. Global total focusing method through digital twin and robotic automation for ultrasonic phased array inspection of complex components. NDT E Int. 2023, 137, 102833. [Google Scholar] [CrossRef] [Scilit]
- Provencal, E.; Laperrière, L. WeldNet: From 3D phased-array ultrasound scans to 3D geometrical models of welds and defects. CIRP Ann. 2022, 71, 445–448. [Google Scholar] [CrossRef] [Scilit]
- Yang, W.; Wang, Q.; Hou, Y.; Yu, C.; Shi, X.; Hu, Y.; Ke, Y. Analysis and denoising of electric noise in phased array ultrasonic testing system. NDT E Int. 2024, 146, 103164. [Google Scholar] [CrossRef] [Scilit]
- Wang, H.; Zhang, G.; Ma, H.; Zhang, X.; Chen, Y.; Harvey, D.M. A multiresolution sparse signal representation approach for the decomposition of overlapping echoes in complex ultrasonic signals. Mech. Syst. Signal Process. 2024, 219, 111593. [Google Scholar] [CrossRef] [Scilit]
- Luijten, B.; Chennakeshava, N.; Eldar, Y.C.; Mischi, M.; van Sloun, R.J.G. Ultrasound Signal Processing: From Models to Deep Learning. Ultrasound Med. Biol. 2023, 49, 677–698. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chen, Y.; Fang, B.; Meng, F.; Luo, J.; Luo, X. Competitive Swarm Optimized SVD Clutter Filtering for Ultrafast Power Doppler Imaging. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2024, 71, 459–473. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Su, X.; Wang, Y.; Chu, H.; Jiang, L.; Yan, Y.; Qiao, X.; Yu, J.; Guo, K.; Zong, Y.; Wan, M. Low-rank prior-based Fast-RPCA for clutter filtering and noise suppression in non-contrast ultrasound microvascular imaging. Ultrasonics 2024, 142, 107379. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lok, U.-W.; Gong, P.; Huang, C.; Tang, S.; Zhou, C.; Yang, L.; Watt, K.D.; Callstrom, M.; Trzasko, J.D.; Chen, S. Reverberation clutter signal suppression in ultrasound attenuation estimation using wavelet-based robust principal component analysis. Phys. Med. Biol. 2022, 67, 095018. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lang, S.; Li, J.; Li, S.; Zhao, B.; Qi, S. An Innovative Low-Rank Sparse Matrix Decomposition Clutter Suppression Method Based on Non-Convex Alternatives for Pseudo-Random-Coded Ground-Penetrating Radar. IEEE Trans. Geosci. Remote Sens. 2025, 63, 4506523. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.-Y.; Li, X.P.; So, H.C.; Liu, Z. Robust PCA via non-convex half-quadratic regularization. Signal Process. 2023, 204, 108816. [Google Scholar] [CrossRef] [Scilit]
- d’Aspremont, A.; Scieur, D.; Taylor, A. Acceleration Methods. Found. Trends Optim. 2021, 5, 1–245. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.








