Introduction

Radial and ulnar bone malunion after trauma can lead to reduced range of motion, chronic pain, and loss of strength [1]. Studies have shown that these complications can be effectively treated with realignment of the bones by a corrective osteotomy [2, 3]. Corrective osteotomies are conventionally planned and assessed manually on (biplanar) two-dimensional (2D) radiographs [4]. However, recent studies have shown that computer-assisted pre-operative planning based on three-dimensional (3D) computed tomography (CT) scans significantly improved both functional and radiographic outcomes [4,5,6].

Three-dimensional computer-assisted osteotomy planning is mostly performed using CT scans, as the unique intensity range of bone structures on this modality makes segmentation relatively straightforward and highly accurate (< 1 mm) [7, 8]. However, it is difficult to distinguish between different soft tissue structures on CT, and CT scanning involves harmful radiation. In contrast, osteotomy planning using magnetic resonance imaging (MRI) does not involve harmful radiation and soft tissue structures can be more clearly distinguished. Including soft tissues structures like joint cartilage might improve the outcome of pre-operative planning. However, most MRI protocols do not result in a unique intensity range for bone and can suffer from intensity inhomogeneity, which causes segmentation to be less trivial [9].

To be able to study differences in osteotomy planning based on CT and MRI, a deterministic workflow is essential to avoid the variation caused by human assessment. Various authors have proposed automatic osteotomy planning methods [7, 10, 11]. Based on these methods, we aimed to develop a similar deterministic, pre-operative, and osteotomy planning algorithm that simulates the cutting, repositioning, and reconstruction of the deformed bone. By using an automatic, computer-assisted approach, we attempted to determine the effect of different segmentations from different modalities on the outcome, by finding an answer to the following questions: (1) Does automated osteotomy planning based on bone segmentations derived from CT scans yield significantly different results when performed on bone segmentations derived from MRI scans? (2) Does automated osteotomy planning based on bone segmentations derived from MRI scans yield significantly different results when performed on combined bone and cartilage segmentations derived from MRI scans? and (3) Does the amount of cartilage in the joints have a significant correlation to the differences observed between planning on bone or combined bone and cartilage segmentations?

Materials and methods

Automated osteotomy planning was performed in threefold for each patient, to study the effect of different scanning modalities and tissue inclusion on the outcome. The planning was performed once using bone segmentation derived from CT, once using bone segmentations derived from MRI, and once using bone and cartilage segmentations from MRI. As cartilage was not discernible on the CT scans, cartilage segmentation was not performed on CT scans.

Data

The data were acquired prospectively at the Erasmus MC (Erasmus University Medical Center, Rotterdam, The Netherlands) under ethical approval of the Medical Ethical Testing Committee, reference number 52987.078.15. Detailed information on the inclusion criteria and scan parameters can be found in the study by Roth et al. [12] and in the Supplementary Material S.1.

Of the eighteen patients included in this study, eight patients had to be excluded due to irregularities such as movement during scanning, incomplete coverage of the region of interest or implant-induced artifacts. Additionally, the CT scan of Patient 6 was incomplete and thus only the MRI of this patient was used. The demographics of the patients are shown in Table 1.

Table 1 Demographics of the patients and age at time of trauma, scan, and the interval between the trauma and scan

Segmentation

Before segmentation, both CT images and MRI images were resampled to isotropic 0.5 × 0.5×0.5 mm3 voxels using trilinear interpolation. The radius and ulna were manually segmented from the CT and MRI scans to produce two sets of 3D bone models for each patient. Additionally, articular cartilage was manually segmented from the MRI images to produce 3D cartilage models. One experienced biomedical engineer (RK) performed all segmentations. A detailed description of the segmentation process can be found in Supplementary Material S.1. In the remainder of the text, the segmentation of bone from the CT and MRI scans will be referred to as CTb and MRb, and the segmentation of both bone and cartilage from the MRI scan will be referred to as MRbc. Examples of the CTb, MRb, and MRbc segmentation are shown overlaid on the CT and MRI scans in Fig. 1. After segmentation, all bone models were transformed from a voxel-wise representation into vertex-and-edge-based triangulated surface mesh (Fig. 2—step 0).

Fig. 1
figure 1

Top row: example of the MRI (left) and CT (right) of lower right arm. Middle row: MRI and CT overlaid with radius (brown) and ulna (yellow) bone segmentation. Bottom row: MRI overlaid with bone and cartilage (blue) segmentation

Fig. 2
figure 2

