Running multiple Nona and enblend in parallel
Hi,
Thank you for the amazing software suite that constitutes Hugin!
I've recently shot some very large panoramas and it's no longer feasible to stitch them on my personal machine due to limited memory (500 Megapixels on 16GB RAM). Luckily I have access to a machine with 128 cores and ~500 GB of memory. I expected stitching to utilize the extra cores efficiently, but it's no faster than my laptop. Of course, my problem of limited memory is solved, but I'd like to see if I can speed up stitching nonetheless.
My understanding is that nona and enblend are multi-threaded, but work on one image at a time. I will assume that these tools do not scale past more than a few 10s of threads. On the other hand, with this amount of memory it should be feasible to remap all images at the same time; each on an individual thread. I guess enblend would need to work with some kind of binary-tree strategy, always blending pairs of images.
Is it possible to call the individual stitching steps and tools manually from the command line? Then I would write a bash script that splits up the work between tools with something like gnu parallel.
I would like to avoid futzing around with the batch processor internals, but if there's no other way, I'm also happy to do some light coding.
Thanks for your help!
Faveo
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Hugin Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Faveo Hörold for more information if necessary.
