Introduction

Pancreatic duct stone (PDS) is the most common pathological characteristic of chronic pancreatitis (CP), with an incidence of 50–90% in CP patients in western countries [1]. Extracorporeal shock wave lithotripsy (ESWL) is preferred as the first-line treatment prior to endoscopic retrograde cholangiopancreatography (ERCP) for PDS > 5 mm [2], but shows multifarious treatment responses in different individuals. Few reports [3, 4] have endeavored to predict ESWL efficacy for PDS patients utilizing non-contrast computed tomography (NCCT) parameters, which are dominated by density-related indexes such as Hounsfield units (HU). Our former study [5] was the first report on the significance of mean stone density for ESWL treatment efficacy in PDS patients. Recent advanced studies [6, 7] on urinary calculi stated that the stone composition, which accounts for imaging density or gray scale based on X-ray attenuation, can determine stone hardness or fragility. Accurate preoperative information about the inner stone components can assist physicians in estimating susceptibility to fragmentation by lithotripsy, thus avoiding unnecessary invasive interventional procedures or treatment failure. However, there are very few studies on PDS composition, stratified as inorganics of calcium carbonate and organics of proteins and mucopolysaccharides, although it is speculated to play an equally significant role for optimal disease management.

Several imaging modalities have been used for characterizing stones. Conventional plain radiography is simple and widely available for detecting stone location and size, but cannot depict the inner structure of the stone with low resolution [8]. As an alternative method, high-resolution CT can differentiate uric acid (UA) stones from other types using CT attenuation value in HU [9, 10]. However, it was unreliable for routine clinical application owing to its limited accuracy in distinguishing sub-types of calcium-based stones with mixed composition due to the overlapping grayscale values [11]. Infrared spectroscopy (IR) was used as a reference in some studies [12, 13], but the spot sampling mode limited its application for stones with mixed compositions. In essence, the micro-CT scanner imaging principle is basically the same as the clinical CT scanner. The former has the advantage of high resolution. Instead, micro-CT can accurately determine proportions of minerals with different X-ray attenuation values, solely based on the grayscale segmentation principle on three-dimensional image stacks. Micro-CT has been used as a reference standard due to its capability of reflecting heterogeneity and the actual percentage of each component in mixed stones [14]. However, it is only suitable for isolated single stone. Dual-energy computed tomography (DECT), with two different energy levels for post-acquisition image processing, can differentiate materials with different atomic numbers but similar attenuation coefficients [15]. The pixel-to-pixel analyzing mode could avoid overlap among different materials on CT images. In an in vitro study by Ferrandino [16], DECT was able to identify the brushite, calcium, struvite, cysteine and UA contents in stones. Primak et al. [17] reported 92–100% accuracy in differentiating UA from non-UA stones with DECT.

The purpose of this ex vivo study was to investigate the capability and feasibility of DECT in differentiating and quantifying the CA and NCA components within PDS, with micro-CT as a reference standard. Accurate stone composition and CA structural details can provide more evidence for the treatment selection.

Materials and methods

Phantom design and micro-CT scans

A total of 12 human PDS (maximum diameter 10.59–13.53 mm; mean 12.40 mm) of mixed CA/NCA composition were harvested from general surgery department in our hospital. No internal review board approval was required for the phantom study. The CA and NCA proportions of all stones were previously verified by micro-CT as a reference standard. Scanning parameters for micro-CT using a Skyscan 1076 system (Bruker, Billerica, MA) were as follows: tube potential, 70 kV; 1.0 mm aluminum filter at the source (Fig. 1).

Fig. 1
figure 1

Example of the ability to distinguish calcium carbonate (CA) and non-calcium carbonate (NCA) using micro-CT. a Photo of pancreatic stone, b micro-CT slice through the stone, showing CA (which has a characteristically high X-ray attenuation value) and NCA (which has a characteristically low X-ray attenuation value)

Prior to SS DECT scanning, each stone was placed into a water-filled TOS water phantom, with 35 cm lateral width, to eliminate surrounding air bubbles (Fig. 2).

Fig. 2
figure 2

Vitro pancreatic stone was placed into a TOS water phantom, with 35 cm lateral width

SS DECT acquisition

