Stitch Panorama Without Blending Exposure?

197 views
Skip to first unread message

Alexander Drecun

unread,
Nov 9, 2023, 1:07:42 AM11/9/23
to hugin and other free panoramic software
Is there any way to stitch a panorama without having Hugin blend/match the exposure across the component images? Specifically, I want to see the seams and edges of each component image in the stitched panorama. 

Thanks,

Alex

Gunter Königsmann

unread,
Nov 9, 2023, 2:15:14 AM11/9/23
to hugi...@googlegroups.com
If you use the advanced UI you can leave out the "photometric optimization" step. Does that do what you want?

Luís Henrique Camargo Quiroz

unread,
Nov 9, 2023, 11:54:35 AM11/9/23
to hugi...@googlegroups.com

   Hi,
   Maybe  "--save-masks --visualize" as extra options in the enblend call you will have what you want.
   The manual (see https://enblend.sourceforge.net/) explains the colors in the visualization image

  regards,

  Luís Henrique

Em qui., 9 de nov. de 2023 às 04:15, Gunter Königsmann <gunter.ko...@gmail.com> escreveu:
If you use the advanced UI you can leave out the "photometric optimization" step. Does that do what you want?

--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/D3ECA977-20B7-435A-8988-4874DB270255%40gmail.com.


--

David W. Jones

unread,
Nov 9, 2023, 9:13:31 PM11/9/23
to hugi...@googlegroups.com
Hmm, so you want hard seams between images - no blending, just a sharp
cut from one image to the next?

Gunter's reference to the online documentation might have the solution
in it.

Maybe one option is to set enblend's levels to 1? I think "--levels=1"
tells enblend tto blend as little as possible between images.
--
David W. Jones
gnome...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com
My password is the last 8 digits of π.

Alexander Drecun

unread,
Nov 10, 2023, 1:47:40 AM11/10/23
to hugi...@googlegroups.com
Screenshot 2023-11-09 at 10.45.00 PM.png
Screenshot 2023-11-09 at 10.46.33 PM.png
Yeah, a hard cut. I'm aiming for a stitch that is basically the tiled images layered over one another before any blending or exposure correction is done. I've attached a screencap from the preview window and a screencap of what it's looking like once stitched. (Btw it's intentional that things are misaligned.)

I'll try these entries with Enblend to see if they make a difference. How do I leave out "photometric optimization?" I'm still relatively new to Hugin and so some of these things are a bit over my head.

Thanks,

Alex

--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+...@googlegroups.com.

David W. Jones

unread,
Nov 10, 2023, 2:11:49 AM11/10/23
to hugin-ptx
How do you make your panoramas now?

Alexander Drecun

unread,
Nov 10, 2023, 9:49:48 AM11/10/23
to hugi...@googlegroups.com
Mostly with Photoshop or Affinity. I used Hugin and, with a basic start-to-finish approach, have gotten very nice panoramas too. The issue I’m having is that I’m deliberately trying to produce bad/misaligned/unblended panoramas, and this can be difficult to systematize. Photoshop will produce tiled, unblended results but only if I overwhelm it to a very specific degree; if I add too many images, it will freeze and won’t spit anything out. Affinity, meanwhile, always blends no matter the result it gets. I think Hugin is the best option is because I can make choices about all of the control points that decide just how aligned or misaligned my panoramas are. The issue is that I just need to figure out how to prevent it from trying to blend the component images into a seamless stitch.



On Nov 9, 2023, at 11:11 PM, David W. Jones <gnome...@gmail.com> wrote:

How do you make your panoramas now?

On 11/9/23 20:47, Alexander Drecun wrote:
<Screenshot 2023-11-09 at 10.45.00 PM.png>
-- 
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+...@googlegroups.com.

David W. Jones

unread,
Nov 11, 2023, 5:07:49 PM11/11/23
to hugi...@googlegroups.com
Thanks. I've made panoramas using GIMP, never with Photoshop.

An option that might work for you is to have Hugin output remapped images. They'll be appropriately distorted, rotated, positioned as they would be in a blended panorama. Then you can layer them together in Photoshop. I think that would give you unblended seams. Simply flattening the layered image might be sufficient.

I haven't done that in a long time, so I forget if the remapped images make transparent all parts of a remapped image that aren't included in the blended panorama. But it might work.

