Rectification Reimagined: A Unified Mamba Model for Image Correction and Rectangling with Prompts
On the map: State-space sequence models (S4, Mamba) → Mamba for image restoration
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Mamba for image restoration, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 35 of its 58 references that are in the map. First posted on arXiv 21 Dec 2025.
Builds on
35 of 58 references.
References · 35
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,694
- 2020RAFT: Recurrent All-Pairs Field Transforms for Optical Flowcited by 2,415
- 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,358
- 2018ESRGAN: Enhanced Super-Resolution Generative Adversarial Networkscited by 1,254
- 2015FlowNet: Learning Optical Flow with Convolutional Networkscited by 1,059
- 2017PWC-Net: CNNs for Optical Flow Using Pyramid, Warping, and Cost Volumecited by 968
23 more
- 2021Multi-Stage Progressive Image Restorationcited by 816
- 2016FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networkscited by 784
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
- 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
- 2018NDDR-CNN: Layerwise Feature Fusing in Multi-Task CNNs by Neural Discriminative Dimensionality Reductioncited by 127
- 2023GPT-4V(ision) as a Generalist Evaluator for Vision-Language Taskscited by 119
- 2018ESIR: End-to-end Scene Text Recognition via Iterative Image Rectificationcited by 79
- 2019Boundless: Generative Adversarial Networks for Image Extensioncited by 62
- 2019Stochastic Filter Groups for Multi-Task CNNs: Learning Specialist and Generalist Convolution Kernelscited by 42
- 2019Blind Geometric Distortion Correction on Images Through Deep Learningcited by 28
- 2019Learning to Calibrate Straight Lines for Fisheye Image Rectificationcited by 23
- 2021Progressively Complementary Network for Fisheye Image Rectification Using Appearance Flowcited by 23
- 2022Deep Rectangling for Image Stitching: A Learning Baselinecited by 16
- 2024RecDiffusion: Rectangling for Image Stitching with Diffusion Modelscited by 14
- 2020A Deep Ordinal Distortion Estimation Approach for Distortion Rectificationcited by 13
- 2021Practical Wide-Angle Portraits Correction with Deep Structured Modelscited by 12
- 2021Semi-Supervised Wide-Angle Portraits Correction by Multi-Scale Transformercited by 10
- 2022Deep Rotation Correction without Angle Priorcited by 8
- 2023RecRecNet: Rectangling Rectified Wide-Angle Images by Thin-Plate Spline Model and DoF-based Curriculum Learningcited by 8
- 2024MOWA: Multiple-in-One Image Warping Modelcited by 8
- 2018GridFace: Face Rectification via Learning Local Homography Transformationscited by 6
- 2024Semi-Supervised Coupled Thin-Plate Spline Model for Rotation Correction and Beyondcited by 5
- 2024Modification Takes Courage: Seamless Image Stitching via Reference-Driven Inpaintingcited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024MambaIR: A Simple Baseline for Image Restoration with State-Space Model
- 2024Deformable Mamba for Wide Field of View Segmentation
- 2026Progressive Split Mamba: Effective State Space Modelling for Image Restoration
- 2025MBMamba: When Memory Buffer Meets Mamba for Structure-Aware Image Deblurring
- 2025MambaScope: Coarse-to-Fine Scoping for Efficient Vision Mamba
- 2024XYScanNet: A State Space Model for Single Image Deblurring
- 2024MambaReg: Mamba-Based Disentangled Convolutional Sparse Coding for Unsupervised Deformable Multi-Modal Image Registration
- 2025MatIR: A Hybrid Mamba-Transformer Image Restoration Model