ARNAI: Artifact Removal Network based on Autoencoding and Inpainting for Robust Spinal Image Segmentation and Measurement
Organizations: Pohang Stroke and Spine Hospital, Pohang, Republic of Korea · School of CSEE, Handong Global University, Pohang, Republic of Korea · School of Convergence Science and Technology, Pohang University of Science and Technology, Pohang, Republic of Korea · Department of Neurosurgery, Kyungpook National University Hospital, Kyungpook National University College of Medicine, Daegu, Republic of Korea
Abstract
Purpose: This study aims to develop an AI framework applicable for postoperative imaging for automated measurement of spinopelvic parameters on radiographs with robustness to the presence of spinal implants. Materials and Methods: We retrospectively reviewed lateral lumbar spine radiographs from two institutions (Internal: January 2017--December 2024; External: October 2021--September 2025). We developed the Restore, Segment, and Measure (RSM) framework, incorporating a novel Artifact Removal Network based on Autoencoding and Inpainting (ARNAI) to mitigate implant-related artifacts in postoperative radiographs. Segmentation and spinopelvic parameter (PT, LL, SS, SCA) measurement performance were assessed using Wilcoxon signed-rank tests and intraclass correlation coefficients. Results: When ARNAI was added to a recent Transformer-based segmentation model, FCBFormer, the mean DSC increased to 0.870 from 0.814, with marked gains at L3--L5 and smaller improvements at L1--L2. On 91 radiographs with implants, the mean L4--L5 segmental Cobb angle error decreased to 4.7 ° from 15.6--16.2 °, an average error reduction of 70%. The ICC for L4--L5 segmental Cobb angle improved to 0.54 (Rater 1) and 0.59 (Rater 2) from 0.18, and ICCs for pelvic tilt, lumbar lordosis, and sacral slope all exceeded 0.70. The improvement in L4--L5 segmental Cobb angle error was statistically significant in the internal implant-containing cohort after correction for multiple comparisons. Conclusion: The proposed RSM framework improved automated spinopelvic parameter measurement in implant-containing postoperative radiographs. By mitigating implant-related artifacts, ARNAI improved segmentation and downstream measurement accuracy, with the greatest benefit observed for L4--L5 segmental Cobb angle estimation, where the mean error was reduced by approximately 70%.
Figures & tables
| Model | L1 | L2 | L3 | L4 | L5 | Sacrum | F1 | F2 | Mean |
|---|---|---|---|---|---|---|---|---|---|
| Internal test set | |||||||||
| FCBFormer [ 8 ] | 0.8395 (0.2070) | 0.8673 (0.1966) | 0.7852 (0.2406) | 0.6620 (0.1890) | 0.6807 (0.1950) | 0.8737 (0.0515) | 0.9069 (0.0681) | 0.8932 (0.0806) | 0.8136 (0.1087) |
| RSM (Ours) | 0.8575 (0.1781) | 0.8860 (0.1610) | 0.8811 (0.1613) | 0.8461 (0.1594) | 0.8170 (0.1771) | 0.8733 (0.0498) | 0.9033 (0.0718) | 0.8935 (0.0785) | 0.8697 (0.0970) |
| External test set (Generalization) | |||||||||
| FCBFormer [ 8 ] | 0.7905 (0.2669) | 0.8480 (0.2471) | 0.8332 (0.2237) | 0.6737 (0.1773) | 0.6661 (0.1897) | 0.8951 (0.0375) | 0.8930 (0.0944) | 0.8735 (0.1331) | 0.8091 (0.1712) |
| RSM (Ours) | 0.7992 (0.2433) | 0.8642 (0.1996) | 0.8789 (0.1599) | 0.8414 (0.1349) | 0.8109 (0.1441) | 0.8771 (0.0495) | 0.8803 (0.0887) | 0.8650 (0.1345) | 0.8521 (0.1443) |
| Param. | Cohort / Model | Relative to Rater 1 | Relative to Rater 2 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Mean (SD) | Median (IQR) | R | ICC (95% CI) | Mean (SD) | Median (IQR) | R | ICC (95% CI) | ||
| Internal test set | |||||||||
| PT | Implant-free | 1.7 (3.1) | 1.1 (1.2) | 0.93 | 0.92 (0.88–0.94) | 1.1 (1.4) | 0.9 (1.1) | 0.98 | 0.98 (0.97–0.99) |
| Implant (Baseline) | 2.3 (3.9) | 1.2 (1.9) | 0.87 | 0.87 (0.81–0.91) | 2.4 (4.2) | 1.3 (1.8) | 0.86 | 0.85 (0.78–0.90) | |
| Implant (RSM) | 2.0 (3.8) | 0.9 (1.4) | 0.88 | 0.88 (0.83–0.92) | 2.3 (3.9) | 1.2 (1.9) | 0.87 | 0.87 (0.81–0.91) | |
| LL | Implant-free | 4.6 (3.9) | 3.4 (5.3) | 0.92 | 0.88 (0.72–0.94) | 5.0 (3.6) | 4.1 (4.6) | 0.92 | 0.88 (0.64–0.94) |
Medical Imaging
Medical imaging uses computational methods to analyze, reconstruct, and interpret images for diagnosis, treatment planning, and monitoring.
See all 250 papers