Lune

ICCV2023Top-tier venue

DarSwin: Distortion Aware Radial Swin Transformer

Akshaya Athwale, Arman Afrasiyabi, Justin Lagüe, Ichrak Shili, Ola Ahmad, Jean-François Lalonde

Abstract

Wide-angle lenses are commonly used in perception tasks requiring a large field of view. Unfortunately, these lenses produce significant distortions making conventional models that ignore the distortion effects unable to adapt to wide-angle images. In this paper, we present a novel transformer-based model that automatically adapts to the distortion produced by wide-angle lenses. We leverage the physical characteristics of such lenses, which are analytically defined by the radial distortion profile (assumed to be known), to develop a distortion aware radial swin transformer (DarSwin). In contrast to conventional transformer-based architectures, DarSwin comprises a radial patch partitioning, a distortion-based sampling technique for creating token embeddings, and an angular position encoding for radial patch merging. We validate our method on classification tasks using synthetically distorted ImageNet data and show through extensive experiments that DarSwin can perform zero-shot adaptation to unseen distortions of different wide-angle lenses. Compared to other baselines, DarSwin achieves the best results (in terms of Top-1 accuracy) with significant gains when trained on bounded levels of distortions (very-low, low, medium, and high) and tested on all including out-of-distribution distortions. The code and models are publicly available at https://lvsn.github.io/darswin/

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Bending Reality: Distortion-aware Transformers for Adapting to Panoramic Semantic Segmentation cites WoodScape: A Multi-Task, Multi-Camera Fisheye Dataset for Autonomous Driving
  • Bending Reality: Distortion-aware Transformers for Adapting to Panoramic Semantic Segmentation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Bending Reality: Distortion-aware Transformers for Adapting to Panoramic Semantic Segmentation cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • A Polarization-Aided Transformer for Image Deblurring via Motion Vector Decomposition cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Vision Transformer with Deformable Attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Vision Transformer with Deformable Attention cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. A Polarization-Aided Transformer for Image Deblurring via Motion Vector DecompositionDuosheng Chen, Shihao Zhou, Jinshan Pan, Jinglei Shi et al.CVPR 2025

Builds on7

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Vision Transformer with Deformable AttentionZhuofan Xia, Xuran Pan, Shiji Song, Li Erran Li et al.CVPR 2022 · 835 citations
  4. WoodScape: A Multi-Task, Multi-Camera Fisheye Dataset for Autonomous DrivingSenthil Kumar Yogamani, Christian Witt, Hazem Rashed, Sanjaya Nayak et al.ICCV 2019 · 325 citations
  5. Bending Reality: Distortion-aware Transformers for Adapting to Panoramic Semantic SegmentationJiaming Zhang, Kailun Yang, Chaoxiang Ma, Simon Reiß et al.CVPR 2022 · 100 citations

Related papers

  1. RDCFace: Radial Distortion Correction for Face RecognitionHe Zhao, Xianghua Ying, Yongjie Shi, Xin Tong et al.CVPR 2020
  2. HEAL-SWIN: A Vision Transformer on the SphereOscar Carlsson, Jan E. Gerken, Hampus Linander, Heiner Spieß et al.CVPR 2024
  3. Semi-Supervised Wide-Angle Portraits Correction by Multi-Scale TransformerFushun Zhu, Shan Zhao, Peng Wang, Hao Wang et al.CVPR 2022 · 23 citations
  4. DaDA: Distortion-aware Domain Adaptation for Unsupervised Semantic SegmentationSujin Jang, Joohan Na, Dokwan OhNeurIPS 2022 · 13 citations
  5. Towards Complete Scene and Regular Shape for Distortion Rectification by Curve-Aware ExtrapolationKang Liao, Chunyu Lin, Yunchao Wei, Feng Li et al.ICCV 2021 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines