Projection you get versus projection you select

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

Projection you get versus projection you select

by Tduell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hullo All,

Following on from my experiences trying to stitch using stereographic
projection, http://groups.google.com/group/hugin-ptx/browse_thread/thread/e45092747ed0bc7d
, I thought it might be informative to test the output of all
available projections.

I'm using hugin 2009.4.0-RC2, built with libpano13-2.9.14.
Most projections stitched OK, but I did find a few unexpected results.

Output from Orthographic may be correct, but the output was cropped
making it difficult to be sure by simply eyeballing images. Not at all
like the preview.
Output from Equisolid is cropped to an extent different to what was
shown in Fast preview Window.
Output from Panini appears to be a cylindrical projection.
Output from Equirectangular Panini appears to be a cylindrical
projection.
Output from Biplane appears to be a cylindrical projection.

Stereographic fails with an error message.
I didn't get to test Triplane.

A few extra bits of explanation.
I am guessing at some of the output projections, and the guess is
simply based on comparing the stitch output with how the Fast Preview
Window shows the projection.
The test project was 4 photos, optimised for View, Position and
Barrel. The normal stitch output was set to JPEG. The stitch was
created without selecting any crop boundaries in the Fast Preview
Window.
My stitching preferences are set to create cropped images by default,
and use GPU.
The only outputs that appeared to be cropped and were different to how
the Fast preview Window displayed the stitch, were the Orthographic
and the Equisolid. The output images from all other projections
appeared to be the same as was shown in the Fast Preview Window.

I have not run previous versions of hugin to test if any give a
different result.
I have tried some other projects for some of the projections which
give an unexpected result, and have confirmed that the results aren't
project specific.

If the above is new news, then it would probably be useful if others
could try the problematic projections to be sure these results are not
just an artifact of my build of hugin 2009.4.0-RC2

Cheers,
Terry




--~--~---------~--~----~------------~-------~--~----~
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: Projection you get versus projection you select

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Terry,

I've been mostly absent this week because of a critical deadline
November 2. I still have a few things to do about it, but the big rush
is gone and I'm now starting to catch up with what happened on the Hugin
project this week.

Tduell wrote:
> , I thought it might be informative to test the output of all
> available projections.

thank you for testing!


> I'm using hugin 2009.4.0-RC2, built with libpano13-2.9.14.

Do you have a possibility to use libpano13-2.9.15_rc3 ?


> Most projections stitched OK, but I did find a few unexpected results.

