This repository contains our dataset and C++ implementation of the CVPR 2022 paper, Geometric Structure Preserving Warp for Natural Image Stitching. If you use any code or data from our work, please cite our paper.
- Paper+Supplementary
- Code
- DataSet (GES-50)
- Android Appication(Harmony)
(1). Download code and comile.
You need Opencv 4.4.0, VLFEAT, Eigen.
(2). Download dataset to "input-data" folder.
(3). Run project.
Or
(4). We provide scripts that make it easier to test data. The following are the steps:
(5). Edit "RUN_EXE.bat".
Change "file=\RUN_FILE.txt" and "\GES_Stitching.exe" to corresponding path.
(6). List dataset names you want to test in "RUN_FILE.txt".
(7). Click "RUN_EXE.bat".
Notice:
- If you make changes to the code, you can copy .exe from the "x64" to the root directory and rename it to "GES_Stitching.exe" after running project.
- If the .exe output errors, try to run the project to get a new .exe.
You can find results in folder "input-data".
There are 50 diversified and challenging dataset (26 from [1–7] and 24 collected by ourselves). The numbers of images range from 2 to 35.
(1). Copy dataset to folder "input-data" in project.
(2). Make sure the file "xxx-STITCH-GRAPH.txt" in each dataset correspond to the name of this dataset.
(3). You can change the relation between the images by modifying the file "xxx-STITCH-GRAPH.txt".
Based on the C++ implementation of the CVPR 2022 paper, Geometric Structure Preserving Warp for Natural Image Stitching, we have developed an Android(Harmony) application.
With our Android(Harmony) application, you can easily perform image stitching and obtain large-scale images in various fields such as cultural tourism, smart agriculture, and security monitoring. You can effortlessly complete the stitching process with astonishing speed while ensuring high-quality results
We feel sorry, but currently this application only supports Chinese. However, you can follow our instructions to use it.
(1). Download and install the package on an Android(Harmony) phone.
(2). Apply for a trial account and log in.
(3). Select to import from the gallery or capture images for stitching.
(4). Select 'Speed Priority'(Left) or 'Quality Priority'(Right) and then click on the top-right corner to start the stitching process.
(5). After obtaining the stitching result, you can choose to perform operations such as cropping, saving, sharing, and more.
Welcome to download the Android application. If you need a trial account, please contact us via email(lin9@nwafu.edu.cn)
Feel free to contact me if there is any question (peng-du@nwafu.edu.cn).
- Che-Han Chang, Yoichi Sato, and Yung-Yu Chuang. Shapepreserving half-projective warps for image stitching. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3254–3261, 2014.
- Yu-Sheng Chen and Yung-Yu Chuang. Natural image stitching with the global similarity prior. In European conference on computer vision, pages 186–201. Springer, 2016.
- Junhong Gao, Seon Joo Kim, and Michael S Brown. Constructing image panoramas using dual-homography warping. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 49–56. IEEE, 2011.
- Qi Jia, ZhengJun Li, Xin Fan, Haotian Zhao, Shiyu Teng,Xinchen Ye, and Longin Jan Latecki. Leveraging line-point consistence to preserve structures for wide parallax image stitching. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 12186–12195,2021.
- Chung-Ching Lin, Sharathchandra U Pankanti, Karthikeyan Natesan Ramamurthy, and Aleksandr Y Aravkin. Adaptive as-natural-as-possible image stitching. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1155–1163, 2015.
- Yoshikuni Nomura, Li Zhang, and Shree K Nayar. Scene collages and flexible camera arrays. In Proceedings of the 18th Eurographics conference on Rendering Techniques, pages 127–138, 2007.
- Julio Zaragoza, Tat-Jun Chin, Michael S Brown, and David Suter. As-projective-as-possible image stitching with moving dlt. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2339–2346, 2013.
- Matthew Brown and David G Lowe. Automatic panoramic image stitching using invariant features. International journal of computer vision, 74(1):59–73, 2007.
- Jing Li, Zhengming Wang, Shiming Lai, Yongping Zhai, and Maojun Zhang. Parallax-tolerant image stitching based on robust elastic warping. IEEE Transactions on multimedia, 20(7):1672–1687, 2017.
- Tianli Liao and Nan Li. Single-perspective warps in natural image stitching. IEEE Transactions on Image Processing, 29:724–735, 2019.