Hugin-2009.4.0_rc1 source code released

View: New views
20 Messages — Rating Filter:   Alert me  

Hugin-2009.4.0_rc1 source code released

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Panorama stitching and more. A powerful software package for creation
and processing of panoramic images.

hugin-2009.4.0_rc1 (release candidate 1) tarball is available here:

<https://sourceforge.net/projects/hugin/files/hugin-2009.4_beta/hugin-2009.4.0_rc1.tar.gz/download>

This is a candidate release and may be declared final on October 31.

CHANGES SINCE LAST BETA:

     *  updated translations:

      - Czech (Lukáš Jirkovský, Vaclav Cerny)
      - Dutch (Harry van der Wolf)
      - French (Jean-Luc Coulon)
      - German (Joachim Schneider)
      - Swedish (Ulf Wilhelmson)

     * improved plattform support

      - CMake build (Kornel Benko)
      - Windows Installer (Allard Katan)

     * bug fixes (Thomas Modes)


MAJOR CHANGES SINCE 2009.2.0:

     * Automated Lens Calibration: a new command line tool to extract
automatically lens correction parameters. (Tim Nugent)

     * New pruning of bad control points by means of statistical method.
Clean control points button on the Images tab. (Thomas Modes)

     * Improved usability, particularly crop settings and help which now
uses the system's default browser. The handbook itself still needs work,
styling and translation. (Yuval Levy)

     * Lots of bugfixes, hopefully not so many new bugs.

See README, ChangeLog and INSTALL_cmake for more information.

This release is tagged in the subversion repository as
/hugin/tags/hugin-2009.4.0_rc1 at revision 4598.

SHA1SUM: ee761ee7c28f09d83ed3f94765a3faa82368bd7f hugin-2009.4.0_rc1.tar.gz

Recent Hugin binary installers for testing are provided by the users
communities and can be found here:

<http://panospace.wordpress.com/downloads/>

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Andreas Metzler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Yuval Levy <google@...> wrote:
[...]
>     * Improved usability, particularly crop settings and help which now
> uses the system's default browser.
[...]

Hello,
This does not work for me at all. I somehow get the feeling that the
respective wx-function *requires* KDE or GNOME instead of
using/falling back to to /etc/{mailcap,mime.types} if necessary.

Could hugin perhaps fall back to old-style-help if lauching the
browser fails?

cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Andreas Metzler wrote:

> Yuval Levy <google@...> wrote:
> [...]
>>     * Improved usability, particularly crop settings and help which now
>> uses the system's default browser.
> [...]
>
> Hello,
> This does not work for me at all. I somehow get the feeling that the
> respective wx-function *requires* KDE or GNOME instead of
> using/falling back to to /etc/{mailcap,mime.types} if necessary.
>
> Could hugin perhaps fall back to old-style-help if lauching the
> browser fails?

My understanding is that this would be a wxWidgets issue. Have you
thought of filing a bug report there?

While adding the fall back would not be technically difficult, and I am
likely to release another release candidate before the expected final
release on October 31, I am very reluctant to fall back on
old-style-help - unless there is enough critical mass to the request.

For all practical purposes old-style-help was dysfunctional for a
contemporary help system with hyperlinks. And when the average user
faces this dysfunction, the blame falls on... you guess it.

So I'm inclined to put an explanation how to remedy the failure (please
install a contemporary web browser). IMO it is safe to assume that a
system running a modern GUI application like Hugin has at least the
resources to run an applicable web browser. We are not asking the user
to be connected to the www (which would be unreasonable IMO).

Using proper web-pages / web-standards for the documentation is for me a
first step toward injecting more dynamic into the documentation process.
I hope to create a welcoming environment for users to contribute to the
documentation - with tutorials, images, maybe even animations and
movies. Improving documentation's quantity / quality / translation.