DECT scans were performed by a trained CT technologist by using a 256-slice SS DECT scanner (Brilliance iCT, Philips Healthcare, Cleveland, Ohio). Dual-energy scan protocol was applied, and low/high tube voltage was set as 80 kVp/140 kVp to achieve the best X-ray spectra differentiation. Additional key parameters were gantry rotation time, 0.5 s; detector width, 16 × 0.625 mm; collimation, 10 mm; pitch, 0.19. The tube current was automatically set and with average value of 600 mAs for 80 kVp and 150 mAs for 140 kVp. Finally, all scanning images were reconstructed at 1 mm image thickness for both low- and high-energy datasets. All axial CT images were reconstructed using knowledge-based iterative reconstruction (IMR-level 1: Philips Healthcare).

Stone composition analysis

All reconstructed DICOM images were further analyzed with an in-house software coding using MATLAB (Matlab R2015b, Mathworks Inc). The stone was first segmented with CT value-based thresholding methods on low-energy images set. CT number ratio (CTR), which is defined as the ratio of the CT number at the low to the high tube potential, was then calculated for each pixel of the stone. Based on preset thresholds, ranging from 1.00 to 1.25 with increment of 0.01, each pixel on CTR map was classified as CA (CTR > threshold) or NCA (CTR ≤ threshold). The percentage of CA and NCA for each stone was then calculated from the number of CA and NCA pixels in the whole stone. Consequently, each stone had a series of percentage numbers corresponding to the respective CTR thresholds (Figs. 3, 4).

Fig. 3
figure 3

Stone analysis example with SS DECT. Low- and high-energy CT images of a pancreatic stone (a, b), respectively, and the corresponding CTR color map (c). Composition maps show CA in blue and NCA in red, with CTR thresholds of 1.00 (d), 1.16 (e) and 1.20 (f). The error of CA estimation was 17.56% (d), 1.19% (e) and 7.84% (f) in comparison with the reference standard obtained from micro-CT (77.67% CA, 22.33% NCA)

Fig. 4
figure 4

Example of stone composition quantification with micro-CT image (a), mixed SS DECT images (b) and composition map from SS DECT (c)

Statistical analysis

SPSS statistics software (version 21.0, Chicago, III) was used for data analyses. As the mixed stones were divided into CA and NCA components, which had the same magnitude for the error as compared to the micro-CT reference standard, we chose the CA percentage in each stone for evaluating the difference between the two technologies. The root-mean-square error (RMSE) was calculated for each threshold to determine the optimal CTR threshold for recognizing CA composition. RMSE was calculated with the following formula:

$${\text{RMSE}} = \sqrt {\frac{1}{N}\mathop \sum \limits_{i = 1}^{N} \left( {{\text{CA}}_{\text{DECT}} - {\text{CA}}_{\text{microCT}} } \right)^{2} }$$

where N is the number of stones (12 in this study), CADECT and CAmicroCT are the CA percentage obtained by SS DECT and micro-CT, respectively. The optimal CTR threshold was determined with minimal RMSE. With the optimal CTR threshold, the CA percentage calculated from SS DECT images was compared with that from micro-CT with paired t test, with p < 0.05 as statistically significant.

Results

Stone composition from micro-CT

PDS mean volume was 125.35 ± 115.41 mm3, with range from 23.95 to 404.94 mm3. The percentage of CA calculated by micro-CT ranged from 66.63% to 83.54%, and NCA from 33.37% to 16.46% (Table 1).

Table 1 Stone volume and composition determined by micro-CT

Stone composition by DECT

For each CTR threshold, CA and NCA percentages were calculated for every PDS, and RMSE was also calculated as compared to the CA percentage from micro-CT (Table 2). RMSE ranged from 6% to 16.96%, then decreased as CTR threshold increased from 1.00 to 1.16, and increased as CTR approached 1.25. The optimal CTR threshold was 1.16, corresponding to the minimal RMSE of 6% (Table 2, Fig. 5).

Table 2 Stone composition by SS DECT under different CTR thresholds and corresponding RMSE with micro-CT
Fig. 5
figure 5

Root-mean-square error (RMSE) variations along CTR threshold

The images from one PDS are shown in Fig. 3, with the composition of 77.67% CA and 22.33% NCA predetermined by micro-CT as a reference standard.

With optimal CTR threshold of 1.16, CA percentage was calculated and compared with that from micro-CT using paired t tests, which showed no significant difference (p = 0.414). Images in Fig. 4 illustrate the comparison between micro-CT and SS DECT for a mixed PDS with optimal threshold of 1.16.

