Windows hugin-2010.2.0_rc1 Build

228 views
Skip to first unread message

Matthew Petroff

unread,
Sep 15, 2010, 8:38:09 PM9/15/10
to hugi...@googlegroups.com
A Hugin 2010.2.0 rc1 build for Windows can be found here:
http://www.box.net/shared/k5zn0d9bsh

A Windows installer can be found here:
http://www.box.net/shared/bxcdivzsaz

Matthew

Oskar Sander

unread,
Sep 20, 2010, 11:09:43 AM9/20/10
to hugi...@googlegroups.com
Hello,
Nice thankyou!

 Is this using the new windows installer, any experiences on the list using this build?

/O

2010/9/16 Matthew Petroff <mat...@mpetroff.net>

--
You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx



--
/O

kfj

unread,
Sep 20, 2010, 12:15:04 PM9/20/10
to hugin and other free panoramic software


On Sep 20, 5:09 pm, Oskar Sander <oskar.san...@gmail.com> wrote:
>  Is this using the new windows installer, any experiences on the list using
> this build?

I downloaded the first of the two and just put the directory somewhere
low in the path (some auxiliary software has issues with spaces in
file paths, so it's always a good idea to avoid this sort of trouble).
It runs fine, and an issue I had earlier with erroneous handling of
the loading of stereographic images has disappeared with it. So far I
haven't noticed anything untoward, but I've also been busy with other
stuff, so I haven't really tested it much, either.

KFJ

kfj

unread,
Sep 21, 2010, 8:23:02 AM9/21/10
to hugin and other free panoramic software
I have downloaded the Windows installer and run it to see if it works.
There seems to be a problem with the CPGs. In the installation dialog,
I checked all CPGs to be installed. Of the four, the installation text
mentions only match-n-shift, panomatic and autopano, so autopano-sift-
c is omitted. Of these, only match-n-shift and panomatic appear in my
target directory, autopano is missing.
Of the two which have made it to my installation, Panomatic works most
of the time, but match-n-shift creates no control points (I think it
fails somewhere along the way, but I can't see if it prints an error
message since the window closes so quickly. the lengthy process of
putting images into a temporary directory runs, but after that, the
CPG terminates very suddenly)

with regards
KFJ

kfj

unread,
Sep 24, 2010, 11:24:40 AM9/24/10
to hugin and other free panoramic software
I've made the effort to actually uninstall and delete whatever bit of
hugin I could track down, including installation directories and start
menu entries, on my Windows system, to try and make a fresh install
with no relics from previous installations. Then I installed into a
new path. Again I asked for all CPGs to be installed, and the
installation dialog said it was downloading them. But the same CPG
omissions I noticed earlier still apply. If the new stuff is just
installed over a current installation, all the old CPGs will still be
there, so the problem might not manifest. Of course it might be that
the missing CPGs are actually downloaded to somewhere where I can't
find them, but I couln't find them anywhere :(

I also noticed that I could not get rid od my old CPG settings, and I
have no idea where they are actually stored. In the registry perhaps?
I would have liked to get rid of them before doing my install-to-a-
clean-state attempt.

The newly installed CPGs and the CPG settings (also for the missing
ones) produce problems on my system. match-n-shift won't run - now
this may be because I don't have ImageMagick installed, but the
version that the installer installs does not know the -m (nomagick)
flag. If I replace it with m-n-s from my previous install, it runs, if
I give it the right autopano to work with. And what about the -a and -
b flags? What are they for?

As far as autopano is concerned, there is a name conflict here with
autopano by A. Jenny and autopano by S. Nowozin, which is a different
thing altogether. A. Jenny's is used as standalone CPG, whereas
Nowozin's is used with existing .key files (like in conjunction with
generatekeys), if my understanding is correct.

And the settings for autopano-sift-c include '--projection %f,%v',
which does not work with the autopano-sift-c.exe I took from my
previous installation [version 2.5.2] (since the installer didn't
actually install it).

Now that I have all the (old) CPGs together again, the new hugin runs
well and only occasionally crashes (sometimes after using panomatic,
but I can't figure out when and when not) - so far I haven't found
anything crucially wrong with it. But I think the CPG deployment needs
some finetuning ;)

with regards
KFJ

Matthew Petroff

unread,
Sep 24, 2010, 10:23:56 PM9/24/10
to hugin and other free panoramic software
Here is a new installer based on the latest script:
http://www.box.net/shared/hnf7vgtjp2

All of the control point generators should install properly now.
All of them work properly for me on a clean install except match-n-
shift. When selected, hugin runs PTmender instead, but I can't figure
out why.

On Sep 24, 11:24 am, kfj <_...@yahoo.com> wrote:
> I also noticed that I could not get rid od my old CPG settings, and I
> have no idea where they are actually stored. In the registry perhaps?

Control point generator settings are stored in the registry. To remove
them you had to check "Clean Registry Settings" when you ran the
uninstaller.

I also made changes to Panomatic.nsh in order to take advantage of
SourceForge mirrors. A random mirror from a list of ten is chosen for
the download of Panomatic, and if it fails the other mirrors are tried
until one works. In addition, I changed HuginSetup_common.nsh to set
the default control point generator to one of the ones the installer
downloads, if it does so.
These changes are available here: http://www.box.net/shared/b8gg663s0g

