An algorithm for automated femoral leg length and offset calculations on pelvis radiographs.

Mulford, Kellen L; Roman, Ryan D; Labott, Joshua R; Kaji, Elizabeth S; Grove, Austin F; Taunton, Michael J; Wyles, Cody C · Hip Int · 2026

retrospective_cohort · Level III

Where this comes from

Abstract

Manual measurement of leg length (LL) and offset can be tedious. This study developed an automated algorithm for measuring LL and offset from pre- and postoperative AP pelvis radiographs in a large cohort of THA patients. Using a deep learning model trained on 1100 total AP pelvis radiographs, an algorithm was developed to calculate LL and offset. Algorithm measurements were compared with manual measurements by 4 raters on a sample of 100 pre- and postoperative image pairs. Inter- and intra-rater consistency was calculated using the intraclass correlation coefficient (ICC). The algorithm was applied to calculate the pre- and postoperative LL and offset discrepancies and the change in LL and offset bilaterally in a cohort of 15,951 image pairs. ICC values between the algorithm and human raters ranged from 0.83 to 0.88 for offset measurements and 0.92 to 0.97 for LL measurements. Human raters demonstrated good-to-excellent inter-rater ICC and uniformly excellent intra-rater ICC. Entire database measurements demonstrated shorter LLs for arthritic joints versus the contralateral leg preoperatively and reduced LL discrepancy post-arthroplasty. We present a deep learning algorithm for calculating LL and offset using AP pelvis radiographs. This tool can support population-level studies and may assist operative management.

Anatomy