wikillm

Concept · 4 papers · updated 2026-11-01

Image registration

Image registration aligns images or views so corresponding points coincide. A 2013 fusion survey names techniques without an algorithm. A 2018 3D CNN learns prostate MR-to-ultrasound warps from sparse labels. BARF (2021) aligns NeRF camera poses photometrically, coarse to fine. Trade-off: each needs labels or RGB views of a rigid scene, and reports narrow tests.

medical-imagingimage-registrationdeformable-registrationweak-supervisionmultimodalneural-renderingcamera-pose

Markdown11 min read

AI-compiled overview, updated 2026-11-01, not yet reviewed by a human. Every claim cites its source; check it when a detail matters.

Overview

Registration corrects the spatial misalignment between two images so that the same anatomy lines up in both. The 2013 survey lists the corrections as compensation for scale changes, rotations and translations 1401.0166 §2. It places registration as the first of two stages in medical image fusion. Fusion then selects features from the aligned images and combines them 1401.0166 §2 fig. 3.

A 2018 paper addresses a harder case: deformable registration between MR and ultrasound of the prostate, where the organ shape differs between the planning scan and the procedure 1807.03361 §1. Its method learns a dense displacement field, a per-voxel warp, with a 3D CNN 1807.03361 §2.1.

A 2021 paper applies the same idea to camera poses rather than image pixels. BARF jointly fits a neural radiance field and the pose of each photo, and it starts from imperfect or unknown poses 2104.06405 §1. Its alignment step is the classical photometric one, which minimises the brightness error between images. Classical coarse-to-fine alignment blurs the images so the error surface has a wider basin; BARF gets a similar effect by opening the frequency bands of its input encoding over training 2104.06405 §3.1 §3.4. Its own tests were on synthetic and forward-facing real scenes, not on medical data.

All three sources share one invariant: the output must put corresponding content into the same frame, whether that is anatomy, pixels or camera poses in one scene. The survey keeps image resolution equal before and after fusion 1401.0166 §2.3, and it links inaccurate registration to poor feature- or decision-level fusion 1401.0166 §5. The 2018 paper scores a candidate warp by how well corresponding labels overlap after warping, not by how well the intensities match 1807.03361 §2.1. Its intensity-based baselines did poorly on the same data: a median landmark error (TRE) of 19.6 mm after centroid alignment, and 20.6 to 25.6 mm with free-form deformation on top of it 1807.03361 §4.4 tab. 2.

A 2023 review of vision transformers in medical imaging has its own registration section 2301.03505 §8 and names registration among the open problems for these models 2301.03505 §10. The review is a literature survey with no experiments of its own. Its registration comparison table is not transcribed in this wiki, so this page gives it no numbers. Read the paper for those.

The survey does not describe a registration algorithm. It gives no transform model, similarity measure, optimiser or search strategy, and no error figures. The 2018 paper and BARF are the only sources here with a specified method, and each reports numbers from its own datasets. Read the survey as a vocabulary and open-problems map, and the two method papers as worked examples with their limits.

Variants

The survey does not split registration into named methods. It lists families of techniques that it places in the registration stage, and two specific uses it reports. The 2018 paper is a learned, deformable method for one organ and one modality pair. BARF is a photometric method for camera poses in a neural scene model, and it is not an image-to-image warp.

Feature processing toolbox

The pipeline diagram lists the techniques used for feature processing and extraction in the registration stage: probabilistic and fuzzy logic, training algorithms, neural networks, morphological filtering, wavelet filtering, transforms and component analysis 1401.0166 §2 fig. 3. The survey does not say which of these handles the geometric alignment itself, and it does not describe how any of them is applied. The morphological family, for example, is described for feature detection and fusion, with the caveat that it is sensitive to outliers, noise and feature size 1401.0166 §2.1.

Possibilistic clustering

The survey reports possibilistic clustering as an improvement over fuzzy c-means in the registration stage 1401.0166 §2.6. No figures or comparison data are given.

Support vector machines

SVMs are described as useful in both the registration and the fusion stage, and valued for rejecting outliers 1401.0166 §2.6. The survey does not say how the SVM is posed or what it outputs for registration.

Application-specific registration

Some organ sections of the survey name registration problems without a method:

  • Brain: 2D-3D registration is listed among uses for image-guided neurosurgery 1401.0166 §4.1.
  • Prostate: deformation of the organ between imaging setups is named as the main challenge 1401.0166 §4.3. The 2018 variant below targets this case.
  • Liver: registration and fusion are described together as a primary task 1401.0166 §4.5.

Weakly-supervised deformable CNN (MR to TRUS)

