Seamlessly Natural: Image Stitching with Natural Appearance Preservation
Abstract
1. Introduction
2. Related Work
- Geometric Distortion from Global Warps: The dominant homography model [17,18,19] is frequently used because its eight degrees of freedom allow it to model full perspective effects. However, when applied to real-world scenes with parallax and depth variation, the homography is forced to reconcile conflicting motions, which often results in non-uniform distortions like spindle-shaped warps, unnatural stretching, or spherical bulging. Advanced hybrid warps, such as “as-projective-as-possible” (APAP) [20] and elastic warping [21], improve flexibility but risk overfitting or over-flexibility, which can produce local stretching artifacts.
- Reliance on Complex Preprocessing: Many seamline optimization methods [13,14,15] formulate a cost function over the overlapping region and search for a seam that minimizes this cost, ideally passing through visually consistent areas. However, these approaches often depend on complex preprocessing steps, such as semantic segmentation or depth estimation, to guide the cost map, increasing computational cost and sensitivity to errors and inaccuracies.
- Structural Assumptions and Computational Overhead:
- −
- Plane or multi-homography models [9,18] attempt to reduce single homography distortion by fitting local projective models per plane or blending dual homographies. These methods, however, rely on strong assumptions about scene structure (e.g., two planes or projective-consistent regions) and can become brittle in complex or irregular depth geometries.
- −
- Structure-preserving warps successfully reduce distortions and preserve salient structures by incorporating complex optimization frameworks and constraints (e.g., collinearity constraints). These methods, however, are often computationally demanding and remain sensitive to poor feature distribution.
- −
- Learning-based approaches use deep learning for tasks like transformer-based warping and optical flow with inpainting [10,11,22,23]. While they generalize well and show strong performance, they demand heavy training requirements, reliance on large datasets, and risk hallucinating content or propagating errors, reducing interpretability compared to geometric models.
3. Seamless and Structurally Consistent Image Stitching
3.1. The Three-Stage Framework
- Local Image Warping: We deliberately move beyond global homographies and spline-based deformations. The source image is coarsely aligned using a global affine transformation (estimated via RANSAC). This is followed by a refinement stage where the overlap is subdivided into local grids, and distinct affine models are fitted to local feature correspondences. This process generates a smooth free-form deformation (FFD) field, which is blended and adaptively smoothed using a seamguard strategy that utilizes a ramp mask and match density weighting to prevent discontinuities at boundaries. This preserves overall structural fidelity while reducing geometric distortion.
- Adequate Parallax-Minimized Zone Identification: In contrast to seam selection methods relying on semantic segmentation, we introduce a model-free strategy. This method analyzes disparity variations and geometric consistency among matched features to isolate a stable stitching zone that inherently minimizes parallax artifacts.
- Image Partitioning and Reconstruction: Within the identified stable zone, an ordered chain of refined keypoints defines the optimal stitching line. Both images are then partitioned into corresponding vertical slices anchored by these keypoints. This anchor-based segmentation enforces structural consistency between the two images by construction: every vertical slice in one image has a direct, aligned counterpart in the other. By tying the seamline to these geometric anchors, our method eliminates the duplication, ghosting, and misalignment issues often associated with blending.
3.2. Locally Adaptive Image Warping
- Step 1: Global Affine Estimation via RANSAC
- Step 2: Overlap Region and Local Grid Cell Generation
- A binary mask , derived from the intersection of the grid cell with .
- A centroid , calculated using image moments.
- A bounding box (), utilized for subsequent spatial weighting and diagnostics.
- Step 3: Local Affine Refinement with Adaptive Transformation Selection and Confidence Scoring
3.2.1. Spatial Confidence Metric
3.2.2. Adaptive Transformation Selection via Composite Diagnostic Score
- Step 4: Free-Form Deformation Field via Confidence-Weighted Local Transformation Blending
3.2.3. Confidence-Weighted Spatial Blending
- Step 5: Seam Guarding via Dual-Channel Gating
- Geometric Ramp (): A smootherstep function applied to the signed distance field of the overlap region, with bandwidth proportional to the image diagonal ().
- Match Density Map (): A Gaussian-blurred heatmap of inlier keypoint locations, normalized to , with kernel standard deviation .
3.2.4. Dual-Gated Seam Suppression
- Step 6: Final Warping and Output
3.3. Optimal Stitching Line
- Determination of an Adequate Parallax-Free Zone
- First, , reflecting the relative frontal position of the camera of the source image.
- , accounting for cases in which one camera is physically positioned above the other.
- Standard Deviation (): This measures the internal coherence of the cluster. A smaller standard deviation indicates that the individual class mean disparities are tightly grouped around the cluster mean, suggesting a more consistent depth plane.
- Cardinality (): This is the total number of keypoints contained within all classes of the cluster. High cardinality indicates that the cluster is supported by a large amount of data, which directly increases the reliability and robustness of its mean disparity calculation.
- Disparity Deviation (): This is defined as the absolute difference between the mean disparity of the cluster () and the global mean disparity of all classes ().
| Algorithm 1: Threshold-Based Disparity Clustering |
| Require: D: A list of mean disparities , where corresponds to the mean disparity of class i. |
| Require: v: A positive, user-threshold value for disparity difference. |
| Ensure: C: A set of clusters, where each cluster is a list of consecutive classes from D. |
|
- : standard deviation of the disparities within the cluster;
- C: cardinality (number of keypoints in the cluster);
- : weighting factor controlling the influence of the disparity deviation;
- : absolute difference between the mean disparity of the cluster and the global mean disparity ;
- : a small constant added to avoid division by zero.
Keypoint Chain Refinement
3.4. Partitioning and Reconstruction
3.4.1. Image Partitioning
- Valid Segments (Consistent Direction):
- Invalid Segments (Inconsistent Direction): If the direction is inconsistent between the two images (e.g., and or vice versa), the segments are rejected as they are not complementary (see Figure 5). This prevents structural inconsistencies from being introduced during the final reconstruction.
3.4.2. Reconstruction
4. Experimentation and Results
4.1. Dataset and Implementation Details
4.2. Quantitative Evaluation
4.2.1. Image Quality Accessment
PSNR and SSIM
BRISQUE
4.2.2. Runtime Execution
4.3. Qualitative Evaluation
4.4. Ablation Studies
4.4.1. Component Analysis
4.4.2. Parameter Sensitivity Analysis
4.5. Limitations
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Nghonda, E. Enable 360-Degree Immersion for Outside-In Camera Systems for Live Events. Ph.D. Thesis, University of Florida, Gainesville, FL, USA, 2023. [Google Scholar]
- Bay, H.; Tuytelaars, T.; Van Gool, L. SURF: Speeded up robust features. In Computer Vision–ECCV 2006; Springer: Graz, Austria, 2006; pp. 404–417. [Google Scholar]
- Lowe, D.G. Distinctive image features from scale-invariant keypoints. Int. J. Comput. Vis. 2004, 60, 91–110. [Google Scholar] [CrossRef] [Scilit]
- Juan, L.; Gwun, O. A comparison of SIFT, PCA-SIFT and SURF. Int. J. Image Process. 2009, 3, 143–152. [Google Scholar]
- Sikka, P.; Asati, A.R.; Shekhar, C. Real time FPGA implementation of a high speed and area optimized Harris corner detection algorithm. Microprocess. Microsyst. 2021, 80, 103514. [Google Scholar] [CrossRef] [Scilit]
- Ji, X.; Yang, H.; Han, C. Research on image stitching method based on improved ORB and stitching line calculation. J. Electron. Imaging 2022, 31, 051404. [Google Scholar] [CrossRef] [Scilit]
- Liu, W.; Zhang, K.; Zhang, Y.; He, J.; Sun, B. Utilization of merge-sorting method to improve stitching efficiency in multi-scene image stitching. Appl. Sci. 2023, 13, 2791. [Google Scholar] [CrossRef] [Scilit]
- Potje, G.; Cadar, F.; Araujo, A.; Martins, R.; Nascimento, E.R. XFeat: Accelerated features for lightweight image matching. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 16–22 June 2024; pp. 2682–2691. [Google Scholar]
- Wen, S.; Wang, X.; Zhang, W.; Wang, G.; Huang, M.; Yu, B. Structure preservation and seam optimization for parallax-tolerant image stitching. IEEE Access 2022, 10, 78713–78725. [Google Scholar] [CrossRef] [Scilit]
- Nie, L.; Lin, C.; Liao, K.; Liu, S.; Zhao, Y. Parallax-tolerant unsupervised deep image stitching. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France, 4–6 October 2023; pp. 7399–7408. [Google Scholar]
- Chen, K.; Garg, A.; Wang, Y.-S. Seamless-through-breaking: Rethinking image stitching for optimal alignment. In Proceedings of the Asian Conference on Computer Vision (ACCV), Hanoi, Vietnam, 8–12 December 2024; pp. 4352–4367. [Google Scholar]
- Li, X.; He, L.; He, X. Combined regional homography-affine warp for image stitching. In Proceedings of the International Conference on Graphics and Image Processing (ICGIP), Nanjing, China, 21–23 October 2022; SPIE: Philadelphia, PA, USA, 2022; Volume 12705, pp. 258–264. [Google Scholar]
- Huang, H.; Chen, F.; Cheng, H.; Li, L.; Wang, M. Semantic segmentation guided feature point classification and seam fusion for image stitching. J. Algorithms Comput. Technol. 2021, 15, 17483026211065399. [Google Scholar] [CrossRef] [Scilit]
- Qin, Y.; Li, J.; Jiang, P.; Jiang, F. Image stitching by feature positioning and seam elimination. Multimed. Tools Appl. 2021, 80, 20869–20881. [Google Scholar] [CrossRef] [Scilit]
- Chai, X.; Chen, J.; Mao, Z.; Zhu, Q. An upscaling–downscaling optimal seamline detection algorithm for very large remote sensing image mosaicking. Remote Sens. 2022, 15, 89. [Google Scholar] [CrossRef] [Scilit]
- Garg, A.; Dung, L.-R. Stitching strip determination for optimal seamline search. In Proceedings of the International Conference on Imaging, Signal Processing and Communications (ICISPC), Virtual, 23–25 October 2020; pp. 29–33. [Google Scholar]
- Yadav, S.; Choudhary, P.; Goel, S.; Parameswaran, S.; Bajpai, P.; Kim, J. Selfie Stitch: Dual homography based image stitching for wide-angle selfie. In Proceedings of the IEEE International Conference on Multimedia & Expo Workshops (ICMEW), San Diego, CA, USA, 23–27 July 2018; pp. 1–4. [Google Scholar]
- Jia, Q.; Li, Z.; Fan, X.; Zhao, H.; Teng, S.; Ye, X.; Latecki, L.J. Leveraging line-point consistence to preserve structures for wide parallax image stitching. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 20–25 June 2021; pp. 12186–12195. [Google Scholar]
- Zheng, J.; Wang, Y.; Wang, H.; Li, B.; Hu, H.-M. A novel projective-consistent plane based image stitching method. IEEE Trans. Multimed. 2019, 21, 2561–2575. [Google Scholar] [CrossRef] [Scilit]
- Zaragoza, J.; Chin, T.-J.; Brown, M.S.; Suter, D. As-projective-as-possible image stitching with moving DLT. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Portland, OR, USA, 23–28 June 2013; pp. 2339–2346. [Google Scholar]
- Li, J.; Wang, Z.; Lai, S.; Zhai, Y.; Zhang, M. Parallax-tolerant image stitching based on robust elastic warping. IEEE Trans. Multimed. 2017, 20, 1672–1687. [Google Scholar] [CrossRef] [Scilit]
- Nie, L.; Lin, C.; Liao, K.; Liu, S.; Zhao, Y. Unsupervised deep image stitching: Reconstructing stitched features to images. IEEE Trans. Image Process. 2021, 30, 6184–6197. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cai, W.; Yang, W. Object-level geometric structure preserving for natural image stitching. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), Philadelphia, PA, USA, 25 February–4 March 2025; Volume 39, pp. 1926–1934. [Google Scholar]
- Du, P.; Ning, J.; Cui, J.; Huang, S.; Wang, X.; Wang, J. Geometric structure preserving warp for natural image stitching. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 3688–3696. [Google Scholar]
- Herrmann, C.; Wang, C.; Bowen, R.S.; Keyder, E.; Zabih, R. Object-centered image stitching. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 821–835. [Google Scholar]
- Chen, Y.-S.; Chuang, Y.-Y. Natural image stitching with the global similarity prior. Eur. Conf. Comput. Vis. 2016, 9909, 186–201. [Google Scholar]
- Fischler, M.A.; Bolles, R.C. Random sample consensus: A paradigm for model fitting with applications to image analysis and automated cartography. Commun. ACM 1981, 24, 381–395. [Google Scholar] [CrossRef] [Scilit]
- Liao, T.; Li, N. Single-perspective warps in natural image stitching. IEEE Trans. Image Process. 2019, 29, 724–735. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Nie, L.; Lin, C.; Liao, K.; Liu, M.; Zhao, Y. A view-free image stitching network based on global homography. J. Vis. Commun. Image Represent. 2020, 73, 102950. [Google Scholar] [CrossRef] [Scilit]
- Nie, L.; Lin, C.; Liao, K.; Zhao, Y. Learning edge-preserved image stitching from multi-scale deep homography. Neurocomputing 2022, 491, 533–543. [Google Scholar] [CrossRef] [Scilit]
- Feng, C.-B.; Zhang, J.; Li, J.; Zhou, Y. Seam mask guided partial reconstruction with quantum-inspired local aggregation for deep image stitching. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Seoul, Republic of Korea, 14–19 April 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 2430–2434. [Google Scholar]
- Jia, Q.; Feng, X.; Liu, Y.; Fan, X.; Latecki, L.J. Learning pixel-wise alignment for unsupervised image stitching. In Proceedings of the ACM International Conference on Multimedia, Ottawa, ON, Canada, 29 October–3 November 2023; pp. 1392–1400. [Google Scholar]






