Matthew

kfj

unread,
Sep 25, 2010, 6:01:07 AM9/25/10
to hugin and other free panoramic software
On Sep 25, 4:23 am, Matthew Petroff <matt...@mpetroff.net> wrote:
> Here is a new installer based on the latest script:http://www.box.net/shared/hnf7vgtjp2
>
> All of the control point generators should install properly now.

The downloading of the CPGs is now correct, but I'm sorry to say:
their intarface with hugin is still partly flawed. And there are still
some bits missing.

I have installed hugin with your new installer, and I think you
haven't taken into account the point I have made previously about
autopano.exe. Please note that there are two different programs which
both use this name and are totally incompatible, as far as their
command lines are concerned.

The first one is autopano by A. Jenny. This is the one which your
installer installs as autopano.exe. It takes command line arguments
with leading slashes, and a valid set of arguments line [from the
hugin CPG settings dialog] looks something like

/allinone /path:%d /keys:%p /project:oto /name:%o /size:1024 /f %i

you use this command line in the 'autopano 103' settings. Quite
rightly this CPG is labeled as being of type 'autopano (by A. Jenny)'

The second one is autopano by S. Nowozin. your installer does not
install this one. I have a version 2.5.2 from a previous install; I'm
not entirely certain which installer installed it, because the newest
I can find on Nowozins web page is 2.3 or 2.4. This program takes
command line parameters with leading minusses, a valid command line
[from the hugin CPG settings dialog] looks like

autopano --maxmatches %p %o %k

and it is a different program altogether. It is used in the 'Autopano-
SIFT-C (multirow/stacked)' CPG setting as the second stage of the CPG
process. This two-stage-process also uses a program called
generatekeys.exe as it's first stage, which your installer does not
install, so the attempt to use 'Autopano-SIFT-C (multirow/stacked)'
fails for two reasons:

- generatekeys.exe is missing
- the wrong autopano.exe is called

> All of them work properly for me on a clean install except match-n-
> shift. When selected, hugin runs PTmender instead, but I can't figure
> out why.

If I understand match-n-shift correctly, it is a perl script which
combines several programs to achieve it's goal:

a) it calls PTmender to warp the images according to their projection
b) it calls generatekeys.exe to extract SIFT features from the warped
images
c) it uses autopano (by S. Nowozin, not A. Jenny) to create a pto

so the call to PTmender is only the first step. match-n-shift has to
have generatekeys.exe and autopano.exe (by S. Nowozin) present to
function.

So match-n-shift cannot work if it does not have both generatekeys and
autopano (by S. Nowozin).

Since match-n-shift seems to have the calls to generatekeys and
autopano hardcoded, and 'Autopano-SIFT-C (multirow/stacked)' also uses
these two programs by these names, I think the easiest way out is to
give autopano by A. Jenny a different name (like
autopano_by_jenny.exe) - or put it into a subdirectory, and change the
settings for 'Autopano 103' to call this program.

To get 'Autopano-SIFT-C (multirow/stacked)' and 'Match-n-shift' to
work, you must also install generatekeys.exe and autopano.exe (by S.
Nowozin). This will involve an additional download, since Nowozin also
uses the SIFT algorithm (correct me if I'm wrong).

I hope this will sort out the CPG issues with your installer! Thanks
for caring about the Windows side of things, it's about time a recent
version of hugin becomes available to Windows users by a route they
feel comfortable with.

with regards
KFJ







PhG

unread,
Sep 25, 2010, 6:22:12 AM9/25/10
to hugi...@googlegroups.com
this install is working fine on my win 2K SP4

:)

Bruno Postle

unread,
Sep 25, 2010, 8:52:45 AM9/25/10
to hugin and other free panoramic software
On Sat 25-Sep-2010 at 03:01 -0700, kfj wrote:
>
>If I understand match-n-shift correctly, it is a perl script which
>combines several programs to achieve it's goal:
>
>a) it calls PTmender to warp the images according to their projection
>b) it calls generatekeys.exe to extract SIFT features from the warped
>images
>c) it uses autopano (by S. Nowozin, not A. Jenny) to create a pto

This is an older version of match-n-shift, recent versions use
autopano-sift-c directly instead of generatekeys/autopano.

..but all the useful functionality of match-n-shift (support for
bracketed stacks, control-point cleaning) is now in Hugin, so really
there is no need to ship match-n-shift.exe with a Hugin installer.

--
Bruno

kfj

unread,
Sep 25, 2010, 11:43:10 AM9/25/10
to hugin and other free panoramic software


On Sep 25, 2:52 pm, Bruno Postle <br...@postle.net> wrote:

> This is an older version of match-n-shift, recent versions use
> autopano-sift-c directly instead of generatekeys/autopano.

Thanks for pointing that out. Where could I get a recent version of it
anyway?

KFJ

thePanz

unread,
Sep 25, 2010, 1:34:22 PM9/25/10
to hugin and other free panoramic software
Hi Mattew, thanks for your edits to my installer scripts! :)
And thank you for the Windows build (could you also provide a x64
one?)

