Hybrid Mamba-Transformer Network for Single-Shot 3D Reconstruction from Fringe Patterns

Xinjie Zhou, XiaoLei LiarXiv 2026 · arXiv

TL;DR

Researchers have developed a hybrid neural network that combines the global modeling power of Mamba (State-Space Models) with the hierarchical precision of Swin Transformers to perform high-accuracy 3D reconstruction from a single fringe image. Their model, which features a novel Axial-Dilated Vision State-Space (ADVSS) block, reduces reconstruction error by over 60% compared to previous state-of-the-art methods while maintaining near real-time performance.

What Problem Does This Paper Address?

Fringe Projection Profilometry (FPP) is a standard technique for non-contact 3D measurement, typically involving projecting light patterns onto an object and analyzing the distortions. While traditional methods are highly accurate, they require multiple images, making them unsuitable for moving objects or dynamic scenes.

Single-shot FPP—reconstructing 3D geometry from just one image—is the "holy grail" for real-time applications. However, it is incredibly difficult because the network must simultaneously maintain global spatial consistency (to understand the overall shape) and fine geometric detail (to capture sharp edges and textures).

  • CNNs are great at local details but struggle with long-range dependencies.
  • Transformers can model global relationships but are computationally expensive and often only build global context slowly through successive layers.

Methods

The authors propose a hybrid U-Net architecture that strategically places different types of layers where they are most effective:

  1. Swin Transformer Layers: Used at the highest resolution (L0) and the bottleneck/decoder stages to handle hierarchical feature refinement and local aggregation.
  2. ADVSS Blocks (The Core Innovation): At the intermediate resolution stage (L1), the authors introduce Axial-Dilated Vision State-Space blocks. These blocks utilize the linear-complexity selective scanning of Mamba to achieve a global receptive field efficiently.
  3. Directional Awareness: Recognizing that fringe patterns are inherently directional (usually vertical stripes), the ADVSS block uses axial convolutions (1x7 and 7x1) and dilated convolutions to capture orientation-sensitive and multi-scale features before the Mamba scanning process begins.
  4. Attention Gates: The skip connections between the encoder and decoder use attention gates to filter out irrelevant information, ensuring only the most useful spatial features are used for reconstruction.
Fig. 2. Overall architecture of the proposed Hybrid Mamba-Transformer network

Datasets

The study utilized a publicly available FPP dataset originally reported by Wang et al.

  • Composition: 3,070 fringe-depth pairs featuring objects with diverse geometries and surface characteristics.
  • Input: High-frequency vertical sinusoidal patterns (128 fringes).
  • Split: 2,697 samples for training, 299 for validation, and a dedicated 74-sample independent test set.

Key Insights and Ideas

  • Strategic Hybridization: The "aha moment" is that Mamba doesn't need to be everywhere. It is most effective at intermediate resolutions where it can provide a global "sketch" of the geometry, while Transformers and convolutions handle the fine-grained "coloring in" of details.
  • Exploiting Domain Knowledge: By adding axial convolutions to the Mamba block, the authors explicitly tailored the architecture to the vertical nature of fringe patterns, rather than treating the input as a generic image.
  • Linear Complexity: Mamba’s ability to provide a global receptive field with linear complexity (relative to image size) allows the model to maintain high accuracy without the massive memory overhead of standard global self-attention.
The ADVSS block enhances the standard VSS block by adding parallel branches for local, dilated, and axial feature extraction.

Key Results

The proposed method was benchmarked against several leading models (hNet, SwinConvUNet, UHRNet, and HiDNet) and showed dominant performance:

  • Accuracy: Achieved a Root-Mean-Square Error (RMSE) of 0.548 mm, representing a 65.2% reduction in error compared to UHRNet and 59.6% compared to HiDNet.
  • Structural Fidelity: Achieved a Structural Similarity Index (SSIM) of 0.9985, indicating near-perfect preservation of geometric structures.
  • Speed: Inference takes approximately 0.0246 seconds per image on an NVIDIA RTX 4090, making it viable for high-speed 3D sensing applications.

Limitations and Future Work

  • Hardware Constraints: While fast, the model is heavier than lightweight CNNs. Further optimization or model compression is needed for resource-constrained edge devices.
  • Generalization: The experiments were conducted under fixed imaging configurations. The authors note that testing across different cameras, projection distances, and fringe densities is a necessary next step.
  • Challenging Surfaces: Highly reflective (specular) or non-Lambertian surfaces still pose a challenge for single-shot methods and may require physics-informed constraints in future iterations.

Summary updated

Abstract

Deep learning facilitates rapid single shot three dimensional (3D) reconstruction using fringe projection profilometry (FPP), but recovering accurate surface height from a single high frequency fringe image remains challenging because both long-range spatial consistency and fine geometric details must be preserved. Convolutional networks are limited in modeling long range dependencies, whereas window-based Transformers establish global interactions only progressively with increasing depth. To address these limitations, a hybrid Mamba Transformer network is proposed for fringe to height regression. The network adopts a Swin based U shaped architecture and introduces visual state space modeling at the intermediate resolution encoder stage. An axial and dilated vision state space (ADVSS) block is further developed to enhance prescan feature encoding through local, dilated, and axial depthwise convolutions while retaining four directional selective scanning. This design combines linear complexity long range modeling with direction aware preservation of local fringe structures. Experiments on a publicly available FPP dataset show that the proposed method outperforms hNet, SwinConvUNet, UHRNet, and HiDNet in mean absolute error(MAE), root mean square error (RMSE), absolute relative error, and structural similarity index measure (SSIM). Using only one deformed fringe image, the proposed method achieves an RMSE of 0.548 mm and an SSIM of 0.9985, reducing RMSE by 65.2% and 59.6% relative to UHRNet and HiDNet, respectively. These results demonstrate the effectiveness of combining selective state space modeling with hierarchical window based attention for accurate single-shot FPP reconstruction.
BibTeX
@misc{zhou2026hybrid,
  author = {Xinjie Zhou and XiaoLei Li},
  title = {{Hybrid Mamba-Transformer Network for Single-Shot 3D Reconstruction from Fringe Patterns}},
  year = {2026},
  eprint = {2610.33988},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.33988},
}
Figure