Screening for nonrigidity in structure from motion using projected reprojection residuals

Íñigo Cirauqui-ViloriaarXiv 2026

Imagine you’re trying to build a 3D model of a room using a series of photos—a process called Structure from Motion (SfM). SfM is built on a fundamental, comforting assumption: the world is a statue. It assumes nothing moves while you’re taking the pictures.

But what if you’re mapping something squishy, like a human colon during an endoscopy? The "statue" is actually a "dancer." Standard SfM will still try to give you a result, and it might even look plausible because the algorithm "absorbs" the motion by slightly fudging the camera positions and the 3D points. You end up with a beautiful, static lie.

This paper by Íñigo Cirauqui-Viloria introduces a clever "smoke detector" for these lies. Instead of just looking at how big the errors are, it looks at their shape and rhythm to flag when a scene is secretly deforming.

TL;DR

This paper proposes a diagnostic tool that detects non-rigidity (movement/deformation) in SfM reconstructions by analyzing the spatial and temporal patterns of reprojection errors. It proves that the arrangement of these errors is a much more sensitive "tell" for a deforming scene than the mere size of the errors themselves.

What Problem Does This Paper Address?

The "gold standard" for checking an SfM model is the reprojection error: the distance between where a 3D point projects onto an image and where it actually appears in the photo. Usually, researchers just look at the average or median of these errors. If the number is small, they assume the model is good.

However, a deforming scene can produce a "plausible" static model with low average error because the SfM solver "hides" the motion in the camera poses. The authors argue that these hidden errors aren't random; they leave a "fingerprint"—a structured pattern across space and time. The challenge is to separate this "non-rigid fingerprint" from the "noise" of ordinary camera and point adjustments.

Methods

The authors developed a diagnostic that works in three elegant stages:

  1. Nuisance Projection: First, they use a mathematical "filter" (based on Jacobians) to subtract any errors that could be explained by tiny, legitimate tweaks to the camera poses or 3D points. They also remove broad "affine" trends—simple stretches or shifts that happen over the whole sequence.
  2. Pattern Matching: They define a set of "candidate patterns"—specifically quadratic fields that vary over space and time. Think of these as templates for how a tube might bend or bulge.
  3. Scoring: They measure how much of the remaining error "energy" aligns with these quadratic templates. If the alignment is strong, the diagnostic flags the reconstruction as "positive" for non-rigidity.
The diagnostic pipeline: from measuring raw pixel offsets to screening the acquisition against a static cutoff.

The beauty of this approach is that it only requires the final SfM output (the cameras, points, and observations). You don't need the original video or a complex physics model of the tissue.

Datasets

The method was primarily evaluated using the Synthetic Deformable Tubular Benchmark, which simulates the geometry of internal organs:

  • Four Tubular Families: Straight, right bend, upward bend, and two bends.
  • Motion Types: Some sequences were truly static, some used physics-based (Finite Element) deformation, and others used hand-prescribed motion.
  • Transfer Variants: 20 different versions with varying textures, lighting, and "pipelines" to ensure the diagnostic wasn't just "memorizing" one specific look.
  • Real-world data: They attempted to use the C3VDv2 (Colonoscopy 3D Video Dataset), though this served more as a test of "numerical availability" (i.e., whether the SfM could even produce enough data to be screened).

Key Insights and Ideas

  • The "Tell" is in the Structure: Just as a card player might have a "tell" that isn't about how much they bet, but how they move their hands, SfM models have a "tell" in the organization of their errors. Figure 1C illustrates this perfectly: two errors can have the same length (magnitude), but one might align perfectly with a deformation pattern, making it much more suspicious.
  • Abstention is a Virtue: The diagnostic includes "numerical guards." If the data is too sparse or the math becomes unstable, it abstains rather than guessing. This is crucial for medical applications where a wrong answer is worse than no answer.
  • Static Calibration: The system is "calibrated" by looking at the highest scores achieved by known static scenes. This creates a rigorous "cutoff" line. If a new acquisition crosses that line, you know something is up.
A comparison of the diagnostic (Modal alignment) vs. standard error summaries. Note how the diagnostic clearly separates the static (low) from the moving (high) acquisitions.

Key Results

  • Superior Sensitivity: In the core test of 12 acquisitions, the new diagnostic caught all 8 moving scenes. Standard error magnitude checks only caught 5 or 6.
  • Robustness: When tested across 20 "transfer" variants (different textures/lighting), the diagnostic remained accurate in 19 cases (and abstained in the 20th).
  • Efficiency: The screening is fast. It takes about 13 seconds to score a model, which is significantly faster than "global-local" strategies that require building multiple sub-models and comparing them (which can take over a minute).

Limitations and Future Work

  • Geometry Specificity: The current "templates" are designed for tubular structures. While this is perfect for endoscopy, the diagnostic might need new templates for different shapes (like a deforming face or a flapping flag).
  • The "Why" Question: A positive flag tells you the model is inconsistent, but it doesn't tell you why. It could be physical motion, but it could also be a bad camera calibration or a glitch in the point-matching algorithm.
  • Real-World Messiness: On real colonoscopy data (C3VDv2), the SfM often failed to register enough images to even run the diagnostic. The tool is only as good as the SfM reconstruction it's screening.

In short, this paper gives us a much-needed "sanity check" for SfM. It reminds us that in a world that moves, we can't just trust a low error score—we have to look at the patterns left behind in the pixels.

Summary updated

BibTeX
@misc{cirauquiviloria2026screening,
  author = {Íñigo Cirauqui-Viloria},
  title = {{Screening for nonrigidity in structure from motion using projected reprojection residuals}},
  year = {2026},
  eprint = {2611.30769},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30769},
}
Figure