On Sep 25, 4:23 am, Matthew Petroff <matt...@mpetroff.net> wrote:
> Control point generator settings are stored in the registry. To remove
> them you had to check "Clean Registry Settings" when you ran the
> uninstaller.
>
> I also made changes to Panomatic.nsh in order to take advantage of
> SourceForge mirrors. A random mirror from a list of ten is chosen for
> the download of Panomatic, and if it fails the other mirrors are tried
> until one works. In addition, I changed HuginSetup_common.nsh to set
> the default control point generator to one of the ones the installer
> downloads, if it does so.
> These changes are available here:http://www.box.net/shared/b8gg663s0g

I've added your changes into latest release my script (0.2.11)
available on BitBucket (I'll post it on SourceForce ASAP).

I've been a little busy in latest days, and I've found this thread
really interesting. In CPGs there are a lot of confusing settings and
binaries: maybe we can make a point on that, maybe listing all the
available (and download-able) CPG with their params to set in Hugin.
I'll then fix the installer according to your finding.. :)

Cheers

Matthew Petroff

unread,
Sep 25, 2010, 2:31:26 PM9/25/10
to hugin and other free panoramic software
On Sep 25, 8:52 am, Bruno Postle <br...@postle.net> wrote:
> there is no need to ship match-n-shift.exe with a Hugin installer.

I made further changes to the installer, removing match-n-shift and
the autopano option that used generatekeys.exe since they do not seem
necessary. I also added an install option to clean the registry before
installing, to prevent future confusions like KFJ had.

The installer is available here:
http://www.box.net/shared/lukhztu4q5

The changes are available here:
http://www.box.net/shared/u20j3zsxea

Matthew

kfj

unread,
Sep 25, 2010, 4:07:39 PM9/25/10
to hugin and other free panoramic software


On Sep 25, 8:31 pm, Matthew Petroff <matt...@mpetroff.net> wrote:

> I made further changes to the installer, removing match-n-shift and
> the autopano option that used generatekeys.exe since they do not seem
> necessary. I also added an install option to clean the registry before
> installing, to prevent future confusions like KFJ had.

Excellent! Now it all runs smoothly. Your solution to omit the
'Autopano-SIFT-C (multirow/stacked)' entry is actually the cleanest
solution, since the creation of panoramas from brackets with special
treatment for stacks is something quite advanced anyway. Best to leave
it out of the installer. I had looked into the matter today trying to
figure out ways to get around the need for Nowozin's autopano and
generatekeys to avoid the name conflict. Since Bruno proposed to omit
the match-n-shift, there was only the 'Autopano-SIFT-C (multirow/
stacked)' left. I played with it for a while and found out that the
two-stage process that involved generatekeys and autopano could be
simply exchanged by a one-step process, e.g. with panomatic, seemingly
without loss of functionality - but as I say, I think it's even better
without it altogether.
I haven't tried the registry-cleaning option yet, since I wanted to
have a path back in case things went amiss, but I'll try that out as
well and give you feedback, maybe tomorrow.
Thanks again for the nice installer!

with regards
KFJ

T. Modes

unread,
Sep 26, 2010, 3:18:49 AM9/26/10
to hugin and other free panoramic software
> Excellent! Now it all runs smoothly. Your solution to omit the
> 'Autopano-SIFT-C (multirow/stacked)' entry is actually the cleanest
> solution, since the creation of panoramas from brackets with special
> treatment for stacks is something quite advanced anyway. Best to leave
> it out of the installer.
That's simply wrong. The multirow/stack option has also advantages for
"simple" panoramas. It is faster (in most cases) in comparision to
match all images at once, and more important it reduces drastically
the risk of getting wrong connections/control points. If there are no
stacks, this step is simply skipped.
So with multi-row the cp detection is more robust and therefore a
newbie will get better results with it than with an "all in one"
setting.

Thomas

kfj

unread,
Sep 26, 2010, 7:51:32 AM9/26/10
to hugin and other free panoramic software


On Sep 26, 9:18 am, "T. Modes" <Thomas.Mo...@gmx.de> wrote:

> That's simply wrong. The multirow/stack option has also advantages for
> "simple" panoramas. It is faster (in most cases) in comparision to
> match all images at once, and more important it reduces drastically
> the risk of getting wrong connections/control points. If there are no
> stacks, this step is simply skipped.
> So with multi-row the cp detection is more robust and therefore a
> newbie will get better results with it than with an "all in one"
> setting.
>
Just removing it from the installer doesn't mean the user can't use it
in the future. It's just a matter of creating a new CPG entry and
populating it with the desired calls. I agree that stacks are a good
thing, that's why I tried to find a way of keeping the entry by
replacing the two-step CPG process involving autopano/generatekeys by
something the user might have already (he may or may not have any of
the CPGs, since the user can choose which to install).
I still feel the initial install is better off lean, but I it's just
my personal preference.
with regards
KFJ

T. Modes

unread,
Sep 26, 2010, 12:04:25 PM9/26/10
to hugin and other free panoramic software
> Just removing it from the installer doesn't mean the user can't use it
> in the future. It's just a matter of creating a new CPG entry and
> populating it with the desired calls. I agree that stacks are a good
> thing, that's why I tried to find a way of keeping the entry by
> replacing the two-step CPG process involving autopano/generatekeys by
> something the user might have already (he may or may not have any of
> the CPGs, since the user can choose which to install).