Step-by-step overview of the automatic osteotomy planning workflow. The deformed radius and ulna (white) were aligned to the mirrored healthy contralateral radius and ulna (green) by registering the joints and subsequently optimizing the osteotomy plane to minimize the distance between the proximal and distal bone fragments. This example used a bone segmentation derived from MRI

Automatic planning

The automatic planning was performed using a novel in-house produced software tool, which was inspired by existing methods such as described by Caiti et al., Dobbe et al., and Carrillo et al. [7, 10, 11]. It used the CTb, MRb, and MRbc segmentations to perform the osteotomy planning in five automatic steps, which are summarized in Fig. 2.

First (Fig. 2—step 1), the CTb, MRb, and MRbc models are all aligned. Second (Fig. 2—step 2), the proximal and distal part of the deformed and mirrored healthy contralateral bone were isolated. Third (Fig. 2—step 3), these deformed fragments were each registered separately to their counterparts on the healthy contralateral bone, resulting in four 4 × 4 homogenous transformation matrices for each bone, \({M}_{\mathrm{prox}}^{\mathrm{radius}}\) and \({M}_{\mathrm{dist}}^{\mathrm{radius}}\), for the distal and proximal radius, and \({M}_{\mathrm{prox}}^{\mathrm{ulna}}\) and \({M}_{\mathrm{dist}}^{\mathrm{ulna}}\), for the ulna. Fourth (Fig. 2—step 4), the original deformed bone model was osteotomized into two parts using the plane P1. This plane was defined by six parameters: a center point P1p = (P1x, P1y, P1z) located in the center of the bone in the axial plane, and rotation of the plane around the principal axes, P1r = (P1rx, P1ry, P1rz). The saved transformations \({M}_{\mathrm{prox}}^{\mathrm{radius}}\), \({M}_{\mathrm{dist}}^{\mathrm{radius}}\), \({M}_{\mathrm{prox}}^{\mathrm{ulna}}\), and \({M}_{\mathrm{dist}}^{\mathrm{ulna}}\) were used to reconstruct the proximal and distal fragment into the desired positions, aligned with the mirrored healthy bone. Finally, in the fifth step (Fig. 2—step 5), an exhaustive search method was employed to find the optimal location and orientation of the osteotomy.

The automatic planning was performed for each of the three segmentations separately: CTb, MRb, and MRbc. A more detailed description of each step of the automatic osteotomy planning process can be found in Supplementary Material S.2.

Evaluation

The differences in segmentation between the CTb and MRb were calculated from the 3D bone models, after the initial alignment (Fig. 2—step 2, Supplementary Material S.2). They were quantified by four metrics, computed as described by Taha and Hanbury [13]: the Dice Similarity Coefficient (DSC), the Mean Absolute Surface Distance (MASD), the Hausdorff Distance (HD), and the 95th percentile Hausdorff Distance (HD95). The relative cartilage volume (RCV) was calculated separately for the radius and ulna, and was defined as the cartilage volume divided by the bone volume as segmented from MR.

Bone realignment was defined as the rotational and translational difference between the distal bone fragment relative to the proximal bone fragment. The difference was calculated by finding the difference between the two transformation matrices that defined the bone reconstruction, using:

$${M}^{\mathrm{radius}}{{=M}_{\mathrm{prox}}^{\mathrm{radius}}}^{-1}\times {M}_{\mathrm{dist}}^{\mathrm{radius}}\,\mathrm{and }\,{M}^{\mathrm{ulna}}{{=M}_{\mathrm{prox}}^{\mathrm{ulna}}}^{-1}\times {M}_{\mathrm{dist}}^{\mathrm{ulna}}$$

Differences in relative rotational and translational realignment due to the use of differing segmentations could then be calculated as follows:

$${M}_{CTb-MRb}^{\mathrm{radius}}{{=M}_{CTb}^{\mathrm{radius}}}^{-1}\times {M}_{MRb}^{\mathrm{radius}}\, \mathrm{and }\,{M}_{MRb-MRbc}^{\mathrm{radius}}{{=M}_{MRb}^{\mathrm{radius}}}^{-1}\times {M}_{MRbc}^{\mathrm{radius}}$$
$${M}_{CTb-MRb}^{\mathrm{ulna}}{{=M}_{CTb}^{\mathrm{ulna}}}^{-1}\times {M}_{MRb}^{\mathrm{ulna}}\, \mathrm{and }\,{M}_{MRb-MRbc}^{\mathrm{ulna}}{{=M}_{MRb}^{\mathrm{ulna}}}^{-1}\times {M}_{MRbc}^{\mathrm{ulna}}$$

