This repository is used for batch generation of panoramic images using Hugin. The advantage is that it directly utilizes the built-in features of the software, without requiring in-depth understanding of the underlying principles, providing a user-friendly panoramic stitching experience.
Input dual-fisheye images:
FrontFisheye | BackFisheye |
---|---|
![]() |
![]() |
For the above input dual-fisheye images, import all images into the Hugin stitching software, select matching control points, make necessary parameter adjustments, and output the configuration file back00538_front00538.pto
. Then, you can use the script panoStitchingUsingTemplate.py
to produce the following panoramic image.
- Open the Hugin desktop software (available for Windows, Linux, and Mac) to automatically detect and select control points for dual fisheye images, aligning them (i.e., optimizing the stitching within the software). Use the built-in OpenGL to preview the panoramic effect;
- Save the project as
*.pto
to your current working directory; - For example,on linux platform, mainly using the
nona
command for image mapX, mapY mapping, and theenblend
command for blending stitching; - Call
panoStitchingUsingTemplate.py
orpanoStitchingUsingTemplate.sh
to execute the batch panorama stitching.
For post-processing of panoramas, you can refer to panorama360Studio or use it for other purposes.
- panorama360Studio
- Hugin - Creating360° enfused panoramas
- Hugin Help (offline software help documentation) → Tips and Tricks/scripting
- https://medium.com/stereopi/stitching-360-panorama-with-raspberry-pi-cm3-stereopi-and-two-fisheye-cameras-step-by-step-guide-aeca3ff35871
- How to install Hugin on Ubuntu22.04 (Jammy Jellyfish)