You can use the multi-row detector also with other cp detectors (like
panomatic, select then one-step detector).
But using the two-step approach (involving autopano/generatekeys from
autopano-sift-c) has advantages. In this case each image is only
probed once to find keypoints. The keypoints are cached to disc. At
the end the temp files are deleted.
If you call inside a script, you break this functionality.

Thomas

kfj

unread,
Sep 26, 2010, 1:20:49 PM9/26/10
to hugin and other free panoramic software


On Sep 26, 6:04 pm, "T. Modes" <Thomas.Mo...@gmx.de> wrote:
> You can use the multi-row detector also with other cp detectors (like
> panomatic, select then one-step detector).
> But using the two-step approach (involving autopano/generatekeys from
> autopano-sift-c) has advantages. In this case each image is only
> probed once to find keypoints. The keypoints are cached to disc. At
> the end the temp files are deleted.

I'd like to understand this process properly. I ran a test with a
panorama from 8 brackets of 3 images each, using align_image_stack as
the stack aligner and the generatekeys/autopano combination for the
interstack alignment. First CPs were generated for the 8 brackets and
put into my panorama. Then the second image of each stack was put to
the SIFT by generatekeys, resulting in 8 keyfiles. Next, there was a
pairwise comparison between sequentially adjacent keyfiles. What the
advantage of such a process over treating all second-in-stack images
with a one-pass CPG would be I cannot figure out, particularly since
finally there was another use of the previously generated keyfiles,
putting them all together into the autopano process. If they had been
looked at by a one-pass CPG, this step would have been unnecessary.
Over all, the SIFT algorithm was performed once per image, as would be
in a one-pass CPG, but rather than just lumping it all together into
one tree and doing a global match, there was some pairwise comparing
done.
What does one gain from the additional pairwise comparison? Or what am
I missing? If the SIFT keyfiles had been generated when the images in
the stacks were looked at by align_image_stack, there could have been
some gain, but I could not see anything along these lines happening.
Did I not look in the right place [my TEMP directory]? Or is there
something wrong with setting the whole panorama-of-stacks process like
I did?

Since I'm just in the process of asking questions concerning CPGs, let
me add these questions:

Is there a way to automatically sort the images into stacks by telling
hugin it's a series of brackets with N exposures each? I'm thinking
here along the lines of enfuse_align_droplet.bat

Is there a way to let hugin pick the first image of each bracket
rather than the second for the positioning run? My Canon does them
+/-0, -X, +X, and the default behaviour is rather inconvenient since
it will look at the underexposed images only which are really just
there to get the sky right.

Alternatively, is there a way to make hugin also find CPs for the
other two expoure levels [apart from manually]? This would make sense,
because different parts of the images become good sources for CPs with
different exposure levels.

with regards
KFJ

Bruno Postle

unread,
Sep 26, 2010, 6:58:18 PM9/26/10
to hugin and other free panoramic software

It is part of Panotools::Script:
http://search.cpan.org/dist/Panotools-Script

I used to upload occasional Windows .exe of the various scripts, but
not lately. The current match-n-shift makes heavy use of Makefiles,
which, although it has been coded to be cross-platform, has had no
testing on Windows as far as I know.

--
Bruno

Bruno Postle

unread,
Sep 26, 2010, 7:11:53 PM9/26/10
to hugin and other free panoramic software
On Sun 26-Sep-2010 at 10:20 -0700, kfj wrote:
>
>I'd like to understand this process properly. I ran a test with a
>panorama from 8 brackets of 3 images each, using align_image_stack as
>the stack aligner and the generatekeys/autopano combination for the
>interstack alignment. First CPs were generated for the 8 brackets and
>put into my panorama. Then the second image of each stack was put to
>the SIFT by generatekeys, resulting in 8 keyfiles. Next, there was a
>pairwise comparison between sequentially adjacent keyfiles. What the
>advantage of such a process over treating all second-in-stack images
>with a one-pass CPG would be I cannot figure out, particularly since
>finally there was another use of the previously generated keyfiles,
>putting them all together into the autopano process. If they had been
>looked at by a one-pass CPG, this step would have been unnecessary.
>Over all, the SIFT algorithm was performed once per image, as would be
>in a one-pass CPG, but rather than just lumping it all together into
>one tree and doing a global match, there was some pairwise comparing
>done.
>What does one gain from the additional pairwise comparison? Or what am
>I missing?

The matching of every photo with every other photo is 'expensive' in
computation, particularly with projects with hundreds of photos.
Worse than that, nearly all the comparisons between photos are
between pairs that don't actually overlap, even a small
false-positive rate results in enough 'bad' control points to
completely wreck a project.

