Abstract
Image stitching aims to stitch multiple images with overlapping areas into a high-resolution image with natural appearance, no ghosting and no seam, so as to obtain a wide field of vision. And the stitching is required to be as fast as possible. In this article, we discuss the loss of foreground object caused by the seam-cut method for image stitching. Moreover, we propose an improved seam-cut method based on superpixel to solve this problem. The proposed method uses the matching information of feature points and superpixel segmentation to divide the scene into foreground and background. By adjusting the penalty value of foreground superpixels in the superpixel-based seam-cut method, the foreground object can avoid the cutting of optimal seam. The experimental results demonstrate that our method will not cause the ghosting of foreground object or the loss of foreground object in the stitching result in the scene with large parallax. In this method, the foreground object will be preserved completely.
Similar content being viewed by others
References
Brown, M., Lowe, D.G.: Automatic panoramic image stitching using invariant features. Int. J. Comput. Vis. 74(1), 59–73 (2007)
Chang, C.H, Sato, Y., Chuang, Y.Y.: Shape-preserving half-projective warps for image stitching. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3254–3261
Chen, Y.S., Chuang, Y.Y.: Natural image stitching with the global similarity prior. In: European conference on computer vision, pp. 186–201. Springer, (2016)
Dai, Q., Fang, F., Li, J., Zhang, G., Zhou, A.: Edge-guided composition network for image stitching. Pattern Recogn. 118(9), 108019 (2021)
DeTone, D., Malisiewicz, T., Rabinovich, A.: Deep image homography estimation, arXiv preprint arXiv:1606.03798, (2016)
Gao, J., Kim, S.J., Brown, M.S: Constructing image panoramas using dual-homography warping. In: CVPR 2011, pp. 49–56. IEEE, (2011)
Gao, J., Li, Y., Chin, T-J., Brown, M.S.: Seam-driven image stitching. In: Eurographics (Short Papers), pp. 45–48, (2013)
Hoang, V.D., Tran, D,P., Nhu N.G., Pham, V.H.: Deep feature extraction for panoramic image stitching. Springer, cham (2020)
Kwatra, V., Schödl, A., Essa, I., Turk, G., Bobick, A.: Graphcut textures: image and video synthesis using graph cuts. ACM Trans. Gr.(tog) 22(3), 277–286 (2003)
Le, H., Liu, F., Zhang, S., Agarwala, A.: Deep homography estimation for dynamic scenes. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7652–7661, (2020)
Li, J., Wang, Z., Lai, S., Zhai, Y., Zhang, M.: Parallax-tolerant image stitching based on robust elastic warping. IEEE Trans. Multimed. 20(7), 1672–1687 (2017)
Li, N., Liao, T., Wang, C.: Perception-based seam cutting for image stitching. SIViP 12(5), 967–974 (2018)
Lin, C-C., Pankanti, S.U., Ramamurthy, K.N., Aravkin, A.Y.: Adaptive as-natural-as-possible image stitching. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1155–1163, (2015)
Lin, K., Jiang, N., Cheong, L-F., Do, M., Lu, J.: Seagull: Seam-guided local alignment for parallax-tolerant image stitching. In European conference on computer vision, pp. 370–385. Springer, Cham (2016)
Lin, W.Y., Liu, S., Matsushita, Y., Ng, T.T., Cheong, L.F.: Smoothly varying affine stitching. In: CVPR 2011, pp. 345–352. IEEE, (2011)
Lowe, D.G.: Distinctive image features from scale-invariant keypoints. Int. J. Comput. Vis. 60(2), 91–110 (2004)
Nguyen, T., Chen, S.W., Shivakumar, S.S., Taylor, C.J., Kumar, V.: Unsupervised deep homography: a fast and robust homography estimation model. IEEE Robot. Autom. Lett 3(3), 2346–2353 (2018)
Nie, L., Lin, C., Liao, K., Liu, S., Zhao, Y.: Unsupervised deep image stitching: reconstructing stitched features to images. IEEE Trans. Image Process. 30, 6184–6197 (2021)
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. 73, 102950 (2020)
Su, J., Cheng, H., Yang, L., Luo, A.: Robust spatial–temporal Bayesian view synthesis for video stitching with occlusion handling. Mach. Vis. Appl. 29(11), 1–14 (2017)
Wang, Z., Bovik, A.C., Sheikh, H.R., Simoncelli, E.P.: Image quality assessment: from error visibility to structural similarity. IEEE Trans. Image Process. 13(4), 600–612 (2004)
Zagrouba, E., Barhoumi, W., Amri, S.: An efficient image-mosaicing method based on multifeature matching. Mach. Vis. Appl. 20(3), 139–162 (2009)
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, pp. 2339–2346, (2013)
Zeng, L., Zhang, S., Zhang, J., Zhang, Y.: Dynamic image mosaic via sift and dynamic programming. Mach. Vis. Appl. 25(5), 1271–1282 (2014)
Zhang, F., Liu, F.: Parallax-tolerant image stitching. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3262–3269, (2014)
Zhang, H., Zhao, M.: Panoramic image stitching using double encoder-decoders. SN Comput. Sci. 2(2), 1–12 (2021)
Zhang, J., Wang, C., Liu, S., Jia, L., Ye, N., Wang, J., Zhou, J., Sun, J.: Content-aware unsupervised deep homography estimation. In: European Conference on Computer Vision, pp. 653–669. Springer, (2020)
Zhao, Q., Ma, Y., Zhu, C., Yao, C., Dai, F.: Image stitching via deep homography estimation. Neurocomputing 25(450), 219–229 (2021)
Acknowledgements
This work was supported by the National Key Research and Development Program of China [grant number 2016YFC0803000] and the National Natural Science Foundation of China [grant number 41371342].
Funding
This work was supported by the National Key Research and Development Program of China [grant number 2016YFC0803000] and the National Natural Science Foundation of China [grant number 41371342].
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors have no relevant financial or non-financial interests to disclose.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Miao, X., Qu, T., Chen, X. et al. Superpixel-based foreground-preserving image stitching. Machine Vision and Applications 34, 17 (2023). https://doi.org/10.1007/s00138-022-01363-1
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00138-022-01363-1