Fw: hugin: fails to find control-points, defective

Bug #1758503 reported by andrew glaeser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Invalid
Undecided
Unassigned

Bug Description

Begin forwarded message:

Date: Fri, 23 Mar 2018 08:38:52 +0100
From: andrew glaeser <email address hidden>
To: <email address hidden>
Subject: hugin: fails to find control-points, defective

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: hugin
Version: 2018.0.0+dfsg-1+b1
Severity: important

Dear Maintainer,
the problem exists since the the stretch-release, in fact the tendency to
defectiveness of the GUI showed already with Jessie+backports, it wasn't
possible to stitch the panoramic views there using the GUI, but one had to do
it on the terminal using this instead:
> hugin_stitch_project (1) - Stitch a hugin project
With the stretch-release the situation worsened, now GUI is not workable at
all anymore, because either the order of images is wrong, so there can be no
control-points found, or otherwise cpoints are found for two images out of
three only.
I used to start off with the Assistant, then switched to the advanced view,
sharing of data between the two now also seems to be broken.
Now it is basically the same story both in the simple view, using the
Assistant or with the advanced view, that hugin is _not_workable_.

I upgraded to the version in Testing (buster):

> andrew@a68n:~$ sat install -t testing hugin
> [sudo] password for andrew:
> The following NEW packages will be installed:
> libilmbase23{a} libopenexr23{a}
> The following packages will be upgraded:
> hugin hugin-data hugin-tools libc-bin libc-l10n libc6 libwxbase3.0-0v5
> libwxgtk3.0-0v5 locales 9 packages upgraded, 2 newly installed, 0 to remove
> and 2131 not upgraded. Need to get 26.4 MB of archives. After unpacking
> 7,211 kB will be used. The following packages have unmet dependencies:
> libc6-dev : Depends: libc6 (= 2.24-11+deb9u3) but 2.27-2 is to be installed
> libc6-i386 : Depends: libc6 (= 2.24-11+deb9u3) but 2.27-2 is to be
> installed libc-dev-bin : Depends: libc6 (< 2.25) but 2.27-2 is to be
> installed open: 20; closed: 36; defer: 4; conflict:
> 4 .Internal
> error: found 2 (choice -> promotion) mappings for a single choice. Internal
> error: found 2 (choice -> promotion) mappings for a single choice. The
> following actions will resolve these dependencies:
>
> Upgrade the following packages:
> 1) libc-dev-bin [2.24-11+deb9u3 (now, stable) -> 2.27-2 (testing)]
> 2) libc6-dev [2.24-11+deb9u3 (now, stable) -> 2.27-2 (testing)]
> 3) libc6-i386 [2.24-11+deb9u3 (now, stable) -> 2.27-2 (testing)]
>
>
>
> Accept this solution? [Y/n/q/?]
> The following NEW packages will be installed:
> libilmbase23{a} libopenexr23{a}
> The following packages will be upgraded:
> hugin hugin-data hugin-tools libc-bin libc-dev-bin libc-l10n libc6
> libc6-dev libc6-i386 libwxbase3.0-0v5 libwxgtk3.0-0v5 locales
> 12 packages upgraded, 2 newly installed, 0 to remove and 2128 not upgraded.
> Need to get 32.2 MB of archives. After unpacking 10.8 MB will be used.
> Do you want to continue? [Y/n/?]
> Get: 1 http://ftp2.de.debian.org/debian buster/main amd64 libc-l10n all
> 2.27-2 [859 kB] Get: 2 http://ftp2.de.debian.org/debian buster/main amd64
> libc6-i386 amd64 2.27-2 [2,852 kB] Get: 3 http://ftp2.de.debian.org/debian
> buster/main amd64 libc-dev-bin amd64 2.27-2 [270 kB] Get: 4
> http://ftp2.de.debian.org/debian buster/main amd64 libc6-dev amd64 2.27-2
> [2,670 kB] Get: 5 http://ftp2.de.debian.org/debian buster/main amd64
> locales all 2.27-2 [3,804 kB] Get: 6 http://ftp2.de.debian.org/debian
> buster/main amd64 libc6 amd64 2.27-2 [2,904 kB] Get: 7
> http://ftp2.de.debian.org/debian buster/main amd64 libc-bin amd64 2.27-2
> [786 kB] Get: 8 http://ftp2.de.debian.org/debian buster/main amd64 hugin
> amd64 2018.0.0+dfsg-1+b1 [1,250 kB] Get: 9 http://ftp2.de.debian.org/debian
> buster/main amd64 hugin-tools amd64 2018.0.0+dfsg-1+b1 [3,141 kB] Get: 10
> http://ftp2.de.debian.org/debian buster/main amd64 hugin-data all
> 2018.0.0+dfsg-1 [7,625 kB] Get: 11 http://ftp2.de.debian.org/debian
> buster/main amd64 libilmbase23 amd64 2.2.1-2 [85.6 kB] Get: 12
> http://ftp2.de.debian.org/debian buster/main amd64 libopenexr23 amd64
> 2.2.1-4 [579 kB] Get: 13 http://ftp2.de.debian.org/debian buster/main amd64
> libwxbase3.0-0v5 amd64 3.0.3.1+dfsg2-1 [1,063 kB] Get: 14
> http://ftp2.de.debian.org/debian buster/main amd64 libwxgtk3.0-0v5 amd64
> 3.0.3.1+dfsg2-1 [4,321 kB] Fetched 32.2 MB in 7s (4,264 kB/s) Reading
> changelogs... Done apt-listchanges: Mailing root: apt-listchanges: news for
> a68n Preconfiguring packages ... (Reading database ... 479860 files and
> directories currently installed.) Preparing to
> unpack .../0-libc-l10n_2.27-2_all.deb ... Unpacking libc-l10n (2.27-2) over
> (2.24-11+deb9u3) ... Preparing to
> unpack .../1-libc6-i386_2.27-2_amd64.deb ... Unpacking libc6-i386 (2.27-2)
> over (2.24-11+deb9u3) ... Preparing to
> unpack .../2-libc-dev-bin_2.27-2_amd64.deb ... Unpacking libc-dev-bin
> (2.27-2) over (2.24-11+deb9u3) ... Preparing to
> unpack .../3-libc6-dev_2.27-2_amd64.deb ... Unpacking libc6-dev:amd64
> (2.27-2) over (2.24-11+deb9u3) ... Preparing to
> unpack .../4-locales_2.27-2_all.deb ... Unpacking locales (2.27-2) over
> (2.24-11+deb9u3) ... Preparing to unpack .../5-libc6_2.27-2_amd64.deb ...
> Checking for services that may need to be restarted... Checking init
> scripts... Unpacking libc6:amd64 (2.27-2) over (2.24-11+deb9u3) ... Setting
> up libc6:amd64 (2.27-2) ... Installing new version of config
> file /etc/ld.so.conf.d/x86_64-linux-gnu.conf ... Checking for services that
> may need to be restarted... Checking init scripts...
>
> Restarting services possibly affected by the upgrade:
> exim4: restarting...done.
> cups: restarting...done.
> cron: restarting...done.
> atd: restarting...done.
>
> Services restarted successfully.
> (Reading database ... 479934 files and directories currently installed.)
> Preparing to unpack .../libc-bin_2.27-2_amd64.deb ...
> Unpacking libc-bin (2.27-2) over (2.24-11+deb9u3) ...
> Setting up libc-bin (2.27-2) ...
> (Reading database ... 479934 files and directories currently installed.)
> Preparing to unpack .../0-hugin_2018.0.0+dfsg-1+b1_amd64.deb ...
> Unpacking hugin (2018.0.0+dfsg-1+b1) over (2016.2.0+dfsg-1) ...
> Preparing to unpack .../1-hugin-tools_2018.0.0+dfsg-1+b1_amd64.deb ...
> Unpacking hugin-tools (2018.0.0+dfsg-1+b1) over (2016.2.0+dfsg-1) ...
> Preparing to unpack .../2-hugin-data_2018.0.0+dfsg-1_all.deb ...
> Unpacking hugin-data (2018.0.0+dfsg-1) over (2016.2.0+dfsg-1) ...
> Selecting previously unselected package libilmbase23:amd64.
> Preparing to unpack .../3-libilmbase23_2.2.1-2_amd64.deb ...
> Unpacking libilmbase23:amd64 (2.2.1-2) ...
> Selecting previously unselected package libopenexr23:amd64.
> Preparing to unpack .../4-libopenexr23_2.2.1-4_amd64.deb ...
> Unpacking libopenexr23:amd64 (2.2.1-4) ...
> Preparing to unpack .../5-libwxbase3.0-0v5_3.0.3.1+dfsg2-1_amd64.deb ...
> Unpacking libwxbase3.0-0v5:amd64 (3.0.3.1+dfsg2-1) over (3.0.2+dfsg-4) ...
> Preparing to unpack .../6-libwxgtk3.0-0v5_3.0.3.1+dfsg2-1_amd64.deb ...
> Unpacking libwxgtk3.0-0v5:amd64 (3.0.3.1+dfsg2-1) over (3.0.2+dfsg-4) ...
> Processing triggers for mime-support (3.60) ...
> Processing triggers for desktop-file-utils (0.23-1) ...
> Setting up libilmbase23:amd64 (2.2.1-2) ...
> Setting up libc6-i386 (2.27-2) ...
> Processing triggers for gnome-icon-theme (3.12.0-2) ...
> Setting up libwxbase3.0-0v5:amd64 (3.0.3.1+dfsg2-1) ...
> Processing triggers for libc-bin (2.27-2) ...
> Setting up libc-l10n (2.27-2) ...
> Setting up hugin-data (2018.0.0+dfsg-1) ...
> Processing triggers for man-db (2.7.6.1-2) ...
> Processing triggers for shared-mime-info (1.8-1) ...
> Unknown media type in type 'all/all'
> Unknown media type in type 'all/allfiles'
> Setting up libc-dev-bin (2.27-2) ...
> Processing triggers for gnome-menus (3.13.3-9) ...
> Setting up libc6-dev:amd64 (2.27-2) ...
> Setting up locales (2.27-2) ...
> Installing new version of config file /etc/locale.alias ...
> Generating locales (this might take a while)...
> en_GB.UTF-8... done
> Generation complete.
> Setting up libopenexr23:amd64 (2.2.1-4) ...
> Setting up libwxgtk3.0-0v5:amd64 (3.0.3.1+dfsg2-1) ...
> Setting up hugin-tools (2018.0.0+dfsg-1+b1) ...
> Setting up hugin (2018.0.0+dfsg-1+b1) ...
> Processing triggers for libc-bin (2.27-2) ...
>
> Current status: 2129 (-11) upgradable.