The 'multirow' method only compares photos that are very likely to
overlap, so there are many fewer errors even with huge projects
(The generatekeys/autopano pair isn't ideal for this as they
exchange data via XML, which is slow, the new cpfind tool in the
Hugin default branch shouldn't have this problem).

align_image_stack is much better at matching photos with varying
exposure than autopano-sift-c. It is also fast since it assumes an
almost-aligned stack.

--
Bruno

Yuval Levy

unread,
Sep 27, 2010, 12:06:28 AM9/27/10
to hugi...@googlegroups.com
On September 26, 2010 03:18:49 am T. Modes wrote:
> The multirow/stack option has also advantages for
> "simple" panoramas.

it is IMHO probably the best default choice. Advanced users can fiddle with
other things if they want.

Yuv

signature.asc

Yuval Levy

unread,
Sep 27, 2010, 12:06:33 AM9/27/10
to hugi...@googlegroups.com
On September 24, 2010 11:24:40 am kfj wrote:
> The newly installed CPGs and the CPG settings (also for the missing
> ones) produce problems on my system. match-n-shift won't run - now
> this may be because I don't have ImageMagick installed

and because Windows does not have a proper package management system, so it is
not possible for the installer to know what you do or don't have. The
solution would be for the installer to also install ImageMagick if it is
possible to check whether it is already present before doing so.


> As far as autopano is concerned, there is a name conflict here with
> autopano by A. Jenny and autopano by S. Nowozin, which is a different
> thing altogether. A. Jenny's is used as standalone CPG, whereas
> Nowozin's is used with existing .key files (like in conjunction with
> generatekeys), if my understanding is correct.

the name autopano has been over-used. the above two tools are unmaintained and
for all practical purpose it is better to ignore them / remove them from the
installer all together.


> And the settings for autopano-sift-c include '--projection %f,%v',
> which does not work with the autopano-sift-c.exe I took from my
> previous installation [version 2.5.2] (since the installer didn't
> actually install it).

autopano-sift-c is the only one in the "autopano" series (i.e. SIFT-based CP
detectors) worth considering, but it too has problems. 2.5.2 is broken, use
2.5.1 instead.


> I think the CPG deployment needs some finetuning ;)

That's a nice understatement. In terms of software deployment in general
Windows is a pain because of the lack of package manager. You should really
give Kubuntu a try. There is, of course, a learning curve, but I think you'll
be delighted.

Yuv

signature.asc

kfj

unread,
Sep 27, 2010, 9:27:00 AM9/27/10
to hugin and other free panoramic software


On Sep 27, 6:06 am, Yuval Levy <goo...@levy.ch> wrote:

> Windows is a pain because of the lack of package manager.  You should really
> give Kubuntu a try.  There is, of course, a learning curve, but I think you'll
> be delighted.

Actually I'm runing a double boot system with Windows XP SP3 and
Ubuntu studio 9.x. on a Thinkpad. But it's a handcrafted setup where
the Windows System partition is encrypted with Truecrypt and the whole
show is still booted with grub legacy using some dirty tricks copying
specific sectors to and fro. I just daren't update it because last
time I had a double boot system like that, upgrading linux just
totally f....d up my setup, resulting in me having to repartition,
restore... it took days of work. Ubuntu now uses grub 2, I haven't the
faintest clue if it will respect my setup, let alone understand that
it mustn't touch anything after, I think, the 8th sector of the disk,
let alone install grub 2 over it. I have toyed with installing Ubuntu
10.4 into my (encrypted) Windows partition and play with it a bit, but
I still haven't done it, because I'm still annoyed with Ubuntu for
wrecking another double-boot-system (also laptop, but no Truecrypt) I
tried to upgrade from 9.4 to 9.10 just a couple of weeks ago, and then
when I tried to istall 10.4 post-recovery, it went black-screen on me
no matter how hard I tried. It's not all so fantastic in the Linux
universe, and if you go off the beaten track with an Ubuntu system
(like, install bleeding edge software instead of the Canonical-
sanctioned versions that come with your distro) you may find yourself
in similar situations as a windows user who's got some old version of
something that doesn't cooperate with something else.
Ah, I'll stop whining and complaining, and, yes, I should do more on
Linux, it'd be so much more my style - but I'm only human and my
Windows system is running so smoothly I can't get myself to invest a
couple of weeks to recreate my software environment in Linux. And now
I even have hugin 2010.2.0, and it works well so far!
with regards
KFJ

kfj

unread,
Sep 27, 2010, 9:27:25 AM9/27/10
to hugin and other free panoramic software


On Sep 27, 1:11 am, Bruno Postle <br...@postle.net> wrote:
> On Sun 26-Sep-2010 at 10:20 -0700, kfj wrote:
>

> The matching of every photo with every other photo is 'expensive' in
> computation, particularly with projects with hundreds of photos.  
> Worse than that, nearly all the comparisons between photos are
> between pairs that don't actually overlap, even a small
> false-positive rate results in enough 'bad' control points to
> completely wreck a project.
>
I think there are two different approaches in dealing with multiple
images. One is to actually match every image with every other,
pairwise. Naturally, the increase in computation time with the number
of images will be quadratic (or worse because less data is close by,
like cached). Panomatic uses this method, at least if run with the
default settings, and, indeed, from a few ten images up it becomes a
very lengthy process. But other programs like Jenny's autopano seem to
put all feature vectors into one big pool and work on them in one go
which still takes longer if there are more images, but since it's some
tree structure it is _much_ better than quadratic (logarithmic?). In
my experience, the false-positives aren't so much of a problem - and I
think the new method to remove false-positives by a statistical method
seems to get rid of any that are left quite effectively. It's an
interesting topic, though, and I sometimes feel that keeping the SIFT
or SURF keys one has spent time on computing for further reference if
the images ever have to be touched again would be a nice thing. I have
actually missed the ability to export the SIFT/SURF keys from most
CPGs, in whatever format they might allow for that.