Discussion

ESWL is a widely accepted option for patients with urinary or pancreatic duct calculi, for which a preoperative assessment is essential because failure of ESWL may prolong patient suffering, waste medical resources and lead to financial burden. Previous studies on urinary calculi had uncovered many imaging factors correlated with ESWL outcome, such as stone size, location, number [18] and density-related indexes including mean or standard deviation of stone density (MSD or SDSD) [19], among which stone density (equal to HU) was the most important [20, 21]. It is widely acknowledged that stone density is internally determined by stone composition, which is the actual contributor for stone fragility and amenability to lithotripsy. There are a few reports on the significance of DECT in differentiating urinary stone types, but none on pancreatic stones. To the best of our knowledge, this is the first report utilizing DECT to identify PDS of mixed compositions. With the preset CTR threshold of 1.16, we obtained the minimal difference (6%) between DECT and micro-CT, which was smaller than the error in the study of Leng [22] for urinary stones. Our results indicate that DECT can accurately predict PDS stones in vitro and lay the foundation for the clinical application of DECT to predict ESWL prognosis.

The stone compositions in the urinary system, which had relatively higher incidence and more complicated components than other systems, included calcium-oxalate stones (70%), calcium phosphate (20%), uric acid (UA) (10%), cystine, brushite and struvite [17]. A previous study had divided urinary stones into CA and NCA, or UA and NUA [23], but failed to clearly separate each component due to the diversity in mixed stones. In contrast, components in PDS are relatively simple, dominated by calcium carbonate (90%) and small proportion of proteins or mucopolysaccharides [24], which have distinctly different hardness and friability. The categorization could be easily established as CA and NCA, of which CA stones are hard and could be a major cause of failure of ESWL treatment. Based on similar mechanism, we speculated that PDS with high percentage of CA component is more resistant to ESWL fragmentation and may require other complementary or alternative therapies. In contrast, patients with PDS of NCA as the dominant component should be suitable candidates for ESWL. Clinical trials are required in the future to confirm this hypothesis.

There are four main technologies for DECT, both of which can identify the material based on two datasets with high and low energy levels. (1) Dual-source DECT has high temporal resolution by simultaneously acquisiting data using two X-ray tubes and detectors with different tube voltage and current. However, the limited central field of view decreases data accuracy; (2) rapid kV switching technique uses fast tube potential switching to allow alternate projection measurements under low and high tube potentials, and has a full 50-cm field of view available for data analysis. However, the overlap of energy spectra was relatively high; (3) dual-layer detector DECT employs two-layer detectors to simultaneously collect low- and high-energy data and can realize material decomposition in projection space, but also has relatively higher energy spectral overlap; (4) single-source sequential scanning DECT can perform two temporally sequential scans to obtain low- and high-energy data, but any patient motion occurring between the two scans may cause severe degradation of the resultant images and material composition [25,26,27]. Our Phantom test applied single-source sequential scanning DECT technique, since the phantom had no movement during two scans but can maintain the same high spatial resolution as conventional CT.

This study had several limitations. First, this was a phantom study, with a fixed water phantom simulating the normal adult body, but ignored the difference of X-ray penetration and spectral separation between different body shapes, which directly affect the composition calculation and the final optimal threshold [28]. Another study [22] designed a wide range of phantom sizes representing thin to very obese bodies and set five DS DECT scan modes based on the phantom size. Therefore, for extensive applicability of our hypothesis, further studies are required based on individualized phantoms. Second, the number of stones included in this study was relatively small, which may lead to characteristic error for grouped comparison. The small sample size was due to the low incidence of PDS and the limited technological availability of micro-CT. The data were sufficient to account for our hypothesis. Although we had set a series of thresholds to determine the CTR with minimal RMSE with optimal accuracy, this in vitro study could not completely substitute the human body. Therefore, the present findings require confirmation from clinical trials in vivo. The investigation of PDS composition by DECT and the response to ESWL requires further study.

Conclusion

This ex vivo study for the first time demonstrated that SS DECT has the potential to be employed for CA and NCA composition differentiation, and to quantify the composition of combination calculus in a relatively accurate way with optimal CTR threshold of 1.16. Future in vivo studies would promote the clinical application of DECT in characterizing stone composition.