The 2018 paper, by Hu et al., registers a T2-weighted MR volume to a 3D transrectal ultrasound (TRUS) volume of the prostate. Card: Weakly-Supervised Convolutional Neural Networks for Multimodal Image Registration.

  • Input and output. A moving MR and a fixed TRUS volume, each resampled to 0.8 mm isotropic and normalised per image 1807.03361 §3.1. The output is a dense displacement field 1807.03361 §2.1.
  • Training signal. Only corresponding anatomical label pairs are used, with no voxel-level correspondence 1807.03361 §2.1. The similarity is a multiscale soft Dice, averaged over seven Gaussian blur scales, so that labels still give a signal when they do not overlap 1807.03361 §2.2 eq. 5. The deformation penalty is bending energy, weighted by α = 0.5 in the baseline 1807.03361 §3.2.1.
  • Network. A 3D CNN with four down-sampling and four up-sampling blocks, plus displacement skip layers that sum predictions across resolutions 1807.03361 §2.3.
  • Inference. Needs only the image pair, with no labels or initialisation, at about four registrations per second on the authors' GPU 1807.03361 §4.1.
  • Reported accuracy. Cross-validated on 108 pairs from 76 patients, with a median TRE of 3.6 mm and a median gland Dice of 0.87 1807.03361 §4.1 tab. 1. The authors' earlier Global-Net and Composite-Net gave 5.8 mm and 4.7 mm under the same loss 1807.03361 §4.3 tab. 1.
  • Ablations. Multiscale Dice beat the cross-entropy variant on TRE (p < 0.001), and bending energy beat an L2 gradient penalty on both metrics 1807.03361 §4.2 §4.3.

Photometric pose registration with coarse-to-fine encoding (BARF)

BARF, by Lin et al., fits a neural radiance field and every camera pose together, starting from imperfect or unknown poses. Card: BARF: Bundle-Adjusting Neural Radiance Fields.

  • Input and output. Images of a static scene with initial poses. On the real scenes the start is the identity for every camera 2104.06405 §4.3. The output is a radiance field and a refined pose per image, parametrised in se(3) with known intrinsics 2104.06405 §3.2 §4.2.
  • Objective. The squared photometric error over all pixels and images is minimised over the network weights and all poses at the same time 2104.06405 §3.2 eq. 8. No correspondence labels are used.
  • Coarse-to-fine schedule. The sinusoidal bands of the positional encoding are opened one at a time, with a smooth window per band. The raw coordinates are never masked 2104.06405 §3.4 eq. 10 eq. 13 eq. 14. On the synthetic and real scenes the window opens linearly from iteration 20K to 100K of 200K, with L = 10 bands 2104.06405 §4.2 §4.3. The paper calls this schedule hand-set and says a per-scene optimum is out of scope 2104.06405 app. B.2.
  • Reported results. Author-reported, on 8 Blender scenes with perturbed poses: mean rotation error 6.167 degrees with full encoding and 0.193 with BARF; PSNR 22.12 dB and 27.50 dB, against 29.40 dB for NeRF with true poses 2104.06405 §4.2 tab. 2. On 8 LLFF scenes from identity poses: mean rotation error 0.573 degrees with BARF, against 0.699 without any encoding, which is also the baseline with the better translation error 2104.06405 §4.3 tab. 3 tab. 5. On planar patch alignment, the sl(3) error is 0.0096, against 0.0641 without encoding and 0.2949 with full encoding 2104.06405 §4.1 tab. 1.
  • Limits. The authors name slow optimisation and rendering, the assumption of a rigid scene, sensitivity to dense sampling and the heuristic schedule 2104.06405 §5. Results depend on the depth parametrisation: with regular metric depth on LLFF, BARF's mean rotation error rises to 1.580 degrees 2104.06405 tab. 6 app. B.2. The LLFF reference poses come from structure-from-motion, so the errors measure agreement with that method rather than ground truth 2104.06405 §4.3.

When to use which

The survey gives no decision rules for registration. The table maps the constraints the sources name to the options they report, and marks where they give nothing.

SituationUseWhy
Two modalities with different strengths, e.g. MRI with CT or PETRegister before fusing; the survey gives no method for this pairSingle modalities miss details, and fusion needs aligned inputs 1401.0166 §1 §2.3
Noisy images, outliers or missing features, classical pipelineSVM-based processing, which the survey says rejects outliersReported property only; no accuracy figures 1401.0166 §2.6
Better clustering than fuzzy c-means for the registration stagePossibilistic clusteringReported as an improvement; no numbers given 1401.0166 §2.6
Prostate MR to TRUS, deformable, labelled anatomy pairs available for trainingWeakly-supervised 3D CNN with multiscale DiceMedian TRE 3.6 mm on 108 pairs, single trial. Training took 48 hours on a 12 GB GPU 1807.03361 §3.2 §4.1
Camera poses unknown or noisy, RGB views of a rigid scene, goal is a neural scene modelBARF: joint radiance field and pose fit with coarse-to-fine encodingRotation error falls from 6.167 to 0.193 degrees on synthetic scenes with perturbed poses 2104.06405 tab. 2; on LLFF the no-encoding baseline has the better translation error tab. 3 tab. 5
Non-rigid scene, or a need for speedNot stated; BARF assumes a rigid scene and the authors list slow optimisation as a limit2104.06405 §5
Organ that deforms between scans, no anatomical labelsNot stated; the survey names deformation as the main challenge, and the 2018 method needs labels for training1401.0166 §4.3 1807.03361 §2.1
Real-time or volumetric use, e.g. in surgeryLearned 3D CNN at about four registrations per second on the authors' GPU; the survey points to optimised algorithms, FPGAs and GPUs for fusion speedSpeed is reported only for the 2018 method 1807.03361 §4.1; the survey lists speed as an open challenge 1401.0166 §5
Registration with a transformer backbone in medical imagingNot stated here; the review covers it in its registration section, and its numbers are not transcribedThe review lists registration as an open problem for these models 2301.03505 §8 §10
Another organ, modality pair or centreNot statedThe 2018 paper had no independent test set and leaves other centres as future work 1807.03361 §5

