CUFormer: Modality-Aware CT-Ultrasound Point Cloud Registration for Orthopedic Navigation

arXiv preprint

Lixing Tan1 Hongye Hao1 Tianrun Gu1 Qing Xia1,* Yuting Guo2 Shuai Li1 Aimin Hao1
1Beihang University 2Beijing Information Science and Technology University
*Corresponding author: xiaqing@buaa.edu.cn
Teaser: preoperative CT and the reconstructed ultrasound point cloud from tracked B-mode images enter CUFormer; the registered CT with ultrasound frames and CT contours on three B-mode images; registered results on fibula, foot, femur and spine.

CUFormer registers intraoperative US bone surfaces to preoperative CT for radiation-free orthopedic navigation. Tracked B-mode images are reconstructed into a partial point cloud and aligned with the CT model. CT-US results span the tibia, fibula, foot, and femur, and the spine example adds CT-RGB-D registration.

Abstract

Registering intraoperative Ultrasound (US) bone-surface point clouds to preoperative Computed Tomography (CT) models can support radiation-free orthopedic navigation. Differences in imaging physics produce distinct surface sampling patterns, complicating cross-modal feature matching. Bone strongly reflects ultrasound and casts an acoustic shadow, so US captures only the probe-facing bone surface and leaves most CT points unmatched. This partial coverage makes correspondences ambiguous on near-symmetric bones. We propose CUFormer, a modality-aware registration framework. We introduce a Modality-Aware Transformer (MAT) that encodes input modality through identity embeddings and updates features through modality-specific adapters within a shared geometric matcher. We model imaging visibility and use predicted reference-side visibility to weight coarse and fine correspondences. CUFormer achieves the lowest mean registration errors among evaluated methods on two CT-US datasets, UltraBones100k and UltraBonesHip, and the CT-RGB-D dataset SpineDepth. On UltraBones100k, it reaches mean rotation error 4.53°, translation error 3.19 mm, and Root Mean Squared Error (RMSE) 2.54 mm, reducing RMSE by 65.8% relative to the best-performing baseline by this metric. These results demonstrate CUFormer's effectiveness in aligning partial bone surfaces with preoperative CT across anatomical sites.

Video

A step-by-step walkthrough on one UltraBones100k test case: the tracked ultrasound sweep and the preoperative CT; which part of the CT the sweep actually sees (the visibility target); how a previous matcher fails on a near-symmetric bone (another test case) and where it places the strip relative to the visible bone; then each CUFormer module (shared encoder and MAT, visibility head, visibility-guided coarse matching, fine matching and pose), located on the main pipeline of the method figure and shown with its real output on this case; finally, one test case each from the fibula, hip and lumbar spine. Intermediate states and poses are saved outputs of the evaluated models; the probe and CT scanner are illustrations, and motions between poses are interpolated for display. The narration is synthesized with the Kokoro text-to-speech model.

Method

CUFormer overview: a shared encoder and the Modality-Aware Transformer produce modality-aware features; reference-side visibility guides coarse and fine matching before rigid transformation estimation; detail panels show the modality embeddings and gated adapters, and the visibility head with soft-target supervision.

CUFormer follows a coarse-to-fine registration pipeline. A shared KPConv-FPN encoder extracts multi-resolution features from the CT reference and the US source. MAT supplies modality identity embeddings and modality-specific residual updates within the shared geometric matcher. Reference-side visibility weights the coarse scores before superpoint correspondence selection and biases the fine scores before Sinkhorn optimal transport establishes point correspondences. A local-to-global estimator then recovers the rigid transform.

Modality-Aware Transformer

Shared geometric features do not explicitly encode the acquisition modality. MAT adds two learnable embeddings, ect and eus, to the coarse features before the transformer and, through a projection φ, to the fine features before matching. The superpoint transformer contains three pairs of geometric self-attention (GeoSA) and cross-attention (CA) blocks. Separate CT and US gated bottleneck adapters follow each shared block, Adapter(x) = x + γ·WupReLU(Wdownx), with γ initialized to zero so that each adapter starts as an identity mapping. The attention layers stay shared, and only the embeddings and adapters are modality specific.

