While wide-angle lenses provide an expanded field of view (FoV), they exhibit severe nonlinear distortion near image boundaries, unnaturally stretching people in these regions. Existing methods mostly focus on facial regions, require high computational costs, and lack temporal modeling, resulting in incomplete full-body rectification, impractical real-time deployment, and noticeable inter-frame shakes. To tackle these issues, we propose FastVC, an efficient full-body video rectification framework driven by distortion-aware spatiotemporal learning. Grounded in lens physics, FastVC introduces a distortion-aware thin-plate spline (DA-TPS) module that nonlinearly remaps control points into a peripheral-dense layout, enabling more accurate geometric fitting without additional computational cost. We further develop a dual-level spatiotemporal learning scheme for causal and stable video rectification. At the model level, neighborhood spatiotemporal attention (NST) aggregates local context and selectively fuses historical features with low overhead. At the optimization level, sparse spatiotemporal supervision applies spatial alignment only to anchor frames, decoupling frame-wise accuracy from temporal stability. Besides, we contribute the first benchmark dataset for wide-angle full-body video correction. Extensive experiments show that FastVC achieves state-of-the-art rectification fidelity and visual stability at 57.0 FPS.
Figures & tables
Figure 2: The overall pipeline of our FastVC network, which consists of feature extraction, feature aggregation, and rectification field estimation. The NST Attention aggregates sequential feature maps into the current frame from spatial to temporal.
Figure 4: The sparse spatiotemporal supervision strategy.
Figure 5: Overview of the proposed wide-angle full-body video dataset. Left: Representative samples across diverse scenes, subjects, and brands, with insets showing the corresponding ground-truth rectified frames. Right: Hierarchical distribution of the dataset, categorized by scene, number of subjects and smartphone brand.
Dataset
Type
Target
GT
Training/Total Frames
Tan et al.
Image
Face
Image Label
5.2k/5.3k
VideoPC
Video
Face
No Label
7.1k/44k
Ours
Video
Full-Body
Image Label
12k /17k
Table 1: Comparison of wide-angle portrait datasets.
Method
Reference
Face AR (%) ↓
Body AR (%) ↓
Stability Score ↑
Avg. Diff.
eˉ5
eˉ10
Avg. Diff.
eˉ5
eˉ10
Avg.
Trans.
Rot.
DualPriors
ECCV2024
13.73
84.59
67.39
6.18
47.74
18.99
0.8137
0.7878
0.8396
CoupledTPS
TPAMI2024
9.07
75.30
41.29
5.59
40.57
16.97
0.8352
0.8058
0.8646
CoupledTPS*
TPAMI2024
3.23
21.06
4.41
2.42
13.87
2.76
0.8351
0.7860
0.8842
MOWA
TPAMI2025
9.08
74.92
37.59
5.87
42.93
18.66
0.8225
0.7908
0.8542
VideoPC
AAAI2026
9.66
75.15
48.84
5.56
50.60
11.06
0.7996
0.7423
0.8569
Table 2: Quantitative comparison with state-of-the-art methods on spatial rectification quality and temporal stability. * indicates that this model was retrained in the proposed dataset.
Figure 6: Qualitative comparison across various mobile device brands, demonstrating our superior full-body rectification quality.
Method
Correction ↑
Stability ↑
Background Fidelity ↑
CoupledTPS*
10.59%
1.76%
2.35%
VideoPC*
2.94%
43.53%
35.88%
FastVC (Ours)
86.47%
54.71%
61.77%
Table 3: Quantitative comparison of the user study.
Type
Method
Params (M)
GFLOPs
FPS
Image Model
DualPriors MOWA CoupledTPS
400.0 55.6 30.6
654.96 59.99 21.13
2.2 16.4 107.9
Video Model
VideoPC FastVC (Ours)
80.0 8.7
4515.16 3.64
2.88 57.0
Table 4: Efficiency comparison on a single RTX 5090 GPU.
Supervision
Output Frames
Face AR (%) ↓
Body AR (%) ↓
Stability Score ↑
Mode
During Training ( Z )
Avg. Diff.
eˉ5
eˉ10
Avg. Diff.
eˉ5
eˉ10
Avg.
Trans.
Rot.
Spatial Term (Eq. 10 )
3
2.98
19.14
1.29
2.36
13.69
2.53
0.8483
0.8189
0.8777
Temporal Term (Eq. 9 )
3
Training Collapse
Dense Spatiotemporal (Eq. 6 )
3
3.84
22.26
7.52
2.58
16.25
3.05
0.8555
0.8226
0.8883
Sparse Spatiotemporal (Eq. 7 )
3
3.04
17.36
2.63
2.35
13.09
2.67
0.8542
0.8265
0.8818
Sparse Spatiotemporal (Eq. 7 )
5
3.54
22.41
3.20
2.44
13.42
2.51
0.8542
0.8224
0.8859
Table 5: Ablation study of training strategies, including supervision mode and output frames during training.
Figure 7: Qualitative results on unseen camera devices.
Input Frames
NST
DA-TPS
Face AR (%) ↓ Avg. Diff.
Body AR (%) ↓ Avg. Diff.
Stability Score ↑ Avg.
1
3.61
2.45
0.8272
1
✓
2.74
2.41
0.8426
3
3.20
2.67
0.8345
3
✓
3.30
2.63
0.8529
3
✓
3.17
2.33
0.8378
3
✓
✓
3.04
2.35
0.8542
Table 6: Ablation study on model architecture. Default grid uses 180 uniform control points when DA-TPS is disabled. Full metrics are provided in the supplementary material.
Image correction and rectangling are valuable tasks in practical photography systems such as smartphones. Recent remarkable advancements in deep learning have undeniably brought about substantial performance improvements in these fields. Nevertheless, existing methods mainly rely on task-specific architectures. This significantly restricts their generalization ability and effective application across a wide range of different tasks. In this paper, we introduce the Unified Rectification Framework (UniRect), a comprehensive approach that addresses these practical tasks from a consistent distortion rectification perspective. Our approach incorporates various task-specific inverse problems into a general distortion model by simulating different types of lenses. To handle diverse distortions, UniRect adopts one task-agnostic rectification framework with a dual-component structure: a {Deformation Module}, which utilizes a novel Residual Progressive Thin-Plate Spline (RP-TPS) model to address complex geometric deformations, and a subsequent Restoration Module, which employs Residual Mamba Blocks (RMBs) to counteract the degradation caused by the deformation process and enhance the fidelity of the output image. Moreover, a Sparse Mixture-of-Experts (SMoEs) structure is designed to circumvent heavy task competition in multi-task learning due to varying distortions. Extensive experiments demonstrate that our models have achieved state-of-the-art performance compared with other up-to-date methods.
Linwei Qiu, Gongzhe Li, Xiaozhe Zhang +2
Tianmushan Laboratory, Beihang University, Hangzhou, China · State Key Laboratory of High-Efficiency Reusable Aerospace Transportation Technology, Beijing, China · School of Astronautics, Beihang University, Beijing, China +2
Panoramic cameras provide a 360° field of view and are widely used in panoramic vision, immersive visual computing, and robotic perception. However, changes in camera orientation can produce non-upright panoramas, introducing geometric variations that can complicate downstream visual analysis. Existing vision-based rectification methods usually operate within a single projection domain, limiting their ability to jointly exploit local geometric structures and global contextual information. To address this, we formulate 360° image rectification as a projection-aware representation learning problem and propose a dual-projection framework for upright panoramic rectification. A convolutional neural network branch captures local geometric structures from equirectangular projection (ERP) inputs, while a vision transformer branch models global contextual cues from cubemap projections. Cross-projection feature transformation and multi-level feature fusion enable effective interaction between these complementary representations. The learned representation supports collaborative inclination estimation and upright panorama generation, with the two tasks providing complementary geometric and appearance supervision. Experiments on SUN360 and M3D show consistent improvements over existing methods, achieving accuracies within a 1° error threshold of 65.9% and 85.2% and Fréchet Inception Distance scores of 5.87 and 3.26, respectively. Ablation studies verify the contributions of dual-projection representation, cross-projection feature transformation and fusion, and collaborative multi-task learning. The proposed framework provides a projection-aware visual computing approach for panoramic rectification. Code, pretrained models, and training/testing scripts are available at https://github.com/YuhaoShine/DualProjectionFusion.
Yuhao Shan, Qianyi Yuan, Jingguo Liu +3
college of electronic and information engineering, Southwest University, Chongqing 400700, China
Video inverse problems are fundamental to streaming, telepresence, and AR/VR, where high perceptual quality must coexist with tight latency constraints. Diffusion-based priors currently deliver state-of-the-art reconstructions, but existing approaches either adapt image diffusion models with ad hoc temporal regularizers - leading to temporal artifacts - or rely on native video diffusion models whose iterative posterior sampling is far too slow for real-time use. We introduce InstantViR, an amortized inference framework for ultra-fast video reconstruction powered by a pre-trained video diffusion prior. We distill a powerful bidirectional video diffusion model (teacher) into a causal autoregressive student that maps a degraded video directly to its restored version in a single forward pass, inheriting the teacher's strong temporal modeling while completely removing iterative test-time optimization. The distillation is prior-driven: it only requires the teacher diffusion model and known degradation operators, and does not rely on externally paired clean/noisy video data. To further boost throughput, we replace the video-diffusion backbone VAE with a high-efficiency LeanVAE via an innovative teacher-space regularized distillation scheme, enabling low-latency latent-space processing. Across streaming random inpainting, Gaussian deblurring and super-resolution, InstantViR matches or surpasses the reconstruction quality of diffusion-based baselines while running at over 35 FPS on NVIDIA A100 GPUs, achieving up to 100 times speedups over iterative video diffusion solvers. These results show that diffusion-based video reconstruction is compatible with real-time, interactive, editable, streaming scenarios, turning high-quality video restoration into a practical component of modern vision systems.
Weimin Bai, Suzhe Xu, Yiwei Ren +4
Peking University · Huaqiao University · Kuaishou Technology