Rectification Reimagined: A Unified Mamba Model for Image Correction and Rectangling with Prompts
Linwei Qiu, Gongzhe Li, Xiaozhe Zhang, Qi Sun, Fengying Xie
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on11
- VMamba: Visual State Space ModelYue Liu, Yunjie Tian, Yuzhong Zhao, Hongtian Yu et al.NeurIPS 2024 · 3,199 citations
- Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space ModelLianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang et al.ICML 2024 · 1,725 citations
- Boundless: Generative Adversarial Networks for Image ExtensionDilip Krishnan, Piotr Teterwak, Aaron Sarna, Aaron Maschinot et al.ICCV 2019 · 129 citations
- Stochastic Filter Groups for Multi-Task CNNs: Learning Specialist and Generalist Convolution KernelsFelix J. S. Bragman, Ryutaro Tanno, Sébastien Ourselin, Daniel C. Alexander et al.ICCV 2019 · 97 citations
- Deep Rectangling for Image Stitching: A Learning BaselineLang Nie, Chunyu Lin, Kang Liao, Shuaicheng Liu et al.CVPR 2022 · 68 citations
Related papers
- Multi-Level Curriculum for Training A Distortion-Aware Barrel Distortion Rectification ModelKang Liao, Chunyu Lin, Lixin Liao, Yao Zhao et al.ICCV 2021 · 13 citations
- RecRecNet: Rectangling Rectified Wide-Angle Images by Thin-Plate Spline Model and DoF-based Curriculum LearningKang Liao, Lang Nie, Chunyu Lin, Zishuo Zheng et al.ICCV 2023 · 19 citations
- Self-Calibrating Gaussian Splatting for Large Field-of-View ReconstructionYouming Deng, Wenqi Xian, Guandao Yang, Leonidas J. Guibas et al.ICCV 2025 · 1 citation
- Lifting the Structural Morphing for Wide-Angle Images Rectification: Unified Content and Boundary ModelingWenting Luan, Siqi Lu, Yongbin Zheng, Wanying Xu et al.ICCV 2025 · 1 citation
- Distilling Quasi-Conformal Mapping: A Generalizable and Efficient Solution for Wide-Angle CorrectionChengyang Liu, Zixuan Lin, Miaolin Han, Michael K. Ng et al.CVPR 2026