A transformation matrix can be transcribed to translations (ΔxS, ΔyS, and ΔzS) and Euler angle rotations (ΦxS, ΦyS, and ΦzS) along the three orthogonal axes, with S either CTb, MRb, or MRbc. The total translation and rotation were then defined as TS = √(ΔxS2 + ΔyS2 + ΔzS2) and RS = √(ΦxS2 + ΦyS2 + ΦzS2). The Shapiro–Wilks test was used to check whether differences in T and R between the methods were normally distributed, and if so, two-tailed paired t-tests were performed to check for significant mean differences. Differences between two methods were also calculated as the Euclidean translational distance ΔT = √((ΔxS1–ΔxS2)2 + (ΔyS1–ΔyS1)2 + (ΔzS1–ΔzS2)2) and rotational distance ΦR = √((ΦxS1–ΦxS2)2 + (ΦyS1–ΦyS2)2 + (ΦzS1–ΦzS2)2), which is suitable for rotations where: Φx, Φz ∈ [− π,π) and Φy ∈ [− π/2,π/2) radians [14].

To estimate whether the differences in planning with the various segmentations were clinically relevant, we compared these with the residual error after surgery, as found by Vlachopoulos et al. [15]. As the definition of the axes used in this study did not directly correspond to ours, the total rotational (5.6º ± 4.2º) and translational (2.0 ± 1.4 mm) residual errors were used.

Finally, we compared the osteotomy planning by location and rotation of the cutting plane. The location was defined as the distance from the proximal end of the bone to the center of the osteotomy, along the axis of the bone, and denoted as ΔZ. The osteotomy orientation was defined by the rotation of the osteotomy plane around the two axes ψX and ψZ, perpendicular to the longitudinal axis of the bone.

Results

Segmentation accuracy

An example of the CT and MRI segmentations is shown in Fig. 1. The difference between MRI- and CT-derived bone segmentation is summarized in Table 2. The RCV was plotted against the age of the patients in Fig. 3. Exponential regression lines have been fitted to the data to illustrate the diminishing RCV with age.

Table 2 Average segmentation differences between CT and MRI bone segmentation. DSC = Dice Similarity Coefficient, MASD = Mean Absolute Surface Distance, HD = Hausdorff Distance, and HD95 = 95th percentile Hausdorff Distance
Fig. 3
figure 3

Relative cartilage volume against the age of each patient at the time of the MRI scan. Both cartilage and bone segmentation were acquired from the MRI scan. An exponential regression line is fitted to show the decrease in relative cartilage volume by age

Bone realignment

The bone realignment was performed in threefold, using the CTb, MRb, and MRbc segmentations. In Table 3, the mean difference in realignment when using the CTb, MRb, and MRbc segmentations is shown. For all methods, the differences between the total translational (T) and rotational (R) realignment parameters were found to be normally distributed. Significant mean differences were found between TCTb and TMRb (p = 0.026) but not between RCTb and RMRb (p = 0.831). Significant differences were also found between TMRb and TMRbc (p = 0.031) but not for RMRb and RMRbc (p = 0.173). The intraclass correlation coefficient (ICC) was calculated using the two-way random model for absolute agreement of single measures, denoted as ICC(3,1). The translation and rotation for all comparisons was larger than 0.949, corresponding to excellent reliability (ICC > 0.9) [16].

Table 3 Mean difference and ICC for the relative translation and rotation between the different methods of planning; on CTb, MRb, and MRbc. ICC(3,1): two-way random model for absolute agreement of single measures was used [16]

In Fig. 4, the differences in realignment when using different segmentations are shown, plotted against the RCV of the patient. Moderate-to-strong correlations were only found between the RCV and the difference in rotational (R = 0.68, p = 0.043) and translational (R = 0.74, p = 0.024) realignment of the ulna when using MRb versus MRbc. Only weak correlations (|R|< 0.3) were found between the RCV and the realignment differences between CTb versus MRb and CTb and MRbc.

Fig. 4
figure 4

Translational and rotational realignment differences when planning the osteotomy using CTb, MRb, and MRbc, plotted against the relative cartilage volumes of the patients. Linear trendlines have been fitted

The graphs in Fig. 5 show that the rotational differences in realignment were on average smaller than the residual errors that were found after osteotomy surgery in a clinical study by Vlachopoulos et al. [15], but the translational errors were larger. Visual comparisons of the final bone reconstructions are shown in Fig. 6.