Sensitivity to the regulariser matters for the learned method. With α = 0.5 the baseline produced no negative Jacobian determinants. An illustrative network with α = 0.01 did 1807.03361 §4.3.

Implementation sketch

The survey does not specify an algorithm, so the first block shows only the interface between the two stages. Every line marked "not stated" needs a primary source.

Pseudocode
# Stage 1: estimate the spatial mapping between the two images
# [arxiv:1401.0166 §2, fig. 3]. Inputs: moving image M, fixed image F.
# Transform family, similarity measure and optimiser: not stated.
T = register(M, F)
# Resample M into the frame of F so pixels correspond
# [arxiv:1401.0166 §2.3: fusion keeps equal resolution]
M_aligned = resample(M, T, F.grid)
# Stage 2: fuse the aligned pair [arxiv:1401.0166 §2]
# Fusion rule (wavelet, fuzzy, neural, SVM, ...): see Variants
fused = fuse(F, M_aligned)

The learned variant replaces register with a network that predicts the mapping directly. The block below is one training step of that variant.

Pseudocode
# One training step of the learned variant [arxiv:1807.03361 §2.1]
# Inputs: image pair (x_A, x_B) and K sampled label pairs (l_A, l_B)
# Predict a dense displacement field u from the image pair
u = cnn(x_A, x_B; theta)
# Warp the moving labels with u
y_A = warp(l_A, u)
# Score label overlap with multiscale soft Dice [arxiv:1807.03361 §2.2]
J = mean(multiscale_soft_dice(l_B, y_A))
# Penalise non-smooth displacements: bending energy, alpha = 0.5
# in the baseline [arxiv:1807.03361 §3.2.1]
loss = -J + alpha * bending_energy(u)
# Adam update; learning rate 1e-5 in the baseline, schedule not stated
theta = adam_step(theta, grad(loss, theta))

The photometric variant (BARF) keeps the same loop shape but optimises poses as well as the network. Its coarse-to-fine step is the window on each band of the input encoding.

Pseudocode
# Weight of positional-encoding band k at progress alpha, in [0, L]
# [arxiv:2104.06405 §3.4] [eq. 13] [eq. 14]
def band_weight(alpha, k):
    # Band k is closed until alpha reaches k, then opens over one unit
    t = clamp(alpha - k, 0, 1)
    return (1 - cos(pi * t)) / 2
Pseudocode
# One joint step over pixel rays [arxiv:2104.06405 §3.2] [eq. 8]
# Network weights and per-image poses are updated together
for each batch of rays:
    # Each ray uses the pose of the image it belongs to
    poses = pose_params[image_of(rays)]
    # Encode sampled points with the windowed encoding [§3.4]
    feats = encode(points(rays, poses), alpha, band_weight)
    # Summed squared error of volume-rendered colour [eq. 8]
    loss = sum((render(feats, rays) - target) ** 2)
    theta, pose_params = adam_step(loss, theta, pose_params)

Contradictions

None between the sources on the same claim. The survey has no experiments and predates the 2018 paper and BARF, so it cannot confirm or dispute their numbers.

Across the two method papers, the scope differs, and the sources state it differently:

  • Intensity similarity. The 2018 paper says intensity-based similarity is unreliable across MR and ultrasound, because the same anatomy can look different in each 1807.03361 §1. BARF's objective is a photometric error on RGB images of one scene 2104.06405 §3.2. Both are reported as they stand; the sources do not test each other's setting.
  • Schedules. BARF's window is hand-set and depends on the total iteration count 2104.06405 app. B.2. The 2018 paper's learning rate starts at 1e-5 with no decay schedule or iteration count stated 1807.03361 §3.2.1. Neither paper says how to choose its schedule for a new dataset.

Two points inside the 2018 paper need care:

  • Initialisation. §2.3 describes the displacement skip layers as randomly initialised with zero mean and small variance. §3.2.1 says the final displacement layers were initialised to zero for all reported results 1807.03361 §2.3 §3.2.1. The paper's reported numbers used the zero initialisation.
  • Comparisons with earlier work. The 2018 paper's own comparison table lists earlier MR-to-TRUS results with TREs of 1.4 to 2.8 mm. It marks them as not directly comparable, since they come from other datasets, label sets and training strategies 1807.03361 §4.4 tab. 2.

Papers

Source and license

Compiled from the papers listed on this page, all published under CC BY, CC BY-SA or CC0, with citations. See each paper's page for its authors and license.