Making panoramas in Pano Editor instead of Align button

95 views
Skip to first unread message

Abrimaal

unread,
Sep 15, 2020, 6:11:35 PM9/15/20
to hugin and other free panoramic software
I always pressed "Align" after loading all images. Align also affects photometrics, so I try to make a panorama using the Editor only.

What step have I skipped?

1. Mark the middle image "for position"
2. Find control points + Celeste and vertical lines
3. Fine tune all points
4. Calculate and optimize
    a. positions from anchor
    b. positions and view
    c. everything

The image is still not straight.
I checked all vertical lines, removed the short and misplaced lines, added a few new.
I clicked "reset positions" and "optimize" again and the result is the same.

What step of "Align" have I skipped that the vertical geometry is not optimized?

202009_stough_using_pano_editor_instead_of_align.jpg







Terry Duell

unread,
Sep 15, 2020, 7:02:54 PM9/15/20
to hugi...@googlegroups.com
Hello Abrimaal,

On Tue, 2020-09-15 at 15:11 -0700, Abrimaal wrote:
>
>
> What step of "Align" have I skipped that the vertical geometry is not
> optimized?
>

Just a guess, but what projection are you using?

Cheers,
--
Terry Duell <tdu...@iinet.net.au>

David W. Jones

unread,
Sep 16, 2020, 12:19:01 AM9/16/20
to hugi...@googlegroups.com
On 9/15/20 12:11 PM, Abrimaal wrote:
> I always pressed "Align" after loading all images. Align also affects
> photometrics, so I try to make a panorama using the Editor only.

Hmm, I presume you're talking about the button in the Assistant? You
could still use Align there, then reset the photometric optimizations in
the main Hugin window.

> What step have I skipped?
>
> 1. Mark the middle image "for position"
> 2. Find control points + Celeste and vertical lines
> 3. Fine tune all points
> 4. Calculate and optimize
>     a. positions from anchor
>     b. positions and view
>     c. everything
>
> The image is still not straight.
> I checked all vertical lines, removed the short and misplaced lines,
> added a few new.
> I clicked "reset positions" and "optimize" again and the result is the same.

In the Fast Preview window, under the Move/Drag tab, there's a
Straighten button. Does that help?

> What step of "Align" have I skipped that the vertical geometry is not
> optimized?

Only thing I see missing from the above is to clean control points? Not
remove them, clean them. That always helps mine by removing ones that
seem to be way off or mismatched. I do that step after optimizing
positions from anchor (your 4.a). Or is that what you mean by "Fine tune
all points".

And as someone else on the list asked, what projection are you using?

--
David W. Jones
gnome...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com
My password is the last 8 digits of π.

Abrimaal

unread,
Oct 4, 2020, 10:41:32 AM10/4/20
to hugin and other free panoramic software
Yes. Straighten adjusts the vertical geometry. Optimize not always.

One more question related to the position:
If I select "align this image for position", does it mean that
- the selected image is centered (y,p,r = 0) before all calculations?
or
- the selected image position is random, as loaded and the position must be reset manually?

Abrimaal

unread,
Oct 4, 2020, 12:23:18 PM10/4/20
to hugin and other free panoramic software
Edit:
Straighten adjusts the positions to "as taken with camera", not to the vertical lines
Optimize after Straighten restores the geometry based on vertical lines - but not always it works. I think the optimizer at the first run does not know what to optimize. First it must be selected what - positions only, positions and view, barrel, etc.
Align button builds the panorama again. I think it doesn't add new control points and lines, but it changes photometric parameters.
In settings there are optional steps what should be done. There is no "adjust photometry" or "skip photometry adjustment". I think it should be included in Optional Steps.
So, only Reset photometric parameters or Reset user defined (exposure and/or color) is usable.

Abrimaal

unread,
Nov 1, 2020, 6:30:02 PM11/1/20
to hugin and other free panoramic software
Ok, I successfully passed through these steps.
Now a few more questions, because some options are still unclear (or named unclearly for me)

1. Anchor (this) image for exposure - it means that the photometric parameters of this image should remain unchanged.

This is how the panorama preview looked without exposure correction - and the final panorama looked the best too.
01 no expo correction.jpg
The middle image was set as anchor for exposure - so its exposure should be unchanged.
Clicked Optimize photometric: Low dynamic range -> Calculate
The middle image exposure has been changed on the preview, although the exposure was locked to this image.

02 expo locked to middle photo should not be changed.jpg
The panorama looked like ZX Spectrum graphics
03 and the pano came out like zx spectrum.jpg
After a few blendings of a few good variants of the final panoramas, using include/exclude masks, the result was satisfying.
None of the variants was optimized automatically.

Yes, I often blend the final panoramas to get the best parts from each version,
without control points, calculations and remapping, because all images are the same size.
I just Load, reset positions, mask in/ex, stitch.

This is why I asked for shortening _blended_fused and _fused suffixes in another topic
shorten filename suffixes
because the filenames could be incredibly long when blending _blended_fused with _fused, then with another _blended_fused :)
04 after overlaying a few images and including the best part it came out perfect.jpg

2. Anchor image for position

In the example below, I set the image no 6 for position, because it was the middle image of the panorama,
in other words, its position should be unchanged when calculating positions of other images.
in other words, it should be 0,0,0 at the start of all calculations.

The position of the image was "as loaded".
Is the position of the anchor image automatically set to 0,0,0 when clicking Optimize geometric? (any method of optimizing)
or should the position be reset manually before any calculations?

05 position reset or as loaded.jpg
Reply all
Reply to author
Forward
0 new messages