Fig. 5
figure 5

The rotational (top) and translational (bottom) differences between the CTb and MRb (left) and MRb and MRbc (right) in relative bone realignment after osteotomy are shown. The mean and standard deviation of the differences is compared to residual error after osteotomy surgery as reported by Vlachopoulos et al. [24].

Fig. 6
figure 6

Illustration of the difference in simulated bone reconstruction in the radius and ulna between CTb, MRb, and MRbc segmentations for all patients. The proximal (blue) and distal (green) fragment of the deformed bone after the planned reconstruction are overlayed on the mirrored healthy contralateral side (white). The CT scan of Patient 6 was incomplete and thus not included. Red rectangle: patient with largest relative rotational difference in ulna between MRb and MRbc. Green rectangle: patient with largest relative translational difference in ulna between MRb and MRbc

Osteotomy plane optimization

A visual comparison of the osteotomy plane location and orientation on the CTb, MRb, and MRbc is shown in Fig. 7. The mean differences that arise due to the planning on different segmentations are summarized in Table 4, and the distribution of these metrics for both the ulna and radius is shown in Fig. 8.

Fig. 7
figure 7

Illustration of the difference in optimal computed osteotomy location and orientation in the radius and ulna between CTb, MRb, and MRbc segmentations for all patients. The blue line indicates the primary osteotomy cut. Where necessary, the secondary osteotomy cut is visible. The secondary cut is shown in green if it does not intersect the primary cut, or in red if it does overlap the primary cut. The CT scan of Patient 6 was incomplete and thus not included. Red box: patient with largest difference in (radius) osteotomy location between MRb and Mbc. Green box: patient with highest RCV

Table 4 Mean difference in rotation and location of the osteotomy plane between the different methods of planning; on CTb, MRb, and MRbc
Fig. 8
figure 8

Differences in location (ΔZ) and orientation (ψX and ψZ) of the osteotomy plane between the different methods of planning; on CTb, MRb, and MRbc

Discussion

The aim of this study was to evaluate differences in radio–ulnar osteotomy planning based on CT- and MRI-derived segmentations of the bone and/or cartilage. Although the realignment parameters showed excellent correlation, statistically and clinically significant mean differences were found, both due to segmentation differences of the bone between CT and MRI scans, as well as due to differences between planning on bone and bone with cartilage.

A prerequisite for this study was an accurate method for the segmentation of bone and cartilage. The segmentation of CT scans was relatively straightforward, as bone is generally the only tissue with intensity values over 200 HU. However, issues such as partial volume effects, small joint spaces, and artifacts due to foreign objects necessitated at least some manual correction in all CT segmentations.

Segmentation of bone from MRI scans was more complicated, as there was no unique intensity range for bone that separated it from the other tissues. Additionally, the resolution of the MRI scans was lower than the CT scans. Still, the results showed that the MASD between MRI and CT bone segmentation was approximately equal to the resampled voxel size of the segmentations, at 0.41 mm. For comparison, the most relevant reference in the literature for comparable segmentations was Marin et al. [9], who reported an average MASD of 1 mm between forearm bones that were manually segmented from CT and MRI.

Segmentation of the cartilage from MRI scans was entirely manual, which caused it to be a time-consuming process. This increases the risk of low intra- and interobserver agreement between segmentations, as noted by Brui et al. [17], who observed this when segmenting wrist cartilage from MRI (DSC = 0.9 intra-observer and DSC = 0.78–0.88 interobserver). For an efficient, deterministic clinical workflow, the issues with manual segmentation from MRI would need to be addressed, for example, by employing cartilage-specific MRI acquisition sequences as proposed by Dalili et al. [18], Heckelman et al.[19], and Zink et al.[20].

The first hypothesis of this study was that automated osteotomy planning would yield comparable results when performed using CT and MRI. Excellent correlation (ICC(3,1) > 0.9) was found for each of the translational and rotational realignment components. However, the differences in realignment showed a significant mean difference of the total translational component T, but no significant mean difference in the total rotational component R. Larger differences were also seen for the osteotomy plane localization (ΔZ = 6.7 ± 6.9 mm) and orientation (ψY = 5.5 ± 6.7º and ψZ = 8.4 ± 11.1º). This indicated that the impact of using the CTb and MRb had a relatively small effect on the rotational realignment of the bone, but had a greater impact on the translational realignment and the position and orientation of the osteotomy plane.