The limit will be the minimum common functionality of all viable
browsers. I don't want to put an even lower limit on users by using
old-style-help. In the explanation we can refer them to the wiki, but
that would require proper web browser *and* www connection. And we can
refer them to the man pages and other text based help, but that is very
minimal and hardly maintained, while with an HTML help system based on
widely adopted standards we may even get to a Docbook or other modern,
managed documentation system that produces different outputs, including
PDF for print (another alternative for those who do not have a
functional and modern web browser).

What do other think of this? is the new help also limiting for them
because it implies the presence of a modern web browser?

Yuv

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Andreas Metzler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Yuval Levy <google@...> wrote:
> Andreas Metzler wrote:
>> Yuval Levy <google@...> wrote:
>> [...]
>>>     * Improved usability, particularly crop settings and help which now
>>> uses the system's default browser.
>> [...]

>> Hello,
>> This does not work for me at all. I somehow get the feeling that the
>> respective wx-function *requires* KDE or GNOME instead of
>> using/falling back to to /etc/{mailcap,mime.types} if necessary.

>> Could hugin perhaps fall back to old-style-help if lauching the
>> browser fails?

> My understanding is that this would be a wxWidgets issue. Have you
> thought of filing a bug report there?

You are probably right. I will try whether wxWidgets upstream is as
responsive as you are. ;-)

[...]
> So I'm inclined to put an explanation how to remedy the failure (please
> install a contemporary web browser).

export BROWSER=firefox
would probaly work.

> IMO it is safe to assume that a
> system running a modern GUI application like Hugin has at least the
> resources to run an applicable web browser. We are not asking the user
> to be connected to the www (which would be unreasonable IMO).

I think you are misunderstanding me. I have got a webbrowser installed,
but hugin does not find it since it relies on KDE/Gnome
infrastructure to do so.

I have snipped your reasons why you do not want to rely the wx-help
anymore since your arguments were convincing.

For Debian I think we are going to use a patch like this one:
------------------------------------------
diff -NurbBp a/src/hugin1/hugin/MainFrame.cpp b/src/hugin1/hugin/MainFrame.cpp
--- a/src/hugin1/hugin/MainFrame.cpp 2009-10-11 07:48:35.000000000 +0200
+++ b/src/hugin1/hugin/MainFrame.cpp 2009-10-11 14:53:16.000000000 +0200
@@ -1131,10 +1131,14 @@ void MainFrame::DisplayHelp(wxString sec
         return;
     }
     DEBUG_INFO("help file: " << strFile.mb_str(wxConvLocal));
-    if(!wxLaunchDefaultBrowser(strFile))
+    /* if(!wxLaunchDefaultBrowser(strFile)) */
+    {
+        wxString cmd = wxT("sensible-browser ") + strFile;
+        if (!::wxExecute(cmd, wxEXEC_ASYNC))
     {
         wxLogError(_("Can't start system's web browser"));
     }
+    }
 }
 
 void MainFrame::OnTipOfDay(wxCommandEvent& WXUNUSED(e))
------------------------------------------