Another option, since you want deliberate mismatches and misalignments, is to put in mismatched/bad control points. If you don't run the "clean control points" option, the "bad" control points will survive and affect the alignment process.

I use Hugin with the Expert user interface, ("Interface > Expert"). If you usually use  the Simple interface or the Assistant tab in the GL Preview window, you might need to change. The Expert interface gives a lot more control over the process.

Alexander Drecun

unread,
Nov 12, 2023, 3:12:59 PM11/12/23
to hugi...@googlegroups.com
Those are all good suggestions! I've edited the control points quite a bit to get the goldilocks level of mismatching - not too much, not too little - to the point where I'm very happy with the result, but I'm still not having any luck getting a stitch in the manner I'm after. I'll try the remapped image option next. Is there no way to turn off enblend/enfuse?

On Sat, Nov 11, 2023 at 2:07 PM David W. Jones <gnome...@gmail.com> wrote:
Thanks. I've made panoramas using GIMP, never with Photoshop.

An option that might work for you is to have Hugin output remapped images. They'll be appropriately distorted, rotated, positioned as they would be in a blended panorama. Then you can layer them together in Photoshop. I think that would give you unblended seams. Simply flattening the layered image might be sufficient.

I haven't done that in a long time, so I forget if the remapped images make transparent all parts of a remapped image that aren't included in the blended panorama. But it might work.

Another option, since you want deliberate mismatches and misalignments, is to put in mismatched/bad control points. If you don't run the "clean control points" option, the "bad" control points will survive and affect the alignment process.

I use Hugin with the Expert user interface, ("Interface > Expert"). If you usually use  the Simple interface or the Assistant tab in the GL Preview window, you might need to change. The Expert interface gives a lot more control over the process.

On 11/10/23 04:49, Alexander Drecun wrote:
Mostly with Photoshop or Affinity. I used Hugin and, with a basic start-to-finish approach, have gotten very nice panoramas too. The issue I’m having is that I’m deliberately trying to produce bad/misaligned/unblended panoramas, and this can be difficult to systematize. Photoshop will produce tiled, unblended results but only if I overwhelm it to a very specific degree; if I add too many images, it will freeze and won’t spit anything out. Affinity, meanwhile, always blends no matter the result it gets. I think Hugin is the best option is because I can make choices about all of the control points that decide just how aligned or misaligned my panoramas are. The issue is that I just need to figure out how to prevent it from trying to blend the component images into a seamless stitch.

On Nov 9, 2023, at 11:11 PM, David W. Jones <gnome...@gmail.com> wrote:

How do you make your panoramas now?

On 11/9/23 20:47, Alexander Drecun wrote:
<Screenshot 2023-11-09 at 10.45.00 PM.png>
<Screenshot 2023-11-09 at 10.46.33 PM.png>
Yeah, a hard cut. I'm aiming for a stitch that is basically the tiled images layered over one another before any blending or exposure correction is done. I've attached a screencap from the preview window and a screencap of what it's looking like once stitched. (Btw it's intentional that things are misaligned.)

I'll try these entries with Enblend to see if they make a difference. How do I leave out "photometric optimization?" I'm still relatively new to Hugin and so some of these things are a bit over my head.

Thanks,

Alex

On Thu, Nov 9, 2023 at 6:13 PM David W. Jones <gnome...@gmail.com> wrote:
Hmm, so you want hard seams between images - no blending, just a sharp 
cut from one image to the next?

Gunter's reference to the online documentation might have the solution 
in it.

Maybe one option is to set enblend's levels to 1? I think "--levels=1" 
tells enblend tto blend as little as possible between images.

On 11/8/23 20:07, Alexander Drecun wrote:
> Is there any way to stitch a panorama without having Hugin blend/match 
> the exposure across the component images? Specifically, I want to see 
> the seams and edges of each component image in the stitched panorama.
>
> Thanks,
>
> Alex


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

--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+...@googlegroups.com.

Gunter Königsmann

unread,
Nov 13, 2023, 4:07:38 PM11/13/23
to hugi...@googlegroups.com
Can you use multiblend instead of enblend? It's faster and has no intelligent seams.

Kind regards,
   Gunter.

David W. Jones

unread,
Nov 14, 2023, 2:43:26 AM11/14/23
to hugin-ptx
Hmmm. Based on what the original poster's wants are (sharp lines between
images, no blending between images) - can multiblend do that?
> --
Reply all
Reply to author
Forward
0 new messages