Reference-side visibility

US observes only a thin strip of the bone, so most CT points have no counterpart in the source. CUFormer models imaging visibility through geometric overlap and predicts which CT regions the US observes. The visibility head hierarchically fuses coarse, fine, and full-resolution CT features along the point-to-node hierarchy, and a small per-point network of 1×1 convolutions with group normalization and a sigmoid outputs the visibility probability vi.

Supervision uses continuous soft targets. For each CT point, the distance di to the ground-truth-aligned source is mapped to si = clip(1 − di/ρ, 0, 1). Points whose target lies in the uncertain band between the negative and positive thresholds are masked.

Visibility-guided matching

At the coarse level, each aggregated visibility becomes a weight w that scales the superpoint scores before global top-K selection, favoring visible CT regions. At the fine level, λf log w is added to each reference point's row of point-pair scores before Sinkhorn optimal transport, while the scores of the unmatched (dustbin) entries stay unchanged.

Two-stage training

Stage 1 initializes the shared parameters from GeoTransformer weights pretrained on 3DMatch and trains the matcher, including MAT, with a weighted circle loss on superpoint descriptors and the negative log-likelihood of ground-truth point correspondences. Stage 2 freezes the matcher and trains only the visibility head with a smooth-L1 loss against the soft targets.

Interactive demos

Both demos use held-out test cases and show saved CUFormer predictions. No model runs in your browser.

1  CT on live ultrasound

A real tracked B-mode sweep along a tibia from the UltraBones100k test set. Drag the handle: left of it is the raw ultrasound, right of it is the same frame with the CT cross-section at the CUFormer estimate. The panel on the right shows where the current frame lies on the registered bone.

Raw ultrasoundRaw + CT at CUFormer estimate+ CT
Frame on registered CTFrame

All 778 frames of the sweep, in acquisition order, placed with the dataset's tracking and calibration. The blue contour is computed from the retained CUFormer estimate for this scan (strict RMSE 1.43 mm); nothing is fitted per frame.

2  Registration explorer

Pick an anatomy and drag the slider: the CT stays fixed while the intraoperative points move from their input pose onto the bone by the CUFormer estimate. Rotate and zoom with the mouse. Colour the CT by predicted visibility to see which part of the bone the model expects the ultrasound to observe.

CT reference (blue, fixed) and intraoperative points (orange) from the test sets. The points are moved by the inverse of the estimated CT-to-ultrasound transform, which gives the same relative alignment. Intermediate slider positions interpolate between the two poses for display; CUFormer predicts the final pose in one forward pass.

Results

Comparison on three datasets

We compare CUFormer with ten baselines on the CT-US datasets UltraBones100k and UltraBonesHip and on the additional CT-RGB-D dataset SpineDepth. All methods use three specimen-level cross-validation splits and share the test samples and poses within each split, and every failure stays in the averages.