Does this look ok? (sensible-browser is Debian specific script that
searches for a install browser and invokes the prefered one.

thanks, cu andreas

--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Bruno Postle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sun 11-Oct-2009 at 11:25 -0400, Yuval Levy wrote:
>While with an HTML help system based on widely adopted standards we
>may even get to a Docbook or other modern, managed documentation
>system that produces different outputs, including PDF for print

Using the panotools wiki has the advantage that we get to use the
'Glossary' pages from the wiki which makes the manual much more
useful.  We'll lose that connection if we fork.

Alexandre has suggested that we could move to flossmanuals, this has
translation support:

http://en.flossmanuals.net/

Also since I've written most of the 'manual' pages, I'd like to see
some commitment from others to improve it before we do the work to
change the infrastructure.

Note that the shipped 2009.2.0 manual was out-of-date, as will the
2009.4.0 manual.  Getting the manual up-to-date is much less work
than migrating it.

--
Bruno

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Bruno Postle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sun 11-Oct-2009 at 18:25 +0200, Andreas Metzler wrote:
>
>I think you are misunderstanding me. I have got a webbrowser installed,
>but hugin does not find it since it relies on KDE/Gnome
>infrastructure to do so.

My desktop is Gnome (Centos4), but Hugin launches the manual in
Konqueror.

--
Bruno

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by allard-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Yuv,

I haven't updated my installer script for this release yet. Will have
to make some adaptations and test with this version. No time right now
to test anything but will find some before that oct 31 date I think.

Allard

On Oct 11, 12:15 am, Yuval Levy <goo...@...> wrote:
> Panorama stitching and more. A powerful software package for creation

>
> CHANGES SINCE LAST BETA:
>

>      * improved plattform support
>
>       - CMake build (Kornel Benko)
>       - Windows Installer (Allard Katan)
>
>

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Allard,

allard wrote:
> I haven't updated my installer script for this release yet. Will have
> to make some adaptations and test with this version. No time right now
> to test anything but will find some before that oct 31 date I think.

don't worry. I'm running forward with the code. This is what these
releases are all about. They are known to build on Windows/Mac/Linux and
work on the machines of those who do build them from source.

The installers / bundle don't have to follow the same, reckless pace.

It won't last forever. We're half way through with the pending
intergration work. I expect that early next year we'll have a quieter
phase and we can go about polishing binaries, handbooks, and so on.

thanks for your contribution
Yuv

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Bruno Postle wrote:
> My desktop is Gnome (Centos4), but Hugin launches the manual in
> Konqueror.

is this intended? i.e. is Konqueror your default web browser?
Yuv



--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Bruno Postle wrote:
> Using the panotools wiki has the advantage that we get to use the
> 'Glossary' pages from the wiki which makes the manual much more
> useful.  We'll lose that connection if we fork.

every tool has plus and minuses.


> Alexandre has suggested that we could move to flossmanuals, this has
> translation support:
>
> http://en.flossmanuals.net/

whoever does this should consider the pros and cons of flossmanuals. I
don't know enough about its back-end to judge. I do know that as a user
I find some things that I want there - PDF to download; printed book to
buy. One mandatory condition for me is that the whole HTML manual be
navigable locally, off-line.


> Also since I've written most of the 'manual' pages, I'd like to see
> some commitment from others to improve it before we do the work to
> change the infrastructure.

You mean the current HTML manual? or do you mean plain text man pages?


> Note that the shipped 2009.2.0 manual was out-of-date, as will the
> 2009.4.0 manual.  Getting the manual up-to-date is much less work
> than migrating it.

you mean getting up to date the wiki pages?

Yuv



--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Bruno Postle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sun 11-Oct-2009 at 21:41 -0400, Yuval Levy wrote:
>
>> Also since I've written most of the 'manual' pages, I'd like to see
>> some commitment from others to improve it before we do the work to
>> change the infrastructure.
>
>You mean the current HTML manual? or do you mean plain text man pages?

The HTML (wiki) manual is important, the man pages are irrelevant to
the vast majority of users.  We need to have man pages, and if
somebody wants to improve them then that is great, but so long as
there is no disinformation in them they can stay as they are.

>> Note that the shipped 2009.2.0 manual was out-of-date, as will the
>> 2009.4.0 manual.  Getting the manual up-to-date is much less work
>> than migrating it.
>
>you mean getting up to date the wiki pages?

Yes, the wiki Hugin_* pages that don't reference 2009.2.0 features
need to be updated.  Basically, the Stitcher and Images tabs have
changed a bit, the Preferences have changed a lot

--
Bruno

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Bruno Postle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sun 11-Oct-2009 at 21:35 -0400, Yuval Levy wrote:
>Bruno Postle wrote:
>> My desktop is Gnome (Centos4), but Hugin launches the manual in
>> Konqueror.
>
>is this intended? i.e. is Konqueror your default web browser?

Nope, I didn't even realise it was installed on the system until
Hugin launched it for me.

--
Bruno

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Bruno Postle wrote:
> On Sun 11-Oct-2009 at 21:35 -0400, Yuval Levy wrote:
>> Bruno Postle wrote:
>>> My desktop is Gnome (Centos4), but Hugin launches the manual in
>>> Konqueror.
>> is this intended? i.e. is Konqueror your default web browser?
>
> Nope, I didn't even realise it was installed on the system until
> Hugin launched it for me.
>

File a bug report at <http://trac.wxwidgets.org/>

Yuv

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Bruno Postle wrote:
> The HTML (wiki) manual is important, the man pages are irrelevant

agree.


> Yes, the wiki Hugin_* pages that don't reference 2009.2.0 features
> need to be updated.  Basically, the Stitcher and Images tabs have
> changed a bit, the Preferences have changed a lot

Wiki editing is not difficult for the average user. No particular extra
tools required. We need to make potential volunteers aware. I put a
quick and dirty note on our homepage.

Yuv

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Rogier Wolff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sun, Oct 11, 2009 at 03:15:34AM -0400, Yuval Levy wrote:
>
> Panorama stitching and more. A powerful software package for creation
> and processing of panoramic images.
>
> hugin-2009.4.0_rc1 (release candidate 1) tarball is available here:

OK. I downloaded from SVN. rev 4623 it told me.

I'm working on my first HDR pano. I wasn't happy with the results so
before complaining I upgraded to 2009.4.0_rc1.

(Among other things I think I saw it just calling enblend on the whole
set of 45 images, instead of hdr-merging (enfuse) each stack and then
blending (enblend) those images. )

Anyway, I loaded my project in 4.0_rc1, and stitched it. Now I clearly
see it doing enfuse on the stacks, and then blending the resulting images.

I still have the dark/light bands, leaving the impression it is using
an under-exposed image in one stack and then teh normal image from the
next stack...

Anyway, I still have some ghosting because everything is not correctly
alighned, so I added a bunch of control points. "realingment needed" so
I click optimize!

Next it warns me that a very small V value has been found, do I accept
the results? I click yes, and it's been consuming CPU time since then.
100% for ten minutes. No gui responses nothing.

I'm going to kill it and lose the control points I added. I'm not
happy. :-(

        Rogier.

--
** R.E.Wolff@... ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement.
Does it sit on the couch all day? Is it unemployed? Please be specific!
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Parent Message unknown Re: Hugin-2009.4.0_rc1 source code released

by Rogier Wolff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, Oct 13, 2009 at 12:09:50AM +0200, Rogier Wolff wrote:
> I'm going to kill it and lose the control points I added. I'm not
> happy. :-(

I added those control points again. Ran the optimize again, this time
from the optimizer tab and checking the "v" box before optimizing.  It
came up with the "v is very small are you sure?" again. I clicked no,
saved my project, optimized again and clicked yes this time. The
problem reproduces cleanly: It's stuck again.

I'll try to upload a test-set after some sleep.

        Roger.

--
** R.E.Wolff@... ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement.
Does it sit on the couch all day? Is it unemployed? Please be specific!
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by T. Modes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> MAJOR CHANGES SINCE 2009.2.0:
>
>      * Automated Lens Calibration: a new command line tool to extract
> automatically lens correction parameters. (Tim Nugent)
>

It would be nice, if there would be a short documentation of the tool.
The output is not self explaining.

E. g. when running with "normal" rectilinear images I got 7 values

Fitted parameters...
  Radial mean sq. dev. 0.0015  factors:
  0.0000  0.0000  0.0000 -0.0040  0.0000  0.0000  0.0000

What are the seven values?  And there are other modells with other
outputs (mainly fisheye lenses). But no explanation.

There found no documentation of the values and I also ask for
assistant on the list, but no response.

So for the release there should be a minimum of documentation of the
output of calibrate_lens (and how to translate to the panotools
parameters).

Thomas


--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


T. Modes wrote:

>> MAJOR CHANGES SINCE 2009.2.0:
>>
>>      * Automated Lens Calibration: a new command line tool to extract
>> automatically lens correction parameters. (Tim Nugent)
>>
>
> It would be nice, if there would be a short documentation of the tool.
> The output is not self explaining.
>
> E. g. when running with "normal" rectilinear images I got 7 values
>
> Fitted parameters...
>   Radial mean sq. dev. 0.0015  factors:
>   0.0000  0.0000  0.0000 -0.0040  0.0000  0.0000  0.0000
>
> What are the seven values?  And there are other modells with other
> outputs (mainly fisheye lenses). But no explanation.

do you get more information when running it with -v 1 ?

I'm trying to locate the discussion between Tim and Tom (IIRC exerpts of
it were on the gsoc2009 mentoring mailing list) but no luck so far.

Yuv


--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by T. Modes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> do you get more information when running it with -v 1 ?

I'm getting more information with -v 1. It mainly the steps processed
and some statitistics. But it does not help to identify the
parameters:

</snip>
Levenberg-Marquardt returned in 45 iterations
reason  2 - stopped by small Dp
    start ||e||_2 : 0.00279322
    final ||e||_2 : 0.00123469
    ||J^T e||_inf : 3.72358e-007
    ||Dp||_2      : 8.32767e-041
    mu/max[J^T...]: 2.25079e+014
    iterations    : 45
    stop reason   : 2
    function evals: 51

Fitted parameters...
  Radial mean sq. dev. 0.0015  factors:
  0.0000  0.0000  0.0000 -0.0040  0.0000  0.0000  0.0000

Line 1 rms: 0.000450873
Line 2 rms: 0.00029709
Line 3 rms: 0.000381106
Line 4 rms: 0.000715746
Line 5 rms: 0.000638243
Line 6 rms: 0.000317868
Line 7 rms: 0.000411951
Line 8 rms: 0.00020453
Line 9 rms: 0.000166703
Line 10 rms: 0.000311561
Line 11 rms: 0.000444425
Line 12 rms: 0.000841143
Line 13 rms: 5.1749e-006
Line 14 rms: 0.000188674

Some idea I had: Maybe calibrate_lens could write a file with the lens
information file, so this file could read inside hugin with "Load
lens".

Thomas
--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Hugin-2009.4.0_rc1 source code released

by Bruno Postle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Wed 14-Oct-2009 at 22:21 -0700, T. Modes wrote:
>
>> do you get more information when running it with -v 1 ?
>
>I'm getting more information with -v 1. It mainly the steps processed
>and some statitistics. But it does not help to identify the
>parameters:

>Fitted parameters...
>  Radial mean sq. dev. 0.0015  factors:
>  0.0000  0.0000  0.0000 -0.0040  0.0000  0.0000  0.0000

Me too, I can only get it to output any kind of parameters if I set
the -l 6 flag:

   calibrate_lens -c 1.5 -f 8 -l 6 -m 0.15 -z 1 DSC_9461.JPG DSC_9464.JPG DSC_9467.JPG DSC_9470.JPG

..but the result isn't in panotools polynomial format:

   Fitted parameters...
   Sine 'a' 3.6136  tangent 'a' 3.6136  tangent fraction 0.479341
   Centre shifts: 149.05  -28.42 pixels

If I use a .pto file to specify input, then another .pto file with
lots of good straight line control points is created, this can be
optimised in Hugin to discover a,b,c parameters - However this
doesn't work so well with fisheye input (as the output needs to be
set to rectilinear for the optimiser to work properly with
straight-line control points).

There are also a couple of obvious bugs:

The usage states that the -m flag defaults to 0.1, but in
Globals.cpp it actually defaults to 0.3 - Which doesn't generate any
lines at all with my test photos.

The usage states that the -z flag defaults to 1, but it seems to
default to 0.

>Some idea I had: Maybe calibrate_lens could write a file with the lens
>information file, so this file could read inside hugin with "Load
>lens".

Ultimately it needs to be able to export data to lensfun, and Hugin
needs to be fixed to use the lensfun library/database.

--
Bruno

--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---