Related Experiment Video
Updated: Mar 7, 2026

In Vivo Quantification of Hip Arthrokinematics during Dynamic Weight-bearing Activities using Dual Fluoroscopy
Published on: July 2, 2021
An algorithm for automated femoral leg length and offset calculations on pelvis radiographs
Kellen L Mulford1, Ryan D Roman1, Joshua R Labott2
1Orthopedic Surgery Artificial Intelligence Laboratory, Department of Orthopaedic Surgery, Mayo Clinic, Rochester, MN, USA.
Introduction:
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.
Methods:
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.
Results:
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.
Conclusions:
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.

