Hugin freezing during blending

353 views
Skip to first unread message

Mikayla

unread,
Mar 18, 2021, 11:36:15 AM3/18/21
to hugin and other free panoramic software
Hello!
I'm very new to Hugin, so I apologize if this is a rudimentary question. I am trying to stitch images taken from Google earth to create an equirectangular panorama shot. When I go to stitch the images, the  commands freeze when it gets to: 
"Blending images...
enblend: warning: input images too small for coarse mask
enblend: note: switching to fine mask"
I don't know what's happening or why It refuses to continue processing. 
Any help would be greatly appreciated!
Thanks!

-M

Bruno Postle

unread,
Mar 19, 2021, 9:34:34 AM3/19/21
to hugi...@googlegroups.com
Hi Mikayla, this doesn't sound like a familiar problem, so we can't say for sure. Please can you post a PTO project file so we can have a look (no need to post the images).

--
Bruno

MikaylaL

unread,
Mar 19, 2021, 12:38:16 PM3/19/21
to hugin and other free panoramic software
Sure! 
Thanks for taking a look!

It occurred to me today that there is the possibility that it's a hardware issue, so I will be trying it on a different computer in the next few days.

Best,
M
0-0 - 150-324.pto

Bruno Postle

unread,
Mar 19, 2021, 3:17:37 PM3/19/21
to Hugin ptx
Hi Mikayla, I can get it to stitch here, the enblend warning is just
because the output panorama is very small (4096x2048), but this is
ok. It takes a few minutes for enblend to blend everything
together, maybe it was just taking a very long time.

The images are all very precisely arranged in the panorama, but the
control points make no sense - are these the correct positions for
the photos? or do they need aligning?

The control points are all clustered in a small rectangle at the
bottom left of each image, is there a logo or something in every
picture? If you want to generate control points you will first need
to mask out this area using the Masks tab in the Panorama Editor.

--
Bruno

On Fri 19-Mar-2021 at 09:38 -0700, MikaylaL wrote:
>Sure!
>Thanks for taking a look!
>
>It occurred to me today that there is the possibility that it's a hardware
>issue, so I will be trying it on a different computer in the next few days.

>On Friday, March 19, 2021 at 8:34:34 AM UTC-5 bruno wrote:
>
>> Hi Mikayla, this doesn't sound like a familiar problem, so we can't say
>> for sure. Please can you post a PTO project file so we can have a look (no
>> need to post the images).
>>

MikaylaL

unread,
Mar 19, 2021, 3:24:00 PM3/19/21
to hugin and other free panoramic software
Hi Bruno,

Thanks so much! 
Yes, it's the google earth logo. I left it because I figured the photos overlapped enough it wouldn't be a problem. 
I considered it may have just been taking a long time to process, but I think what would happen is that it would eventually time-out on my computer and end up failing. I will try again! Hopefully I can get it to work.
Thanks again!

Best,
Mikayla

Monkey

unread,
Mar 20, 2021, 10:48:26 AM3/20/21
to hugin and other free panoramic software
Enblend is very slow. Multiblend is much, much quicker:


You change the Hugin settings under the Programstab (Use alternative Enblend program) and point it to multiblend.exe instead.

Mikayla Absher

unread,
Mar 20, 2021, 11:12:32 AM3/20/21
to hugi...@googlegroups.com
Oh that's great! Thank you! I'll definitely try it out

Best,
Mikayla


--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to a topic in the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hugin-ptx/85qx4qqxGPo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/beb088fc-a774-4dff-bf53-10143b1332bcn%40googlegroups.com.

Gunter Königsmann

unread,
Mar 20, 2021, 12:00:32 PM3/20/21
to Monkey, hugin and other free panoramic software
Hmmm... One partially related question: Would it make sense to make multiblend the default for new hugin installs?
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

T. Modes

unread,
Mar 21, 2021, 5:34:58 AM3/21/21
to hugin and other free panoramic software
gunter.ko...@gmail.com schrieb am Samstag, 20. März 2021 um 17:00:32 UTC+1:
Hmmm... One partially related question: Would it make sense to make multiblend the default for new hugin installs?

Multiblend does not support all necessary features needed by Hugin. So it can't currently be the default.

Luís Henrique Camargo Quiroz

unread,
Mar 21, 2021, 10:23:59 AM3/21/21
to hugi...@googlegroups.com

   @Bruno: I think you have  used ptodummy to generate (missing) files for the pto, right?
    I tried this recently, however it is not working here, Debian testing, with this error message:
convert-im6.q16: unable to read image data `/tmp/9Y8FDe8hK7.pnm' @ error/pnm.c/ReadPNMImage/1340.
convert-im6.q16: no images defined `im31.jpg' @ error/convert.c/ConvertImageCommand/3229.

  Any clues about this? Thank you!

 Luis Henrique



--
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/AFA1BB84-CE45-40D9-AED7-36CE3F67672E%40postle.net.


--

Bruno Postle

unread,
Mar 21, 2021, 6:37:25 PM3/21/21
to Hugin ptx
On Sun 21-Mar-2021 at 11:23 -0300, Luís Henrique Camargo Quiroz wrote:
> @Bruno: I think you have used ptodummy to generate (missing) files for
>the pto, right?
> I tried this recently, however it is not working here, Debian testing,
>with this error message:
>convert-im6.q16: unable to read image data `/tmp/9Y8FDe8hK7.pnm' @
>error/pnm.c/ReadPNMImage/1340.
>convert-im6.q16: no images defined `im31.jpg' @
>error/convert.c/ConvertImageCommand/3229.
>
> Any clues about this? Thank you!

Hi Luís, yes I used ptodummy. The error is caused by a change in
ImageMagick (it now requires a PNM image to have a trailing
newline).

It is already fixed in mercurial, or you could apply this patch to
ptodummy:

--- a/bin/ptodummy
+++ b/bin/ptodummy
@@ -22,7 +22,7 @@
my $r = 64 + int(rand(128));
my $g = 64 + int(rand(128));
my $b = 64 + int(rand(128));
- print $pnm "P3\n# CREATOR: $0\n1 1\n255\n$r\n$g\n$b";
+ print $pnm "P3\n# CREATOR: $0\n1 1\n255\n$r\n$g\n$b\n";

next unless $image->{w} =~ /^[0-9]+$/;
next unless $image->{h} =~ /^[0-9]+$/;

--
Bruno

Monkey

unread,
Mar 22, 2021, 6:45:09 AM3/22/21
to hugin and other free panoramic software
Not that I would expect it to be default - I assume that's going to be Verdandi at some point - but what "necessary" features is it missing?

I believe Multiblend was at one point bundled with Hugin as an alternative to Enblend for a release or two, not sure why it was dropped.

Luís Henrique Camargo Quiroz

unread,
Mar 22, 2021, 10:31:09 AM3/22/21
to hugi...@googlegroups.com
  Bruno, thank you very much!   I will apply the patch to my ptodummy ASAP.

  regards,
  
   Luís Henrique

--
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.

T. Modes

unread,
Mar 22, 2021, 1:02:54 PM3/22/21
to hugin and other free panoramic software
Monkey schrieb am Montag, 22. März 2021 um 11:45:09 UTC+1:
Not that I would expect it to be default - I assume that's going to be Verdandi at some point - but what "necessary" features is it missing?

I thought, this is obviously. Multiblend does not support all bitdepths and necessary fileformats.
Reply all
Reply to author
Forward
0 new messages