| Method | PSNR | SSIM | ||||||
|---|---|---|---|---|---|---|---|---|
| Easy | Mod | Hard | Avg | Easy | Mod | Hard | Avg | |
| 15.87 | 12.76 | 10.68 | 12.86 | 0.530 | 0.286 | 0.146 | 0.303 | |
| SIFT+RANSAC [27] | 28.75 | 24.08 | 18.55 | 23.27 | 0.916 | 0.833 | 0.636 | 0.779 |
| APAP [20] | 27.96 | 24.39 | 20.21 | 23.79 | 0.901 | 0.837 | 0.682 | 0.794 |
| ELA [21] | 29.36 | 25.10 | 19.19 | 24.01 | 0.917 | 0.855 | 0.691 | 0.808 |
| SPW [28] | 26.98 | 22.67 | 16.77 | 21.60 | 0.880 | 0.758 | 0.490 | 0.687 |
| LPC [18] | 26.94 | 22.63 | 19.31 | 22.59 | 0.878 | 0.764 | 0.610 | 0.736 |
| UDIS [22] | 25.16 | 20.96 | 18.36 | 21.17 | 0.834 | 0.669 | 0.495 | 0.648 |
| UDIS++ [10] | 30.19 | 25.84 | 21.57 | 25.43 | 0.933 | 0.875 | 0.739 | 0.838 |
| OURS | 24.92 | 26.00 | 27.89 | 26.27 | 0.823 | 0.839 | 0.882 | 0.848 |
| Method | SIFT | APAP [20] | ELA [21] | VFISNet [29] | EPIS [30] | UDIS [22] | SMSR [31] | Ours |
|---|---|---|---|---|---|---|---|---|
| BRI ↓ | 36.387 | F | F | 48.275 | 55.846 | 40.155 | 35.350 | 33.433 |
| Method | 1000 × 750 | 975 × 583 | 640 × 480 | 600 × 400 |
|---|---|---|---|---|
| APAP [20] | 19.417 | 6.408 | 20.291 | 5.534 |
| SPW [28] | 4.479 | 11.813 | 6.228 | 2.773 |
| ELA [21] | 4.067 | 3.192 | 1.938 | 2.106 |
| LPC [18] | 3.230 | 47.265 | 12.748 | 8.397 |
| UDIS [22] | 4.035 | 3.992 | 3.671 | 3.642 |
| LPWA [32] | 2.689 | 2.653 | 1.370 | 1.168 |
| Ours | 1.969 | 1.787 | 1.287 | 0.811 |
| Image | Resolution | Runtime (s) |
|---|---|---|
| APAP-garden | 2000 × 1329 | 7.099 |
| REW_cabin | 1080 × 960 | 3.336 |
| dgpark | 1200 × 675 | 2.516 |
| a-zzy-line | 1000 × 750 | 2.515 |
| fcase_foundation | 1000 × 666 | 2.079 |
| Grid | Lattice | PSNR | SSIM | Time (s) |
|---|---|---|---|---|
| 1 × 1 | 64 × 64 | 24.416 | 0.8501 | 0.8913 |
| 2 × 2 | 64 × 64 | 24.416 | 0.8501 | 0.9477 |
| 3 × 3 | 64 × 64 | 24.023 | 0.8380 | 0.9546 |
| 2 × 2 | 32 × 32 | 24.416 | 0.8501 | 1.0211 |
| 2 × 2 | 96 × 96 | 24.416 | 0.8501 | 0.9331 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Tchana, G.L.N.; Fotso, D.B.M.; Hendricks, A.; Bobda, C. Seamlessly Natural: Image Stitching with Natural Appearance Preservation. Technologies 2026, 14, 186. https://doi.org/10.3390/technologies14030186
Tchana GLN, Fotso DBM, Hendricks A, Bobda C. Seamlessly Natural: Image Stitching with Natural Appearance Preservation. Technologies. 2026; 14(3):186. https://doi.org/10.3390/technologies14030186
Chicago/Turabian StyleTchana, Gaetane Lorna N., Damaris Belle M. Fotso, Antonio Hendricks, and Christophe Bobda. 2026. "Seamlessly Natural: Image Stitching with Natural Appearance Preservation" Technologies 14, no. 3: 186. https://doi.org/10.3390/technologies14030186
APA StyleTchana, G. L. N., Fotso, D. B. M., Hendricks, A., & Bobda, C. (2026). Seamlessly Natural: Image Stitching with Natural Appearance Preservation. Technologies, 14(3), 186. https://doi.org/10.3390/technologies14030186