MethodUltraBones100k
CT-US
UltraBonesHip
CT-US
SpineDepth
CT-RGB-D
RRE ↓RTE ↓RMSE ↓FR ↓RRE ↓RTE ↓RMSE ↓FR ↓RRE ↓RTE ↓RMSE ↓FR ↓
ICP84.16±7.0264.46±4.62112.58±14.7150.8±2.7597.86±8.1957.34±1.5285.36±13.5453.0±6.9491.67±11.6120.02±1.6936.50±0.6455.0±10.00
NBReg41.25±9.3028.87±3.4935.21±2.0327.0±2.7529.11±13.7418.84±6.7019.45±4.9719.7±9.4610.97±5.512.97±1.324.21±1.706.7±2.89
PARTE66.70±9.7025.21±4.6340.02±7.8434.9±7.2792.35±23.3647.53±9.0354.80±10.8753.0±18.37128.25±4.7932.75±2.7442.84±0.8481.7±5.77
Predator16.09±0.457.14±0.407.42±0.101.6±2.7558.07±20.0227.30±2.5432.22±7.0327.3±12.035.65±0.673.57±0.223.48±0.140.0±0.00
CoFiNet38.99±10.5016.74±4.6430.64±20.2815.9±7.2777.00±13.9135.61±9.8757.50±9.1937.9±6.945.06±0.242.98±0.333.16±0.220.0±0.00
GeoTrans19.00±4.3213.19±0.1413.56±0.391.6±2.7526.04±9.9016.31±2.0019.09±4.316.1±6.9421.58±4.375.34±1.277.82±1.6111.7±2.89
PANet94.84±14.5278.72±6.26143.23±18.6455.6±7.2789.30±3.9563.69±3.4190.30±11.6747.0±6.9487.05±13.4335.45±2.0349.97±2.2450.0±5.00
MMMI85.47±7.1051.74±0.1087.37±0.9841.3±5.5096.94±15.2145.44±4.4265.31±2.3050.0±13.64118.63±1.6222.50±0.6043.24±1.5485.0±8.66
RORNet88.19±10.9146.92±2.4587.20±18.0646.0±7.2789.90±2.8259.64±4.4675.21±5.7548.5±5.25101.33±19.0228.59±3.4538.67±5.0053.3±20.82
IGASA51.66±3.4815.28±1.4320.36±5.5422.2±2.7598.58±4.9149.80±1.9546.94±1.2857.6±6.9461.46±16.1510.49±1.5221.87±4.0431.7±7.64
CUFormer4.53±0.833.19±0.332.54±0.100.0±0.0022.00±2.9212.55±1.4815.07±1.411.5±2.624.72±5.022.18±0.932.36±1.280.0±0.00

Mean ± sample standard deviation across the three specimen-level cross-validation splits. Each split averages over its test scans, including failures. RRE is in degrees, RTE and strict pointwise RMSE are in mm, and FR (%) is the fraction of scans with RRE ≥ 90°. Lower is better, and best means are bold. The upper group contains per-case optimization methods, and the lower group contains learning-based methods, each ordered by publication year. NBReg: NeuralBoneReg. GeoTrans: GeoTransformer.

On the CT-US datasets, CUFormer achieves the lowest mean errors and FR, with 4.53°, 3.19 mm, 2.54 mm, and FR 0.0% on UltraBones100k and 22.00°, 12.55 mm, 15.07 mm, and FR 1.5% on UltraBonesHip. On UltraBonesHip, where the hip anatomy is deeper and harder to image with US, errors increase for the three learning-based baselines with the lowest RMSE on UltraBones100k. CUFormer also degrades there but retains the lowest RMSE. On SpineDepth, CUFormer obtains 4.72°, 2.18 mm, 2.36 mm, and FR 0.0%. Several baselines also perform well on this dataset, and CUFormer still reduces RMSE by 25.3% relative to CoFiNet.

Qualitative comparison

Qualitative comparison of eleven methods on UltraBones100k fibula, tibia and foot, UltraBonesHip femur, and SpineDepth L5; source points colored by pointwise error from 0 to 10 mm.

Four CT-US rows show UltraBones100k fibula, tibia, and foot and UltraBonesHip femur, followed by an additional CT-RGB-D SpineDepth L5 row. Baselines are ordered by publication year. GT shows CT in blue and US/depth in orange. Other columns show CT in gray and source points colored by pointwise error on a 0 to 10 mm scale. Red-framed insets enlarge the boxed regions in the fibula and L5 rows.

Component ablation

SettingRRE ↓RTE ↓RMSE ↓
Baseline19.0013.1913.56
+ MAT7.065.905.41
+ MAT (w/o pretrain)15.1015.4616.60
+ Visibility7.957.547.88
+ MAT + Visibility4.533.192.54

