Wide-Angle Image Distortion Correction and Embedded Stitching System Design Based on Swin Transformer
Source abstract
Abstract
Wide-angle images often suffer from severe radial distortion, compromising geometric accuracy and challenging image correction and real-time stitching, especially in resource-constrained embedded environments. To address this, this study proposes a wide-angle image correction and stitching framework based on a Swin Transformer, optimized for lightweight deployment on edge devices. The model integrates multi-scale feature extraction, Thin Plate Spline (TPS) control point prediction, and optical flow-guided constraints, balancing correction accuracy and computational efficiency. Experiments on synthetic and real-world datasets show that the method outperforms mainstream algorithms, with PSNR gains of 3.28 dB and 2.18 dB on wide-angle and fisheye images, respectively, while maintaining real-time performance. To validate practical applicability, the model is deployed on a Jetson TX2 NX device, and a real-time dual-camera stitching system is built using C++ and DeepStream. The system achieves 15 FPS at 1400 × 1400 resolution, with a correction latency of 56 ms and stitching latency of 15 ms, demonstrating efficient hardware utilization and stable performance. This study presents a deployable, scalable, and edge-compatible solution for wide-angle image correction and real-time stitching, offering practical value for applications such as smart surveillance, autonomous driving, and industrial inspection.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Image and Video Stabilization · Image Enhancement Techniques · Advanced Vision and Imaging
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Global Convergence, Kangwon National University, Chuncheon 24341, Republic of Korea
Cross-Cultural, Kookmin University, Seoul 02707, Republic of Korea
References (49)
Show source-provided references
1. Scaramuzza, D., Martinelli, A., and Siegwart, R. (2006, January 9–15). A toolbox for easily calibrating omnidirectional cameras. Proceedings of the 2006 IEEE/RSJ International Conference on Intelligent Robots and Systems, Beijing, China.10.1109/IROS.2006.282372 ↗
2. Deformable convolution based road scene semantic segmentation of fisheye images in autonomous driving10.1049/icp.2024.3270 ↗
3. Hughes, C., Glavin, M., Jones, E., and Denny, P. (2008, January 18–19). Review of geometric distortion compensation in fish-eye cameras. Proceedings of the IET Irish Signals and Systems Conference (ISSC 2008), Galway, Ireland.10.1049/cp:20080656 ↗
4. Fish-eye-stereo calibration and epipolar rectification10.1016/j.isprsjprs.2005.03.001 ↗
5. Automatic panoramic image stitching using invariant features10.1007/s11263-006-0002-3 ↗
6. Yin, X., Wang, X., Yu, J., Zhang, M., Fua, P., and Tao, D. (2018, January 8–14). Fisheyerecnet: A multi-context collaborative deep network for fisheye image rectification. Proceedings of the European conference on computer vision (ECCV), Munich, Germany.10.1007/978-3-030-01249-6_29 ↗
7. DAN: Distortion-aware Network for fisheye image rectification using graph reasoning10.1016/j.imavis.2025.105423 ↗
8. Abuolaim, A., and Brown, M.S. (2020). Defocus deblurring using dual-pixel data. Computer Vision–ECCV 2020, Proceedings of the 16th European Conference, Glasgow, UK, 23–28 August 2020, Springer. Proceedings, Part X 16.10.1007/978-3-030-58607-2_7 ↗
9. A generic camera model and calibration method for conventional, wide-angle, and fish-eye lenses10.1109/TPAMI.2006.153 ↗
10. A study on UAV target detection and 3D positioning methods based on the improved deformable DETR model and multi-view geometry10.1177/16878132251315505 ↗
11. Martínez, Á., Santo, A., Ballesta, M., Gil, A., and Payá, L. (2025). A Method for the Calibration of a LiDAR and Fisheye Camera System. Appl. Sci., 15.10.3390/app15042044 ↗
12. Amirgaliyev, B., Mussabek, M., Rakhimzhanova, T., and Zhumadillayeva, A. (2025). A Review of Machine Learning and Deep Learning Methods for Person Detection, Tracking and Identification, and Face Recognition with Applications. Sensors, 25.10.3390/s25051410 ↗
13. Vision Transformer with window sequence merging mechanism for image classification10.1016/j.asoc.2025.112811 ↗
14. Principal warps: Thin-plate splines and the decomposition of deformations10.1109/34.24792 ↗
15. Dosovitskiy, A., Fischer, P., Ilg, E., Hausser, P., Hazirbas, C., Golkov, V., Van Der Smagt, P., Cremers, D., and Brox, T. (2015, January 7–13). Flownet: Learning optical flow with convolutional networks. Proceedings of the IEEE international conference on computer vision, Santiago, Chile.10.1109/ICCV.2015.316 ↗
16. A survey on image data augmentation for deep learning10.1186/s40537-019-0197-0 ↗
17. Woo, S., Park, J., Lee, J.-Y., and Kweon, I.S. (2018, January 8–14). Cbam: Convolutional block attention module. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01234-2_1 ↗
18. Kirk, D.B., and Wen-Mei, W.H. (2016). Programming Massively Parallel Processors: A Hands-On Approach, Morgan kaufmann.
19. Pednekar, V., Shettigar, N., and Tawhare, S. (2023, January 4–5). Enhancing Security Surveillance Through Business Intelligence with NVIDIA DeepStream. Proceedings of the International Conference on Data Science and Emerging Technologies, Petaling Jaya, Malaysia.10.1007/978-981-97-0293-0_7 ↗
20. Han, S., Mao, H., and Dally, W.J. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. arXiv, 2015.
21. A system for vehicle surround view10.3182/20120905-3-HR-2030.00193 ↗
22. Deep learning application in smart cities: Recent development, taxonomy, challenges and research prospects10.1007/s00521-020-05151-8 ↗
23. Guo, P., Liu, C., Hou, X., and Qian, X. (October, January 29). QueryCDR: Query-based Controllable Distortion Rectification Network for Fisheye Images. Proceedings of the European Conference on Computer Vision, Milan, Italy.
24. Chollet, F. (2017, January 21–26). Xception: Deep learning with depthwise separable convolutions. Proceedings of the IEEE conference on computer vision and pattern recognition, Honolulu, HI, USA.10.1109/CVPR.2017.195 ↗
25. Liu, Z., Li, J., Shen, Z., Huang, G., Yan, S., and Zhang, C. (2017, January 22–29). Learning efficient convolutional networks through network slimming. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.298 ↗
26. Hinton, G., Vinyals, O., and Dean, J. Distilling the knowledge in a neural network. arXiv, 2015.
27. Spatial transformer networks
28. Shi, B., Wang, X., Lyu, P., Yao, C., and Bai, X. (July, January 26). Robust scene text recognition with automatic rectification. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.
29. Teed, Z., and Deng, J. (2020). Raft: Recurrent all-pairs field transforms for optical flow. Computer Vision–ECCV 2020, Proceedings of the 16th European Conference, Glasgow, UK, 23–28 August 2020, Springer. Proceedings, Part II 16.10.1007/978-3-030-58536-5_24 ↗
30. Lin, C.-H., Yumer, E., Wang, O., Shechtman, E., and Lucey, S. (2018, January 18–22). St-gan: Spatial transformer generative adversarial networks for image compositing. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00985 ↗
31. GridNet-3D: A Novel Real-Time 3D Object Detection Algorithm Based on Point Cloud10.1049/cje.2021.07.004 ↗
32. Rocco, I., Arandjelović, R., and Sivic, J. (2018, January 18–22). End-to-end weakly-supervised semantic alignment. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00723 ↗
33. A fisheye image correction method based on deep learning
34. Zhao, S., Dong, Y., Chang, E.I., and Xu, Y. (November, January 27). Recursive cascaded networks for unsupervised medical image registration. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
35. Ren, Z., Yan, J., Ni, B., Liu, B., Yang, X., and Zha, H. (2017, January 4–9). Unsupervised deep learning for optical flow estimation. Proceedings of the AAAI Conference on Artificial Intelligence, San Francisco, CA, USA.10.1609/aaai.v31i1.10723 ↗
36. Ranftl, R., Bochkovskiy, A., and Koltun, V. (2021, January 11–17). Vision transformers for dense prediction. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.10.1109/ICCV48922.2021.01196 ↗
37. Distinctive image features from scale-invariant keypoints10.1023/B:VISI.0000029664.99615.94 ↗
38. Random sample consensus: A paradigm for model fitting with applications to image analysis and automated cartography10.1145/358669.358692 ↗
39. Poisson image editing
40. Real-time panorama video system using networked multiple cameras10.1016/j.sysarc.2015.11.011 ↗
41. Unsupervised deep image stitching: Reconstructing stitched features to images10.1109/TIP.2021.3092828 ↗
42. Karumbunathan, L.S. (2025, March 27). Nvidia Jetson Agx Orin Series. Available online: https://www.nvidia.com/content/dam/en-zz/Solutions/gtcf21/jetson-orin/nvidia-jetson-agx-orin-technical-brief.pdf.
43. Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., and Guo, B. (2021, January 11–17). Swin transformer: Hierarchical vision transformer using shifted windows. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.10.1109/ICCV48922.2021.00986 ↗
44. Places: A 10 million image database for scene recognition10.1109/TPAMI.2017.2723009 ↗
45. Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., and Zitnick, C.L. (2014). Microsoft coco: Common objects in context. Computer Vision–ECCV 2014, Proceedings of the 13th European Conference, Zurich, Switzerland, 6–12 September 2014, Springer. Proceedings, Part v 13.10.1007/978-3-319-10602-1_48 ↗
46. Rong, J., Huang, S., Shang, Z., and Ying, X. (2016, January 20–24). Radial lens distortion correction using convolutional neural networks trained with synthesized images. Proceedings of the Asian Conference on Computer Vision, Taipei, Taiwan.10.1007/978-3-319-54187-7_3 ↗
47. DR-GAN: Automatic radial distortion rectification using conditional GAN in real-time10.1109/TCSVT.2019.2897984 ↗
48. Liao, K., Nie, L., Huang, S., Lin, C., Zhang, J., Zhao, Y., Gabbouj, M., and Tao, D. Deep learning for camera calibration and beyond: A survey. arXiv, 2023.
49. Automatic radial distortion estimation from a single image10.1007/s10851-012-0342-2 ↗