Skip to main content
  • Original article
  • Open access
  • Published:

Segmentation-based quantitative measurements in renal CT imaging using deep learning

Abstract

Background

Renal quantitative measurements are important descriptors for assessing kidney function. We developed a deep learning-based method for automated kidney measurements from computed tomography (CT) images.

Methods

The study datasets comprised potential kidney donors (n = 88), both contrast-enhanced (Dataset 1 CE) and noncontrast (Dataset 1 NC) CT scans, and test sets of contrast-enhanced cases (Test set 2, n = 18), cases from a photon-counting (PC)CT scanner reconstructed at 60 and 190 keV (Test set 3 PCCT, n = 15), and low-dose cases (Test set 4, n = 8), which were retrospectively analyzed to train, validate, and test two networks for kidney segmentation and subsequent measurements. Segmentation performance was evaluated using the Dice similarity coefficient (DSC). The quantitative measurements’ effectiveness was compared to manual annotations using the intraclass correlation coefficient (ICC).

Results

The contrast-enhanced and noncontrast models demonstrated excellent reliability in renal segmentation with DSC of 0.95 (Test set 1 CE), 0.94 (Test set 2), 0.92 (Test set 3 PCCT) and 0.94 (Test set 1 NC), 0.92 (Test set 3 PCCT), and 0.93 (Test set 4). Volume estimation was accurate with mean volume errors of 4%, 3%, 6% mL (contrast test sets) and 4%, 5%, 7% mL (noncontrast test sets). Renal axes measurements (length, width, and thickness) had ICC values greater than 0.90 (p < 0.001) for all test sets, supported by narrow 95% confidence intervals.

Conclusion

Two deep learning networks were shown to derive quantitative measurements from contrast-enhanced and noncontrast renal CT imaging at the human performance level.

Relevance statement

Deep learning-based networks can automatically obtain renal clinical descriptors from both noncontrast and contrast-enhanced CT images. When healthy subjects comprise the training cohort, careful consideration is required during model adaptation, especially in scenarios involving unhealthy kidneys. This creates an opportunity for improved clinical decision-making without labor-intensive manual effort.

Key Points

  • Trained 3D UNet models quantify renal measurements from contrast and noncontrast CT.

  • The models performed interchangeably to the manual annotator and to each other.

  • The models can provide expert-level, quantitative, accurate, and rapid renal measurements.

Graphical Abstract

Background

Renal quantitative measurements such as kidney length and volume are important clinical indicators used daily in radiology to describe morphological characteristics, assess renal functionality, determine the presence and/or progression of renal disease, and evaluate an individual’s eligibility as a kidney donor [1,2,3,4]. In kidney donor-recipient matching pairs, kidney size is of great importance [5]. Graft volume has been shown to correlate significantly with improved transplantation outcomes both in terms of glomerular filtration rate and 1-year serum creatinine level [6,7,8,9].

Ultrasound imaging is noninvasive, can be acquired fast, and does not expose the subject to ionizing radiation, making it the preferred imaging modality for obtaining such measurements [1, 10,11,12]. Nevertheless, the suitability of ultrasound has been controversial because of its two-dimensional nature and the fact that it requires basic geometric assumptions about renal morphology [13]. Previous studies have demonstrated that renal measurements in computed tomography (CT) provide more consistent results compared to ultrasound [14]. The inclusion of three-dimensional (3D) information from CT scanners stabilized the measurements even further [15].

Manual CT measurements, although accurate, are labor-intensive and subject to interobserver and intraobserver variability [16, 17]. Therefore, in many studies, renal volume estimates have been obtained from simple ellipsoid fitting to the kidney [6, 7, 10, 18, 19]. This approach provides a significant speed-up in the measurement process but leads to suboptimal results as the kidneys are not ellipsoid [1]. Furthermore, this method suffers from observer variability because the three axes of each kidney must be defined manually [20].

