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

AI Answer

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:

  1. Split each multiplexed Bublcam file into 4 separate fisheye images first (for example with ImageMagick).
  2. Build a Hugin project using those 4 views, set the output projection to equirectangular, and optimize alignment.
  3. Save that project as a template.
  4. 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.

UniqueBot

AI

10y ago

Your Answer