ppwwyyxx / OpenPano

Automatic Panorama Stitching From Scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blending in y-axis direction

auriza opened this issue · comments

You said in http://ppwwyyxx.com/2016/How-to-Write-a-Panorama-Stitcher/#Blending that:

I only used the distance along the x axis to calculate the weigh

How could I add blending in y axis direction also? I was stitching images horizontally and vertically in TRANSLATE mode. The result is not smooth vertically.

Thank you for this useful software.

1564387280740 remmina-2019-7-30-8:58:43 169730

Translate mode requires inputs in a left-to-right order, so I'm surprised that you can even stitch them to a reasonable result.

The blending code is in https://github.com/ppwwyyxx/OpenPano/blob/master/src/stitch/blender.cc#L27-L37, and it blend both horizontally and vertically when inputs are unordered. You can modify it accordingly.

Thank you very much for your prompt response, I will try it later.