Deep learning-based renal volume measurements have also been studied, especially as part of the Kidney and Kidney Tumor Segmentation Challenge (KiTS) (https://kits-challenge.org/kits23/). Multiple teams have either participated in the challenge or used its dataset to obtain accurate measurements of the kidney and the kidney tumor [21,22,23,24,25,26]. Although the performance reached that of the manual annotators, the challenge dataset included the renal sinus fat that does not contain functional renal tissue [1]. Such a dataset is not entirely representative of real-world settings, where measuring the actual renal parenchyma is often considered during transplantation planning. Additionally, KiTS focuses only on contrast-enhanced (CE) CT that does not accurately resemble real clinical settings. Especially in patients with kidney impairment, the toxicity risks of using intravenous iodinated contrast agents are taken into consideration, and patients are scanned, when possible, without contrast administration [27]. In addition, it is known that contrast agents slightly increase the size of the kidneys [14].

Therefore, we aimed to develop a deep learning-based method to obtain quantitative renal measurements for both CE and noncontrast (NC) CT images.

Methods

Datasets

This retrospective study used different datasets, with due ethical clearance by the ethical committee at the University Hospital of Leuven (internal reference number S66718). The first one (Dataset 1) comprised CT images of kidney donors who, from February 2018 to April 2022, underwent at our institution a standard CT examination with NC scans followed by CE phases, in order to assess eligibility to donate (acquisition protocol described in Supplementary material “Dataset 1 protocol”). Of note, part of Dataset 1 has been use as a first test set (Test set 1). The second dataset (Test set 2) is composed of CE images and was randomly sampled from our institution’s Picture archiving and communications system. The selection process included images scanned using identical protocol to the one of Dataset 1, but without necessarily images of healthy kidneys, in an attempt to resemble real-world settings as closely as possible. The third dataset (Test set 3) was constructed by randomly sampling images obtained using a photon-counting CT (PCCT) scanner (acquisition protocol described in Supplementary material “Test set 3 (PCCT) protocol”). The fourth dataset (Test set 4) comprised images obtained using lower radiation exposure, approximately 25% of the dose applied using the protocol of Dataset 1. The dose reduction was measured using CT Dose Index (CTDvol) values (these examinations were conducted following a request for suspected nephrolithiasis).

The inclusion process is depicted in Fig. 1. Test sets 2, 3, and 4 were used only for testing purposes. The ground truth labels for this study were constructed using the SegmentEditor module of 3D Slicer [28]. Manual delineation of both the left and right kidneys was performed, excluding the renal sinus fat. The annotation process of Dataset 1 was performed by a medical student (radiology intern with 2 years of experience ('sH.R.)) under the guideline and inspection of an expert radiologist with 15 years of experience (D.W.L.). Test set 2 annotation was performed by this expert radiologist, in order to validate the model performance against the labels of an experienced clinician.

Fig. 1
figure 1

Subject inclusion process. PACS, Picture archiving and communications system; CE, Contrast-enhanced; NC, Noncontrast; CT, Computed tomography; PCCT, Photon-counting CT

Test set 3 comprised virtual monoenergetic images obtained using a PCCT scanner, reconstructed at 60 and 190 keV. The low energy (60 keV) reconstructions visually resemble CE images, while the high energy ones (190 keV) resemble NC images respectively. The annotation of Test set 3 was performed by the same expert radiologist who performed Test set 2 annotation. Test set 4 was composed of scans obtained using lower x-ray doses compared to that of Dataset 1 in order to assess the model performance when CT images are obtained at low x-ray doses. The annotation of Test set 4 was performed by the same expert radiologist. Examples of manual segmentations for CE and NC CT images of Dataset 1 are shown in Fig. 2a1, a2. PCCT images, reconstructed at 60 and 190 keV, are depicted in Fig. 2b1, b2. Data collection involved the measurement of kidney volumes and multidimensional axes using the generated manual labels, as summarized in Table 1, along with relevant dataset characteristics.

Fig. 2
figure 2

a1, a2 Contrast-enhanced (left) and noncontrast (right) computed tomography scans and ground truth segmentations. The renal sinus fat has been excluded during the manual delineation process. b1, b2 Photon-counting computed tomography image reconstructed at 60 keV (left) and 190 keV (right). The 60-keV image resembles an image acquired using contrast agent, while the 190 keV reconstruction resembles an image without contrast. c1 Three-dimensional point cloud constructed from the segmentation mask. c2 Bounding box. c3 Renal axes calculation

Table 1 Datasets characteristics

Preprocessing

The studied cohort of Dataset 1 was randomly split into training, validation, and test sets (ratio of 0.65, 0.175, and 0.175, respectively). CE and NC images were used to train two separate networks. To facilitate the network training process, NC images underwent resampling using trilinear interpolation to achieve isotropic spacing of 1.5 mm3, resulting in a median image size of 236 × 236 × 156. CE images were not resampled but rather used at their original resolutions, as their spacing had much less variation. NC and CE images were truncated with a window level/width of 65/170 HU and 200/300 HU, respectively, and then normalized to [0, 1] using min-max normalization. The choice of this windowing setting was based on the kidney HU distribution of the NC and CE images. Kidney labels were transformed to one-hot encoded representations for both CE and NC cases using three represented classes: background, right kidney, and left kidney. Data augmentation techniques were used to artificially extend the training cohort, including random patch extraction, random flipping in x, y, and z axes, random intensity shifting (offset < 0.1), and addition of Gaussian noise (0 ± 0.05, mean ± standard deviation).

Network implementation and training

Each of the CE and NC image sets was used to train a 3D UNet [29] convolutional neural network for the automated segmentation of both the left and right kidneys. The architecture of both networks was identical, as depicted in Fig. 3. The corresponding blocks of the encoder and decoder made use of residual connections [30], in order to facilitate the network training and minimize vanishing gradients that would halt the convergence. We used Adam [31] to optimize the parameters of each model with a constant learning rate of 3 × 104, and Dice loss [32] as objective criterion. Furthermore, to avoid overfitting, a dropout rate of 0.3 was used in both networks. The batch size was 8 and each sample in the batch consisted of a random cropped patch from the initial CT, \({Pi\; \in } \, {{\mathbb{R}}}^{96x96x96}{i}=\{1,\ldots ,8\}\). For each of the training experiments, we made use of 1 NVIDIA GeForce RTX 3090 with 24 GB of memory, and all models were trained for 1500 epochs. The network architecture was implemented using PyTorch v1.10.0 (https://pytorch.org/) and MONAI v1.0.1 (https://monai.io/), while the training was implemented using CUDA 11.3. The CECT model took approximately 9 h to train while the NCCT took about 4 h, as NC images were smaller due to the resampling process.

Fig. 3
figure 3

UNet architecture. The input CT patch is downsampled 4 times by a factor of two in every encoding layer while the number of channels is doubled. The reverse process takes place in the decoder path. Both the encoder and decoder blocks are based on residual units

Inference and post-processing

During model inference, 24 overlapping patches, \({Pi}\in {{\mathbb{R}}}^{96x96x96},{i}=1,\ldots ,24\), for every scan are passed through the network in a sliding window setting, using a patch overlap of 0.5 and averaging the predictions of overlapping pixels. At the model output, the argmax function was applied to the raw logits, converting it to a one-hot encoded representation of three classes (background, right kidney, left kidney). We then perform connected component analysis to each of the kidney classes, keeping only the largest segment (i.e., the kidney). NC images are also upsampled to the original resolution using trilinear interpolation. As this interpolation process assigns nonzero values to neighboring voxels of the kidney mask, an appropriate threshold needs to be set to avoid under/over-estimation of the kidney. To this end, we predict the validation set cases using different threshold settings \({Ti}\in [0,\,1]\), and choose the most suitable one based on the segmentation performance.

Quantitative measurements

Once both kidneys had been segmented, volumetric measurements were straightforward to derive by multiplying the number of foreground voxels by the initial spacing, available in the DICOM header. Nevertheless, to calculate the three kidney axes (length, width, and thickness) requires additional processing. To this end, each kidney is first interpolated to an isotropic spacing of 1 mm3, and the main kidney axes are obtained by principal component analysis of the 3D point cloud of kidney voxels. The minimal bounding box oriented along these axes and enclosing the kidney is then determined and its extents are measured from the center along each axis direction. In this way, the three axes are defined as the longest distances inside the kidney in the following directions: length (inferior to superior), width (medial to lateral), and thickness (ventral to dorsal). Figure 2b1–b3 illustrates the process of calculating the renal axes. The kidney length equals the distance LL’, while the width is equal to WW’, and the thickness equals TT’. The kidney bounding box was calculated using Open3D v0.15 (https://www.open3d.org/).

Performance benchmarking using TotalSegmentator

In order to obtain a baseline performance for the test subset of Dataset 1, we used a publicly available model, namely TotalSegmentator [33], to predict both the CE and NC cases. The model was directly downloaded from its GitHub repository (https://github.com/wasserth/TotalSegmentator). To allow for a fair comparison, we used the 3 mm resolution model to segment the CE cases, while for the NC dataset, we used the higher resolution model of 1.5 mm.

Volumetric measurements based on the ellipsoid model

Manual delineations for both the left and right kidneys were used to calculate renal volumes of Test set 1 based on the ellipsoid model. Once the kidney axes have been calculated using the aforementioned bounding box approach, the kidney volume can be estimated using the formula below:

$${Ellipsoid\; volume}=\,\frac{\pi }{6}x \, {length} \, x \, {width} \, x \, {thickness}$$

Statistical analysis

The accuracy of the automated measurements calculated based on the segmentations of the deep learning models was determined by comparison against the ground truth measurements from manual delineation. Statistical analysis was performed using Python v3.9.18. The performance of our deep learning-based networks is based on their ability to measure accurately the renal volumes and axes. This is first evaluated in terms of the Dice similarity coefficient (DSC), a measure of spatial overlap between segmentations where a DSC of 1 implies perfect overlap while a DSC of 0 means complete mismatch. The mean percentage volume error and the mean absolute error were incorporated to compare renal volume and axes measurements, defined as:

$${Mean\; percentage\; volume\; error} \, \left( \% \right)=\,\frac{\left|{vo}{l}_{{man}}-{vo}{l}_{{pred}}\right|}{{vo}{l}_{{man}}}x100$$
$${Mean\; absolute\; error}=\left|{x}_{{man}} \! -{x}_{{pred}}\right|, x \! \in \! [{length},{width},{thickness}]$$

where \({man}\) and \({pred}\) denote manual and predicted values, respectively. Intraclass correlation coefficient (ICC) estimates the reliability of automated versus manual measurements. ICC values were calculated using the pingouin Python package v0.5.3 (https://pingouin-stats.org/build/html/index.html) based on a single-rater, consistency measurements, 2-way mixed effects model. ICC values can be interpreted as follows [34]: poor (ICC < 0.50); moderate (0.50 ≤ ICC < 0.75); good (0.75 ≤ ICC < 0.90); and excellent (ICC ≥ 0.90); 95% confidence intervals (CIs) were also calculated. Furthermore, Bland-Altman analysis was used to demonstrate the differences in volumetric agreement between the models and the ground truth.

Results

Manual intraobserver variability

The intraobserver variability between the CECT and NCCT ground truth measurements was evaluated using the ICC. For renal volume, the ICC reached 0.93 (95% CI: [0.91, 0.95]) (p < 0.001), demonstrating a high level of agreement between the observer’s measurements in CECT and NCCT. Similarly, for kidney length, width, and thickness, the ICC values were 0.92 (95% CI: [0.90, 0.94]) (p < 0.001), 0.93 (95% CI: [0.91, 0.95]) (p < 0.001), and 0.94 (95% CI: [0.92, 0.96]) (p < 0.001) respectively. Volume and axes correlation plots for the entire Dataset 1 (n = 88) are depicted in Fig. 4a1, a2.

Fig. 4
figure 4

a1, a2 Correlation of measured renal volumes and axes in CECT and NCCT images by the manual annotator (entire Dataset 1, n = 88). b1, b2 Correlation of measured renal volumes and axes in CECT and NCCT images by CECT and NCCT models (Test set 1, n = 16). CECT, Contrast-enhanced computed tomography; NCCT, Noncontrast computed tomography

CECT model evaluated against CECT ground truth of Test set 1

Table 2 demonstrates the CECT model performance, in Test set 1 (n = 16), in estimating the renal volume, length, width, and thickness, and the average model inference time. The ICCs substantiated the reliability of this method, which suggests that the model reliability is good to excellent when estimating renal volume, while for the rest of the renal parameters the reliability was excellent. Figure 5a1, b1 demonstrates the correlation and error for measured axes compared to the manual ground truth, while the Bland-Altman analysis for the volumetric measurements between the model and the manual annotator demonstrated excellent agreement (Fig. 5c1). Example CECT images of Test set 1, along with their corresponding manual segmentations and model predictions, can be found in Fig. S1a1, a2 and Fig. S2a1, a2 in the Supplementary material.

Table 2 Automated versus manual measurements
Fig. 5
figure 5

Test set 1 (n = 16) a1, a2 Correlation in axes measurements between CECT model versus manual and NCCT model versus manual. b1, b2 Mean absolute error in axes measurements between CECT model versus manual and NCCT model versus manual. c1, c2 Bland-Altman analysis of differences in kidney volume between CECT model versus manual and NCCT model versus manual. CECT, Contrast-enhanced computed tomography; NCCT, Noncontrast computed tomography

NCCT model comparison with NCCT ground truth of Test set 1

Renal volume estimation error and ICC values for volume, length, width, and thickness measurements of the NCCT model are depicted in Table 2, along with average model inference time, akin to the performance observed in the CECT scenario. ICC values indicate reliability which is on par with the CECT model for the renal axes measurements, while in the case of renal volume, the NCCT model demonstrates excellent reliability, based on the measured 95% CI. Figure 5a2, b2 demonstrate the correlation and measured error in axes calculation between the model and the ground truth, while the Bland-Altman analysis for the volumetric agreement between the two methods is depicted in Fig. 5c2. Example NCCT images from Test set 1, along with their corresponding manual segmentations and model predictions can be found in Fig. S1b1, b2 and Fig. S2b1, b2 in the Supplementary material.

CECT versus NCCT model agreement for Test set 1

A comparison was conducted between the CECT and NCCT segmentation models. The ICCs for renal volume, length, width, and thickness were consistently high, with values of 0.96 (95% CI: [0.94, 0.99]) (p < 0.001), 0.96 (95% CI: [0.9, 0.98]) (p < 0.001), 0.92 (95% CI: [0.85, 0.96]) (p < 0.001), and 0.95 (95% CI: [0.90, 0.98]) (p < 0.001), respectively. Figure 4b1, b2 demonstrates the level of agreement between the models.

TotalSegmentator benchmark for Test set 1

The TotalSegmentator model was used to obtain a baseline performance on Test set 1. The 3-mm resolution model, segmenting CECT images, achieved a DSC of 0.92 (95% CI: [0.91, 0.92]), and our CECT model had a DSC of 0.95 (p < 0.001). The average volume error was 7% mL, and the ICC for renal volume was 0.94 (95% CI: [0.84, 0.98]) (p < 0.001), indicating good to excellent reliability in renal volume estimation. The 1.5-mm resolution model, segmenting NCCT images, achieved a DSC of 0.93 (95% CI: [0.91, 0.94]), and our NCCT model achieved a DSC of 0.95 (p < 0.001). The average volume error was 3% mL, and the ICC value for renal volume was 0.98 (95% CI: [0.96, 1]) (p < 0.001), demonstrating excellent reliability. The average prediction time for the CECT images was 8.9 ± 1.0 s, while for the NCCT was 46.3 ± 6.2 s (mean ± standard deviation).

Comparison with the ellipsoid model

An additional comparative analysis was conducted between the CECT and NCCT ground truth labels and the ellipsoid formula for renal volume calculation on the entire dataset (n = 88). The ellipsoid model exhibited a mean volume measurement error of 38 ± 12% mL and 39 ± 10% mL for the CE and NC images (mean ± standard deviation) respectively, indicating a considerable discrepancy in volume estimation when compared to the manual segmentations, as shown in Fig. 6. The ICC value for renal volume estimation was 0.83 (95% CI 0.78–0.87, p < 0.001) and 0.85 (95% CI 0.81–0.89, p < 0.001) for CE and NC cases respectively, implying good reliability but significantly inferior compared to that of the CECT and NCCT models.

Fig. 6
figure 6

Dataset 1 (n = 88) a1, a2 Bland-Altman analysis between ellipsoid model versus manual for CE and NC cases. b1, b2 Correlation of measured volumes between ellipsoid model versus manual for CE and NC cases. CECT, Contrast-enhanced computed tomography; NCCT, Noncontrast computed tomography

CECT model validation on Test set 2

The CECT model was evaluated against a separate test set constructed by the expert radiologist. The average manual annotation time per case was measured as 25.8 ± 3.4 min (mean ± standard deviation). The model segmentation performance demonstrated a high DSC, comparable with the performance of Test set 1. Renal volume estimation error and ICC values for renal length, width, and thickness were akin to the ones obtained in Test set 1, as depicted in Table 2. Figure 7a1, a2 demonstrates the correlation and errors of renal axes predicted by the model, compared to the expert radiologist. Bland-Altman analysis of renal volume estimation is depicted in Fig. 7a3.

Fig. 7
figure 7

Test set 2 (n = 18). a1 Correlation in axes measurements between CECT model versus manual; a2 mean absolute error in axes measurements between CECT model versus manual; a3 Bland-Altman analysis of differences in kidney volume between CECT model versus manual. Test set 4 (n = 8). b1 Correlation in axes measurements between NCCT model versus manual; b2 mean absolute error in axes measurements between NCCT model versus manual; b3 Bland-Altman analysis of differences in kidney volume between NCCT model versus manual. CECT, Contrast-enhanced computed tomography; NCCT, Noncontrast computed tomography

CECT and NCCT model validation on PCCT Test set 3

The CECT and NCCT models we evaluated against an external dataset of PCCT images reconstructed at 60 keV and 190 keV, respectively. Images reconstructed at 60 keV resembled those acquired with contrast agent in a non-PCCT scanner, while the ones reconstructed at 190 keV resembled images acquired using a NC protocol. The models demonstrated high DSC and ICC values in estimating renal quantitative measurements, supported by 95% CI, reported in Table 2. Figure 8a1, b2 illustrates correlation and error diagrams of the CECT and NCCT models compared to the manual measurements, while Fig. 8c1, c2 demonstrates Bland-Altman plots for the volumetric agreement between the models and the ground truth volumes.

Fig. 8
figure 8

Test set 3 (PCCT, n = 15). a1, a2 Correlation in axes measurements between CECT model versus manual and NCCT model versus manual. b1, b2 Mean absolute error in axes measurements between CECT model versus manual and NCCT model versus manual. c1, c2 Bland-Altman analysis of differences in kidney volume between CECT model versus manual and NCCT model versus manual. CECT, Contrast-enhanced computed tomography. NCCT, Noncontrast computed tomography; PCCT, Photon-counting computed tomography

NCCT model validation on Test set 4

The NCCT was evaluated against a test set obtained using significantly lower dose levels compared to the training cohort. The segmentation performance demonstrated high DSC, comparable to that of Test set 1. Estimation of renal volume and ICC values for renal length, width, and thickness did not decrease significantly compared to Test set 1, depicted in Table 2. Renal axes measurement correlation and errors, predicted by the NCCT model, compared to the ground truth from the expert radiologist are demonstrated in Fig. 7b1, b2. Figure 7b3 illustrates the Bland-Altman analysis of renal volume estimation.

Discussion

In this study, we developed two 3D UNet segmentation networks for kidney segmentation based on CE and NC CT images, to help radiologists derive quantitative renal measurements.

Intraobserver variability between the CE and NC ground truth emphasized the consistent and reliable nature of the manual annotation process, providing a solid foundation for the subsequent evaluation of automated methods.

Evaluation of the CECT model compared to the ground truth revealed promising results. The DSC demonstrated a high level of agreement, and the model exhibited accurate renal volume estimations with a limited volume error. The ICCs (ICC, 95% CI) for volume (0.94, 0.88–0.97), length (0.99, 0.98–1.0), width (0.97, 0.95–0.99), and thickness (0.97, 0.95–0.99) demonstrate good-to-excellent reliability in deriving quantitative renal measurements. Validation of the CECT model on a separate test set, annotated by an expert radiologist, demonstrates excellent reliability in estimating renal volume (0.95, 0.91–0.98), length (0.98, 0.97–0.99), width (0.95, 0.91–0.98), and thickness (0.97, 0.94–0.99). Furthermore, the CECT model was able to generalize its predictions in an external test set obtained using PCCT scanner images reconstructed at 60 keV. The model preserved high DSC and excellent reliability for measurements of renal volume (0.95, 0.91–0.98), length (0.99, 0.98–1), width (0.97, 0.94–0.99), and thickness (0.94, 0.89–0.97).

Similar to the CECT case, the evaluation of the NCCT segmentation model against the NCCT ground truth demonstrated robust performance. The measured DSC highlights the model’s ability to delineate renal structures even for NC scans. The ICCs for volume (0.97, 0.94–0.99), length (0.95, 0.92–0.98), width (0.95, 0.91–0.98), and thickness (0.97, 0.95–0.99) manifest the NCCT model excellent reliability in measuring renal parameters. Additional validation of the NCCT model with images of a PCCT scanner reconstructed at 190 keV highlights its robustness. The ICCs in estimating volume (0.96, 0.94–0.99), length (0.96, 0.93–0.98), width (0.90, 0.82–0.96) and thickness (0.98, 0.98–0.99) manifest the NCCT model ability to generalize well in new datasets, acquired using different CT scanners. The validation of the NCCT model in a separate test set (Test set 4), obtained using lower dose levels compared to those of the training cohort (~ 25% of the dose) demonstrates good-to-excellent reliability in renal volume estimation (0.95, 0.88–0.98), and measurement of renal length (0.98, 0.95–0.99), width (0.91, 0.77–0.97), and thickness (0.98, 0.96–1.0).

These findings indicate excellent agreement between the automated methods and the manual reference standard. Our analysis highlights the remarkable consistency and reliability of both CECT and NCCT, emphasizing their comparable performance in capturing key anatomical features. Such interchangeability adds versatility to their application, suggesting that both approaches can be effectively employed conversely depending on the imaging modality or clinical requirements, offering flexibility and robust performance in renal imaging analyses. Our investigation also underpins the effectiveness of automated measurement methods in assisting radiologists with accurate and reproducible quantification of renal clinical descriptors. The widespread ellipsoid formula tends to overestimate renal volumes, especially when the kidney size becomes large, demonstrating low reliability and extensive large-volume measurement errors for both CE and NC cases. Moreover, validation of an external, freely available and publicly recognized segmentation model (TotalSegmentator) enabled to establish a performance benchmark for the study dataset. Our methods performed slightly better than TotalSegmentator in terms of DSC both for the CE (0.95 and 0.92 respectively, p < 0.001) and the NC (0.95 and 0.93 respectively, p < 0.001) cases, while being faster at segmenting the structure of interest.

Although many studies have demonstrated excellent performance in kidney segmentation, most of them did not address the issue of clinical evaluation of renal axes, limiting their applicability. Methods developed using part of the KiTS challenge dataset, although accurate and developed using a diverse and rich dataset, suffer from the inclusion of the renal sinus fat, which does not contribute as functional tissue. Additionally, the challenge is based on CE images only, while in clinical settings, the use of intravenous contrast agent may need to be avoided. Excluding the non-functional tissue, Milecki et al [35] reported a DSC of 0.89 ± 0.31 when segmenting kidneys without the sinus fat in MRI sequences of 32 patients subject to kidney transplantation. Korfiatis et al [36] segmented renal cortex and medulla separately in arterial phase CT, achieving a DSC of 0.94 ± 0.01 for the cortex and 0.90 ± 0.03 for the medulla using an extended dataset from a single institution (n = 1,930) and two additional external test sets (n = 1,226). Valente et al [37] used two-dimensional ultrasound to segment the kidneys and reported a DSC of 0.86 ± 0.11 using a cohort of size similar to the one in our study (n = 66). The large variance reported in their results attests to the inferiority of ultrasound-based measurements compared to CT. Muller et al [38] used 210 low-dose NCCT images with manual segmentations to develop a network and tested it against 22 semiautomated volume estimates from radiologists, reporting DSCs of 0.91 for the right and 0.86 for the left kidney. A limitation of their work is the use of a two-dimensional convolutional neural network, which can prolong the segmentation process considerably compared to the 3D counterpart and can lead to suboptimal results in terms of segmentation performance. Oliveira et al [39] used only five CT images to test an active contour model, segmenting the kidney and the renal collecting system separately, reporting DSCs of 0.92 ± 0.01 and 0.63 ± 0.10, respectively. However, a user must manually provide seed points for the entire model to start the segmentation process.

Measuring renal axes is a topic that has been studied extensively using manual approaches [11, 19, 40, 41]. Knowledge about the overall renal morphology and anatomical characteristics of renal axes can facilitate surgical planning (e.g., in kidney transplantation procedures), and further assist in post-transplantation renal assessment where the remaining kidney is expected to increase in size. Pre- and post-transplantation renal axis measurements can help the clinicians to identify how the remaining kidney developed, i.e., increase in length and/or width. Furthermore, measuring renal axes is commonly performed in ultrasound [1, 2, 4] because it is fast. Having a method to obtain similar measurements on different modalities, such as CT, is of high clinical importance. Numerous studies in the literature depend on the use of the ellipsoid formula and tools that calculate the renal volume based on manually-defined axes are readily available to clinicians (Mayo Clinic, https://www.mayo.edu/research/documents/pkd-center-adpkd-classification/doc-20094754). Obtaining automated, quantitative measurements of those axes, which is the main novelty of our work, is important in order to compare results reported in previous studies.

Our study has limitations. Our training dataset originates from a single institution, and all subjects were scanned using the same protocol. This could possibly drive the models to inadvertently learn and perpetuate biases inherent to the modeled data and hinder the model’s generalizability in unseen cases from different healthcare institutions. Additionally, while we mitigated this by using multiple test sets, the overall size of each of them was not sufficiently large. Although the model was able to perform accurately in images obtained using lower dose levels (Test set 4), an additional study using a larger cohort of dose levels and protocols is required to assess the performance. Furthermore, since our training cohort comprised healthy individuals (potential kidney donors), the models might not be able to extrapolate meaningful clinical descriptors in scenarios involving unhealthy kidneys. A supplementary future study incorporating a general population would shed light on possible failure modes and trends of the models. Moreover, separate automated assessment of renal cortex and medullary volumes is of clinical importance, something that our study did not address. Such a limitation to our work stems from the fact that segmentation of cortex and medulla requires significant labor-intensive and time-consuming manual annotations performed on arterial phase CECT.

In conclusion, the proposed automated segmentation methods can calculate clinical renal descriptors accurately, reliably and promptly using both CE and NC CT images, using only a fraction of the time needed during the manual measurement process. Automated measurements of renal volume and axes, which is something introduced in our work, demonstrate excellent agreement compared to manual measurements and are now a promising candidate to help, verify and guide clinical decision-making.

Data availability

The datasets used in this study are private and cannot be released publicly. The trained model weights and the code implementation are available from the corresponding author upon reasonable request.

Abbreviations

3D:

Three-dimensional

CE:

Contrast-enhanced

CI:

Confidence interval

CT:

Computed tomography

DSC:

Dice similarity coefficient

ICC:

Intraclass correlation coefficient

KiTS:

Kidney and Kidney Tumor Segmentation Challenge

NC:

Noncontrast

PCCT:

Photon-counting computed tomography

References

  1. Beland MD, Walle NL, Machan JT, Cronan JJ (2010) Renal cortical thickness measured at ultrasound: is it better than renal length as an indicator of renal function in chronic kidney disease? AJR Am J Roentgenol 195:W146–W149. https://doi.org/10.2214/AJR.09.4104

    Article  PubMed  Google Scholar 

  2. Ablett MJ, Coulthard A, Lee REJ et al (1995) How reliable are ultrasound measurements of renal length in adults? Br J Radiol 68:1087–1089. https://doi.org/10.1259/0007-1285-68-814-1087

    Article  CAS  PubMed  Google Scholar 

  3. van der Sande NGC, Visseren FLJ, van der Graaf Y et al (2017) Relation between kidney length and cardiovascular and renal risk in high-risk patients. Clin J Am Soc Nephrol 6:921–928. https://doi.org/10.2215/CJN.08990816

    Article  Google Scholar 

  4. Šustić A, Mavrić Ž, Fučkar Ž et al (1998) Kidney length in postoperative acute renal failure. J Clin Ultrasound 26:251–255. https://doi.org/10.1002/(sici)1097-0096(199806)26:5<251::aid-jcu4>3.0.co;2-b

    Article  PubMed  Google Scholar 

  5. Brenner BM, Cohen RA, Milford EL (1992) In renal transplantation, one size may not fit all. J Am Soc Nephrol 3:162–169. https://doi.org/10.1681/ASV.V32162

    Article  CAS  PubMed  Google Scholar 

  6. Han SS, Yang SH, Oh YJ et al (2011) Graft volume as the surrogate marker for nephron number affects the outcomes of living-donor kidney transplantation. Clin Transplant 25:E327–E335. https://doi.org/10.1111/j.1399-0012.2011.01426.x

    Article  PubMed  Google Scholar 

  7. Poggio ED, Hila S, Stephany B et al (2006) Donor kidney volume and outcomes following live donor kidney transplantation. Am J Transplant 6:616–624. https://doi.org/10.1111/j.1600-6143.2005.01225.x

    Article  CAS  PubMed  Google Scholar 

  8. Hugen CM, Polcari AJ, Farooq AV et al (2011) Size does matter: donor renal volume predicts recipient function following live donor renal transplantation. J Urol 185:605–609. https://doi.org/10.1016/j.juro.2010.09.098

    Article  PubMed  Google Scholar 

  9. Yano M, Lin M, Hoffman K et al (2012) Renal measurements on CT angiograms: correlation with graft function at living donor renal transplantation. Radiology 265:151–157. https://doi.org/10.1148/radiol.12112338

    Article  PubMed  Google Scholar 

  10. Musa MJ, Abukonna A (2017) Sonographic measurement of renal size in normal high altitude populations. J Radiat Res Appl Sci 10:178–182. https://doi.org/10.1016/j.jrras.2017.04.004

    Article  Google Scholar 

  11. Bianchi ME, Forlino D, Velasco GA et al (2020) Renal length and volume prediction in healthy children. Clin Nephrol 93:31–35. https://doi.org/10.5414/CNP92S105

    Article  PubMed  Google Scholar 

  12. Parmaksız G, Kekeç ŞD, Cengiz ND, Noyan A (2020) The relationship between body mass index and renal length in obese children. Pediatr Nephrol 35:901–905. https://doi.org/10.1007/s00467-019-04464-8

    Article  PubMed  Google Scholar 

  13. Cheong B, Muthupillai R, Rubin MF, Flamm SD (2007) Normal values for renal length and volume as measured by magnetic resonance imaging. Clin J Am Soc Nephrol 2:38–45. https://doi.org/10.2215/CJN.00930306

    Article  PubMed  Google Scholar 

  14. Larson DB, Meyers ML, O’Hara SM (2011) Reliability of renal length measurements made with ultrasound compared with measurements from helical CT multiplanar reformat images. AJR Am J Roentgenol 196:W592–W597. https://doi.org/10.2214/AJR.10.5486

    Article  PubMed  Google Scholar 

  15. Lisanti CJ, Oettel DJ, Reiter MJ, Schwope RB (2015) Multiplanar reformations in the measurement of renal length on CT: is it plain which plane to use? AJR Am J Roentgenol 205:797–801. https://doi.org/10.2214/AJR.14.14248

    Article  PubMed  Google Scholar 

  16. Schlesinger AE, Hernandez RJ, Zerin JM et al (1991) Interobserver and intraobserver variations in sonographic renal length measurements in children. AJR Am J Roentgenol 156:1029–1032. https://doi.org/10.2214/ajr.156.5.2017927

    Article  CAS  PubMed  Google Scholar 

  17. Quinn L, Tryposkiadis K, Deeks J et al (2023) Interobserver variability studies in diagnostic imaging: a methodological systematic review. Br J Radiol 96:20220972. https://doi.org/10.1259/bjr.20220972

  18. Gaillard F, Pavlov P, Tissier A-M et al (2017) Use of computed tomography assessed kidney length to predict split renal GFR in living kidney donors. Eur Radiol 27:651–659. https://doi.org/10.1007/s00330-016-4410-7

    Article  PubMed  Google Scholar 

  19. Park CW, Yu N, Yun SW et al (2017) Measurement and estimation of renal size by computed tomography in Korean children. J Korean Med Sci 32:448–456. https://doi.org/10.3346/jkms.2017.32.3.448

    Article  PubMed  PubMed Central  Google Scholar 

  20. Choi YJ, Baek JH, Hong MJ, Lee JH (2015) Inter-observer variation in ultrasound measurement of the volume and diameter of thyroid nodules. Korean J Radiol 16:560–565. https://doi.org/10.3348/kjr.2015.16.3.560

    Article  PubMed  PubMed Central  Google Scholar 

  21. da Cruz LB, Araújo JDL, Ferreira JL et al (2020) Kidney segmentation from computed tomography images using deep neural network. Comput Biol Med 123:103906. https://doi.org/10.1016/j.compbiomed.2020.103906

  22. Heller N, Isensee F, Maier-Hein KH et al (2021) The state of the art in kidney and kidney tumor segmentation in contrast-enhanced CT imaging: results of the KiTS19 challenge. Med Image Anal 67:101821. https://doi.org/10.1016/j.media.2020.101821

  23. Causey J, Stubblefield J, Qualls J et al (2022) An ensemble of U-net models for kidney tumor segmentation with CT images. IEEE/ACM Trans Comput Biol Bioinform 19:1387–1392. https://doi.org/10.1109/TCBB.2021.3085608

    Article  PubMed  PubMed Central  Google Scholar 

  24. Hsiao C-H, Lin P-C, Chung L-A et al (2022) A deep learning-based precision and automatic kidney segmentation system using efficient feature pyramid networks in computed tomography images. Comput Methods Programs Biomed 221:106854. https://doi.org/10.1016/j.cmpb.2022.106854

  25. Sun P, Mo Z, Hu F et al (2022) Kidney tumor segmentation based on FR2PAttU-net model. Front Oncol. https://doi.org/10.3389/fonc.2022.853281

  26. Yang E, Kim CK, Guan Y et al (2022) 3D multi-scale residual fully convolutional neural network for segmentation of extremely large-sized kidney tumor. Comput Methods Programs Biomed. https://doi.org/10.1016/j.cmpb.2022.106616

  27. Martino F, Amici G, Rosner M et al (2021) Gadolinium-based contrast media nephrotoxicity in kidney impairment: the physio-pathological conditions for the perfect murder. J Clin Med. https://doi.org/10.3390/jcm10020271

  28. Fedorov A, Beichel R, Kalpathy-Cramer J et al (2012) 3D slicer as an image computing platform for the quantitative imaging network. Magn Reson Imaging 30:1323–1341. https://doi.org/10.1016/j.mri.2012.05.001

    Article  PubMed  PubMed Central  Google Scholar 

  29. Kerfoot E, Clough J, Oksuz I et al (2019) Left-ventricle quantification using residual U-net. In: Pop M, Sermesant M, Zhao J et al (eds) Statistical atlases and computational models of the heart. Atrial segmentation and LV quantification challenges. Springer, Cham. pp 371–380. https://doi.org/10.1007/978-3-030-12029-0_40

  30. He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, pp 770–778. https://doi.org/10.1109/CVPR.2016.90

  31. Kingma D, Ba J (2014) Adam: a method for stochastic optimization. Preprint at https://arxiv.org/abs/1412.6980

  32. Sudre CH, Li W, Vercauteren T et al (2017) Generalised dice overlap as a deep learning loss function for highly unbalanced segmentations. Deep Learn Med Image Anal Multimodal Learn Clin Decis Support 2017:240–248. https://doi.org/10.1007/978-3-319-67558-9_28

    Article  Google Scholar 

  33. Wasserthal J, Hanns-Christian B, Meyer MT et al (2023) TotalSegmentator: robust segmentation of 104 anatomic structures in CT images. Radiol Artif Intell. https://doi.org/10.5281/zenodo.6802613

  34. Koo TK, Li MY (2016) A guideline of selecting and reporting intraclass correlation coefficients for reliability research. J Chiropr Med 15:155–163. https://doi.org/10.1016/j.jcm.2016.02.012

    Article  PubMed  Google Scholar 

  35. Milecki L, Bodard S, Correas J-M et al (2021) 3D unsupervised kidney graft segmentation based on deep learning and multi-sequence MRI. In: Proceedings of the 2021 IEEE 18th International Symposium on Biomedical Imaging (ISBI). IEEE, pp 1781–1785. https://doi.org/10.1109/ISBI48211.2021.9433854

  36. Korfiatis P, Denic A, Edwards ME et al (2022) Automated segmentation of kidney cortex and medulla in CT images: a multisite evaluation study. J Am Soc Nephrol 33:420–430. https://doi.org/10.1681/ASN.2021030404

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  37. Valente S, Morais P, Torres H et al (2022) A deep learning method for kidney segmentation in 2D ultrasound images. Annu Int Conf IEEE Eng Med Biol Soc. https://doi.org/10.1109/EMBC48229.2022.9871748

  38. Müller L, Tibyampansha D, Mildenberger P et al (2023) Convolutional neural network-based kidney volume estimation from low-dose unenhanced computed tomography scans. BMC Med Imaging. https://doi.org/10.1186/s12880-023-01142-y

  39. Oliveira B, Torres HR, Queirós S et al (2018) Segmentation of kidney and renal collecting system on 3D computed tomography images. In: 2018 IEEE 6th International Conference on Serious Games and Applications for Health (SeGAH). pp 1–8. https://doi.org/10.1109/SeGAH.2018.8401384

  40. Taylor AT, Shenvi N, Folks RD et al (2013) Reference values for renal size obtained from MAG3 scintigraphy. Clin Nucl Med 38:13–17. https://doi.org/10.1097/RLU.0b013e318270866f

    Article  PubMed  PubMed Central  Google Scholar 

  41. Braconnier P, Piskunowicz M, Vakilzadeh N et al (2019) How reliable is renal ultrasound to measure renal length and volume in patients with chronic kidney disease compared with magnetic resonance imaging? Acta Radiol 61:117–127. https://doi.org/10.1177/0284185119847680

    Article  PubMed  Google Scholar 

Download references

Acknowledgements

Large language models were not used in the manuscript.

Funding

The authors state that this work has not received any funding.

Author information

Authors and Affiliations

Authors

Contributions

KK, LDW FDK, FM, and HB designed this study. KK, ‘sHR, LDW, and FDK performed the data acquisition. KK, ‘sHR, and LDW provided data curation and interpretations. KK, FDK, FM, and HB designed the network. FDK, FM, and HB provided technical expertise. ‘sHR and LDW provided clinical expertise. KK drafted the manuscript. All authors read the manuscript and agreed to the submission of this paper.

Corresponding authors

Correspondence to Konstantinos Koukoutegos or Hilde Bosmans.

Ethics declarations

Ethics approval and consent to participate

Ethics Committee of UZ Leuven, protocol number S66718; approved in September 2022. Written informed consent was waived.

Consent for publication

Not applicable.

Competing interests

The authors of this manuscript declare no relationships with any companies, whose products or services may be related to the subject matter of the article.

Additional information

Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Additional file 1:

Supplementary Fig. S1. Random case from Test set 1. (a1) CECT image and the corresponding manual kidney labels. (a2) CECT image and the corresponding model prediction. (b1) NCCT image and the corresponding manual kidney labels. (b2) NCCT image and the corresponding model prediction. The CE and NC CT images belong to the same CT scan. Supplementary Fig. S2. Random case from Test set 1. (a1) CECT image and the corresponding manual kidney labels. (a2) CECT image and the corresponding model prediction. (b1) NCCT image and the corresponding manual kidney labels. (b2) NCCT image and the corresponding model prediction. The CE and NC CT images belong to the same CT scan.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Koukoutegos, K., ’s Heeren, R., De Wever, L. et al. Segmentation-based quantitative measurements in renal CT imaging using deep learning. Eur Radiol Exp 8, 110 (2024). https://doi.org/10.1186/s41747-024-00507-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s41747-024-00507-4

Keywords