The second hypothesis of this study was that the same method of osteotomy planning would yield significantly different results when cartilage was included. Again, the translational and rotational components of the realignment showed excellent correlation. Significant mean differences were found for the translational, but not for the rotational realignment. The results in Table 4 and Fig. 8 showed that the differences between MRb and MRbc in osteotomy plane localization (ΔZ = 6.5 ± 7.0 mm) and orientation (ψY = 5.9 ± 6.6º and ψZ = 10.8 ± 8.4º) were similar to the differences between CTb and MRb. The mean difference in realignment between planning on CTb and MRb was slightly larger than the difference in planning between MRb and MRbc. This means that the impact of segmentation differences between modalities was on average larger than the impact of including cartilage.

Comparison with the residual errors found after surgery showed that the differences in planned translational realignment were larger than the accuracy with which osteotomy surgery is performed. During surgery, the pre-operative planning is assumed to be the optimal reconstruction. Variations in planning due to the use of different planning methods would induce larger uncertainty in surgery outcome and should, therefore, ideally have a significantly smaller variation than the surgery itself. The large differences between CTb, MRb, and MRbc planning observed here would, therefore, have an undesirable, clinically significant impact on the outcome, and should, thus, not be ignored.

The third hypothesis stated that the relative amount of articular cartilage would be correlated with the effect cartilage inclusion has on the osteotomy planning. Firstly, we found that the RCV was higher in younger adolescents and decreased with age, which corresponds to the established process of endochondral ossification [21]. A positive correlation was also found between the RCV and ulnar translational differences between MRb and MRbc. This indicated a larger effect of cartilage inclusion in younger patients, who generally have a higher RCV, than in older patients. This effect was only present in the ulna, possibly due to the differences in the endochondral ossification process of each bone [21]. It is important to note that this does not show that inclusion of cartilage information would improve the outcome of surgical intervention. It only shows that there is significant difference, of which the effect of clinical outcome is uncertain and should be further studied in clinical trials.

Using these three hypotheses, we found that small differences in segmentation and the inclusion of endochondral cartilage in the segmentation could have a significant impact when planning osteotomies for young patients. Roth et al. [22] found that performing osteotomy at a young age (< 13 years) was one of the prime predictors for better functional outcome. However, planning using CT carries an increased risk of radiation-induced diseases, especially in young patients [23]. Further research into the applicability and impact of using MRI for the planning of osteotomies could, therefore, be of great interest.

Limitations

A limitation of this study was that the tool might not have incorporated all the criteria that an orthopedic surgeon considers during the planning of an osteotomy. It found the optimal solution to the objective function that it was presented with, which included only two optimization targets: increase the amount of volume overlap with the healthy contralateral example and minimize the distance between the osteotomy surfaces. Other constraints that might be considered include the proximity of important tissues such as tendons, muscle, and blood vessels, the presence of earlier implants or incision scars, and the relation between the osteotomy locations on the radius and ulna.

It should also be noted that the reconstruction was constrained to optimal realignment of the deformed joints to the mirrored contralateral side. Therefore, only a closing and opening wedge osteotomy were considered. Other techniques, such as the oblique single- or double-cut rotational osteotomy [24], might have resulted in a different planning.

Due to the difficulty of obtaining a large dataset that adheres to the narrow inclusion criteria that were used, and to obtain both CT and MRI scans of both the deformed and healthy forearms, the dataset was relatively small and scanner settings were inhomogeneous. For a perfect comparison, the voxel sizes of all CT and MR scans should have been the same to avoid differences in planning due to differences in scanner precision. Additionally, a study based on a larger dataset would have more power and could, thus, more accurately prove or disprove the hypotheses. Finally, intra- and interobserver segmentation differences of bone and cartilage from CT and MRI were not included in this study. As discussed previously, especially MRI segmentation could be subject to significant intra- and interobserver segmentation differences. The impact of this would be an important subject of further study.

Conclusion

In this study, we performed automatic radius and ulna osteotomy planning based on bone and/or cartilage segmentations from CT and MRI. Excellent correlations were found between the realignment parameters when comparing CT and MRI segmentations, and when comparing MRI bone and bone and cartilage segmentations. However, statistically significant mean differences were found in the translational component of the bone realignment for both methods, which were larger than the differences reported in the literature between planned and realized osteotomy surgery. This indicated that small differences in segmentation might have a clinically significant impact on the osteotomy planning.

When we compared planning on bone and bone with cartilage, we found a positive correlation between the relative cartilage volume of the patient and the difference in realignment of the ulna. This indicated that endochondral cartilage might also be a non-negligible factor when planning osteotomies for young patients.