> (The generatekeys/autopano pair isn't ideal for this as they
> exchange data via XML, which is slow

quite right, should be something more compact, probably best binary...
If these data are kept, more sophisticated matching schemes become
feasible - the question is just if the 'throw them all in and match
them together' approach isn't so effective that other approaches
simply don't promise much gain.

with regards
KFJ

Yuval Levy

unread,
Sep 27, 2010, 11:03:41 AM9/27/10
to hugi...@googlegroups.com
On September 27, 2010 09:27:25 am kfj wrote:
> the increase in computation time with the number
> of images will be quadratic (or worse

computation time is not the real issue here (unless you waste your time
waiting in front of the computer while it does the job).

false positives between non-adjacent images are the real issue.


> my experience, the false-positives aren't so much of a problem

it's very much dependent on the type of scene and the lens focal distance.
You might just not be shooting the kind of panos that do exhibit this kind of
problem.


Yuv

signature.asc

Matthew Petroff

unread,
Sep 27, 2010, 2:08:23 PM9/27/10
to hugin and other free panoramic software
On Sep 25, 1:34 pm, thePanz <thep...@gmail.com> wrote:
> And thank you for the Windows build (could you also provide a x64
> one?)

I finally was able to setup a build environment for x64. However, I do
not have a 64bit Windows installation so the build is untested.

The build is available here:
http://www.box.net/shared/3ivhx5h75l

An installer is available here:
http://www.box.net/shared/b4jdoc8kki

In regards to control point generators, is it possible to use single
step generators (panomatic/autopano-SIFT-C) with modes other than "all
images at once?" I tried to do so but got strange results. Panomatic
added 0 control points for all of the other modes, while autopano-SIFT-
C added tight groupings of control points that did not match.

Matthew

thePanz

unread,
Sep 28, 2010, 5:12:29 AM9/28/10
to hugin and other free panoramic software
Hi, I've updated my installers with some new features and fixed the
Multirow/stacked control point generation.
Further details (and downloads) are here:
http://thepanz.netsons.org/post/hugin-2010-2-0-rc1-installer

@Yuv: sorry for my delay! In reply to your eMail about
subrepositories, what I mean for Mercurial Sub-Repositories is here:
http://mercurial.selenic.com/wiki/Subrepositories, we could "split"
Hugin (core) development from various installers. The main feature
that I'd like to add is a CMake script to full automatic installer
generation, unfortunately I've never used CMake :(

Thank you for your time!

Cheers

Oskar Sander

unread,
Sep 28, 2010, 6:50:42 AM9/28/10
to hugi...@googlegroups.com
Hey there!

I just sucessfully downloaded your 32b installer with all controll point generators and it seems to work perfectly so far!  Tanks alot!



One problem i seem always have lately with the hugin kits, is the enblend.exe doesnt run on my XP.   "The system cannot execute the specified command"
this happens for both the ordinary and the openmp versions.

Funny enough, I can run enblend_GPU, which I always substitute from an old version.

Please enlighten me, is there HW differences that these programs rely on  (naively i would expect the GPU verion being most sensitive to HW differences)

Cheers


2010/9/28 thePanz <the...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx



--
/O

Yuval Levy

unread,
Sep 28, 2010, 7:43:11 AM9/28/10
to hugi...@googlegroups.com
Hi Oskar,

On September 28, 2010 06:50:42 am Oskar Sander wrote:
> One problem i seem always have lately with the hugin kits, is the
> enblend.exe doesnt run on my XP. "The system cannot execute the specified
> command"
> this happens for both the ordinary and the openmp versions.

what processor do you have in your system?


> Funny enough, I can run enblend_GPU, which I always substitute from an old
> version.

in the GPU version, it is the video card that runs the show. So: what video
card do you have?


> Please enlighten me, is there HW differences that these programs rely on
> (naively i would expect the GPU verion being most sensitive to HW
> differences)

they are both sensitive to different parts of the hardware. I have added an
FAQ [0], [1] but even my little Atom supports SSE2 so I am "blind". Can you
please check it is correct and update if necessary?

Yuv

[0]
http://wiki.panotools.org/Hugin_FAQ#Enblend:_The_system_cannot_execute_the_specified_command
[1] http://wiki.panotools.org/Hugin_FAQ#Enblend-
Enfuse_OpenMP_SSE_GPU:_which_one_is_the_right_one_for_me.3F

signature.asc

Oskar Sander

unread,
Sep 28, 2010, 9:47:00 AM9/28/10
to hugi...@googlegroups.com
Thanks,

My computer is running XP Professional SP2,   Intel Core2 Duo P8600, 2.4GHz

Before adding that to the list of non-supported CPUs, shoudnt that generation have the SSE2?

Cheers

2010/9/28 Yuval Levy <goo...@levy.ch>



--
/O

T. Modes

unread,
Sep 28, 2010, 11:47:37 AM9/28/10
to hugin and other free panoramic software
Hi Oskar,

>
> My computer is running XP Professional SP2,   Intel Core2 Duo P8600, 2.4GHz
>
> Before adding that to the list of non-supported CPUs, shoudnt that
> generation have the SSE2?
>
have you installed the Microsoft Visual C++ 2008 Redistributable
Package (x86)?
This is necessary to run the openmp version (as stated in the README)

Thomas

Yuval Levy

unread,
Sep 28, 2010, 7:58:42 PM9/28/10
to hugi...@googlegroups.com, T. Modes

it's definitely not lack of SSE2 support with an Intel Core2 Duo. Obviously I
have been away from Windows for too long and did not know about the MSVC
redistributable.

I have updated the first FAQ [0].

I have an issue with your "fixes" to the second FAQ [1], Thomas.

First of all, you have made it completely Windows-centric. The choices exist
also for other platform. For example the most current build for Debian /
Ubuntu has enblend-mp and enfuse-mp (for the OpenMP support).

Second, you made the assumption that everybody build always with GPU. Maybe
that's how you built your binaries, which I understand are on the SF download
page. But --enable-gpu-support=CHECK/yes/no ist still a build-time option and
so the category with/without GPU support is a relevant one.

Please fix

signature.asc

T. Modes

unread,
Sep 29, 2010, 11:53:48 AM9/29/10
to hugin and other free panoramic software
Hi Yuv,

>
> I have an issue with your "fixes" to the second FAQ [1], Thomas.
>
I reverted the changes.

> First of all, you have made it completely Windows-centric.  The choices exist
> also for other platform.  For example the most current build for Debian /
> Ubuntu has enblend-mp and enfuse-mp (for the OpenMP support).

But this was not in the FAQ. It stated only that there are 4 variants
and which advantage/disadvantage each have. But it does not say how to
identify a specific version or that the OpenMP version is called
enblend_mp. Or if enblend or enblend_mp is build with GPU support. But
this are the informations a newbie would expect/need to come to a
decision, which version is the right for him.

>
> Second, you made the assumption that everybody build always with GPU.  Maybe
> that's how you built your binaries, which I understand are on the SF download
> page.  But --enable-gpu-support=CHECK/yes/no ist still a build-time option and
> so the category with/without GPU support is a relevant one.
>
You are only partially correct. Even if enblend is build with gpu
support, the gpu is not used by default for blending images. So in the
default calling (enblend -o output input1 input2 ...) an enblend
without and with gpu support behave the same. You need to specify the -
g switch to use the gpu.

Thomas

Yuval Levy

unread,
Sep 29, 2010, 8:44:12 PM9/29/10
to hugi...@googlegroups.com
Hi Thomas,

On September 29, 2010 11:53:48 am T. Modes wrote:
> Hi Yuv,
>
> > I have an issue with your "fixes" to the second FAQ [1], Thomas.
>
> I reverted the changes.

I have a different definition for "revert". I would say you "fixed", and now
we have two separate versions. you just renamed yours into another question.
But we have an inconsistency. How many categories of enblend-enfuse are
there?

> > First of all, you have made it completely Windows-centric. The choices
> > exist also for other platform. For example the most current build for
> > Debian / Ubuntu has enblend-mp and enfuse-mp (for the OpenMP support).
>
> But this was not in the FAQ. It stated only that there are 4 variants
> and which advantage/disadvantage each have.

Indeed, that FAQ was a generic, simplified description of the relevant build
options. It makes sense to put additional, platform-specific information in
separate, related questions, as you did. good start.

But I must criticize your version. It assumes that nobody built a version
without GPU support. You can control your builds; and you can control what
goes on the official website. But people download enblend-enfuse builds from
all sorts of places and so you can't assume that all builder exercise the care
that you do in selecting what they build and distribute.


> But it does not say how to
> identify a specific version or that the OpenMP version is called
> enblend_mp. Or if enblend or enblend_mp is build with GPU support.

because I don't know. If somebody know, they can add the information.
Andreas?

we have to be careful with assumptions. The advantage of Debian/Ubuntu is
that there is an official repository, so if somebody types `sudo apt-get
install enblend` I can reasonably assume that he received the packages built
by Andreas. But even on Ubuntu, somebody can download a .deb file from a
third party site and then I can no longer assume names nor features. The
default enblend-enfuse build will call those binaries enblend and enfuse, no
matter what features are selected at build time.

the right way to address this tricky situation in your FAQ is to state that
"if you downloaded a binary *from the official site*" then there are only
those three builds/categories.


> But
> this are the informations a newbie would expect/need to come to a
> decision, which version is the right for him.

Disagree. If the FAQ was for a newbie, I would write it this way:

Q: wich version of enfuse-enblend is the right one for a Windows newbie?

A: download an official version from the enblend website (put a link). there
are three versions available:
1. if you have a modern multi-core CPU, _openMP is for you
2. if you have an old CPU that does not support SSE2, _NOSSE is for you
3. if blending fails and you are using large images, try the standard/default
version.

If you downloaded your enblend version from another source, you can find out
which features it supports with `enblend -v -V`.

(1) "Extra feature: OpenMP: yes" then it is the OpenMP version
(2), **I don't even know how to identify a NOSSE version
(3) "Extra feature: image cache: yes" then it may be the normal version,
however the normal version could also be compiled without image cache
(4) another interesting piece of information to look for is "Extra feature:
GPU acceleration: yes" - official builds all have this feature enabled, but it
is possible that the version you downloaded is not GPU enabled. To use the
GPU when stitching, pass the option --gpu

see, there are four big categories with variations, not just three, even if it
makes sense to offer only three for download.



> > Second, you made the assumption that everybody build always with GPU.
> > Maybe that's how you built your binaries, which I understand are on the
> > SF download page. But --enable-gpu-support=CHECK/yes/no ist still a
> > build-time option and so the category with/without GPU support is a
> > relevant one.
>
> You are only partially correct. Even if enblend is build with gpu
> support, the gpu is not used by default for blending images. So in the
> default calling (enblend -o output input1 input2 ...) an enblend
> without and with gpu support behave the same. You need to specify the -
> g switch to use the gpu.

no, you are off-topic. the topic was "which versions of enblend are there",
not "how do I use them". that said, it makes sense to make the user aware
that they need to pass the --gpu switch (-g is a gimp related option), so I
updated the FAQ.

now please solve the inconsistency/confusion and don't mention that there are
three categories of enblend, but that the official site offers three specific
versions for download.

Yuv

signature.asc

Yuval Levy

unread,
Sep 29, 2010, 8:54:22 PM9/29/10
to hugi...@googlegroups.com
ciao Emanuele,

On September 28, 2010 05:12:29 am thePanz wrote:
> what I mean for Mercurial Sub-Repositories is here:
> http://mercurial.selenic.com/wiki/Subrepositories, we could "split"
> Hugin (core) development from various installers.

Interesting. But there are a lot of caveats. We'll need some testing to see
if/how this will work on SourceForge.

> The main feature
> that I'd like to add is a CMake script to full automatic installer
> generation, unfortunately I've never used CMake :(

look at this as an opportunity to start learning CMake :-)

Yuv

signature.asc

Oskar Sander

unread,
Sep 30, 2010, 4:03:35 AM9/30/10
to hugi...@googlegroups.com
Hi!

I must admitt i am not the best in class reading READMEs.Installing that runtime library fixed my enblend problem.

However, I had the same problem with both enblend_openmp.exe  and enblend.exe

So it seems like there is a dependency (wrong?) also with the ordinary enblend version?


Anyway,  the open mp wersion use the dual cores better i suppose, right? Looking at the trends for the future, it seems like the Moores law for cpu power will continue to apply, however now by adding multiples of cores instead of just add sheer speed to each core.  So, processes that can split the task may be the ones that prevail.  GPUs will probably also continue to increase capacity, but to me it does not seem to be as a generic solution, right?


Cheers
/O



2010/9/28 T. Modes <Thomas...@gmx.de>

--
You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx



--
/O

thePanz

unread,
Sep 30, 2010, 9:22:51 AM9/30/10
to hugin and other free panoramic software
> ciao Emanuele,
Ciao Yuval (I noticed now that this isn't the first time you write me
in Italian ;) )

