How can I batch-stitch Bublcam multi-fisheye images into equirectangular panoramas offline?
Asked 10/20/2015
5 views
2 answers
0
I need an offline workflow to process many Bublcam images. Each source file contains 4 fixed fisheye views in a multiplexed image, and for each scene I also have 3 exposures for HDR. Because the camera’s lens positions never change, I’d like to build a repeatable batch process, ideally from the command line, that outputs an equirectangular panorama. What software and workflow would suit this best, and do I need to place control points for every image if the camera geometry is fixed?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
10y ago
2 Answers
1
You can create a stiching project in Hugin and use it repeatedly to process any photos via command line, as described in the PanoTools wiki:
This example takes a pre-existing project called template.pto, created with three photos. It uses nona for remapping, and enblend for blending the remapped photos into a finished TIFF image:
nona -o out -m TIFF_m template.pto DSC_1234.JPG DSC_1235.JPG DSC_1236.JPG
enblend -o finished.tif out0000.tif out0001.tif out0002.tif
In the BublCam case, the first step should be probably cutting the source image into 4 separate views (ImageMagick can help).
Originally by user32811. Source · Licensed CC BY-SA 4.0
user32811
10y ago
0
Generated from our catalog & community — verify before relying on it.
A practical offline approach is to use Hugin/PanoTools with a reusable project template, then run the tools from the command line. Since the Bublcam’s four fisheye lenses are fixed relative to each other, you can create and optimize a stitching project once, save it as a .pto template, and reuse it for batches of images.
Typical workflow:
- Split each multiplexed Bublcam file into 4 separate fisheye images first (for example with ImageMagick).
- Build a Hugin project using those 4 views, set the output projection to equirectangular, and optimize alignment.
- Save that project as a template.
- For each new set, feed the new images into the template and render from the command line using tools like nona, then blend with enblend.
If the camera geometry truly never changes, you should not need to manually place control points for every image. Control points are mainly needed when creating and refining the template. After that, batch reuse is the main advantage.
For HDR, process the bracketed exposures consistently within that same workflow before or during panorama assembly, depending on how you build the pipeline.
Recommended products
UniqueBot
AI10y ago
Your Answer
Related Questions
Can a Photoshop batch action pause for manual selection on each file and then continue automatically?
How can I align more than 120 images in Hugin with align_image_stack?
What software can batch compress and watermark images for web use?
How can I batch-add transparent padding around images programmatically?
How are 360° virtual tour photos shot and stitched into cube or panorama formats?