I checked quickly on my notebook. I'm using hugin's trunk/4679 (I will
check hugin's 2009.4 codeline before releasing 2009.4.0_rc3) and libpano
trunk/1096.


> Output from Panini appears to be a cylindrical projection.
> Output from Equirectangular Panini appears to be a cylindrical
> projection.
> Output from Biplane appears to be a cylindrical projection.

I only did a quick check, in the fast preview window, and all of them
result in the expected projections on the fast preview. I did not run
the stitch and compare the output.


> Stereographic fails with an error message.

What is the error message? I have been running stereographics, including
the stitch, and everything turns out as expected.


> I didn't get to test Triplane.

works the same as the above.


> The test project was 4 photos

what happens if you first stitch those four photos to an equirectangular
image (with a lot of black space around) and then feed that image to
Hugin and test the different outputs?


> If the above is new news, then it would probably be useful if others
> could try the problematic projections to be sure these results are not
> just an artifact of my build of hugin 2009.4.0-RC2

AFAIK what you describe is not yet known. What is known is that there
have been other issues with stitching directly into different
projections and the recommandation / workaround is to stitch equirect
and use the equirect as input to produce these other projections.

I'm curious to know if the error occurs also with 2.9.15_rc3

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: Projection you get versus projection you select

by Tduell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hullo Yuv,

On Oct 29, 10:54 pm, Yuval Levy <goo...@...> wrote:
> Hi Terry,

[snip]

> Do you have a possibility to use libpano13-2.9.15_rc3 ?

Yes. I can build libpano13-2.9.15_rc3 and then build hugin 2009.4.0-
RC2 using that. I will do that, but it may be a day or two before I
can report back on that.

> I only did a quick check, in the fast preview window, and all of them
> result in the expected projections on the fast preview. I did not run
> the stitch and compare the output.

OK, that is what happens here...all the previews are as expected, but
the resulting output is not.
>
> > Stereographic fails with an error message.
>
> What is the error message? I have been running stereographics, including
> the stitch, and everything turns out as expected.

In almost all cases it is the error message I included in the bug
report, which I think is 'a bad alloc'. There have been some
occassions when the stitch has proceeded, very slowly, producing huge
text output, and finally ends with 'segmentation fault'.

[snip]

> what happens if you first stitch those four photos to an equirectangular
> image (with a lot of black space around) and then feed that image to
> Hugin and test the different outputs?

I just tried that, selecting Panini projection, and the resulting
stitch looks like it is cylindrical (again).

[snip]

> AFAIK what you describe is not yet known. What is known is that there
> have been other issues with stitching directly into different
> projections and the recommandation / workaround is to stitch equirect
> and use the equirect as input to produce these other projections.

I can report that stitching equirect and then input that stitch and
then stitch Stereographic will result in success.
>
> I'm curious to know if the error occurs also with 2.9.15_rc3

I'll try to test that, and report back.

Cheers,
Terry

--~--~---------~--~----~------------~-------~--~----~
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: Projection you get versus projection you select

by Tduell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hullo Yuv, All,

On Oct 30, 8:53 am, Tduell <tdu...@...> wrote:
[snip]

> > Do you have a possibility to use libpano13-2.9.15_rc3 ?
>
> Yes. I can build libpano13-2.9.15_rc3 and then build hugin 2009.4.0-
> RC2 using that. I will do that, but it may be a day or two before I
> can report back on that.
[snip]

OK, back again a bit sooner than I had thought.

I have now repeated the tests, on the projection cases which failed,
using libpano13-2.9.15-RC3.
Hopefully I have done it all the right way, which was ...
Remove (using package manager) autopano-sift-C-2.5.1,
libpano13-2.9.14, hugin/hugin-base-2009.4.0-RC2. I then built
libpano13-2.9.15-RC3 and installed that (using package manager).
I then built autopano-sift-C-2.5.1, and then hugin-2009.4.0-RC2 and
installed both.

All done on Fedora 11 x86_64.

Results from stitching are as follows;
Stereographic - fails with segmentation fault
Orthographic - hard to say as it is heavily cropped with a lot of
surrounding black which I don't think should be the result even if it
is the correct proj.
Equisolid - again hard to say as also heavily cropped with a lot of
surrounding black.
Panini - produces cylindrical (my guess at the projection, but not
Panini).
Equirec-panini - produces cylindrical ( no cropping, but much more
surrounding black than was shown in fast preview window).
Bi-plane - produces cylindrical (no cropping, but much more
surrounding black than was shown in fast preview window).
Tri-plane - produces cylindrical (no cropping, but much more
surrounding black than was shown in fast preview window).

I have tried with preferences set to 'create cropped images by
default' OFF, and that makes no difference.

[a tad later]

Woo-Hoo...or whatever they say...I have just re-run a Panini and a Bi-
plane stitch with GPU OFF, and the results are correct.

I had tried GPU OFF with Stereographic projection, but that was for
the other problem (stitch failure with error message), and (finally)
thought it might be a setting that should be tested here.

Well that is a good result...as it points to the experimental gpu code
as the cause of the output projection errors, and it looks as though
all may be well with 2009.4.0-RC2 and libpano13-2.9.15-RC3 after all.
I think I will find a bit more time to run through ALL these cases
again with GPU OFF, just to be sure, to be sure!

Please let me know if there are some other specific tests that I could
do, or any data I can provide, which might help find the problems with
the gpu code.

Cheers,
Terry



--~--~---------~--~----~------------~-------~--~----~
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: Projection you get versus projection you select

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Tduell wrote:
> Well that is a good result...as it points to the experimental gpu code
> as the cause of the output projection errors, and it looks as though
> all may be well with 2009.4.0-RC2 and libpano13-2.9.15-RC3 after all.
> I think I will find a bit more time to run through ALL these cases
> again with GPU OFF, just to be sure, to be sure!
>
> Please let me know if there are some other specific tests that I could
> do, or any data I can provide, which might help find the problems with
> the gpu code.

thanks, Terry. I've reworded the bug reports [0] accordingly.

is there any reason why you had gpu stitching on by default? is it so
much faster than cpu stitching?

Yuv

[0]
https://sourceforge.net/tracker/?func=detail&aid=2886901&group_id=77506&atid=550441



--~--~---------~--~----~------------~-------~--~----~
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: Projection you get versus projection you select

by Tduell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hullo Yuv,

On Oct 30, 2:55 pm, Yuval Levy <goo...@...> wrote:
[snip]
> thanks, Terry. I've reworded the bug reports [0] accordingly.
>
> is there any reason why you had gpu stitching on by default? is it so
> much faster than cpu stitching?

I haven't done any accurate timing, but my perception is that it is
quite a bit faster, on my system, hence on by default.


Cheers,
Terry
--~--~---------~--~----~------------~-------~--~----~
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: Projection you get versus projection you select

by Tduell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hullo Yuv,

On Oct 30, 2:55 pm, Yuval Levy <goo...@...> wrote:

>
> thanks, Terry. I've reworded the bug reports [0] accordingly.
[snip]

> [0]https://sourceforge.net/tracker/?func=detail&aid=2886901&group_id=775...

Just to clarify, there were two issues.
1. Stitching a stereographic projection fails with an error message,
with and without gpu, and was the subject of the bug report.
2. The subject of this thread was unrelated. Selected projections
stitch to a different projection. Stitching without gpu solves the
problem in some cases, but not all have been tested without gpu. That
should be soon.

Sorry if I'm just rephrasing your understanding.

Cheers,
Terry

--~--~---------~--~----~------------~-------~--~----~
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: Projection you get versus projection you select

by Tduell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hullo Yuv,

On Oct 30, 4:11 pm, Tduell <tdu...@...> wrote:

> 2. The subject of this thread was unrelated. Selected projections
> stitch to a different projection. Stitching without gpu solves the
> problem in some cases, but not all have been tested without gpu. That
> should be soon.

Have just finished retesting stitching all available  projections
without gpu.
I can confirm that stitching without gpu, the selected projection IS
what you get.

The initial problem would now seem to be well and truly clarified as a
gpu issue.

Cheers,
Terry


--~--~---------~--~----~------------~-------~--~----~
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: Projection you get versus projection you select

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Terry,

>> Do you have a possibility to use libpano13-2.9.15_rc3 ?
>
> Yes. I can build libpano13-2.9.15_rc3 and then build hugin 2009.4.0-
> RC2 using that. I will do that, but it may be a day or two before I
> can report back on that.

thanks. I think the bug(s) are identified, so there is no need for that.


> I can report that stitching equirect and then input that stitch and
> then stitch Stereographic will result in success.

the issues with stitching directly into stereographic are a known
limitation. the recommended workaround is to stitch into equirect and
start from the equirect to do the "exotic" projections.

For the other bug you reported, that nona-gpu does not support some
projections, I've updated it in the bug report.

have a good weekend
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
-~----------~----~----~----~------~----~------~--~---