- - -- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (52, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.13-ad-bpo (SMP w/3 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages hugin depends on:
ii enblend 4.2-2
ii enfuse 4.2-2
ii hugin-tools 2018.0.0+dfsg-1+b1
ii libc6 2.27-2
ii libexiv2-14 0.25-3.1
ii libfftw3-double3 3.3.5-3
ii libgcc1 1:6.3.0-18+deb9u1
ii libgl1-mesa-glx [libgl1] 13.0.6-1+b2
ii libglew2.0 2.0.0-3+b1
ii libglu1-mesa [libglu1] 9.0.0-2.1
ii libgomp1 6.3.0-18+deb9u1
ii libimage-exiftool-perl 10.40-1
ii liblcms2-2 2.8-4
ii libpano13-3 2.9.19+dfsg-2+b2
ii libsqlite3-0 3.16.2-5+deb9u1
ii libstdc++6 6.3.0-18+deb9u1
ii libtiff5 4.0.8-2+deb9u2
ii libvigraimpex6 1.10.0+git20160211.167be93+dfsg-2+b5
ii libwxbase3.0-0v5 3.0.3.1+dfsg2-1
ii libwxgtk3.0-0v5 3.0.3.1+dfsg2-1
ii make 4.1-9.1

hugin recommends no packages.

hugin suggests no packages.

- -----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQTF9uNaslvnJpWt8kXn6sEfJS3nCwUCWrSvDAAKCRDn6sEfJS3n
CwdyAJ0RIcoQ2pqQFuleMoLneGrrLdkMTgCeKXOUrs9M8aRVQw9EIm0W2rM8x/0=
=rJuX
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQTF9uNaslvnJpWt8kXn6sEfJS3nCwUCWrSvfQAKCRDn6sEfJS3n
C2OTAJ0ddXIbBricy9VxRWiJ46usgeDsNQCeIQDNEdPZxG/RZM5LGha7tDiWczc=
=cSeG
-----END PGP SIGNATURE-----

Tags: debian
Revision history for this message
andrew glaeser (glaesera) wrote :

From: "Debian Bug Tracking System" <email address hidden>
To: andrew glaeser <email address hidden>
Subject: Bug#893846: Acknowledgement (hugin: fails to find control-points, defective)
Date: Fri, 23 Mar 2018 08:03:04 +0000
Reply-To: <email address hidden>
X-Mailer: MIME-tools 5.508 (Entity 5.508)

Thank you for filing a new Bug report with Debian.

You can follow progress on this Bug here: 893846: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893846.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 Debian PhotoTools Maintainers <email address hidden>

If you wish to submit further information on this problem, please
send it to <email address hidden>.

Please do not send mail to <email address hidden> unless you wish
to report a problem with the Bug-tracking system.

--
893846: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893846
Debian Bug Tracking System
Contact <email address hidden> with problems

Revision history for this message
tmodes (tmodes) wrote :

Sorry, but I don't understand fully what you want to say.

Issue 1:
> it wasn't possible to stitch the panoramic views there using the GUI, but one had to do
> it on the terminal using this instead:
> hugin_stitch_project (1) - Stitch a hugin project

This is probably a messed up batch queue. Read the FAQ how to fix this:
https://wiki.panotools.org/Hugin_FAQ#PTBatcherGUI_does_not_stitch
https://wiki.panotools.org/Hugin_FAQ#How_do_I_clean_up_the_batch_queue

Issue 2:
> With the stretch-release the situation worsened, now GUI is not workable at
>all anymore, because either the order of images is wrong, so there can be no
>control-points found, or otherwise cpoints are found for two images out of
>three only.
The images are shown in the order you added them to the project. So I don't understand what you mean with "order is wrong".
Otherwise you can simply change the order by drag and drop in the photos tab in the panorama editor.
One cause for non-finding of control points are wrong lens data. So check the lens projection and the hfov after adding the image to the project. If they are messed up, this is FAQ https://wiki.panotools.org/Hugin_FAQ#After_adding_an_image_the_focal_length_is_another_value_than_the_EXIF_value

Changed in hugin:
status: New → Incomplete
Revision history for this message
andrew glaeser (glaesera) wrote :

file:///usr/share/hugin/xrc/data/help_en_EN/Hugin_FAQ.html#How_do_I_add_control_points

As I told you in the Debian-vesrsion the Assistant is not workable, and I have been using Hugin for several years, it always used to work fine, since Debian Stretch it is defective. There was no lens-data requred at all so far, why shoul I need any now??

As far as I understood things, this is the place to report upstream, If you have not tried the current debian-version oft the software, then please don't try to teach me about it.

Changed in hugin:
status: Incomplete → Confirmed
Revision history for this message
tmodes (tmodes) wrote :

"Assistant is not workable" is not sufficient to debug the issue.
Provide a small test project for testing (images + pto file).

Changed in hugin:
status: Confirmed → Incomplete
Revision history for this message
andrew glaeser (glaesera) wrote :

Oh my, an ever friendly girl like you, and a good kisser, too, who would dare to say no??

You are not getting as far as making any .pto with the current hugin-version in Debian, I told you!

Here are some example-photos:

https://attachment.irregulaire.info/DSC01054.JPG
.
..
.
https://attachment.irregulaire.info/DSC01073.JPG

Changed in hugin:
status: Incomplete → Confirmed
Revision history for this message
tmodes (tmodes) wrote :

What the heck?
Your examples does not belong to a single panorama. They are shot from several places. And there is a totally unconnected image mixed in. The assistant will not work for this complete image set.
When I take only a subset, e.g. images DSC01056 - DSC01059.JPG, the assistant works fine.

When I load your example image Hugin ask me for the crop factor/field of view. (Hugin does not ask you because you already stitched images from this camera on you camera. And this information is used when you add a new image.) But probably the information stored in your lens database is wrong (each user has it's own database). This is FAQ https://wiki.panotools.org/Hugin_FAQ#After_adding_an_image_the_focal_length_is_another_value_than_the_EXIF_value as already written, even if you don't believe it.

Changed in hugin:
status: Confirmed → Invalid
Revision history for this message
andrew glaeser (glaesera) wrote :

Hey, there, I have just re-checked the situation, the hugin version in Debian-testig has not been updated since this bug-report was posted:

:~$ ate show hugin
Package: hugin
Version: 2018.0.0+dfsg-1+b1
State: installed
Automatically installed: no
Priority: optional
Section: graphics
Maintainer: Debian PhotoTools Maintainers <email address hidden>
Architecture: amd64
Uncompressed Size: 4,842 k
Depends: hugin-tools (= 2018.0.0+dfsg-1+b1), enblend (>= 3.2), enfuse,
         libimage-exiftool-perl, make, libc6 (>= 2.14), libexiv2-14 (>= 0.25),
         libfftw3-double3 (>= 3.3.5), libgcc1 (>= 1:3.0), libgl1, libglew2.0 (>= 1.12.0),
         libglu1-mesa | libglu1, libgomp1 (>= 4.9), liblcms2-2 (>= 2.2+git20110628),
         libpano13-3, libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 5.2), libtiff5 (>= 4.0.3),
         libvigraimpex6 (>= 1.10.0+git20160211.167be93), libwxbase3.0-0v5 (>=
         3.0.3.1+dfsg2), libwxgtk3.0-0v5 (>= 3.0.3.1+dfsg2)
Breaks: hugin-bin (< 0.7.0~svn)
Replaces: hugin-bin (< 0.7.0~svn), hugin-data (< 0.7.0~svn), hugin-tools (< 0.7.0~svn)
Description: panorama photo stitcher - GUI tools
 Hugin is a panorama photo stitching program. Essentially, Hugin is a GUI frontend for
 Panorama Tools. Stitching is accomplished by using several overlapping photos taken from
 the same location, and using control points to align and transform the photos so that
 they can be blended together to form a larger image. Hugin allows for the easy creation
 of control points between two images, optimization of the image transforms, and much
 more.

 This package includes the following graphical interfaces, using the command-line tools
 provided in the hugin-tools package:
 * hugin - Hugin panorama creator.
 * hugin_stitch_project - Hugin batch stitcher.
 * PTBatcherGUI - Batch controller for the stitching process.
 * calibrate_lens_gui - Lens calibration tool.
Homepage: http://hugin.sourceforge.net/
Tags: hardware::camera, implemented-in::c++, interface::graphical, interface::x11,
      role::program, uitoolkit::wxwidgets, use::editing, works-with-format::jpg,
      works-with::image, works-with::image:raster, x11::application

Hugin is workable in principle, I am currently using hugin_stitch_project in the current version, but hugin alsways gets the image-order wrong and thus fails to align image-groups correctly.
Im using the oldstable version now in order to create.pto-files, because Ubuntu just is not an option for me.
Here is the result of the example .pto-file:
http://pictorial.cc.irregulaire.com/alex-night.jpg

And for one last time: please take my advice, hacking my essential application I use regularly to defectiveness is _not_the_way_ how to get in contact with me and how to trick me into discussion or pointless debate. And please don't tell me, that everything is fine with Ubuntu, that's just not my weather.

Changed in hugin:
status: Invalid → Confirmed
Revision history for this message
tmodes (tmodes) wrote :

If you set the lens projection to cylindrical when it is a rectilinear lens it can't work.

Changed in hugin:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.