> > what I mean for Mercurial Sub-Repositories is here:
> >http://mercurial.selenic.com/wiki/Subrepositories, we could "split"
> > Hugin (core) development from various installers.
>
> Interesting.  But there are a lot of caveats.  We'll need some testing to see
> if/how this will work on SourceForge

You're right.. maybe you can create a new repository only for
HuginSetup where I can commit my changes.. then we'll keep in sync or
try to use those new Mercurial Features... what do you think?


> look at this as an opportunity to start learning CMake :-)
eheh, nice idea.. ;) unfortunately I'm not into C coding (compiling,
making, and so on..) from too much time now.. and from my latest
researches I found that CMake requires some Visual Studio install :(
Maybe when I'll have some free time left from my PhD courses I'll try
to dig into CMake scripting! :)

Cheers

Yuval Levy

unread,
Sep 30, 2010, 12:42:28 PM9/30/10
to hugi...@googlegroups.com
Hi Oskar,

On September 30, 2010 04:03:35 am Oskar Sander wrote:
> I must admitt i am not the best in class reading READMEs.Installing that
> runtime library fixed my enblend problem.

what is Microsoft's license about distributing the runtime? If I was
building/distributing an installer with an enblend binary, I would either
bunde the runtime inside the installer or detect its presence and download it
at install time.


> Anyway, the open mp wersion use the dual cores better i suppose, right?
> Looking at the trends for the future, it seems like the Moores law for cpu
> power will continue to apply, however now by adding multiples of cores
> instead of just add sheer speed to each core. So, processes that can split
> the task may be the ones that prevail. GPUs will probably also continue to
> increase capacity, but to me it does not seem to be as a generic solution,
> right?

the GPU vs. CPU choice is more complex than that. If speed is your concern,
update to the latest video card graphics and run a quick timed test with and
without `--gpu`

Yuv

signature.asc