The paper documents an end-to-end XRCT protocol that moves from raw radiographs to a quantified 3D fabric tensor. The workflow is presented as five discrete components: data acquisition (2D radiographs), reconstruction into a 3D volume, image pre-processing and segmentation, data cleaning and fabric-tensor calculation, and projection of principal fabric planes onto the physical sample. Some steps require instrument- or software-specific settings; the authors provide the exact implementation used in their step-by-step protocol document (S1 File). Short tasks, like model prediction and tensor calculation, run on a standard desktop. Longer tasks, including reconstruction and segmentation, are the most resource-intensive.
The protocol focuses on reducing artifacts that corrupt grain-shape measurements near the scanner resolution limit. Voxels at the discretization limit can bias fitted ellipsoid axes toward the X, Y, or Z acquisition axes, producing artificial clustering that mimics fabric. The workflow therefore integrates artifact mitigation, a supervised machine-learning thresholding procedure to generate reproducible candidate minimum grain-volume thresholds (Vmin), and an operator review step before a single per-sample operating cutoff is adopted.
The authors designed an ML classifier—referred to as ML-Threshold Selection—to predict which segmented objects lie below an expert-defined physical-volume reference threshold. The model represents each object using seven features: the object’s VoxelCount (physical volume scaled by sample voxel volume) and the six independent components of the symmetric log-ellipsoid tensor derived from fitted ellipsoids. These features capture object size, anisotropy, and orientation.
Expert-selected physical-volume thresholds are encoded as deterministic pseudo-labels for training. The classifier outputs a below-threshold-class probability for every object in a new sample. From the distribution of these probabilities as a function of volume, the workflow computes two reproducible candidate cutoffs: a loose candidate (the curve inflection) and a strict candidate (the smallest retained volume above which no object exceeds a default low-probability tolerance). Investigators reported held-out ROC AUCs from leave-one-sample-out cross-validation across five training samples; values ranged from 0.906 to 0.996. The authors emphasize that these candidates bound a sensitivity interval and require geologic review against the segmented volume and stereographic plots before choosing an operating Vmin. The adopted operating decision remains a single volume cutoff per sample to maintain compatibility with standard fabric software and avoid shape- or orientation-selective object removal.
The worked example uses a lherzolite xenolith (LE01) containing olivine, orthopyroxene, clinopyroxene, and spinel. In these mantle xenoliths, spinel commonly occurs as a discrete, high-attenuation phase that XRCT can segment and analyze individually. After initial segmentation and removal of invalid records, the prefiltered LE01 dataset contained many low-volume objects. The authors observed strong clustering of fitted ellipsoid principal axes parallel to the XRCT acquisition axes in the prefiltered data—behavior they attribute to voxel-grid discretization rather than geological fabric.
Applying the ML-derived loose and strict Vmin candidates progressively removed low-volume objects and reduced scan-axis clustering. The resulting retained population was then evaluated as the geological fabric using tensor-averaging methods already established in the literature.
Fabric estimation follows tensor averaging of individual grain tensors, using the corrected degree of anisotropy (P′) and the shape factor (T) to summarize anisotropy magnitude and ellipsoid geometry. P′ is derived from the logarithms of normalized principal-axis magnitudes and increases with ellipticity; T varies between −1 (prolate) and +1 (oblate), with 0 indicating plane strain. The authors apply bootstrap resampling (1,000 iterations) to assess statistical stability of P′ and T after filtering.
Bootstrap sampling draws n grains with replacement, where n equals the retained count at the chosen Vmin. The resulting P′ and T distributions provide medians and confidence intervals for the retained fabric. For LE01 the authors show that suppression of low-volume objects reduces aliasing and stabilizes the orientation distributions, yielding fabric metrics that better reflect the resolved grain population rather than voxelization artifacts.
All code, the trained model, per-grain XRCT datasets for the worked example and training samples, processed fabric tables, and reconstruction metadata are openly archived on GitHub and Zenodo as stated in the paper. The machine-learning code and trained model are included at the provided repositories.
Applicability depends on clear X-ray attenuation contrast and on target phases forming discrete, resolvable objects. The workflow is not suitable for phases with weak contrast, interconnected networks that cannot be separated into individual particles, or particles represented by too few voxels for reliable shape fitting. The ML thresholding procedure was developed and calibrated on spinel-bearing ultramafic rocks and therefore requires retraining before application to substantially different particle populations. The authors report that sensitivity to inter-operator variability has not yet been evaluated. These limitations frame the immediate next steps for applying the protocol beyond the demonstrated sample set.