UltraBones100k, averaged across three splits. w/o pretrain: shared parameters are not initialized from 3DMatch weights. RRE is in degrees, and RTE and RMSE are in mm.

Qualitative component ablation on UltraBones100k: Baseline, Visibility, MAT, and MAT + Visibility on fibula, tibia and foot cases, with US points colored by displacement from the ground-truth alignment.

Qualitative comparison of the component ablation on UltraBones100k. US points are colored by displacement from the ground-truth alignment in millimeters.

Each module improves Baseline on its own: MAT reduces RMSE from 13.56 to 5.41 mm, and Visibility reduces it to 7.88 mm. Without pretraining, RMSE rises from 5.41 to 16.60 mm, about 3.1× that of MAT, which indicates that initializing the shared parameters from same-modality pretraining is critical when paired CT-US data are limited. On top of MAT, visibility guidance reduces RMSE by 53.0%, from 5.41 to 2.54 mm, compared with 41.9% on Baseline, and combining both modules gives the best results.

Visibility-guided matching

SettingRRE ↓RTE ↓RMSE ↓
No Visibility7.065.905.41
+ Visibility Coarse4.853.652.85
+ Visibility Fine4.813.602.79
+ Visibility Full4.533.192.54
+ Visibility GT4.512.852.35

Ablation on top of MAT, averaged across three splits. Coarse and Fine fuse predicted visibility at the respective matching stage, Full fuses it at both stages, and GT uses ground-truth visibility as an oracle.

Predicted reference-side visibility on CT surfaces and its deviation from the overlap-derived soft target.

Predicted reference-side visibility. Top: predicted probability vi. Bottom: deviation |vi − si| from the soft target.

Either stage alone yields most of the gain, and fusing visibility at both stages gives the lowest errors among the predicted-visibility configurations. The remaining gap to the GT-visibility oracle is 0.02°, 0.34 mm, and 0.19 mm, so fusion at both stages recovers 99.2%, 88.9%, and 93.8% of the oracle's improvement in RRE, RTE, and RMSE. On the test scans of one randomly selected UltraBones100k split, the visibility head reaches an Average Precision of 92.04%, an AUROC of 94.81%, an F1 of 86.33%, and an Expected Calibration Error of 0.025.

Robustness to initial misalignment

Mean strict RMSE and mean rotation error versus initial rotation and translation for seven methods on UltraBones100k.

Seven methods on the UltraBones100k test scans of one randomly selected split. The US is rotated about the CT centroid and translated while the CT stays fixed. (a,b) Mean strict RMSE and mean RRE versus rotation at 30 mm translation. (c,d) The same metrics versus translation at 30° rotation.

CUFormer has the lowest mean RMSE at every perturbation level in both sweeps, rising from 2.64 to 3.70 mm between 0° and 90° of rotation, and the lowest mean RRE except at 90°, where GeoTransformer reaches 8.47° and CUFormer 9.29°. The protocol and success and flip rates are given in Supplementary Section S2 of the paper.

Runtime

On NVIDIA RTX 4090 GPUs, the CUFormer forward pass takes 0.055 to 0.115 s per scan on average across the three datasets, while the complete per-case optimization of NBReg takes 13.9 to 23.4 s. The two timing scopes differ: CUFormer excludes CPU neighborhood construction and host-to-device transfer, and NBReg was measured on GPUs shared with other workloads. Details are given in Supplementary Section S1 of the paper.

Citation

@article{tan2026cuformer,
  title   = {{CUFormer}: Modality-Aware {CT}-Ultrasound Point Cloud Registration for Orthopedic Navigation},
  author  = {Tan, Lixing and Hao, Hongye and Gu, Tianrun and Xia, Qing and Guo, Yuting and Li, Shuai and Hao, Aimin},
  journal = {arXiv preprint arXiv:2611.01536},
  year    = {2026}
}